@atlaskit/editor-plugin-layout 7.0.29 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-layout
2
2
 
3
+ ## 8.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 7.0.29
4
16
 
5
17
  ### Patch Changes
@@ -8,6 +8,8 @@ var _selection = require("@atlaskit/editor-common/selection");
8
8
  var _state = require("@atlaskit/editor-prosemirror/state");
9
9
  var _utils = require("@atlaskit/editor-prosemirror/utils");
10
10
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
11
+ // eslint-disable-next-line @typescript-eslint/consistent-type-imports
12
+
11
13
  var getMaybeLayoutSection = exports.getMaybeLayoutSection = function getMaybeLayoutSection(state) {
12
14
  var _state$schema$nodes = state.schema.nodes,
13
15
  layoutSection = _state$schema$nodes.layoutSection,
@@ -16,7 +16,7 @@ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
16
16
  * @jsx jsx
17
17
  */
18
18
 
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
20
20
 
21
21
  var PLACEHOLDER_SELECTOR = '.ProseMirror-focused .layoutSectionView-content-wrap.selected [data-layout-column] > [data-layout-content] > p:only-child:has(.ProseMirror-trailingBreak:only-child)';
22
22
  var getPlaceholderStyle = function getPlaceholderStyle(message) {
@@ -13,7 +13,7 @@ var _layoutFourColumns = _interopRequireDefault(require("@atlaskit/icon-lab/core
13
13
  * @jsx jsx
14
14
  */
15
15
 
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
17
17
 
18
18
  var wrapperStyle = (0, _react.css)({
19
19
  padding: '0 4px'
@@ -1,4 +1,5 @@
1
1
  import { GapCursorSelection } from '@atlaskit/editor-common/selection';
2
+ // eslint-disable-next-line @typescript-eslint/consistent-type-imports
2
3
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
3
4
  import { findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
4
5
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { useMemo } from 'react';
6
6
 
7
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
8
8
  import { css, Global, jsx } from '@emotion/react';
9
9
  import { useIntl } from 'react-intl-next';
10
10
  import { layoutMessages as messages } from '@atlaskit/editor-common/messages';
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
 
6
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import LayoutFiveColumnsIcon from '@atlaskit/icon-lab/core/layout-five-columns';
9
9
  import LayoutFourColumnsIcon from '@atlaskit/icon-lab/core/layout-four-columns';
@@ -1,4 +1,5 @@
1
1
  import { GapCursorSelection } from '@atlaskit/editor-common/selection';
2
+ // eslint-disable-next-line @typescript-eslint/consistent-type-imports
2
3
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
3
4
  import { findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
4
5
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
@@ -5,7 +5,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
5
5
  */
6
6
  import { useMemo } from 'react';
7
7
 
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
9
9
  import { css, Global, jsx } from '@emotion/react';
10
10
  import { useIntl } from 'react-intl-next';
11
11
  import { layoutMessages as messages } from '@atlaskit/editor-common/messages';
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
 
6
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import LayoutFiveColumnsIcon from '@atlaskit/icon-lab/core/layout-five-columns';
9
9
  import LayoutFourColumnsIcon from '@atlaskit/icon-lab/core/layout-four-columns';
@@ -5,6 +5,6 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
6
6
  import { type LayoutPlugin } from '../layoutPluginType';
7
7
  import type { LayoutPluginOptions } from '../types';
8
- export declare const pluginKey: PluginKey<any>;
8
+ export declare const pluginKey: PluginKey;
9
9
  declare const _default: (options: LayoutPluginOptions, pluginInjectionApi: ExtractInjectionAPI<LayoutPlugin>, portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher) => SafePlugin<undefined>;
10
10
  export default _default;
@@ -1,4 +1,4 @@
1
- import { type EditorState } from '@atlaskit/editor-prosemirror/state';
1
+ import { type EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
2
2
  import { type ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
3
3
  import { type EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  export declare const getMaybeLayoutSection: (state: EditorState) => ContentNodeWithPos | undefined;
@@ -9,4 +9,4 @@ export declare const getMaybeLayoutSection: (state: EditorState) => ContentNodeW
9
9
  * @param childIndex the index of the child node in the layout section
10
10
  * @returns Transaction or undefined
11
11
  */
12
- export declare const selectIntoLayout: (view: EditorView, posOfLayout: number, childIndex?: number) => import("prosemirror-state").Transaction | undefined;
12
+ export declare const selectIntoLayout: (view: EditorView, posOfLayout: number, childIndex?: number) => Transaction | undefined;
@@ -5,6 +5,6 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
6
6
  import { type LayoutPlugin } from '../layoutPluginType';
7
7
  import type { LayoutPluginOptions } from '../types';
8
- export declare const pluginKey: PluginKey<any>;
8
+ export declare const pluginKey: PluginKey;
9
9
  declare const _default: (options: LayoutPluginOptions, pluginInjectionApi: ExtractInjectionAPI<LayoutPlugin>, portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher) => SafePlugin<undefined>;
10
10
  export default _default;
@@ -1,4 +1,4 @@
1
- import { type EditorState } from '@atlaskit/editor-prosemirror/state';
1
+ import { type EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
2
2
  import { type ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
3
3
  import { type EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  export declare const getMaybeLayoutSection: (state: EditorState) => ContentNodeWithPos | undefined;
@@ -9,4 +9,4 @@ export declare const getMaybeLayoutSection: (state: EditorState) => ContentNodeW
9
9
  * @param childIndex the index of the child node in the layout section
10
10
  * @returns Transaction or undefined
11
11
  */
12
- export declare const selectIntoLayout: (view: EditorView, posOfLayout: number, childIndex?: number) => import("prosemirror-state").Transaction | undefined;
12
+ export declare const selectIntoLayout: (view: EditorView, posOfLayout: number, childIndex?: number) => Transaction | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-layout",
3
- "version": "7.0.29",
3
+ "version": "8.0.1",
4
4
  "description": "Layout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,28 +31,28 @@
31
31
  "dependencies": {
32
32
  "@atlaskit/adf-schema": "^52.2.0",
33
33
  "@atlaskit/css": "^0.19.0",
34
- "@atlaskit/editor-plugin-analytics": "^7.0.0",
35
- "@atlaskit/editor-plugin-block-menu": "^6.1.0",
36
- "@atlaskit/editor-plugin-decorations": "^7.0.0",
37
- "@atlaskit/editor-plugin-editor-disabled": "^7.0.0",
38
- "@atlaskit/editor-plugin-guideline": "^7.0.0",
39
- "@atlaskit/editor-plugin-interaction": "^14.0.0",
40
- "@atlaskit/editor-plugin-selection": "^7.0.0",
41
- "@atlaskit/editor-plugin-toolbar": "^4.1.0",
42
- "@atlaskit/editor-plugin-width": "^8.1.0",
34
+ "@atlaskit/editor-plugin-analytics": "^8.0.0",
35
+ "@atlaskit/editor-plugin-block-menu": "^7.0.0",
36
+ "@atlaskit/editor-plugin-decorations": "^8.0.0",
37
+ "@atlaskit/editor-plugin-editor-disabled": "^8.0.0",
38
+ "@atlaskit/editor-plugin-guideline": "^8.0.0",
39
+ "@atlaskit/editor-plugin-interaction": "^15.0.0",
40
+ "@atlaskit/editor-plugin-selection": "^8.0.0",
41
+ "@atlaskit/editor-plugin-toolbar": "^5.0.0",
42
+ "@atlaskit/editor-plugin-width": "^9.0.0",
43
43
  "@atlaskit/editor-prosemirror": "^7.3.0",
44
44
  "@atlaskit/editor-shared-styles": "^3.10.0",
45
45
  "@atlaskit/editor-toolbar": "^0.19.0",
46
46
  "@atlaskit/icon": "^32.0.0",
47
47
  "@atlaskit/icon-lab": "^5.17.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
- "@atlaskit/tmp-editor-statsig": "^35.0.0",
50
- "@atlaskit/tokens": "^11.0.0",
49
+ "@atlaskit/tmp-editor-statsig": "^36.0.0",
50
+ "@atlaskit/tokens": "^11.1.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1"
53
53
  },
54
54
  "peerDependencies": {
55
- "@atlaskit/editor-common": "^111.30.0",
55
+ "@atlaskit/editor-common": "^112.0.0",
56
56
  "react": "^18.2.0",
57
57
  "react-intl-next": "npm:react-intl@^5.18.1"
58
58
  },