@atlaskit/editor-core 197.9.1 → 197.9.2
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 +9 -0
- package/dist/cjs/ui/ContentStyles/panel.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/panel.js +18 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/panel.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +3 -0
- package/dist/types/presets/default.d.ts +8 -8
- package/dist/types/presets/universal.d.ts +3 -0
- package/dist/types/presets/useUniversalPreset.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +3 -0
- package/dist/types-ts4.5/presets/default.d.ts +8 -8
- package/dist/types-ts4.5/presets/universal.d.ts +3 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +3 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 197.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#143310](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/143310)
|
|
8
|
+
[`f55df006dcd59`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f55df006dcd59) -
|
|
9
|
+
ED-24822 - Add padding to panels with no icon and unhide drag handle in first bodied node
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 197.9.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -13,5 +13,5 @@ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
|
13
13
|
var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation due to mixin usage
|
|
15
15
|
var panelStyles = exports.panelStyles = function panelStyles() {
|
|
16
|
-
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t.", " {\n\t\t\tcursor: pointer;\n\n\t\t\t/* Danger when top level node */\n\t\t\t&.danger {\n\t\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\t\tbackground-color: ", " !important;\n\n\t\t\t\t.", " {\n\t\t\t\t\tcolor: ", " !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.", " {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t/* Danger when nested node */\n\t\t.danger .", " {\n\t\t\t&[data-panel-type] {\n\t\t\t\tbackground-color: ", ";\n\n\t\t\t\t.", " {\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t", ";\n\t}\n\n\t.", ".", ":not(.danger) {\n\t\t", "\n\t}\n\n\t", ";\n\n\t/* Don't want extra padding for inline editor (nested) */\n\t", ";\n"])), _panel.PanelSharedCssClassName.prefix, _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder, "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _panel.PanelSharedCssClassName.icon, "var(--ds-icon-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), _panel.PanelSharedCssClassName.content, _panel.PanelSharedCssClassName.prefix, "var(--ds-blanket-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"), _panel.PanelSharedCssClassName.icon, "var(--ds-icon-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), (0, _panel.panelSharedStyles)(), _panel.PanelSharedCssClassName.prefix, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), (0, _experiments.editorExperiment)('nested-dnd', true) && ".ak-editor-content-area.appearance-full-page .ProseMirror .ak-editor-panel .".concat(_panel.PanelSharedCssClassName.icon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t}"), (0, _experiments.editorExperiment)('nested-dnd', true) && ".ak-editor-content-area .ak-editor-content-area .ProseMirror .ak-editor-panel .".concat(_panel.PanelSharedCssClassName.icon, " {\n\t\tpadding-right: ", "var(--ds-space-100, 8px)", ";\n\t}"));
|
|
16
|
+
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t.", " {\n\t\t\tcursor: pointer;\n\n\t\t\t/* Danger when top level node */\n\t\t\t&.danger {\n\t\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\t\tbackground-color: ", " !important;\n\n\t\t\t\t.", " {\n\t\t\t\t\tcolor: ", " !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.", " {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t/* Danger when nested node */\n\t\t.danger .", " {\n\t\t\t&[data-panel-type] {\n\t\t\t\tbackground-color: ", ";\n\n\t\t\t\t.", " {\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t", ";\n\t}\n\n\t.", ".", ":not(.danger) {\n\t\t", "\n\t}\n\n\t", ";\n\n\t/* Don't want extra padding for inline editor (nested) */\n\t", ";\n"])), _panel.PanelSharedCssClassName.prefix, _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder, "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _panel.PanelSharedCssClassName.icon, "var(--ds-icon-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), _panel.PanelSharedCssClassName.content, _panel.PanelSharedCssClassName.prefix, "var(--ds-blanket-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"), _panel.PanelSharedCssClassName.icon, "var(--ds-icon-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), (0, _panel.panelSharedStyles)(), _panel.PanelSharedCssClassName.prefix, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), (0, _experiments.editorExperiment)('nested-dnd', true) && ".ak-editor-content-area.appearance-full-page .ProseMirror {\n\t\t.ak-editor-panel .".concat(_panel.PanelSharedCssClassName.icon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t}\n\n\t\t.ak-editor-panel.").concat(_panel.PanelSharedCssClassName.noIcon, " {\n\t\t\tpadding-left: ", "var(--ds-space-250, 20px)", ";\n\t\t\tpadding-right: ", "var(--ds-space-250, 20px)", ";\n\t\t}\n\t}"), (0, _experiments.editorExperiment)('nested-dnd', true) && ".ak-editor-content-area .ak-editor-content-area .ProseMirror {\n\t\t.ak-editor-panel .".concat(_panel.PanelSharedCssClassName.icon, " {\n\t\t\tpadding-right: ", "var(--ds-space-100, 8px)", ";\n\t\t}\n\t\t.ak-editor-panel.").concat(_panel.PanelSharedCssClassName.noIcon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t\tpadding-left: ", "var(--ds-space-150, 12px)", ";\n\n\t\t}\n\t}"));
|
|
17
17
|
};
|
|
@@ -42,12 +42,26 @@ export const panelStyles = () => css`
|
|
|
42
42
|
${getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket])}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
${editorExperiment('nested-dnd', true) && `.ak-editor-content-area.appearance-full-page .ProseMirror
|
|
45
|
+
${editorExperiment('nested-dnd', true) && `.ak-editor-content-area.appearance-full-page .ProseMirror {
|
|
46
|
+
.ak-editor-panel .${PanelSharedCssClassName.icon} {
|
|
46
47
|
padding-right: ${"var(--ds-space-150, 12px)"};
|
|
47
|
-
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ak-editor-panel.${PanelSharedCssClassName.noIcon} {
|
|
51
|
+
padding-left: ${"var(--ds-space-250, 20px)"};
|
|
52
|
+
padding-right: ${"var(--ds-space-250, 20px)"};
|
|
53
|
+
}
|
|
54
|
+
}`};
|
|
48
55
|
|
|
49
56
|
/* Don't want extra padding for inline editor (nested) */
|
|
50
|
-
${editorExperiment('nested-dnd', true) && `.ak-editor-content-area .ak-editor-content-area .ProseMirror
|
|
51
|
-
|
|
57
|
+
${editorExperiment('nested-dnd', true) && `.ak-editor-content-area .ak-editor-content-area .ProseMirror {
|
|
58
|
+
.ak-editor-panel .${PanelSharedCssClassName.icon} {
|
|
59
|
+
padding-right: ${"var(--ds-space-100, 8px)"};
|
|
60
|
+
}
|
|
61
|
+
.ak-editor-panel.${PanelSharedCssClassName.noIcon} {
|
|
62
|
+
padding-right: ${"var(--ds-space-150, 12px)"};
|
|
63
|
+
padding-left: ${"var(--ds-space-150, 12px)"};
|
|
64
|
+
|
|
65
|
+
}
|
|
52
66
|
}`};
|
|
53
67
|
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "197.9.
|
|
2
|
+
export const version = "197.9.2";
|
|
@@ -7,5 +7,5 @@ import { akEditorDeleteBackground, akEditorDeleteBackgroundWithOpacity, akEditor
|
|
|
7
7
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
8
8
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation due to mixin usage
|
|
9
9
|
export var panelStyles = function panelStyles() {
|
|
10
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t.", " {\n\t\t\tcursor: pointer;\n\n\t\t\t/* Danger when top level node */\n\t\t\t&.danger {\n\t\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\t\tbackground-color: ", " !important;\n\n\t\t\t\t.", " {\n\t\t\t\t\tcolor: ", " !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.", " {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t/* Danger when nested node */\n\t\t.danger .", " {\n\t\t\t&[data-panel-type] {\n\t\t\t\tbackground-color: ", ";\n\n\t\t\t\t.", " {\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t", ";\n\t}\n\n\t.", ".", ":not(.danger) {\n\t\t", "\n\t}\n\n\t", ";\n\n\t/* Don't want extra padding for inline editor (nested) */\n\t", ";\n"])), PanelSharedCssClassName.prefix, akEditorSelectedBorderSize, akEditorDeleteBorder, "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), PanelSharedCssClassName.icon, "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), PanelSharedCssClassName.content, PanelSharedCssClassName.prefix, "var(--ds-blanket-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"), PanelSharedCssClassName.icon, "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), panelSharedStyles(), PanelSharedCssClassName.prefix, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), editorExperiment('nested-dnd', true) && ".ak-editor-content-area.appearance-full-page .ProseMirror .ak-editor-panel .".concat(PanelSharedCssClassName.icon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t}"), editorExperiment('nested-dnd', true) && ".ak-editor-content-area .ak-editor-content-area .ProseMirror .ak-editor-panel .".concat(PanelSharedCssClassName.icon, " {\n\t\tpadding-right: ", "var(--ds-space-100, 8px)", ";\n\t}"));
|
|
10
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t.", " {\n\t\t\tcursor: pointer;\n\n\t\t\t/* Danger when top level node */\n\t\t\t&.danger {\n\t\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\t\tbackground-color: ", " !important;\n\n\t\t\t\t.", " {\n\t\t\t\t\tcolor: ", " !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.", " {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t/* Danger when nested node */\n\t\t.danger .", " {\n\t\t\t&[data-panel-type] {\n\t\t\t\tbackground-color: ", ";\n\n\t\t\t\t.", " {\n\t\t\t\t\tcolor: ", ";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t", ";\n\t}\n\n\t.", ".", ":not(.danger) {\n\t\t", "\n\t}\n\n\t", ";\n\n\t/* Don't want extra padding for inline editor (nested) */\n\t", ";\n"])), PanelSharedCssClassName.prefix, akEditorSelectedBorderSize, akEditorDeleteBorder, "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), PanelSharedCssClassName.icon, "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), PanelSharedCssClassName.content, PanelSharedCssClassName.prefix, "var(--ds-blanket-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"), PanelSharedCssClassName.icon, "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), panelSharedStyles(), PanelSharedCssClassName.prefix, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), editorExperiment('nested-dnd', true) && ".ak-editor-content-area.appearance-full-page .ProseMirror {\n\t\t.ak-editor-panel .".concat(PanelSharedCssClassName.icon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t}\n\n\t\t.ak-editor-panel.").concat(PanelSharedCssClassName.noIcon, " {\n\t\t\tpadding-left: ", "var(--ds-space-250, 20px)", ";\n\t\t\tpadding-right: ", "var(--ds-space-250, 20px)", ";\n\t\t}\n\t}"), editorExperiment('nested-dnd', true) && ".ak-editor-content-area .ak-editor-content-area .ProseMirror {\n\t\t.ak-editor-panel .".concat(PanelSharedCssClassName.icon, " {\n\t\t\tpadding-right: ", "var(--ds-space-100, 8px)", ";\n\t\t}\n\t\t.ak-editor-panel.").concat(PanelSharedCssClassName.noIcon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t\tpadding-left: ", "var(--ds-space-150, 12px)", ";\n\n\t\t}\n\t}"));
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "197.9.
|
|
2
|
+
export var version = "197.9.2";
|
|
@@ -3411,6 +3411,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3411
3411
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3412
3412
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3413
3413
|
sharedState: import("@atlaskit/editor-plugin-media-insert").MediaInsertPluginState;
|
|
3414
|
+
commands: {
|
|
3415
|
+
showMediaInsertPopup: import("@atlaskit/editor-common/types").EditorCommand;
|
|
3416
|
+
};
|
|
3414
3417
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
3415
3418
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
3416
3419
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -702,7 +702,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
702
702
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
703
703
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
704
704
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
705
|
-
sharedState: import("@atlaskit/editor-
|
|
705
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
706
706
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
707
707
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
708
708
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
@@ -811,7 +811,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
811
811
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
812
812
|
pluginConfiguration: PlaceholderPluginOptions | undefined;
|
|
813
813
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
814
|
-
sharedState: import("@atlaskit/editor-
|
|
814
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
815
815
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
816
816
|
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
817
817
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
@@ -1503,7 +1503,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1503
1503
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
1504
1504
|
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
1505
1505
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
1506
|
-
sharedState: import("@atlaskit/editor-
|
|
1506
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
1507
1507
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clipboard", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"paste", {
|
|
1508
1508
|
pluginConfiguration: PastePluginOptions;
|
|
1509
1509
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2204,7 +2204,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2204
2204
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2205
2205
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2206
2206
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2207
|
-
sharedState: import("@atlaskit/editor-
|
|
2207
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
2208
2208
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2209
2209
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
2210
2210
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
@@ -3198,7 +3198,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3198
3198
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
3199
3199
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
3200
3200
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3201
|
-
sharedState: import("@atlaskit/editor-
|
|
3201
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
3202
3202
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3203
3203
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
3204
3204
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
@@ -3307,7 +3307,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3307
3307
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
3308
3308
|
pluginConfiguration: PlaceholderPluginOptions | undefined;
|
|
3309
3309
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3310
|
-
sharedState: import("@atlaskit/editor-
|
|
3310
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
3311
3311
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
3312
3312
|
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
3313
3313
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
@@ -3999,7 +3999,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3999
3999
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
4000
4000
|
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
4001
4001
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
4002
|
-
sharedState: import("@atlaskit/editor-
|
|
4002
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
4003
4003
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clipboard", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"paste", {
|
|
4004
4004
|
pluginConfiguration: PastePluginOptions;
|
|
4005
4005
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4700,7 +4700,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4700
4700
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
4701
4701
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
4702
4702
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
4703
|
-
sharedState: import("@atlaskit/editor-
|
|
4703
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
4704
4704
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4705
4705
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
4706
4706
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
@@ -3462,6 +3462,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3462
3462
|
sharedState: FeatureFlags;
|
|
3463
3463
|
}, FeatureFlags>>];
|
|
3464
3464
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
3465
|
+
commands: {
|
|
3466
|
+
showMediaInsertPopup: import("@atlaskit/editor-common/types").EditorCommand;
|
|
3467
|
+
};
|
|
3465
3468
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
3466
3469
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
3467
3470
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3411,6 +3411,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3411
3411
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3412
3412
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3413
3413
|
sharedState: import("@atlaskit/editor-plugin-media-insert").MediaInsertPluginState;
|
|
3414
|
+
commands: {
|
|
3415
|
+
showMediaInsertPopup: import("@atlaskit/editor-common/types").EditorCommand;
|
|
3416
|
+
};
|
|
3414
3417
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
3415
3418
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
3416
3419
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4186,6 +4186,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4186
4186
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4187
4187
|
];
|
|
4188
4188
|
sharedState: import("@atlaskit/editor-plugin-media-insert").MediaInsertPluginState;
|
|
4189
|
+
commands: {
|
|
4190
|
+
showMediaInsertPopup: import("@atlaskit/editor-common/types").EditorCommand;
|
|
4191
|
+
};
|
|
4189
4192
|
}, undefined> | undefined,
|
|
4190
4193
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
4191
4194
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
@@ -869,7 +869,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
869
869
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
870
870
|
}, undefined>,
|
|
871
871
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
872
|
-
sharedState: import("@atlaskit/editor-
|
|
872
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
873
873
|
}, undefined>,
|
|
874
874
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
875
875
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
@@ -1004,7 +1004,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1004
1004
|
pluginConfiguration: PlaceholderPluginOptions | undefined;
|
|
1005
1005
|
dependencies: [
|
|
1006
1006
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
1007
|
-
sharedState: import("@atlaskit/editor-
|
|
1007
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
1008
1008
|
}, undefined>,
|
|
1009
1009
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
1010
1010
|
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
@@ -1829,7 +1829,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1829
1829
|
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
1830
1830
|
}, undefined>,
|
|
1831
1831
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
1832
|
-
sharedState: import("@atlaskit/editor-
|
|
1832
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
1833
1833
|
}, undefined>,
|
|
1834
1834
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clipboard", {}, undefined>,
|
|
1835
1835
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"paste", {
|
|
@@ -2678,7 +2678,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2678
2678
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2679
2679
|
}, undefined>,
|
|
2680
2680
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2681
|
-
sharedState: import("@atlaskit/editor-
|
|
2681
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
2682
2682
|
}, undefined>,
|
|
2683
2683
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2684
2684
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
@@ -3907,7 +3907,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3907
3907
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
3908
3908
|
}, undefined>,
|
|
3909
3909
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3910
|
-
sharedState: import("@atlaskit/editor-
|
|
3910
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
3911
3911
|
}, undefined>,
|
|
3912
3912
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3913
3913
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
@@ -4042,7 +4042,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4042
4042
|
pluginConfiguration: PlaceholderPluginOptions | undefined;
|
|
4043
4043
|
dependencies: [
|
|
4044
4044
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
4045
|
-
sharedState: import("@atlaskit/editor-
|
|
4045
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
4046
4046
|
}, undefined>,
|
|
4047
4047
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
4048
4048
|
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
@@ -4867,7 +4867,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4867
4867
|
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
4868
4868
|
}, undefined>,
|
|
4869
4869
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
4870
|
-
sharedState: import("@atlaskit/editor-
|
|
4870
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
4871
4871
|
}, undefined>,
|
|
4872
4872
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clipboard", {}, undefined>,
|
|
4873
4873
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"paste", {
|
|
@@ -5716,7 +5716,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5716
5716
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
5717
5717
|
}, undefined>,
|
|
5718
5718
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
5719
|
-
sharedState: import("@atlaskit/editor-
|
|
5719
|
+
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
5720
5720
|
}, undefined>,
|
|
5721
5721
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
5722
5722
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
@@ -4237,6 +4237,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4237
4237
|
}, FeatureFlags>>
|
|
4238
4238
|
];
|
|
4239
4239
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
4240
|
+
commands: {
|
|
4241
|
+
showMediaInsertPopup: import("@atlaskit/editor-common/types").EditorCommand;
|
|
4242
|
+
};
|
|
4240
4243
|
}, undefined> | undefined,
|
|
4241
4244
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
4242
4245
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
@@ -4186,6 +4186,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4186
4186
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4187
4187
|
];
|
|
4188
4188
|
sharedState: import("@atlaskit/editor-plugin-media-insert").MediaInsertPluginState;
|
|
4189
|
+
commands: {
|
|
4190
|
+
showMediaInsertPopup: import("@atlaskit/editor-common/types").EditorCommand;
|
|
4191
|
+
};
|
|
4189
4192
|
}, undefined> | undefined,
|
|
4190
4193
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
4191
4194
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "197.9.
|
|
3
|
+
"version": "197.9.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^20.1.0",
|
|
46
|
-
"@atlaskit/editor-common": "^90.
|
|
46
|
+
"@atlaskit/editor-common": "^90.2.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.18.0",
|
|
48
48
|
"@atlaskit/editor-plugin-quick-insert": "1.4.1",
|
|
49
49
|
"@atlaskit/editor-plugins": "^5.3.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
57
57
|
"@atlaskit/task-decision": "^17.10.0",
|
|
58
58
|
"@atlaskit/tmp-editor-statsig": "*",
|
|
59
|
-
"@atlaskit/tokens": "^1.
|
|
59
|
+
"@atlaskit/tokens": "^1.61.0",
|
|
60
60
|
"@atlaskit/tooltip": "^18.7.0",
|
|
61
61
|
"@atlaskit/width-detector": "^4.3.0",
|
|
62
62
|
"@babel/runtime": "^7.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@af/visual-regression": "*",
|
|
85
85
|
"@atlaskit/adf-utils": "^19.8.0",
|
|
86
86
|
"@atlaskit/analytics-listeners": "^8.11.0",
|
|
87
|
-
"@atlaskit/collab-provider": "9.40.
|
|
87
|
+
"@atlaskit/collab-provider": "9.40.5",
|
|
88
88
|
"@atlaskit/editor-plugin-annotation": "1.19.7",
|
|
89
89
|
"@atlaskit/editor-plugin-card": "^3.0.0",
|
|
90
90
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|