@atlaskit/editor-plugin-grid 0.2.2 → 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,11 @@
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
+
3
9
  ## 0.2.2
4
10
 
5
11
  ### Patch Changes
@@ -16,7 +22,7 @@
16
22
 
17
23
  ### Minor Changes
18
24
 
19
- - [`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.
20
26
 
21
27
  ### Patch Changes
22
28
 
@@ -26,7 +32,7 @@
26
32
 
27
33
  ### Patch Changes
28
34
 
29
- - [`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
30
36
  signature of `NextEditorPlugin`.
31
37
 
32
38
  Previously a `NextEditorPlugin` would be consumed as so:
@@ -56,7 +62,7 @@
56
62
 
57
63
  ### Patch Changes
58
64
 
59
- - [`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.
60
66
 
61
67
  ## 0.1.5
62
68
 
@@ -68,24 +74,24 @@
68
74
 
69
75
  ### Patch Changes
70
76
 
71
- - [`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
72
78
 
73
79
  ## 0.1.3
74
80
 
75
81
  ### Patch Changes
76
82
 
77
- - [`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
78
84
 
79
85
  ## 0.1.2
80
86
 
81
87
  ### Patch Changes
82
88
 
83
- - [`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
84
90
  - Updated dependencies
85
91
 
86
92
  ## 0.1.1
87
93
 
88
94
  ### Patch Changes
89
95
 
90
- - [`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).
91
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.2",
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,7 +23,7 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^76.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
29
  "@atlaskit/editor-shared-styles": "^2.8.0",
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;