@atlaskit/editor-plugin-grid 0.2.1 → 0.3.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-grid
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#40763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40763) [`7ff70f99909`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ff70f99909) - Decouple media from editor-core and expose GridPluginState from grid plugin.
8
+
9
+ ## 0.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 0.2.1
4
16
 
5
17
  ### Patch Changes
@@ -10,7 +22,7 @@
10
22
 
11
23
  ### Minor Changes
12
24
 
13
- - [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating all plugins with minor version to correct issue with semver.
25
+ - [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325) [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating all plugins with minor version to correct issue with semver.
14
26
 
15
27
  ### Patch Changes
16
28
 
@@ -20,7 +32,7 @@
20
32
 
21
33
  ### Patch Changes
22
34
 
23
- - [`8467bdcdf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8467bdcdf4f) - Removing `dependencies` prop from PluginInjectionAPI and changing
35
+ - [#39010](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39010) [`8467bdcdf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8467bdcdf4f) - Removing `dependencies` prop from PluginInjectionAPI and changing
24
36
  signature of `NextEditorPlugin`.
25
37
 
26
38
  Previously a `NextEditorPlugin` would be consumed as so:
@@ -50,7 +62,7 @@
50
62
 
51
63
  ### Patch Changes
52
64
 
53
- - [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
65
+ - [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177) [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
54
66
 
55
67
  ## 0.1.5
56
68
 
@@ -62,24 +74,24 @@
62
74
 
63
75
  ### Patch Changes
64
76
 
65
- - [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
77
+ - [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785) [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
66
78
 
67
79
  ## 0.1.3
68
80
 
69
81
  ### Patch Changes
70
82
 
71
- - [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
83
+ - [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241) [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
72
84
 
73
85
  ## 0.1.2
74
86
 
75
87
  ### Patch Changes
76
88
 
77
- - [`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) - [ED-17082] Mark package as a singleton one
89
+ - [#35782](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35782) [`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) - [ED-17082] Mark package as a singleton one
78
90
  - Updated dependencies
79
91
 
80
92
  ## 0.1.1
81
93
 
82
94
  ### Patch Changes
83
95
 
84
- - [`7cd4abcdc0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7cd4abcdc0d) - Fix workaround in `editor-plugin-width`. This involved removing `WidthEmitter` in `editor-core`, removing `containerWidth` from `WidthPluginState`. This change also introduces `usePluginHook` for an `EditorPlugin` - this enables a react hook to be mounted for plugins (in all appearances).
96
+ - [#34938](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34938) [`7cd4abcdc0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7cd4abcdc0d) - Fix workaround in `editor-plugin-width`. This involved removing `WidthEmitter` in `editor-core`, removing `containerWidth` from `WidthPluginState`. This change also introduces `usePluginHook` for an `EditorPlugin` - this enables a react hook to be mounted for plugins (in all appearances).
85
97
  - Updated dependencies
@@ -1,3 +1,3 @@
1
1
  export { gridPlugin } from './plugin';
2
- export type { GridPlugin } from './plugin';
3
- export type { Highlights } from './types';
2
+ export type { GridPlugin, GridPluginOptions } from './plugin';
3
+ export type { Highlights, GridPluginState } from './types';
@@ -1,3 +1,3 @@
1
1
  export { gridPlugin } from './plugin';
2
- export type { GridPlugin } from './plugin';
3
- export type { Highlights } from './types';
2
+ export type { GridPlugin, GridPluginOptions } from './plugin';
3
+ export type { Highlights, GridPluginState } from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Grid plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,10 +23,10 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^75.0.0",
26
+ "@atlaskit/editor-common": "^76.1.0",
27
27
  "@atlaskit/editor-plugin-width": "^0.2.0",
28
28
  "@atlaskit/editor-prosemirror": "1.1.0",
29
- "@atlaskit/editor-shared-styles": "^2.6.0",
29
+ "@atlaskit/editor-shared-styles": "^2.8.0",
30
30
  "@babel/runtime": "^7.0.0",
31
31
  "@emotion/react": "^11.7.1",
32
32
  "classnames": "^2.2.5"
package/report.api.md CHANGED
@@ -43,13 +43,13 @@ export type GridPlugin = NextEditorPlugin<
43
43
  export const gridPlugin: GridPlugin;
44
44
 
45
45
  // @public (undocumented)
46
- interface GridPluginOptions {
46
+ export interface GridPluginOptions {
47
47
  // (undocumented)
48
48
  shouldCalcBreakoutGridLines?: boolean;
49
49
  }
50
50
 
51
51
  // @public (undocumented)
52
- type GridPluginState = {
52
+ export type GridPluginState = {
53
53
  visible: boolean;
54
54
  gridType?: GridType;
55
55
  highlight: Highlights;
@@ -29,13 +29,13 @@ export type GridPlugin = NextEditorPlugin<'grid', {
29
29
  export const gridPlugin: GridPlugin;
30
30
 
31
31
  // @public (undocumented)
32
- interface GridPluginOptions {
32
+ export interface GridPluginOptions {
33
33
  // (undocumented)
34
34
  shouldCalcBreakoutGridLines?: boolean;
35
35
  }
36
36
 
37
37
  // @public (undocumented)
38
- type GridPluginState = {
38
+ export type GridPluginState = {
39
39
  visible: boolean;
40
40
  gridType?: GridType;
41
41
  highlight: Highlights;