@atlaskit/editor-plugin-floating-toolbar 1.16.0 → 1.16.2

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,17 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 1.16.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.16.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.16.0
4
16
 
5
17
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { IntlShape } from 'react-intl-next';
3
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -10,7 +10,7 @@ export declare const getRelevantConfig: (selection: Selection, configs: Array<Fl
10
10
  export declare const floatingToolbarPlugin: FloatingToolbarPlugin;
11
11
  export declare function ContentComponent({ pluginInjectionApi, editorView, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, providerFactory, dispatchAnalyticsEvent, }: Pick<UiComponentFactoryParams, 'editorView' | 'popupsMountPoint' | 'popupsBoundariesElement' | 'providerFactory' | 'dispatchAnalyticsEvent' | 'popupsScrollableElement'> & {
12
12
  pluginInjectionApi: ExtractInjectionAPI<FloatingToolbarPlugin> | undefined;
13
- }): JSX.Element | null;
13
+ }): React.JSX.Element | null;
14
14
  /**
15
15
  *
16
16
  * ProseMirror Plugin
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
4
- export declare const CheckboxModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
4
+ export declare const CheckboxModal: (props: ConfirmationDialogProps & WrappedComponentProps) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Divider: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const Divider: () => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export default function EditorEmojiAddIcon(): JSX.Element;
1
+ import React from 'react';
2
+ export default function EditorEmojiAddIcon(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function ExpandButton(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function ExpandButton(): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtensionAPI, ExtensionProvider } from '@atlaskit/editor-common/extensions';
3
3
  import type { ApplyChangeHandler } from '@atlaskit/editor-plugin-context-panel';
4
4
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
@@ -11,5 +11,5 @@ interface Props {
11
11
  applyChangeToContextPanel: ApplyChangeHandler | undefined;
12
12
  extensionApi: ExtensionAPI | undefined;
13
13
  }
14
- export declare const ExtensionsPlaceholder: (props: Props) => JSX.Element | null;
14
+ export declare const ExtensionsPlaceholder: (props: Props) => React.JSX.Element | null;
15
15
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { SelectOption } from '@atlaskit/editor-common/types';
3
3
  import type { ValueType } from '@atlaskit/select';
4
4
  export interface Props {
@@ -17,4 +17,4 @@ export interface Props {
17
17
  ariaLabel?: string;
18
18
  classNamePrefix?: string;
19
19
  }
20
- export default function Search(props: Props): JSX.Element;
20
+ export default function Search(props: Props): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
4
- export declare const SimpleModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
4
+ export declare const SimpleModal: (props: ConfirmationDialogProps & WrappedComponentProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { IntlShape } from 'react-intl-next';
3
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -10,7 +10,7 @@ export declare const getRelevantConfig: (selection: Selection, configs: Array<Fl
10
10
  export declare const floatingToolbarPlugin: FloatingToolbarPlugin;
11
11
  export declare function ContentComponent({ pluginInjectionApi, editorView, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, providerFactory, dispatchAnalyticsEvent, }: Pick<UiComponentFactoryParams, 'editorView' | 'popupsMountPoint' | 'popupsBoundariesElement' | 'providerFactory' | 'dispatchAnalyticsEvent' | 'popupsScrollableElement'> & {
12
12
  pluginInjectionApi: ExtractInjectionAPI<FloatingToolbarPlugin> | undefined;
13
- }): JSX.Element | null;
13
+ }): React.JSX.Element | null;
14
14
  /**
15
15
  *
16
16
  * ProseMirror Plugin
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
4
- export declare const CheckboxModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
4
+ export declare const CheckboxModal: (props: ConfirmationDialogProps & WrappedComponentProps) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Divider: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const Divider: () => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export default function EditorEmojiAddIcon(): JSX.Element;
1
+ import React from 'react';
2
+ export default function EditorEmojiAddIcon(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function ExpandButton(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function ExpandButton(): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtensionAPI, ExtensionProvider } from '@atlaskit/editor-common/extensions';
3
3
  import type { ApplyChangeHandler } from '@atlaskit/editor-plugin-context-panel';
4
4
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
@@ -11,5 +11,5 @@ interface Props {
11
11
  applyChangeToContextPanel: ApplyChangeHandler | undefined;
12
12
  extensionApi: ExtensionAPI | undefined;
13
13
  }
14
- export declare const ExtensionsPlaceholder: (props: Props) => JSX.Element | null;
14
+ export declare const ExtensionsPlaceholder: (props: Props) => React.JSX.Element | null;
15
15
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { SelectOption } from '@atlaskit/editor-common/types';
3
3
  import type { ValueType } from '@atlaskit/select';
4
4
  export interface Props {
@@ -17,4 +17,4 @@ export interface Props {
17
17
  ariaLabel?: string;
18
18
  classNamePrefix?: string;
19
19
  }
20
- export default function Search(props: Props): JSX.Element;
20
+ export default function Search(props: Props): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
4
- export declare const SimpleModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
4
+ export declare const SimpleModal: (props: ConfirmationDialogProps & WrappedComponentProps) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "1.16.0",
3
+ "version": "1.16.2",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@atlaskit/adf-utils": "^19.18.0",
27
- "@atlaskit/button": "^20.4.0",
27
+ "@atlaskit/button": "^20.5.0",
28
28
  "@atlaskit/checkbox": "^15.3.0",
29
- "@atlaskit/editor-common": "^99.6.0",
29
+ "@atlaskit/editor-common": "^99.9.0",
30
30
  "@atlaskit/editor-palette": "1.7.0",
31
- "@atlaskit/editor-plugin-block-controls": "^2.21.0",
32
- "@atlaskit/editor-plugin-context-panel": "^1.5.0",
31
+ "@atlaskit/editor-plugin-block-controls": "^2.22.0",
32
+ "@atlaskit/editor-plugin-context-panel": "^2.0.0",
33
33
  "@atlaskit/editor-plugin-copy-button": "^1.4.0",
34
34
  "@atlaskit/editor-plugin-decorations": "^1.4.0",
35
35
  "@atlaskit/editor-plugin-editor-disabled": "^1.4.0",
@@ -39,14 +39,14 @@
39
39
  "@atlaskit/editor-plugin-table": "^9.3.0",
40
40
  "@atlaskit/editor-prosemirror": "6.2.1",
41
41
  "@atlaskit/emoji": "^67.13.0",
42
- "@atlaskit/icon": "^23.5.0",
42
+ "@atlaskit/icon": "^23.7.0",
43
43
  "@atlaskit/menu": "^2.14.0",
44
44
  "@atlaskit/modal-dialog": "^12.20.0",
45
- "@atlaskit/platform-feature-flags": "^0.3.0",
45
+ "@atlaskit/platform-feature-flags": "^1.0.0",
46
46
  "@atlaskit/primitives": "^13.4.0",
47
47
  "@atlaskit/select": "^18.10.0",
48
48
  "@atlaskit/theme": "^14.1.0",
49
- "@atlaskit/tmp-editor-statsig": "^2.41.0",
49
+ "@atlaskit/tmp-editor-statsig": "^2.43.0",
50
50
  "@atlaskit/tokens": "^3.3.0",
51
51
  "@atlaskit/tooltip": "^19.1.0",
52
52
  "@babel/runtime": "^7.0.0",