@atlaskit/editor-plugin-alignment 1.15.0 → 1.16.0

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/editor-plugin-alignment
2
2
 
3
+ ## 1.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
8
+ [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
9
+ Bumped editor-prosemirror version to 7.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.15.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 1.15.0
4
22
 
5
23
  ### Minor Changes
@@ -9,5 +9,5 @@ export interface Props {
9
9
  content: React.ReactElement;
10
10
  shortcut?: Keymap;
11
11
  }
12
- declare function AlignmentButton({ label, isSelected, content, shortcut, onClick, value }: Props): JSX.Element;
12
+ declare function AlignmentButton({ label, isSelected, content, shortcut, onClick, value }: Props): React.JSX.Element;
13
13
  export default AlignmentButton;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { AlignmentPlugin } from '../alignmentPluginType';
@@ -6,5 +6,5 @@ interface FloatingToolbarComponentProps {
6
6
  api: ExtractInjectionAPI<AlignmentPlugin> | undefined;
7
7
  editorView: EditorView;
8
8
  }
9
- export declare function FloatingToolbarComponent({ api, editorView }: FloatingToolbarComponentProps): JSX.Element;
9
+ export declare function FloatingToolbarComponent({ api, editorView }: FloatingToolbarComponentProps): React.JSX.Element;
10
10
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { AlignmentPlugin } from '../alignmentPluginType';
@@ -11,5 +11,5 @@ interface PrimaryToolbarComponentProps {
11
11
  popupsScrollableElement?: HTMLElement;
12
12
  isToolbarReducedSpacing: boolean;
13
13
  }
14
- export declare function PrimaryToolbarComponent({ api, editorView, disabled, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, isToolbarReducedSpacing, }: PrimaryToolbarComponentProps): JSX.Element;
14
+ export declare function PrimaryToolbarComponent({ api, editorView, disabled, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, isToolbarReducedSpacing, }: PrimaryToolbarComponentProps): React.JSX.Element;
15
15
  export {};
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  alignment: string;
4
4
  };
5
- export declare const IconMap: (props: Props) => JSX.Element;
5
+ export declare const IconMap: (props: Props) => React.JSX.Element;
6
6
  export {};
@@ -9,5 +9,5 @@ export interface Props {
9
9
  content: React.ReactElement;
10
10
  shortcut?: Keymap;
11
11
  }
12
- declare function AlignmentButton({ label, isSelected, content, shortcut, onClick, value }: Props): JSX.Element;
12
+ declare function AlignmentButton({ label, isSelected, content, shortcut, onClick, value }: Props): React.JSX.Element;
13
13
  export default AlignmentButton;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { AlignmentPlugin } from '../alignmentPluginType';
@@ -6,5 +6,5 @@ interface FloatingToolbarComponentProps {
6
6
  api: ExtractInjectionAPI<AlignmentPlugin> | undefined;
7
7
  editorView: EditorView;
8
8
  }
9
- export declare function FloatingToolbarComponent({ api, editorView }: FloatingToolbarComponentProps): JSX.Element;
9
+ export declare function FloatingToolbarComponent({ api, editorView }: FloatingToolbarComponentProps): React.JSX.Element;
10
10
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { AlignmentPlugin } from '../alignmentPluginType';
@@ -11,5 +11,5 @@ interface PrimaryToolbarComponentProps {
11
11
  popupsScrollableElement?: HTMLElement;
12
12
  isToolbarReducedSpacing: boolean;
13
13
  }
14
- export declare function PrimaryToolbarComponent({ api, editorView, disabled, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, isToolbarReducedSpacing, }: PrimaryToolbarComponentProps): JSX.Element;
14
+ export declare function PrimaryToolbarComponent({ api, editorView, disabled, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, isToolbarReducedSpacing, }: PrimaryToolbarComponentProps): React.JSX.Element;
15
15
  export {};
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  alignment: string;
4
4
  };
5
- export declare const IconMap: (props: Props) => JSX.Element;
5
+ export declare const IconMap: (props: Props) => React.JSX.Element;
6
6
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-alignment",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "Alignment plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@atlaskit/adf-schema": "^46.1.0",
24
- "@atlaskit/editor-common": "^99.6.0",
25
- "@atlaskit/editor-plugin-primary-toolbar": "^2.1.0",
26
- "@atlaskit/editor-prosemirror": "6.2.1",
27
- "@atlaskit/editor-tables": "^2.8.0",
28
- "@atlaskit/icon": "^23.5.0",
29
- "@atlaskit/platform-feature-flags": "0.3.0",
30
- "@atlaskit/tmp-editor-statsig": "^2.41.0",
24
+ "@atlaskit/editor-common": "^99.10.0",
25
+ "@atlaskit/editor-plugin-primary-toolbar": "^2.2.0",
26
+ "@atlaskit/editor-prosemirror": "7.0.0",
27
+ "@atlaskit/editor-tables": "^2.9.0",
28
+ "@atlaskit/icon": "^23.7.0",
29
+ "@atlaskit/platform-feature-flags": "1.0.0",
30
+ "@atlaskit/tmp-editor-statsig": "^2.43.0",
31
31
  "@atlaskit/tokens": "^3.3.0",
32
32
  "@babel/runtime": "^7.0.0",
33
33
  "@emotion/react": "^11.7.1"
@@ -40,7 +40,7 @@
40
40
  "devDependencies": {
41
41
  "@af/integration-testing": "*",
42
42
  "@af/visual-regression": "*",
43
- "@atlaskit/editor-plugin-list": "^3.9.0",
43
+ "@atlaskit/editor-plugin-list": "^3.10.0",
44
44
  "@atlaskit/ssr": "*",
45
45
  "@atlaskit/visual-regression": "*",
46
46
  "@testing-library/react": "^13.4.0",