@atlaskit/editor-core 216.1.0 → 216.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 216.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`fabf67c3ca239`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fabf67c3ca239) -
8
+ EDITOR-4191 Use node selection for all nodes selected via drag handle
9
+ - Updated dependencies
10
+
11
+ ## 216.1.1
12
+
13
+ ### Patch Changes
14
+
15
+ - [`8691a6ca57af0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8691a6ca57af0) -
16
+ [ux] [A11Y-25850] update selected find/replace match focus ring color behind
17
+ platform_editor_a11y_find_replace_focus_ring
18
+ - [`f0bc994a5bdf6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0bc994a5bdf6) -
19
+ Fixes toolbar not appearing when platform_editor_toolbar_delay_render_fix is disabled
20
+ - Updated dependencies
21
+
3
22
  ## 216.1.0
4
23
 
5
24
  ### Minor Changes
@@ -108,7 +108,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
108
108
  showKeyline: showKeyline || ContextPanelWidth > 0
109
109
  }, beforeIcon && /*#__PURE__*/_react.default.createElement("div", {
110
110
  className: (0, _runtime.ax)([styles.mainToolbarIconBefore, (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
111
- }, beforeIcon), (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || ((0, _expValEquals.expValEquals)('platform_editor_ssr_renderer', 'isEnabled', true) && (0, _coreUtils.isSSR)() || editorView) && (0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) && !(0, _coreUtils.isSSR)()) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
111
+ }, beforeIcon), (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || ((0, _expValEquals.expValEquals)('platform_editor_ssr_renderer', 'isEnabled', true) && (0, _coreUtils.isSSR)() || editorView) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
112
112
  toolbar: toolbar,
113
113
  components: components,
114
114
  editorView: editorView,
@@ -121,7 +121,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
121
121
  }, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/_react.default.createElement("div", {
122
122
  "data-testid": 'before-primary-toolbar-components-plugin',
123
123
  className: (0, _runtime.ax)([styles.beforePrimaryToolbarComponents])
124
- }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null)) : primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) && !(0, _coreUtils.isSSR)()) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
124
+ }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null)) : primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
125
125
  toolbar: toolbar,
126
126
  components: components,
127
127
  editorView: editorView,
@@ -200,7 +200,11 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
200
200
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
201
201
  _blockTypeStyles.blocktypeStyles, (0, _expValEquals.expValEquals)('platform_editor_block_menu', 'isEnabled', true) &&
202
202
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
203
- _blockTypeStyles.blockquoteSelectedNodeStyles, (0, _expVal.expVal)('platform_editor_blockquote_zero_padding', 'isEnabled', false) ?
203
+ _blockTypeStyles.blockquoteSelectedNodeStyles, (0, _expValEquals.expValEquals)('platform_editor_block_menu', 'isEnabled', true) &&
204
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
205
+ _blockTypeStyles.listSelectedNodeStyles, (0, _expValEquals.expValEquals)('platform_editor_block_menu', 'isEnabled', true) &&
206
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
207
+ _blockTypeStyles.textSelectedNodeStyles, (0, _expVal.expVal)('platform_editor_blockquote_zero_padding', 'isEnabled', false) ?
204
208
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
205
209
  _blockTypeStyles.blockquoteZeroPadding : null,
206
210
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
- exports.blocktypeStyles_without_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes = exports.blocktypeStyles = exports.blockquoteZeroPadding = exports.blockquoteSelectedNodeStyles = exports.blockquoteDangerStyles = void 0;
7
+ exports.textSelectedNodeStyles = exports.listSelectedNodeStyles = exports.blocktypeStyles_without_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes = exports.blocktypeStyles = exports.blockquoteZeroPadding = exports.blockquoteSelectedNodeStyles = exports.blockquoteDangerStyles = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
7
9
  var _react = require("@emotion/react");
8
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
9
11
 
@@ -128,24 +130,18 @@ var blockquoteDangerStyles = exports.blockquoteDangerStyles = (0, _react.css)({
128
130
 
129
131
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
130
132
  var blockquoteSelectedNodeStyles = exports.blockquoteSelectedNodeStyles = (0, _react.css)({
131
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
132
- '.ProseMirror': {
133
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
134
- '& blockquote': {
135
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
136
- '&.ak-editor-selected-node': {
137
- background: "var(--ds-blanket-selected, #388BFF14)",
138
- borderLeftColor: "var(--ds-border-selected, #1868DB)",
139
- WebkitUserSelect: 'text',
140
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
141
- '&::selection, *::selection': {
142
- backgroundColor: 'transparent'
143
- },
144
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
145
- '&::-moz-selection, *::-moz-selection': {
146
- backgroundColor: 'transparent'
147
- }
148
- }
133
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
134
+ '.ProseMirror blockquote.ak-editor-selected-node': {
135
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
136
+ borderLeftColor: "var(--ds-border-selected, #1868DB)",
137
+ WebkitUserSelect: 'text',
138
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
139
+ '&::selection, *::selection': {
140
+ backgroundColor: 'transparent'
141
+ },
142
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
143
+ '&::-moz-selection, *::-moz-selection': {
144
+ backgroundColor: 'transparent'
149
145
  }
150
146
  }
151
147
  });
@@ -337,4 +333,45 @@ var blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes = exports.block
337
333
  '.ak-editor-content-area .ak-editor-content-area .ProseMirror blockquote': {
338
334
  paddingLeft: "var(--ds-space-200, 16px)"
339
335
  }
340
- });
336
+ });
337
+
338
+ // This class applies when the node is selected directly or is included in the selected range
339
+ var isSelectedNode = '.ak-editor-selected-node';
340
+ var isOuterMostSelectedNode = "".concat(isSelectedNode, ":not(").concat(isSelectedNode, " *)");
341
+
342
+ // This class applies when there is a node selection on this node directly
343
+ var isOnlySelectedNode = '.ProseMirror-selectednode';
344
+ var isOuterMostOnlySelectedNode = "".concat(isOnlySelectedNode, ":not(").concat(isOnlySelectedNode, " *)");
345
+ var isList = ':is(ul, ol, div[data-node-type="actionList"])';
346
+ var isOuterMostList = "".concat(isList, ":not(").concat(isList, " *)");
347
+
348
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
349
+ var listSelectedNodeStyles = exports.listSelectedNodeStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".ProseMirror ".concat(isOuterMostList).concat(isOuterMostSelectedNode), {
350
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
351
+ WebkitUserSelect: 'text',
352
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
353
+ '&::selection, *::selection': {
354
+ backgroundColor: 'transparent'
355
+ },
356
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
357
+ '&::-moz-selection, *::-moz-selection': {
358
+ backgroundColor: 'transparent'
359
+ }
360
+ }));
361
+ var isText = ":is(p, h1, h2, h3, h4, h5, h6)";
362
+ var isRootText = "".concat(isText, ":not(").concat(isList, " ").concat(isText, ")");
363
+
364
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
365
+ var textSelectedNodeStyles = exports.textSelectedNodeStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".ProseMirror ".concat(isRootText).concat(isOuterMostOnlySelectedNode), {
366
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
367
+ WebkitUserSelect: 'text',
368
+ boxShadow: "0 -4px 0 ".concat("var(--ds-background-accent-blue-subtler, #CFE1FD)", ", 0 4px 0 ", "var(--ds-background-accent-blue-subtler, #CFE1FD)"),
369
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
370
+ '&::selection, *::selection': {
371
+ backgroundColor: 'transparent'
372
+ },
373
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
374
+ '&::-moz-selection, *::-moz-selection': {
375
+ backgroundColor: 'transparent'
376
+ }
377
+ }));
@@ -220,10 +220,7 @@ var findReplaceStylesNew = exports.findReplaceStylesNew = (0, _react.css)({
220
220
 
221
221
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
222
222
  var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _react.css)({
223
- /** Text match styles */
224
-
225
- /** Light mode */
226
-
223
+ // text - inactive match - light mode
227
224
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
228
225
  '.search-match-text': {
229
226
  borderRadius: "var(--ds-space-050, 4px)",
@@ -233,15 +230,15 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
233
230
  backgroundColor: "var(--ds-background-accent-magenta-subtler, #FDD0EC)".concat(" !important"),
234
231
  color: "var(--ds-text, #292A2E)"
235
232
  },
233
+ // text - active match - light mode
236
234
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
237
235
  '.search-match-text.selected-search-match': {
238
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-border-accent-magenta, #CD519D)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t"),
236
+ boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t"),
239
237
  // we need to use !important here as we need to override inline selection styles
240
238
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
241
239
  backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)".concat(" !important")
242
240
  },
243
- /** Dark mode */
244
-
241
+ // text - inactive match - dark mode
245
242
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
246
243
  '.search-match-text.search-match-dark': {
247
244
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #77325B)", "\n\t\t"),
@@ -250,6 +247,7 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
250
247
  backgroundColor: "var(--ds-background-accent-magenta-bolder-pressed, #77325B)".concat(" !important"),
251
248
  color: "var(--ds-text-inverse, #FFFFFF)"
252
249
  },
250
+ // text - active match - dark mode
253
251
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
254
252
  '.search-match-text.selected-search-match.search-match-dark': {
255
253
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t"),
@@ -257,11 +255,7 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
257
255
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
258
256
  backgroundColor: "var(--ds-background-accent-magenta-bolder-hovered, #943D73)".concat(" !important")
259
257
  },
260
- /** Block match styles */
261
-
262
- /** Light mode */
263
-
264
- /** Without node selection */
258
+ // block node - inactive match - light mode - without node selection
265
259
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
266
260
  '.search-match-block': {
267
261
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -273,18 +267,19 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
273
267
  boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-subtler, #FDD0EC)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-border-accent-magenta, #CD519D)", "\n\t\t\t")
274
268
  }
275
269
  },
270
+ // block node - active match - light mode - without node selection
276
271
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
277
272
  '.search-match-block.search-match-block-selected': {
278
273
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
279
274
  '[data-smart-link-container="true"], .loader-wrapper>div::after': {
280
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-border-accent-magenta, #CD519D)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t\t")
275
+ boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t\t")
281
276
  },
282
277
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
283
278
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
284
- boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-border-accent-magenta, #CD519D)", "\n\t\t\t")
279
+ boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t\t")
285
280
  }
286
281
  },
287
- /** With node selection */
282
+ // block node - inactive match - light mode - with node selection
288
283
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
289
284
  '.search-match-block.ak-editor-selected-node': {
290
285
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -293,22 +288,22 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
293
288
  },
294
289
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
295
290
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
296
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #F797D2)")
291
+ boxShadow: "\n\t\t\t0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ",\n\t\t\t0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-border-accent-magenta, #CD519D)", "\n\t\t\t")
297
292
  }
298
293
  },
294
+ // block node - active match - light mode - with node selection
299
295
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
300
296
  '.search-match-block.search-match-block-selected.ak-editor-selected-node': {
301
297
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
302
298
  '[data-smart-link-container="true"], .loader-wrapper>div::after': {
303
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-border-accent-magenta, #CD519D)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #1868DB)", "\n\t\t\t")
299
+ boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #1868DB)", "\n\t\t\t")
304
300
  },
305
301
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
306
302
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
307
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #F797D2)")
303
+ boxShadow: "\n\t\t\t0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ",\n\t\t\t0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t\t")
308
304
  }
309
305
  },
310
- /** Dark mode */
311
- /** Without node selection */
306
+ // block node - inactive match - dark mode - without node selection
312
307
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
313
308
  '.search-match-block.search-match-dark': {
314
309
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -317,9 +312,10 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
317
312
  },
318
313
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
319
314
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
320
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-pressed, #77325B)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
315
+ boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-pressed, #77325B)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", "\n\t\t\t")
321
316
  }
322
317
  },
318
+ // block node - active match - dark mode - without node selection
323
319
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
324
320
  '.search-match-block.search-match-block-selected.search-match-dark': {
325
321
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -328,10 +324,10 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
328
324
  },
329
325
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
330
326
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
331
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
327
+ boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", "\n\t\t\t")
332
328
  }
333
329
  },
334
- /** With node selection */
330
+ // block node - inactive match - dark mode - with node selection
335
331
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
336
332
  '.search-match-block.search-match-dark.ak-editor-selected-node': {
337
333
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -340,9 +336,10 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
340
336
  },
341
337
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
342
338
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
343
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-pressed, #77325B)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
339
+ boxShadow: "\n\t\t\t0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ",\n\t\t\t0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-pressed, #77325B)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", "\n\t\t\t")
344
340
  }
345
341
  },
342
+ // block node - active match - dark mode - with node selection
346
343
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
347
344
  '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node': {
348
345
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -351,13 +348,10 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
351
348
  },
352
349
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
353
350
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
354
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
351
+ boxShadow: "\n\t\t\t0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ",\n\t\t\t0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", "\n\t\t\t")
355
352
  }
356
353
  },
357
- /** Expand title match styles */
358
-
359
- /** Light mode */
360
-
354
+ // expand title - inactive match - light mode
361
355
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
362
356
  '.search-match-expand-title > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
363
357
  borderRadius: "var(--ds-space-050, 4px)",
@@ -368,13 +362,13 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
368
362
  color: "var(--ds-text, #292A2E)"
369
363
  }
370
364
  },
365
+ // expand title - active match - light mode
371
366
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
372
367
  '.search-match-expand-title.selected-search-match > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
373
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-border-accent-magenta, #CD519D)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t"),
368
+ boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t"),
374
369
  backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"
375
370
  },
376
- /** Dark mode */
377
-
371
+ // expand title - inactive match - dark mode
378
372
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
379
373
  '.search-match-expand-title.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
380
374
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #77325B)", "\n\t\t"),
@@ -384,6 +378,7 @@ var findReplaceStylesNewWithA11Y = exports.findReplaceStylesNewWithA11Y = (0, _r
384
378
  color: "var(--ds-text-inverse, #FFFFFF)"
385
379
  }
386
380
  },
381
+ // expand title - active match - dark mode
387
382
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
388
383
  '.search-match-expand-title.selected-search-match.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
389
384
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t"),
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "216.0.2";
8
+ var version = exports.version = "216.1.1";
@@ -102,7 +102,7 @@ export const FullPageToolbarNext = ({
102
102
  showKeyline: showKeyline || ContextPanelWidth > 0
103
103
  }, beforeIcon && /*#__PURE__*/React.createElement("div", {
104
104
  className: ax([styles.mainToolbarIconBefore, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
105
- }, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) && !isSSR()) && /*#__PURE__*/React.createElement(ToolbarNext, {
105
+ }, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
106
106
  toolbar: toolbar,
107
107
  components: components,
108
108
  editorView: editorView,
@@ -115,7 +115,7 @@ export const FullPageToolbarNext = ({
115
115
  }, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
116
116
  "data-testid": 'before-primary-toolbar-components-plugin',
117
117
  className: ax([styles.beforePrimaryToolbarComponents])
118
- }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) && !isSSR()) && /*#__PURE__*/React.createElement(ToolbarNext, {
118
+ }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
119
119
  toolbar: toolbar,
120
120
  components: components,
121
121
  editorView: editorView,
@@ -22,7 +22,7 @@ import { annotationStyles } from './styles/annotationStyles';
22
22
  import { backgroundColorStyles, textHighlightPaddingStyles } from './styles/backgroundColorStyles';
23
23
  import { baseStyles, baseStylesMaxContainerWidthFixes, editorLargeGutterPuddingBaseStyles, editorLargeGutterPuddingBaseStylesEditorControls, editorLargeGutterPuddingReducedBaseStyles } from './styles/baseStyles';
24
24
  import { blockMarksStyles } from './styles/blockMarksStyles';
25
- import { blockquoteSelectedNodeStyles, blockquoteDangerStyles, blocktypeStyles, blockquoteZeroPadding, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc } from './styles/blockTypeStyles';
25
+ import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blockquoteZeroPadding, blocktypeStyles, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc, listSelectedNodeStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
26
26
  import { codeBidiWarningStyles } from './styles/codeBidiWarningStyles';
27
27
  import { codeBgColorStyles, codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin, firstCodeBlockWithNoMarginOld } from './styles/codeBlockStyles';
28
28
  import { codeMarkStyles } from './styles/codeMarkStyles';
@@ -59,7 +59,7 @@ import { shadowStyles } from './styles/shadowStyles';
59
59
  import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
60
60
  import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match } from './styles/statusStyles';
61
61
  import { syncBlockStyles } from './styles/syncBlockStyles';
62
- import { tableCommentEditorStyles, tableContainerOverflowY, tableContainerStyles, tableLayoutFixes, tableEmptyRowStyles } from './styles/tableStyles';
62
+ import { tableCommentEditorStyles, tableContainerOverflowY, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes } from './styles/tableStyles';
63
63
  import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
64
64
  import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
65
65
  import { textColorStyles } from './styles/textColorStyles';
@@ -196,7 +196,11 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
196
196
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
197
197
  blocktypeStyles, expValEquals('platform_editor_block_menu', 'isEnabled', true) &&
198
198
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
199
- blockquoteSelectedNodeStyles, expVal('platform_editor_blockquote_zero_padding', 'isEnabled', false) ?
199
+ blockquoteSelectedNodeStyles, expValEquals('platform_editor_block_menu', 'isEnabled', true) &&
200
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
201
+ listSelectedNodeStyles, expValEquals('platform_editor_block_menu', 'isEnabled', true) &&
202
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
203
+ textSelectedNodeStyles, expVal('platform_editor_blockquote_zero_padding', 'isEnabled', false) ?
200
204
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
201
205
  blockquoteZeroPadding : null,
202
206
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -121,24 +121,18 @@ export const blockquoteDangerStyles = css({
121
121
 
122
122
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
123
123
  export const blockquoteSelectedNodeStyles = css({
124
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
125
- '.ProseMirror': {
126
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
127
- '& blockquote': {
128
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
129
- '&.ak-editor-selected-node': {
130
- background: "var(--ds-blanket-selected, #388BFF14)",
131
- borderLeftColor: "var(--ds-border-selected, #1868DB)",
132
- WebkitUserSelect: 'text',
133
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
134
- '&::selection, *::selection': {
135
- backgroundColor: 'transparent'
136
- },
137
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
138
- '&::-moz-selection, *::-moz-selection': {
139
- backgroundColor: 'transparent'
140
- }
141
- }
124
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
125
+ '.ProseMirror blockquote.ak-editor-selected-node': {
126
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
127
+ borderLeftColor: "var(--ds-border-selected, #1868DB)",
128
+ WebkitUserSelect: 'text',
129
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
130
+ '&::selection, *::selection': {
131
+ backgroundColor: 'transparent'
132
+ },
133
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
134
+ '&::-moz-selection, *::-moz-selection': {
135
+ backgroundColor: 'transparent'
142
136
  }
143
137
  }
144
138
  });
@@ -330,4 +324,52 @@ export const blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes = css(
330
324
  '.ak-editor-content-area .ak-editor-content-area .ProseMirror blockquote': {
331
325
  paddingLeft: "var(--ds-space-200, 16px)"
332
326
  }
327
+ });
328
+
329
+ // This class applies when the node is selected directly or is included in the selected range
330
+ const isSelectedNode = '.ak-editor-selected-node';
331
+ const isOuterMostSelectedNode = `${isSelectedNode}:not(${isSelectedNode} *)`;
332
+
333
+ // This class applies when there is a node selection on this node directly
334
+ const isOnlySelectedNode = '.ProseMirror-selectednode';
335
+ const isOuterMostOnlySelectedNode = `${isOnlySelectedNode}:not(${isOnlySelectedNode} *)`;
336
+ const isList = ':is(ul, ol, div[data-node-type="actionList"])';
337
+ const isOuterMostList = `${isList}:not(${isList} *)`;
338
+
339
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
340
+ export const listSelectedNodeStyles = css({
341
+ // only apply selected styles to the outermost list to avoid nested selection styles for lists within lists
342
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
343
+ [`.ProseMirror ${isOuterMostList}${isOuterMostSelectedNode}`]: {
344
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
345
+ WebkitUserSelect: 'text',
346
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
347
+ '&::selection, *::selection': {
348
+ backgroundColor: 'transparent'
349
+ },
350
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
351
+ '&::-moz-selection, *::-moz-selection': {
352
+ backgroundColor: 'transparent'
353
+ }
354
+ }
355
+ });
356
+ const isText = `:is(p, h1, h2, h3, h4, h5, h6)`;
357
+ const isRootText = `${isText}:not(${isList} ${isText})`;
358
+
359
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
360
+ export const textSelectedNodeStyles = css({
361
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
362
+ [`.ProseMirror ${isRootText}${isOuterMostOnlySelectedNode}`]: {
363
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
364
+ WebkitUserSelect: 'text',
365
+ boxShadow: `0 -4px 0 ${"var(--ds-background-accent-blue-subtler, #CFE1FD)"}, 0 4px 0 ${"var(--ds-background-accent-blue-subtler, #CFE1FD)"}`,
366
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
367
+ '&::selection, *::selection': {
368
+ backgroundColor: 'transparent'
369
+ },
370
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
371
+ '&::-moz-selection, *::-moz-selection': {
372
+ backgroundColor: 'transparent'
373
+ }
374
+ }
333
375
  });
@@ -269,10 +269,7 @@ export const findReplaceStylesNew = css({
269
269
 
270
270
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
271
271
  export const findReplaceStylesNewWithA11Y = css({
272
- /** Text match styles */
273
-
274
- /** Light mode */
275
-
272
+ // text - inactive match - light mode
276
273
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
277
274
  '.search-match-text': {
278
275
  borderRadius: "var(--ds-space-050, 4px)",
@@ -285,18 +282,18 @@ export const findReplaceStylesNewWithA11Y = css({
285
282
  backgroundColor: `${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"} !important`,
286
283
  color: "var(--ds-text, #292A2E)"
287
284
  },
285
+ // text - active match - light mode
288
286
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
289
287
  '.search-match-text.selected-search-match': {
290
288
  boxShadow: `
291
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
289
+ inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
292
290
  inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"}
293
291
  `,
294
292
  // we need to use !important here as we need to override inline selection styles
295
293
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
296
294
  backgroundColor: `${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"} !important`
297
295
  },
298
- /** Dark mode */
299
-
296
+ // text - inactive match - dark mode
300
297
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
301
298
  '.search-match-text.search-match-dark': {
302
299
  boxShadow: `
@@ -308,6 +305,7 @@ export const findReplaceStylesNewWithA11Y = css({
308
305
  backgroundColor: `${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"} !important`,
309
306
  color: "var(--ds-text-inverse, #FFFFFF)"
310
307
  },
308
+ // text - active match - dark mode
311
309
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
312
310
  '.search-match-text.selected-search-match.search-match-dark': {
313
311
  boxShadow: `
@@ -318,11 +316,7 @@ export const findReplaceStylesNewWithA11Y = css({
318
316
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
319
317
  backgroundColor: `${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"} !important`
320
318
  },
321
- /** Block match styles */
322
-
323
- /** Light mode */
324
-
325
- /** Without node selection */
319
+ // block node - inactive match - light mode - without node selection
326
320
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
327
321
  '.search-match-block': {
328
322
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -340,12 +334,13 @@ export const findReplaceStylesNewWithA11Y = css({
340
334
  `
341
335
  }
342
336
  },
337
+ // block node - active match - light mode - without node selection
343
338
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
344
339
  '.search-match-block.search-match-block-selected': {
345
340
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
346
341
  '[data-smart-link-container="true"], .loader-wrapper>div::after': {
347
342
  boxShadow: `
348
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
343
+ inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
349
344
  inset 0 0 0 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"}
350
345
  `
351
346
  },
@@ -353,11 +348,11 @@ export const findReplaceStylesNewWithA11Y = css({
353
348
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
354
349
  boxShadow: `
355
350
  0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"},
356
- 0px 0px 0px 5px ${"var(--ds-border-accent-magenta, #CD519D)"}
351
+ 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}
357
352
  `
358
353
  }
359
354
  },
360
- /** With node selection */
355
+ // block node - inactive match - light mode - with node selection
361
356
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
362
357
  '.search-match-block.ak-editor-selected-node': {
363
358
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -370,26 +365,34 @@ export const findReplaceStylesNewWithA11Y = css({
370
365
  },
371
366
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
372
367
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
373
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}, 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-subtler-pressed, #F797D2)"}`
368
+ boxShadow: `
369
+ 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"},
370
+ 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"},
371
+ 0px 0px 0px 5px ${"var(--ds-border-accent-magenta, #CD519D)"}
372
+ `
374
373
  }
375
374
  },
375
+ // block node - active match - light mode - with node selection
376
376
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
377
377
  '.search-match-block.search-match-block-selected.ak-editor-selected-node': {
378
378
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
379
379
  '[data-smart-link-container="true"], .loader-wrapper>div::after': {
380
380
  boxShadow: `
381
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
381
+ inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
382
382
  inset 0 0 0 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"},
383
383
  0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}
384
384
  `
385
385
  },
386
386
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
387
387
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
388
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}, 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-subtler-pressed, #F797D2)"}`
388
+ boxShadow: `
389
+ 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"},
390
+ 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"},
391
+ 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}
392
+ `
389
393
  }
390
394
  },
391
- /** Dark mode */
392
- /** Without node selection */
395
+ // block node - inactive match - dark mode - without node selection
393
396
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
394
397
  '.search-match-block.search-match-dark': {
395
398
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -401,9 +404,13 @@ export const findReplaceStylesNewWithA11Y = css({
401
404
  },
402
405
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
403
406
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
404
- boxShadow: `0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}`
407
+ boxShadow: `
408
+ 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"},
409
+ 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}
410
+ `
405
411
  }
406
412
  },
413
+ // block node - active match - dark mode - without node selection
407
414
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
408
415
  '.search-match-block.search-match-block-selected.search-match-dark': {
409
416
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -415,10 +422,13 @@ export const findReplaceStylesNewWithA11Y = css({
415
422
  },
416
423
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
417
424
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
418
- boxShadow: `0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}`
425
+ boxShadow: `
426
+ 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
427
+ 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}
428
+ `
419
429
  }
420
430
  },
421
- /** With node selection */
431
+ // block node - inactive match - dark mode - with node selection
422
432
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
423
433
  '.search-match-block.search-match-dark.ak-editor-selected-node': {
424
434
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -431,9 +441,14 @@ export const findReplaceStylesNewWithA11Y = css({
431
441
  },
432
442
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
433
443
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
434
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}, 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}`
444
+ boxShadow: `
445
+ 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"},
446
+ 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"},
447
+ 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}
448
+ `
435
449
  }
436
450
  },
451
+ // block node - active match - dark mode - with node selection
437
452
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
438
453
  '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node': {
439
454
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -446,13 +461,14 @@ export const findReplaceStylesNewWithA11Y = css({
446
461
  },
447
462
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
448
463
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
449
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}, 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}`
464
+ boxShadow: `
465
+ 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"},
466
+ 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
467
+ 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}
468
+ `
450
469
  }
451
470
  },
452
- /** Expand title match styles */
453
-
454
- /** Light mode */
455
-
471
+ // expand title - inactive match - light mode
456
472
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
457
473
  '.search-match-expand-title > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
458
474
  borderRadius: "var(--ds-space-050, 4px)",
@@ -466,16 +482,16 @@ export const findReplaceStylesNewWithA11Y = css({
466
482
  color: "var(--ds-text, #292A2E)"
467
483
  }
468
484
  },
485
+ // expand title - active match - light mode
469
486
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
470
487
  '.search-match-expand-title.selected-search-match > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
471
488
  boxShadow: `
472
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
489
+ inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
473
490
  inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"}
474
491
  `,
475
492
  backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"
476
493
  },
477
- /** Dark mode */
478
-
494
+ // expand title - inactive match - dark mode
479
495
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
480
496
  '.search-match-expand-title.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
481
497
  boxShadow: `
@@ -488,6 +504,7 @@ export const findReplaceStylesNewWithA11Y = css({
488
504
  color: "var(--ds-text-inverse, #FFFFFF)"
489
505
  }
490
506
  },
507
+ // expand title - active match - dark mode
491
508
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
492
509
  '.search-match-expand-title.selected-search-match.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
493
510
  boxShadow: `
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "216.0.2";
2
+ export const version = "216.1.1";
@@ -99,7 +99,7 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
99
99
  showKeyline: showKeyline || ContextPanelWidth > 0
100
100
  }, beforeIcon && /*#__PURE__*/React.createElement("div", {
101
101
  className: ax([styles.mainToolbarIconBefore, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
102
- }, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) && !isSSR()) && /*#__PURE__*/React.createElement(ToolbarNext, {
102
+ }, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
103
103
  toolbar: toolbar,
104
104
  components: components,
105
105
  editorView: editorView,
@@ -112,7 +112,7 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
112
112
  }, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
113
113
  "data-testid": 'before-primary-toolbar-components-plugin',
114
114
  className: ax([styles.beforePrimaryToolbarComponents])
115
- }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) && !isSSR()) && /*#__PURE__*/React.createElement(ToolbarNext, {
115
+ }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
116
116
  toolbar: toolbar,
117
117
  components: components,
118
118
  editorView: editorView,
@@ -23,7 +23,7 @@ import { annotationStyles } from './styles/annotationStyles';
23
23
  import { backgroundColorStyles, textHighlightPaddingStyles } from './styles/backgroundColorStyles';
24
24
  import { baseStyles, baseStylesMaxContainerWidthFixes, editorLargeGutterPuddingBaseStyles, editorLargeGutterPuddingBaseStylesEditorControls, editorLargeGutterPuddingReducedBaseStyles } from './styles/baseStyles';
25
25
  import { blockMarksStyles } from './styles/blockMarksStyles';
26
- import { blockquoteSelectedNodeStyles, blockquoteDangerStyles, blocktypeStyles, blockquoteZeroPadding, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc } from './styles/blockTypeStyles';
26
+ import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blockquoteZeroPadding, blocktypeStyles, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc, listSelectedNodeStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
27
27
  import { codeBidiWarningStyles } from './styles/codeBidiWarningStyles';
28
28
  import { codeBgColorStyles, codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin, firstCodeBlockWithNoMarginOld } from './styles/codeBlockStyles';
29
29
  import { codeMarkStyles } from './styles/codeMarkStyles';
@@ -60,7 +60,7 @@ import { shadowStyles } from './styles/shadowStyles';
60
60
  import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
61
61
  import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match } from './styles/statusStyles';
62
62
  import { syncBlockStyles } from './styles/syncBlockStyles';
63
- import { tableCommentEditorStyles, tableContainerOverflowY, tableContainerStyles, tableLayoutFixes, tableEmptyRowStyles } from './styles/tableStyles';
63
+ import { tableCommentEditorStyles, tableContainerOverflowY, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes } from './styles/tableStyles';
64
64
  import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
65
65
  import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
66
66
  import { textColorStyles } from './styles/textColorStyles';
@@ -192,7 +192,11 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
192
192
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
193
193
  blocktypeStyles, expValEquals('platform_editor_block_menu', 'isEnabled', true) &&
194
194
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
195
- blockquoteSelectedNodeStyles, expVal('platform_editor_blockquote_zero_padding', 'isEnabled', false) ?
195
+ blockquoteSelectedNodeStyles, expValEquals('platform_editor_block_menu', 'isEnabled', true) &&
196
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
197
+ listSelectedNodeStyles, expValEquals('platform_editor_block_menu', 'isEnabled', true) &&
198
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
199
+ textSelectedNodeStyles, expVal('platform_editor_blockquote_zero_padding', 'isEnabled', false) ?
196
200
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
197
201
  blockquoteZeroPadding : null,
198
202
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -1,3 +1,4 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
1
2
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
2
3
  import { css } from '@emotion/react';
3
4
  // This style is needed to avoid Confluence's batch.css overrides that expand blockquote with extra padding after SSR.
@@ -121,24 +122,18 @@ export var blockquoteDangerStyles = css({
121
122
 
122
123
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
123
124
  export var blockquoteSelectedNodeStyles = css({
124
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
125
- '.ProseMirror': {
126
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
127
- '& blockquote': {
128
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
129
- '&.ak-editor-selected-node': {
130
- background: "var(--ds-blanket-selected, #388BFF14)",
131
- borderLeftColor: "var(--ds-border-selected, #1868DB)",
132
- WebkitUserSelect: 'text',
133
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
134
- '&::selection, *::selection': {
135
- backgroundColor: 'transparent'
136
- },
137
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
138
- '&::-moz-selection, *::-moz-selection': {
139
- backgroundColor: 'transparent'
140
- }
141
- }
125
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
126
+ '.ProseMirror blockquote.ak-editor-selected-node': {
127
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
128
+ borderLeftColor: "var(--ds-border-selected, #1868DB)",
129
+ WebkitUserSelect: 'text',
130
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
131
+ '&::selection, *::selection': {
132
+ backgroundColor: 'transparent'
133
+ },
134
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
135
+ '&::-moz-selection, *::-moz-selection': {
136
+ backgroundColor: 'transparent'
142
137
  }
143
138
  }
144
139
  });
@@ -330,4 +325,45 @@ export var blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes = css({
330
325
  '.ak-editor-content-area .ak-editor-content-area .ProseMirror blockquote': {
331
326
  paddingLeft: "var(--ds-space-200, 16px)"
332
327
  }
333
- });
328
+ });
329
+
330
+ // This class applies when the node is selected directly or is included in the selected range
331
+ var isSelectedNode = '.ak-editor-selected-node';
332
+ var isOuterMostSelectedNode = "".concat(isSelectedNode, ":not(").concat(isSelectedNode, " *)");
333
+
334
+ // This class applies when there is a node selection on this node directly
335
+ var isOnlySelectedNode = '.ProseMirror-selectednode';
336
+ var isOuterMostOnlySelectedNode = "".concat(isOnlySelectedNode, ":not(").concat(isOnlySelectedNode, " *)");
337
+ var isList = ':is(ul, ol, div[data-node-type="actionList"])';
338
+ var isOuterMostList = "".concat(isList, ":not(").concat(isList, " *)");
339
+
340
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
341
+ export var listSelectedNodeStyles = css(_defineProperty({}, ".ProseMirror ".concat(isOuterMostList).concat(isOuterMostSelectedNode), {
342
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
343
+ WebkitUserSelect: 'text',
344
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
345
+ '&::selection, *::selection': {
346
+ backgroundColor: 'transparent'
347
+ },
348
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
349
+ '&::-moz-selection, *::-moz-selection': {
350
+ backgroundColor: 'transparent'
351
+ }
352
+ }));
353
+ var isText = ":is(p, h1, h2, h3, h4, h5, h6)";
354
+ var isRootText = "".concat(isText, ":not(").concat(isList, " ").concat(isText, ")");
355
+
356
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
357
+ export var textSelectedNodeStyles = css(_defineProperty({}, ".ProseMirror ".concat(isRootText).concat(isOuterMostOnlySelectedNode), {
358
+ background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
359
+ WebkitUserSelect: 'text',
360
+ boxShadow: "0 -4px 0 ".concat("var(--ds-background-accent-blue-subtler, #CFE1FD)", ", 0 4px 0 ", "var(--ds-background-accent-blue-subtler, #CFE1FD)"),
361
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
362
+ '&::selection, *::selection': {
363
+ backgroundColor: 'transparent'
364
+ },
365
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
366
+ '&::-moz-selection, *::-moz-selection': {
367
+ backgroundColor: 'transparent'
368
+ }
369
+ }));
@@ -212,10 +212,7 @@ export var findReplaceStylesNew = css({
212
212
 
213
213
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
214
214
  export var findReplaceStylesNewWithA11Y = css({
215
- /** Text match styles */
216
-
217
- /** Light mode */
218
-
215
+ // text - inactive match - light mode
219
216
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
220
217
  '.search-match-text': {
221
218
  borderRadius: "var(--ds-space-050, 4px)",
@@ -225,15 +222,15 @@ export var findReplaceStylesNewWithA11Y = css({
225
222
  backgroundColor: "var(--ds-background-accent-magenta-subtler, #FDD0EC)".concat(" !important"),
226
223
  color: "var(--ds-text, #292A2E)"
227
224
  },
225
+ // text - active match - light mode
228
226
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
229
227
  '.search-match-text.selected-search-match': {
230
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-border-accent-magenta, #CD519D)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t"),
228
+ boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t"),
231
229
  // we need to use !important here as we need to override inline selection styles
232
230
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
233
231
  backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)".concat(" !important")
234
232
  },
235
- /** Dark mode */
236
-
233
+ // text - inactive match - dark mode
237
234
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
238
235
  '.search-match-text.search-match-dark': {
239
236
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #77325B)", "\n\t\t"),
@@ -242,6 +239,7 @@ export var findReplaceStylesNewWithA11Y = css({
242
239
  backgroundColor: "var(--ds-background-accent-magenta-bolder-pressed, #77325B)".concat(" !important"),
243
240
  color: "var(--ds-text-inverse, #FFFFFF)"
244
241
  },
242
+ // text - active match - dark mode
245
243
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
246
244
  '.search-match-text.selected-search-match.search-match-dark': {
247
245
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t"),
@@ -249,11 +247,7 @@ export var findReplaceStylesNewWithA11Y = css({
249
247
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
250
248
  backgroundColor: "var(--ds-background-accent-magenta-bolder-hovered, #943D73)".concat(" !important")
251
249
  },
252
- /** Block match styles */
253
-
254
- /** Light mode */
255
-
256
- /** Without node selection */
250
+ // block node - inactive match - light mode - without node selection
257
251
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
258
252
  '.search-match-block': {
259
253
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -265,18 +259,19 @@ export var findReplaceStylesNewWithA11Y = css({
265
259
  boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-subtler, #FDD0EC)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-border-accent-magenta, #CD519D)", "\n\t\t\t")
266
260
  }
267
261
  },
262
+ // block node - active match - light mode - without node selection
268
263
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
269
264
  '.search-match-block.search-match-block-selected': {
270
265
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
271
266
  '[data-smart-link-container="true"], .loader-wrapper>div::after': {
272
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-border-accent-magenta, #CD519D)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t\t")
267
+ boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t\t")
273
268
  },
274
269
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
275
270
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
276
- boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-border-accent-magenta, #CD519D)", "\n\t\t\t")
271
+ boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t\t")
277
272
  }
278
273
  },
279
- /** With node selection */
274
+ // block node - inactive match - light mode - with node selection
280
275
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
281
276
  '.search-match-block.ak-editor-selected-node': {
282
277
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -285,22 +280,22 @@ export var findReplaceStylesNewWithA11Y = css({
285
280
  },
286
281
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
287
282
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
288
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #F797D2)")
283
+ boxShadow: "\n\t\t\t0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ",\n\t\t\t0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-border-accent-magenta, #CD519D)", "\n\t\t\t")
289
284
  }
290
285
  },
286
+ // block node - active match - light mode - with node selection
291
287
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
292
288
  '.search-match-block.search-match-block-selected.ak-editor-selected-node': {
293
289
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
294
290
  '[data-smart-link-container="true"], .loader-wrapper>div::after': {
295
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-border-accent-magenta, #CD519D)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #1868DB)", "\n\t\t\t")
291
+ boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #1868DB)", "\n\t\t\t")
296
292
  },
297
293
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
298
294
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
299
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #F797D2)")
295
+ boxShadow: "\n\t\t\t0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ",\n\t\t\t0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t\t")
300
296
  }
301
297
  },
302
- /** Dark mode */
303
- /** Without node selection */
298
+ // block node - inactive match - dark mode - without node selection
304
299
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
305
300
  '.search-match-block.search-match-dark': {
306
301
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -309,9 +304,10 @@ export var findReplaceStylesNewWithA11Y = css({
309
304
  },
310
305
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
311
306
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
312
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-pressed, #77325B)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
307
+ boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-pressed, #77325B)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", "\n\t\t\t")
313
308
  }
314
309
  },
310
+ // block node - active match - dark mode - without node selection
315
311
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
316
312
  '.search-match-block.search-match-block-selected.search-match-dark': {
317
313
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -320,10 +316,10 @@ export var findReplaceStylesNewWithA11Y = css({
320
316
  },
321
317
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
322
318
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
323
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
319
+ boxShadow: "\n\t\t\t0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", "\n\t\t\t")
324
320
  }
325
321
  },
326
- /** With node selection */
322
+ // block node - inactive match - dark mode - with node selection
327
323
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
328
324
  '.search-match-block.search-match-dark.ak-editor-selected-node': {
329
325
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -332,9 +328,10 @@ export var findReplaceStylesNewWithA11Y = css({
332
328
  },
333
329
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
334
330
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
335
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-pressed, #77325B)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
331
+ boxShadow: "\n\t\t\t0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ",\n\t\t\t0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-pressed, #77325B)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", "\n\t\t\t")
336
332
  }
337
333
  },
334
+ // block node - active match - dark mode - with node selection
338
335
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
339
336
  '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node': {
340
337
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
@@ -343,13 +340,10 @@ export var findReplaceStylesNewWithA11Y = css({
343
340
  },
344
341
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
345
342
  '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
346
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
343
+ boxShadow: "\n\t\t\t0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)", ",\n\t\t\t0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\t0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", "\n\t\t\t")
347
344
  }
348
345
  },
349
- /** Expand title match styles */
350
-
351
- /** Light mode */
352
-
346
+ // expand title - inactive match - light mode
353
347
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
354
348
  '.search-match-expand-title > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
355
349
  borderRadius: "var(--ds-space-050, 4px)",
@@ -360,13 +354,13 @@ export var findReplaceStylesNewWithA11Y = css({
360
354
  color: "var(--ds-text, #292A2E)"
361
355
  }
362
356
  },
357
+ // expand title - active match - light mode
363
358
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
364
359
  '.search-match-expand-title.selected-search-match > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
365
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-border-accent-magenta, #CD519D)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t"),
360
+ boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)", "\n\t\t"),
366
361
  backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"
367
362
  },
368
- /** Dark mode */
369
-
363
+ // expand title - inactive match - dark mode
370
364
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
371
365
  '.search-match-expand-title.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
372
366
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #77325B)", "\n\t\t"),
@@ -376,6 +370,7 @@ export var findReplaceStylesNewWithA11Y = css({
376
370
  color: "var(--ds-text-inverse, #FFFFFF)"
377
371
  }
378
372
  },
373
+ // expand title - active match - dark mode
379
374
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
380
375
  '.search-match-expand-title.selected-search-match.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
381
376
  boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t"),
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "216.0.2";
2
+ export var version = "216.1.1";
@@ -6,3 +6,5 @@ export declare const blockquoteSelectedNodeStyles: SerializedStyles;
6
6
  export declare const blocktypeStyles_fg_platform_editor_typography_ugc: SerializedStyles;
7
7
  export declare const blocktypeStyles_without_fg_platform_editor_typography_ugc: SerializedStyles;
8
8
  export declare const blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes: SerializedStyles;
9
+ export declare const listSelectedNodeStyles: SerializedStyles;
10
+ export declare const textSelectedNodeStyles: SerializedStyles;
@@ -6,3 +6,5 @@ export declare const blockquoteSelectedNodeStyles: SerializedStyles;
6
6
  export declare const blocktypeStyles_fg_platform_editor_typography_ugc: SerializedStyles;
7
7
  export declare const blocktypeStyles_without_fg_platform_editor_typography_ugc: SerializedStyles;
8
8
  export declare const blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes: SerializedStyles;
9
+ export declare const listSelectedNodeStyles: SerializedStyles;
10
+ export declare const textSelectedNodeStyles: SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "216.1.0",
3
+ "version": "216.1.2",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -66,7 +66,7 @@
66
66
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
67
67
  "@atlaskit/react-ufo": "^4.16.0",
68
68
  "@atlaskit/task-decision": "^19.2.0",
69
- "@atlaskit/tmp-editor-statsig": "^16.3.0",
69
+ "@atlaskit/tmp-editor-statsig": "^16.4.0",
70
70
  "@atlaskit/tokens": "^9.0.0",
71
71
  "@atlaskit/tooltip": "^20.11.0",
72
72
  "@atlaskit/width-detector": "^5.0.0",
@@ -83,7 +83,7 @@
83
83
  "uuid": "^3.1.0"
84
84
  },
85
85
  "peerDependencies": {
86
- "@atlaskit/editor-common": "^111.1.0",
86
+ "@atlaskit/editor-common": "^111.2.0",
87
87
  "@atlaskit/link-provider": "^4.0.0",
88
88
  "@atlaskit/media-core": "^37.0.0",
89
89
  "react": "^18.2.0",