@atlaskit/editor-plugin-text-formatting 12.0.33 → 12.0.34
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,4 +1,4 @@
|
|
|
1
1
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
declare const _default: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => SafePlugin;
|
|
4
3
|
export default _default;
|
|
4
|
+
declare function _default(editorAnalyticsAPI: EditorAnalyticsAPI | undefined): SafePlugin;
|
|
@@ -4,12 +4,12 @@ import type { CommonComponentProps } from '@atlaskit/editor-toolbar-model';
|
|
|
4
4
|
import type { FormatComponentProps } from './utils';
|
|
5
5
|
export declare const FormatMenuItem: ({ parents, api, optionType, toggleMarkWithAnalyticsCallback, icon, shortcut, title, }: FormatComponentProps) => React.JSX.Element | null;
|
|
6
6
|
export declare const FormatButton: ({ parents, api, optionType, toggleMarkWithAnalyticsCallback, icon, shortcut, title, }: FormatComponentProps) => React.JSX.Element;
|
|
7
|
-
export declare const ClearFormatMenuItem: ({ api, parents, }: Pick<FormatComponentProps,
|
|
7
|
+
export declare const ClearFormatMenuItem: ({ api, parents, }: Pick<FormatComponentProps, 'api' | 'parents'>) => React.JSX.Element | null;
|
|
8
8
|
export declare const MoreFormattingMenu: ({ children }: {
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export declare const MenuSection: ({ children, title, parents, }: {
|
|
12
12
|
children?: ReactNode;
|
|
13
|
-
parents: CommonComponentProps[
|
|
13
|
+
parents: CommonComponentProps['parents'];
|
|
14
14
|
title?: string;
|
|
15
15
|
}) => React.JSX.Element;
|
|
@@ -16,7 +16,7 @@ export type FormatComponentProps = {
|
|
|
16
16
|
title: MessageDescriptor;
|
|
17
17
|
toggleMarkWithAnalyticsCallback: ToggleMarkWithAnalyticsEditorCommand | ClearFormattingWithAnalyticsEditorCommand;
|
|
18
18
|
};
|
|
19
|
-
export declare const useComponentInfo: ({ api, optionType, title, shortcut, toggleMarkWithAnalyticsCallback, parents, }: Omit<FormatComponentProps,
|
|
19
|
+
export declare const useComponentInfo: ({ api, optionType, title, shortcut, toggleMarkWithAnalyticsCallback, parents, }: Omit<FormatComponentProps, 'icon' | 'ariaLabel' | 'groupLocation'>) => {
|
|
20
20
|
ariaLabel: string;
|
|
21
21
|
formatTitle: string;
|
|
22
22
|
isActive: boolean;
|
|
@@ -17,5 +17,5 @@ type DropdownButtonProps = {
|
|
|
17
17
|
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
18
18
|
toolbarType: ToolbarType;
|
|
19
19
|
};
|
|
20
|
-
export declare const DropdownToolbarButton: ({ label, isReducedSpacing, isDisabled, isSelected,
|
|
20
|
+
export declare const DropdownToolbarButton: ({ label, isReducedSpacing, isDisabled, isSelected, 'aria-expanded': ariaExpanded, onClick, onKeyDown, toolbarType, iconBefore, activeIconName, }: DropdownButtonProps) => jsx.JSX.Element;
|
|
21
21
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-formatting",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.34",
|
|
4
4
|
"description": "Text-formatting plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"@atlaskit/icon": "^37.2.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
40
40
|
"@atlaskit/prosemirror-input-rules": "^4.0.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^135.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^16.3.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^116.
|
|
47
|
+
"@atlaskit/editor-common": "^116.41.0",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
50
50
|
},
|