@atlaskit/editor-plugin-alignment 8.0.28 → 9.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 +12 -0
- package/dist/cjs/ui/Alignment/index.js +2 -1
- package/dist/cjs/ui/ToolbarAlignment/index.js +3 -2
- package/dist/es2019/ui/Alignment/index.js +2 -1
- package/dist/es2019/ui/ToolbarAlignment/index.js +4 -1
- package/dist/esm/ui/Alignment/index.js +2 -1
- package/dist/esm/ui/ToolbarAlignment/index.js +3 -2
- package/dist/types/ui/Alignment/index.d.ts +9 -4
- package/dist/types/ui/ToolbarAlignment/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/Alignment/index.d.ts +9 -4
- package/dist/types-ts4.5/ui/ToolbarAlignment/index.d.ts +3 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -234,6 +234,7 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
}]);
|
|
237
|
-
}(_react.default.Component);
|
|
237
|
+
}(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
238
238
|
(0, _defineProperty2.default)(AlignmentToolbar, "displayName", 'AlignmentToolbar');
|
|
239
|
-
var
|
|
239
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(AlignmentToolbar);
|
|
240
|
+
var _default = exports.default = _default_1;
|
|
@@ -204,5 +204,8 @@ class AlignmentToolbar extends React.Component {
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
+
|
|
208
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
207
209
|
_defineProperty(AlignmentToolbar, "displayName", 'AlignmentToolbar');
|
|
208
|
-
|
|
210
|
+
const _default_1 = injectIntl(AlignmentToolbar);
|
|
211
|
+
export default _default_1;
|
|
@@ -227,6 +227,7 @@ var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}]);
|
|
230
|
-
}(React.Component);
|
|
230
|
+
}(React.Component); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
231
231
|
_defineProperty(AlignmentToolbar, "displayName", 'AlignmentToolbar');
|
|
232
|
-
|
|
232
|
+
var _default_1 = injectIntl(AlignmentToolbar);
|
|
233
|
+
export default _default_1;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import type { FC, ComponentType } from 'react';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
2
7
|
import type { AlignmentState } from '../../pm-plugins/types';
|
|
3
8
|
export interface Props {
|
|
4
9
|
className?: string;
|
|
5
10
|
onClick: (value: AlignmentState) => void;
|
|
6
11
|
selectedAlignment?: string;
|
|
7
12
|
}
|
|
8
|
-
declare const
|
|
9
|
-
WrappedComponent:
|
|
13
|
+
declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
14
|
+
WrappedComponent: ComponentType<Props & WrappedComponentProps>;
|
|
10
15
|
};
|
|
11
|
-
export default
|
|
16
|
+
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 { AlignmentPlugin } from '../../alignmentPluginType';
|
|
9
9
|
import { ToolbarType, type AlignmentState } from '../../pm-plugins/types';
|
|
@@ -18,7 +18,7 @@ export interface Props {
|
|
|
18
18
|
popupsScrollableElement?: HTMLElement;
|
|
19
19
|
toolbarType: ToolbarType;
|
|
20
20
|
}
|
|
21
|
-
declare const
|
|
21
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
22
22
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
23
23
|
};
|
|
24
|
-
export default
|
|
24
|
+
export default _default_1;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import type { FC, ComponentType } from 'react';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
2
7
|
import type { AlignmentState } from '../../pm-plugins/types';
|
|
3
8
|
export interface Props {
|
|
4
9
|
className?: string;
|
|
5
10
|
onClick: (value: AlignmentState) => void;
|
|
6
11
|
selectedAlignment?: string;
|
|
7
12
|
}
|
|
8
|
-
declare const
|
|
9
|
-
WrappedComponent:
|
|
13
|
+
declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
14
|
+
WrappedComponent: ComponentType<Props & WrappedComponentProps>;
|
|
10
15
|
};
|
|
11
|
-
export default
|
|
16
|
+
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 { AlignmentPlugin } from '../../alignmentPluginType';
|
|
9
9
|
import { ToolbarType, type AlignmentState } from '../../pm-plugins/types';
|
|
@@ -18,7 +18,7 @@ export interface Props {
|
|
|
18
18
|
popupsScrollableElement?: HTMLElement;
|
|
19
19
|
toolbarType: ToolbarType;
|
|
20
20
|
}
|
|
21
|
-
declare const
|
|
21
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
22
22
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
23
23
|
};
|
|
24
|
-
export default
|
|
24
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-alignment",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Alignment plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,22 +28,22 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@atlaskit/adf-schema": "^52.2.0",
|
|
30
30
|
"@atlaskit/css": "^0.19.0",
|
|
31
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
32
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
33
|
-
"@atlaskit/editor-plugin-selection-toolbar": "^
|
|
34
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
31
|
+
"@atlaskit/editor-plugin-analytics": "^8.0.0",
|
|
32
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^9.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-selection-toolbar": "^9.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-toolbar": "^5.0.0",
|
|
35
35
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
36
36
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
37
37
|
"@atlaskit/editor-toolbar": "^0.19.0",
|
|
38
38
|
"@atlaskit/icon": "^32.0.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
-
"@atlaskit/tokens": "^11.
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^36.0.0",
|
|
41
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@compiled/react": "^0.20.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@atlaskit/editor-common": "^
|
|
46
|
+
"@atlaskit/editor-common": "^112.0.0",
|
|
47
47
|
"react": "^18.2.0",
|
|
48
48
|
"react-dom": "^18.2.0",
|
|
49
49
|
"react-intl-next": "npm:react-intl@^5.18.1"
|