@atlaskit/editor-core 203.2.8 → 203.2.10
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 +20 -0
- package/dist/cjs/CollapsedEditor/index.js +6 -9
- package/dist/cjs/actions/index.js +1 -2
- package/dist/cjs/create-editor/ErrorBoundary.js +10 -13
- package/dist/cjs/create-editor/ReactEditorView.js +25 -28
- package/dist/cjs/editor.js +5 -7
- package/dist/cjs/nodeviews/getInlineNodeViewProducer.styles.js +7 -6
- package/dist/cjs/ui/Addon/ClickAreaMobile/index.js +7 -10
- package/dist/cjs/ui/Addon/Dropdown/index.js +6 -9
- package/dist/cjs/ui/Appearance/Chromeless.js +8 -11
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +6 -5
- package/dist/cjs/ui/ChromeCollapsed/index.js +7 -10
- package/dist/cjs/ui/ChromeCollapsed/styles.js +1 -1
- package/dist/cjs/ui/CollapsedEditor/index.js +6 -9
- package/dist/cjs/ui/ContentStyles/ai-panels.js +6 -6
- package/dist/cjs/ui/ContentStyles/layout.js +10 -4
- package/dist/cjs/ui/ContextPanel/index.js +9 -12
- package/dist/cjs/ui/EditorContext/index.js +8 -12
- package/dist/cjs/ui/ErrorBoundary/index.js +6 -9
- package/dist/cjs/ui/PluginSlot/index.js +9 -12
- package/dist/cjs/ui/Toolbar/ToolbarInner.js +5 -7
- package/dist/cjs/ui/WithEditorActions/index.js +12 -19
- package/dist/cjs/ui/WithFlash/index.js +6 -9
- package/dist/cjs/ui/WithHelpTrigger/index.js +6 -9
- package/dist/cjs/utils/performance/plugin-performance-observer.js +1 -2
- package/dist/cjs/utils/performance/plugin-performance-report.js +1 -2
- package/dist/cjs/utils/performance/track-transactions.js +1 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ChromeCollapsed/styles.js +1 -1
- package/dist/es2019/ui/ContentStyles/layout.js +68 -26
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/CollapsedEditor/index.js +6 -9
- package/dist/esm/actions/index.js +1 -2
- package/dist/esm/create-editor/ErrorBoundary.js +10 -13
- package/dist/esm/create-editor/ReactEditorView.js +25 -28
- package/dist/esm/editor.js +5 -7
- package/dist/esm/nodeviews/getInlineNodeViewProducer.styles.js +5 -6
- package/dist/esm/ui/Addon/ClickAreaMobile/index.js +7 -10
- package/dist/esm/ui/Addon/Dropdown/index.js +6 -9
- package/dist/esm/ui/Appearance/Chromeless.js +8 -11
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +4 -5
- package/dist/esm/ui/ChromeCollapsed/index.js +7 -10
- package/dist/esm/ui/ChromeCollapsed/styles.js +1 -1
- package/dist/esm/ui/CollapsedEditor/index.js +6 -9
- package/dist/esm/ui/ContentStyles/ai-panels.js +6 -6
- package/dist/esm/ui/ContentStyles/layout.js +10 -4
- package/dist/esm/ui/ContextPanel/index.js +9 -12
- package/dist/esm/ui/EditorContext/index.js +8 -12
- package/dist/esm/ui/ErrorBoundary/index.js +6 -9
- package/dist/esm/ui/PluginSlot/index.js +9 -12
- package/dist/esm/ui/Toolbar/ToolbarInner.js +5 -7
- package/dist/esm/ui/WithEditorActions/index.js +12 -19
- package/dist/esm/ui/WithFlash/index.js +6 -9
- package/dist/esm/ui/WithHelpTrigger/index.js +6 -9
- package/dist/esm/utils/performance/plugin-performance-observer.js +1 -2
- package/dist/esm/utils/performance/plugin-performance-report.js +1 -2
- package/dist/esm/utils/performance/track-transactions.js +1 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +132 -11
- package/dist/types/presets/default.d.ts +72 -6
- package/dist/types/presets/universal.d.ts +132 -11
- package/dist/types/presets/useUniversalPreset.d.ts +132 -11
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +2 -2
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +143 -0
- package/dist/types-ts4.5/presets/default.d.ts +78 -0
- package/dist/types-ts4.5/presets/universal.d.ts +143 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +143 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +2 -2
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +7 -3
|
@@ -877,7 +877,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
877
877
|
actions: {
|
|
878
878
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
879
879
|
};
|
|
880
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
880
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
881
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
882
|
+
dependencies: [];
|
|
883
|
+
pluginConfiguration?: {
|
|
884
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
885
|
+
} | undefined;
|
|
886
|
+
commands: {
|
|
887
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
888
|
+
};
|
|
889
|
+
}, {
|
|
890
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
891
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
881
892
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
882
893
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
883
894
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -1053,7 +1064,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1053
1064
|
actions: {
|
|
1054
1065
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1055
1066
|
};
|
|
1056
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
1067
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1068
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1069
|
+
dependencies: [];
|
|
1070
|
+
pluginConfiguration?: {
|
|
1071
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1072
|
+
} | undefined;
|
|
1073
|
+
commands: {
|
|
1074
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1075
|
+
};
|
|
1076
|
+
}, {
|
|
1077
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1078
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1057
1079
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1058
1080
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1059
1081
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -2116,7 +2138,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2116
2138
|
actions: {
|
|
2117
2139
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2118
2140
|
};
|
|
2119
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
2141
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2142
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2143
|
+
dependencies: [];
|
|
2144
|
+
pluginConfiguration?: {
|
|
2145
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2146
|
+
} | undefined;
|
|
2147
|
+
commands: {
|
|
2148
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2149
|
+
};
|
|
2150
|
+
}, {
|
|
2151
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2152
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2120
2153
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2121
2154
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2122
2155
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -2245,7 +2278,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2245
2278
|
actions: {
|
|
2246
2279
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2247
2280
|
};
|
|
2248
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
2281
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2282
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2283
|
+
dependencies: [];
|
|
2284
|
+
pluginConfiguration?: {
|
|
2285
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2286
|
+
} | undefined;
|
|
2287
|
+
commands: {
|
|
2288
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2289
|
+
};
|
|
2290
|
+
}, {
|
|
2291
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2292
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2249
2293
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2250
2294
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2251
2295
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -2944,7 +2988,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2944
2988
|
actions: {
|
|
2945
2989
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2946
2990
|
};
|
|
2947
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
2991
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2992
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2993
|
+
dependencies: [];
|
|
2994
|
+
pluginConfiguration?: {
|
|
2995
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2996
|
+
} | undefined;
|
|
2997
|
+
commands: {
|
|
2998
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2999
|
+
};
|
|
3000
|
+
}, {
|
|
3001
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3002
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2948
3003
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2949
3004
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2950
3005
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -3918,7 +3973,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3918
3973
|
actions: {
|
|
3919
3974
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3920
3975
|
};
|
|
3921
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
3976
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3977
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3978
|
+
dependencies: [];
|
|
3979
|
+
pluginConfiguration?: {
|
|
3980
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3981
|
+
} | undefined;
|
|
3982
|
+
commands: {
|
|
3983
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3984
|
+
};
|
|
3985
|
+
}, {
|
|
3986
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3987
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3922
3988
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3923
3989
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3924
3990
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -4418,7 +4484,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4418
4484
|
actions: {
|
|
4419
4485
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4420
4486
|
};
|
|
4421
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
4487
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4488
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
4489
|
+
dependencies: [];
|
|
4490
|
+
pluginConfiguration?: {
|
|
4491
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4492
|
+
} | undefined;
|
|
4493
|
+
commands: {
|
|
4494
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4495
|
+
};
|
|
4496
|
+
}, {
|
|
4497
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4498
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4422
4499
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4423
4500
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4424
4501
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -4543,7 +4620,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4543
4620
|
actions: {
|
|
4544
4621
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4545
4622
|
};
|
|
4546
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
4623
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4624
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
4625
|
+
dependencies: [];
|
|
4626
|
+
pluginConfiguration?: {
|
|
4627
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4628
|
+
} | undefined;
|
|
4629
|
+
commands: {
|
|
4630
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4631
|
+
};
|
|
4632
|
+
}, {
|
|
4633
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4634
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4547
4635
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4548
4636
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4549
4637
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -5720,7 +5808,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5720
5808
|
actions: {
|
|
5721
5809
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5722
5810
|
};
|
|
5723
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
5811
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5812
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5813
|
+
dependencies: [];
|
|
5814
|
+
pluginConfiguration?: {
|
|
5815
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5816
|
+
} | undefined;
|
|
5817
|
+
commands: {
|
|
5818
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5819
|
+
};
|
|
5820
|
+
}, {
|
|
5821
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5822
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5724
5823
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5725
5824
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5726
5825
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -7375,7 +7474,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
7375
7474
|
actions: {
|
|
7376
7475
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
7377
7476
|
};
|
|
7378
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
7477
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7478
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
7479
|
+
dependencies: [];
|
|
7480
|
+
pluginConfiguration?: {
|
|
7481
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7482
|
+
} | undefined;
|
|
7483
|
+
commands: {
|
|
7484
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7485
|
+
};
|
|
7486
|
+
}, {
|
|
7487
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7488
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
7379
7489
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
7380
7490
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
7381
7491
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -7551,7 +7661,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
7551
7661
|
actions: {
|
|
7552
7662
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
7553
7663
|
};
|
|
7554
|
-
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"
|
|
7664
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7665
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
7666
|
+
dependencies: [];
|
|
7667
|
+
pluginConfiguration?: {
|
|
7668
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7669
|
+
} | undefined;
|
|
7670
|
+
commands: {
|
|
7671
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7672
|
+
};
|
|
7673
|
+
}, {
|
|
7674
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7675
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
7555
7676
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
7556
7677
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
7557
7678
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
@@ -6,13 +6,13 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
6
6
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
7
7
|
viewMode?: "edit" | "view" | undefined;
|
|
8
8
|
typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed" | undefined;
|
|
9
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "key" | "property" | "type" | "action" | "content" | "title" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "color" | "height" | "translate" | "width" | "default" | "hidden" | keyof {
|
|
9
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "key" | "property" | "type" | "action" | "content" | "title" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "color" | "height" | "translate" | "width" | "wrap" | "default" | "hidden" | keyof {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
colorMode?: "light" | "dark" | undefined;
|
|
12
12
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
13
13
|
viewMode?: "edit" | "view" | undefined;
|
|
14
14
|
typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed" | undefined;
|
|
15
|
-
} | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "value" | "wmode" | "
|
|
15
|
+
} | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "value" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export declare const contentArea: () => import("@emotion/react").SerializedStyles;
|
|
17
17
|
export declare const contentAreaWrapper: import("@emotion/react").SerializedStyles;
|
|
18
18
|
export declare const contentAreaWrapperNoStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -20,6 +20,6 @@ export declare const placeholderStyles: SerializedStyles;
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const fixBlockControlStylesSSR: () => SerializedStyles | null;
|
|
22
22
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
23
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "key" | "property" | "type" | "action" | "content" | "title" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "color" | "height" | "translate" | "width" | "default" | "hidden" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "value" | "wmode" | "
|
|
24
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "key" | "property" | "type" | "action" | "content" | "title" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "color" | "height" | "translate" | "width" | "default" | "hidden" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "value" | "wmode" | "
|
|
23
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "key" | "property" | "type" | "action" | "content" | "title" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "color" | "height" | "translate" | "width" | "wrap" | "default" | "hidden" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "value" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "key" | "property" | "type" | "action" | "content" | "title" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "color" | "height" | "translate" | "width" | "wrap" | "default" | "hidden" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "useMap" | "value" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
export default _default;
|
|
@@ -1137,6 +1137,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1137
1137
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1138
1138
|
};
|
|
1139
1139
|
}, undefined>>,
|
|
1140
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1141
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1142
|
+
dependencies: [
|
|
1143
|
+
];
|
|
1144
|
+
pluginConfiguration?: {
|
|
1145
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1146
|
+
} | undefined;
|
|
1147
|
+
commands: {
|
|
1148
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1149
|
+
};
|
|
1150
|
+
}, {
|
|
1151
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1152
|
+
} | undefined>>,
|
|
1140
1153
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1141
1154
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1142
1155
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -1348,6 +1361,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1348
1361
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1349
1362
|
};
|
|
1350
1363
|
}, undefined>>,
|
|
1364
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1365
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1366
|
+
dependencies: [
|
|
1367
|
+
];
|
|
1368
|
+
pluginConfiguration?: {
|
|
1369
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1370
|
+
} | undefined;
|
|
1371
|
+
commands: {
|
|
1372
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1373
|
+
};
|
|
1374
|
+
}, {
|
|
1375
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1376
|
+
} | undefined>>,
|
|
1351
1377
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1352
1378
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1353
1379
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -2622,6 +2648,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2622
2648
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2623
2649
|
};
|
|
2624
2650
|
}, undefined>>,
|
|
2651
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2652
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2653
|
+
dependencies: [
|
|
2654
|
+
];
|
|
2655
|
+
pluginConfiguration?: {
|
|
2656
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2657
|
+
} | undefined;
|
|
2658
|
+
commands: {
|
|
2659
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2660
|
+
};
|
|
2661
|
+
}, {
|
|
2662
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2663
|
+
} | undefined>>,
|
|
2625
2664
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2626
2665
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2627
2666
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -2777,6 +2816,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2777
2816
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2778
2817
|
};
|
|
2779
2818
|
}, undefined>>,
|
|
2819
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2820
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2821
|
+
dependencies: [
|
|
2822
|
+
];
|
|
2823
|
+
pluginConfiguration?: {
|
|
2824
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2825
|
+
} | undefined;
|
|
2826
|
+
commands: {
|
|
2827
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2828
|
+
};
|
|
2829
|
+
}, {
|
|
2830
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2831
|
+
} | undefined>>,
|
|
2780
2832
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2781
2833
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2782
2834
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -3614,6 +3666,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3614
3666
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3615
3667
|
};
|
|
3616
3668
|
}, undefined>>,
|
|
3669
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3670
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3671
|
+
dependencies: [
|
|
3672
|
+
];
|
|
3673
|
+
pluginConfiguration?: {
|
|
3674
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3675
|
+
} | undefined;
|
|
3676
|
+
commands: {
|
|
3677
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3678
|
+
};
|
|
3679
|
+
}, {
|
|
3680
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3681
|
+
} | undefined>>,
|
|
3617
3682
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3618
3683
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3619
3684
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -4784,6 +4849,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4784
4849
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4785
4850
|
};
|
|
4786
4851
|
}, undefined>>,
|
|
4852
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4853
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
4854
|
+
dependencies: [
|
|
4855
|
+
];
|
|
4856
|
+
pluginConfiguration?: {
|
|
4857
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4858
|
+
} | undefined;
|
|
4859
|
+
commands: {
|
|
4860
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4861
|
+
};
|
|
4862
|
+
}, {
|
|
4863
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4864
|
+
} | undefined>>,
|
|
4787
4865
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4788
4866
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4789
4867
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -5386,6 +5464,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5386
5464
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5387
5465
|
};
|
|
5388
5466
|
}, undefined>>,
|
|
5467
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5468
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5469
|
+
dependencies: [
|
|
5470
|
+
];
|
|
5471
|
+
pluginConfiguration?: {
|
|
5472
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5473
|
+
} | undefined;
|
|
5474
|
+
commands: {
|
|
5475
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5476
|
+
};
|
|
5477
|
+
}, {
|
|
5478
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5479
|
+
} | undefined>>,
|
|
5389
5480
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5390
5481
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5391
5482
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -5536,6 +5627,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5536
5627
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5537
5628
|
};
|
|
5538
5629
|
}, undefined>>,
|
|
5630
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5631
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5632
|
+
dependencies: [
|
|
5633
|
+
];
|
|
5634
|
+
pluginConfiguration?: {
|
|
5635
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5636
|
+
} | undefined;
|
|
5637
|
+
commands: {
|
|
5638
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5639
|
+
};
|
|
5640
|
+
}, {
|
|
5641
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5642
|
+
} | undefined>>,
|
|
5539
5643
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5540
5644
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5541
5645
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -6965,6 +7069,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
6965
7069
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6966
7070
|
};
|
|
6967
7071
|
}, undefined>>,
|
|
7072
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7073
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
7074
|
+
dependencies: [
|
|
7075
|
+
];
|
|
7076
|
+
pluginConfiguration?: {
|
|
7077
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7078
|
+
} | undefined;
|
|
7079
|
+
commands: {
|
|
7080
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7081
|
+
};
|
|
7082
|
+
}, {
|
|
7083
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7084
|
+
} | undefined>>,
|
|
6968
7085
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6969
7086
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
6970
7087
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -8956,6 +9073,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
8956
9073
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
8957
9074
|
};
|
|
8958
9075
|
}, undefined>>,
|
|
9076
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
9077
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
9078
|
+
dependencies: [
|
|
9079
|
+
];
|
|
9080
|
+
pluginConfiguration?: {
|
|
9081
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9082
|
+
} | undefined;
|
|
9083
|
+
commands: {
|
|
9084
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
9085
|
+
};
|
|
9086
|
+
}, {
|
|
9087
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9088
|
+
} | undefined>>,
|
|
8959
9089
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
8960
9090
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
8961
9091
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -9167,6 +9297,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
9167
9297
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
9168
9298
|
};
|
|
9169
9299
|
}, undefined>>,
|
|
9300
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
9301
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
9302
|
+
dependencies: [
|
|
9303
|
+
];
|
|
9304
|
+
pluginConfiguration?: {
|
|
9305
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9306
|
+
} | undefined;
|
|
9307
|
+
commands: {
|
|
9308
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
9309
|
+
};
|
|
9310
|
+
}, {
|
|
9311
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9312
|
+
} | undefined>>,
|
|
9170
9313
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
9171
9314
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
9172
9315
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|