@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 +12 -0
- package/dist/types/floatingToolbarPlugin.d.ts +2 -2
- package/dist/types/ui/CheckboxModal.d.ts +2 -2
- package/dist/types/ui/Divider.d.ts +2 -2
- package/dist/types/ui/EditorEmojiAddIcon.d.ts +2 -2
- package/dist/types/ui/ExpandButton.d.ts +2 -2
- package/dist/types/ui/ExtensionsPlaceholder.d.ts +2 -2
- package/dist/types/ui/Select.d.ts +2 -2
- package/dist/types/ui/SimpleModal.d.ts +2 -2
- package/dist/types-ts4.5/floatingToolbarPlugin.d.ts +2 -2
- package/dist/types-ts4.5/ui/CheckboxModal.d.ts +2 -2
- package/dist/types-ts4.5/ui/Divider.d.ts +2 -2
- package/dist/types-ts4.5/ui/EditorEmojiAddIcon.d.ts +2 -2
- package/dist/types-ts4.5/ui/ExpandButton.d.ts +2 -2
- package/dist/types-ts4.5/ui/ExtensionsPlaceholder.d.ts +2 -2
- package/dist/types-ts4.5/ui/Select.d.ts +2 -2
- package/dist/types-ts4.5/ui/SimpleModal.d.ts +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
27
|
+
"@atlaskit/button": "^20.5.0",
|
|
28
28
|
"@atlaskit/checkbox": "^15.3.0",
|
|
29
|
-
"@atlaskit/editor-common": "^99.
|
|
29
|
+
"@atlaskit/editor-common": "^99.9.0",
|
|
30
30
|
"@atlaskit/editor-palette": "1.7.0",
|
|
31
|
-
"@atlaskit/editor-plugin-block-controls": "^2.
|
|
32
|
-
"@atlaskit/editor-plugin-context-panel": "^
|
|
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.
|
|
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.
|
|
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.
|
|
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",
|