@atlaskit/editor-plugin-insert-block 8.3.0 → 8.3.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,5 @@
|
|
|
1
1
|
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
2
2
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { InsertBlockPlugin } from './insertBlockPluginType';
|
|
4
|
-
export declare const toolbarSizeToButtons: (toolbarSize: ToolbarSize, appearance?: EditorAppearance) => 0 |
|
|
4
|
+
export declare const toolbarSizeToButtons: (toolbarSize: ToolbarSize, appearance?: EditorAppearance) => 0 | 3 | 2 | 5 | 7;
|
|
5
5
|
export declare const insertBlockPlugin: InsertBlockPlugin;
|
|
@@ -9,7 +9,7 @@ import type { Props, State } from './types';
|
|
|
9
9
|
export declare const tableButtonWrapper: ({ isTableSelectorOpen, isButtonDisabled, }: {
|
|
10
10
|
isButtonDisabled: boolean | undefined;
|
|
11
11
|
isTableSelectorOpen: boolean;
|
|
12
|
-
}) => import("@emotion/
|
|
12
|
+
}) => import("@emotion/utils").SerializedStyles;
|
|
13
13
|
export declare class ToolbarInsertBlock extends React.PureComponent<Props & WrappedComponentProps, State> {
|
|
14
14
|
private dropdownButtonRef?;
|
|
15
15
|
private emojiButtonRef?;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
2
2
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { InsertBlockPlugin } from './insertBlockPluginType';
|
|
4
|
-
export declare const toolbarSizeToButtons: (toolbarSize: ToolbarSize, appearance?: EditorAppearance) => 0 |
|
|
4
|
+
export declare const toolbarSizeToButtons: (toolbarSize: ToolbarSize, appearance?: EditorAppearance) => 0 | 3 | 2 | 5 | 7;
|
|
5
5
|
export declare const insertBlockPlugin: InsertBlockPlugin;
|
|
@@ -9,7 +9,7 @@ import type { Props, State } from './types';
|
|
|
9
9
|
export declare const tableButtonWrapper: ({ isTableSelectorOpen, isButtonDisabled, }: {
|
|
10
10
|
isButtonDisabled: boolean | undefined;
|
|
11
11
|
isTableSelectorOpen: boolean;
|
|
12
|
-
}) => import("@emotion/
|
|
12
|
+
}) => import("@emotion/utils").SerializedStyles;
|
|
13
13
|
export declare class ToolbarInsertBlock extends React.PureComponent<Props & WrappedComponentProps, State> {
|
|
14
14
|
private dropdownButtonRef?;
|
|
15
15
|
private emojiButtonRef?;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.2",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/icon-lab": "^5.15.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/theme": "^21.0.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^20.0.0",
|
|
68
68
|
"@atlaskit/tokens": "^11.0.0",
|
|
69
69
|
"@babel/runtime": "^7.0.0",
|
|
70
70
|
"@emotion/react": "^11.7.1",
|