@atlaskit/editor-core 161.0.0 → 162.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/dist/cjs/actions/index.js +76 -48
- package/dist/cjs/extensibility.js +2 -2
- package/dist/cjs/labs/next/full-page.js +1 -1
- package/dist/cjs/plugins/block-type/styles.js +5 -2
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/index.js +13 -11
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/styled.js +11 -7
- package/dist/cjs/plugins/card/messages.js +4 -4
- package/dist/cjs/plugins/card/ui/LinkToolbarAppearance.js +29 -11
- package/dist/cjs/plugins/card/ui/LinkToolbarButtonGroup.js +66 -7
- package/dist/cjs/plugins/card/ui/LinkToolbarIconDropdown.js +166 -7
- package/dist/cjs/plugins/card/ui/ResizableEmbedCard.js +9 -6
- package/dist/cjs/plugins/card/ui/assets/card.js +1 -1
- package/dist/cjs/plugins/card/ui/assets/embed.js +1 -1
- package/dist/cjs/plugins/card/ui/assets/inline.js +1 -1
- package/dist/cjs/plugins/card/ui/assets/url.js +1 -1
- package/dist/cjs/plugins/card/ui/link-toolbar-button-group-options.js +60 -0
- package/dist/cjs/plugins/card/ui/link-toolbar-icon-dropdown-options.js +66 -0
- package/dist/cjs/plugins/card/ui/styled.js +5 -13
- package/dist/cjs/plugins/card/ui/types.js +5 -0
- package/dist/cjs/plugins/clipboard/pm-plugins/main.js +99 -3
- package/dist/cjs/plugins/code-block/styles.js +45 -38
- package/dist/cjs/plugins/extension/plugin-factory.js +4 -1
- package/dist/cjs/plugins/extension/pm-plugins/main.js +34 -11
- package/dist/cjs/plugins/extension/utils.js +57 -12
- package/dist/cjs/plugins/find-replace/ui/Find.js +12 -12
- package/dist/cjs/plugins/find-replace/ui/FindReplace.js +5 -5
- package/dist/cjs/plugins/find-replace/ui/Replace.js +5 -5
- package/dist/cjs/plugins/find-replace/ui/styles.js +12 -15
- package/dist/cjs/plugins/layout/styles.js +2 -2
- package/dist/cjs/plugins/list/actions/wrap-and-join-lists.js +180 -0
- package/dist/cjs/plugins/list/commands/index.js +35 -38
- package/dist/cjs/plugins/list/utils/replace-content.js +31 -0
- package/dist/cjs/plugins/media/nodeviews/mediaNodeUpdater.js +3 -3
- package/dist/cjs/plugins/media/styles.js +2 -2
- package/dist/cjs/plugins/media/utils/media-single.js +15 -2
- package/dist/cjs/plugins/paste/handlers.js +19 -5
- package/dist/cjs/plugins/paste/pm-plugins/analytics.js +1 -1
- package/dist/cjs/plugins/placeholder-text/index.js +45 -1
- package/dist/cjs/plugins/placeholder-text/placeholder-text-nodeview.js +66 -22
- package/dist/cjs/plugins/placeholder-text/selection-utils.js +19 -0
- package/dist/cjs/plugins/placeholder-text/styles.js +3 -1
- package/dist/cjs/plugins/table/commands/index.js +0 -6
- package/dist/cjs/plugins/table/commands/insert.js +1 -1
- package/dist/cjs/plugins/table/commands/misc.js +5 -18
- package/dist/cjs/plugins/table/commands-with-analytics.js +1 -1
- package/dist/cjs/plugins/table/handlers.js +6 -2
- package/dist/cjs/plugins/table/index.js +7 -13
- package/dist/cjs/plugins/table/nodeviews/TableComponent.js +2 -2
- package/dist/cjs/plugins/table/nodeviews/table.js +7 -38
- package/dist/cjs/plugins/table/pm-plugins/decorations/plugin.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/main.js +3 -1
- package/dist/cjs/plugins/table/pm-plugins/plugin-factory.js +4 -7
- package/dist/cjs/plugins/table/pm-plugins/plugin-key.js +11 -0
- package/dist/cjs/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.js +2 -0
- package/dist/cjs/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +3 -3
- package/dist/cjs/plugins/table/reducer.js +0 -7
- package/dist/cjs/plugins/table/toolbar.js +5 -15
- package/dist/cjs/plugins/table/transforms/metadata.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingContextualMenu/index.js +3 -1
- package/dist/cjs/plugins/table/ui/FloatingInsertButton/index.js +1 -1
- package/dist/cjs/plugins/table/ui/LayoutButton/index.js +1 -2
- package/dist/cjs/plugins/table/ui/common-styles.css.js +17 -8
- package/dist/cjs/plugins/table/ui/ui-styles.css.js +39 -25
- package/dist/cjs/plugins/table/utils/nodes.js +15 -15
- package/dist/cjs/plugins/tasks-and-decisions/commands.js +15 -1
- package/dist/cjs/plugins/text-formatting/styles.js +5 -2
- package/dist/cjs/plugins/text-formatting/ui/Toolbar/index.js +71 -1
- package/dist/cjs/plugins/text-formatting/ui/Toolbar/toolbar-messages.js +30 -0
- package/dist/cjs/plugins/text-formatting/utils.js +30 -2
- package/dist/cjs/plugins/type-ahead/api.js +32 -1
- package/dist/cjs/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +20 -5
- package/dist/cjs/plugins/type-ahead/utils.js +22 -4
- package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +32 -9
- package/dist/cjs/utils/index.js +1 -8
- package/dist/cjs/utils/insert.js +1 -9
- package/dist/cjs/utils/selection.js +2 -9
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/actions/index.js +20 -23
- package/dist/es2019/extensibility.js +1 -1
- package/dist/es2019/labs/next/full-page.js +2 -2
- package/dist/es2019/plugins/block-type/styles.js +3 -3
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/index.js +15 -12
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/styled.js +19 -14
- package/dist/es2019/plugins/card/messages.js +4 -4
- package/dist/es2019/plugins/card/ui/LinkToolbarAppearance.js +21 -9
- package/dist/es2019/plugins/card/ui/LinkToolbarButtonGroup.js +54 -3
- package/dist/es2019/plugins/card/ui/LinkToolbarIconDropdown.js +145 -3
- package/dist/es2019/plugins/card/ui/ResizableEmbedCard.js +10 -6
- package/dist/es2019/plugins/card/ui/assets/card.js +1 -1
- package/dist/es2019/plugins/card/ui/assets/embed.js +1 -1
- package/dist/es2019/plugins/card/ui/assets/inline.js +1 -1
- package/dist/es2019/plugins/card/ui/assets/url.js +1 -1
- package/dist/es2019/plugins/card/ui/link-toolbar-button-group-options.js +45 -0
- package/dist/es2019/plugins/card/ui/link-toolbar-icon-dropdown-options.js +51 -0
- package/dist/es2019/plugins/card/ui/styled.js +2 -2
- package/dist/es2019/plugins/card/ui/types.js +1 -0
- package/dist/es2019/plugins/clipboard/pm-plugins/main.js +91 -9
- package/dist/es2019/plugins/code-block/styles.js +14 -14
- package/dist/es2019/plugins/extension/plugin-factory.js +3 -1
- package/dist/es2019/plugins/extension/pm-plugins/main.js +38 -12
- package/dist/es2019/plugins/extension/utils.js +37 -2
- package/dist/es2019/plugins/find-replace/ui/Find.js +1 -1
- package/dist/es2019/plugins/find-replace/ui/FindReplace.js +1 -1
- package/dist/es2019/plugins/find-replace/ui/Replace.js +1 -1
- package/dist/es2019/plugins/find-replace/ui/styles.js +14 -9
- package/dist/es2019/plugins/layout/styles.js +5 -1
- package/dist/es2019/plugins/list/actions/wrap-and-join-lists.js +163 -0
- package/dist/es2019/plugins/list/commands/index.js +29 -28
- package/dist/es2019/plugins/list/utils/replace-content.js +22 -0
- package/dist/es2019/plugins/media/nodeviews/mediaNodeUpdater.js +3 -3
- package/dist/es2019/plugins/media/styles.js +1 -1
- package/dist/es2019/plugins/media/utils/media-single.js +14 -1
- package/dist/es2019/plugins/paste/handlers.js +19 -5
- package/dist/es2019/plugins/paste/pm-plugins/analytics.js +2 -2
- package/dist/es2019/plugins/placeholder-text/index.js +46 -1
- package/dist/es2019/plugins/placeholder-text/placeholder-text-nodeview.js +66 -20
- package/dist/es2019/plugins/placeholder-text/selection-utils.js +9 -0
- package/dist/es2019/plugins/placeholder-text/styles.js +22 -0
- package/dist/es2019/plugins/table/commands/index.js +1 -1
- package/dist/es2019/plugins/table/commands/insert.js +1 -1
- package/dist/es2019/plugins/table/commands/misc.js +5 -11
- package/dist/es2019/plugins/table/commands-with-analytics.js +1 -1
- package/dist/es2019/plugins/table/handlers.js +6 -2
- package/dist/es2019/plugins/table/index.js +4 -8
- package/dist/es2019/plugins/table/nodeviews/TableComponent.js +2 -2
- package/dist/es2019/plugins/table/nodeviews/table.js +2 -16
- package/dist/es2019/plugins/table/pm-plugins/decorations/plugin.js +1 -1
- package/dist/es2019/plugins/table/pm-plugins/main.js +2 -1
- package/dist/es2019/plugins/table/pm-plugins/plugin-factory.js +1 -2
- package/dist/es2019/plugins/table/pm-plugins/plugin-key.js +2 -0
- package/dist/es2019/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.js +2 -0
- package/dist/es2019/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +1 -1
- package/dist/es2019/plugins/table/reducer.js +0 -9
- package/dist/es2019/plugins/table/toolbar.js +1 -4
- package/dist/es2019/plugins/table/transforms/metadata.js +1 -1
- package/dist/es2019/plugins/table/ui/FloatingContextualMenu/index.js +2 -1
- package/dist/es2019/plugins/table/ui/FloatingInsertButton/index.js +1 -1
- package/dist/es2019/plugins/table/ui/LayoutButton/index.js +1 -2
- package/dist/es2019/plugins/table/ui/common-styles.css.js +51 -26
- package/dist/es2019/plugins/table/ui/ui-styles.css.js +57 -56
- package/dist/es2019/plugins/table/utils/nodes.js +11 -11
- package/dist/es2019/plugins/tasks-and-decisions/commands.js +13 -1
- package/dist/es2019/plugins/text-formatting/styles.js +3 -3
- package/dist/es2019/plugins/text-formatting/ui/Toolbar/index.js +61 -2
- package/dist/es2019/plugins/text-formatting/ui/Toolbar/toolbar-messages.js +30 -0
- package/dist/es2019/plugins/text-formatting/utils.js +13 -1
- package/dist/es2019/plugins/type-ahead/api.js +31 -2
- package/dist/es2019/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +17 -5
- package/dist/es2019/plugins/type-ahead/utils.js +15 -0
- package/dist/es2019/ui/Appearance/Comment/Comment.js +2 -2
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/es2019/ui/ContentStyles/index.js +45 -23
- package/dist/es2019/utils/index.js +1 -1
- package/dist/es2019/utils/insert.js +2 -10
- package/dist/es2019/utils/selection.js +1 -6
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/actions/index.js +76 -48
- package/dist/esm/extensibility.js +1 -1
- package/dist/esm/labs/next/full-page.js +2 -2
- package/dist/esm/plugins/block-type/styles.js +4 -2
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/index.js +14 -12
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/styled.js +9 -5
- package/dist/esm/plugins/card/messages.js +4 -4
- package/dist/esm/plugins/card/ui/LinkToolbarAppearance.js +25 -9
- package/dist/esm/plugins/card/ui/LinkToolbarButtonGroup.js +57 -5
- package/dist/esm/plugins/card/ui/LinkToolbarIconDropdown.js +154 -5
- package/dist/esm/plugins/card/ui/ResizableEmbedCard.js +9 -6
- package/dist/esm/plugins/card/ui/assets/card.js +1 -1
- package/dist/esm/plugins/card/ui/assets/embed.js +1 -1
- package/dist/esm/plugins/card/ui/assets/inline.js +1 -1
- package/dist/esm/plugins/card/ui/assets/url.js +1 -1
- package/dist/esm/plugins/card/ui/link-toolbar-button-group-options.js +45 -0
- package/dist/esm/plugins/card/ui/link-toolbar-icon-dropdown-options.js +51 -0
- package/dist/esm/plugins/card/ui/styled.js +2 -2
- package/dist/esm/plugins/card/ui/types.js +1 -0
- package/dist/esm/plugins/clipboard/pm-plugins/main.js +91 -2
- package/dist/esm/plugins/code-block/styles.js +42 -38
- package/dist/esm/plugins/extension/plugin-factory.js +3 -1
- package/dist/esm/plugins/extension/pm-plugins/main.js +34 -11
- package/dist/esm/plugins/extension/utils.js +51 -9
- package/dist/esm/plugins/find-replace/ui/Find.js +1 -1
- package/dist/esm/plugins/find-replace/ui/FindReplace.js +1 -1
- package/dist/esm/plugins/find-replace/ui/Replace.js +1 -1
- package/dist/esm/plugins/find-replace/ui/styles.js +6 -10
- package/dist/esm/plugins/layout/styles.js +2 -2
- package/dist/esm/plugins/list/actions/wrap-and-join-lists.js +168 -0
- package/dist/esm/plugins/list/commands/index.js +33 -34
- package/dist/esm/plugins/list/utils/replace-content.js +21 -0
- package/dist/esm/plugins/media/nodeviews/mediaNodeUpdater.js +3 -3
- package/dist/esm/plugins/media/styles.js +1 -1
- package/dist/esm/plugins/media/utils/media-single.js +12 -1
- package/dist/esm/plugins/paste/handlers.js +19 -5
- package/dist/esm/plugins/paste/pm-plugins/analytics.js +2 -2
- package/dist/esm/plugins/placeholder-text/index.js +44 -1
- package/dist/esm/plugins/placeholder-text/placeholder-text-nodeview.js +67 -20
- package/dist/esm/plugins/placeholder-text/selection-utils.js +9 -0
- package/dist/esm/plugins/placeholder-text/styles.js +2 -1
- package/dist/esm/plugins/table/commands/index.js +1 -1
- package/dist/esm/plugins/table/commands/insert.js +1 -1
- package/dist/esm/plugins/table/commands/misc.js +5 -15
- package/dist/esm/plugins/table/commands-with-analytics.js +1 -1
- package/dist/esm/plugins/table/handlers.js +6 -2
- package/dist/esm/plugins/table/index.js +6 -11
- package/dist/esm/plugins/table/nodeviews/TableComponent.js +2 -2
- package/dist/esm/plugins/table/nodeviews/table.js +6 -37
- package/dist/esm/plugins/table/pm-plugins/decorations/plugin.js +1 -1
- package/dist/esm/plugins/table/pm-plugins/main.js +2 -1
- package/dist/esm/plugins/table/pm-plugins/plugin-factory.js +1 -2
- package/dist/esm/plugins/table/pm-plugins/plugin-key.js +2 -0
- package/dist/esm/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.js +2 -0
- package/dist/esm/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +1 -1
- package/dist/esm/plugins/table/reducer.js +0 -7
- package/dist/esm/plugins/table/toolbar.js +1 -10
- package/dist/esm/plugins/table/transforms/metadata.js +1 -1
- package/dist/esm/plugins/table/ui/FloatingContextualMenu/index.js +2 -1
- package/dist/esm/plugins/table/ui/FloatingInsertButton/index.js +1 -1
- package/dist/esm/plugins/table/ui/LayoutButton/index.js +1 -2
- package/dist/esm/plugins/table/ui/common-styles.css.js +10 -6
- package/dist/esm/plugins/table/ui/ui-styles.css.js +20 -11
- package/dist/esm/plugins/table/utils/nodes.js +14 -14
- package/dist/esm/plugins/tasks-and-decisions/commands.js +13 -1
- package/dist/esm/plugins/text-formatting/styles.js +4 -2
- package/dist/esm/plugins/text-formatting/ui/Toolbar/index.js +69 -2
- package/dist/esm/plugins/text-formatting/ui/Toolbar/toolbar-messages.js +30 -0
- package/dist/esm/plugins/text-formatting/utils.js +18 -0
- package/dist/esm/plugins/type-ahead/api.js +30 -2
- package/dist/esm/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +16 -4
- package/dist/esm/plugins/type-ahead/utils.js +17 -3
- package/dist/esm/ui/Appearance/Comment/Comment.js +2 -2
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/esm/ui/ContentStyles/index.js +27 -9
- package/dist/esm/utils/index.js +1 -1
- package/dist/esm/utils/insert.js +2 -10
- package/dist/esm/utils/selection.js +1 -6
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/actions/index.d.ts +2 -2
- package/dist/types/extensibility.d.ts +1 -1
- package/dist/types/plugins/analytics/types/list-events.d.ts +0 -1
- package/dist/types/plugins/block-type/styles.d.ts +2 -1
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/index.d.ts +1 -0
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +2 -7
- package/dist/types/plugins/card/messages.d.ts +2 -2
- package/dist/types/plugins/card/ui/LinkToolbarButtonGroup.d.ts +18 -2
- package/dist/types/plugins/card/ui/LinkToolbarIconDropdown.d.ts +23 -3
- package/dist/types/plugins/card/ui/ResizableEmbedCard.d.ts +3 -1
- package/dist/types/plugins/card/ui/link-toolbar-button-group-options.d.ts +5 -0
- package/dist/types/plugins/card/ui/link-toolbar-icon-dropdown-options.d.ts +5 -0
- package/dist/types/plugins/card/ui/styled.d.ts +2 -3
- package/dist/types/plugins/card/ui/types.d.ts +12 -0
- package/dist/types/plugins/clipboard/pm-plugins/main.d.ts +10 -1
- package/dist/types/plugins/code-block/styles.d.ts +3 -2
- package/dist/types/plugins/extension/pm-plugins/main.d.ts +2 -1
- package/dist/types/plugins/extension/types.d.ts +1 -0
- package/dist/types/plugins/extension/utils.d.ts +3 -1
- package/dist/types/plugins/find-replace/ui/FindReplace.d.ts +2 -1
- package/dist/types/plugins/find-replace/ui/styles.d.ts +5 -5
- package/dist/types/plugins/layout/styles.d.ts +1 -1
- package/dist/types/plugins/list/actions/wrap-and-join-lists.d.ts +25 -0
- package/dist/types/plugins/list/commands/index.d.ts +0 -1
- package/dist/types/plugins/list/utils/replace-content.d.ts +8 -0
- package/dist/types/plugins/media/nodeviews/mediaNodeUpdater.d.ts +2 -2
- package/dist/types/plugins/media/styles.d.ts +1 -1
- package/dist/types/plugins/media/utils/media-single.d.ts +1 -0
- package/dist/types/plugins/panel/styles.d.ts +1 -1
- package/dist/types/plugins/paste/handlers.d.ts +1 -1
- package/dist/types/plugins/placeholder-text/placeholder-text-nodeview.d.ts +3 -2
- package/dist/types/plugins/placeholder-text/selection-utils.d.ts +2 -0
- package/dist/types/plugins/rule/styles.d.ts +1 -1
- package/dist/types/plugins/table/commands/index.d.ts +1 -1
- package/dist/types/plugins/table/commands/misc.d.ts +0 -1
- package/dist/types/plugins/table/nodeviews/table.d.ts +0 -1
- package/dist/types/plugins/table/pm-plugins/plugin-factory.d.ts +1 -4
- package/dist/types/plugins/table/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types/plugins/table/types.d.ts +1 -8
- package/dist/types/plugins/table/ui/LayoutButton/index.d.ts +0 -1
- package/dist/types/plugins/table/ui/common-styles.css.d.ts +6 -3
- package/dist/types/plugins/table/ui/ui-styles.css.d.ts +15 -14
- package/dist/types/plugins/table/utils/nodes.d.ts +6 -6
- package/dist/types/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +1 -1
- package/dist/types/plugins/text-formatting/styles.d.ts +2 -1
- package/dist/types/plugins/text-formatting/ui/Toolbar/toolbar-messages.d.ts +30 -0
- package/dist/types/plugins/text-formatting/utils.d.ts +4 -0
- package/dist/types/plugins/type-ahead/api.d.ts +11 -1
- package/dist/types/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +1 -0
- package/dist/types/plugins/type-ahead/utils.d.ts +4 -0
- package/dist/types/ui/ContentStyles/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/utils/selection.d.ts +0 -1
- package/package.json +28 -26
|
@@ -28,9 +28,9 @@ export declare class MediaNodeUpdater {
|
|
|
28
28
|
hasFileAttributesDefined: () => string | false | 0 | null | undefined;
|
|
29
29
|
updateFileAttrs: (isMediaSingle?: boolean) => Promise<void>;
|
|
30
30
|
getAttrs: () => MediaADFAttrs | undefined;
|
|
31
|
-
getObjectId: () => Promise<string |
|
|
31
|
+
getObjectId: () => Promise<string | null>;
|
|
32
32
|
uploadExternalMedia: (getPos: ProsemirrorGetPosHandler) => Promise<void>;
|
|
33
|
-
getNodeContextId: () => string |
|
|
33
|
+
getNodeContextId: () => string | null;
|
|
34
34
|
updateDimensions: (dimensions: RemoteDimensions) => void;
|
|
35
35
|
getRemoteDimensions(): Promise<false | RemoteDimensions>;
|
|
36
36
|
hasDifferentContextId: () => Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const mediaStyles: import("
|
|
1
|
+
export declare const mediaStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const panelStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").
|
|
1
|
+
export declare const panelStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").ThemeProps, any>>[];
|
|
@@ -12,7 +12,7 @@ export declare function handlePastePreservingMarks(slice: Slice): Command;
|
|
|
12
12
|
export declare function handleMacroAutoConvert(text: string, slice: Slice, cardsOptions?: CardOptions, extensionAutoConverter?: ExtensionAutoConvertHandler): Command;
|
|
13
13
|
export declare function handleCodeBlock(text: string): Command;
|
|
14
14
|
export declare function handleMediaSingle(inputMethod: InputMethodInsertMedia): (slice: Slice) => Command;
|
|
15
|
-
export declare function
|
|
15
|
+
export declare function handleExpandPasteInTable(slice: Slice): Command;
|
|
16
16
|
export declare function handleMarkdown(markdownSlice: Slice): Command;
|
|
17
17
|
export declare function handleParagraphBlockMarks(state: EditorState, slice: Slice): Slice<any>;
|
|
18
18
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodeView, EditorView } from 'prosemirror-view';
|
|
2
|
-
import { Node as
|
|
2
|
+
import { Node as PMNode } from 'prosemirror-model';
|
|
3
3
|
import { getPosHandler } from '../../nodeviews';
|
|
4
4
|
declare type PmMutationRecord = MutationRecord | {
|
|
5
5
|
type: 'selection';
|
|
@@ -10,7 +10,8 @@ export declare class PlaceholderTextNodeView implements NodeView {
|
|
|
10
10
|
private readonly view;
|
|
11
11
|
private readonly getPos;
|
|
12
12
|
readonly dom: Node;
|
|
13
|
-
constructor(node:
|
|
13
|
+
constructor(node: PMNode, view: EditorView, getPos: getPosHandler);
|
|
14
|
+
stopEvent(e: Event): boolean;
|
|
14
15
|
ignoreMutation(record: PmMutationRecord): boolean;
|
|
15
16
|
}
|
|
16
17
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ruleStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").
|
|
1
|
+
export declare const ruleStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").ThemeProps, any>>[];
|
|
@@ -2,6 +2,6 @@ export { hoverColumns, hoverRows, hoverTable, hoverMergedCells, clearHoverSelect
|
|
|
2
2
|
export { insertColumn, insertRow, createTable } from './insert';
|
|
3
3
|
export { getNextLayout, toggleContextualMenu, toggleHeaderColumn, toggleHeaderRow, toggleNumberColumn, toggleTableLayout, } from './toggle';
|
|
4
4
|
export { clearMultipleCells } from './clear';
|
|
5
|
-
export { autoSizeTable, convertFirstRowToHeader, deleteTable, hideInsertColumnOrRowButton, moveCursorBackward, selectColumn, selectRow, setCellAttr, setEditorFocus, setMultipleCellAttrs, setTableRef, showInsertColumnButton, showInsertRowButton, transformSliceToAddTableHeaders, triggerUnlessTableHeader, addBoldInEmptyHeaderCells, addResizeHandleDecorations,
|
|
5
|
+
export { autoSizeTable, convertFirstRowToHeader, deleteTable, hideInsertColumnOrRowButton, moveCursorBackward, selectColumn, selectRow, setCellAttr, setEditorFocus, setMultipleCellAttrs, setTableRef, showInsertColumnButton, showInsertRowButton, transformSliceToAddTableHeaders, triggerUnlessTableHeader, addBoldInEmptyHeaderCells, addResizeHandleDecorations, } from './misc';
|
|
6
6
|
export { sortByColumn } from './sort';
|
|
7
7
|
export { goToNextCell } from './go-to-next-cell';
|
|
@@ -21,7 +21,6 @@ export declare const showInsertColumnButton: (columnIndex: number) => Command;
|
|
|
21
21
|
export declare const showInsertRowButton: (rowIndex: number) => Command;
|
|
22
22
|
export declare const hideInsertColumnOrRowButton: () => Command;
|
|
23
23
|
export declare const addResizeHandleDecorations: (columnIndex: number) => Command;
|
|
24
|
-
export declare const setTableSize: (tableHeight: number, tableWidth: number) => Command;
|
|
25
24
|
export declare const autoSizeTable: (view: EditorView, node: PMNode, table: HTMLTableElement, basePos: number, opts: {
|
|
26
25
|
dynamicTextSizing: boolean;
|
|
27
26
|
containerWidth: number;
|
|
@@ -9,7 +9,6 @@ import { Props, TableOptions } from './types';
|
|
|
9
9
|
export default class TableView extends ReactNodeView<Props> {
|
|
10
10
|
private table;
|
|
11
11
|
private resizeObserver?;
|
|
12
|
-
private editorView;
|
|
13
12
|
private tableRenderOptimization?;
|
|
14
13
|
eventDispatcher?: EventDispatcher;
|
|
15
14
|
getPos: getPosHandlerNode;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TablePluginState } from '../types';
|
|
3
|
-
export declare const pluginKey: PluginKey<TablePluginState, any>;
|
|
4
|
-
export declare const createPluginState: (dispatch: import("../../../event-dispatcher").Dispatch<any>, initialState: TablePluginState | ((state: import("prosemirror-state").EditorState<any>) => TablePluginState)) => import("prosemirror-state").SafeStateField<TablePluginState, import("prosemirror-model").Schema<any, any>>, createCommand: <A = import("../types").TablePluginAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState<any>>) => false | A), transform?: ((tr: import("prosemirror-state").Transaction<any>, state: import("prosemirror-state").EditorState<any>) => import("prosemirror-state").Transaction<any>) | undefined) => import("../../..").Command, getPluginState: (state: import("prosemirror-state").EditorState<any>) => TablePluginState;
|
|
1
|
+
export declare const createPluginState: (dispatch: import("../../../event-dispatcher").Dispatch<any>, initialState: import("../types").TablePluginState | ((state: import("prosemirror-state").EditorState<any>) => import("../types").TablePluginState)) => import("prosemirror-state").SafeStateField<import("../types").TablePluginState, import("prosemirror-model").Schema<any, any>>, createCommand: <A = import("../types").TablePluginAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState<any>>) => false | A), transform?: ((tr: import("prosemirror-state").Transaction<any>, state: import("prosemirror-state").EditorState<any>) => import("prosemirror-state").Transaction<any>) | undefined) => import("../../..").Command, getPluginState: (state: import("prosemirror-state").EditorState<any>) => import("../types").TablePluginState;
|
|
@@ -68,6 +68,7 @@ export interface TablePluginState {
|
|
|
68
68
|
pluginConfig: PluginConfig;
|
|
69
69
|
isHeaderColumnEnabled: boolean;
|
|
70
70
|
isHeaderRowEnabled: boolean;
|
|
71
|
+
isNumberColumnEnabled?: boolean;
|
|
71
72
|
targetCellPosition?: number;
|
|
72
73
|
tableNode?: PmNode;
|
|
73
74
|
tableRef?: HTMLTableElement;
|
|
@@ -82,8 +83,6 @@ export interface TablePluginState {
|
|
|
82
83
|
ordering?: TableColumnOrdering;
|
|
83
84
|
resizeHandleColumnIndex?: number;
|
|
84
85
|
tableCellOptimization?: boolean;
|
|
85
|
-
tableHeight?: number;
|
|
86
|
-
tableWidth?: number;
|
|
87
86
|
isTableCollapsed?: boolean;
|
|
88
87
|
canCollapseTable?: boolean;
|
|
89
88
|
}
|
|
@@ -189,12 +188,6 @@ export declare type TablePluginAction = {
|
|
|
189
188
|
type: 'HIDE_INSERT_COLUMN_OR_ROW_BUTTON';
|
|
190
189
|
} | {
|
|
191
190
|
type: 'TOGGLE_CONTEXTUAL_MENU';
|
|
192
|
-
} | {
|
|
193
|
-
type: 'SET_TABLE_SIZE';
|
|
194
|
-
data: {
|
|
195
|
-
tableHeight: number;
|
|
196
|
-
tableWidth: number;
|
|
197
|
-
};
|
|
198
191
|
};
|
|
199
192
|
export declare type ColumnResizingPluginAction = {
|
|
200
193
|
type: 'SET_RESIZE_HANDLE_POSITION';
|
|
@@ -11,7 +11,6 @@ export interface Props {
|
|
|
11
11
|
scrollableElement?: HTMLElement;
|
|
12
12
|
isResizing?: boolean;
|
|
13
13
|
layout?: TableLayout;
|
|
14
|
-
tableWidth?: number;
|
|
15
14
|
stickyHeader?: RowStickyState;
|
|
16
15
|
}
|
|
17
16
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
1
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
|
+
export declare const tableStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const tableFullPageEditorStyles: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const deprecatedTableFullPageEditorStyles: import("styled-components").InterpolationValue[];
|
|
5
|
+
export declare const tableCommentEditorStyles: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const deprecatedTableCommentEditorStyles: import("styled-components").InterpolationValue[];
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
1
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
|
+
export declare const InsertMarker: (props: ThemeProps, cssString?: string | undefined) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const HeaderButton: (props: ThemeProps, cssString?: string | undefined) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const HeaderButtonHover: () => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const HeaderButtonDanger: () => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const insertColumnButtonWrapper: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const insertRowButtonWrapper: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const columnControlsLineMarker: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
9
|
+
export declare const DeleteButton: import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const OverflowShadow: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const columnControlsDecoration: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
12
|
+
export declare const hoveredDeleteButton: import("@emotion/react").SerializedStyles;
|
|
13
|
+
export declare const hoveredCell: import("@emotion/react").SerializedStyles;
|
|
14
|
+
export declare const hoveredWarningCell: import("@emotion/react").SerializedStyles;
|
|
15
|
+
export declare const resizeHandle: import("@emotion/react").SerializedStyles;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Node as PmNode } from 'prosemirror-model';
|
|
2
|
-
import { EditorState } from 'prosemirror-state';
|
|
2
|
+
import { EditorState, Selection } from 'prosemirror-state';
|
|
3
3
|
export declare const isIsolating: (node: PmNode) => boolean;
|
|
4
|
-
export declare const containsHeaderColumn: (
|
|
5
|
-
export declare const containsHeaderRow: (
|
|
6
|
-
export declare const checkIfHeaderColumnEnabled: (
|
|
7
|
-
export declare const checkIfHeaderRowEnabled: (
|
|
8
|
-
export declare const checkIfNumberColumnEnabled: (
|
|
4
|
+
export declare const containsHeaderColumn: (table: PmNode) => boolean;
|
|
5
|
+
export declare const containsHeaderRow: (table: PmNode) => boolean;
|
|
6
|
+
export declare const checkIfHeaderColumnEnabled: (selection: Selection) => boolean;
|
|
7
|
+
export declare const checkIfHeaderRowEnabled: (selection: Selection) => boolean;
|
|
8
|
+
export declare const checkIfNumberColumnEnabled: (selection: Selection) => boolean;
|
|
9
9
|
export declare const isLayoutSupported: (state: EditorState) => boolean;
|
|
10
10
|
export declare const getTableWidth: (node: PmNode) => number;
|
|
11
11
|
export declare const tablesHaveDifferentColumnWidths: (currentTable: PmNode, previousTable: PmNode) => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FeatureFlags } from '../../../types/feature-flags';
|
|
2
|
-
declare const _default: (featureFlags: FeatureFlags) => import("@atlaskit/editor-common").SafePlugin<any, any>;
|
|
2
|
+
declare const _default: (featureFlags: FeatureFlags) => import("@atlaskit/editor-common/safe-plugin").SafePlugin<any, any>;
|
|
3
3
|
export default _default;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
|
+
export declare const textFormattingStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -14,16 +14,31 @@ export declare const toolbarMessages: {
|
|
|
14
14
|
defaultMessage: string;
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
|
+
codeOn: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
17
22
|
subscript: {
|
|
18
23
|
id: string;
|
|
19
24
|
defaultMessage: string;
|
|
20
25
|
description: string;
|
|
21
26
|
};
|
|
27
|
+
subscriptOffSuperscriptOn: {
|
|
28
|
+
id: string;
|
|
29
|
+
defaultMessage: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
22
32
|
superscript: {
|
|
23
33
|
id: string;
|
|
24
34
|
defaultMessage: string;
|
|
25
35
|
description: string;
|
|
26
36
|
};
|
|
37
|
+
superscriptOffSubscriptOn: {
|
|
38
|
+
id: string;
|
|
39
|
+
defaultMessage: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
27
42
|
clearFormatting: {
|
|
28
43
|
id: string;
|
|
29
44
|
defaultMessage: string;
|
|
@@ -44,4 +59,19 @@ export declare const toolbarMessages: {
|
|
|
44
59
|
defaultMessage: string;
|
|
45
60
|
description: string;
|
|
46
61
|
};
|
|
62
|
+
on: {
|
|
63
|
+
id: string;
|
|
64
|
+
defaultMessage: string;
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
67
|
+
off: {
|
|
68
|
+
id: string;
|
|
69
|
+
defaultMessage: string;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
textFormattingOff: {
|
|
73
|
+
id: string;
|
|
74
|
+
defaultMessage: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
47
77
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MarkType, Mark as PMMark } from 'prosemirror-model';
|
|
2
2
|
import { EditorState } from 'prosemirror-state';
|
|
3
|
+
import { MenuIconItem } from './ui/Toolbar/types';
|
|
3
4
|
export declare const nodeLen: (node: Node) => number;
|
|
4
5
|
export declare const isIgnorable: (dom: any) => boolean;
|
|
5
6
|
export declare const isBlockNode: (dom: any) => boolean;
|
|
@@ -14,3 +15,6 @@ export declare const markActive: (state: EditorState, mark: PMMark) => boolean;
|
|
|
14
15
|
*/
|
|
15
16
|
export declare const anyMarkActive: (state: EditorState, markType: MarkType) => boolean;
|
|
16
17
|
export declare const checkFormattingIsPresent: (state: EditorState) => boolean;
|
|
18
|
+
export declare const usePreviousObjectState: (value: any) => MenuIconItem[];
|
|
19
|
+
export declare const compareItemsArrays: (items: MenuIconItem[], prevItems: MenuIconItem[]) => MenuIconItem[];
|
|
20
|
+
export declare const isArrayContainsContent: (items: MenuIconItem[], content: string) => boolean;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
2
3
|
import type { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
3
4
|
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
5
|
+
import { INPUT_METHOD } from '../analytics/types/enums';
|
|
4
6
|
import type { TypeAheadHandler, TypeAheadInputMethod } from './types';
|
|
5
|
-
import { Command } from '../../types/command';
|
|
7
|
+
import type { Command } from '../../types/command';
|
|
6
8
|
declare type CloseOptions = {
|
|
7
9
|
insertCurrentQueryAsRawText: boolean;
|
|
8
10
|
attachCommand?: Command;
|
|
@@ -12,6 +14,14 @@ declare type InsertItemProps = {
|
|
|
12
14
|
query: string;
|
|
13
15
|
sourceListItem: TypeAheadItem[];
|
|
14
16
|
};
|
|
17
|
+
export declare const createInternalTypeAheadTools: (editorView: EditorView) => {
|
|
18
|
+
findTypeAheadHandler: (trigger: string) => TypeAheadHandler | null;
|
|
19
|
+
openTypeAheadHandler: (props: {
|
|
20
|
+
triggerHandler: TypeAheadHandler;
|
|
21
|
+
inputMethod: INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR;
|
|
22
|
+
query?: string | undefined;
|
|
23
|
+
}) => (tr: Transaction<any>) => void;
|
|
24
|
+
};
|
|
15
25
|
export declare const createTypeAheadTools: (editorView: EditorView) => {
|
|
16
26
|
isOpen: () => TypeAheadHandler | false;
|
|
17
27
|
currentQuery: () => string;
|
|
@@ -5,5 +5,6 @@ declare type Props = {
|
|
|
5
5
|
inputMethod: TypeAheadInputMethod;
|
|
6
6
|
query?: string;
|
|
7
7
|
};
|
|
8
|
+
export declare const openTypeAhead: (props: Props) => (tr: Transaction) => void;
|
|
8
9
|
export declare const openTypeAheadAtCursor: ({ triggerHandler, inputMethod, query, }: Props) => (tr: Transaction) => Transaction | null;
|
|
9
10
|
export {};
|
|
@@ -10,6 +10,10 @@ export declare const getTypeAheadHandler: (editorState: EditorState) => any;
|
|
|
10
10
|
export declare const getTypeAheadQuery: (editorState: EditorState) => any;
|
|
11
11
|
export declare const isTypeAheadAllowed: (state: EditorState) => boolean;
|
|
12
12
|
export declare const findHandler: (id: TypeAheadAvailableNodes, state: EditorState) => TypeAheadHandler | null;
|
|
13
|
+
export declare const findHandlerByTrigger: ({ trigger, editorState, }: {
|
|
14
|
+
trigger: string;
|
|
15
|
+
editorState: EditorState;
|
|
16
|
+
}) => TypeAheadHandler | null;
|
|
13
17
|
declare type MoveSelectedIndexProps = {
|
|
14
18
|
editorView: EditorView;
|
|
15
19
|
direction: 'next' | 'previous';
|
|
@@ -6,7 +6,7 @@ export { isEmptyParagraph, hasVisibleContent, isNodeEmpty, isEmptyDocument, proc
|
|
|
6
6
|
export { cascadeCommands, getEditorValueWithMedia } from './action';
|
|
7
7
|
export { isMarkAllowedInRange, isMarkExcluded, removeBlockMarks, sanitiseSelectionMarksForWrapping, sanitiseMarksInSelection, } from './mark';
|
|
8
8
|
export { isParagraph, isText, isLinkMark, validateNodes } from './nodes';
|
|
9
|
-
export {
|
|
9
|
+
export { normaliseNestedLayout, setNodeSelection, setAllSelection, setGapCursorSelection, setCellSelection, setTextSelection, isValidPosition, } from './selection';
|
|
10
10
|
export type { JSONDocNode, JSONNode };
|
|
11
11
|
export { containsClassName } from './dom';
|
|
12
12
|
export { default as measurements } from './performance/measure-enum';
|
|
@@ -9,7 +9,6 @@ export declare function setAllSelection(view: EditorView): void;
|
|
|
9
9
|
export declare function setGapCursorSelection(view: EditorView, pos: number, side: Side): void;
|
|
10
10
|
export declare function setCellSelection(view: EditorView, anchor: number, head?: number): void;
|
|
11
11
|
export declare const normaliseNestedLayout: ({ selection, doc }: EditorState | Transaction, node: Node) => Node<any>;
|
|
12
|
-
export declare const isChromeWithSelectionBug: boolean;
|
|
13
12
|
export declare const isSelectionAtStartOfNode: ($pos: ResolvedPos, parentNode?: ContentNodeWithPos | undefined) => boolean;
|
|
14
13
|
export declare const isSelectionAtEndOfNode: ($pos: ResolvedPos, parentNode?: ContentNodeWithPos | undefined) => boolean;
|
|
15
14
|
export declare const isValidPosition: (pos: number, state: EditorState) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "162.0.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
36
36
|
"@atlaskit/avatar": "^20.5.0",
|
|
37
37
|
"@atlaskit/avatar-group": "^8.5.0",
|
|
38
|
-
"@atlaskit/button": "^16.
|
|
38
|
+
"@atlaskit/button": "^16.2.0",
|
|
39
39
|
"@atlaskit/calendar": "^12.1.0",
|
|
40
40
|
"@atlaskit/checkbox": "^12.3.0",
|
|
41
41
|
"@atlaskit/code": "^14.3.0",
|
|
42
42
|
"@atlaskit/date": "^0.8.0",
|
|
43
43
|
"@atlaskit/datetime-picker": "^11.1.0",
|
|
44
44
|
"@atlaskit/droplist": "^11.0.0",
|
|
45
|
-
"@atlaskit/editor-common": "^
|
|
45
|
+
"@atlaskit/editor-common": "^65.0.0",
|
|
46
46
|
"@atlaskit/editor-json-transformer": "^8.7.0",
|
|
47
47
|
"@atlaskit/editor-markdown-transformer": "^4.1.0",
|
|
48
|
-
"@atlaskit/editor-shared-styles": "^
|
|
48
|
+
"@atlaskit/editor-shared-styles": "^2.0.0",
|
|
49
49
|
"@atlaskit/editor-tables": "^2.1.0",
|
|
50
|
-
"@atlaskit/emoji": "^64.
|
|
50
|
+
"@atlaskit/emoji": "^64.2.0",
|
|
51
51
|
"@atlaskit/empty-state": "^7.3.0",
|
|
52
52
|
"@atlaskit/form": "^8.5.0",
|
|
53
53
|
"@atlaskit/icon": "^21.10.0",
|
|
@@ -55,15 +55,16 @@
|
|
|
55
55
|
"@atlaskit/item": "^12.0.0",
|
|
56
56
|
"@atlaskit/locale": "^2.3.0",
|
|
57
57
|
"@atlaskit/logo": "^13.5.0",
|
|
58
|
-
"@atlaskit/media-card": "^73.
|
|
59
|
-
"@atlaskit/media-client": "^14.
|
|
60
|
-
"@atlaskit/media-common": "^2.
|
|
58
|
+
"@atlaskit/media-card": "^73.3.0",
|
|
59
|
+
"@atlaskit/media-client": "^14.4.0",
|
|
60
|
+
"@atlaskit/media-common": "^2.11.0",
|
|
61
61
|
"@atlaskit/media-editor": "^39.0.0",
|
|
62
62
|
"@atlaskit/media-filmstrip": "^42.2.0",
|
|
63
|
-
"@atlaskit/media-picker": "^59.
|
|
64
|
-
"@atlaskit/media-ui": "^
|
|
65
|
-
"@atlaskit/media-viewer": "^46.
|
|
66
|
-
"@atlaskit/mention": "^
|
|
63
|
+
"@atlaskit/media-picker": "^59.1.0",
|
|
64
|
+
"@atlaskit/media-ui": "^20.0.0",
|
|
65
|
+
"@atlaskit/media-viewer": "^46.1.0",
|
|
66
|
+
"@atlaskit/mention": "^21.0.0",
|
|
67
|
+
"@atlaskit/menu": "^1.3.0",
|
|
67
68
|
"@atlaskit/modal-dialog": "^12.2.0",
|
|
68
69
|
"@atlaskit/prosemirror-input-rules": "^2.1.0",
|
|
69
70
|
"@atlaskit/radio": "^5.3.0",
|
|
@@ -77,19 +78,19 @@
|
|
|
77
78
|
"@atlaskit/textfield": "^5.1.0",
|
|
78
79
|
"@atlaskit/theme": "^12.1.0",
|
|
79
80
|
"@atlaskit/toggle": "^12.4.0",
|
|
81
|
+
"@atlaskit/tokens": "^0.7.0",
|
|
80
82
|
"@atlaskit/tooltip": "^17.5.0",
|
|
81
|
-
"@atlaskit/user-picker": "^8.
|
|
83
|
+
"@atlaskit/user-picker": "^8.8.0",
|
|
82
84
|
"@atlaskit/util-service-support": "^6.1.0",
|
|
83
85
|
"@atlaskit/width-detector": "^3.0.0",
|
|
84
86
|
"@babel/runtime": "^7.0.0",
|
|
85
|
-
"@emotion/
|
|
87
|
+
"@emotion/react": "^11.7.1",
|
|
86
88
|
"@types/prosemirror-collab": "^1.1.1",
|
|
87
89
|
"@types/prosemirror-commands": "^1.0.1",
|
|
88
90
|
"@types/prosemirror-history": "^1.0.1",
|
|
89
91
|
"@types/prosemirror-inputrules": "^1.0.3",
|
|
90
92
|
"@types/prosemirror-keymap": "^1.0.1",
|
|
91
93
|
"@types/prosemirror-model": "^1.11.0",
|
|
92
|
-
"@types/prosemirror-schema-list": "^1.0.1",
|
|
93
94
|
"@types/prosemirror-state": "^1.2.0",
|
|
94
95
|
"@types/prosemirror-transform": "^1.1.0",
|
|
95
96
|
"@types/prosemirror-view": "^1.9.0",
|
|
@@ -112,7 +113,6 @@
|
|
|
112
113
|
"prosemirror-inputrules": "^1.1.3",
|
|
113
114
|
"prosemirror-keymap": "1.1.4",
|
|
114
115
|
"prosemirror-model": "1.14.3",
|
|
115
|
-
"prosemirror-schema-list": "^1.1.4",
|
|
116
116
|
"prosemirror-state": "1.3.4",
|
|
117
117
|
"prosemirror-transform": "1.3.2",
|
|
118
118
|
"prosemirror-utils": "^1.0.0-0",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
131
|
"@atlaskit/media-core": "^32.2.0",
|
|
132
|
-
"@atlaskit/smart-card": "^17.
|
|
132
|
+
"@atlaskit/smart-card": "^17.7.0",
|
|
133
133
|
"react": "^16.8.0",
|
|
134
134
|
"react-dom": "^16.8.0",
|
|
135
135
|
"react-intl": "^2.6.0",
|
|
@@ -138,9 +138,9 @@
|
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@atlaskit/atlassian-navigation": "^2.1.0",
|
|
141
|
-
"@atlaskit/breadcrumbs": "11.5.
|
|
141
|
+
"@atlaskit/breadcrumbs": "11.5.4",
|
|
142
142
|
"@atlaskit/code": "^14.3.0",
|
|
143
|
-
"@atlaskit/collab-provider": "7.1.
|
|
143
|
+
"@atlaskit/collab-provider": "7.1.7",
|
|
144
144
|
"@atlaskit/docs": "*",
|
|
145
145
|
"@atlaskit/drawer": "^7.1.0",
|
|
146
146
|
"@atlaskit/dropdown-menu": "^11.1.0",
|
|
@@ -152,28 +152,30 @@
|
|
|
152
152
|
"@atlaskit/lozenge": "^11.1.0",
|
|
153
153
|
"@atlaskit/media-core": "^32.2.0",
|
|
154
154
|
"@atlaskit/media-integration-test-helpers": "^2.5.0",
|
|
155
|
-
"@atlaskit/media-test-helpers": "^29.
|
|
156
|
-
"@atlaskit/menu": "^1.
|
|
157
|
-
"@atlaskit/page-layout": "^1.0
|
|
155
|
+
"@atlaskit/media-test-helpers": "^29.2.0",
|
|
156
|
+
"@atlaskit/menu": "^1.3.0",
|
|
157
|
+
"@atlaskit/page-layout": "^1.1.0",
|
|
158
158
|
"@atlaskit/profilecard": "^16.3.0",
|
|
159
159
|
"@atlaskit/pubsub": "^6.0.0",
|
|
160
|
-
"@atlaskit/renderer": "^
|
|
160
|
+
"@atlaskit/renderer": "^92.0.0",
|
|
161
161
|
"@atlaskit/section-message": "^6.1.0",
|
|
162
162
|
"@atlaskit/share": "*",
|
|
163
|
-
"@atlaskit/smart-card": "^17.
|
|
163
|
+
"@atlaskit/smart-card": "^17.7.0",
|
|
164
164
|
"@atlaskit/synchrony-test-helpers": "^2.3.0",
|
|
165
165
|
"@atlaskit/textarea": "^4.3.0",
|
|
166
166
|
"@atlaskit/toggle": "^12.4.0",
|
|
167
167
|
"@atlaskit/ufo": "^0.1.0",
|
|
168
|
-
"@atlaskit/user-picker": "^8.
|
|
168
|
+
"@atlaskit/user-picker": "^8.8.0",
|
|
169
169
|
"@atlaskit/util-data-test": "^17.2.0",
|
|
170
170
|
"@atlaskit/visual-regression": "*",
|
|
171
171
|
"@atlaskit/webdriver-runner": "*",
|
|
172
172
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
173
|
-
"@atlassian/search-provider": "2.1
|
|
173
|
+
"@atlassian/search-provider": "2.2.1",
|
|
174
174
|
"@atlassian/ufo": "^0.1.0",
|
|
175
|
+
"@testing-library/dom": "^7.7.3",
|
|
175
176
|
"@testing-library/react": "^8.0.1",
|
|
176
177
|
"@testing-library/react-hooks": "^1.0.4",
|
|
178
|
+
"@testing-library/user-event": "10.4.0",
|
|
177
179
|
"@types/jscodeshift": "^0.11.0",
|
|
178
180
|
"@types/lodash": "^4.14.157",
|
|
179
181
|
"@types/lz-string": "^1.3.34",
|