@atlaskit/editor-plugin-toolbar-lists-indentation 27.0.4 → 27.0.5
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/cjs/pm-plugins/indentation-buttons.js +2 -2
- package/dist/cjs/toolbarListsIndentationPlugin.js +2 -2
- package/dist/cjs/ui/FloatingToolbarComponent.js +2 -2
- package/dist/cjs/ui/Toolbar.js +23 -20
- package/dist/cjs/ui/ToolbarDropdown.js +22 -16
- package/dist/cjs/ui/index.js +2 -2
- package/dist/cjs/ui/toolbar-components/BulletedListButton.js +6 -4
- package/dist/cjs/ui/toolbar-components/BulletedListButtonGroup.js +17 -14
- package/dist/cjs/ui/toolbar-components/BulletedListMenuItem.js +10 -8
- package/dist/cjs/ui/toolbar-components/IndentMenuItem.js +10 -7
- package/dist/cjs/ui/toolbar-components/ListsIndentationGroupForInlineToolbar.js +7 -6
- package/dist/cjs/ui/toolbar-components/ListsIndentationGroupForPrimaryToolbar.js +22 -19
- package/dist/cjs/ui/toolbar-components/ListsIndentationHeroButton.js +20 -16
- package/dist/cjs/ui/toolbar-components/ListsIndentationHeroButtonGroup.js +15 -14
- package/dist/cjs/ui/toolbar-components/ListsIndentationMenu.js +16 -14
- package/dist/cjs/ui/toolbar-components/ListsIndentationMenuGroup.js +41 -40
- package/dist/cjs/ui/toolbar-components/MenuSection.js +4 -4
- package/dist/cjs/ui/toolbar-components/NumberedListMenuItem.js +10 -8
- package/dist/cjs/ui/toolbar-components/OutdentMenuItem.js +10 -7
- package/dist/cjs/ui/toolbar-components/TaskListMenuItem.js +10 -9
- package/dist/cjs/ui/utils/hooks.js +3 -3
- package/dist/cjs/ui/utils/input-method.js +2 -2
- package/dist/es2019/pm-plugins/indentation-buttons.js +1 -1
- package/dist/es2019/toolbarListsIndentationPlugin.js +1 -1
- package/dist/es2019/ui/FloatingToolbarComponent.js +1 -1
- package/dist/es2019/ui/Toolbar.js +6 -3
- package/dist/es2019/ui/ToolbarDropdown.js +9 -3
- package/dist/es2019/ui/index.js +1 -1
- package/dist/es2019/ui/toolbar-components/BulletedListButton.js +3 -1
- package/dist/es2019/ui/toolbar-components/BulletedListButtonGroup.js +5 -2
- package/dist/es2019/ui/toolbar-components/BulletedListMenuItem.js +5 -3
- package/dist/es2019/ui/toolbar-components/IndentMenuItem.js +6 -3
- package/dist/es2019/ui/toolbar-components/ListsIndentationGroupForInlineToolbar.js +2 -1
- package/dist/es2019/ui/toolbar-components/ListsIndentationGroupForPrimaryToolbar.js +5 -2
- package/dist/es2019/ui/toolbar-components/ListsIndentationHeroButton.js +7 -3
- package/dist/es2019/ui/toolbar-components/ListsIndentationHeroButtonGroup.js +2 -1
- package/dist/es2019/ui/toolbar-components/ListsIndentationMenu.js +6 -4
- package/dist/es2019/ui/toolbar-components/ListsIndentationMenuGroup.js +2 -1
- package/dist/es2019/ui/toolbar-components/MenuSection.js +2 -2
- package/dist/es2019/ui/toolbar-components/NumberedListMenuItem.js +5 -3
- package/dist/es2019/ui/toolbar-components/OutdentMenuItem.js +6 -3
- package/dist/es2019/ui/toolbar-components/TaskListMenuItem.js +5 -4
- package/dist/es2019/ui/utils/hooks.js +1 -1
- package/dist/es2019/ui/utils/input-method.js +1 -1
- package/dist/esm/pm-plugins/indentation-buttons.js +1 -1
- package/dist/esm/toolbarListsIndentationPlugin.js +1 -1
- package/dist/esm/ui/FloatingToolbarComponent.js +1 -1
- package/dist/esm/ui/Toolbar.js +6 -3
- package/dist/esm/ui/ToolbarDropdown.js +9 -3
- package/dist/esm/ui/index.js +1 -1
- package/dist/esm/ui/toolbar-components/BulletedListButton.js +3 -1
- package/dist/esm/ui/toolbar-components/BulletedListButtonGroup.js +5 -2
- package/dist/esm/ui/toolbar-components/BulletedListMenuItem.js +5 -3
- package/dist/esm/ui/toolbar-components/IndentMenuItem.js +6 -3
- package/dist/esm/ui/toolbar-components/ListsIndentationGroupForInlineToolbar.js +2 -1
- package/dist/esm/ui/toolbar-components/ListsIndentationGroupForPrimaryToolbar.js +5 -2
- package/dist/esm/ui/toolbar-components/ListsIndentationHeroButton.js +7 -3
- package/dist/esm/ui/toolbar-components/ListsIndentationHeroButtonGroup.js +2 -1
- package/dist/esm/ui/toolbar-components/ListsIndentationMenu.js +6 -4
- package/dist/esm/ui/toolbar-components/ListsIndentationMenuGroup.js +2 -1
- package/dist/esm/ui/toolbar-components/MenuSection.js +2 -2
- package/dist/esm/ui/toolbar-components/NumberedListMenuItem.js +5 -3
- package/dist/esm/ui/toolbar-components/OutdentMenuItem.js +6 -3
- package/dist/esm/ui/toolbar-components/TaskListMenuItem.js +5 -4
- package/dist/esm/ui/utils/hooks.js +1 -1
- package/dist/esm/ui/utils/input-method.js +1 -1
- package/dist/types/toolbarListsIndentationPlugin.d.ts +3 -1
- package/dist/types/toolbarListsIndentationPluginType.d.ts +11 -11
- package/dist/types/types/index.d.ts +3 -2
- package/dist/types/ui/FloatingToolbarComponent.d.ts +2 -1
- package/dist/types/ui/index.d.ts +2 -1
- package/dist/types/ui/onItemActivated.d.ts +2 -2
- package/dist/types/ui/toolbar-components/BulletedListButton.d.ts +2 -2
- package/dist/types/ui/toolbar-components/BulletedListButtonGroup.d.ts +2 -2
- package/dist/types/ui/toolbar-components/BulletedListMenuItem.d.ts +2 -2
- package/dist/types/ui/toolbar-components/IndentMenuItem.d.ts +2 -2
- package/dist/types/ui/toolbar-components/ListsIndentationGroupForInlineToolbar.d.ts +1 -1
- package/dist/types/ui/toolbar-components/ListsIndentationGroupForPrimaryToolbar.d.ts +1 -1
- package/dist/types/ui/toolbar-components/ListsIndentationHeroButton.d.ts +2 -2
- package/dist/types/ui/toolbar-components/ListsIndentationHeroButtonGroup.d.ts +2 -2
- package/dist/types/ui/toolbar-components/ListsIndentationMenu.d.ts +1 -1
- package/dist/types/ui/toolbar-components/ListsIndentationMenuGroup.d.ts +2 -2
- package/dist/types/ui/toolbar-components/MenuSection.d.ts +1 -1
- package/dist/types/ui/toolbar-components/NumberedListMenuItem.d.ts +2 -2
- package/dist/types/ui/toolbar-components/OutdentMenuItem.d.ts +2 -2
- package/dist/types/ui/toolbar-components/TaskListMenuItem.d.ts +2 -2
- package/dist/types/ui/toolbar-components.d.ts +2 -2
- package/dist/types/ui/utils/hooks.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
|
+
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model/types';
|
|
4
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
5
5
|
type BulletedListType = {
|
|
6
6
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
|
|
1
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
2
|
+
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model/types';
|
|
3
3
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
4
4
|
export declare const getBulletedListButtonGroup: (api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>) => RegisterComponent[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
|
+
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model/types';
|
|
4
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
5
5
|
type BulletedListType = {
|
|
6
6
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
|
+
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model/types';
|
|
4
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
5
5
|
type IndentMenuItemType = {
|
|
6
6
|
allowHeadingAndParagraphIndentation: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
|
|
1
|
+
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model/types';
|
|
2
2
|
export declare const getListsIndentationGroupForInlineToolbar: () => RegisterComponent[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
|
|
1
|
+
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model/types';
|
|
2
2
|
export declare const getListsIndentationGroupForPrimaryToolbar: () => RegisterComponent[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
|
+
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model/types';
|
|
4
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
5
5
|
type ListsIndentationHeroButtonProps = {
|
|
6
6
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
|
|
1
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
2
|
+
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model/types';
|
|
3
3
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
4
4
|
export declare const getListsIndentationHeroButton: (api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>) => RegisterComponent[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
3
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
4
4
|
type ListsIndentationMenuProps = {
|
|
5
5
|
allowHeadingAndParagraphIndentation: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
|
|
1
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
2
|
+
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model/types';
|
|
3
3
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
4
4
|
export declare const getListsIndentationMenu: (allowHeadingAndParagraphIndentation: boolean, showIndentationButtons: boolean, api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>) => RegisterComponent[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { CommonComponentProps } from '@atlaskit/editor-toolbar-model';
|
|
2
|
+
import type { CommonComponentProps } from '@atlaskit/editor-toolbar-model/types';
|
|
3
3
|
export declare const MenuSection: ({ children, title, parents, }: {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
parents: CommonComponentProps['parents'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
|
+
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model/types';
|
|
4
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
5
5
|
type NumberedListMenuItemType = {
|
|
6
6
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
|
+
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model/types';
|
|
4
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
5
5
|
type OutdentMenuItemType = {
|
|
6
6
|
allowHeadingAndParagraphIndentation: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
|
+
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model/types';
|
|
4
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
5
5
|
type TaskListMenuItemProps = {
|
|
6
6
|
api?: ExtractInjectionAPI<ToolbarListsIndentationPlugin>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
|
|
1
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
2
|
+
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model/types';
|
|
3
3
|
import type { ToolbarListsIndentationPlugin } from '../toolbarListsIndentationPluginType';
|
|
4
4
|
type GetToolbarComponentsProps = {
|
|
5
5
|
allowHeadingAndParagraphIndentation: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EditorState } from 'prosemirror-state';
|
|
2
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
3
|
import { type IndentationButtons } from '../../pm-plugins/indentation-buttons';
|
|
4
4
|
import type { ToolbarListsIndentationPlugin } from '../../toolbarListsIndentationPluginType';
|
|
5
5
|
type UseIndentationStateProps = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
|
|
3
|
-
"version": "27.0.
|
|
3
|
+
"version": "27.0.5",
|
|
4
4
|
"description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/icon": "^38.0.0",
|
|
39
39
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^232.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^20.4.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0"
|
|
44
44
|
},
|