@atlaskit/editor-plugin-breakout 8.0.17 → 8.0.18
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 +8 -0
- package/dist/es2019/ui/LayoutButton.js +0 -1
- package/dist/esm/ui/LayoutButton.js +0 -1
- package/dist/types/pm-plugins/get-guidelines.d.ts +2 -2
- package/dist/types/pm-plugins/pragmatic-resizer.d.ts +1 -1
- package/dist/types/pm-plugins/resizer-callbacks.d.ts +2 -2
- package/dist/types/pm-plugins/resizing-mark-view.d.ts +1 -1
- package/dist/types/pm-plugins/resizing-plugin.d.ts +2 -2
- package/dist/types/pm-plugins/utils/analytics.d.ts +1 -1
- package/dist/types/ui/GuidelineLabel.d.ts +1 -1
- package/dist/types/ui/LayoutButton.d.ts +1 -5
- package/dist/types-ts4.5/pm-plugins/get-guidelines.d.ts +2 -2
- package/dist/types-ts4.5/pm-plugins/pragmatic-resizer.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/resizer-callbacks.d.ts +2 -2
- package/dist/types-ts4.5/pm-plugins/resizing-mark-view.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/resizing-plugin.d.ts +2 -2
- package/dist/types-ts4.5/pm-plugins/utils/analytics.d.ts +1 -1
- package/dist/types-ts4.5/ui/GuidelineLabel.d.ts +1 -1
- package/dist/types-ts4.5/ui/LayoutButton.d.ts +1 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-breakout
|
|
2
2
|
|
|
3
|
+
## 8.0.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`88a7ee0806123`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/88a7ee0806123) -
|
|
8
|
+
Mechanical type-import autofix for block, layout, and control packages.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 8.0.17
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -4,7 +4,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
6
6
|
import { useCallback } from 'react';
|
|
7
|
-
|
|
8
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
8
|
import { css, jsx } from '@emotion/react';
|
|
10
9
|
import { injectIntl } from 'react-intl-next';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { MemoizedFn } from 'memoize-one';
|
|
2
2
|
import type { GuidelineConfig } from '@atlaskit/editor-common/guideline';
|
|
3
3
|
import type { EditorContainerWidth } from '@atlaskit/editor-common/types';
|
|
4
|
-
import {
|
|
4
|
+
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
export declare const GUIDELINE_KEYS: {
|
|
6
6
|
readonly lineLengthLeft: "grid_left";
|
|
7
7
|
readonly lineLengthRight: "grid_right";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape, MessageDescriptor } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import type { BaseEventPayload, ElementDragType } from '@atlaskit/pragmatic-drag-and-drop/types';
|
|
4
4
|
export declare const resizeHandleMessage: Record<string, MessageDescriptor>;
|
|
5
5
|
export declare const createPragmaticResizer: ({ target, onDragStart, onDrag, onDrop, intl, nodeViewPortalProviderAPI, }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { ElementDragPayload } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
|
|
5
5
|
import type { BaseEventPayload, DragLocationHistory, ElementDragType } from '@atlaskit/pragmatic-drag-and-drop/types';
|
|
6
6
|
import type { BreakoutPlugin } from '../breakoutPluginType';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
4
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
5
5
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
6
6
|
import type { BreakoutPlugin, BreakoutPluginOptions, BreakoutPluginState } from '../breakoutPluginType';
|
|
7
|
-
import {
|
|
7
|
+
import type { GUIDELINE_KEYS } from './get-guidelines';
|
|
8
8
|
export declare const resizingPluginKey: PluginKey<BreakoutPluginState>;
|
|
9
9
|
export type ActiveGuidelineKey = Exclude<(typeof GUIDELINE_KEYS)[keyof typeof GUIDELINE_KEYS], 'grid_left' | 'grid_right'>;
|
|
10
10
|
export declare const createResizingPlugin: (api: ExtractInjectionAPI<BreakoutPlugin> | undefined, getIntl: () => IntlShape, nodeViewPortalProviderAPI: PortalProviderAPI, options?: BreakoutPluginOptions) => SafePlugin<BreakoutPluginState | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BreakoutEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import {
|
|
2
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
export declare const generateResizeFrameRatePayloads: (props: {
|
|
4
4
|
docSize: number;
|
|
5
5
|
frameRateSamples: number[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { BreakoutPlugin } from '../breakoutPluginType';
|
|
5
5
|
type GuidelineLabelProps = {
|
|
6
6
|
api: ExtractInjectionAPI<BreakoutPlugin> | undefined;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ComponentType, type FC } from 'react';
|
|
1
|
+
import type { ComponentType, FC } from 'react';
|
|
6
2
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
7
3
|
import type { BreakoutMode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { MemoizedFn } from 'memoize-one';
|
|
2
2
|
import type { GuidelineConfig } from '@atlaskit/editor-common/guideline';
|
|
3
3
|
import type { EditorContainerWidth } from '@atlaskit/editor-common/types';
|
|
4
|
-
import {
|
|
4
|
+
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
export declare const GUIDELINE_KEYS: {
|
|
6
6
|
readonly lineLengthLeft: "grid_left";
|
|
7
7
|
readonly lineLengthRight: "grid_right";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape, MessageDescriptor } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import type { BaseEventPayload, ElementDragType } from '@atlaskit/pragmatic-drag-and-drop/types';
|
|
4
4
|
export declare const resizeHandleMessage: Record<string, MessageDescriptor>;
|
|
5
5
|
export declare const createPragmaticResizer: ({ target, onDragStart, onDrag, onDrop, intl, nodeViewPortalProviderAPI, }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { ElementDragPayload } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
|
|
5
5
|
import type { BaseEventPayload, DragLocationHistory, ElementDragType } from '@atlaskit/pragmatic-drag-and-drop/types';
|
|
6
6
|
import type { BreakoutPlugin } from '../breakoutPluginType';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
4
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
5
5
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
6
6
|
import type { BreakoutPlugin, BreakoutPluginOptions, BreakoutPluginState } from '../breakoutPluginType';
|
|
7
|
-
import {
|
|
7
|
+
import type { GUIDELINE_KEYS } from './get-guidelines';
|
|
8
8
|
export declare const resizingPluginKey: PluginKey<BreakoutPluginState>;
|
|
9
9
|
export type ActiveGuidelineKey = Exclude<(typeof GUIDELINE_KEYS)[keyof typeof GUIDELINE_KEYS], 'grid_left' | 'grid_right'>;
|
|
10
10
|
export declare const createResizingPlugin: (api: ExtractInjectionAPI<BreakoutPlugin> | undefined, getIntl: () => IntlShape, nodeViewPortalProviderAPI: PortalProviderAPI, options?: BreakoutPluginOptions) => SafePlugin<BreakoutPluginState | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BreakoutEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import {
|
|
2
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
export declare const generateResizeFrameRatePayloads: (props: {
|
|
4
4
|
docSize: number;
|
|
5
5
|
frameRateSamples: number[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { BreakoutPlugin } from '../breakoutPluginType';
|
|
5
5
|
type GuidelineLabelProps = {
|
|
6
6
|
api: ExtractInjectionAPI<BreakoutPlugin> | undefined;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ComponentType, type FC } from 'react';
|
|
1
|
+
import type { ComponentType, FC } from 'react';
|
|
6
2
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
7
3
|
import type { BreakoutMode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-breakout",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.18",
|
|
4
4
|
"description": "Breakout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
45
45
|
"@atlaskit/theme": "^22.0.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^48.0.0",
|
|
47
47
|
"@atlaskit/tokens": "^11.3.0",
|
|
48
48
|
"@atlaskit/tooltip": "^21.0.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"uuid": "^3.1.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^112.
|
|
56
|
+
"@atlaskit/editor-common": "^112.11.0",
|
|
57
57
|
"react": "^18.2.0",
|
|
58
58
|
"react-dom": "^18.2.0",
|
|
59
59
|
"react-intl-next": "npm:react-intl@^5.18.1"
|