@atlaskit/editor-core 219.9.13 → 219.9.15

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 (90) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-compiled.compiled.css +4 -0
  3. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-compiled.js +29 -0
  4. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-emotion.js +34 -0
  5. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +7 -20
  6. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.compiled.css +4 -0
  7. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +56 -0
  8. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +88 -0
  9. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper.js +10 -73
  10. package/dist/cjs/ui/Appearance/FullPage/FullPage-compiled.compiled.css +5 -0
  11. package/dist/cjs/ui/Appearance/FullPage/FullPage-compiled.js +32 -0
  12. package/dist/cjs/ui/Appearance/FullPage/FullPage-emotion.js +38 -0
  13. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +20 -20
  14. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +7 -2
  15. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar-compiled.compiled.css +10 -0
  16. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar-compiled.js +45 -0
  17. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar-emotion.js +58 -0
  18. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +21 -26
  19. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +6 -3
  20. package/dist/cjs/ui/Toolbar/Toolbar.js +3 -1
  21. package/dist/cjs/version-wrapper.js +1 -1
  22. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-compiled.compiled.css +4 -0
  23. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-compiled.js +19 -0
  24. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-emotion.js +25 -0
  25. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +5 -17
  26. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.compiled.css +4 -0
  27. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +46 -0
  28. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +78 -0
  29. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper.js +6 -69
  30. package/dist/es2019/ui/Appearance/FullPage/FullPage-compiled.compiled.css +5 -0
  31. package/dist/es2019/ui/Appearance/FullPage/FullPage-compiled.js +23 -0
  32. package/dist/es2019/ui/Appearance/FullPage/FullPage-emotion.js +29 -0
  33. package/dist/es2019/ui/Appearance/FullPage/FullPage.js +18 -19
  34. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +7 -2
  35. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar-compiled.compiled.css +10 -0
  36. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar-compiled.js +34 -0
  37. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar-emotion.js +48 -0
  38. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +16 -27
  39. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +6 -3
  40. package/dist/es2019/ui/Toolbar/Toolbar.js +3 -1
  41. package/dist/es2019/version-wrapper.js +1 -1
  42. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-compiled.compiled.css +4 -0
  43. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-compiled.js +21 -0
  44. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-emotion.js +27 -0
  45. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +7 -19
  46. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.compiled.css +4 -0
  47. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +48 -0
  48. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +80 -0
  49. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper.js +10 -71
  50. package/dist/esm/ui/Appearance/FullPage/FullPage-compiled.compiled.css +5 -0
  51. package/dist/esm/ui/Appearance/FullPage/FullPage-compiled.js +24 -0
  52. package/dist/esm/ui/Appearance/FullPage/FullPage-emotion.js +31 -0
  53. package/dist/esm/ui/Appearance/FullPage/FullPage.js +20 -19
  54. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +7 -2
  55. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar-compiled.compiled.css +10 -0
  56. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar-compiled.js +37 -0
  57. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar-emotion.js +50 -0
  58. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +22 -27
  59. package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +6 -3
  60. package/dist/esm/ui/Toolbar/Toolbar.js +3 -1
  61. package/dist/esm/version-wrapper.js +1 -1
  62. package/dist/types/ui/Appearance/FullPage/BeforeWrapper-compiled.d.ts +16 -0
  63. package/dist/types/ui/Appearance/FullPage/BeforeWrapper-emotion.d.ts +16 -0
  64. package/dist/types/ui/Appearance/FullPage/BeforeWrapper.d.ts +3 -8
  65. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.d.ts +3 -0
  66. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.d.ts +14 -0
  67. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper.d.ts +4 -10
  68. package/dist/types/ui/Appearance/FullPage/FullPage-compiled.d.ts +7 -0
  69. package/dist/types/ui/Appearance/FullPage/FullPage-emotion.d.ts +7 -0
  70. package/dist/types/ui/Appearance/FullPage/FullPage.d.ts +2 -2
  71. package/dist/types/ui/Appearance/FullPage/FullPageToolbar-compiled.d.ts +20 -0
  72. package/dist/types/ui/Appearance/FullPage/FullPageToolbar-emotion.d.ts +20 -0
  73. package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +1 -6
  74. package/dist/types/ui/Appearance/FullPage/FullPageToolbarNext.d.ts +2 -1
  75. package/dist/types/ui/Toolbar/Toolbar.d.ts +2 -2
  76. package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper-compiled.d.ts +16 -0
  77. package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper-emotion.d.ts +16 -0
  78. package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper.d.ts +3 -8
  79. package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.d.ts +3 -0
  80. package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.d.ts +14 -0
  81. package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper.d.ts +4 -10
  82. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage-compiled.d.ts +7 -0
  83. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage-emotion.d.ts +7 -0
  84. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +2 -2
  85. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar-compiled.d.ts +20 -0
  86. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar-emotion.d.ts +20 -0
  87. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +1 -6
  88. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbarNext.d.ts +2 -1
  89. package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +2 -2
  90. package/package.json +9 -9
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `FullPageToolbar.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ReactNode } from 'react';
12
+ export declare const NonCustomToolbarWrapperCompiled: ({ children, }: {
13
+ children: ReactNode;
14
+ }) => React.JSX.Element;
15
+ export declare const MainToolbarIconBeforeCompiled: ({ children, }: {
16
+ children: ReactNode;
17
+ }) => React.JSX.Element;
18
+ export declare const CustomToolbarWrapperCompiled: ({ children, }: {
19
+ children: ReactNode;
20
+ }) => React.JSX.Element;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `FullPageToolbar.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ReactNode } from 'react';
12
+ export declare const NonCustomToolbarWrapperEmotion: ({ children, }: {
13
+ children: ReactNode;
14
+ }) => React.JSX.Element;
15
+ export declare const MainToolbarIconBeforeEmotion: ({ children, }: {
16
+ children: ReactNode;
17
+ }) => React.JSX.Element;
18
+ export declare const CustomToolbarWrapperEmotion: ({ children, }: {
19
+ children: ReactNode;
20
+ }) => React.JSX.Element;
@@ -1,10 +1,5 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
1
  import type { ReactElement } from 'react';
6
2
  import React from 'react';
7
- import { jsx } from '@emotion/react';
8
3
  import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
9
4
  import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
10
5
  import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
@@ -50,7 +45,7 @@ export interface FullPageToolbarProps {
50
45
  providerFactory: ProviderFactory;
51
46
  showKeyline: boolean;
52
47
  }
53
- export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => jsx.JSX.Element>;
48
+ export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => React.JSX.Element>;
54
49
  export declare const FullPageToolbar: React.FC<WithIntlProps<FullPageToolbarProps & WrappedComponentProps>> & {
55
50
  WrappedComponent: React.ComponentType<FullPageToolbarProps & WrappedComponentProps>;
56
51
  };
@@ -13,6 +13,7 @@ type FullPageToolbarNextProps = {
13
13
  beforeIcon?: React.ReactNode;
14
14
  customPrimaryToolbarComponents?: PrimaryToolbarComponents;
15
15
  disabled: boolean;
16
+ disabledWithoutInteractionLogic?: boolean;
16
17
  editorAPI?: FullPageToolbarPluginAPI;
17
18
  editorView?: EditorView;
18
19
  popupsBoundariesElement?: HTMLElement;
@@ -25,5 +26,5 @@ type FullPageToolbarPluginAPI = PublicPluginAPI<[
25
26
  ToolbarPlugin,
26
27
  OptionalPlugin<MarkdownModePlugin>
27
28
  ]>;
28
- export declare const FullPageToolbarNext: ({ editorAPI, beforeIcon, toolbarDockingPosition, editorView, popupsMountPoint, showKeyline, customPrimaryToolbarComponents, disabled, }: FullPageToolbarNextProps) => JSX.Element;
29
+ export declare const FullPageToolbarNext: ({ editorAPI, beforeIcon, toolbarDockingPosition, editorView, popupsMountPoint, showKeyline, customPrimaryToolbarComponents, disabled, disabledWithoutInteractionLogic, }: FullPageToolbarNextProps) => JSX.Element;
29
30
  export {};
@@ -13,7 +13,7 @@ import type { ToolbarProps } from './toolbar-types';
13
13
  * If making changes to this component please ensure to also update `<ToolbarNext />`.
14
14
  */
15
15
  export declare const Toolbar: (props: ToolbarProps) => JSX.Element;
16
- type NewToolbarProps = Pick<ToolbarUIContextType, 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement' | 'isDisabled'> & Pick<EditorToolbarContextType, 'editorAppearance'> & {
16
+ type NewToolbarProps = Pick<ToolbarUIContextType, 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement' | 'isDisabled' | 'disabledWithoutInteractionLogic'> & Pick<EditorToolbarContextType, 'editorAppearance'> & {
17
17
  components: RegisterComponent[];
18
18
  editorAPI?: PublicPluginAPI<[ToolbarPlugin, OptionalPlugin<MarkdownModePlugin>]>;
19
19
  editorView?: EditorView;
@@ -25,5 +25,5 @@ type NewToolbarProps = Pick<ToolbarUIContextType, 'popupsMountPoint' | 'popupsBo
25
25
  *
26
26
  * The majority of components UI should use `@atlaskit/editor-toolbar` components.
27
27
  */
28
- export declare const ToolbarNext: ({ toolbar, components, editorView, editorAPI, popupsMountPoint, editorAppearance, popupsBoundariesElement, popupsScrollableElement, isDisabled, }: NewToolbarProps) => React.JSX.Element;
28
+ export declare const ToolbarNext: ({ toolbar, components, editorView, editorAPI, popupsMountPoint, editorAppearance, popupsBoundariesElement, popupsScrollableElement, isDisabled, disabledWithoutInteractionLogic, }: NewToolbarProps) => React.JSX.Element;
29
29
  export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `BeforeWrapper.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ReactElement } from 'react';
12
+ type ReactComponents = ReactElement | ReactElement[];
13
+ export declare const BeforePrimaryToolbarWrapperCompiled: (props: {
14
+ beforePrimaryToolbarComponents: ReactComponents | undefined;
15
+ }) => React.JSX.Element;
16
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `BeforeWrapper.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ReactElement } from 'react';
12
+ type ReactComponents = ReactElement | ReactElement[];
13
+ export declare const BeforePrimaryToolbarWrapperEmotion: (props: {
14
+ beforePrimaryToolbarComponents: ReactComponents | undefined;
15
+ }) => React.JSX.Element;
16
+ export {};
@@ -1,11 +1,6 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import type { ReactElement } from 'react';
6
- import { jsx } from '@emotion/react';
1
+ import type { FC, ReactElement } from 'react';
7
2
  type ReactComponents = ReactElement | ReactElement[];
8
- export declare const BeforePrimaryToolbarWrapper: (props: {
3
+ export declare const BeforePrimaryToolbarWrapper: FC<{
9
4
  beforePrimaryToolbarComponents: ReactComponents | undefined;
10
- }) => jsx.JSX.Element;
5
+ }>;
11
6
  export {};
@@ -0,0 +1,3 @@
1
+ import type { ChildWrapperProps } from './CustomToolbarWrapper';
2
+ export declare const MainToolbarForFirstChildWrapperCompiled: ({ twoLineEditorToolbar, children, role, "aria-label": ariaLabel, "data-testid": testId, }: ChildWrapperProps) => React.JSX.Element;
3
+ export declare const MainToolbarForSecondChildWrapperCompiled: ({ twoLineEditorToolbar, children, role, "aria-label": ariaLabel, "data-testid": testId, }: ChildWrapperProps) => React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `CustomToolbarWrapper.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ import type { ChildWrapperProps } from './CustomToolbarWrapper';
13
+ export declare const MainToolbarForFirstChildWrapperEmotion: ({ twoLineEditorToolbar, children, role, "aria-label": ariaLabel, "data-testid": testId, }: ChildWrapperProps) => React.JSX.Element;
14
+ export declare const MainToolbarForSecondChildWrapperEmotion: ({ twoLineEditorToolbar, children, role, "aria-label": ariaLabel, "data-testid": testId, }: ChildWrapperProps) => React.JSX.Element;
@@ -1,16 +1,10 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import React from 'react';
6
- import { jsx } from '@emotion/react';
7
- interface ChildWrapperProps {
1
+ import type { FC } from 'react';
2
+ export interface ChildWrapperProps {
8
3
  'aria-label'?: string;
9
4
  children: React.ReactNode;
10
5
  'data-testid'?: string;
11
6
  role?: string;
12
7
  twoLineEditorToolbar: boolean;
13
8
  }
14
- export declare const MainToolbarForFirstChildWrapper: ({ twoLineEditorToolbar, children, role, "aria-label": ariaLabel, "data-testid": testId, }: ChildWrapperProps) => jsx.JSX.Element;
15
- export declare const MainToolbarForSecondChildWrapper: ({ twoLineEditorToolbar, children, role, "aria-label": ariaLabel, "data-testid": testId, }: ChildWrapperProps) => jsx.JSX.Element;
16
- export {};
9
+ export declare const MainToolbarForFirstChildWrapper: FC<ChildWrapperProps>;
10
+ export declare const MainToolbarForSecondChildWrapper: FC<ChildWrapperProps>;
@@ -0,0 +1,7 @@
1
+ interface FullPageEditorWrapperProps {
2
+ children: React.ReactNode;
3
+ className?: string;
4
+ style?: React.CSSProperties;
5
+ }
6
+ export declare const FullPageEditorWrapperCompiled: React.ForwardRefExoticComponent<FullPageEditorWrapperProps & React.RefAttributes<HTMLDivElement>>;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ interface FullPageEditorWrapperProps {
2
+ children: React.ReactNode;
3
+ className?: string;
4
+ style?: React.CSSProperties;
5
+ }
6
+ export declare const FullPageEditorWrapperEmotion: React.ForwardRefExoticComponent<FullPageEditorWrapperProps & React.RefAttributes<HTMLDivElement>>;
7
+ export {};
@@ -1,4 +1,4 @@
1
- import { jsx } from '@emotion/react';
1
+ import React from 'react';
2
2
  import type { OptionalPlugin } from '@atlaskit/editor-common/types';
3
3
  import type { EditorViewModePlugin } from '@atlaskit/editor-plugins/editor-viewmode';
4
4
  import type { InteractionPlugin } from '@atlaskit/editor-plugins/interaction';
@@ -15,4 +15,4 @@ export type ComponentProps = EditorAppearanceComponentProps<[
15
15
  OptionalPlugin<ToolbarPlugin>,
16
16
  ...ToolbarEditorPlugins
17
17
  ]>;
18
- export declare const FullPageEditor: (props: ComponentProps) => jsx.JSX.Element;
18
+ export declare const FullPageEditor: (props: ComponentProps) => React.JSX.Element;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `FullPageToolbar.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ReactNode } from 'react';
12
+ export declare const NonCustomToolbarWrapperCompiled: ({ children, }: {
13
+ children: ReactNode;
14
+ }) => React.JSX.Element;
15
+ export declare const MainToolbarIconBeforeCompiled: ({ children, }: {
16
+ children: ReactNode;
17
+ }) => React.JSX.Element;
18
+ export declare const CustomToolbarWrapperCompiled: ({ children, }: {
19
+ children: ReactNode;
20
+ }) => React.JSX.Element;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
+ * Used via `componentWithCondition` in `FullPageToolbar.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ReactNode } from 'react';
12
+ export declare const NonCustomToolbarWrapperEmotion: ({ children, }: {
13
+ children: ReactNode;
14
+ }) => React.JSX.Element;
15
+ export declare const MainToolbarIconBeforeEmotion: ({ children, }: {
16
+ children: ReactNode;
17
+ }) => React.JSX.Element;
18
+ export declare const CustomToolbarWrapperEmotion: ({ children, }: {
19
+ children: ReactNode;
20
+ }) => React.JSX.Element;
@@ -1,10 +1,5 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
1
  import type { ReactElement } from 'react';
6
2
  import React from 'react';
7
- import { jsx } from '@emotion/react';
8
3
  import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
9
4
  import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
10
5
  import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
@@ -50,7 +45,7 @@ export interface FullPageToolbarProps {
50
45
  providerFactory: ProviderFactory;
51
46
  showKeyline: boolean;
52
47
  }
53
- export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => jsx.JSX.Element>;
48
+ export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => React.JSX.Element>;
54
49
  export declare const FullPageToolbar: React.FC<WithIntlProps<FullPageToolbarProps & WrappedComponentProps>> & {
55
50
  WrappedComponent: React.ComponentType<FullPageToolbarProps & WrappedComponentProps>;
56
51
  };
@@ -13,6 +13,7 @@ type FullPageToolbarNextProps = {
13
13
  beforeIcon?: React.ReactNode;
14
14
  customPrimaryToolbarComponents?: PrimaryToolbarComponents;
15
15
  disabled: boolean;
16
+ disabledWithoutInteractionLogic?: boolean;
16
17
  editorAPI?: FullPageToolbarPluginAPI;
17
18
  editorView?: EditorView;
18
19
  popupsBoundariesElement?: HTMLElement;
@@ -25,5 +26,5 @@ type FullPageToolbarPluginAPI = PublicPluginAPI<[
25
26
  ToolbarPlugin,
26
27
  OptionalPlugin<MarkdownModePlugin>
27
28
  ]>;
28
- export declare const FullPageToolbarNext: ({ editorAPI, beforeIcon, toolbarDockingPosition, editorView, popupsMountPoint, showKeyline, customPrimaryToolbarComponents, disabled, }: FullPageToolbarNextProps) => JSX.Element;
29
+ export declare const FullPageToolbarNext: ({ editorAPI, beforeIcon, toolbarDockingPosition, editorView, popupsMountPoint, showKeyline, customPrimaryToolbarComponents, disabled, disabledWithoutInteractionLogic, }: FullPageToolbarNextProps) => JSX.Element;
29
30
  export {};
@@ -13,7 +13,7 @@ import type { ToolbarProps } from './toolbar-types';
13
13
  * If making changes to this component please ensure to also update `<ToolbarNext />`.
14
14
  */
15
15
  export declare const Toolbar: (props: ToolbarProps) => JSX.Element;
16
- type NewToolbarProps = Pick<ToolbarUIContextType, 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement' | 'isDisabled'> & Pick<EditorToolbarContextType, 'editorAppearance'> & {
16
+ type NewToolbarProps = Pick<ToolbarUIContextType, 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement' | 'isDisabled' | 'disabledWithoutInteractionLogic'> & Pick<EditorToolbarContextType, 'editorAppearance'> & {
17
17
  components: RegisterComponent[];
18
18
  editorAPI?: PublicPluginAPI<[
19
19
  ToolbarPlugin,
@@ -28,5 +28,5 @@ type NewToolbarProps = Pick<ToolbarUIContextType, 'popupsMountPoint' | 'popupsBo
28
28
  *
29
29
  * The majority of components UI should use `@atlaskit/editor-toolbar` components.
30
30
  */
31
- export declare const ToolbarNext: ({ toolbar, components, editorView, editorAPI, popupsMountPoint, editorAppearance, popupsBoundariesElement, popupsScrollableElement, isDisabled, }: NewToolbarProps) => React.JSX.Element;
31
+ export declare const ToolbarNext: ({ toolbar, components, editorView, editorAPI, popupsMountPoint, editorAppearance, popupsBoundariesElement, popupsScrollableElement, isDisabled, disabledWithoutInteractionLogic, }: NewToolbarProps) => React.JSX.Element;
32
32
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "219.9.13",
3
+ "version": "219.9.15",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -62,9 +62,9 @@
62
62
  "@atlaskit/editor-prosemirror": "^7.3.0",
63
63
  "@atlaskit/editor-shared-styles": "^3.11.0",
64
64
  "@atlaskit/editor-ssr-renderer": "^5.2.0",
65
- "@atlaskit/editor-toolbar": "^1.8.0",
65
+ "@atlaskit/editor-toolbar": "^1.9.0",
66
66
  "@atlaskit/editor-toolbar-model": "^0.5.0",
67
- "@atlaskit/emoji": "^70.11.0",
67
+ "@atlaskit/emoji": "^70.14.0",
68
68
  "@atlaskit/feature-gate-js-client": "^5.7.0",
69
69
  "@atlaskit/icon": "^35.3.0",
70
70
  "@atlaskit/link": "^3.4.0",
@@ -72,7 +72,7 @@
72
72
  "@atlaskit/mention": "^26.0.0",
73
73
  "@atlaskit/platform-feature-flags": "^1.1.0",
74
74
  "@atlaskit/platform-feature-flags-react": "^0.5.0",
75
- "@atlaskit/react-ufo": "^6.2.0",
75
+ "@atlaskit/react-ufo": "^6.4.0",
76
76
  "@atlaskit/task-decision": "^20.1.0",
77
77
  "@atlaskit/tmp-editor-statsig": "^85.0.0",
78
78
  "@atlaskit/tokens": "^13.1.0",
@@ -92,7 +92,7 @@
92
92
  "uuid": "^3.1.0"
93
93
  },
94
94
  "peerDependencies": {
95
- "@atlaskit/editor-common": "^114.50.0",
95
+ "@atlaskit/editor-common": "^114.53.0",
96
96
  "@atlaskit/link-provider": "^4.4.0",
97
97
  "@atlaskit/media-core": "^37.1.0",
98
98
  "react": "^18.2.0",
@@ -124,18 +124,18 @@
124
124
  "@atlaskit/renderer": "^131.2.0",
125
125
  "@atlaskit/section-message": "^8.13.0",
126
126
  "@atlaskit/synchrony-test-helpers": "workspace:^",
127
- "@atlaskit/toggle": "^16.0.0",
127
+ "@atlaskit/toggle": "^16.1.0",
128
128
  "@atlaskit/util-data-test": "^18.6.0",
129
129
  "@atlassian/a11y-jest-testing": "^0.11.0",
130
130
  "@atlassian/a11y-playwright-testing": "^0.10.0",
131
131
  "@atlassian/adf-schema-json": "^1.33.0",
132
- "@atlassian/editor-rovo-bridge": "^8.15.0",
132
+ "@atlassian/editor-rovo-bridge": "^8.16.0",
133
133
  "@atlassian/feature-flags-test-utils": "^1.1.0",
134
134
  "@atlassian/react-compiler-gating": "workspace:^",
135
- "@atlassian/search-client": "^1.9.0",
135
+ "@atlassian/search-client": "^1.10.0",
136
136
  "@atlassian/search-provider": "^11.1.0",
137
137
  "@atlassian/structured-docs-types": "workspace:^",
138
- "@atlassian/user-profile-card": "^1.7.0",
138
+ "@atlassian/user-profile-card": "^1.8.0",
139
139
  "@emotion/jest": "^11.8.0",
140
140
  "@testing-library/react": "^16.3.0",
141
141
  "@types/diff": "^5.0.2",