@atlaskit/editor-core 198.6.6 → 198.6.8
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 +19 -0
- package/dist/cjs/composable-editor/hooks/useProviders.js +3 -6
- package/dist/cjs/composable-editor/utils/handleProviders.js +1 -9
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/hooks/useProviders.js +3 -6
- package/dist/es2019/composable-editor/utils/handleProviders.js +0 -9
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/hooks/useProviders.js +3 -6
- package/dist/esm/composable-editor/utils/handleProviders.js +1 -10
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/utils/handleProviders.d.ts +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +11 -11
- package/dist/types/presets/default.d.ts +10 -10
- package/dist/types/presets/universal.d.ts +11 -11
- package/dist/types/presets/useUniversalPreset.d.ts +11 -11
- package/dist/types-ts4.5/composable-editor/utils/handleProviders.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +11 -11
- package/dist/types-ts4.5/presets/default.d.ts +10 -10
- package/dist/types-ts4.5/presets/universal.d.ts +11 -11
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +11 -11
- package/package.json +7 -7
|
@@ -345,12 +345,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
345
345
|
];
|
|
346
346
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
347
347
|
commands: {
|
|
348
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
348
349
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
349
350
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
350
351
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
351
352
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
352
353
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
353
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
354
354
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
355
355
|
};
|
|
356
356
|
}, undefined>>,
|
|
@@ -766,12 +766,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
766
766
|
];
|
|
767
767
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
768
768
|
commands: {
|
|
769
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
769
770
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
770
771
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
771
772
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
772
773
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
773
774
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
774
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
775
775
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
776
776
|
};
|
|
777
777
|
}, undefined>>,
|
|
@@ -1475,12 +1475,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1475
1475
|
];
|
|
1476
1476
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1477
1477
|
commands: {
|
|
1478
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1478
1479
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1479
1480
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
1480
1481
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
1481
1482
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1482
1483
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1483
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1484
1484
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1485
1485
|
};
|
|
1486
1486
|
}, undefined>>,
|
|
@@ -2172,12 +2172,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2172
2172
|
];
|
|
2173
2173
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2174
2174
|
commands: {
|
|
2175
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2175
2176
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2176
2177
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2177
2178
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2178
2179
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2179
2180
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2180
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2181
2181
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2182
2182
|
};
|
|
2183
2183
|
}, undefined>>,
|
|
@@ -2598,12 +2598,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2598
2598
|
];
|
|
2599
2599
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2600
2600
|
commands: {
|
|
2601
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2601
2602
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2602
2603
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2603
2604
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2604
2605
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2605
2606
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2606
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2607
2607
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2608
2608
|
};
|
|
2609
2609
|
}, undefined>>,
|
|
@@ -3412,12 +3412,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3412
3412
|
];
|
|
3413
3413
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3414
3414
|
commands: {
|
|
3415
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3415
3416
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3416
3417
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3417
3418
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3418
3419
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3419
3420
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3420
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3421
3421
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3422
3422
|
};
|
|
3423
3423
|
}, undefined>>,
|
|
@@ -3833,12 +3833,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3833
3833
|
];
|
|
3834
3834
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3835
3835
|
commands: {
|
|
3836
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3836
3837
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3837
3838
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3838
3839
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3839
3840
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3840
3841
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3841
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3842
3842
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3843
3843
|
};
|
|
3844
3844
|
}, undefined>>,
|
|
@@ -4542,12 +4542,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4542
4542
|
];
|
|
4543
4543
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4544
4544
|
commands: {
|
|
4545
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4545
4546
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4546
4547
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4547
4548
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4548
4549
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4549
4550
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4550
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4551
4551
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4552
4552
|
};
|
|
4553
4553
|
}, undefined>>,
|
|
@@ -5239,12 +5239,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5239
5239
|
];
|
|
5240
5240
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5241
5241
|
commands: {
|
|
5242
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5242
5243
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5243
5244
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
5244
5245
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5245
5246
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5246
5247
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5247
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5248
5248
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5249
5249
|
};
|
|
5250
5250
|
}, undefined>>,
|
|
@@ -5665,12 +5665,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5665
5665
|
];
|
|
5666
5666
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5667
5667
|
commands: {
|
|
5668
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5668
5669
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5669
5670
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
5670
5671
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5671
5672
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5672
5673
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5673
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5674
5674
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5675
5675
|
};
|
|
5676
5676
|
}, undefined>>,
|
|
@@ -484,12 +484,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
484
484
|
];
|
|
485
485
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
486
486
|
commands: {
|
|
487
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
487
488
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
488
489
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
489
490
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
490
491
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
491
492
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
492
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
493
493
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
494
494
|
};
|
|
495
495
|
}, undefined>>,
|
|
@@ -910,12 +910,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
910
910
|
];
|
|
911
911
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
912
912
|
commands: {
|
|
913
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
913
914
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
914
915
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
915
916
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
916
917
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
917
918
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
918
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
919
919
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
920
920
|
};
|
|
921
921
|
}, undefined>>,
|
|
@@ -2118,12 +2118,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2118
2118
|
];
|
|
2119
2119
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2120
2120
|
commands: {
|
|
2121
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2121
2122
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2122
2123
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2123
2124
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2124
2125
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2125
2126
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2126
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2127
2127
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2128
2128
|
};
|
|
2129
2129
|
}, undefined>>,
|
|
@@ -3002,12 +3002,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3002
3002
|
];
|
|
3003
3003
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3004
3004
|
commands: {
|
|
3005
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3005
3006
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3006
3007
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3007
3008
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3008
3009
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3009
3010
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3010
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3011
3011
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3012
3012
|
};
|
|
3013
3013
|
}, undefined>>,
|
|
@@ -4068,12 +4068,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4068
4068
|
];
|
|
4069
4069
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4070
4070
|
commands: {
|
|
4071
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4071
4072
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4072
4073
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4073
4074
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4074
4075
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4075
4076
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4076
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4077
4077
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4078
4078
|
};
|
|
4079
4079
|
}, undefined>>,
|
|
@@ -4610,12 +4610,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4610
4610
|
];
|
|
4611
4611
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4612
4612
|
commands: {
|
|
4613
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4613
4614
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4614
4615
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4615
4616
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4616
4617
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4617
4618
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4618
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4619
4619
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4620
4620
|
};
|
|
4621
4621
|
}, undefined>>,
|
|
@@ -5516,12 +5516,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5516
5516
|
];
|
|
5517
5517
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5518
5518
|
commands: {
|
|
5519
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5519
5520
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5520
5521
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
5521
5522
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5522
5523
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5523
5524
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5524
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5525
5525
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5526
5526
|
};
|
|
5527
5527
|
}, undefined>>,
|
|
@@ -5937,12 +5937,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5937
5937
|
];
|
|
5938
5938
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5939
5939
|
commands: {
|
|
5940
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5940
5941
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5941
5942
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
5942
5943
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5943
5944
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5944
5945
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5945
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5946
5946
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5947
5947
|
};
|
|
5948
5948
|
}, undefined>>,
|
|
@@ -6646,12 +6646,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6646
6646
|
];
|
|
6647
6647
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
6648
6648
|
commands: {
|
|
6649
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6649
6650
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
6650
6651
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
6651
6652
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
6652
6653
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6653
6654
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6654
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6655
6655
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6656
6656
|
};
|
|
6657
6657
|
}, undefined>>,
|
|
@@ -7343,12 +7343,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7343
7343
|
];
|
|
7344
7344
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
7345
7345
|
commands: {
|
|
7346
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7346
7347
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
7347
7348
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
7348
7349
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
7349
7350
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7350
7351
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7351
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7352
7352
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7353
7353
|
};
|
|
7354
7354
|
}, undefined>>,
|
|
@@ -7769,12 +7769,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7769
7769
|
];
|
|
7770
7770
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
7771
7771
|
commands: {
|
|
7772
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7772
7773
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
7773
7774
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
7774
7775
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
7775
7776
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7776
7777
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7777
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7778
7778
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7779
7779
|
};
|
|
7780
7780
|
}, undefined>>,
|
|
@@ -433,12 +433,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
433
433
|
];
|
|
434
434
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
435
435
|
commands: {
|
|
436
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
436
437
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
437
438
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
438
439
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
439
440
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
440
441
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
441
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
442
442
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
443
443
|
};
|
|
444
444
|
}, undefined>>,
|
|
@@ -859,12 +859,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
859
859
|
];
|
|
860
860
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
861
861
|
commands: {
|
|
862
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
862
863
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
863
864
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
864
865
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
865
866
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
866
867
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
867
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
868
868
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
869
869
|
};
|
|
870
870
|
}, undefined>>,
|
|
@@ -2067,12 +2067,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2067
2067
|
];
|
|
2068
2068
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2069
2069
|
commands: {
|
|
2070
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2070
2071
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2071
2072
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2072
2073
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2073
2074
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2074
2075
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2075
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2076
2076
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2077
2077
|
};
|
|
2078
2078
|
}, undefined>>,
|
|
@@ -2951,12 +2951,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2951
2951
|
];
|
|
2952
2952
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2953
2953
|
commands: {
|
|
2954
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2954
2955
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2955
2956
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2956
2957
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2957
2958
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2958
2959
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2959
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2960
2960
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2961
2961
|
};
|
|
2962
2962
|
}, undefined>>,
|
|
@@ -4017,12 +4017,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4017
4017
|
];
|
|
4018
4018
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4019
4019
|
commands: {
|
|
4020
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4020
4021
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4021
4022
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4022
4023
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4023
4024
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4024
4025
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4025
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4026
4026
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4027
4027
|
};
|
|
4028
4028
|
}, undefined>>,
|
|
@@ -4559,12 +4559,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4559
4559
|
];
|
|
4560
4560
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4561
4561
|
commands: {
|
|
4562
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4562
4563
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4563
4564
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4564
4565
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4565
4566
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4566
4567
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4567
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4568
4568
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4569
4569
|
};
|
|
4570
4570
|
}, undefined>>,
|
|
@@ -5465,12 +5465,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5465
5465
|
];
|
|
5466
5466
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5467
5467
|
commands: {
|
|
5468
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5468
5469
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5469
5470
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
5470
5471
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5471
5472
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5472
5473
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5473
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5474
5474
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5475
5475
|
};
|
|
5476
5476
|
}, undefined>>,
|
|
@@ -5886,12 +5886,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5886
5886
|
];
|
|
5887
5887
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5888
5888
|
commands: {
|
|
5889
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5889
5890
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5890
5891
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
5891
5892
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5892
5893
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5893
5894
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5894
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5895
5895
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5896
5896
|
};
|
|
5897
5897
|
}, undefined>>,
|
|
@@ -6595,12 +6595,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
6595
6595
|
];
|
|
6596
6596
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
6597
6597
|
commands: {
|
|
6598
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6598
6599
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
6599
6600
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
6600
6601
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
6601
6602
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6602
6603
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6603
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6604
6604
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6605
6605
|
};
|
|
6606
6606
|
}, undefined>>,
|
|
@@ -7292,12 +7292,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
7292
7292
|
];
|
|
7293
7293
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
7294
7294
|
commands: {
|
|
7295
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7295
7296
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
7296
7297
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
7297
7298
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
7298
7299
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7299
7300
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7300
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7301
7301
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7302
7302
|
};
|
|
7303
7303
|
}, undefined>>,
|
|
@@ -7718,12 +7718,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
7718
7718
|
];
|
|
7719
7719
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
7720
7720
|
commands: {
|
|
7721
|
+
moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7721
7722
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
7722
7723
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
7723
7724
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
7724
7725
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7725
7726
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7726
|
-
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7727
7727
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7728
7728
|
};
|
|
7729
7729
|
}, undefined>>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "198.6.
|
|
3
|
+
"version": "198.6.8",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^20.2.0",
|
|
46
|
-
"@atlaskit/editor-common": "^93.
|
|
46
|
+
"@atlaskit/editor-common": "^93.6.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.20.0",
|
|
48
48
|
"@atlaskit/editor-plugin-quick-insert": "1.4.5",
|
|
49
49
|
"@atlaskit/editor-plugins": "^5.5.0",
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
"@atlaskit/smart-card": "^30.1.0",
|
|
100
100
|
"@atlaskit/synchrony-test-helpers": "^2.5.0",
|
|
101
101
|
"@atlaskit/toggle": "^13.4.0",
|
|
102
|
-
"@atlaskit/util-data-test": "^17.
|
|
102
|
+
"@atlaskit/util-data-test": "^17.11.0",
|
|
103
103
|
"@atlaskit/visual-regression": "*",
|
|
104
104
|
"@atlassian/adf-schema-json": "^1.22.0",
|
|
105
105
|
"@atlassian/feature-flags-test-utils": "*",
|
|
106
|
-
"@atlassian/search-provider": "2.4.
|
|
106
|
+
"@atlassian/search-provider": "2.4.151",
|
|
107
107
|
"@emotion/jest": "^11.8.0",
|
|
108
108
|
"@storybook/addon-knobs": "^5.3.18",
|
|
109
109
|
"@testing-library/react": "^12.1.5",
|
|
@@ -232,9 +232,6 @@
|
|
|
232
232
|
"platform_editor_breakout_use_css": {
|
|
233
233
|
"type": "boolean"
|
|
234
234
|
},
|
|
235
|
-
"platform_editor_af_provider_from_plugin_config": {
|
|
236
|
-
"type": "boolean"
|
|
237
|
-
},
|
|
238
235
|
"editor_request_to_edit_task": {
|
|
239
236
|
"type": "boolean"
|
|
240
237
|
},
|
|
@@ -301,6 +298,9 @@
|
|
|
301
298
|
"platform-visual-refresh-icons": {
|
|
302
299
|
"type": "boolean",
|
|
303
300
|
"referenceOnly": true
|
|
301
|
+
},
|
|
302
|
+
"platform_editor_advanced_layouts_pre_release_1": {
|
|
303
|
+
"type": "boolean"
|
|
304
304
|
}
|
|
305
305
|
},
|
|
306
306
|
"stricter": {
|