@atlaskit/editor-plugin-block-type 3.0.29 → 3.0.31
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 +12 -0
- package/consts/package.json +1 -1
- package/dist/types/plugin/ui/ToolbarBlockType/blocktype-button.d.ts +2 -1
- package/dist/types/plugin/ui/ToolbarBlockType/index.d.ts +2 -2
- package/dist/types-ts4.5/plugin/ui/ToolbarBlockType/blocktype-button.d.ts +2 -1
- package/dist/types-ts4.5/plugin/ui/ToolbarBlockType/index.d.ts +2 -2
- package/package.json +7 -9
- package/styles/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 3.0.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
|
+
|
|
9
|
+
## 3.0.30
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#80883](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80883) [`5ecfa883d4ba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ecfa883d4ba) - React 18 types for alignment, annotation, avatar-group and blocktype plugins.
|
|
14
|
+
|
|
3
15
|
## 3.0.29
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/consts/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
3
4
|
import type { MessageDescriptor, WrappedComponentProps } from 'react-intl-next';
|
|
4
5
|
export interface BlockTypeButtonProps {
|
|
5
6
|
isSmall?: boolean;
|
|
@@ -12,4 +13,4 @@ export interface BlockTypeButtonProps {
|
|
|
12
13
|
onKeyDown(e: React.KeyboardEvent): void;
|
|
13
14
|
formatMessage: WrappedComponentProps['intl']['formatMessage'];
|
|
14
15
|
}
|
|
15
|
-
export declare const BlockTypeButton:
|
|
16
|
+
export declare const BlockTypeButton: (props: BlockTypeButtonProps) => jsx.JSX.Element;
|
|
@@ -24,7 +24,7 @@ export interface State {
|
|
|
24
24
|
active: boolean;
|
|
25
25
|
isOpenedByKeyboard: boolean;
|
|
26
26
|
}
|
|
27
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
28
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
27
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
28
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
29
29
|
};
|
|
30
30
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
3
4
|
import type { MessageDescriptor, WrappedComponentProps } from 'react-intl-next';
|
|
4
5
|
export interface BlockTypeButtonProps {
|
|
5
6
|
isSmall?: boolean;
|
|
@@ -12,4 +13,4 @@ export interface BlockTypeButtonProps {
|
|
|
12
13
|
onKeyDown(e: React.KeyboardEvent): void;
|
|
13
14
|
formatMessage: WrappedComponentProps['intl']['formatMessage'];
|
|
14
15
|
}
|
|
15
|
-
export declare const BlockTypeButton:
|
|
16
|
+
export declare const BlockTypeButton: (props: BlockTypeButtonProps) => jsx.JSX.Element;
|
|
@@ -24,7 +24,7 @@ export interface State {
|
|
|
24
24
|
active: boolean;
|
|
25
25
|
isOpenedByKeyboard: boolean;
|
|
26
26
|
}
|
|
27
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
28
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
27
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
28
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
29
29
|
};
|
|
30
30
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.31",
|
|
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
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@atlaskit/adf-schema": "^35.6.0",
|
|
39
|
-
"@atlaskit/editor-common": "^78.
|
|
39
|
+
"@atlaskit/editor-common": "^78.17.0",
|
|
40
40
|
"@atlaskit/editor-plugin-analytics": "^1.0.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
46
46
|
"@atlaskit/prosemirror-input-rules": "^3.0.0",
|
|
47
47
|
"@atlaskit/theme": "^12.6.0",
|
|
48
|
-
"@atlaskit/tokens": "^1.
|
|
48
|
+
"@atlaskit/tokens": "^1.42.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1"
|
|
51
51
|
},
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@testing-library/react": "^12.1.5",
|
|
66
66
|
"@testing-library/user-event": "^14.4.3",
|
|
67
67
|
"react-dom": "^16.8.0",
|
|
68
|
-
"typescript": "~4.
|
|
68
|
+
"typescript": "~5.4.2",
|
|
69
69
|
"wait-for-expect": "^1.2.0"
|
|
70
70
|
},
|
|
71
71
|
"techstack": {
|
|
@@ -91,11 +91,9 @@
|
|
|
91
91
|
"ui-components": [
|
|
92
92
|
"lite-mode"
|
|
93
93
|
],
|
|
94
|
-
"deprecation":
|
|
95
|
-
"no-deprecated-imports"
|
|
96
|
-
],
|
|
94
|
+
"deprecation": "no-deprecated-imports",
|
|
97
95
|
"styling": [
|
|
98
|
-
"
|
|
96
|
+
"emotion",
|
|
99
97
|
"emotion"
|
|
100
98
|
],
|
|
101
99
|
"imports": [
|
|
@@ -109,4 +107,4 @@
|
|
|
109
107
|
"type": "boolean"
|
|
110
108
|
}
|
|
111
109
|
}
|
|
112
|
-
}
|
|
110
|
+
}
|