@atlaskit/editor-core 243.0.0 → 243.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/afm-products/tsconfig.json +3 -0
- package/compass.yml +0 -3
- package/dist/cjs/ui/Appearance/Comment/Comment.js +2 -3
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +6 -10
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +2 -3
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +1 -10
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.compiled.css +5 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +37 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +2 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +6 -10
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +2 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +1 -12
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.compiled.css +5 -0
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +37 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +2 -3
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +6 -10
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +2 -3
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +1 -10
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.compiled.css +5 -0
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +37 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +25 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 243.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`c13b574ab38d2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c13b574ab38d2) -
|
|
8
|
+
Declare the workspace dependencies used by package source and emitted types so isolated
|
|
9
|
+
installations can resolve them.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`dc4bf5ef54cd1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dc4bf5ef54cd1) -
|
|
14
|
+
Remove the `control` branches of experiment `platform_editor_controls`; the editor controls
|
|
15
|
+
(`variant1`) experience is now permanent.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
18
|
+
## 243.1.0
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- [`4112058474271`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4112058474271) -
|
|
23
|
+
Behind the platform_editor_inline_node_selection_style experiment, show a selection tint instead
|
|
24
|
+
of the native text highlight on inline cards, mentions, statuses, dates and emojis inside a range
|
|
25
|
+
selection
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
|
|
3
31
|
## 243.0.0
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
package/compass.yml
CHANGED
|
@@ -15,9 +15,6 @@ links:
|
|
|
15
15
|
- name: ''
|
|
16
16
|
type: REPOSITORY
|
|
17
17
|
url: https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-core/
|
|
18
|
-
- name: '#team-cc-editor-services'
|
|
19
|
-
type: CHAT_CHANNEL
|
|
20
|
-
url: https://atlassian.slack.com/app_redirect?channel=team-cc-editor-services
|
|
21
18
|
- name: ''
|
|
22
19
|
type: ON_CALL
|
|
23
20
|
url: https://atlassian.app.opsgenie.com/settings/schedule/detail/b2599bc4-2eec-4364-963c-a52b0fea279b
|
|
@@ -24,7 +24,6 @@ var _WidthProvider = require("@atlaskit/editor-common/WidthProvider");
|
|
|
24
24
|
var _constants = require("@atlaskit/editor-shared-styles/constants");
|
|
25
25
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
26
26
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
27
|
-
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
28
27
|
var _ClickAreaBlock = _interopRequireDefault(require("../../Addon/ClickAreaBlock"));
|
|
29
28
|
var _contentComponentWrapper = require("../../Addon/ClickAreaBlock/contentComponentWrapper");
|
|
30
29
|
var _EditorContentContainer = _interopRequireDefault(require("../../EditorContentContainer/EditorContentContainer"));
|
|
@@ -49,11 +48,11 @@ var commentEditorCompiledStyles = {
|
|
|
49
48
|
};
|
|
50
49
|
var appearance = 'comment';
|
|
51
50
|
var CommentEditorWithIntl = exports.CommentEditorWithIntl = function CommentEditorWithIntl(props) {
|
|
52
|
-
var _editorAPI$blockMenu$, _editorAPI$blockMenu
|
|
51
|
+
var _editorAPI$blockMenu$, _editorAPI$blockMenu;
|
|
53
52
|
var editorAPI = props.editorAPI;
|
|
54
53
|
|
|
55
54
|
// Get useStandardNodeWidth from block menu plugin shared state
|
|
56
|
-
var useStandardNodeWidth = (
|
|
55
|
+
var useStandardNodeWidth = (_editorAPI$blockMenu$ = editorAPI === null || editorAPI === void 0 || (_editorAPI$blockMenu = editorAPI.blockMenu) === null || _editorAPI$blockMenu === void 0 || (_editorAPI$blockMenu = _editorAPI$blockMenu.sharedState) === null || _editorAPI$blockMenu === void 0 || (_editorAPI$blockMenu = _editorAPI$blockMenu.currentState()) === null || _editorAPI$blockMenu === void 0 ? void 0 : _editorAPI$blockMenu.useStandardNodeWidth) !== null && _editorAPI$blockMenu$ !== void 0 ? _editorAPI$blockMenu$ : false;
|
|
57
56
|
var _useSharedPluginState = (0, _useSharedPluginStateWithSelector.useSharedPluginStateWithSelector)(editorAPI, ['maxContentSize', 'primaryToolbar', 'editorViewMode'], function (states) {
|
|
58
57
|
var _states$maxContentSiz, _states$primaryToolba, _states$editorViewMod;
|
|
59
58
|
return {
|
|
@@ -14,7 +14,6 @@ var _SSRRenderMeasure = require("@atlaskit/editor-common/SSRRenderMeasure");
|
|
|
14
14
|
var _useSharedPluginStateSelector = require("@atlaskit/editor-common/useSharedPluginStateSelector");
|
|
15
15
|
var _useSharedPluginStateWithSelector = require("@atlaskit/editor-common/useSharedPluginStateWithSelector");
|
|
16
16
|
var _constants = require("@atlaskit/editor-shared-styles/constants");
|
|
17
|
-
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
18
17
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
19
18
|
var _getPrimaryToolbarComponents = require("../../Toolbar/getPrimaryToolbarComponents");
|
|
20
19
|
var _FullPageContentArea = require("./FullPageContentArea");
|
|
@@ -106,15 +105,12 @@ var FullPageEditor = exports.FullPageEditor = function FullPageEditor(props) {
|
|
|
106
105
|
}
|
|
107
106
|
var isEditorToolbarHidden = state.editorViewMode === 'view';
|
|
108
107
|
var customPrimaryToolbarComponents = props.customPrimaryToolbarComponents;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
if (
|
|
114
|
-
|
|
115
|
-
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
116
|
-
isEditorToolbarHidden = true;
|
|
117
|
-
}
|
|
108
|
+
|
|
109
|
+
// need to check if the toolbarDockingPosition is set to 'none' or 'top'
|
|
110
|
+
if (toolbarDockingPosition === 'none' && !forcePrimaryToolbarPinned) {
|
|
111
|
+
primaryToolbarComponents = [];
|
|
112
|
+
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
113
|
+
isEditorToolbarHidden = true;
|
|
118
114
|
}
|
|
119
115
|
}
|
|
120
116
|
var isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar);
|
|
@@ -15,7 +15,6 @@ var _reactIntl = require("react-intl");
|
|
|
15
15
|
var _fullPage = require("@atlaskit/editor-common/messages/full-page");
|
|
16
16
|
var _constants = require("@atlaskit/editor-shared-styles/constants");
|
|
17
17
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
18
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
19
18
|
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
20
19
|
var _ClickAreaBlock = require("../../Addon/ClickAreaBlock");
|
|
21
20
|
var _contentComponentWrapper = require("../../Addon/ClickAreaBlock/contentComponentWrapper");
|
|
@@ -62,7 +61,7 @@ var compiledStyles = {
|
|
|
62
61
|
var CONTENT_AREA_TEST_ID = exports.CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
|
|
63
62
|
var EDITOR_CONTAINER = 'ak-editor-container';
|
|
64
63
|
var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
65
|
-
var _props$editorAPI, _props$editorAPI$bloc, _props$editorAPI2,
|
|
64
|
+
var _props$editorAPI, _props$editorAPI$bloc, _props$editorAPI2, _contentAreaRef$curre, _ref, _props$popupsScrollab, _allowScrollGutter$gu;
|
|
66
65
|
var fullWidthMode = props.appearance === 'full-width';
|
|
67
66
|
var maxWidthMode = props.appearance === 'max';
|
|
68
67
|
var scrollContainerRef = (0, _react.useRef)(null);
|
|
@@ -72,7 +71,7 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
72
71
|
var contentAreaMaxWidth = getTotalPadding() + (!fullWidthMode ? maxWidthMode ? akEditorUltraWideLayoutWidth : _constants.akEditorDefaultLayoutWidth : akEditorFullWidthLayoutWidth);
|
|
73
72
|
|
|
74
73
|
// Get useStandardNodeWidth from block menu plugin shared state
|
|
75
|
-
var useStandardNodeWidth = (
|
|
74
|
+
var useStandardNodeWidth = (_props$editorAPI$bloc = (_props$editorAPI2 = props.editorAPI) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.blockMenu) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.sharedState) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.currentState()) === null || _props$editorAPI2 === void 0 ? void 0 : _props$editorAPI2.useStandardNodeWidth) !== null && _props$editorAPI$bloc !== void 0 ? _props$editorAPI$bloc : false;
|
|
76
75
|
(0, _react.useImperativeHandle)(ref, function () {
|
|
77
76
|
return {
|
|
78
77
|
get scrollContainer() {
|
|
@@ -12,7 +12,6 @@ var _reactIntl = require("react-intl");
|
|
|
12
12
|
var _contextPanel = require("@atlaskit/editor-common/context-panel");
|
|
13
13
|
var _fullPage = require("@atlaskit/editor-common/messages/full-page");
|
|
14
14
|
var _ToolbarArrowKeyNavigationProvider = require("@atlaskit/editor-common/ui-menu/ToolbarArrowKeyNavigationProvider");
|
|
15
|
-
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
16
15
|
var _ToolbarPortal = require("../../Toolbar/ToolbarPortal");
|
|
17
16
|
var _ToolbarWithSizeDetector = require("../../Toolbar/ToolbarWithSizeDetector");
|
|
18
17
|
var _BeforeWrapper = require("./BeforeWrapper");
|
|
@@ -27,10 +26,9 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
|
|
|
27
26
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
28
27
|
shouldSplitToolbar = _useState2[0],
|
|
29
28
|
setShouldSplitToolbar = _useState2[1];
|
|
30
|
-
var editorAPI = props.editorAPI;
|
|
31
29
|
|
|
32
30
|
// When primary toolbar components is undefined, do not show two line editor toolbar
|
|
33
|
-
var twoLineEditorToolbar =
|
|
31
|
+
var twoLineEditorToolbar = !!props.customPrimaryToolbarComponents && ((_props$primaryToolbar = props.primaryToolbarComponents) === null || _props$primaryToolbar === void 0 ? void 0 : _props$primaryToolbar.length) !== 0;
|
|
34
32
|
|
|
35
33
|
// When a toolbar portal context is provided, render the toolbar inside a portal.
|
|
36
34
|
// Otherwise fall back to a fragment just to avoid forking rendering logic.
|
|
@@ -58,13 +56,6 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
|
|
|
58
56
|
}));
|
|
59
57
|
var customToolbar = /*#__PURE__*/_react.default.createElement(_MainToolbarWrappers.CustomToolbarWrapper, null, !!props.customPrimaryToolbarComponents && 'before' in props.customPrimaryToolbarComponents ? /*#__PURE__*/_react.default.createElement(_BeforeWrapper.BeforePrimaryToolbarWrapper, {
|
|
60
58
|
beforePrimaryToolbarComponents: (_props$customPrimaryT = props.customPrimaryToolbarComponents) === null || _props$customPrimaryT === void 0 ? void 0 : _props$customPrimaryT.before
|
|
61
|
-
}) : null, !(0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') && editorAPI !== null && editorAPI !== void 0 && editorAPI.findReplace && twoLineEditorToolbar ? editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.findReplace.actions.registerToolbarButton({
|
|
62
|
-
popupsBoundariesElement: props.popupsBoundariesElement,
|
|
63
|
-
popupsMountPoint: popupsMountPoint,
|
|
64
|
-
popupsScrollableElement: props.popupsScrollableElement,
|
|
65
|
-
editorView: props.editorView,
|
|
66
|
-
containerElement: props.containerElement,
|
|
67
|
-
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent
|
|
68
59
|
}) : null, !!props.customPrimaryToolbarComponents && 'after' in props.customPrimaryToolbarComponents ? props.customPrimaryToolbarComponents.after : props.customPrimaryToolbarComponents);
|
|
69
60
|
(0, _react.useEffect)(function () {
|
|
70
61
|
if (twoLineEditorToolbar) {
|
|
@@ -155,6 +155,11 @@
|
|
|
155
155
|
.cc-1kwmdli .embedCardView-content-wrap[data-testid=show-diff-changed-decoration-node] .loader-wrapper>div:after{box-shadow:0 0 0 var(--diff-decoration-marker-ring-width,1px) var(--diff-decoration-marker-color);border-color:transparent}
|
|
156
156
|
.cc-1vj8t5e .inlineCardView-content-wrap{max-width:calc(100% - 20px);vertical-align:top;word-break:break-all}.cc-1vj8t5e .inlineCardView-content-wrap .card-with-comment{background:var(--ds-background-accent-yellow-subtler,#f5e989);border-bottom:2px solid var(--ds-border-accent-yellow,#b38600);box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}.cc-1vj8t5e .inlineCardView-content-wrap .card{padding-left:var(--ds-space-025,2px);padding-right:var(--ds-space-025,2px);padding-top:var(--ds-space-100,8px);padding-bottom:var(--ds-space-100,8px);margin-bottom:var(--ds-space-negative-100,-8px)}.cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection, .cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus::selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::selection, .cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::-moz-selection, .cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap .loader-wrapper>a{z-index:1;position:relative}.cc-1vj8t5e .inlineCardView-content-wrap.danger .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);z-index:2}.cc-1vj8t5e .blockCardView-content-wrap{display:block;margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;max-width:760px}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}.cc-1vj8t5e .blockCardView-content-wrap.danger .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap{max-width:100%;display:flex;justify-content:center}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{cursor:pointer;background-color:var(--ds-background-neutral-subtle,#00000000);border-radius:var(--ds-radius-large,8px);border:1px solid var(--ds-border,#0b120e24);overflow-x:hidden;overflow-y:hidden}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap ::selection, .cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap::selection{background-color:transparent}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::-moz-selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.danger .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1vj8t5e .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-1vj8t5e .embedCardView-content-wrap .loader-wrapper>div:after{transition:box-shadow 0s}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::selection, .cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::selection{background-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection, .cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::-moz-selection{background-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.danger .media-card-frame:after{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important;background:var(--ds-background-danger,#ffeceb)!important}.cc-1vj8t5e .embedCardView-content-wrap.danger .richMedia-resize-handle-left:after, .cc-1vj8t5e .embedCardView-content-wrap.danger .richMedia-resize-handle-right:after{background:var(--ds-border-danger,#e2483d)}.cc-1vj8t5e .card-floating-toolbar--link-picker{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}
|
|
157
157
|
.cc-1ta13nz .inlineCardView-content-wrap{max-width:calc(100% - 20px);vertical-align:top;word-break:break-all}.cc-1ta13nz .inlineCardView-content-wrap .card-with-comment{background:var(--ds-background-accent-yellow-subtler,#f5e989);border-bottom:2px solid var(--ds-border-accent-yellow,#b38600);box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}.cc-1ta13nz .inlineCardView-content-wrap .card{padding-left:var(--ds-space-025,2px);padding-right:var(--ds-space-025,2px);padding-top:var(--ds-space-100,8px);padding-bottom:var(--ds-space-100,8px);margin-bottom:var(--ds-space-negative-100,-8px)}.cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection, .cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus::selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::selection, .cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::-moz-selection, .cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node:not(.search-match-block):not(.danger) .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap .loader-wrapper>a{z-index:1;position:relative}.cc-1ta13nz .inlineCardView-content-wrap.danger .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);z-index:2}.cc-1ta13nz .blockCardView-content-wrap{display:block;margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;max-width:760px}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}.cc-1ta13nz .blockCardView-content-wrap.danger .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap{max-width:100%;display:flex;justify-content:center}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{cursor:pointer;background-color:var(--ds-background-neutral-subtle,#00000000);border-radius:var(--ds-radius-large,8px);border:1px solid var(--ds-border,#0b120e24);overflow-x:hidden;overflow-y:hidden}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap ::selection, .cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap::selection{background-color:transparent}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::-moz-selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.danger .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1ta13nz .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-1ta13nz .embedCardView-content-wrap .loader-wrapper>div:after{transition:box-shadow 0s}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::selection, .cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::selection{background-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection, .cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::-moz-selection{background-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.danger .media-card-frame:after{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important;background:var(--ds-background-danger,#ffeceb)!important}.cc-1ta13nz .embedCardView-content-wrap.danger .richMedia-resize-handle-left:after, .cc-1ta13nz .embedCardView-content-wrap.danger .richMedia-resize-handle-right:after{background:var(--ds-border-danger,#e2483d)}.cc-1ta13nz .card-floating-toolbar--link-picker{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}
|
|
158
|
+
.cc-1d0p3jy .inlineCardView-content-wrap .loader-wrapper>a{transition-property:all,background-color;transition-duration:.1s,0s}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a ::selection, .cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a::selection{background-color:transparent}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a ::-moz-selection, .cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a{background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);color:var(--ds-link-pressed,#1558bc)}
|
|
159
|
+
.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive ::selection, .cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive::selection{background-color:transparent}.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive ::-moz-selection, .cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive::-moz-selection{background-color:transparent}.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive{background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);color:var(--ds-text-subtle,#505258)}
|
|
160
|
+
.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span ::selection, .cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span::selection{background-color:transparent}.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span ::-moz-selection, .cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span::-moz-selection{background-color:transparent}.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span{background-image:linear-gradient(color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent),color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent))}
|
|
161
|
+
.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span ::selection, .cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span::selection{background-color:transparent}.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span ::-moz-selection, .cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span::-moz-selection{background-color:transparent}.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span{background-image:linear-gradient(color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent),color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent))}
|
|
162
|
+
.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) ::selection, .cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image)::selection{background-color:transparent}.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) ::-moz-selection, .cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image)::-moz-selection{background-color:transparent}.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);border-radius:var(--ds-radius-xsmall,2px)}
|
|
158
163
|
@container editor-area (max-width: 600px){.cc-1sh1jof .embedCardView-content-wrap{margin-top:var(--ds-space-150,9pt)}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}}
|
|
159
164
|
.cc-a5baya .blockCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-a5baya .blockCardView-content-wrap .loader-wrapper>div a{cursor:auto}
|
|
160
165
|
.cc-1fnk8xx .embedCardView-content-wrap .loader-wrapper>div a{cursor:auto}
|
|
@@ -89,6 +89,36 @@ var inlineStartShadow = null;
|
|
|
89
89
|
var inlineEndShadow = null;
|
|
90
90
|
var hideNativeBrowserTextSelectionStyles = null;
|
|
91
91
|
var boxShadowSelectionStyles = null;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The inline node selection tint. A fixed token rather than the system `Highlight` colour, which is a
|
|
95
|
+
* saturated blue in some browsers and platforms that text cannot be read on, and rather than a
|
|
96
|
+
* `selected` token, which is neutral in the refreshed (finesse) theme.
|
|
97
|
+
*/
|
|
98
|
+
var inlineNodeSelectionTint = "var(--ds-background-accent-blue-subtler, #CFE1FD)";
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* A background only, with no overlay, so it paints correctly on every line fragment when the node
|
|
102
|
+
* wraps across lines.
|
|
103
|
+
*/
|
|
104
|
+
var inlineNodeRangeSelectionStyles = null;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Tints a node that has its own meaningful background colour (status, date) with a background-image
|
|
108
|
+
* layer, which paints above the node's background colour and below its text, so the colour stays
|
|
109
|
+
* recognisable while selected. The token is written inline because Compiled can only evaluate it
|
|
110
|
+
* statically there.
|
|
111
|
+
*/
|
|
112
|
+
var inlineNodeUnderlaySelectionStyles = null;
|
|
113
|
+
|
|
114
|
+
/** The link colour on the tint at 4.5:1 contrast, which `color.link` does not reach in light mode. */
|
|
115
|
+
var inlineCardTintedTextStyles = null;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Smart cards transition every property for 0.1s, which fades the tint in and out behind the
|
|
119
|
+
* selection as it moves. Background colour changes apply at once; other transitions are kept.
|
|
120
|
+
*/
|
|
121
|
+
var inlineCardInstantBackgroundStyles = null;
|
|
92
122
|
var dangerBorderStyles = null;
|
|
93
123
|
var backgroundSelectionStyles = null;
|
|
94
124
|
var dangerBackgroundStyles = null;
|
|
@@ -306,6 +336,11 @@ var editorContentStyles = {
|
|
|
306
336
|
smartCardDiffStyles: "cc-1kwmdli",
|
|
307
337
|
smartCardStylesWithSearchMatch: "cc-1vj8t5e",
|
|
308
338
|
smartCardStylesWithSearchMatchAndBlockMenuDangerStyles: "cc-1ta13nz",
|
|
339
|
+
inlineCardSelectionStyles: "cc-1d0p3jy",
|
|
340
|
+
mentionInlineNodeSelectionStyles: "cc-edis4n",
|
|
341
|
+
statusInlineNodeSelectionStyles: "cc-iwpn5g",
|
|
342
|
+
dateInlineNodeSelectionStyles: "cc-18q0p9l",
|
|
343
|
+
emojiInlineNodeSelectionStyles: "cc-1r5ye89",
|
|
309
344
|
smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness: "cc-1sh1jof",
|
|
310
345
|
smartLinksInLivePagesStyles: "cc-a5baya",
|
|
311
346
|
embedLinksInLivePagesCursorStyles: "cc-1fnk8xx",
|
|
@@ -420,8 +455,8 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
420
455
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
421
456
|
className: (0, _runtime.ax)([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
|
|
422
457
|
exposure: true
|
|
423
|
-
}) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, isImproveInpEnabled ? editorContentStyles.scopedHideSelectionStyles : editorContentStyles.hideSelectionStyles, isImproveInpEnabled ? editorContentStyles.scopedHideCursorStyles : editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles,
|
|
424
|
-
editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, isInlineExtensionSpansEnabled ? editorContentStyles.taskItemHeightNextStyles : editorContentStyles.taskItemHeightOldStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, isInlineExtensionSpansEnabled ? editorContentStyles.inlineExtensionSpanLabelStyles : editorContentStyles.inlineExtensionDivLabelStyles, (0, _fg.fg)('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : (0, _fg.fg)('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && (0, _isExperimentEnabled.isExperimentEnabled)('platform_status_lozenge_fractional_zoom_fix') && editorContentStyles.statusStylesTeam26TextTrim, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_attributed_version_history') && editorContentStyles.contributorTagStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, (0, _fg.fg)('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && !(0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && (0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_embed_open_in_new_tab') && editorContentStyles.embedLinksInLivePagesCursorStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout') && !(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout') && !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_collapsible_headings') && editorContentStyles.pragmaticResizerStylesHiddenForCollapsedContent, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isComment && ((0, _fg.fg)('platform_editor_comment_margin_cq') || (0, _isExperimentEnabled.isExperimentEnabled)('work_item_modernization') || (0, _fg.fg)('wiv_modernization_cohort')) && editorContentStyles.commentLessMarginStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_rovo_special_visual') && colorMode !== 'dark' && editorContentStyles.agentMentionRovoShimmer, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_rovo_special_visual') && colorMode === 'dark' && editorContentStyles.agentMentionRovoShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _fg.fg)('platform_editor_table_heading_cell_alignment') && editorContentStyles.tableSharedStyle_with_platform_editor_table_heading_cell_alignment, (0, _fg.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
458
|
+
}) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, isImproveInpEnabled ? editorContentStyles.scopedHideSelectionStyles : editorContentStyles.hideSelectionStyles, isImproveInpEnabled ? editorContentStyles.scopedHideCursorStyles : editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, isSelectionHighlightInheritanceActive ? editorContentStyles.listSelectedNodeStylesWithHighlightInheritance : editorContentStyles.listSelectedNodeStyles, isSelectionHighlightInheritanceActive ? editorContentStyles.textSelectedNodeStylesWithHighlightInheritance : editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers') && editorContentStyles.selectedRuleStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_numbered_headings') && editorContentStyles.numberedHeadingsStyles, editorContentStyles.smartCardDiffStyles, editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
|
|
459
|
+
editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, isInlineExtensionSpansEnabled ? editorContentStyles.taskItemHeightNextStyles : editorContentStyles.taskItemHeightOldStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, isInlineExtensionSpansEnabled ? editorContentStyles.inlineExtensionSpanLabelStyles : editorContentStyles.inlineExtensionDivLabelStyles, (0, _fg.fg)('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : (0, _fg.fg)('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && (0, _isExperimentEnabled.isExperimentEnabled)('platform_status_lozenge_fractional_zoom_fix') && editorContentStyles.statusStylesTeam26TextTrim, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_inline_node_selection_style') && editorContentStyles.inlineCardSelectionStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_inline_node_selection_style') && editorContentStyles.mentionInlineNodeSelectionStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_inline_node_selection_style') && editorContentStyles.statusInlineNodeSelectionStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_inline_node_selection_style') && editorContentStyles.dateInlineNodeSelectionStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_inline_node_selection_style') && editorContentStyles.emojiInlineNodeSelectionStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_attributed_version_history') && editorContentStyles.contributorTagStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, (0, _fg.fg)('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && !(0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && (0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_embed_open_in_new_tab') && editorContentStyles.embedLinksInLivePagesCursorStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout') && !(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout') && !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_collapsible_headings') && editorContentStyles.pragmaticResizerStylesHiddenForCollapsedContent, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isComment && ((0, _fg.fg)('platform_editor_comment_margin_cq') || (0, _isExperimentEnabled.isExperimentEnabled)('work_item_modernization') || (0, _fg.fg)('wiv_modernization_cohort')) && editorContentStyles.commentLessMarginStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_rovo_special_visual') && colorMode !== 'dark' && editorContentStyles.agentMentionRovoShimmer, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_rovo_special_visual') && colorMode === 'dark' && editorContentStyles.agentMentionRovoShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _fg.fg)('platform_editor_table_heading_cell_alignment') && editorContentStyles.tableSharedStyle_with_platform_editor_table_heading_cell_alignment, (0, _fg.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
425
460
|
ref: ref,
|
|
426
461
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
427
462
|
"data-testid": "editor-content-container"
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "
|
|
9
|
+
var version = exports.version = "243.1.0";
|
|
@@ -14,7 +14,6 @@ import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/WidthProvi
|
|
|
14
14
|
import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles/constants';
|
|
15
15
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
18
17
|
// Ignored via go/ees005
|
|
19
18
|
// eslint-disable-next-line import/no-named-as-default
|
|
20
19
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -37,13 +36,13 @@ const commentEditorCompiledStyles = {
|
|
|
37
36
|
};
|
|
38
37
|
const appearance = 'comment';
|
|
39
38
|
export const CommentEditorWithIntl = props => {
|
|
40
|
-
var _editorAPI$blockMenu$, _editorAPI$blockMenu, _editorAPI$blockMenu$2, _editorAPI$blockMenu$3
|
|
39
|
+
var _editorAPI$blockMenu$, _editorAPI$blockMenu, _editorAPI$blockMenu$2, _editorAPI$blockMenu$3;
|
|
41
40
|
const {
|
|
42
41
|
editorAPI
|
|
43
42
|
} = props;
|
|
44
43
|
|
|
45
44
|
// Get useStandardNodeWidth from block menu plugin shared state
|
|
46
|
-
const useStandardNodeWidth =
|
|
45
|
+
const useStandardNodeWidth = (_editorAPI$blockMenu$ = editorAPI === null || editorAPI === void 0 ? void 0 : (_editorAPI$blockMenu = editorAPI.blockMenu) === null || _editorAPI$blockMenu === void 0 ? void 0 : (_editorAPI$blockMenu$2 = _editorAPI$blockMenu.sharedState) === null || _editorAPI$blockMenu$2 === void 0 ? void 0 : (_editorAPI$blockMenu$3 = _editorAPI$blockMenu$2.currentState()) === null || _editorAPI$blockMenu$3 === void 0 ? void 0 : _editorAPI$blockMenu$3.useStandardNodeWidth) !== null && _editorAPI$blockMenu$ !== void 0 ? _editorAPI$blockMenu$ : false;
|
|
47
46
|
const {
|
|
48
47
|
editorViewMode,
|
|
49
48
|
primaryToolbarComponentsState,
|
|
@@ -5,7 +5,6 @@ import { SSRRenderMeasure } from '@atlaskit/editor-common/SSRRenderMeasure';
|
|
|
5
5
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/useSharedPluginStateSelector';
|
|
6
6
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/useSharedPluginStateWithSelector';
|
|
7
7
|
import { FULL_PAGE_EDITOR_TOOLBAR_HEIGHT } from '@atlaskit/editor-shared-styles/constants';
|
|
8
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
9
8
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
9
|
import { getPrimaryToolbarComponents } from '../../Toolbar/getPrimaryToolbarComponents';
|
|
11
10
|
import { FullPageContentArea } from './FullPageContentArea';
|
|
@@ -92,15 +91,12 @@ export const FullPageEditor = props => {
|
|
|
92
91
|
const {
|
|
93
92
|
customPrimaryToolbarComponents
|
|
94
93
|
} = props;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
if (
|
|
100
|
-
|
|
101
|
-
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
102
|
-
isEditorToolbarHidden = true;
|
|
103
|
-
}
|
|
94
|
+
|
|
95
|
+
// need to check if the toolbarDockingPosition is set to 'none' or 'top'
|
|
96
|
+
if (toolbarDockingPosition === 'none' && !forcePrimaryToolbarPinned) {
|
|
97
|
+
primaryToolbarComponents = [];
|
|
98
|
+
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
99
|
+
isEditorToolbarHidden = true;
|
|
104
100
|
}
|
|
105
101
|
}
|
|
106
102
|
const isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar);
|
|
@@ -7,7 +7,6 @@ import { injectIntl } from 'react-intl';
|
|
|
7
7
|
import { messages } from '@atlaskit/editor-common/messages/full-page';
|
|
8
8
|
import { akEditorGutterPaddingDynamic, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles/constants';
|
|
9
9
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
10
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
12
11
|
|
|
13
12
|
// Ignored via go/ees005
|
|
@@ -53,7 +52,7 @@ const compiledStyles = {
|
|
|
53
52
|
export const CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
|
|
54
53
|
const EDITOR_CONTAINER = 'ak-editor-container';
|
|
55
54
|
const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
56
|
-
var _props$editorAPI, _props$editorAPI$base, _props$editorAPI$base2, _props$editorAPI$bloc, _props$editorAPI2, _props$editorAPI2$blo, _props$editorAPI2$blo2, _props$editorAPI2$blo3,
|
|
55
|
+
var _props$editorAPI, _props$editorAPI$base, _props$editorAPI$base2, _props$editorAPI$bloc, _props$editorAPI2, _props$editorAPI2$blo, _props$editorAPI2$blo2, _props$editorAPI2$blo3, _contentAreaRef$curre, _ref, _props$popupsScrollab, _allowScrollGutter$gu;
|
|
57
56
|
const fullWidthMode = props.appearance === 'full-width';
|
|
58
57
|
const maxWidthMode = props.appearance === 'max';
|
|
59
58
|
const scrollContainerRef = useRef(null);
|
|
@@ -63,7 +62,7 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
63
62
|
const contentAreaMaxWidth = getTotalPadding() + (!fullWidthMode ? maxWidthMode ? akEditorUltraWideLayoutWidth : akEditorDefaultLayoutWidth : akEditorFullWidthLayoutWidth);
|
|
64
63
|
|
|
65
64
|
// Get useStandardNodeWidth from block menu plugin shared state
|
|
66
|
-
const useStandardNodeWidth =
|
|
65
|
+
const useStandardNodeWidth = (_props$editorAPI$bloc = (_props$editorAPI2 = props.editorAPI) === null || _props$editorAPI2 === void 0 ? void 0 : (_props$editorAPI2$blo = _props$editorAPI2.blockMenu) === null || _props$editorAPI2$blo === void 0 ? void 0 : (_props$editorAPI2$blo2 = _props$editorAPI2$blo.sharedState) === null || _props$editorAPI2$blo2 === void 0 ? void 0 : (_props$editorAPI2$blo3 = _props$editorAPI2$blo2.currentState()) === null || _props$editorAPI2$blo3 === void 0 ? void 0 : _props$editorAPI2$blo3.useStandardNodeWidth) !== null && _props$editorAPI$bloc !== void 0 ? _props$editorAPI$bloc : false;
|
|
67
66
|
useImperativeHandle(ref, () => ({
|
|
68
67
|
get scrollContainer() {
|
|
69
68
|
return scrollContainerRef.current;
|
|
@@ -3,7 +3,6 @@ import { injectIntl } from 'react-intl';
|
|
|
3
3
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
4
4
|
import { messages } from '@atlaskit/editor-common/messages/full-page';
|
|
5
5
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu/ToolbarArrowKeyNavigationProvider';
|
|
6
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
7
6
|
import { ToolbarPortalMountPoint, useToolbarPortal } from '../../Toolbar/ToolbarPortal';
|
|
8
7
|
import { ToolbarWithSizeDetector as Toolbar } from '../../Toolbar/ToolbarWithSizeDetector';
|
|
9
8
|
import { BeforePrimaryToolbarWrapper } from './BeforeWrapper';
|
|
@@ -14,12 +13,9 @@ import { CustomToolbarWrapper, MainToolbarIconBefore, NonCustomToolbarWrapper }
|
|
|
14
13
|
export const EditorToolbar = /*#__PURE__*/React.memo(props => {
|
|
15
14
|
var _props$primaryToolbar, _useToolbarPortal, _props$customPrimaryT;
|
|
16
15
|
const [shouldSplitToolbar, setShouldSplitToolbar] = useState(false);
|
|
17
|
-
const {
|
|
18
|
-
editorAPI
|
|
19
|
-
} = props;
|
|
20
16
|
|
|
21
17
|
// When primary toolbar components is undefined, do not show two line editor toolbar
|
|
22
|
-
const twoLineEditorToolbar =
|
|
18
|
+
const twoLineEditorToolbar = !!props.customPrimaryToolbarComponents && ((_props$primaryToolbar = props.primaryToolbarComponents) === null || _props$primaryToolbar === void 0 ? void 0 : _props$primaryToolbar.length) !== 0;
|
|
23
19
|
|
|
24
20
|
// When a toolbar portal context is provided, render the toolbar inside a portal.
|
|
25
21
|
// Otherwise fall back to a fragment just to avoid forking rendering logic.
|
|
@@ -48,13 +44,6 @@ export const EditorToolbar = /*#__PURE__*/React.memo(props => {
|
|
|
48
44
|
}));
|
|
49
45
|
const customToolbar = /*#__PURE__*/React.createElement(CustomToolbarWrapper, null, !!props.customPrimaryToolbarComponents && 'before' in props.customPrimaryToolbarComponents ? /*#__PURE__*/React.createElement(BeforePrimaryToolbarWrapper, {
|
|
50
46
|
beforePrimaryToolbarComponents: (_props$customPrimaryT = props.customPrimaryToolbarComponents) === null || _props$customPrimaryT === void 0 ? void 0 : _props$customPrimaryT.before
|
|
51
|
-
}) : null, !editorExperiment('platform_editor_controls', 'variant1') && editorAPI !== null && editorAPI !== void 0 && editorAPI.findReplace && twoLineEditorToolbar ? editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.findReplace.actions.registerToolbarButton({
|
|
52
|
-
popupsBoundariesElement: props.popupsBoundariesElement,
|
|
53
|
-
popupsMountPoint: popupsMountPoint,
|
|
54
|
-
popupsScrollableElement: props.popupsScrollableElement,
|
|
55
|
-
editorView: props.editorView,
|
|
56
|
-
containerElement: props.containerElement,
|
|
57
|
-
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent
|
|
58
47
|
}) : null, !!props.customPrimaryToolbarComponents && 'after' in props.customPrimaryToolbarComponents ? props.customPrimaryToolbarComponents.after : props.customPrimaryToolbarComponents);
|
|
59
48
|
useEffect(() => {
|
|
60
49
|
if (twoLineEditorToolbar) {
|
|
@@ -155,6 +155,11 @@
|
|
|
155
155
|
.cc-1kwmdli .embedCardView-content-wrap[data-testid=show-diff-changed-decoration-node] .loader-wrapper>div:after{box-shadow:0 0 0 var(--diff-decoration-marker-ring-width,1px) var(--diff-decoration-marker-color);border-color:transparent}
|
|
156
156
|
.cc-1vj8t5e .inlineCardView-content-wrap{max-width:calc(100% - 20px);vertical-align:top;word-break:break-all}.cc-1vj8t5e .inlineCardView-content-wrap .card-with-comment{background:var(--ds-background-accent-yellow-subtler,#f5e989);border-bottom:2px solid var(--ds-border-accent-yellow,#b38600);box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}.cc-1vj8t5e .inlineCardView-content-wrap .card{padding-left:var(--ds-space-025,2px);padding-right:var(--ds-space-025,2px);padding-top:var(--ds-space-100,8px);padding-bottom:var(--ds-space-100,8px);margin-bottom:var(--ds-space-negative-100,-8px)}.cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection, .cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus::selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::selection, .cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::-moz-selection, .cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap .loader-wrapper>a{z-index:1;position:relative}.cc-1vj8t5e .inlineCardView-content-wrap.danger .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);z-index:2}.cc-1vj8t5e .blockCardView-content-wrap{display:block;margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;max-width:760px}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}.cc-1vj8t5e .blockCardView-content-wrap.danger .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap{max-width:100%;display:flex;justify-content:center}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{cursor:pointer;background-color:var(--ds-background-neutral-subtle,#00000000);border-radius:var(--ds-radius-large,8px);border:1px solid var(--ds-border,#0b120e24);overflow-x:hidden;overflow-y:hidden}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap ::selection, .cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap::selection{background-color:transparent}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::-moz-selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.danger .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1vj8t5e .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-1vj8t5e .embedCardView-content-wrap .loader-wrapper>div:after{transition:box-shadow 0s}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::selection, .cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::selection{background-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection, .cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::-moz-selection{background-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.danger .media-card-frame:after{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important;background:var(--ds-background-danger,#ffeceb)!important}.cc-1vj8t5e .embedCardView-content-wrap.danger .richMedia-resize-handle-left:after, .cc-1vj8t5e .embedCardView-content-wrap.danger .richMedia-resize-handle-right:after{background:var(--ds-border-danger,#e2483d)}.cc-1vj8t5e .card-floating-toolbar--link-picker{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}
|
|
157
157
|
.cc-1ta13nz .inlineCardView-content-wrap{max-width:calc(100% - 20px);vertical-align:top;word-break:break-all}.cc-1ta13nz .inlineCardView-content-wrap .card-with-comment{background:var(--ds-background-accent-yellow-subtler,#f5e989);border-bottom:2px solid var(--ds-border-accent-yellow,#b38600);box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}.cc-1ta13nz .inlineCardView-content-wrap .card{padding-left:var(--ds-space-025,2px);padding-right:var(--ds-space-025,2px);padding-top:var(--ds-space-100,8px);padding-bottom:var(--ds-space-100,8px);margin-bottom:var(--ds-space-negative-100,-8px)}.cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection, .cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus::selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::selection, .cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::-moz-selection, .cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node:not(.search-match-block):not(.danger) .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap .loader-wrapper>a{z-index:1;position:relative}.cc-1ta13nz .inlineCardView-content-wrap.danger .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);z-index:2}.cc-1ta13nz .blockCardView-content-wrap{display:block;margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;max-width:760px}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}.cc-1ta13nz .blockCardView-content-wrap.danger .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap{max-width:100%;display:flex;justify-content:center}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{cursor:pointer;background-color:var(--ds-background-neutral-subtle,#00000000);border-radius:var(--ds-radius-large,8px);border:1px solid var(--ds-border,#0b120e24);overflow-x:hidden;overflow-y:hidden}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap ::selection, .cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap::selection{background-color:transparent}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::-moz-selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.danger .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1ta13nz .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-1ta13nz .embedCardView-content-wrap .loader-wrapper>div:after{transition:box-shadow 0s}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::selection, .cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::selection{background-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection, .cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::-moz-selection{background-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.danger .media-card-frame:after{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important;background:var(--ds-background-danger,#ffeceb)!important}.cc-1ta13nz .embedCardView-content-wrap.danger .richMedia-resize-handle-left:after, .cc-1ta13nz .embedCardView-content-wrap.danger .richMedia-resize-handle-right:after{background:var(--ds-border-danger,#e2483d)}.cc-1ta13nz .card-floating-toolbar--link-picker{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}
|
|
158
|
+
.cc-1d0p3jy .inlineCardView-content-wrap .loader-wrapper>a{transition-property:all,background-color;transition-duration:.1s,0s}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a ::selection, .cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a::selection{background-color:transparent}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a ::-moz-selection, .cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a{background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);color:var(--ds-link-pressed,#1558bc)}
|
|
159
|
+
.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive ::selection, .cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive::selection{background-color:transparent}.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive ::-moz-selection, .cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive::-moz-selection{background-color:transparent}.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive{background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);color:var(--ds-text-subtle,#505258)}
|
|
160
|
+
.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span ::selection, .cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span::selection{background-color:transparent}.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span ::-moz-selection, .cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span::-moz-selection{background-color:transparent}.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span{background-image:linear-gradient(color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent),color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent))}
|
|
161
|
+
.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span ::selection, .cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span::selection{background-color:transparent}.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span ::-moz-selection, .cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span::-moz-selection{background-color:transparent}.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span{background-image:linear-gradient(color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent),color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent))}
|
|
162
|
+
.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) ::selection, .cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image)::selection{background-color:transparent}.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) ::-moz-selection, .cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image)::-moz-selection{background-color:transparent}.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);border-radius:var(--ds-radius-xsmall,2px)}
|
|
158
163
|
@container editor-area (max-width: 600px){.cc-1sh1jof .embedCardView-content-wrap{margin-top:var(--ds-space-150,9pt)}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}}
|
|
159
164
|
.cc-a5baya .blockCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-a5baya .blockCardView-content-wrap .loader-wrapper>div a{cursor:auto}
|
|
160
165
|
.cc-1fnk8xx .embedCardView-content-wrap .loader-wrapper>div a{cursor:auto}
|
|
@@ -87,6 +87,36 @@ const inlineStartShadow = null;
|
|
|
87
87
|
const inlineEndShadow = null;
|
|
88
88
|
const hideNativeBrowserTextSelectionStyles = null;
|
|
89
89
|
const boxShadowSelectionStyles = null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The inline node selection tint. A fixed token rather than the system `Highlight` colour, which is a
|
|
93
|
+
* saturated blue in some browsers and platforms that text cannot be read on, and rather than a
|
|
94
|
+
* `selected` token, which is neutral in the refreshed (finesse) theme.
|
|
95
|
+
*/
|
|
96
|
+
const inlineNodeSelectionTint = "var(--ds-background-accent-blue-subtler, #CFE1FD)";
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* A background only, with no overlay, so it paints correctly on every line fragment when the node
|
|
100
|
+
* wraps across lines.
|
|
101
|
+
*/
|
|
102
|
+
const inlineNodeRangeSelectionStyles = null;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Tints a node that has its own meaningful background colour (status, date) with a background-image
|
|
106
|
+
* layer, which paints above the node's background colour and below its text, so the colour stays
|
|
107
|
+
* recognisable while selected. The token is written inline because Compiled can only evaluate it
|
|
108
|
+
* statically there.
|
|
109
|
+
*/
|
|
110
|
+
const inlineNodeUnderlaySelectionStyles = null;
|
|
111
|
+
|
|
112
|
+
/** The link colour on the tint at 4.5:1 contrast, which `color.link` does not reach in light mode. */
|
|
113
|
+
const inlineCardTintedTextStyles = null;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Smart cards transition every property for 0.1s, which fades the tint in and out behind the
|
|
117
|
+
* selection as it moves. Background colour changes apply at once; other transitions are kept.
|
|
118
|
+
*/
|
|
119
|
+
const inlineCardInstantBackgroundStyles = null;
|
|
90
120
|
const dangerBorderStyles = null;
|
|
91
121
|
const backgroundSelectionStyles = null;
|
|
92
122
|
const dangerBackgroundStyles = null;
|
|
@@ -358,6 +388,11 @@ const editorContentStyles = {
|
|
|
358
388
|
smartCardDiffStyles: "cc-1kwmdli",
|
|
359
389
|
smartCardStylesWithSearchMatch: "cc-1vj8t5e",
|
|
360
390
|
smartCardStylesWithSearchMatchAndBlockMenuDangerStyles: "cc-1ta13nz",
|
|
391
|
+
inlineCardSelectionStyles: "cc-1d0p3jy",
|
|
392
|
+
mentionInlineNodeSelectionStyles: "cc-edis4n",
|
|
393
|
+
statusInlineNodeSelectionStyles: "cc-iwpn5g",
|
|
394
|
+
dateInlineNodeSelectionStyles: "cc-18q0p9l",
|
|
395
|
+
emojiInlineNodeSelectionStyles: "cc-1r5ye89",
|
|
361
396
|
smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness: "cc-1sh1jof",
|
|
362
397
|
smartLinksInLivePagesStyles: "cc-a5baya",
|
|
363
398
|
embedLinksInLivePagesCursorStyles: "cc-1fnk8xx",
|
|
@@ -476,8 +511,8 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
476
511
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
477
512
|
className: ax([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
|
|
478
513
|
exposure: true
|
|
479
|
-
}) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, isExperimentEnabled('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, isImproveInpEnabled ? editorContentStyles.scopedHideSelectionStyles : editorContentStyles.hideSelectionStyles, isImproveInpEnabled ? editorContentStyles.scopedHideCursorStyles : editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles,
|
|
480
|
-
editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, isInlineExtensionSpansEnabled ? editorContentStyles.taskItemHeightNextStyles : editorContentStyles.taskItemHeightOldStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, isInlineExtensionSpansEnabled ? editorContentStyles.inlineExtensionSpanLabelStyles : editorContentStyles.inlineExtensionDivLabelStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isExperimentEnabled('platform_status_lozenge_fractional_zoom_fix') && editorContentStyles.statusStylesTeam26TextTrim, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, isExperimentEnabled('platform_editor_attributed_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, !isExperimentEnabled('platform_editor_embed_open_in_new_tab') && editorContentStyles.embedLinksInLivePagesCursorStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, isExperimentEnabled('platform_editor_collapsible_headings') && editorContentStyles.pragmaticResizerStylesHiddenForCollapsedContent, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isComment && (fg('platform_editor_comment_margin_cq') || isExperimentEnabled('work_item_modernization') || fg('wiv_modernization_cohort')) && editorContentStyles.commentLessMarginStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, isExperimentEnabled('platform_editor_mention_rovo_special_visual') && colorMode !== 'dark' && editorContentStyles.agentMentionRovoShimmer, isExperimentEnabled('platform_editor_mention_rovo_special_visual') && colorMode === 'dark' && editorContentStyles.agentMentionRovoShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_table_heading_cell_alignment') && editorContentStyles.tableSharedStyle_with_platform_editor_table_heading_cell_alignment, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
514
|
+
}) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, isExperimentEnabled('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, isImproveInpEnabled ? editorContentStyles.scopedHideSelectionStyles : editorContentStyles.hideSelectionStyles, isImproveInpEnabled ? editorContentStyles.scopedHideCursorStyles : editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, isSelectionHighlightInheritanceActive ? editorContentStyles.listSelectedNodeStylesWithHighlightInheritance : editorContentStyles.listSelectedNodeStyles, isSelectionHighlightInheritanceActive ? editorContentStyles.textSelectedNodeStylesWithHighlightInheritance : editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, isExperimentEnabled('platform_editor_lovability_dividers') && editorContentStyles.selectedRuleStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, isExperimentEnabled('platform_editor_numbered_headings') && editorContentStyles.numberedHeadingsStyles, editorContentStyles.smartCardDiffStyles, editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
|
|
515
|
+
editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, isInlineExtensionSpansEnabled ? editorContentStyles.taskItemHeightNextStyles : editorContentStyles.taskItemHeightOldStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, isInlineExtensionSpansEnabled ? editorContentStyles.inlineExtensionSpanLabelStyles : editorContentStyles.inlineExtensionDivLabelStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isExperimentEnabled('platform_status_lozenge_fractional_zoom_fix') && editorContentStyles.statusStylesTeam26TextTrim, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.inlineCardSelectionStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.mentionInlineNodeSelectionStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.statusInlineNodeSelectionStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.dateInlineNodeSelectionStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.emojiInlineNodeSelectionStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, isExperimentEnabled('platform_editor_attributed_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, !isExperimentEnabled('platform_editor_embed_open_in_new_tab') && editorContentStyles.embedLinksInLivePagesCursorStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, isExperimentEnabled('platform_editor_collapsible_headings') && editorContentStyles.pragmaticResizerStylesHiddenForCollapsedContent, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isComment && (fg('platform_editor_comment_margin_cq') || isExperimentEnabled('work_item_modernization') || fg('wiv_modernization_cohort')) && editorContentStyles.commentLessMarginStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, isExperimentEnabled('platform_editor_mention_rovo_special_visual') && colorMode !== 'dark' && editorContentStyles.agentMentionRovoShimmer, isExperimentEnabled('platform_editor_mention_rovo_special_visual') && colorMode === 'dark' && editorContentStyles.agentMentionRovoShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_table_heading_cell_alignment') && editorContentStyles.tableSharedStyle_with_platform_editor_table_heading_cell_alignment, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
481
516
|
ref: ref,
|
|
482
517
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
483
518
|
"data-testid": "editor-content-container"
|
|
@@ -18,7 +18,6 @@ import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/WidthProvi
|
|
|
18
18
|
import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles/constants';
|
|
19
19
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
20
20
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
21
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
22
21
|
// Ignored via go/ees005
|
|
23
22
|
// eslint-disable-next-line import/no-named-as-default
|
|
24
23
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -41,11 +40,11 @@ var commentEditorCompiledStyles = {
|
|
|
41
40
|
};
|
|
42
41
|
var appearance = 'comment';
|
|
43
42
|
export var CommentEditorWithIntl = function CommentEditorWithIntl(props) {
|
|
44
|
-
var _editorAPI$blockMenu$, _editorAPI$blockMenu
|
|
43
|
+
var _editorAPI$blockMenu$, _editorAPI$blockMenu;
|
|
45
44
|
var editorAPI = props.editorAPI;
|
|
46
45
|
|
|
47
46
|
// Get useStandardNodeWidth from block menu plugin shared state
|
|
48
|
-
var useStandardNodeWidth =
|
|
47
|
+
var useStandardNodeWidth = (_editorAPI$blockMenu$ = editorAPI === null || editorAPI === void 0 || (_editorAPI$blockMenu = editorAPI.blockMenu) === null || _editorAPI$blockMenu === void 0 || (_editorAPI$blockMenu = _editorAPI$blockMenu.sharedState) === null || _editorAPI$blockMenu === void 0 || (_editorAPI$blockMenu = _editorAPI$blockMenu.currentState()) === null || _editorAPI$blockMenu === void 0 ? void 0 : _editorAPI$blockMenu.useStandardNodeWidth) !== null && _editorAPI$blockMenu$ !== void 0 ? _editorAPI$blockMenu$ : false;
|
|
49
48
|
var _useSharedPluginState = useSharedPluginStateWithSelector(editorAPI, ['maxContentSize', 'primaryToolbar', 'editorViewMode'], function (states) {
|
|
50
49
|
var _states$maxContentSiz, _states$primaryToolba, _states$editorViewMod;
|
|
51
50
|
return {
|
|
@@ -6,7 +6,6 @@ import { SSRRenderMeasure } from '@atlaskit/editor-common/SSRRenderMeasure';
|
|
|
6
6
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/useSharedPluginStateSelector';
|
|
7
7
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/useSharedPluginStateWithSelector';
|
|
8
8
|
import { FULL_PAGE_EDITOR_TOOLBAR_HEIGHT } from '@atlaskit/editor-shared-styles/constants';
|
|
9
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
10
9
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
11
10
|
import { getPrimaryToolbarComponents } from '../../Toolbar/getPrimaryToolbarComponents';
|
|
12
11
|
import { FullPageContentArea } from './FullPageContentArea';
|
|
@@ -97,15 +96,12 @@ export var FullPageEditor = function FullPageEditor(props) {
|
|
|
97
96
|
}
|
|
98
97
|
var isEditorToolbarHidden = state.editorViewMode === 'view';
|
|
99
98
|
var customPrimaryToolbarComponents = props.customPrimaryToolbarComponents;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
if (
|
|
105
|
-
|
|
106
|
-
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
107
|
-
isEditorToolbarHidden = true;
|
|
108
|
-
}
|
|
99
|
+
|
|
100
|
+
// need to check if the toolbarDockingPosition is set to 'none' or 'top'
|
|
101
|
+
if (toolbarDockingPosition === 'none' && !forcePrimaryToolbarPinned) {
|
|
102
|
+
primaryToolbarComponents = [];
|
|
103
|
+
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
104
|
+
isEditorToolbarHidden = true;
|
|
109
105
|
}
|
|
110
106
|
}
|
|
111
107
|
var isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar);
|
|
@@ -7,7 +7,6 @@ import { injectIntl } from 'react-intl';
|
|
|
7
7
|
import { messages } from '@atlaskit/editor-common/messages/full-page';
|
|
8
8
|
import { akEditorGutterPaddingDynamic, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles/constants';
|
|
9
9
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
10
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
12
11
|
|
|
13
12
|
// Ignored via go/ees005
|
|
@@ -55,7 +54,7 @@ var compiledStyles = {
|
|
|
55
54
|
export var CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
|
|
56
55
|
var EDITOR_CONTAINER = 'ak-editor-container';
|
|
57
56
|
var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
58
|
-
var _props$editorAPI, _props$editorAPI$bloc, _props$editorAPI2,
|
|
57
|
+
var _props$editorAPI, _props$editorAPI$bloc, _props$editorAPI2, _contentAreaRef$curre, _ref, _props$popupsScrollab, _allowScrollGutter$gu;
|
|
59
58
|
var fullWidthMode = props.appearance === 'full-width';
|
|
60
59
|
var maxWidthMode = props.appearance === 'max';
|
|
61
60
|
var scrollContainerRef = useRef(null);
|
|
@@ -65,7 +64,7 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
65
64
|
var contentAreaMaxWidth = getTotalPadding() + (!fullWidthMode ? maxWidthMode ? akEditorUltraWideLayoutWidth : akEditorDefaultLayoutWidth : akEditorFullWidthLayoutWidth);
|
|
66
65
|
|
|
67
66
|
// Get useStandardNodeWidth from block menu plugin shared state
|
|
68
|
-
var useStandardNodeWidth =
|
|
67
|
+
var useStandardNodeWidth = (_props$editorAPI$bloc = (_props$editorAPI2 = props.editorAPI) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.blockMenu) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.sharedState) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.currentState()) === null || _props$editorAPI2 === void 0 ? void 0 : _props$editorAPI2.useStandardNodeWidth) !== null && _props$editorAPI$bloc !== void 0 ? _props$editorAPI$bloc : false;
|
|
69
68
|
useImperativeHandle(ref, function () {
|
|
70
69
|
return {
|
|
71
70
|
get scrollContainer() {
|
|
@@ -4,7 +4,6 @@ import { injectIntl } from 'react-intl';
|
|
|
4
4
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
5
5
|
import { messages } from '@atlaskit/editor-common/messages/full-page';
|
|
6
6
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu/ToolbarArrowKeyNavigationProvider';
|
|
7
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
8
7
|
import { ToolbarPortalMountPoint, useToolbarPortal } from '../../Toolbar/ToolbarPortal';
|
|
9
8
|
import { ToolbarWithSizeDetector as Toolbar } from '../../Toolbar/ToolbarWithSizeDetector';
|
|
10
9
|
import { BeforePrimaryToolbarWrapper } from './BeforeWrapper';
|
|
@@ -18,10 +17,9 @@ export var EditorToolbar = /*#__PURE__*/React.memo(function (props) {
|
|
|
18
17
|
_useState2 = _slicedToArray(_useState, 2),
|
|
19
18
|
shouldSplitToolbar = _useState2[0],
|
|
20
19
|
setShouldSplitToolbar = _useState2[1];
|
|
21
|
-
var editorAPI = props.editorAPI;
|
|
22
20
|
|
|
23
21
|
// When primary toolbar components is undefined, do not show two line editor toolbar
|
|
24
|
-
var twoLineEditorToolbar =
|
|
22
|
+
var twoLineEditorToolbar = !!props.customPrimaryToolbarComponents && ((_props$primaryToolbar = props.primaryToolbarComponents) === null || _props$primaryToolbar === void 0 ? void 0 : _props$primaryToolbar.length) !== 0;
|
|
25
23
|
|
|
26
24
|
// When a toolbar portal context is provided, render the toolbar inside a portal.
|
|
27
25
|
// Otherwise fall back to a fragment just to avoid forking rendering logic.
|
|
@@ -49,13 +47,6 @@ export var EditorToolbar = /*#__PURE__*/React.memo(function (props) {
|
|
|
49
47
|
}));
|
|
50
48
|
var customToolbar = /*#__PURE__*/React.createElement(CustomToolbarWrapper, null, !!props.customPrimaryToolbarComponents && 'before' in props.customPrimaryToolbarComponents ? /*#__PURE__*/React.createElement(BeforePrimaryToolbarWrapper, {
|
|
51
49
|
beforePrimaryToolbarComponents: (_props$customPrimaryT = props.customPrimaryToolbarComponents) === null || _props$customPrimaryT === void 0 ? void 0 : _props$customPrimaryT.before
|
|
52
|
-
}) : null, !editorExperiment('platform_editor_controls', 'variant1') && editorAPI !== null && editorAPI !== void 0 && editorAPI.findReplace && twoLineEditorToolbar ? editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.findReplace.actions.registerToolbarButton({
|
|
53
|
-
popupsBoundariesElement: props.popupsBoundariesElement,
|
|
54
|
-
popupsMountPoint: popupsMountPoint,
|
|
55
|
-
popupsScrollableElement: props.popupsScrollableElement,
|
|
56
|
-
editorView: props.editorView,
|
|
57
|
-
containerElement: props.containerElement,
|
|
58
|
-
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent
|
|
59
50
|
}) : null, !!props.customPrimaryToolbarComponents && 'after' in props.customPrimaryToolbarComponents ? props.customPrimaryToolbarComponents.after : props.customPrimaryToolbarComponents);
|
|
60
51
|
useEffect(function () {
|
|
61
52
|
if (twoLineEditorToolbar) {
|
|
@@ -155,6 +155,11 @@
|
|
|
155
155
|
.cc-1kwmdli .embedCardView-content-wrap[data-testid=show-diff-changed-decoration-node] .loader-wrapper>div:after{box-shadow:0 0 0 var(--diff-decoration-marker-ring-width,1px) var(--diff-decoration-marker-color);border-color:transparent}
|
|
156
156
|
.cc-1vj8t5e .inlineCardView-content-wrap{max-width:calc(100% - 20px);vertical-align:top;word-break:break-all}.cc-1vj8t5e .inlineCardView-content-wrap .card-with-comment{background:var(--ds-background-accent-yellow-subtler,#f5e989);border-bottom:2px solid var(--ds-border-accent-yellow,#b38600);box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}.cc-1vj8t5e .inlineCardView-content-wrap .card{padding-left:var(--ds-space-025,2px);padding-right:var(--ds-space-025,2px);padding-top:var(--ds-space-100,8px);padding-bottom:var(--ds-space-100,8px);margin-bottom:var(--ds-space-negative-100,-8px)}.cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection, .cc-1vj8t5e .inlineCardView-content-wrap .card .loader-wrapper>a:focus::selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::selection, .cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::-moz-selection, .cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .inlineCardView-content-wrap .loader-wrapper>a{z-index:1;position:relative}.cc-1vj8t5e .inlineCardView-content-wrap.danger .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);z-index:2}.cc-1vj8t5e .blockCardView-content-wrap{display:block;margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;max-width:760px}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1vj8t5e .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}.cc-1vj8t5e .blockCardView-content-wrap.danger .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap{max-width:100%;display:flex;justify-content:center}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{cursor:pointer;background-color:var(--ds-background-neutral-subtle,#00000000);border-radius:var(--ds-radius-large,8px);border:1px solid var(--ds-border,#0b120e24);overflow-x:hidden;overflow-y:hidden}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap ::selection, .cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap::selection{background-color:transparent}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::-moz-selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1vj8t5e .datasourceView-content-wrap.blockCardView-content-wrap.danger .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1vj8t5e .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-1vj8t5e .embedCardView-content-wrap .loader-wrapper>div:after{transition:box-shadow 0s}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::selection, .cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::selection{background-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection, .cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::-moz-selection{background-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1vj8t5e .embedCardView-content-wrap.danger .media-card-frame:after{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important;background:var(--ds-background-danger,#ffeceb)!important}.cc-1vj8t5e .embedCardView-content-wrap.danger .richMedia-resize-handle-left:after, .cc-1vj8t5e .embedCardView-content-wrap.danger .richMedia-resize-handle-right:after{background:var(--ds-border-danger,#e2483d)}.cc-1vj8t5e .card-floating-toolbar--link-picker{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}
|
|
157
157
|
.cc-1ta13nz .inlineCardView-content-wrap{max-width:calc(100% - 20px);vertical-align:top;word-break:break-all}.cc-1ta13nz .inlineCardView-content-wrap .card-with-comment{background:var(--ds-background-accent-yellow-subtler,#f5e989);border-bottom:2px solid var(--ds-border-accent-yellow,#b38600);box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}.cc-1ta13nz .inlineCardView-content-wrap .card{padding-left:var(--ds-space-025,2px);padding-right:var(--ds-space-025,2px);padding-top:var(--ds-space-100,8px);padding-bottom:var(--ds-space-100,8px);margin-bottom:var(--ds-space-negative-100,-8px)}.cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection, .cc-1ta13nz .inlineCardView-content-wrap .card .loader-wrapper>a:focus::selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::selection, .cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a ::-moz-selection, .cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap.ak-editor-selected-node:not(.search-match-block):not(.danger) .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .inlineCardView-content-wrap .loader-wrapper>a{z-index:1;position:relative}.cc-1ta13nz .inlineCardView-content-wrap.danger .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d);z-index:2}.cc-1ta13nz .blockCardView-content-wrap{display:block;margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;max-width:760px}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1ta13nz .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}.cc-1ta13nz .blockCardView-content-wrap.danger .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap{max-width:100%;display:flex;justify-content:center}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{cursor:pointer;background-color:var(--ds-background-neutral-subtle,#00000000);border-radius:var(--ds-radius-large,8px);border:1px solid var(--ds-border,#0b120e24);overflow-x:hidden;overflow-y:hidden}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap ::selection, .cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap::selection{background-color:transparent}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.ak-editor-selected-node .datasourceView-content-inner-wrap input::-moz-selection{background-color:var(--ds-background-selected-hovered,#cfe1fd)}.cc-1ta13nz .datasourceView-content-wrap.blockCardView-content-wrap.danger .datasourceView-content-inner-wrap{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1ta13nz .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-1ta13nz .embedCardView-content-wrap .loader-wrapper>div:after{transition:box-shadow 0s}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::selection, .cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::selection{background-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection, .cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after::-moz-selection{background-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.ak-editor-selected-node:not(.search-match-block) .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1ta13nz .embedCardView-content-wrap.danger .media-card-frame:after{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)!important;background:var(--ds-background-danger,#ffeceb)!important}.cc-1ta13nz .embedCardView-content-wrap.danger .richMedia-resize-handle-left:after, .cc-1ta13nz .embedCardView-content-wrap.danger .richMedia-resize-handle-right:after{background:var(--ds-border-danger,#e2483d)}.cc-1ta13nz .card-floating-toolbar--link-picker{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}
|
|
158
|
+
.cc-1d0p3jy .inlineCardView-content-wrap .loader-wrapper>a{transition-property:all,background-color;transition-duration:.1s,0s}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a ::selection, .cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a::selection{background-color:transparent}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a ::-moz-selection, .cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a::-moz-selection{background-color:transparent}.cc-1d0p3jy .inlineCardView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .loader-wrapper>a{background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);color:var(--ds-link-pressed,#1558bc)}
|
|
159
|
+
.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive ::selection, .cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive::selection{background-color:transparent}.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive ::-moz-selection, .cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive::-moz-selection{background-color:transparent}.cc-edis4n .mentionView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger)>.editor-mention-primitive{background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);color:var(--ds-text-subtle,#505258)}
|
|
160
|
+
.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span ::selection, .cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span::selection{background-color:transparent}.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span ::-moz-selection, .cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span::-moz-selection{background-color:transparent}.cc-iwpn5g .statusView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .status-lozenge-span>span{background-image:linear-gradient(color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent),color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent))}
|
|
161
|
+
.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span ::selection, .cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span::selection{background-color:transparent}.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span ::-moz-selection, .cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span::-moz-selection{background-color:transparent}.cc-18q0p9l .dateView-content-wrap.ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) .date-lozenger-container>span{background-image:linear-gradient(color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent),color-mix(in srgb,var(--ds-background-accent-blue-subtler,#cfe1fd) 60%,transparent))}
|
|
162
|
+
.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) ::selection, .cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image)::selection{background-color:transparent}.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) ::-moz-selection, .cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image)::-moz-selection{background-color:transparent}.cc-1r5ye89 [data-emoji-id].ak-editor-inline-node-in-range-selection:where(.ProseMirror-focused *):not(.search-match-block):not(.danger) :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){background-color:var(--ds-background-accent-blue-subtler,#cfe1fd);border-radius:var(--ds-radius-xsmall,2px)}
|
|
158
163
|
@container editor-area (max-width: 600px){.cc-1sh1jof .embedCardView-content-wrap{margin-top:var(--ds-space-150,9pt)}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::selection, .cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::selection{background-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection, .cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div::-moz-selection{background-color:transparent}.cc-1sh1jof .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div{border-radius:var(--ds-radius-large,8px)}}
|
|
159
164
|
.cc-a5baya .blockCardView-content-wrap .loader-wrapper>div{cursor:pointer}.cc-a5baya .blockCardView-content-wrap .loader-wrapper>div a{cursor:auto}
|
|
160
165
|
.cc-1fnk8xx .embedCardView-content-wrap .loader-wrapper>div a{cursor:auto}
|
|
@@ -88,6 +88,36 @@ var inlineStartShadow = null;
|
|
|
88
88
|
var inlineEndShadow = null;
|
|
89
89
|
var hideNativeBrowserTextSelectionStyles = null;
|
|
90
90
|
var boxShadowSelectionStyles = null;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The inline node selection tint. A fixed token rather than the system `Highlight` colour, which is a
|
|
94
|
+
* saturated blue in some browsers and platforms that text cannot be read on, and rather than a
|
|
95
|
+
* `selected` token, which is neutral in the refreshed (finesse) theme.
|
|
96
|
+
*/
|
|
97
|
+
var inlineNodeSelectionTint = "var(--ds-background-accent-blue-subtler, #CFE1FD)";
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* A background only, with no overlay, so it paints correctly on every line fragment when the node
|
|
101
|
+
* wraps across lines.
|
|
102
|
+
*/
|
|
103
|
+
var inlineNodeRangeSelectionStyles = null;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Tints a node that has its own meaningful background colour (status, date) with a background-image
|
|
107
|
+
* layer, which paints above the node's background colour and below its text, so the colour stays
|
|
108
|
+
* recognisable while selected. The token is written inline because Compiled can only evaluate it
|
|
109
|
+
* statically there.
|
|
110
|
+
*/
|
|
111
|
+
var inlineNodeUnderlaySelectionStyles = null;
|
|
112
|
+
|
|
113
|
+
/** The link colour on the tint at 4.5:1 contrast, which `color.link` does not reach in light mode. */
|
|
114
|
+
var inlineCardTintedTextStyles = null;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Smart cards transition every property for 0.1s, which fades the tint in and out behind the
|
|
118
|
+
* selection as it moves. Background colour changes apply at once; other transitions are kept.
|
|
119
|
+
*/
|
|
120
|
+
var inlineCardInstantBackgroundStyles = null;
|
|
91
121
|
var dangerBorderStyles = null;
|
|
92
122
|
var backgroundSelectionStyles = null;
|
|
93
123
|
var dangerBackgroundStyles = null;
|
|
@@ -305,6 +335,11 @@ var editorContentStyles = {
|
|
|
305
335
|
smartCardDiffStyles: "cc-1kwmdli",
|
|
306
336
|
smartCardStylesWithSearchMatch: "cc-1vj8t5e",
|
|
307
337
|
smartCardStylesWithSearchMatchAndBlockMenuDangerStyles: "cc-1ta13nz",
|
|
338
|
+
inlineCardSelectionStyles: "cc-1d0p3jy",
|
|
339
|
+
mentionInlineNodeSelectionStyles: "cc-edis4n",
|
|
340
|
+
statusInlineNodeSelectionStyles: "cc-iwpn5g",
|
|
341
|
+
dateInlineNodeSelectionStyles: "cc-18q0p9l",
|
|
342
|
+
emojiInlineNodeSelectionStyles: "cc-1r5ye89",
|
|
308
343
|
smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness: "cc-1sh1jof",
|
|
309
344
|
smartLinksInLivePagesStyles: "cc-a5baya",
|
|
310
345
|
embedLinksInLivePagesCursorStyles: "cc-1fnk8xx",
|
|
@@ -419,8 +454,8 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
419
454
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
420
455
|
className: ax([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
|
|
421
456
|
exposure: true
|
|
422
|
-
}) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, isExperimentEnabled('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, isImproveInpEnabled ? editorContentStyles.scopedHideSelectionStyles : editorContentStyles.hideSelectionStyles, isImproveInpEnabled ? editorContentStyles.scopedHideCursorStyles : editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles,
|
|
423
|
-
editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, isInlineExtensionSpansEnabled ? editorContentStyles.taskItemHeightNextStyles : editorContentStyles.taskItemHeightOldStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, isInlineExtensionSpansEnabled ? editorContentStyles.inlineExtensionSpanLabelStyles : editorContentStyles.inlineExtensionDivLabelStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isExperimentEnabled('platform_status_lozenge_fractional_zoom_fix') && editorContentStyles.statusStylesTeam26TextTrim, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, isExperimentEnabled('platform_editor_attributed_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, !isExperimentEnabled('platform_editor_embed_open_in_new_tab') && editorContentStyles.embedLinksInLivePagesCursorStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, isExperimentEnabled('platform_editor_collapsible_headings') && editorContentStyles.pragmaticResizerStylesHiddenForCollapsedContent, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isComment && (fg('platform_editor_comment_margin_cq') || isExperimentEnabled('work_item_modernization') || fg('wiv_modernization_cohort')) && editorContentStyles.commentLessMarginStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, isExperimentEnabled('platform_editor_mention_rovo_special_visual') && colorMode !== 'dark' && editorContentStyles.agentMentionRovoShimmer, isExperimentEnabled('platform_editor_mention_rovo_special_visual') && colorMode === 'dark' && editorContentStyles.agentMentionRovoShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_table_heading_cell_alignment') && editorContentStyles.tableSharedStyle_with_platform_editor_table_heading_cell_alignment, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
457
|
+
}) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, isExperimentEnabled('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, isImproveInpEnabled ? editorContentStyles.scopedHideSelectionStyles : editorContentStyles.hideSelectionStyles, isImproveInpEnabled ? editorContentStyles.scopedHideCursorStyles : editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, isSelectionHighlightInheritanceActive ? editorContentStyles.listSelectedNodeStylesWithHighlightInheritance : editorContentStyles.listSelectedNodeStyles, isSelectionHighlightInheritanceActive ? editorContentStyles.textSelectedNodeStylesWithHighlightInheritance : editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, isExperimentEnabled('platform_editor_lovability_dividers') && editorContentStyles.selectedRuleStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, isExperimentEnabled('platform_editor_numbered_headings') && editorContentStyles.numberedHeadingsStyles, editorContentStyles.smartCardDiffStyles, editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
|
|
458
|
+
editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, isInlineExtensionSpansEnabled ? editorContentStyles.taskItemHeightNextStyles : editorContentStyles.taskItemHeightOldStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, isInlineExtensionSpansEnabled ? editorContentStyles.inlineExtensionSpanLabelStyles : editorContentStyles.inlineExtensionDivLabelStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isExperimentEnabled('platform_status_lozenge_fractional_zoom_fix') && editorContentStyles.statusStylesTeam26TextTrim, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.inlineCardSelectionStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.mentionInlineNodeSelectionStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.statusInlineNodeSelectionStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.dateInlineNodeSelectionStyles, isExperimentEnabled('platform_editor_inline_node_selection_style') && editorContentStyles.emojiInlineNodeSelectionStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, isExperimentEnabled('platform_editor_attributed_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, !isExperimentEnabled('platform_editor_embed_open_in_new_tab') && editorContentStyles.embedLinksInLivePagesCursorStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, isExperimentEnabled('platform_editor_collapsible_headings') && editorContentStyles.pragmaticResizerStylesHiddenForCollapsedContent, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isComment && (fg('platform_editor_comment_margin_cq') || isExperimentEnabled('work_item_modernization') || fg('wiv_modernization_cohort')) && editorContentStyles.commentLessMarginStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, isExperimentEnabled('platform_editor_mention_rovo_special_visual') && colorMode !== 'dark' && editorContentStyles.agentMentionRovoShimmer, isExperimentEnabled('platform_editor_mention_rovo_special_visual') && colorMode === 'dark' && editorContentStyles.agentMentionRovoShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_table_heading_cell_alignment') && editorContentStyles.tableSharedStyle_with_platform_editor_table_heading_cell_alignment, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
424
459
|
ref: ref,
|
|
425
460
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
426
461
|
"data-testid": "editor-content-container"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "243.
|
|
3
|
+
"version": "243.2.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/editor-plugin-block-menu": "^30.0.0",
|
|
54
54
|
"@atlaskit/editor-plugin-connectivity": "^31.0.0",
|
|
55
55
|
"@atlaskit/editor-plugin-quick-insert": "^31.0.0",
|
|
56
|
-
"@atlaskit/editor-plugin-selection-extension": "^34.
|
|
56
|
+
"@atlaskit/editor-plugin-selection-extension": "^34.1.0",
|
|
57
57
|
"@atlaskit/editor-plugin-user-preferences": "^29.0.0",
|
|
58
58
|
"@atlaskit/editor-plugins": "^17.0.0",
|
|
59
59
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"@atlaskit/editor-ssr-renderer": "^26.0.0",
|
|
62
62
|
"@atlaskit/editor-toolbar": "^2.11.0",
|
|
63
63
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
64
|
+
"@atlaskit/editor-ui-control-model": "^3.0.0",
|
|
64
65
|
"@atlaskit/emoji": "^73.6.0",
|
|
65
66
|
"@atlaskit/feature-gate-js-client": "^8.0.0",
|
|
66
67
|
"@atlaskit/heading": "^8.0.0",
|
|
@@ -91,8 +92,8 @@
|
|
|
91
92
|
"uuid": "^11.1.1"
|
|
92
93
|
},
|
|
93
94
|
"peerDependencies": {
|
|
94
|
-
"@atlaskit/editor-common": "^135.
|
|
95
|
-
"@atlaskit/link-provider": "^6.
|
|
95
|
+
"@atlaskit/editor-common": "^135.3.0",
|
|
96
|
+
"@atlaskit/link-provider": "^6.2.0",
|
|
96
97
|
"@atlaskit/media-core": "^39.0.0",
|
|
97
98
|
"react": "^18.2.0 || ^19.2.0",
|
|
98
99
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
@@ -111,42 +112,42 @@
|
|
|
111
112
|
"@atlaskit/collab-provider": "^40.0.0",
|
|
112
113
|
"@atlaskit/docs": "^12.3.0",
|
|
113
114
|
"@atlaskit/drawer": "^14.3.0",
|
|
114
|
-
"@atlaskit/editor-common": "^135.
|
|
115
|
-
"@atlaskit/editor-plugin-alignment": "^32.
|
|
116
|
-
"@atlaskit/editor-plugin-annotation": "^31.
|
|
115
|
+
"@atlaskit/editor-common": "^135.3.0",
|
|
116
|
+
"@atlaskit/editor-plugin-alignment": "^32.1.0",
|
|
117
|
+
"@atlaskit/editor-plugin-annotation": "^31.1.0",
|
|
117
118
|
"@atlaskit/editor-plugin-base": "^32.0.0",
|
|
118
119
|
"@atlaskit/editor-plugin-card": "^37.0.0",
|
|
119
|
-
"@atlaskit/editor-plugin-code-block-advanced": "^31.
|
|
120
|
+
"@atlaskit/editor-plugin-code-block-advanced": "^31.1.0",
|
|
120
121
|
"@atlaskit/editor-plugin-collab-edit": "^33.0.0",
|
|
121
122
|
"@atlaskit/editor-plugin-content-insertion": "^31.0.0",
|
|
122
123
|
"@atlaskit/editor-plugin-editor-viewmode": "^33.0.0",
|
|
123
124
|
"@atlaskit/editor-plugin-extension": "^34.0.0",
|
|
124
125
|
"@atlaskit/editor-plugin-grid": "^31.0.0",
|
|
125
126
|
"@atlaskit/editor-plugin-guideline": "^31.0.0",
|
|
126
|
-
"@atlaskit/editor-plugin-highlight": "^31.
|
|
127
|
-
"@atlaskit/editor-plugin-hyperlink": "^33.
|
|
128
|
-
"@atlaskit/editor-plugin-insert-block": "^32.
|
|
127
|
+
"@atlaskit/editor-plugin-highlight": "^31.1.0",
|
|
128
|
+
"@atlaskit/editor-plugin-hyperlink": "^33.1.0",
|
|
129
|
+
"@atlaskit/editor-plugin-insert-block": "^32.1.0",
|
|
129
130
|
"@atlaskit/editor-plugin-layout": "^32.0.0",
|
|
130
131
|
"@atlaskit/editor-plugin-list": "^33.0.0",
|
|
131
|
-
"@atlaskit/editor-plugin-media": "^33.
|
|
132
|
-
"@atlaskit/editor-plugin-media-insert": "^49.
|
|
132
|
+
"@atlaskit/editor-plugin-media": "^33.1.0",
|
|
133
|
+
"@atlaskit/editor-plugin-media-insert": "^49.1.0",
|
|
133
134
|
"@atlaskit/editor-plugin-paste": "^32.0.0",
|
|
134
|
-
"@atlaskit/editor-plugin-selection-marker": "^31.
|
|
135
|
+
"@atlaskit/editor-plugin-selection-marker": "^31.1.0",
|
|
135
136
|
"@atlaskit/editor-plugin-show-diff": "^31.0.0",
|
|
136
|
-
"@atlaskit/editor-plugin-synced-block": "^29.
|
|
137
|
-
"@atlaskit/editor-plugin-table": "^43.
|
|
138
|
-
"@atlaskit/editor-plugin-tasks-and-decisions": "^34.
|
|
139
|
-
"@atlaskit/editor-plugin-text-color": "^31.
|
|
140
|
-
"@atlaskit/editor-plugin-text-formatting": "^32.
|
|
137
|
+
"@atlaskit/editor-plugin-synced-block": "^29.1.0",
|
|
138
|
+
"@atlaskit/editor-plugin-table": "^43.1.0",
|
|
139
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^34.1.0",
|
|
140
|
+
"@atlaskit/editor-plugin-text-color": "^31.1.0",
|
|
141
|
+
"@atlaskit/editor-plugin-text-formatting": "^32.1.0",
|
|
141
142
|
"@atlaskit/editor-plugin-toolbar": "^28.0.0",
|
|
142
|
-
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^32.
|
|
143
|
+
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^32.1.0",
|
|
143
144
|
"@atlaskit/editor-plugin-track-changes": "^30.0.0",
|
|
144
|
-
"@atlaskit/editor-synced-block-provider": "^27.
|
|
145
|
+
"@atlaskit/editor-synced-block-provider": "^27.1.0",
|
|
145
146
|
"@atlaskit/editor-synced-block-renderer": "^29.0.0",
|
|
146
147
|
"@atlaskit/editor-tables": "^3.2.0",
|
|
147
148
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
148
149
|
"@atlaskit/form": "^18.3.0",
|
|
149
|
-
"@atlaskit/link-provider": "^6.
|
|
150
|
+
"@atlaskit/link-provider": "^6.2.0",
|
|
150
151
|
"@atlaskit/linking-common": "^13.0.0",
|
|
151
152
|
"@atlaskit/logo": "^23.3.0",
|
|
152
153
|
"@atlaskit/media-core": "^39.0.0",
|
|
@@ -170,11 +171,11 @@
|
|
|
170
171
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
171
172
|
"@atlassian/a11y-playwright-testing": "^0.13.0",
|
|
172
173
|
"@atlassian/adf-schema-json": "^1.35.0",
|
|
173
|
-
"@atlassian/editor-rovo-bridge": "^30.
|
|
174
|
+
"@atlassian/editor-rovo-bridge": "^30.2.0",
|
|
174
175
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
175
176
|
"@atlassian/feature-flags-storybook-utils": "^0.5.0",
|
|
176
177
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
177
|
-
"@atlassian/search-client": "^3.
|
|
178
|
+
"@atlassian/search-client": "^3.15.0",
|
|
178
179
|
"@atlassian/search-provider": "^32.0.0",
|
|
179
180
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
180
181
|
"@atlassian/testing-library": "^0.12.0",
|