@atlaskit/editor-plugin-block-type 12.1.13 → 12.1.14
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 +8 -0
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/blocktype-button.js +0 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/blocktype-button.js +0 -1
- package/dist/types/blockTypePlugin.d.ts +1 -1
- package/dist/types/pm-plugins/commands/clear-formatting.d.ts +1 -1
- package/dist/types/pm-plugins/commands/wrapSelectionIn.d.ts +1 -1
- package/dist/types/pm-plugins/ui/ToolbarBlockType/blocktype-button.d.ts +2 -1
- package/dist/types/pm-plugins/ui/ToolbarBlockType/index.d.ts +2 -1
- package/dist/types-ts4.5/blockTypePlugin.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/commands/clear-formatting.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/commands/wrapSelectionIn.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/ui/ToolbarBlockType/blocktype-button.d.ts +2 -1
- package/dist/types-ts4.5/pm-plugins/ui/ToolbarBlockType/index.d.ts +2 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 12.1.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`88a7ee0806123`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/88a7ee0806123) -
|
|
8
|
+
Mechanical type-import autofix for block, layout, and control packages.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 12.1.13
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Node, NodeType, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import {
|
|
3
|
+
import type { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
4
4
|
export declare const FORMATTING_NODE_TYPES: string[];
|
|
5
5
|
export declare const FORMATTING_MARK_TYPES: string[];
|
|
6
6
|
export declare const formatTypes: Record<string, string>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
export declare function wrapSelectionInBlockType(nodeType: NodeType): EditorCommand;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import React
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { ReactElement } from 'react';
|
|
6
7
|
import { jsx } from '@emotion/react';
|
|
7
8
|
import type { MessageDescriptor, WrappedComponentProps } from 'react-intl-next';
|
|
8
9
|
export interface BlockTypeButtonProps {
|
|
@@ -7,7 +7,8 @@ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
|
7
7
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
9
9
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
|
-
import { ThemeMutationObserver
|
|
10
|
+
import { ThemeMutationObserver } from '@atlaskit/tokens';
|
|
11
|
+
import type { ThemeState } from '@atlaskit/tokens';
|
|
11
12
|
import type { BlockTypePlugin } from '../../../blockTypePluginType';
|
|
12
13
|
import type { TextBlockTypes } from '../../block-types';
|
|
13
14
|
import type { BlockType } from '../../types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Node, NodeType, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import {
|
|
3
|
+
import type { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
4
4
|
export declare const FORMATTING_NODE_TYPES: string[];
|
|
5
5
|
export declare const FORMATTING_MARK_TYPES: string[];
|
|
6
6
|
export declare const formatTypes: Record<string, string>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
export declare function wrapSelectionInBlockType(nodeType: NodeType): EditorCommand;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import React
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { ReactElement } from 'react';
|
|
6
7
|
import { jsx } from '@emotion/react';
|
|
7
8
|
import type { MessageDescriptor, WrappedComponentProps } from 'react-intl-next';
|
|
8
9
|
export interface BlockTypeButtonProps {
|
|
@@ -7,7 +7,8 @@ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
|
7
7
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
9
9
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
|
-
import { ThemeMutationObserver
|
|
10
|
+
import { ThemeMutationObserver } from '@atlaskit/tokens';
|
|
11
|
+
import type { ThemeState } from '@atlaskit/tokens';
|
|
11
12
|
import type { BlockTypePlugin } from '../../../blockTypePluginType';
|
|
12
13
|
import type { TextBlockTypes } from '../../block-types';
|
|
13
14
|
import type { BlockType } from '../../types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.14",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@atlaskit/editor-plugin-list": "^10.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-primary-toolbar": "^9.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-selection": "^8.0.0",
|
|
39
|
-
"@atlaskit/editor-plugin-selection-toolbar": "^9.
|
|
39
|
+
"@atlaskit/editor-plugin-selection-toolbar": "^9.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-toolbar": "^5.1.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
"@atlaskit/primitives": "^18.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
51
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^48.0.0",
|
|
53
53
|
"@atlaskit/tokens": "^11.3.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^0.20.0",
|
|
56
56
|
"@emotion/react": "^11.7.1"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^112.
|
|
59
|
+
"@atlaskit/editor-common": "^112.11.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|