@atlaskit/editor-plugin-breakout 0.1.3 → 0.2.0
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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-breakout
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790) [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) - Support maybeAdd plugins in usePreset. Add typing support for universal preset.
|
|
8
|
+
|
|
9
|
+
Now when using the editor API with the universal preset
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 0.1.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
|
|
3
3
|
import type { BreakoutPluginState } from './types';
|
|
4
|
-
interface BreakoutPluginOptions {
|
|
4
|
+
export interface BreakoutPluginOptions {
|
|
5
5
|
allowBreakoutButton?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export type BreakoutPlugin = NextEditorPlugin<'breakout', {
|
|
@@ -10,4 +10,3 @@ export type BreakoutPlugin = NextEditorPlugin<'breakout', {
|
|
|
10
10
|
sharedState: Partial<BreakoutPluginState>;
|
|
11
11
|
}>;
|
|
12
12
|
export declare const breakoutPlugin: BreakoutPlugin;
|
|
13
|
-
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
|
|
3
3
|
import type { BreakoutPluginState } from './types';
|
|
4
|
-
interface BreakoutPluginOptions {
|
|
4
|
+
export interface BreakoutPluginOptions {
|
|
5
5
|
allowBreakoutButton?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export type BreakoutPlugin = NextEditorPlugin<'breakout', {
|
|
@@ -12,4 +12,3 @@ export type BreakoutPlugin = NextEditorPlugin<'breakout', {
|
|
|
12
12
|
sharedState: Partial<BreakoutPluginState>;
|
|
13
13
|
}>;
|
|
14
14
|
export declare const breakoutPlugin: BreakoutPlugin;
|
|
15
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-breakout",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Breakout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^35.3.0",
|
|
35
|
-
"@atlaskit/editor-common": "^77.
|
|
35
|
+
"@atlaskit/editor-common": "^77.1.0",
|
|
36
36
|
"@atlaskit/editor-plugin-width": "^0.2.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
39
39
|
"@atlaskit/icon": "^22.0.0",
|
|
40
40
|
"@atlaskit/theme": "^12.6.0",
|
|
41
|
-
"@atlaskit/tokens": "^1.
|
|
41
|
+
"@atlaskit/tokens": "^1.35.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1"
|
|
44
44
|
},
|