@atlaskit/editor-plugin-alignment 1.15.1 → 1.16.1

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,25 @@
1
1
  # @atlaskit/editor-plugin-alignment
2
2
 
3
+ ## 1.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#112186](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112186)
8
+ [`9462d8ca2405a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9462d8ca2405a) -
9
+ Bump adf-schema to 47.2.1
10
+
11
+ ## 1.16.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
16
+ [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
17
+ Bumped editor-prosemirror version to 7.0.0
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 1.15.1
4
24
 
5
25
  ### Patch 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.1",
3
+ "version": "1.16.1",
4
4
  "description": "Alignment plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -20,14 +20,14 @@
20
20
  "runReact18": true
21
21
  },
22
22
  "dependencies": {
23
- "@atlaskit/adf-schema": "^46.1.0",
24
- "@atlaskit/editor-common": "^99.7.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.6.0",
23
+ "@atlaskit/adf-schema": "^47.2.1",
24
+ "@atlaskit/editor-common": "^99.14.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.9.0",
29
29
  "@atlaskit/platform-feature-flags": "1.0.0",
30
- "@atlaskit/tmp-editor-statsig": "^2.41.0",
30
+ "@atlaskit/tmp-editor-statsig": "^2.46.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",