@atlaskit/editor-plugin-breakout 7.1.0 → 8.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/LayoutButton.js +2 -1
- package/dist/es2019/ui/LayoutButton.js +2 -1
- package/dist/esm/ui/LayoutButton.js +2 -1
- package/dist/types/pm-plugins/get-guidelines.d.ts +2 -1
- package/dist/types/ui/LayoutButton.d.ts +9 -4
- package/dist/types-ts4.5/pm-plugins/get-guidelines.d.ts +2 -1
- package/dist/types-ts4.5/ui/LayoutButton.d.ts +9 -4
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -180,4 +180,5 @@ var LayoutButton = function LayoutButton(_ref) {
|
|
|
180
180
|
})));
|
|
181
181
|
};
|
|
182
182
|
LayoutButton.displayName = 'LayoutButton';
|
|
183
|
-
var
|
|
183
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(LayoutButton);
|
|
184
|
+
var _default = exports.default = _default_1;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
2
|
import type { GuidelineConfig } from '@atlaskit/editor-common/guideline';
|
|
2
3
|
import type { EditorContainerWidth } from '@atlaskit/editor-common/types';
|
|
3
4
|
import { type NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -11,4 +12,4 @@ export declare const GUIDELINE_KEYS: {
|
|
|
11
12
|
readonly maxWidthLeft: "max_width_left";
|
|
12
13
|
readonly maxWidthRight: "max_width_right";
|
|
13
14
|
};
|
|
14
|
-
export declare const getGuidelines:
|
|
15
|
+
export declare const getGuidelines: MemoizedFn<(isResizing: boolean, newWidth: number, getEditorWidth: () => EditorContainerWidth | undefined, nodeType?: NodeType | undefined) => GuidelineConfig[]>;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { type ComponentType, type FC } from 'react';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
2
7
|
import type { BreakoutMode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
9
|
import type { BreakoutPlugin } from '../breakoutPluginType';
|
|
@@ -13,7 +18,7 @@ export interface Props {
|
|
|
13
18
|
mountPoint?: HTMLElement;
|
|
14
19
|
scrollableElement?: HTMLElement;
|
|
15
20
|
}
|
|
16
|
-
declare const
|
|
17
|
-
WrappedComponent:
|
|
21
|
+
declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
22
|
+
WrappedComponent: ComponentType<Props & WrappedComponentProps>;
|
|
18
23
|
};
|
|
19
|
-
export default
|
|
24
|
+
export default _default_1;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
2
|
import type { GuidelineConfig } from '@atlaskit/editor-common/guideline';
|
|
2
3
|
import type { EditorContainerWidth } from '@atlaskit/editor-common/types';
|
|
3
4
|
import { type NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -11,4 +12,4 @@ export declare const GUIDELINE_KEYS: {
|
|
|
11
12
|
readonly maxWidthLeft: "max_width_left";
|
|
12
13
|
readonly maxWidthRight: "max_width_right";
|
|
13
14
|
};
|
|
14
|
-
export declare const getGuidelines:
|
|
15
|
+
export declare const getGuidelines: MemoizedFn<(isResizing: boolean, newWidth: number, getEditorWidth: () => EditorContainerWidth | undefined, nodeType?: NodeType | undefined) => GuidelineConfig[]>;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { type ComponentType, type FC } from 'react';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
2
7
|
import type { BreakoutMode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
9
|
import type { BreakoutPlugin } from '../breakoutPluginType';
|
|
@@ -13,7 +18,7 @@ export interface Props {
|
|
|
13
18
|
mountPoint?: HTMLElement;
|
|
14
19
|
scrollableElement?: HTMLElement;
|
|
15
20
|
}
|
|
16
|
-
declare const
|
|
17
|
-
WrappedComponent:
|
|
21
|
+
declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
22
|
+
WrappedComponent: ComponentType<Props & WrappedComponentProps>;
|
|
18
23
|
};
|
|
19
|
-
export default
|
|
24
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-breakout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Breakout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/adf-schema": "^52.2.0",
|
|
33
|
-
"@atlaskit/editor-plugin-block-controls": "^
|
|
34
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
35
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
36
|
-
"@atlaskit/editor-plugin-guideline": "^
|
|
37
|
-
"@atlaskit/editor-plugin-interaction": "^
|
|
38
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
39
|
-
"@atlaskit/editor-plugin-width": "^
|
|
33
|
+
"@atlaskit/editor-plugin-block-controls": "^9.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-editor-disabled": "^8.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^10.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-guideline": "^8.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-interaction": "^15.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-user-intent": "^6.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-width": "^9.0.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
42
42
|
"@atlaskit/icon": "^32.0.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
45
45
|
"@atlaskit/theme": "^22.0.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^36.0.0",
|
|
47
47
|
"@atlaskit/tokens": "^11.1.0",
|
|
48
48
|
"@atlaskit/tooltip": "^20.14.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"uuid": "^3.1.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^
|
|
56
|
+
"@atlaskit/editor-common": "^112.0.0",
|
|
57
57
|
"react": "^18.2.0",
|
|
58
58
|
"react-dom": "^18.2.0",
|
|
59
59
|
"react-intl-next": "npm:react-intl@^5.18.1"
|