@atlaskit/editor-common 110.13.2 → 110.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/resizer/useBreakoutGuidelines.js +3 -4
- package/dist/cjs/selection/utils.js +6 -22
- package/dist/cjs/styles/shared/task-decision.js +2 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/MediaSingle/index.js +1 -1
- package/dist/cjs/ui/MediaSingle/styled.js +2 -3
- package/dist/cjs/utils/validator.js +13 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/resizer/useBreakoutGuidelines.js +3 -4
- package/dist/es2019/selection/utils.js +6 -22
- package/dist/es2019/styles/shared/task-decision.js +2 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/styled.js +3 -5
- package/dist/es2019/utils/validator.js +13 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/resizer/useBreakoutGuidelines.js +3 -4
- package/dist/esm/selection/utils.js +6 -22
- package/dist/esm/styles/shared/task-decision.js +2 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/MediaSingle/index.js +1 -1
- package/dist/esm/ui/MediaSingle/styled.js +2 -3
- package/dist/esm/utils/validator.js +13 -0
- package/dist/types/styles/shared/task-decision.d.ts +1 -0
- package/dist/types-ts4.5/styles/shared/task-decision.d.ts +1 -0
- package/package.json +10 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.14.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5771b6f88f16a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5771b6f88f16a) -
|
|
8
|
+
Clean up platform_editor_fix_image_size_diff_during_ssr
|
|
9
|
+
- [`637c29651f8ab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/637c29651f8ab) -
|
|
10
|
+
clean up platform_editor_table_drag_menu_flickers_fix
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 110.14.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [`5167552fe1a93`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5167552fe1a93) -
|
|
18
|
+
[EDITOR-2339] Bump @atlaskit/adf-schema to 51.3.0
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [`cebe32372285d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cebe32372285d) -
|
|
23
|
+
Tidy up feature gate
|
|
24
|
+
- [`c21648c080e0c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c21648c080e0c) -
|
|
25
|
+
[ux] EDITOR-2291: Tighten list and task spacing in dense content mode
|
|
26
|
+
- [`2bdec5e9ec1c9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2bdec5e9ec1c9) -
|
|
27
|
+
[EDITOR-442] Cleans up FG platform_editor_add_media_from_url_rollout
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
|
|
3
30
|
## 110.13.2
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "
|
|
19
|
+
var packageVersion = "110.14.0";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
|
@@ -9,7 +9,6 @@ exports.useBreakoutGuidelines = useBreakoutGuidelines;
|
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
14
13
|
var SNAP_GAP = exports.SNAP_GAP = 8;
|
|
15
14
|
var GUIDELINE_KEYS = {
|
|
@@ -41,7 +40,7 @@ function useBreakoutGuidelines(getEditorWidth, isResizing) {
|
|
|
41
40
|
// But the lineLength variable here is being used like a const 760.
|
|
42
41
|
// when the page is full width, the calculation of wide is wrong.
|
|
43
42
|
// Actuall the wide is the wide breakout point, which is
|
|
44
|
-
var wide = (0, _experiments.editorExperiment)('single_column_layouts', true)
|
|
43
|
+
var wide = (0, _experiments.editorExperiment)('single_column_layouts', true) ? _editorSharedStyles.akEditorCalculatedWideLayoutWidth : wideCalWithRatio;
|
|
45
44
|
var padding = width && width <= _editorSharedStyles.akEditorFullPageNarrowBreakout && (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
|
|
46
45
|
exposure: true
|
|
47
46
|
}) ? _editorSharedStyles.akEditorGutterPaddingReduced : (0, _editorSharedStyles.akEditorGutterPaddingDynamic)();
|
|
@@ -52,7 +51,7 @@ function useBreakoutGuidelines(getEditorWidth, isResizing) {
|
|
|
52
51
|
fullWidth: fullWidth,
|
|
53
52
|
// When page is full width, lineLength from widthState can be much wider than 760.
|
|
54
53
|
// But the lineLength variable here is being used like a const 760.
|
|
55
|
-
lineLength: (0, _experiments.editorExperiment)('single_column_layouts', true)
|
|
54
|
+
lineLength: (0, _experiments.editorExperiment)('single_column_layouts', true) ? _editorSharedStyles.akEditorDefaultLayoutWidth : lineLength
|
|
56
55
|
};
|
|
57
56
|
}, [widthState, isResizing, dynamicFullWidthGuidelineOffset]),
|
|
58
57
|
lineLength = _useMemo.lineLength,
|
|
@@ -61,7 +60,7 @@ function useBreakoutGuidelines(getEditorWidth, isResizing) {
|
|
|
61
60
|
|
|
62
61
|
// calculate snapping width
|
|
63
62
|
var defaultSnappingWidths = (0, _react.useMemo)(function () {
|
|
64
|
-
if (!fullWidth || !wide || !lineLength || fullWidth <= ((0, _experiments.editorExperiment)('single_column_layouts', true)
|
|
63
|
+
if (!fullWidth || !wide || !lineLength || fullWidth <= ((0, _experiments.editorExperiment)('single_column_layouts', true) ? _editorSharedStyles.akEditorDefaultLayoutWidth : lineLength)) {
|
|
65
64
|
return null;
|
|
66
65
|
}
|
|
67
66
|
if (fullWidth - wide > SNAP_GAP) {
|
|
@@ -11,7 +11,6 @@ exports.endPositionOfParent = endPositionOfParent;
|
|
|
11
11
|
exports.isSelectionAtStartOfNode = exports.isSelectionAtEndOfNode = exports.expandSelectionBounds = void 0;
|
|
12
12
|
exports.startPositionOfParent = startPositionOfParent;
|
|
13
13
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _selection = require("./gap-cursor/selection");
|
|
16
15
|
var isSelectionAtStartOfNode = exports.isSelectionAtStartOfNode = function isSelectionAtStartOfNode($pos, parentNode) {
|
|
17
16
|
if (!parentNode) {
|
|
@@ -99,30 +98,15 @@ var expandSelectionBounds = exports.expandSelectionBounds = function expandSelec
|
|
|
99
98
|
var selectionIsAcrossDiffParents = selectionHasGrandparent && !$to.parent.isTextblock && !$to.sameParent($from);
|
|
100
99
|
var selectionIsAcrossTextBlocksWithDiffParents = selectionHasGrandparent && $to.parent.isTextblock && $to.before(toDepth - 1) !== $from.before(fromDepth - 1);
|
|
101
100
|
if (toDepth > fromDepth) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
selectionEnd = $to.after(sharedDepth);
|
|
105
|
-
} else {
|
|
106
|
-
selectionStart = fromDepth ? $from.before() : $from.pos;
|
|
107
|
-
selectionEnd = fromDepth ? $to.after(fromDepth) : $to.after(1);
|
|
108
|
-
}
|
|
101
|
+
selectionStart = $from.before(sharedDepth);
|
|
102
|
+
selectionEnd = $to.after(sharedDepth);
|
|
109
103
|
} else if (toDepth < fromDepth) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
selectionEnd = $to.after(sharedDepth);
|
|
113
|
-
} else {
|
|
114
|
-
selectionStart = toDepth ? $from.before(toDepth) : $from.before(1);
|
|
115
|
-
selectionEnd = toDepth ? $to.after() : $to.pos;
|
|
116
|
-
}
|
|
104
|
+
selectionStart = $from.before(sharedDepth);
|
|
105
|
+
selectionEnd = $to.after(sharedDepth);
|
|
117
106
|
} else if (selectionIsAcrossDiffParents || selectionIsAcrossTextBlocksWithDiffParents) {
|
|
118
107
|
// when selection from/to share same depth with different parents, hoist up the selection to the parent of the highest depth in the selection
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
selectionEnd = $to.after(sharedDepth);
|
|
122
|
-
} else {
|
|
123
|
-
selectionStart = $from.before(fromDepth - 1);
|
|
124
|
-
selectionEnd = $to.after(toDepth - 1);
|
|
125
|
-
}
|
|
108
|
+
selectionStart = $from.before(sharedDepth);
|
|
109
|
+
selectionEnd = $to.after(sharedDepth);
|
|
126
110
|
} else if (!$from.node().inlineContent) {
|
|
127
111
|
// when selection might be a Node selection, return what was passed in
|
|
128
112
|
return {
|
|
@@ -7,6 +7,8 @@ exports.TaskDecisionSharedCssClassName = void 0;
|
|
|
7
7
|
var TaskDecisionSharedCssClassName = exports.TaskDecisionSharedCssClassName = {
|
|
8
8
|
DECISION_CONTAINER: 'decisionItemView-content-wrap',
|
|
9
9
|
TASK_CONTAINER: 'taskItemView-content-wrap',
|
|
10
|
+
//NOTE: value is a selector (data attribute), not a class name
|
|
11
|
+
TASK_LIST_CONTAINER: '[data-node-type="actionList]',
|
|
10
12
|
TASK_ITEM: 'task-item',
|
|
11
13
|
TASK_CHECKBOX_CONTAINER: 'task-item-checkbox-wrap'
|
|
12
14
|
};
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "
|
|
27
|
+
var packageVersion = "110.14.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -132,7 +132,7 @@ function MediaSingle(_ref) {
|
|
|
132
132
|
nodeType: nodeType
|
|
133
133
|
})
|
|
134
134
|
// eslint-disable-next-line react/jsx-props-no-spreading, @atlaskit/platform/no-preconditioning
|
|
135
|
-
},
|
|
135
|
+
}, !(0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') ? {} : {
|
|
136
136
|
'data-layout': layout
|
|
137
137
|
}, {
|
|
138
138
|
"data-width": mediaSingleWidth,
|
|
@@ -15,7 +15,6 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
|
|
|
15
15
|
var _react = _interopRequireDefault(require("react"));
|
|
16
16
|
var _react2 = require("@emotion/react");
|
|
17
17
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
18
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
18
|
var _isSsr = require("../../core-utils/is-ssr");
|
|
20
19
|
var _utils = require("../../utils");
|
|
21
20
|
var _breakout = require("../../utils/breakout");
|
|
@@ -229,7 +228,7 @@ var MediaSingleDimensionHelper = exports.MediaSingleDimensionHelper = function M
|
|
|
229
228
|
because full-width layout will remain, causing node to be edge-to-edge */
|
|
230
229
|
!isExtendedResizeExperienceOn && (0, _react2.css)({
|
|
231
230
|
minWidth: '100%'
|
|
232
|
-
}), (0, _isSsr.isSSR)() && !calculatedMaxWidth.endsWith('%')
|
|
231
|
+
}), (0, _isSsr.isSSR)() && !calculatedMaxWidth.endsWith('%') ? Math.max(parseInt(calculatedWidth.replace('px', '')), parseInt(calculatedMaxWidth.replace('px', ''))) + 'px' : calculatedMaxWidth, isExtendedResizeExperienceOn && "&[class*='is-resizing'] {\n .new-file-experience-wrapper {\n box-shadow: none !important;\n }\n\n ".concat(!isNestedNode && _utils.nonWrappedLayouts.includes(layout) && "margin-left: 50%;\n transform: translateX(-50%);", "\n }"), float(layout), calcMargin(layout), isNestedNode ? /* Make nested node appear responsive when resizing table cell */"max-width: 100%;" : _utils.nonWrappedLayouts.includes(layout) && "margin-left: 50%;\n transform: translateX(-50%);", isImageAligned(layout));
|
|
233
232
|
};
|
|
234
233
|
var RenderFallbackContainer = function RenderFallbackContainer(_ref2) {
|
|
235
234
|
var hasFallbackContainer = _ref2.hasFallbackContainer,
|
|
@@ -242,7 +241,7 @@ var RenderFallbackContainer = function RenderFallbackContainer(_ref2) {
|
|
|
242
241
|
|
|
243
242
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
244
243
|
var mediaWrapperStyle = exports.mediaWrapperStyle = function mediaWrapperStyle(props) {
|
|
245
|
-
return (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\n\t", "\n\n\t/* Editor */\n & > figure {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t/* Comments on media project adds comment badge as child of the media wrapper,\n\tthus we need to exclude it so that style is applied to intended div
|
|
244
|
+
return (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\n\t", "\n\n\t/* Editor */\n & > figure {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t/* Comments on media project adds comment badge as child of the media wrapper,\n\tthus we need to exclude it so that style is applied to intended div */\n\t& > div:not([data-media-badges='true']) {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t& * [data-mark-annotation-type='inlineComment'] {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n\n\t&[data-node-type='embedCard'] > div {\n\t\twidth: 100%;\n\t}\n\n\t/* Renderer */\n\t[data-node-type='media'] {\n\t\tposition: static !important;\n\n\t\t> div {\n\t\t\tposition: absolute;\n\t\t\theight: 100%;\n\t\t}\n\t}\n"])), RenderFallbackContainer(props), props.hasFallbackContainer ? 'absolute' : 'relative', props.hasFallbackContainer ? 'absolute' : 'relative');
|
|
246
245
|
};
|
|
247
246
|
var MediaWrapper = exports.MediaWrapper = function MediaWrapper(_ref3) {
|
|
248
247
|
var children = _ref3.children,
|
|
@@ -863,6 +863,19 @@ var getValidNode = exports.getValidNode = function getValidNode(originalNode) {
|
|
|
863
863
|
return getValidUnknownNode(node);
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
|
+
case 'bodiedSyncBlock':
|
|
867
|
+
{
|
|
868
|
+
if (adfStage === 'stage0' && attrs && Array.isArray(content) && content.length > 0 && (0, _expValEquals.expValEquals)('platform_synced_block', 'isEnabled', true)) {
|
|
869
|
+
return {
|
|
870
|
+
type: type,
|
|
871
|
+
attrs: attrs,
|
|
872
|
+
marks: marks,
|
|
873
|
+
content: content
|
|
874
|
+
};
|
|
875
|
+
} else {
|
|
876
|
+
return getValidUnknownNode(node);
|
|
877
|
+
}
|
|
878
|
+
}
|
|
866
879
|
}
|
|
867
880
|
}
|
|
868
881
|
return getValidUnknownNode(node);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "
|
|
4
|
+
const packageVersion = "110.14.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useCallback, useMemo, useState } from 'react';
|
|
2
2
|
import { akEditorCalculatedWideLayoutWidth, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
5
4
|
export const SNAP_GAP = 8;
|
|
6
5
|
const GUIDELINE_KEYS = {
|
|
@@ -33,7 +32,7 @@ export function useBreakoutGuidelines(getEditorWidth, isResizing, dynamicFullWid
|
|
|
33
32
|
// But the lineLength variable here is being used like a const 760.
|
|
34
33
|
// when the page is full width, the calculation of wide is wrong.
|
|
35
34
|
// Actuall the wide is the wide breakout point, which is
|
|
36
|
-
const wide = editorExperiment('single_column_layouts', true)
|
|
35
|
+
const wide = editorExperiment('single_column_layouts', true) ? akEditorCalculatedWideLayoutWidth : wideCalWithRatio;
|
|
37
36
|
const padding = width && width <= akEditorFullPageNarrowBreakout && editorExperiment('platform_editor_preview_panel_responsiveness', true, {
|
|
38
37
|
exposure: true
|
|
39
38
|
}) ? akEditorGutterPaddingReduced : akEditorGutterPaddingDynamic();
|
|
@@ -44,13 +43,13 @@ export function useBreakoutGuidelines(getEditorWidth, isResizing, dynamicFullWid
|
|
|
44
43
|
fullWidth,
|
|
45
44
|
// When page is full width, lineLength from widthState can be much wider than 760.
|
|
46
45
|
// But the lineLength variable here is being used like a const 760.
|
|
47
|
-
lineLength: editorExperiment('single_column_layouts', true)
|
|
46
|
+
lineLength: editorExperiment('single_column_layouts', true) ? akEditorDefaultLayoutWidth : lineLength
|
|
48
47
|
};
|
|
49
48
|
}, [widthState, isResizing, dynamicFullWidthGuidelineOffset]);
|
|
50
49
|
|
|
51
50
|
// calculate snapping width
|
|
52
51
|
const defaultSnappingWidths = useMemo(() => {
|
|
53
|
-
if (!fullWidth || !wide || !lineLength || fullWidth <= (editorExperiment('single_column_layouts', true)
|
|
52
|
+
if (!fullWidth || !wide || !lineLength || fullWidth <= (editorExperiment('single_column_layouts', true) ? akEditorDefaultLayoutWidth : lineLength)) {
|
|
54
53
|
return null;
|
|
55
54
|
}
|
|
56
55
|
if (fullWidth - wide > SNAP_GAP) {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
import { GapCursorSelection } from './gap-cursor/selection';
|
|
4
3
|
export const isSelectionAtStartOfNode = ($pos, parentNode) => {
|
|
5
4
|
if (!parentNode) {
|
|
@@ -99,30 +98,15 @@ export const expandSelectionBounds = ($anchor, $head) => {
|
|
|
99
98
|
const selectionIsAcrossDiffParents = selectionHasGrandparent && !$to.parent.isTextblock && !$to.sameParent($from);
|
|
100
99
|
const selectionIsAcrossTextBlocksWithDiffParents = selectionHasGrandparent && $to.parent.isTextblock && $to.before(toDepth - 1) !== $from.before(fromDepth - 1);
|
|
101
100
|
if (toDepth > fromDepth) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
selectionEnd = $to.after(sharedDepth);
|
|
105
|
-
} else {
|
|
106
|
-
selectionStart = fromDepth ? $from.before() : $from.pos;
|
|
107
|
-
selectionEnd = fromDepth ? $to.after(fromDepth) : $to.after(1);
|
|
108
|
-
}
|
|
101
|
+
selectionStart = $from.before(sharedDepth);
|
|
102
|
+
selectionEnd = $to.after(sharedDepth);
|
|
109
103
|
} else if (toDepth < fromDepth) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
selectionEnd = $to.after(sharedDepth);
|
|
113
|
-
} else {
|
|
114
|
-
selectionStart = toDepth ? $from.before(toDepth) : $from.before(1);
|
|
115
|
-
selectionEnd = toDepth ? $to.after() : $to.pos;
|
|
116
|
-
}
|
|
104
|
+
selectionStart = $from.before(sharedDepth);
|
|
105
|
+
selectionEnd = $to.after(sharedDepth);
|
|
117
106
|
} else if (selectionIsAcrossDiffParents || selectionIsAcrossTextBlocksWithDiffParents) {
|
|
118
107
|
// when selection from/to share same depth with different parents, hoist up the selection to the parent of the highest depth in the selection
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
selectionEnd = $to.after(sharedDepth);
|
|
122
|
-
} else {
|
|
123
|
-
selectionStart = $from.before(fromDepth - 1);
|
|
124
|
-
selectionEnd = $to.after(toDepth - 1);
|
|
125
|
-
}
|
|
108
|
+
selectionStart = $from.before(sharedDepth);
|
|
109
|
+
selectionEnd = $to.after(sharedDepth);
|
|
126
110
|
} else if (!$from.node().inlineContent) {
|
|
127
111
|
// when selection might be a Node selection, return what was passed in
|
|
128
112
|
return {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export const TaskDecisionSharedCssClassName = {
|
|
2
2
|
DECISION_CONTAINER: 'decisionItemView-content-wrap',
|
|
3
3
|
TASK_CONTAINER: 'taskItemView-content-wrap',
|
|
4
|
+
//NOTE: value is a selector (data attribute), not a class name
|
|
5
|
+
TASK_LIST_CONTAINER: '[data-node-type="actionList]',
|
|
4
6
|
TASK_ITEM: 'task-item',
|
|
5
7
|
TASK_CHECKBOX_CONTAINER: 'task-item-checkbox-wrap'
|
|
6
8
|
};
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "
|
|
17
|
+
const packageVersion = "110.14.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -117,7 +117,7 @@ export default function MediaSingle({
|
|
|
117
117
|
nodeType
|
|
118
118
|
})
|
|
119
119
|
// eslint-disable-next-line react/jsx-props-no-spreading, @atlaskit/platform/no-preconditioning
|
|
120
|
-
},
|
|
120
|
+
}, !fg('platform_editor_fix_media_in_renderer') ? {} : {
|
|
121
121
|
'data-layout': layout
|
|
122
122
|
}, {
|
|
123
123
|
"data-width": mediaSingleWidth,
|
|
@@ -8,7 +8,6 @@ import React from 'react';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { akEditorDefaultLayoutWidth, akEditorFullPageMaxWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { isSSR } from '../../core-utils/is-ssr';
|
|
13
12
|
import { nonWrappedLayouts } from '../../utils';
|
|
14
13
|
import { calcBreakoutWidth, calcWideWidth } from '../../utils/breakout';
|
|
@@ -220,7 +219,7 @@ export const MediaSingleDimensionHelper = ({
|
|
|
220
219
|
})}
|
|
221
220
|
|
|
222
221
|
/* If container doesn't exists, it will fallback to this */
|
|
223
|
-
max-width: ${isSSR() && !calculatedMaxWidth.endsWith('%')
|
|
222
|
+
max-width: ${isSSR() && !calculatedMaxWidth.endsWith('%') ? Math.max(parseInt(calculatedWidth.replace('px', '')), parseInt(calculatedMaxWidth.replace('px', ''))) + 'px' : calculatedMaxWidth};
|
|
224
223
|
${isExtendedResizeExperienceOn && `&[class*='is-resizing'] {
|
|
225
224
|
.new-file-experience-wrapper {
|
|
226
225
|
box-shadow: none !important;
|
|
@@ -280,9 +279,8 @@ export const mediaWrapperStyle = props => css`
|
|
|
280
279
|
}
|
|
281
280
|
|
|
282
281
|
/* Comments on media project adds comment badge as child of the media wrapper,
|
|
283
|
-
thus we need to exclude it so that style is applied to intended div
|
|
284
|
-
|
|
285
|
-
& > div:not([data-comment-badge='true'], [data-media-badges='true']) {
|
|
282
|
+
thus we need to exclude it so that style is applied to intended div */
|
|
283
|
+
& > div:not([data-media-badges='true']) {
|
|
286
284
|
position: ${props.hasFallbackContainer ? 'absolute' : 'relative'};
|
|
287
285
|
height: 100%;
|
|
288
286
|
width: 100%;
|
|
@@ -854,6 +854,19 @@ export const getValidNode = (originalNode, schema = defaultSchema, adfStage = 'f
|
|
|
854
854
|
return getValidUnknownNode(node);
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
+
case 'bodiedSyncBlock':
|
|
858
|
+
{
|
|
859
|
+
if (adfStage === 'stage0' && attrs && Array.isArray(content) && content.length > 0 && expValEquals('platform_synced_block', 'isEnabled', true)) {
|
|
860
|
+
return {
|
|
861
|
+
type,
|
|
862
|
+
attrs,
|
|
863
|
+
marks,
|
|
864
|
+
content
|
|
865
|
+
};
|
|
866
|
+
} else {
|
|
867
|
+
return getValidUnknownNode(node);
|
|
868
|
+
}
|
|
869
|
+
}
|
|
857
870
|
}
|
|
858
871
|
}
|
|
859
872
|
return getValidUnknownNode(node);
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "
|
|
10
|
+
var packageVersion = "110.14.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import { useCallback, useMemo, useState } from 'react';
|
|
3
3
|
import { akEditorCalculatedWideLayoutWidth, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
6
5
|
export var SNAP_GAP = 8;
|
|
7
6
|
var GUIDELINE_KEYS = {
|
|
@@ -33,7 +32,7 @@ export function useBreakoutGuidelines(getEditorWidth, isResizing) {
|
|
|
33
32
|
// But the lineLength variable here is being used like a const 760.
|
|
34
33
|
// when the page is full width, the calculation of wide is wrong.
|
|
35
34
|
// Actuall the wide is the wide breakout point, which is
|
|
36
|
-
var wide = editorExperiment('single_column_layouts', true)
|
|
35
|
+
var wide = editorExperiment('single_column_layouts', true) ? akEditorCalculatedWideLayoutWidth : wideCalWithRatio;
|
|
37
36
|
var padding = width && width <= akEditorFullPageNarrowBreakout && editorExperiment('platform_editor_preview_panel_responsiveness', true, {
|
|
38
37
|
exposure: true
|
|
39
38
|
}) ? akEditorGutterPaddingReduced : akEditorGutterPaddingDynamic();
|
|
@@ -44,7 +43,7 @@ export function useBreakoutGuidelines(getEditorWidth, isResizing) {
|
|
|
44
43
|
fullWidth: fullWidth,
|
|
45
44
|
// When page is full width, lineLength from widthState can be much wider than 760.
|
|
46
45
|
// But the lineLength variable here is being used like a const 760.
|
|
47
|
-
lineLength: editorExperiment('single_column_layouts', true)
|
|
46
|
+
lineLength: editorExperiment('single_column_layouts', true) ? akEditorDefaultLayoutWidth : lineLength
|
|
48
47
|
};
|
|
49
48
|
}, [widthState, isResizing, dynamicFullWidthGuidelineOffset]),
|
|
50
49
|
lineLength = _useMemo.lineLength,
|
|
@@ -53,7 +52,7 @@ export function useBreakoutGuidelines(getEditorWidth, isResizing) {
|
|
|
53
52
|
|
|
54
53
|
// calculate snapping width
|
|
55
54
|
var defaultSnappingWidths = useMemo(function () {
|
|
56
|
-
if (!fullWidth || !wide || !lineLength || fullWidth <= (editorExperiment('single_column_layouts', true)
|
|
55
|
+
if (!fullWidth || !wide || !lineLength || fullWidth <= (editorExperiment('single_column_layouts', true) ? akEditorDefaultLayoutWidth : lineLength)) {
|
|
57
56
|
return null;
|
|
58
57
|
}
|
|
59
58
|
if (fullWidth - wide > SNAP_GAP) {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
import { GapCursorSelection } from './gap-cursor/selection';
|
|
4
3
|
export var isSelectionAtStartOfNode = function isSelectionAtStartOfNode($pos, parentNode) {
|
|
5
4
|
if (!parentNode) {
|
|
@@ -87,30 +86,15 @@ export var expandSelectionBounds = function expandSelectionBounds($anchor, $head
|
|
|
87
86
|
var selectionIsAcrossDiffParents = selectionHasGrandparent && !$to.parent.isTextblock && !$to.sameParent($from);
|
|
88
87
|
var selectionIsAcrossTextBlocksWithDiffParents = selectionHasGrandparent && $to.parent.isTextblock && $to.before(toDepth - 1) !== $from.before(fromDepth - 1);
|
|
89
88
|
if (toDepth > fromDepth) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
selectionEnd = $to.after(sharedDepth);
|
|
93
|
-
} else {
|
|
94
|
-
selectionStart = fromDepth ? $from.before() : $from.pos;
|
|
95
|
-
selectionEnd = fromDepth ? $to.after(fromDepth) : $to.after(1);
|
|
96
|
-
}
|
|
89
|
+
selectionStart = $from.before(sharedDepth);
|
|
90
|
+
selectionEnd = $to.after(sharedDepth);
|
|
97
91
|
} else if (toDepth < fromDepth) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
selectionEnd = $to.after(sharedDepth);
|
|
101
|
-
} else {
|
|
102
|
-
selectionStart = toDepth ? $from.before(toDepth) : $from.before(1);
|
|
103
|
-
selectionEnd = toDepth ? $to.after() : $to.pos;
|
|
104
|
-
}
|
|
92
|
+
selectionStart = $from.before(sharedDepth);
|
|
93
|
+
selectionEnd = $to.after(sharedDepth);
|
|
105
94
|
} else if (selectionIsAcrossDiffParents || selectionIsAcrossTextBlocksWithDiffParents) {
|
|
106
95
|
// when selection from/to share same depth with different parents, hoist up the selection to the parent of the highest depth in the selection
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
selectionEnd = $to.after(sharedDepth);
|
|
110
|
-
} else {
|
|
111
|
-
selectionStart = $from.before(fromDepth - 1);
|
|
112
|
-
selectionEnd = $to.after(toDepth - 1);
|
|
113
|
-
}
|
|
96
|
+
selectionStart = $from.before(sharedDepth);
|
|
97
|
+
selectionEnd = $to.after(sharedDepth);
|
|
114
98
|
} else if (!$from.node().inlineContent) {
|
|
115
99
|
// when selection might be a Node selection, return what was passed in
|
|
116
100
|
return {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export var TaskDecisionSharedCssClassName = {
|
|
2
2
|
DECISION_CONTAINER: 'decisionItemView-content-wrap',
|
|
3
3
|
TASK_CONTAINER: 'taskItemView-content-wrap',
|
|
4
|
+
//NOTE: value is a selector (data attribute), not a class name
|
|
5
|
+
TASK_LIST_CONTAINER: '[data-node-type="actionList]',
|
|
4
6
|
TASK_ITEM: 'task-item',
|
|
5
7
|
TASK_CHECKBOX_CONTAINER: 'task-item-checkbox-wrap'
|
|
6
8
|
};
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "
|
|
24
|
+
var packageVersion = "110.14.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -124,7 +124,7 @@ export default function MediaSingle(_ref) {
|
|
|
124
124
|
nodeType: nodeType
|
|
125
125
|
})
|
|
126
126
|
// eslint-disable-next-line react/jsx-props-no-spreading, @atlaskit/platform/no-preconditioning
|
|
127
|
-
},
|
|
127
|
+
}, !fg('platform_editor_fix_media_in_renderer') ? {} : {
|
|
128
128
|
'data-layout': layout
|
|
129
129
|
}, {
|
|
130
130
|
"data-width": mediaSingleWidth,
|
|
@@ -12,7 +12,6 @@ import React from 'react';
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
13
|
import { css, jsx } from '@emotion/react';
|
|
14
14
|
import { akEditorDefaultLayoutWidth, akEditorFullPageMaxWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
15
|
import { isSSR } from '../../core-utils/is-ssr';
|
|
17
16
|
import { nonWrappedLayouts } from '../../utils';
|
|
18
17
|
import { calcBreakoutWidth, calcWideWidth } from '../../utils/breakout';
|
|
@@ -219,7 +218,7 @@ export var MediaSingleDimensionHelper = function MediaSingleDimensionHelper(_ref
|
|
|
219
218
|
because full-width layout will remain, causing node to be edge-to-edge */
|
|
220
219
|
!isExtendedResizeExperienceOn && css({
|
|
221
220
|
minWidth: '100%'
|
|
222
|
-
}), isSSR() && !calculatedMaxWidth.endsWith('%')
|
|
221
|
+
}), isSSR() && !calculatedMaxWidth.endsWith('%') ? Math.max(parseInt(calculatedWidth.replace('px', '')), parseInt(calculatedMaxWidth.replace('px', ''))) + 'px' : calculatedMaxWidth, isExtendedResizeExperienceOn && "&[class*='is-resizing'] {\n .new-file-experience-wrapper {\n box-shadow: none !important;\n }\n\n ".concat(!isNestedNode && nonWrappedLayouts.includes(layout) && "margin-left: 50%;\n transform: translateX(-50%);", "\n }"), float(layout), calcMargin(layout), isNestedNode ? /* Make nested node appear responsive when resizing table cell */"max-width: 100%;" : nonWrappedLayouts.includes(layout) && "margin-left: 50%;\n transform: translateX(-50%);", isImageAligned(layout));
|
|
223
222
|
};
|
|
224
223
|
var RenderFallbackContainer = function RenderFallbackContainer(_ref2) {
|
|
225
224
|
var hasFallbackContainer = _ref2.hasFallbackContainer,
|
|
@@ -232,7 +231,7 @@ var RenderFallbackContainer = function RenderFallbackContainer(_ref2) {
|
|
|
232
231
|
|
|
233
232
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
234
233
|
export var mediaWrapperStyle = function mediaWrapperStyle(props) {
|
|
235
|
-
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\tposition: relative;\n\n\t", "\n\n\t/* Editor */\n & > figure {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t/* Comments on media project adds comment badge as child of the media wrapper,\n\tthus we need to exclude it so that style is applied to intended div
|
|
234
|
+
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\tposition: relative;\n\n\t", "\n\n\t/* Editor */\n & > figure {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t/* Comments on media project adds comment badge as child of the media wrapper,\n\tthus we need to exclude it so that style is applied to intended div */\n\t& > div:not([data-media-badges='true']) {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t& * [data-mark-annotation-type='inlineComment'] {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n\n\t&[data-node-type='embedCard'] > div {\n\t\twidth: 100%;\n\t}\n\n\t/* Renderer */\n\t[data-node-type='media'] {\n\t\tposition: static !important;\n\n\t\t> div {\n\t\t\tposition: absolute;\n\t\t\theight: 100%;\n\t\t}\n\t}\n"])), RenderFallbackContainer(props), props.hasFallbackContainer ? 'absolute' : 'relative', props.hasFallbackContainer ? 'absolute' : 'relative');
|
|
236
235
|
};
|
|
237
236
|
export var MediaWrapper = function MediaWrapper(_ref3) {
|
|
238
237
|
var children = _ref3.children,
|
|
@@ -856,6 +856,19 @@ export var getValidNode = function getValidNode(originalNode) {
|
|
|
856
856
|
return getValidUnknownNode(node);
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
|
+
case 'bodiedSyncBlock':
|
|
860
|
+
{
|
|
861
|
+
if (adfStage === 'stage0' && attrs && Array.isArray(content) && content.length > 0 && expValEquals('platform_synced_block', 'isEnabled', true)) {
|
|
862
|
+
return {
|
|
863
|
+
type: type,
|
|
864
|
+
attrs: attrs,
|
|
865
|
+
marks: marks,
|
|
866
|
+
content: content
|
|
867
|
+
};
|
|
868
|
+
} else {
|
|
869
|
+
return getValidUnknownNode(node);
|
|
870
|
+
}
|
|
871
|
+
}
|
|
859
872
|
}
|
|
860
873
|
}
|
|
861
874
|
return getValidUnknownNode(node);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.
|
|
3
|
+
"version": "110.14.1",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
33
|
-
"@atlaskit/adf-schema": "^51.
|
|
34
|
-
"@atlaskit/adf-utils": "^19.
|
|
33
|
+
"@atlaskit/adf-schema": "^51.3.0",
|
|
34
|
+
"@atlaskit/adf-utils": "^19.25.0",
|
|
35
35
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.7.0",
|
|
36
36
|
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^7.1.0",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@atlaskit/code": "^17.2.0",
|
|
42
42
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
43
43
|
"@atlaskit/css": "^0.15.0",
|
|
44
|
-
"@atlaskit/custom-steps": "^0.
|
|
44
|
+
"@atlaskit/custom-steps": "^0.16.0",
|
|
45
45
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
46
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
46
|
+
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
47
47
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
48
48
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
49
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
49
|
+
"@atlaskit/editor-shared-styles": "^3.8.0",
|
|
50
50
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
51
51
|
"@atlaskit/editor-toolbar": "^0.15.0",
|
|
52
52
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/icon": "^28.5.0",
|
|
55
55
|
"@atlaskit/icon-object": "^7.3.0",
|
|
56
56
|
"@atlaskit/link": "^3.2.0",
|
|
57
|
-
"@atlaskit/link-datasource": "^4.
|
|
57
|
+
"@atlaskit/link-datasource": "^4.26.0",
|
|
58
58
|
"@atlaskit/link-picker": "^3.16.0",
|
|
59
59
|
"@atlaskit/media-card": "^79.5.0",
|
|
60
60
|
"@atlaskit/media-client": "^35.5.0",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
71
71
|
"@atlaskit/platform-feature-flags-react": "^0.3.0",
|
|
72
72
|
"@atlaskit/popper": "^7.1.0",
|
|
73
|
-
"@atlaskit/primitives": "^
|
|
73
|
+
"@atlaskit/primitives": "^16.0.0",
|
|
74
74
|
"@atlaskit/profilecard": "^24.20.0",
|
|
75
75
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
76
76
|
"@atlaskit/react-ufo": "^4.12.0",
|
|
77
77
|
"@atlaskit/section-message": "^8.7.0",
|
|
78
|
-
"@atlaskit/smart-card": "^43.
|
|
78
|
+
"@atlaskit/smart-card": "^43.2.0",
|
|
79
79
|
"@atlaskit/smart-user-picker": "^8.3.0",
|
|
80
80
|
"@atlaskit/spinner": "^19.0.0",
|
|
81
81
|
"@atlaskit/status": "^3.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/theme": "^21.0.0",
|
|
85
85
|
"@atlaskit/tmp-editor-statsig": "^13.13.0",
|
|
86
86
|
"@atlaskit/tokens": "^7.0.0",
|
|
87
|
-
"@atlaskit/tooltip": "^20.
|
|
87
|
+
"@atlaskit/tooltip": "^20.6.0",
|
|
88
88
|
"@atlaskit/width-detector": "^5.0.0",
|
|
89
89
|
"@babel/runtime": "^7.0.0",
|
|
90
90
|
"@compiled/react": "^0.18.6",
|
|
@@ -197,18 +197,9 @@
|
|
|
197
197
|
"platform_editor_link_popup_position_fix_aifc": {
|
|
198
198
|
"type": "boolean"
|
|
199
199
|
},
|
|
200
|
-
"platform_editor_elements_dnd_multi_select_patch_1": {
|
|
201
|
-
"type": "boolean"
|
|
202
|
-
},
|
|
203
|
-
"platform_editor_add_media_from_url_rollout": {
|
|
204
|
-
"type": "boolean"
|
|
205
|
-
},
|
|
206
200
|
"platform_editor_inline_node_virt_threshold_override": {
|
|
207
201
|
"type": "boolean"
|
|
208
202
|
},
|
|
209
|
-
"platform_editor_layout_guideline_full_width_fix": {
|
|
210
|
-
"type": "boolean"
|
|
211
|
-
},
|
|
212
203
|
"confluence-issue-terminology-refresh": {
|
|
213
204
|
"type": "boolean"
|
|
214
205
|
},
|
|
@@ -224,9 +215,6 @@
|
|
|
224
215
|
"editor_a11y_aria_label_removal_popup": {
|
|
225
216
|
"type": "boolean"
|
|
226
217
|
},
|
|
227
|
-
"platform_editor_fix_image_size_diff_during_ssr": {
|
|
228
|
-
"type": "boolean"
|
|
229
|
-
},
|
|
230
218
|
"platform_editor_replace_document_shortcircuit": {
|
|
231
219
|
"type": "boolean"
|
|
232
220
|
},
|