@atlaskit/editor-plugin-block-type 12.0.0 → 12.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 +6 -0
- package/dist/cjs/pm-plugins/ui/ToolbarBlockType/blocktype-button.js +1 -1
- package/dist/cjs/pm-plugins/ui/ToolbarBlockType/index.js +3 -2
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/blocktype-button.js +1 -1
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/index.js +4 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/blocktype-button.js +1 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/index.js +3 -2
- package/dist/types/pm-plugins/ui/ToolbarBlockType/index.d.ts +3 -3
- package/dist/types-ts4.5/pm-plugins/ui/ToolbarBlockType/index.d.ts +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -22,7 +22,7 @@ var _styled = require("./styled");
|
|
|
22
22
|
* @jsx jsx
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
26
26
|
|
|
27
27
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
28
28
|
|
|
@@ -299,5 +299,6 @@ var ToolbarBlockType = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
299
299
|
);
|
|
300
300
|
}
|
|
301
301
|
}]);
|
|
302
|
-
}(_react.default.PureComponent);
|
|
303
|
-
var
|
|
302
|
+
}(_react.default.PureComponent); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
303
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(ToolbarBlockType);
|
|
304
|
+
var _default = exports.default = _default_1;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
10
|
import { toolbarMessages } from '@atlaskit/editor-common/messages';
|
|
@@ -270,4 +270,7 @@ class ToolbarBlockType extends React.PureComponent {
|
|
|
270
270
|
);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
|
-
|
|
273
|
+
|
|
274
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
275
|
+
const _default_1 = injectIntl(ToolbarBlockType);
|
|
276
|
+
export default _default_1;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
10
|
import { toolbarMessages } from '@atlaskit/editor-common/messages';
|
|
@@ -295,5 +295,6 @@ var ToolbarBlockType = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
295
295
|
);
|
|
296
296
|
}
|
|
297
297
|
}]);
|
|
298
|
-
}(React.PureComponent);
|
|
299
|
-
|
|
298
|
+
}(React.PureComponent); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
299
|
+
var _default_1 = injectIntl(ToolbarBlockType);
|
|
300
|
+
export default _default_1;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
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';
|
|
@@ -39,7 +39,7 @@ export interface State {
|
|
|
39
39
|
observer: ThemeMutationObserver | null;
|
|
40
40
|
typographyTheme?: ThemeState['typography'];
|
|
41
41
|
}
|
|
42
|
-
declare const
|
|
42
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
43
43
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
44
44
|
};
|
|
45
|
-
export default
|
|
45
|
+
export default _default_1;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
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';
|
|
@@ -39,7 +39,7 @@ export interface State {
|
|
|
39
39
|
observer: ThemeMutationObserver | null;
|
|
40
40
|
typographyTheme?: ThemeState['typography'];
|
|
41
41
|
}
|
|
42
|
-
declare const
|
|
42
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
43
43
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
44
44
|
};
|
|
45
|
-
export default
|
|
45
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
51
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
52
52
|
"@atlaskit/theme": "^22.0.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^36.0.0",
|
|
54
54
|
"@atlaskit/tokens": "^11.1.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@compiled/react": "^0.20.0",
|