@atlaskit/editor-core 203.0.0 → 203.0.2
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 +25 -0
- package/dist/cjs/ui/ContentStyles/layout.js +5 -8
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/layout.js +6 -11
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/layout.js +5 -8
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +2 -4
- package/dist/types/presets/universal.d.ts +2 -4
- package/dist/types/presets/useUniversalPreset.d.ts +2 -4
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +2 -4
- package/dist/types-ts4.5/presets/universal.d.ts +2 -4
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +2 -4
- package/package.json +18 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 203.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#170815](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/170815)
|
|
8
|
+
[`13e4ced269179`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/13e4ced269179) -
|
|
9
|
+
[ux] ED-25879 Default image insertion type should not be 'inline'
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 203.0.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#170442](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/170442)
|
|
17
|
+
[`14b1ff1b28958`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14b1ff1b28958) -
|
|
18
|
+
ED-25803 Update to not pass mountPoint into dropdown menu popup so that dropdown menu will be
|
|
19
|
+
nested inside DragMenu pop up
|
|
20
|
+
- [#171014](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171014)
|
|
21
|
+
[`6163248356c63`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6163248356c63) -
|
|
22
|
+
[ED-25833] Replace the following FGs with experiment `platform_editor_advanced_layouts`
|
|
23
|
+
|
|
24
|
+
- platform_editor_advanced_layouts_breakout_resizing
|
|
25
|
+
- platform_editor_advanced_layouts_pre_release_1
|
|
26
|
+
- platform_editor_advanced_layouts_pre_release_2
|
|
27
|
+
|
|
3
28
|
## 203.0.0
|
|
4
29
|
|
|
5
30
|
### Major Changes
|
|
@@ -14,9 +14,6 @@ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
|
14
14
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
15
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
16
16
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
-
var isPreRelease2 = function isPreRelease2() {
|
|
18
|
-
return (0, _experiments.editorExperiment)('advanced_layouts', true) || (0, _platformFeatureFlags.fg)('platform_editor_advanced_layouts_pre_release_2');
|
|
19
|
-
};
|
|
20
17
|
var firstNodeWithNotMarginTop = function firstNodeWithNotMarginTop() {
|
|
21
18
|
return (0, _experiments.editorExperiment)('nested-dnd', true) ? // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
22
19
|
(0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t> :nth-child(1 of :not(style, .ProseMirror-gapcursor, .ProseMirror-widget, span)) {\n\t\t\t\t\tmargin-top: 0;\n\t\t\t\t}\n\t\t\t"]))) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
@@ -25,12 +22,12 @@ var firstNodeWithNotMarginTop = function firstNodeWithNotMarginTop() {
|
|
|
25
22
|
|
|
26
23
|
// TODO handle responsive
|
|
27
24
|
var layoutColumnStyles = function layoutColumnStyles() {
|
|
28
|
-
return
|
|
25
|
+
return (0, _experiments.editorExperiment)('advanced_layouts', true) ? // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
29
26
|
(0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t> [data-layout-column] {\n\t\t\t\t\tmargin: 0 ", "px;\n\t\t\t\t}\n\n\t\t\t\t> [data-layout-column]:first-of-type {\n\t\t\t\t\tmargin-left: 0;\n\t\t\t\t}\n\n\t\t\t\t> [data-layout-column]:last-of-type {\n\t\t\t\t\tmargin-right: 0;\n\t\t\t\t}\n\n\t\t\t\t@media screen and (max-width: ", "px) {\n\t\t\t\t\t[data-layout-column] + [data-layout-column] {\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t> [data-layout-column].", ":not(.danger) {\n\t\t\t\t\t", ";\n\t\t\t\t\t/* layout column selection shorter after layout border has been removed */\n\t\t\t\t\t::before {\n\t\t\t\t\t\twidth: calc(100% - 8px);\n\t\t\t\t\t\tleft: 4px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"])), _styles.LAYOUT_SECTION_MARGIN / 2, _editorSharedStyles.gridMediumMaxWidth, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.Blanket])) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
30
27
|
(0, _react.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t[data-layout-column] + [data-layout-column] {\n\t\t\t\t\tmargin-left: ", "px;\n\t\t\t\t}\n\n\t\t\t\t@media screen and (max-width: ", "px) {\n\t\t\t\t\t[data-layout-column] + [data-layout-column] {\n\t\t\t\t\t\tmargin-left: 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"])), _styles.LAYOUT_SECTION_MARGIN, _editorSharedStyles.gridMediumMaxWidth);
|
|
31
28
|
};
|
|
32
29
|
var layoutSectionStyles = function layoutSectionStyles() {
|
|
33
|
-
return (0,
|
|
30
|
+
return (0, _experiments.editorExperiment)('advanced_layouts', true) ? // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
34
31
|
(0, _react.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t", ";\n\t\t\t\t.layout-section-container [data-layout-section] {\n\t\t\t\t\t> .ProseMirror-widget {\n\t\t\t\t\t\tflex: none;\n\t\t\t\t\t\tdisplay: contents !important;\n\n\t\t\t\t\t\t&[data-blocks-drag-handle-container] div {\n\t\t\t\t\t\t\tdisplay: contents !important;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t&[data-blocks-drop-target-container] {\n\t\t\t\t\t\t\tdisplay: block !important;\n\t\t\t\t\t\t\tmargin: ", ";\n\n\t\t\t\t\t\t\t[data-drop-target-for-element] {\n\t\t\t\t\t\t\t\tposition: absolute;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t& + [data-layout-column] {\n\t\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t> [data-layout-column] {\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"])), _styles.columnLayoutResponsiveSharedStyle, "var(--ds-space-negative-050, -4px)") : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
35
32
|
(0, _react.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t", "\n\t\t\t"])), _styles.columnLayoutSharedStyle);
|
|
36
33
|
};
|
|
@@ -51,12 +48,12 @@ var rowSeparatorStyles = function rowSeparatorStyles(viewMode) {
|
|
|
51
48
|
var layoutWithSeparatorBorderResponsiveStyles = function layoutWithSeparatorBorderResponsiveStyles(breakpoint, viewMode
|
|
52
49
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
53
50
|
) {
|
|
54
|
-
return (0, _react.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n\t&.selected,\n\t&:hover,\n\t&.selected.danger,\n\t&.", ":not(.danger) {\n\t\t[data-layout-column]:not(:first-of-type) {\n\t\t\t", " {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t}\n"])), _editorSharedStyles.akEditorSelectedNodeClassName,
|
|
51
|
+
return (0, _react.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n\t&.selected,\n\t&:hover,\n\t&.selected.danger,\n\t&.", ":not(.danger) {\n\t\t[data-layout-column]:not(:first-of-type) {\n\t\t\t@container editor-area (max-width:", "px) {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t}\n"])), _editorSharedStyles.akEditorSelectedNodeClassName, breakpoint, rowSeparatorStyles(viewMode));
|
|
55
52
|
};
|
|
56
53
|
|
|
57
54
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
58
55
|
var layoutWithSeparatorBorderStyles = function layoutWithSeparatorBorderStyles(viewMode) {
|
|
59
|
-
return (0, _react.css)(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n\t&.selected [data-layout-column]:not(:first-of-type),\n\t&:hover [data-layout-column]:not(:first-of-type) {\n\t\t", "\n\t}\n\n\t&.selected.danger
|
|
56
|
+
return (0, _react.css)(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n\t&.selected [data-layout-column]:not(:first-of-type),\n\t&:hover [data-layout-column]:not(:first-of-type) {\n\t\t", "\n\t}\n\n\t&.selected.danger [data-layout-section] {\n\t\tbackground-color: ", ";\n\n\t\tbox-shadow: 0 0 0 ", "px\n\t\t\t", ";\n\t\tborder-radius: 4px;\n\t\t[data-layout-column]:not(:first-of-type) {\n\t\t\t", "\n\t\t}\n\t}\n\n\t&.", ":not(.danger) [data-layout-section] {\n\t\tbox-shadow: 0 0 0 ", "px\n\t\t\t", ";\n\t\tborder-radius: 4px;\n\t\tbackground-color: ", ";\n\t\t[data-layout-column] {\n\t\t\t", "\n\t\t\tborder: 0px;\n\t\t\t::before {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t}\n\t\t[data-layout-column]:not(:first-of-type) {\n\t\t\t", "\n\t\t}\n\t}\n"])), columnSeparatorStyles(viewMode), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), viewMode === 'view' ? 0 : _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder, columnSeparatorStyles(viewMode), _editorSharedStyles.akEditorSelectedNodeClassName, viewMode === 'view' ? 0 : _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-selected, #0C66E4)", "var(--ds-background-selected, #E9F2FF)", (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.Blanket]), columnSeparatorStyles(viewMode));
|
|
60
57
|
};
|
|
61
58
|
var layoutResponsiveStyles = function layoutResponsiveStyles(viewMode) {
|
|
62
59
|
return (// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
@@ -66,5 +63,5 @@ var layoutResponsiveStyles = function layoutResponsiveStyles(viewMode) {
|
|
|
66
63
|
|
|
67
64
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
68
65
|
var layoutStyles = exports.layoutStyles = function layoutStyles(viewMode) {
|
|
69
|
-
return (0, _react.css)(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t", "\n\t\t[data-layout-section] {\n\t\t\t// TODO: Migrate away from gridSize\n\t\t\t// Recommendation: Replace directly with 7px\n\t\t\tmargin: ", " -", "px 0;\n\t\t\ttransition: border-color 0.3s ", ";\n\t\t\tcursor: ", ";\n\n\t\t\t/* Inner cursor located 26px from left */\n\t\t\t[data-layout-column] {\n\t\t\t\tflex: 1;\n\t\t\t\t", "\n\n\t\t\t\tmin-width: 0;\n\t\t\t\t/* disable 4 borders when in view mode and advanced layouts is on */\n\t\t\t\tborder: ", "px\n\t\t\t\t\tsolid ", ";\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tpadding: ", "px\n\t\t\t\t\t", "px;\n\t\t\t\tbox-sizing: border-box;\n\n\t\t\t\t> div {\n\t\t\t\t\t", "\n\n\t\t\t\t\t> .embedCardView-content-wrap:first-of-type .rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .mediaSingleView-content-wrap:first-of-type .rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .ProseMirror-gapcursor.-right:first-child\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> style:first-child\n\t\t\t\t\t\t+ .ProseMirror-gapcursor.-right\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> .ProseMirror-gapcursor.-right:first-of-type\n\t\t\t\t\t\t+ .embedCardView-content-wrap\n\t\t\t\t\t\t.rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .ProseMirror-gapcursor:first-child\n\t\t\t\t\t\t+ span\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> style:first-child\n\t\t\t\t\t\t+ .ProseMirror-gapcursor\n\t\t\t\t\t\t+ span\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* Prevent first DecisionWrapper's margin-top: 8px from shifting decisions down\n and shrinking layout's node selectable area (leniency margin) */\n\t\t\t\t\t> [data-node-type='decisionList'] {\n\t\t\t\t\t\tli:first-of-type [data-decision-wrapper] {\n\t\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t/* Make the 'content' fill the entire height of the layout column to allow click\n handler of layout section nodeview to target only data-layout-column */\n\t\t\t\t[data-layout-content] {\n\t\t\t\t\theight: 100%;\n\t\t\t\t\tcursor: text;\n\t\t\t\t\t.mediaGroupView-content-wrap {\n\t\t\t\t\t\tclear: both;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t", "\n\t\t}\n\n\t\t// styles to support borders for layout\n\t\t[data-layout-section],\n\t\t.layoutSectionView-content-wrap {\n\t\t\t", "\n\t\t}\n\t}\n\n\t", "\n\n\t// hide separator when element is dragging on top of a layout column\n\t[data-blocks-drop-target-container] ~ [data-layout-column] > [data-layout-content]::before {\n\t\tdisplay: none;\n\t}\n\n\t.fabric-editor--full-width-mode .ProseMirror {\n\t\t[data-layout-section] {\n\t\t\t.", " {\n\t\t\t\tmargin: 0 ", "px;\n\t\t\t}\n\t\t}\n\t}\n\n\t", "\n"])), layoutSectionStyles(), "var(--ds-space-100, 8px)", _editorSharedStyles.akLayoutGutterOffset, _editorSharedStyles.akEditorSwoopCubicBezier, viewMode === 'view' ? 'default' : 'pointer', (0, _platformFeatureFlags.fg)('platform_editor_drag_and_drop_target_v2') ? 'position: relative;' : '', viewMode === 'view' || (0, _experiments.editorExperiment)('advanced_layouts', true) ? 0 : _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border, #091E4224)", _styles.LAYOUT_COLUMN_PADDING, _styles.LAYOUT_COLUMN_PADDING + ((0, _experiments.editorExperiment)('nested-dnd', true) ? 8 : 0), firstNodeWithNotMarginTop(), layoutColumnStyles(), (0, _experiments.editorExperiment)('advanced_layouts', true) ? layoutWithSeparatorBorderStyles(viewMode) : layoutBorderStyles(viewMode), (0, _experiments.editorExperiment)('advanced_layouts', true) && layoutResponsiveStyles(viewMode), _types.TableCssClassName.TABLE_CONTAINER, _consts.tableMarginFullWidthMode, (0, _experiments.editorExperiment)('nested-dnd', true) &&
|
|
66
|
+
return (0, _react.css)(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t", "\n\t\t[data-layout-section] {\n\t\t\t// TODO: Migrate away from gridSize\n\t\t\t// Recommendation: Replace directly with 7px\n\t\t\tmargin: ", " -", "px 0;\n\t\t\ttransition: border-color 0.3s ", ";\n\t\t\tcursor: ", ";\n\n\t\t\t/* Inner cursor located 26px from left */\n\t\t\t[data-layout-column] {\n\t\t\t\tflex: 1;\n\t\t\t\t", "\n\n\t\t\t\tmin-width: 0;\n\t\t\t\t/* disable 4 borders when in view mode and advanced layouts is on */\n\t\t\t\tborder: ", "px\n\t\t\t\t\tsolid ", ";\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tpadding: ", "px\n\t\t\t\t\t", "px;\n\t\t\t\tbox-sizing: border-box;\n\n\t\t\t\t> div {\n\t\t\t\t\t", "\n\n\t\t\t\t\t> .embedCardView-content-wrap:first-of-type .rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .mediaSingleView-content-wrap:first-of-type .rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .ProseMirror-gapcursor.-right:first-child\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> style:first-child\n\t\t\t\t\t\t+ .ProseMirror-gapcursor.-right\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> .ProseMirror-gapcursor.-right:first-of-type\n\t\t\t\t\t\t+ .embedCardView-content-wrap\n\t\t\t\t\t\t.rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .ProseMirror-gapcursor:first-child\n\t\t\t\t\t\t+ span\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> style:first-child\n\t\t\t\t\t\t+ .ProseMirror-gapcursor\n\t\t\t\t\t\t+ span\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* Prevent first DecisionWrapper's margin-top: 8px from shifting decisions down\n and shrinking layout's node selectable area (leniency margin) */\n\t\t\t\t\t> [data-node-type='decisionList'] {\n\t\t\t\t\t\tli:first-of-type [data-decision-wrapper] {\n\t\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t/* Make the 'content' fill the entire height of the layout column to allow click\n handler of layout section nodeview to target only data-layout-column */\n\t\t\t\t[data-layout-content] {\n\t\t\t\t\theight: 100%;\n\t\t\t\t\tcursor: text;\n\t\t\t\t\t.mediaGroupView-content-wrap {\n\t\t\t\t\t\tclear: both;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t", "\n\t\t}\n\n\t\t// styles to support borders for layout\n\t\t[data-layout-section],\n\t\t.layoutSectionView-content-wrap {\n\t\t\t", "\n\t\t}\n\t}\n\n\t", "\n\n\t// hide separator when element is dragging on top of a layout column\n\t[data-blocks-drop-target-container] ~ [data-layout-column] > [data-layout-content]::before {\n\t\tdisplay: none;\n\t}\n\n\t.fabric-editor--full-width-mode .ProseMirror {\n\t\t[data-layout-section] {\n\t\t\t.", " {\n\t\t\t\tmargin: 0 ", "px;\n\t\t\t}\n\t\t}\n\t}\n\n\t", "\n"])), layoutSectionStyles(), "var(--ds-space-100, 8px)", _editorSharedStyles.akLayoutGutterOffset, _editorSharedStyles.akEditorSwoopCubicBezier, viewMode === 'view' ? 'default' : 'pointer', (0, _platformFeatureFlags.fg)('platform_editor_drag_and_drop_target_v2') ? 'position: relative;' : '', viewMode === 'view' || (0, _experiments.editorExperiment)('advanced_layouts', true) ? 0 : _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border, #091E4224)", _styles.LAYOUT_COLUMN_PADDING, _styles.LAYOUT_COLUMN_PADDING + ((0, _experiments.editorExperiment)('nested-dnd', true) ? 8 : 0), firstNodeWithNotMarginTop(), layoutColumnStyles(), (0, _experiments.editorExperiment)('advanced_layouts', true) ? layoutWithSeparatorBorderStyles(viewMode) : layoutBorderStyles(viewMode), (0, _experiments.editorExperiment)('advanced_layouts', true) && layoutResponsiveStyles(viewMode), _types.TableCssClassName.TABLE_CONTAINER, _consts.tableMarginFullWidthMode, (0, _experiments.editorExperiment)('nested-dnd', true) && (0, _experiments.editorExperiment)('advanced_layouts', false) && ".ak-editor-content-area.appearance-full-page .ProseMirror [data-layout-section] {\n\t\t\t\tmargin: ".concat("var(--ds-space-100, 8px)", " -", _editorSharedStyles.akLayoutGutterOffset + 8, "px 0;\n\t\t\t\t}"));
|
|
70
67
|
};
|
|
@@ -6,9 +6,6 @@ import { tableMarginFullWidthMode } from '@atlaskit/editor-plugins/table/ui/cons
|
|
|
6
6
|
import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, akEditorSwoopCubicBezier, akLayoutGutterOffset, getSelectionStyles, gridMediumMaxWidth, SelectionStyle } from '@atlaskit/editor-shared-styles';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
9
|
-
const isPreRelease2 = () => {
|
|
10
|
-
return editorExperiment('advanced_layouts', true) || fg('platform_editor_advanced_layouts_pre_release_2');
|
|
11
|
-
};
|
|
12
9
|
const firstNodeWithNotMarginTop = () => editorExperiment('nested-dnd', true) ?
|
|
13
10
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
14
11
|
css`
|
|
@@ -34,7 +31,7 @@ css`
|
|
|
34
31
|
`;
|
|
35
32
|
|
|
36
33
|
// TODO handle responsive
|
|
37
|
-
const layoutColumnStyles = () =>
|
|
34
|
+
const layoutColumnStyles = () => editorExperiment('advanced_layouts', true) ?
|
|
38
35
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
39
36
|
css`
|
|
40
37
|
> [data-layout-column] {
|
|
@@ -76,7 +73,7 @@ css`
|
|
|
76
73
|
}
|
|
77
74
|
}
|
|
78
75
|
`;
|
|
79
|
-
const layoutSectionStyles = () =>
|
|
76
|
+
const layoutSectionStyles = () => editorExperiment('advanced_layouts', true) ?
|
|
80
77
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
81
78
|
css`
|
|
82
79
|
${columnLayoutResponsiveSharedStyle};
|
|
@@ -174,7 +171,7 @@ const layoutWithSeparatorBorderResponsiveStyles = (breakpoint, viewMode
|
|
|
174
171
|
&.selected.danger,
|
|
175
172
|
&.${akEditorSelectedNodeClassName}:not(.danger) {
|
|
176
173
|
[data-layout-column]:not(:first-of-type) {
|
|
177
|
-
|
|
174
|
+
@container editor-area (max-width:${breakpoint}px) {
|
|
178
175
|
${rowSeparatorStyles(viewMode)}
|
|
179
176
|
}
|
|
180
177
|
}
|
|
@@ -188,8 +185,7 @@ const layoutWithSeparatorBorderStyles = viewMode => css`
|
|
|
188
185
|
${columnSeparatorStyles(viewMode)}
|
|
189
186
|
}
|
|
190
187
|
|
|
191
|
-
&.selected.danger
|
|
192
|
-
${fg('platform_editor_advanced_layouts_breakout_resizing') ? `[data-layout-section]` : ``} {
|
|
188
|
+
&.selected.danger [data-layout-section] {
|
|
193
189
|
background-color: ${`var(--ds-background-danger, ${akEditorDeleteBackground})`};
|
|
194
190
|
|
|
195
191
|
box-shadow: 0 0 0 ${viewMode === 'view' ? 0 : akEditorSelectedBorderSize}px
|
|
@@ -200,8 +196,7 @@ const layoutWithSeparatorBorderStyles = viewMode => css`
|
|
|
200
196
|
}
|
|
201
197
|
}
|
|
202
198
|
|
|
203
|
-
&.${akEditorSelectedNodeClassName}:not(.danger)
|
|
204
|
-
${fg('platform_editor_advanced_layouts_breakout_resizing') ? `[data-layout-section]` : ``} {
|
|
199
|
+
&.${akEditorSelectedNodeClassName}:not(.danger) [data-layout-section] {
|
|
205
200
|
box-shadow: 0 0 0 ${viewMode === 'view' ? 0 : akEditorSelectedBorderSize}px
|
|
206
201
|
${"var(--ds-border-selected, #0C66E4)"};
|
|
207
202
|
border-radius: 4px;
|
|
@@ -368,7 +363,7 @@ export const layoutStyles = viewMode => css`
|
|
|
368
363
|
}
|
|
369
364
|
}
|
|
370
365
|
|
|
371
|
-
${editorExperiment('nested-dnd', true) &&
|
|
366
|
+
${editorExperiment('nested-dnd', true) && editorExperiment('advanced_layouts', false) && `.ak-editor-content-area.appearance-full-page .ProseMirror [data-layout-section] {
|
|
372
367
|
margin: ${"var(--ds-space-100, 8px)"} -${akLayoutGutterOffset + 8}px 0;
|
|
373
368
|
}`}
|
|
374
369
|
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "203.0.
|
|
2
|
+
export const version = "203.0.2";
|
|
@@ -8,9 +8,6 @@ import { tableMarginFullWidthMode } from '@atlaskit/editor-plugins/table/ui/cons
|
|
|
8
8
|
import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, akEditorSwoopCubicBezier, akLayoutGutterOffset, getSelectionStyles, gridMediumMaxWidth, SelectionStyle } from '@atlaskit/editor-shared-styles';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
10
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
11
|
-
var isPreRelease2 = function isPreRelease2() {
|
|
12
|
-
return editorExperiment('advanced_layouts', true) || fg('platform_editor_advanced_layouts_pre_release_2');
|
|
13
|
-
};
|
|
14
11
|
var firstNodeWithNotMarginTop = function firstNodeWithNotMarginTop() {
|
|
15
12
|
return editorExperiment('nested-dnd', true) ? // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
16
13
|
css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t\t> :nth-child(1 of :not(style, .ProseMirror-gapcursor, .ProseMirror-widget, span)) {\n\t\t\t\t\tmargin-top: 0;\n\t\t\t\t}\n\t\t\t"]))) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
@@ -19,12 +16,12 @@ var firstNodeWithNotMarginTop = function firstNodeWithNotMarginTop() {
|
|
|
19
16
|
|
|
20
17
|
// TODO handle responsive
|
|
21
18
|
var layoutColumnStyles = function layoutColumnStyles() {
|
|
22
|
-
return
|
|
19
|
+
return editorExperiment('advanced_layouts', true) ? // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
23
20
|
css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t\t> [data-layout-column] {\n\t\t\t\t\tmargin: 0 ", "px;\n\t\t\t\t}\n\n\t\t\t\t> [data-layout-column]:first-of-type {\n\t\t\t\t\tmargin-left: 0;\n\t\t\t\t}\n\n\t\t\t\t> [data-layout-column]:last-of-type {\n\t\t\t\t\tmargin-right: 0;\n\t\t\t\t}\n\n\t\t\t\t@media screen and (max-width: ", "px) {\n\t\t\t\t\t[data-layout-column] + [data-layout-column] {\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t> [data-layout-column].", ":not(.danger) {\n\t\t\t\t\t", ";\n\t\t\t\t\t/* layout column selection shorter after layout border has been removed */\n\t\t\t\t\t::before {\n\t\t\t\t\t\twidth: calc(100% - 8px);\n\t\t\t\t\t\tleft: 4px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"])), LAYOUT_SECTION_MARGIN / 2, gridMediumMaxWidth, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.Blanket])) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
24
21
|
css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\t\t\t\t[data-layout-column] + [data-layout-column] {\n\t\t\t\t\tmargin-left: ", "px;\n\t\t\t\t}\n\n\t\t\t\t@media screen and (max-width: ", "px) {\n\t\t\t\t\t[data-layout-column] + [data-layout-column] {\n\t\t\t\t\t\tmargin-left: 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"])), LAYOUT_SECTION_MARGIN, gridMediumMaxWidth);
|
|
25
22
|
};
|
|
26
23
|
var layoutSectionStyles = function layoutSectionStyles() {
|
|
27
|
-
return
|
|
24
|
+
return editorExperiment('advanced_layouts', true) ? // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
28
25
|
css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n\t\t\t\t", ";\n\t\t\t\t.layout-section-container [data-layout-section] {\n\t\t\t\t\t> .ProseMirror-widget {\n\t\t\t\t\t\tflex: none;\n\t\t\t\t\t\tdisplay: contents !important;\n\n\t\t\t\t\t\t&[data-blocks-drag-handle-container] div {\n\t\t\t\t\t\t\tdisplay: contents !important;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t&[data-blocks-drop-target-container] {\n\t\t\t\t\t\t\tdisplay: block !important;\n\t\t\t\t\t\t\tmargin: ", ";\n\n\t\t\t\t\t\t\t[data-drop-target-for-element] {\n\t\t\t\t\t\t\t\tposition: absolute;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t& + [data-layout-column] {\n\t\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t> [data-layout-column] {\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"])), columnLayoutResponsiveSharedStyle, "var(--ds-space-negative-050, -4px)") : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
29
26
|
css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\t\t\t\t", "\n\t\t\t"])), columnLayoutSharedStyle);
|
|
30
27
|
};
|
|
@@ -45,12 +42,12 @@ var rowSeparatorStyles = function rowSeparatorStyles(viewMode) {
|
|
|
45
42
|
var layoutWithSeparatorBorderResponsiveStyles = function layoutWithSeparatorBorderResponsiveStyles(breakpoint, viewMode
|
|
46
43
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
47
44
|
) {
|
|
48
|
-
return css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n\t&.selected,\n\t&:hover,\n\t&.selected.danger,\n\t&.", ":not(.danger) {\n\t\t[data-layout-column]:not(:first-of-type) {\n\t\t\t", " {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t}\n"])), akEditorSelectedNodeClassName,
|
|
45
|
+
return css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n\t&.selected,\n\t&:hover,\n\t&.selected.danger,\n\t&.", ":not(.danger) {\n\t\t[data-layout-column]:not(:first-of-type) {\n\t\t\t@container editor-area (max-width:", "px) {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t}\n"])), akEditorSelectedNodeClassName, breakpoint, rowSeparatorStyles(viewMode));
|
|
49
46
|
};
|
|
50
47
|
|
|
51
48
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
52
49
|
var layoutWithSeparatorBorderStyles = function layoutWithSeparatorBorderStyles(viewMode) {
|
|
53
|
-
return css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n\t&.selected [data-layout-column]:not(:first-of-type),\n\t&:hover [data-layout-column]:not(:first-of-type) {\n\t\t", "\n\t}\n\n\t&.selected.danger
|
|
50
|
+
return css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n\t&.selected [data-layout-column]:not(:first-of-type),\n\t&:hover [data-layout-column]:not(:first-of-type) {\n\t\t", "\n\t}\n\n\t&.selected.danger [data-layout-section] {\n\t\tbackground-color: ", ";\n\n\t\tbox-shadow: 0 0 0 ", "px\n\t\t\t", ";\n\t\tborder-radius: 4px;\n\t\t[data-layout-column]:not(:first-of-type) {\n\t\t\t", "\n\t\t}\n\t}\n\n\t&.", ":not(.danger) [data-layout-section] {\n\t\tbox-shadow: 0 0 0 ", "px\n\t\t\t", ";\n\t\tborder-radius: 4px;\n\t\tbackground-color: ", ";\n\t\t[data-layout-column] {\n\t\t\t", "\n\t\t\tborder: 0px;\n\t\t\t::before {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t}\n\t\t[data-layout-column]:not(:first-of-type) {\n\t\t\t", "\n\t\t}\n\t}\n"])), columnSeparatorStyles(viewMode), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), viewMode === 'view' ? 0 : akEditorSelectedBorderSize, akEditorDeleteBorder, columnSeparatorStyles(viewMode), akEditorSelectedNodeClassName, viewMode === 'view' ? 0 : akEditorSelectedBorderSize, "var(--ds-border-selected, #0C66E4)", "var(--ds-background-selected, #E9F2FF)", getSelectionStyles([SelectionStyle.Blanket]), columnSeparatorStyles(viewMode));
|
|
54
51
|
};
|
|
55
52
|
var layoutResponsiveStyles = function layoutResponsiveStyles(viewMode) {
|
|
56
53
|
return (// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
@@ -60,5 +57,5 @@ var layoutResponsiveStyles = function layoutResponsiveStyles(viewMode) {
|
|
|
60
57
|
|
|
61
58
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
62
59
|
export var layoutStyles = function layoutStyles(viewMode) {
|
|
63
|
-
return css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", "\n\t\t[data-layout-section] {\n\t\t\t// TODO: Migrate away from gridSize\n\t\t\t// Recommendation: Replace directly with 7px\n\t\t\tmargin: ", " -", "px 0;\n\t\t\ttransition: border-color 0.3s ", ";\n\t\t\tcursor: ", ";\n\n\t\t\t/* Inner cursor located 26px from left */\n\t\t\t[data-layout-column] {\n\t\t\t\tflex: 1;\n\t\t\t\t", "\n\n\t\t\t\tmin-width: 0;\n\t\t\t\t/* disable 4 borders when in view mode and advanced layouts is on */\n\t\t\t\tborder: ", "px\n\t\t\t\t\tsolid ", ";\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tpadding: ", "px\n\t\t\t\t\t", "px;\n\t\t\t\tbox-sizing: border-box;\n\n\t\t\t\t> div {\n\t\t\t\t\t", "\n\n\t\t\t\t\t> .embedCardView-content-wrap:first-of-type .rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .mediaSingleView-content-wrap:first-of-type .rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .ProseMirror-gapcursor.-right:first-child\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> style:first-child\n\t\t\t\t\t\t+ .ProseMirror-gapcursor.-right\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> .ProseMirror-gapcursor.-right:first-of-type\n\t\t\t\t\t\t+ .embedCardView-content-wrap\n\t\t\t\t\t\t.rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .ProseMirror-gapcursor:first-child\n\t\t\t\t\t\t+ span\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> style:first-child\n\t\t\t\t\t\t+ .ProseMirror-gapcursor\n\t\t\t\t\t\t+ span\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* Prevent first DecisionWrapper's margin-top: 8px from shifting decisions down\n and shrinking layout's node selectable area (leniency margin) */\n\t\t\t\t\t> [data-node-type='decisionList'] {\n\t\t\t\t\t\tli:first-of-type [data-decision-wrapper] {\n\t\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t/* Make the 'content' fill the entire height of the layout column to allow click\n handler of layout section nodeview to target only data-layout-column */\n\t\t\t\t[data-layout-content] {\n\t\t\t\t\theight: 100%;\n\t\t\t\t\tcursor: text;\n\t\t\t\t\t.mediaGroupView-content-wrap {\n\t\t\t\t\t\tclear: both;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t", "\n\t\t}\n\n\t\t// styles to support borders for layout\n\t\t[data-layout-section],\n\t\t.layoutSectionView-content-wrap {\n\t\t\t", "\n\t\t}\n\t}\n\n\t", "\n\n\t// hide separator when element is dragging on top of a layout column\n\t[data-blocks-drop-target-container] ~ [data-layout-column] > [data-layout-content]::before {\n\t\tdisplay: none;\n\t}\n\n\t.fabric-editor--full-width-mode .ProseMirror {\n\t\t[data-layout-section] {\n\t\t\t.", " {\n\t\t\t\tmargin: 0 ", "px;\n\t\t\t}\n\t\t}\n\t}\n\n\t", "\n"])), layoutSectionStyles(), "var(--ds-space-100, 8px)", akLayoutGutterOffset, akEditorSwoopCubicBezier, viewMode === 'view' ? 'default' : 'pointer', fg('platform_editor_drag_and_drop_target_v2') ? 'position: relative;' : '', viewMode === 'view' || editorExperiment('advanced_layouts', true) ? 0 : akEditorSelectedBorderSize, "var(--ds-border, #091E4224)", LAYOUT_COLUMN_PADDING, LAYOUT_COLUMN_PADDING + (editorExperiment('nested-dnd', true) ? 8 : 0), firstNodeWithNotMarginTop(), layoutColumnStyles(), editorExperiment('advanced_layouts', true) ? layoutWithSeparatorBorderStyles(viewMode) : layoutBorderStyles(viewMode), editorExperiment('advanced_layouts', true) && layoutResponsiveStyles(viewMode), TableCssClassName.TABLE_CONTAINER, tableMarginFullWidthMode, editorExperiment('nested-dnd', true) &&
|
|
60
|
+
return css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", "\n\t\t[data-layout-section] {\n\t\t\t// TODO: Migrate away from gridSize\n\t\t\t// Recommendation: Replace directly with 7px\n\t\t\tmargin: ", " -", "px 0;\n\t\t\ttransition: border-color 0.3s ", ";\n\t\t\tcursor: ", ";\n\n\t\t\t/* Inner cursor located 26px from left */\n\t\t\t[data-layout-column] {\n\t\t\t\tflex: 1;\n\t\t\t\t", "\n\n\t\t\t\tmin-width: 0;\n\t\t\t\t/* disable 4 borders when in view mode and advanced layouts is on */\n\t\t\t\tborder: ", "px\n\t\t\t\t\tsolid ", ";\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tpadding: ", "px\n\t\t\t\t\t", "px;\n\t\t\t\tbox-sizing: border-box;\n\n\t\t\t\t> div {\n\t\t\t\t\t", "\n\n\t\t\t\t\t> .embedCardView-content-wrap:first-of-type .rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .mediaSingleView-content-wrap:first-of-type .rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .ProseMirror-gapcursor.-right:first-child\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> style:first-child\n\t\t\t\t\t\t+ .ProseMirror-gapcursor.-right\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> .ProseMirror-gapcursor.-right:first-of-type\n\t\t\t\t\t\t+ .embedCardView-content-wrap\n\t\t\t\t\t\t.rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t> .ProseMirror-gapcursor:first-child\n\t\t\t\t\t\t+ span\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item,\n\t\t\t\t\t> style:first-child\n\t\t\t\t\t\t+ .ProseMirror-gapcursor\n\t\t\t\t\t\t+ span\n\t\t\t\t\t\t+ .mediaSingleView-content-wrap\n\t\t\t\t\t\t.rich-media-item {\n\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* Prevent first DecisionWrapper's margin-top: 8px from shifting decisions down\n and shrinking layout's node selectable area (leniency margin) */\n\t\t\t\t\t> [data-node-type='decisionList'] {\n\t\t\t\t\t\tli:first-of-type [data-decision-wrapper] {\n\t\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t/* Make the 'content' fill the entire height of the layout column to allow click\n handler of layout section nodeview to target only data-layout-column */\n\t\t\t\t[data-layout-content] {\n\t\t\t\t\theight: 100%;\n\t\t\t\t\tcursor: text;\n\t\t\t\t\t.mediaGroupView-content-wrap {\n\t\t\t\t\t\tclear: both;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t", "\n\t\t}\n\n\t\t// styles to support borders for layout\n\t\t[data-layout-section],\n\t\t.layoutSectionView-content-wrap {\n\t\t\t", "\n\t\t}\n\t}\n\n\t", "\n\n\t// hide separator when element is dragging on top of a layout column\n\t[data-blocks-drop-target-container] ~ [data-layout-column] > [data-layout-content]::before {\n\t\tdisplay: none;\n\t}\n\n\t.fabric-editor--full-width-mode .ProseMirror {\n\t\t[data-layout-section] {\n\t\t\t.", " {\n\t\t\t\tmargin: 0 ", "px;\n\t\t\t}\n\t\t}\n\t}\n\n\t", "\n"])), layoutSectionStyles(), "var(--ds-space-100, 8px)", akLayoutGutterOffset, akEditorSwoopCubicBezier, viewMode === 'view' ? 'default' : 'pointer', fg('platform_editor_drag_and_drop_target_v2') ? 'position: relative;' : '', viewMode === 'view' || editorExperiment('advanced_layouts', true) ? 0 : akEditorSelectedBorderSize, "var(--ds-border, #091E4224)", LAYOUT_COLUMN_PADDING, LAYOUT_COLUMN_PADDING + (editorExperiment('nested-dnd', true) ? 8 : 0), firstNodeWithNotMarginTop(), layoutColumnStyles(), editorExperiment('advanced_layouts', true) ? layoutWithSeparatorBorderStyles(viewMode) : layoutBorderStyles(viewMode), editorExperiment('advanced_layouts', true) && layoutResponsiveStyles(viewMode), TableCssClassName.TABLE_CONTAINER, tableMarginFullWidthMode, editorExperiment('nested-dnd', true) && editorExperiment('advanced_layouts', false) && ".ak-editor-content-area.appearance-full-page .ProseMirror [data-layout-section] {\n\t\t\t\tmargin: ".concat("var(--ds-space-100, 8px)", " -", akLayoutGutterOffset + 8, "px 0;\n\t\t\t\t}"));
|
|
64
61
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "203.0.
|
|
2
|
+
export var version = "203.0.2";
|
|
@@ -2969,7 +2969,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2969
2969
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2970
2970
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2971
2971
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
2972
|
-
actions: import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI;
|
|
2973
2972
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2974
2973
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2975
2974
|
sharedState: {
|
|
@@ -2983,7 +2982,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2983
2982
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2984
2983
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2985
2984
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
2986
|
-
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2985
|
+
} & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2987
2986
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2988
2987
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
2989
2988
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -4601,7 +4600,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4601
4600
|
batchSteps: import("@atlaskit/editor-plugin-batch-attribute-updates").BatchStepsAction;
|
|
4602
4601
|
};
|
|
4603
4602
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
4604
|
-
actions: import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI;
|
|
4605
4603
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4606
4604
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
4607
4605
|
sharedState: {
|
|
@@ -4615,7 +4613,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4615
4613
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4616
4614
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4617
4615
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
4618
|
-
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4616
|
+
} & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4619
4617
|
dependencies: [];
|
|
4620
4618
|
actions: {
|
|
4621
4619
|
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
@@ -3017,7 +3017,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3017
3017
|
}, FeatureFlags>>];
|
|
3018
3018
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3019
3019
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
3020
|
-
actions: import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI;
|
|
3021
3020
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3022
3021
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3023
3022
|
sharedState: {
|
|
@@ -3031,7 +3030,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3031
3030
|
}, FeatureFlags>>];
|
|
3032
3031
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3033
3032
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
3034
|
-
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3033
|
+
} & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3035
3034
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3036
3035
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
3037
3036
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -4649,7 +4648,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4649
4648
|
batchSteps: import("@atlaskit/editor-plugins/batch-attribute-updates").BatchStepsAction;
|
|
4650
4649
|
};
|
|
4651
4650
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
4652
|
-
actions: import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI;
|
|
4653
4651
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4654
4652
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
4655
4653
|
sharedState: {
|
|
@@ -4663,7 +4661,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4663
4661
|
}, FeatureFlags>>];
|
|
4664
4662
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4665
4663
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
4666
|
-
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4664
|
+
} & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4667
4665
|
dependencies: [];
|
|
4668
4666
|
actions: {
|
|
4669
4667
|
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
@@ -2969,7 +2969,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2969
2969
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2970
2970
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2971
2971
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
2972
|
-
actions: import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI;
|
|
2973
2972
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2974
2973
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2975
2974
|
sharedState: {
|
|
@@ -2983,7 +2982,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2983
2982
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2984
2983
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2985
2984
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
2986
|
-
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2985
|
+
} & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2987
2986
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
2988
2987
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
2989
2988
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -4601,7 +4600,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4601
4600
|
batchSteps: import("@atlaskit/editor-plugin-batch-attribute-updates").BatchStepsAction;
|
|
4602
4601
|
};
|
|
4603
4602
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
4604
|
-
actions: import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI;
|
|
4605
4603
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4606
4604
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
4607
4605
|
sharedState: {
|
|
@@ -4615,7 +4613,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4615
4613
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4616
4614
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4617
4615
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
4618
|
-
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4616
|
+
} & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4619
4617
|
dependencies: [];
|
|
4620
4618
|
actions: {
|
|
4621
4619
|
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
@@ -3644,7 +3644,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3644
3644
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3645
3645
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>,
|
|
3646
3646
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
3647
|
-
actions: import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI;
|
|
3648
3647
|
dependencies: [
|
|
3649
3648
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3650
3649
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -3662,7 +3661,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3662
3661
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3663
3662
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
3664
3663
|
];
|
|
3665
|
-
}, undefined>,
|
|
3664
|
+
} & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>,
|
|
3666
3665
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3667
3666
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3668
3667
|
}, undefined>,
|
|
@@ -5620,7 +5619,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5620
5619
|
};
|
|
5621
5620
|
}, undefined>,
|
|
5622
5621
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
5623
|
-
actions: import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI;
|
|
5624
5622
|
dependencies: [
|
|
5625
5623
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5626
5624
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -5638,7 +5636,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5638
5636
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5639
5637
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
5640
5638
|
];
|
|
5641
|
-
}, undefined>,
|
|
5639
|
+
} & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>,
|
|
5642
5640
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
5643
5641
|
dependencies: [
|
|
5644
5642
|
];
|
|
@@ -3692,7 +3692,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3692
3692
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3693
3693
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>,
|
|
3694
3694
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
3695
|
-
actions: import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI;
|
|
3696
3695
|
dependencies: [
|
|
3697
3696
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3698
3697
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -3710,7 +3709,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3710
3709
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3711
3710
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
3712
3711
|
];
|
|
3713
|
-
}, undefined>,
|
|
3712
|
+
} & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>,
|
|
3714
3713
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3715
3714
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3716
3715
|
}, undefined>,
|
|
@@ -5668,7 +5667,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5668
5667
|
};
|
|
5669
5668
|
}, undefined>,
|
|
5670
5669
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
5671
|
-
actions: import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI;
|
|
5672
5670
|
dependencies: [
|
|
5673
5671
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5674
5672
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -5686,7 +5684,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5686
5684
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5687
5685
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
5688
5686
|
];
|
|
5689
|
-
}, undefined>,
|
|
5687
|
+
} & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>,
|
|
5690
5688
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
5691
5689
|
dependencies: [
|
|
5692
5690
|
];
|
|
@@ -3644,7 +3644,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3644
3644
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3645
3645
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>,
|
|
3646
3646
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
3647
|
-
actions: import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI;
|
|
3648
3647
|
dependencies: [
|
|
3649
3648
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3650
3649
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -3662,7 +3661,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3662
3661
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3663
3662
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
3664
3663
|
];
|
|
3665
|
-
}, undefined>,
|
|
3664
|
+
} & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>,
|
|
3666
3665
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3667
3666
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
3668
3667
|
}, undefined>,
|
|
@@ -5620,7 +5619,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5620
5619
|
};
|
|
5621
5620
|
}, undefined>,
|
|
5622
5621
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
5623
|
-
actions: import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI;
|
|
5624
5622
|
dependencies: [
|
|
5625
5623
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5626
5624
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -5638,7 +5636,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5638
5636
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5639
5637
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
5640
5638
|
];
|
|
5641
|
-
}, undefined>,
|
|
5639
|
+
} & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>,
|
|
5642
5640
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
5643
5641
|
dependencies: [
|
|
5644
5642
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "203.0.
|
|
3
|
+
"version": "203.0.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"@atlaskit/button": "^20.3.0",
|
|
46
46
|
"@atlaskit/editor-common": "^95.10.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.21.0",
|
|
48
|
-
"@atlaskit/editor-plugin-quick-insert": "1.7.
|
|
48
|
+
"@atlaskit/editor-plugin-quick-insert": "1.7.2",
|
|
49
49
|
"@atlaskit/editor-plugins": "^5.8.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
52
52
|
"@atlaskit/emoji": "^67.11.0",
|
|
53
|
-
"@atlaskit/icon": "^
|
|
53
|
+
"@atlaskit/icon": "^23.0.0",
|
|
54
54
|
"@atlaskit/media-card": "^78.15.0",
|
|
55
55
|
"@atlaskit/mention": "^23.4.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
57
57
|
"@atlaskit/task-decision": "^17.11.0",
|
|
58
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
58
|
+
"@atlaskit/tmp-editor-statsig": "^2.22.0",
|
|
59
59
|
"@atlaskit/tokens": "^2.4.0",
|
|
60
60
|
"@atlaskit/tooltip": "^18.9.0",
|
|
61
61
|
"@atlaskit/width-detector": "^4.3.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/adf-utils": "^19.14.0",
|
|
85
85
|
"@atlaskit/analytics-listeners": "^8.13.0",
|
|
86
86
|
"@atlaskit/collab-provider": "10.2.0",
|
|
87
|
-
"@atlaskit/editor-plugin-annotation": "1.25.
|
|
87
|
+
"@atlaskit/editor-plugin-annotation": "1.25.5",
|
|
88
88
|
"@atlaskit/editor-plugin-card": "^4.4.0",
|
|
89
89
|
"@atlaskit/editor-plugin-list": "^3.9.0",
|
|
90
90
|
"@atlaskit/editor-plugin-paste": "^2.0.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@atlaskit/modal-dialog": "^12.18.0",
|
|
97
97
|
"@atlaskit/primitives": "^13.3.0",
|
|
98
98
|
"@atlaskit/renderer": "^112.6.0",
|
|
99
|
-
"@atlaskit/smart-card": "^32.
|
|
99
|
+
"@atlaskit/smart-card": "^32.5.0",
|
|
100
100
|
"@atlaskit/synchrony-test-helpers": "^3.0.0",
|
|
101
101
|
"@atlaskit/toggle": "^13.4.0",
|
|
102
102
|
"@atlaskit/util-data-test": "^17.13.0",
|
|
@@ -292,13 +292,6 @@
|
|
|
292
292
|
"platform_editor_react_editor_view_react_18": {
|
|
293
293
|
"type": "boolean"
|
|
294
294
|
},
|
|
295
|
-
"platform_editor_advanced_layouts_pre_release_1": {
|
|
296
|
-
"type": "boolean"
|
|
297
|
-
},
|
|
298
|
-
"platform_editor_advanced_layouts_pre_release_2": {
|
|
299
|
-
"type": "boolean",
|
|
300
|
-
"referenceOnly": true
|
|
301
|
-
},
|
|
302
295
|
"platform_editor_utilize_linebreakreplacement": {
|
|
303
296
|
"type": "boolean",
|
|
304
297
|
"referenceOnly": true
|
|
@@ -329,10 +322,6 @@
|
|
|
329
322
|
"platform_editor_fix_api_strict_mode": {
|
|
330
323
|
"type": "boolean"
|
|
331
324
|
},
|
|
332
|
-
"platform_editor_advanced_layouts_breakout_resizing": {
|
|
333
|
-
"type": "boolean",
|
|
334
|
-
"referenceOnly": true
|
|
335
|
-
},
|
|
336
325
|
"platform_editor_use_nested_table_pm_nodes": {
|
|
337
326
|
"type": "boolean",
|
|
338
327
|
"referenceOnly": true
|
|
@@ -356,6 +345,18 @@
|
|
|
356
345
|
"platform_editor_hide_external_media_badge": {
|
|
357
346
|
"type": "boolean",
|
|
358
347
|
"referenceOnly": true
|
|
348
|
+
},
|
|
349
|
+
"platform_editor_set_alignment_when_resized": {
|
|
350
|
+
"type": "boolean",
|
|
351
|
+
"referenceOnly": true
|
|
352
|
+
},
|
|
353
|
+
"platform_editor_table_drag_menu_mount_point_fix": {
|
|
354
|
+
"type": "boolean",
|
|
355
|
+
"referenceOnly": true
|
|
356
|
+
},
|
|
357
|
+
"platform_editor_media_block_default": {
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"referenceOnly": true
|
|
359
360
|
}
|
|
360
361
|
},
|
|
361
362
|
"stricter": {
|