@atlaskit/editor-plugin-grid 3.0.1 → 3.1.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/editor-plugin-grid
2
2
 
3
+ ## 3.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
8
+ Sorted type and interface props to improve Atlaskit docs
9
+ - Updated dependencies
10
+
11
+ ## 3.1.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#189314](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/189314)
16
+ [`22c6251496010`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22c6251496010) -
17
+ Exported missing types that were already being inferred from existing exports
18
+
3
19
  ## 3.0.1
4
20
 
5
21
  ### Patch Changes
@@ -8,8 +8,8 @@ export type GridPluginActions = {
8
8
  displayGrid: CreateDisplayGrid;
9
9
  };
10
10
  export type GridPlugin = NextEditorPlugin<'grid', {
11
- pluginConfiguration: GridPluginConfiguration;
11
+ actions: GridPluginActions;
12
12
  dependencies: GridPluginDependencies;
13
+ pluginConfiguration: GridPluginConfiguration;
13
14
  sharedState: GridPluginSharedState;
14
- actions: GridPluginActions;
15
15
  }>;
@@ -1,3 +1,3 @@
1
1
  export { gridPlugin } from './gridPlugin';
2
- export type { GridPlugin } from './gridPluginType';
2
+ export type { GridPlugin, GridPluginDependencies, GridPluginSharedState, GridPluginActions, GridPluginConfiguration, } from './gridPluginType';
3
3
  export type { CreateDisplayGrid, Highlights, GridPluginOptions, GridPluginState } from './types';
@@ -2,9 +2,9 @@ import type { GridType } from '@atlaskit/editor-common/types';
2
2
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
3
  export type Highlights = Array<'wide' | 'full-width' | number>;
4
4
  export type GridPluginState = {
5
- visible: boolean;
6
5
  gridType?: GridType;
7
6
  highlight: Highlights;
7
+ visible: boolean;
8
8
  };
9
9
  type Required<T> = {
10
10
  [P in keyof T]-?: T[P];
@@ -10,8 +10,8 @@ export type GridPluginActions = {
10
10
  displayGrid: CreateDisplayGrid;
11
11
  };
12
12
  export type GridPlugin = NextEditorPlugin<'grid', {
13
- pluginConfiguration: GridPluginConfiguration;
13
+ actions: GridPluginActions;
14
14
  dependencies: GridPluginDependencies;
15
+ pluginConfiguration: GridPluginConfiguration;
15
16
  sharedState: GridPluginSharedState;
16
- actions: GridPluginActions;
17
17
  }>;
@@ -1,3 +1,3 @@
1
1
  export { gridPlugin } from './gridPlugin';
2
- export type { GridPlugin } from './gridPluginType';
2
+ export type { GridPlugin, GridPluginDependencies, GridPluginSharedState, GridPluginActions, GridPluginConfiguration, } from './gridPluginType';
3
3
  export type { CreateDisplayGrid, Highlights, GridPluginOptions, GridPluginState } from './types';
@@ -2,9 +2,9 @@ import type { GridType } from '@atlaskit/editor-common/types';
2
2
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
3
  export type Highlights = Array<'wide' | 'full-width' | number>;
4
4
  export type GridPluginState = {
5
- visible: boolean;
6
5
  gridType?: GridType;
7
6
  highlight: Highlights;
7
+ visible: boolean;
8
8
  };
9
9
  type Required<T> = {
10
10
  [P in keyof T]-?: T[P];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "3.0.1",
3
+ "version": "3.1.1",
4
4
  "description": "Grid plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -26,19 +26,18 @@
26
26
  "dependencies": {
27
27
  "@atlaskit/editor-plugin-width": "^4.0.0",
28
28
  "@atlaskit/editor-prosemirror": "7.0.0",
29
- "@atlaskit/editor-shared-styles": "^3.4.0",
29
+ "@atlaskit/editor-shared-styles": "^3.6.0",
30
30
  "@babel/runtime": "^7.0.0",
31
31
  "@emotion/react": "^11.7.1",
32
32
  "classnames": "^2.2.5"
33
33
  },
34
34
  "peerDependencies": {
35
- "@atlaskit/editor-common": "^107.7.0",
35
+ "@atlaskit/editor-common": "^107.28.0",
36
36
  "react": "^18.2.0",
37
37
  "react-dom": "^18.2.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/react": "^13.4.0",
41
- "typescript": "~5.4.2",
42
41
  "wait-for-expect": "^1.2.0"
43
42
  },
44
43
  "techstack": {