@atlaskit/editor-plugin-block-type 10.3.5 → 11.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 +14 -0
- package/dist/types/pm-plugins/ui/ToolbarBlockType/index.d.ts +2 -2
- package/dist/types/pm-plugins/ui/ToolbarBlockType/styled.d.ts +2 -1
- package/dist/types-ts4.5/pm-plugins/ui/ToolbarBlockType/index.d.ts +2 -2
- package/dist/types-ts4.5/pm-plugins/ui/ToolbarBlockType/styled.d.ts +2 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 11.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1051a075c959d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1051a075c959d) -
|
|
8
|
+
Internal changes to typography theme types.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 11.0.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 10.3.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -7,7 +7,7 @@ import type { 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 } from '@atlaskit/tokens';
|
|
10
|
+
import { ThemeMutationObserver, type ThemeState } from '@atlaskit/tokens';
|
|
11
11
|
import type { BlockTypePlugin } from '../../../blockTypePluginType';
|
|
12
12
|
import type { TextBlockTypes } from '../../block-types';
|
|
13
13
|
import type { BlockType } from '../../types';
|
|
@@ -37,7 +37,7 @@ export interface State {
|
|
|
37
37
|
active: boolean;
|
|
38
38
|
isOpenedByKeyboard: boolean;
|
|
39
39
|
observer: ThemeMutationObserver | null;
|
|
40
|
-
typographyTheme: 'typography'
|
|
40
|
+
typographyTheme: ThemeState['typography'];
|
|
41
41
|
}
|
|
42
42
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
43
43
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type SerializedStyles } from '@emotion/react';
|
|
6
|
-
|
|
6
|
+
import { type ThemeState } from '@atlaskit/tokens';
|
|
7
|
+
export declare const blockTypeMenuItemStyle: (tagName: string, selected?: boolean, typographyTheme?: ThemeState["typography"]) => () => SerializedStyles;
|
|
7
8
|
export declare const keyboardShortcut: SerializedStyles;
|
|
8
9
|
export declare const keyboardShortcutSelect: SerializedStyles;
|
|
9
10
|
export declare const wrapperSmallStyle: SerializedStyles;
|
|
@@ -7,7 +7,7 @@ import type { 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 } from '@atlaskit/tokens';
|
|
10
|
+
import { ThemeMutationObserver, type ThemeState } from '@atlaskit/tokens';
|
|
11
11
|
import type { BlockTypePlugin } from '../../../blockTypePluginType';
|
|
12
12
|
import type { TextBlockTypes } from '../../block-types';
|
|
13
13
|
import type { BlockType } from '../../types';
|
|
@@ -37,7 +37,7 @@ export interface State {
|
|
|
37
37
|
active: boolean;
|
|
38
38
|
isOpenedByKeyboard: boolean;
|
|
39
39
|
observer: ThemeMutationObserver | null;
|
|
40
|
-
typographyTheme: 'typography'
|
|
40
|
+
typographyTheme: ThemeState['typography'];
|
|
41
41
|
}
|
|
42
42
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
43
43
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type SerializedStyles } from '@emotion/react';
|
|
6
|
-
|
|
6
|
+
import { type ThemeState } from '@atlaskit/tokens';
|
|
7
|
+
export declare const blockTypeMenuItemStyle: (tagName: string, selected?: boolean, typographyTheme?: ThemeState["typography"]) => () => SerializedStyles;
|
|
7
8
|
export declare const keyboardShortcut: SerializedStyles;
|
|
8
9
|
export declare const keyboardShortcutSelect: SerializedStyles;
|
|
9
10
|
export declare const wrapperSmallStyle: SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.1",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,33 +31,33 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/adf-schema": "^51.5.0",
|
|
33
33
|
"@atlaskit/css": "^0.19.0",
|
|
34
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
35
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
36
|
-
"@atlaskit/editor-plugin-list": "^
|
|
37
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
38
|
-
"@atlaskit/editor-plugin-selection": "^
|
|
39
|
-
"@atlaskit/editor-plugin-selection-toolbar": "^
|
|
40
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
34
|
+
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-block-menu": "^6.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-list": "^9.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^8.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-selection": "^7.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-selection-toolbar": "^8.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-toolbar": "^4.0.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
44
44
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
46
|
-
"@atlaskit/icon": "^29.
|
|
47
|
-
"@atlaskit/icon-lab": "^5.
|
|
46
|
+
"@atlaskit/icon": "^29.4.0",
|
|
47
|
+
"@atlaskit/icon-lab": "^5.14.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
50
50
|
"@atlaskit/primitives": "^17.0.0",
|
|
51
51
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
52
52
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
53
53
|
"@atlaskit/theme": "^21.0.0",
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
55
|
-
"@atlaskit/tokens": "^9.
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^16.10.0",
|
|
55
|
+
"@atlaskit/tokens": "^9.1.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
57
57
|
"@emotion/react": "^11.7.1"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@atlaskit/editor-common": "^
|
|
60
|
+
"@atlaskit/editor-common": "^111.6.0",
|
|
61
61
|
"react": "^18.2.0",
|
|
62
62
|
"react-dom": "^18.2.0",
|
|
63
63
|
"react-intl-next": "npm:react-intl@^5.18.1"
|