@atlaskit/editor-presets 4.0.15 → 4.0.16

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.
Files changed (67) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/full-page/package.json +1 -8
  3. package/full-page/types/package.json +1 -8
  4. package/package.json +3 -3
  5. package/dist/types-ts4.5/confluence-full-page-base/index.d.ts +0 -16
  6. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.d.ts +0 -22
  7. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/analyticsPluginOptions.d.ts +0 -6
  8. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/annotationPluginOptions.d.ts +0 -23
  9. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.d.ts +0 -9
  10. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/basePluginOptions.d.ts +0 -8
  11. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.d.ts +0 -24
  12. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/blockTypePluginOptions.d.ts +0 -6
  13. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/breakoutPluginOptions.d.ts +0 -9
  14. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/cardPluginOptions.d.ts +0 -36
  15. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.d.ts +0 -9
  16. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.d.ts +0 -6
  17. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.d.ts +0 -6
  18. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/collabEditPluginOptions.d.ts +0 -13
  19. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.d.ts +0 -9
  20. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.d.ts +0 -10
  21. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.d.ts +0 -8
  22. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.d.ts +0 -10
  23. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/datePluginOptions.d.ts +0 -6
  24. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.d.ts +0 -8
  25. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.d.ts +0 -8
  26. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/emojiPluginOptions.d.ts +0 -11
  27. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/expandPluginOptions.d.ts +0 -10
  28. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/extensionPluginOptions.d.ts +0 -15
  29. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.d.ts +0 -6
  30. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/findReplacePluginOptions.d.ts +0 -6
  31. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/gridPluginOptions.d.ts +0 -6
  32. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.d.ts +0 -9
  33. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.d.ts +0 -13
  34. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.d.ts +0 -10
  35. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/layoutPluginOptions.d.ts +0 -9
  36. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/limitedModePluginOptions.d.ts +0 -15
  37. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/loomPluginOptions.d.ts +0 -8
  38. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.d.ts +0 -7
  39. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +0 -19
  40. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mentionsPluginOptions.d.ts +0 -15
  41. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/metricsPluginOptions.d.ts +0 -6
  42. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/panelPluginOptions.d.ts +0 -6
  43. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/pastePluginOptions.d.ts +0 -10
  44. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.d.ts +0 -32
  45. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.d.ts +0 -15
  46. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.d.ts +0 -6
  47. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.d.ts +0 -8
  48. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.d.ts +0 -10
  49. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.d.ts +0 -6
  50. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.d.ts +0 -8
  51. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionPluginOptions.d.ts +0 -8
  52. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.d.ts +0 -13
  53. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/showDiffPluginOptions.d.ts +0 -6
  54. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/statusPluginOptions.d.ts +0 -6
  55. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.d.ts +0 -6
  56. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.d.ts +0 -44
  57. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/tablePluginOptions.d.ts +0 -10
  58. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.d.ts +0 -14
  59. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/textColorPluginOptions.d.ts +0 -6
  60. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.d.ts +0 -6
  61. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.d.ts +0 -6
  62. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/toolbarPluginOptions.d.ts +0 -9
  63. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.d.ts +0 -6
  64. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.d.ts +0 -6
  65. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.d.ts +0 -12
  66. package/dist/types-ts4.5/confluence-full-page-base/types.d.ts +0 -457
  67. package/dist/types-ts4.5/index.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 4.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 4.0.15
4
10
 
5
11
  ### Patch Changes
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/confluence-full-page-base/index.js",
5
5
  "module:es2019": "../dist/es2019/confluence-full-page-base/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/confluence-full-page-base/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/confluence-full-page-base/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/confluence-full-page-base/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../../dist/esm/confluence-full-page-base/types.js",
5
5
  "module:es2019": "../../dist/es2019/confluence-full-page-base/types.js",
6
6
  "sideEffects": false,
7
- "types": "../../dist/types/confluence-full-page-base/types.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../../dist/types-ts4.5/confluence-full-page-base/types.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../../dist/types/confluence-full-page-base/types.d.ts"
15
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "4.0.15",
3
+ "version": "4.0.16",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
6
6
  "publishConfig": {
@@ -64,7 +64,7 @@
64
64
  "@atlaskit/editor-plugin-editor-disabled": "^11.0.0",
65
65
  "@atlaskit/editor-plugin-editor-viewmode": "^13.0.0",
66
66
  "@atlaskit/editor-plugin-editor-viewmode-effects": "^11.0.0",
67
- "@atlaskit/editor-plugin-emoji": "^12.0.0",
67
+ "@atlaskit/editor-plugin-emoji": "^12.1.0",
68
68
  "@atlaskit/editor-plugin-expand": "^12.0.0",
69
69
  "@atlaskit/editor-plugin-extension": "^14.1.0",
70
70
  "@atlaskit/editor-plugin-feature-flags": "^10.0.0",
@@ -123,7 +123,7 @@
123
123
  "@atlaskit/editor-plugin-user-preferences": "^9.0.0",
124
124
  "@atlaskit/editor-plugin-width": "^12.0.0",
125
125
  "@atlaskit/platform-feature-flags": "^1.1.0",
126
- "@atlaskit/tmp-editor-statsig": "^102.0.0",
126
+ "@atlaskit/tmp-editor-statsig": "^103.0.0",
127
127
  "@atlassian/ari": "^2.596.0",
128
128
  "@atlassian/editor-plugin-agent-managed-extension": "^1.1.0",
129
129
  "@babel/runtime": "^7.0.0"
@@ -1,16 +0,0 @@
1
- import type { ConfluenceFullPageBasePresetBuilder, ConfluenceFullPageBasePresetOptions } from './types';
2
- /**
3
- * Creates the public Confluence full page base editor preset.
4
- *
5
- * This preset includes all public @atlaskit/editor-plugin-* plugins used in the
6
- * Confluence full page editor. Private plugins (AI, referentiality, etc.) are
7
- * NOT included — they are added on top of this preset in editor-presets-confluence.
8
- *
9
- * @example
10
- * ```ts
11
- * import { confluenceFullPageBasePreset } from '@atlaskit/editor-presets/confluence-full-page-base';
12
- *
13
- * const preset = confluenceFullPageBasePreset(options);
14
- * ```
15
- */
16
- export declare function confluenceFullPageBasePreset(props: ConfluenceFullPageBasePresetOptions): ConfluenceFullPageBasePresetBuilder;
@@ -1,22 +0,0 @@
1
- import type { ConfluencePageAri } from '@atlassian/ari';
2
- import type { AgentManagedExtensionPluginOptions } from '@atlassian/editor-plugin-agent-managed-extension';
3
- interface Props {
4
- options?: {
5
- /**
6
- * Optional override of the extension type used for newly inserted
7
- * agent-managed bodied extensions.
8
- *
9
- * Defaults to `com.atlassian.confluence.macro.core`.
10
- */
11
- extensionType?: string;
12
- referenceObjectAri?: ConfluencePageAri;
13
- };
14
- }
15
- /**
16
- * Plugin options for the agent-managed extension (block) plugin
17
- *
18
- * @param options - configuration to be provided into the plugin
19
- * @param options.options - (optional) nested plugin configuration
20
- */
21
- export declare function agentManagedExtensionPluginOptions({ options, }: Props): AgentManagedExtensionPluginOptions;
22
- export {};
@@ -1,6 +0,0 @@
1
- import type { AnalyticsPluginOptions } from '@atlaskit/editor-plugin-analytics';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function analyticsPluginOptions({}: Props): AnalyticsPluginOptions;
6
- export {};
@@ -1,23 +0,0 @@
1
- import type { AnnotationManager } from '@atlaskit/editor-common/annotation';
2
- import type { AnnotationPluginOptions, InlineCommentAnnotationProvider } from '@atlaskit/editor-plugin-annotation';
3
- interface Props {
4
- options: {
5
- annotationManager: AnnotationManager | undefined;
6
- createCommentExperience: AnnotationPluginOptions['createCommentExperience'];
7
- selectCommentExperience: {
8
- selectAnnotation: {
9
- complete: (_: {
10
- annotationId: string;
11
- entryPoint: 'annotation-change';
12
- pageClass: 'editor';
13
- }) => void;
14
- };
15
- } | undefined;
16
- viewInlineCommentTraceUFOPress?: () => void;
17
- };
18
- providers: {
19
- inlineCommentAnnotationProvider?: InlineCommentAnnotationProvider;
20
- };
21
- }
22
- export declare function annotationPluginOptions({ options, providers, }: Props): AnnotationPluginOptions | undefined;
23
- export {};
@@ -1,9 +0,0 @@
1
- import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
2
- import type { AvatarGroupPluginOptions } from '@atlaskit/editor-plugin-avatar-group';
3
- interface Props {
4
- options: {
5
- collabEdit: CollabEditOptions | undefined;
6
- };
7
- }
8
- export declare function avatarGroupPluginOptions({ options }: Props): AvatarGroupPluginOptions;
9
- export {};
@@ -1,8 +0,0 @@
1
- import type { BasePluginOptions } from '@atlaskit/editor-plugin-base';
2
- interface Props {
3
- options: {
4
- __livePage?: boolean;
5
- };
6
- }
7
- export declare function basePluginOptions({ options }: Props): BasePluginOptions;
8
- export {};
@@ -1,24 +0,0 @@
1
- import type { BlockMenuPluginOptions } from '@atlaskit/editor-plugin-block-menu';
2
- interface Props {
3
- options: {
4
- blockLinkHashPrefix?: string;
5
- getLinkPath?: () => string | null;
6
- };
7
- }
8
- /**
9
- * Returns block menu plugin options for the editor.
10
- * @param options - The props object containing options for configuring the block menu plugin.
11
- * @param options.options - The options object with getLinkPath and blockLinkHashPrefix.
12
- * @returns BlockMenuPluginOptions object.
13
- * @example
14
- * ```ts
15
- * blockMenuPluginOptions({
16
- * options: {
17
- * getLinkPath: () => '/some/path',
18
- * blockLinkHashPrefix: 'block-',
19
- * }
20
- * });
21
- * ```
22
- */
23
- export declare function blockMenuPluginOptions({ options }: Props): BlockMenuPluginOptions;
24
- export {};
@@ -1,6 +0,0 @@
1
- import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function blockTypePluginOptions({}: Props): BlockTypePluginOptions;
6
- export {};
@@ -1,9 +0,0 @@
1
- import type { BreakoutPluginOptions } from '@atlaskit/editor-plugin-breakout';
2
- import type { FullPageEditorAppearance } from '../types';
3
- interface Props {
4
- options: {
5
- editorAppearance: FullPageEditorAppearance;
6
- };
7
- }
8
- export declare function breakoutPluginOptions({ options }: Props): BreakoutPluginOptions;
9
- export {};
@@ -1,36 +0,0 @@
1
- import type { OnClickCallback } from '@atlaskit/editor-common/card';
2
- import type { CardProvider } from '@atlaskit/editor-common/provider-factory';
3
- import type { LinkPickerOptions } from '@atlaskit/editor-common/types';
4
- import type { CardPluginOptions } from '@atlaskit/editor-plugin-card';
5
- import type { CardContext } from '@atlaskit/link-provider';
6
- import type { FullPageEditorAppearance } from '../types';
7
- interface Props {
8
- options: {
9
- __livePage: boolean | undefined;
10
- CompetitorPrompt?: React.ComponentType<{
11
- linkType?: string;
12
- sourceUrl: string;
13
- }>;
14
- editorAppearance: FullPageEditorAppearance;
15
- linkPicker: LinkPickerOptions | undefined;
16
- onClickCallback: OnClickCallback | undefined;
17
- smartCardContext: CardContext | undefined;
18
- };
19
- providers: {
20
- cardProvider: Promise<CardProvider> | undefined;
21
- };
22
- }
23
- declare global {
24
- interface Window {
25
- __SSR_RENDERED__?: boolean;
26
- }
27
- }
28
- /**
29
- *
30
- * @param root0
31
- * @param root0.options
32
- * @param root0.providers
33
- * @example
34
- */
35
- export declare function cardPluginOptions({ options, providers }: Props): CardPluginOptions;
36
- export {};
@@ -1,9 +0,0 @@
1
- import type { CodeBidiWarningPluginOptions } from '@atlaskit/editor-plugin-code-bidi-warning';
2
- import type { FullPageEditorAppearance } from '../types';
3
- interface Props {
4
- options: {
5
- editorAppearance: FullPageEditorAppearance;
6
- };
7
- }
8
- export declare function codeBidiWarningPluginOptions({ options }: Props): CodeBidiWarningPluginOptions;
9
- export {};
@@ -1,6 +0,0 @@
1
- import type { CodeBlockAdvancedPluginOptions } from '@atlaskit/editor-plugin-code-block-advanced';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function codeBlockAdvancedPluginOptions({}: Props): CodeBlockAdvancedPluginOptions;
6
- export {};
@@ -1,6 +0,0 @@
1
- import type { CodeBlockPluginOptions } from '@atlaskit/editor-plugin-code-block';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function codeBlockPluginOptions({}: Props): CodeBlockPluginOptions;
6
- export {};
@@ -1,13 +0,0 @@
1
- import type { CollabEditOptions, CollabEditProvider } from '@atlaskit/editor-common/collab';
2
- import type { CollabEditPluginOptions } from '@atlaskit/editor-plugin-collab-edit';
3
- interface Props {
4
- options: {
5
- __livePage: boolean | undefined;
6
- collabEdit: CollabEditOptions | undefined;
7
- };
8
- providers: {
9
- collabEditProvider: Promise<CollabEditProvider> | undefined;
10
- };
11
- }
12
- export declare function collabEditPluginOptions({ options, providers }: Props): CollabEditPluginOptions;
13
- export {};
@@ -1,9 +0,0 @@
1
- import type { EditorContentMode } from '@atlaskit/editor-common/types';
2
- import type { ContentFormatPluginOptions } from '@atlaskit/editor-plugin-content-format';
3
- interface Props {
4
- options: {
5
- initialContentMode?: EditorContentMode;
6
- } | undefined;
7
- }
8
- export declare function contentFormatPluginOptions({ options }: Props): ContentFormatPluginOptions;
9
- export {};
@@ -1,10 +0,0 @@
1
- import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
2
- import type { ContextIdentifierPluginOptions } from '@atlaskit/editor-plugin-context-identifier';
3
- interface Props {
4
- options: never;
5
- providers: {
6
- contextIdentifierProvider: Promise<ContextIdentifierProvider> | undefined;
7
- };
8
- }
9
- export declare function contextIdentifierPluginOptions({ providers, }: Props): ContextIdentifierPluginOptions;
10
- export {};
@@ -1,8 +0,0 @@
1
- import type { ContextPanelPluginOptions } from '@atlaskit/editor-plugin-context-panel';
2
- interface Props {
3
- options: {
4
- objectSideBar: ContextPanelPluginOptions['objectSideBar'];
5
- } | undefined;
6
- }
7
- export declare function contextPanelPluginOptions({ options, }: Props): ContextPanelPluginOptions | undefined;
8
- export {};
@@ -1,10 +0,0 @@
1
- import type { AutoformattingProvider } from '@atlaskit/editor-common/provider-factory';
2
- import type { CustomAutoformatPluginOptions } from '@atlaskit/editor-plugin-custom-autoformat';
3
- interface Props {
4
- options: never;
5
- providers: {
6
- autoformattingProvider: Promise<AutoformattingProvider> | undefined;
7
- };
8
- }
9
- export declare function customAutoformatPluginOptions({ providers }: Props): CustomAutoformatPluginOptions;
10
- export {};
@@ -1,6 +0,0 @@
1
- import type { DatePluginOptions } from '@atlaskit/editor-plugin-date';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function datePluginOptions({}: Props): DatePluginOptions;
6
- export {};
@@ -1,8 +0,0 @@
1
- import type { EditorDisabledPluginOptions } from '@atlaskit/editor-plugin-editor-disabled';
2
- interface Props {
3
- options: {
4
- disabled: boolean | undefined;
5
- };
6
- }
7
- export declare function editorDisabledPluginOptions({ options }: Props): EditorDisabledPluginOptions;
8
- export {};
@@ -1,8 +0,0 @@
1
- import type { EditorViewModePluginOptions, ViewMode } from '@atlaskit/editor-plugin-editor-viewmode';
2
- interface Props {
3
- options: {
4
- viewMode: ViewMode | undefined;
5
- };
6
- }
7
- export declare function editorViewModePluginOptions({ options }: Props): EditorViewModePluginOptions;
8
- export {};
@@ -1,11 +0,0 @@
1
- import type { EmojiNodeDataProvider, EmojiPluginOptions } from '@atlaskit/editor-plugin-emoji';
2
- import type { EmojiProvider } from '@atlaskit/emoji';
3
- interface Props {
4
- options: never;
5
- providers: {
6
- emojiNodeDataProvider: EmojiNodeDataProvider | undefined;
7
- emojiProvider: Promise<EmojiProvider> | undefined;
8
- };
9
- }
10
- export declare function emojiPluginOptions({ providers }: Props): EmojiPluginOptions;
11
- export {};
@@ -1,10 +0,0 @@
1
- import type { ExpandPluginOptions } from '@atlaskit/editor-plugin-expand';
2
- import type { FullPageEditorAppearance } from '../types';
3
- interface Props {
4
- options: {
5
- __livePage: boolean | undefined;
6
- editorAppearance: FullPageEditorAppearance;
7
- };
8
- }
9
- export declare function expandPluginOptions({ options }: Props): ExpandPluginOptions;
10
- export {};
@@ -1,15 +0,0 @@
1
- import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility';
2
- import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
3
- import type { EditorAppearance } from '@atlaskit/editor-common/types';
4
- import type { ExtensionPluginOptions } from '@atlaskit/editor-plugin-extension';
5
- interface Props {
6
- options: {
7
- __rendererExtensionOptions?: ExtensionPluginOptions['__rendererExtensionOptions'];
8
- editorAppearance?: EditorAppearance;
9
- extensionHandlers?: ExtensionHandlers;
10
- getExtensionHeight?: GetPMNodeHeight;
11
- getUnsupportedContent?: ExtensionPluginOptions['getUnsupportedContent'];
12
- };
13
- }
14
- export declare function extensionPluginOptions({ options }: Props): ExtensionPluginOptions;
15
- export {};
@@ -1,6 +0,0 @@
1
- import type { FeatureFlagsPluginOptions } from '@atlaskit/editor-plugin-feature-flags';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function featureFlagsPluginOptions({}: Props): FeatureFlagsPluginOptions;
6
- export {};
@@ -1,6 +0,0 @@
1
- import type { FindReplacePluginOptions } from '@atlaskit/editor-plugin-find-replace';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function findReplacePluginOptions({}: Props): FindReplacePluginOptions;
6
- export {};
@@ -1,6 +0,0 @@
1
- import type { GridPluginOptions } from '@atlaskit/editor-plugin-grid';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function gridPluginOptions({}: Props): GridPluginOptions;
6
- export {};
@@ -1,9 +0,0 @@
1
- import type { HelpDialogPluginOptions } from '@atlaskit/editor-plugin-help-dialog';
2
- interface Props {
3
- options: {
4
- aiEnabled?: boolean;
5
- imageUploadProviderExists?: boolean;
6
- } | never;
7
- }
8
- export declare function helpDialogPluginOptions({ options }: Props): HelpDialogPluginOptions;
9
- export {};
@@ -1,13 +0,0 @@
1
- import type { OnClickCallback } from '@atlaskit/editor-common/card';
2
- import type { LinkPickerOptions } from '@atlaskit/editor-common/types';
3
- import type { HyperlinkPluginOptions } from '@atlaskit/editor-plugin-hyperlink';
4
- import type { FullPageEditorAppearance } from '../types';
5
- interface Props {
6
- options: {
7
- editorAppearance: FullPageEditorAppearance;
8
- linkPicker: LinkPickerOptions | undefined;
9
- onClickCallback: OnClickCallback | undefined;
10
- };
11
- }
12
- export declare function hyperlinkPluginOptions({ options }: Props): HyperlinkPluginOptions;
13
- export {};
@@ -1,10 +0,0 @@
1
- import type { InsertBlockPluginOptions } from '@atlaskit/editor-plugin-insert-block';
2
- import type { FullPageEditorAppearance } from '../types';
3
- interface Props {
4
- options: {
5
- editorAppearance: FullPageEditorAppearance;
6
- toolbarButtons: InsertBlockPluginOptions['toolbarButtons'];
7
- };
8
- }
9
- export declare function insertBlockPluginOptions({ options }: Props): InsertBlockPluginOptions;
10
- export {};
@@ -1,9 +0,0 @@
1
- import type { LayoutPluginOptions } from '@atlaskit/editor-plugin-layout';
2
- import type { FullPageEditorAppearance } from '../types';
3
- interface Props {
4
- options: {
5
- editorAppearance: FullPageEditorAppearance;
6
- };
7
- }
8
- export declare function layoutPluginOptions({ options }: Props): LayoutPluginOptions;
9
- export {};
@@ -1,15 +0,0 @@
1
- import type React from 'react';
2
- import type { LimitedModePluginOptions } from '@atlaskit/editor-plugin-limited-mode';
3
- interface Props {
4
- options: {
5
- contentId?: string;
6
- killSwitchEnabled?: boolean;
7
- showFlag?: (props: {
8
- close: string;
9
- description: React.ReactNode;
10
- title: string;
11
- }) => void;
12
- };
13
- }
14
- export declare function limitedModePluginOptions({ options }: Props): LimitedModePluginOptions;
15
- export {};
@@ -1,8 +0,0 @@
1
- import type { LoomPluginOptions, RenderButton } from '@atlaskit/editor-plugin-loom';
2
- interface Props {
3
- options: {
4
- renderButton: RenderButton;
5
- };
6
- }
7
- export declare function loomPluginOptions({ options }: Props): LoomPluginOptions;
8
- export {};
@@ -1,7 +0,0 @@
1
- export declare const i18n: {
2
- invalidAltText: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- };
@@ -1,19 +0,0 @@
1
- import type { IntlShape } from 'react-intl';
2
- import type { MediaProvider } from '@atlaskit/editor-common/provider-factory';
3
- import type { MediaPluginOptions } from '@atlaskit/editor-plugin-media';
4
- import type { FullPageEditorAppearance } from '../../types';
5
- interface Props {
6
- intl: IntlShape;
7
- options: {
8
- createCommentExperience: MediaPluginOptions['createCommentExperience'];
9
- editorAppearance: FullPageEditorAppearance;
10
- mediaViewerExtensions: MediaPluginOptions['mediaViewerExtensions'];
11
- };
12
- providers: {
13
- mediaProvider: Promise<MediaProvider> | undefined;
14
- syncMediaProvider: MediaProvider | undefined;
15
- };
16
- }
17
- /** Builds media plugin options from Confluence editor preset configuration. */
18
- export declare function mediaPluginOptions({ intl, options, providers }: Props): MediaPluginOptions;
19
- export {};
@@ -1,15 +0,0 @@
1
- import type { ProfilecardProvider } from '@atlaskit/editor-common/provider-factory';
2
- import type { MentionsChangedHandler, MentionsPluginOptions } from '@atlaskit/editor-plugin-mentions';
3
- import type { MentionProvider } from '@atlaskit/mention/types';
4
- interface Props {
5
- options: {
6
- currentUserId?: string;
7
- handleMentionsChanged: MentionsChangedHandler;
8
- };
9
- providers: {
10
- mentionProvider: Promise<MentionProvider> | undefined;
11
- profilecardProvider: Promise<ProfilecardProvider> | undefined;
12
- };
13
- }
14
- export declare function mentionsPluginOptions({ options, providers }: Props): MentionsPluginOptions;
15
- export {};
@@ -1,6 +0,0 @@
1
- import type { MetricsPluginOptions } from '@atlaskit/editor-plugin-metrics';
2
- interface Props {
3
- options: MetricsPluginOptions | undefined;
4
- }
5
- export declare function metricsPluginOptions({ options }: Props): MetricsPluginOptions | undefined;
6
- export {};
@@ -1,6 +0,0 @@
1
- import type { PanelPluginOptions } from '@atlaskit/editor-plugin-panel';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function panelPluginOptions({}: Props): PanelPluginOptions;
6
- export {};
@@ -1,10 +0,0 @@
1
- import type { CardProvider } from '@atlaskit/editor-common/provider-factory';
2
- import type { PastePluginOptions } from '@atlaskit/editor-plugin-paste';
3
- interface Props {
4
- options: never;
5
- providers: {
6
- cardProvider: Promise<CardProvider> | undefined;
7
- };
8
- }
9
- export declare function pastePluginOptions({ providers }: Props): PastePluginOptions;
10
- export {};
@@ -1,32 +0,0 @@
1
- export declare const i18n: {
2
- easyMentionsPlaceholder: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- aiPlaceholder: {
8
- id: string;
9
- defaultMessage: string;
10
- description: string;
11
- };
12
- defaultPlaceholder: {
13
- id: string;
14
- defaultMessage: string;
15
- description: string;
16
- };
17
- editorEmptyDocumentPlaceholderAI: {
18
- id: string;
19
- defaultMessage: string;
20
- description: string;
21
- };
22
- editorEmptyDocumentSpaceShortcutPlaceholder: {
23
- id: string;
24
- defaultMessage: string;
25
- description: string;
26
- };
27
- placeholderADF: {
28
- id: string;
29
- defaultMessage: string;
30
- description: string;
31
- };
32
- };
@@ -1,15 +0,0 @@
1
- import type { IntlShape } from 'react-intl';
2
- import type { ViewMode } from '@atlaskit/editor-plugin-editor-viewmode';
3
- import type { PlaceholderPluginOptions } from '@atlaskit/editor-plugin-placeholder';
4
- interface Props {
5
- intl: IntlShape;
6
- options: {
7
- enableLoadingSpinner?: boolean;
8
- isAIEnabled: boolean;
9
- isPlaceholderHidden?: boolean;
10
- isRovoLLMEnabled: boolean;
11
- viewMode: ViewMode | undefined;
12
- };
13
- }
14
- export declare function placeholderPluginOptions({ intl, options }: Props): PlaceholderPluginOptions;
15
- export {};
@@ -1,6 +0,0 @@
1
- import type { PlaceholderTextPluginOptions } from '@atlaskit/editor-plugin-placeholder-text';
2
- interface Props {
3
- options: never;
4
- }
5
- export declare function placeholderTextPluginOptions({}: Props): PlaceholderTextPluginOptions;
6
- export {};
@@ -1,8 +0,0 @@
1
- import type { PrimaryToolbarPluginOptions } from '@atlaskit/editor-plugin-primary-toolbar';
2
- interface Props {
3
- options: {
4
- contextualFormattingEnabled: boolean;
5
- };
6
- }
7
- export declare function primaryToolbarPluginOptions({ options }: Props): PrimaryToolbarPluginOptions;
8
- export {};