@atlaskit/editor-plugin-toolbar-lists-indentation 9.0.0 → 9.0.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 +6 -0
- package/dist/types/ui/toolbar-components/BulletedListMenuItem.d.ts +1 -1
- package/dist/types/ui/utils/hooks.d.ts +2 -1
- package/dist/types-ts4.5/ui/toolbar-components/BulletedListMenuItem.d.ts +1 -1
- package/dist/types-ts4.5/ui/utils/hooks.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,7 @@ type BulletedListType = {
|
|
|
6
6
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
7
7
|
parents: ToolbarComponentTypes;
|
|
8
8
|
};
|
|
9
|
-
export declare const useBulletedListInfo: ({ api, parents }: BulletedListType) => {
|
|
9
|
+
export declare const useBulletedListInfo: ({ api, parents, }: BulletedListType) => {
|
|
10
10
|
bulletMessage: string;
|
|
11
11
|
onClick: () => void;
|
|
12
12
|
isDisabled: boolean | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { EditorState } from 'prosemirror-state';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
+
import { type IndentationButtons } from '../../pm-plugins/indentation-buttons';
|
|
3
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
4
5
|
type UseIndentationStateProps = {
|
|
5
6
|
allowHeadingAndParagraphIndentation: boolean;
|
|
6
7
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
7
8
|
state?: EditorState;
|
|
8
9
|
};
|
|
9
|
-
export declare const useIndentationState: ({ api, allowHeadingAndParagraphIndentation, state, }: UseIndentationStateProps) =>
|
|
10
|
+
export declare const useIndentationState: ({ api, allowHeadingAndParagraphIndentation, state, }: UseIndentationStateProps) => IndentationButtons | undefined;
|
|
10
11
|
export {};
|
|
@@ -6,7 +6,7 @@ type BulletedListType = {
|
|
|
6
6
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
7
7
|
parents: ToolbarComponentTypes;
|
|
8
8
|
};
|
|
9
|
-
export declare const useBulletedListInfo: ({ api, parents }: BulletedListType) => {
|
|
9
|
+
export declare const useBulletedListInfo: ({ api, parents, }: BulletedListType) => {
|
|
10
10
|
bulletMessage: string;
|
|
11
11
|
onClick: () => void;
|
|
12
12
|
isDisabled: boolean | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { EditorState } from 'prosemirror-state';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
+
import { type IndentationButtons } from '../../pm-plugins/indentation-buttons';
|
|
3
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
4
5
|
type UseIndentationStateProps = {
|
|
5
6
|
allowHeadingAndParagraphIndentation: boolean;
|
|
6
7
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
7
8
|
state?: EditorState;
|
|
8
9
|
};
|
|
9
|
-
export declare const useIndentationState: ({ api, allowHeadingAndParagraphIndentation, state, }: UseIndentationStateProps) =>
|
|
10
|
+
export declare const useIndentationState: ({ api, allowHeadingAndParagraphIndentation, state, }: UseIndentationStateProps) => IndentationButtons | undefined;
|
|
10
11
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
45
45
|
"@atlaskit/icon": "^32.0.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^36.0.0",
|
|
48
48
|
"@atlaskit/tokens": "^11.1.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0"
|
|
50
50
|
},
|