@atlaskit/editor-core 209.1.2 → 209.1.3

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,14 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 209.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#185513](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185513)
8
+ [`ee3b4336e4aa9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee3b4336e4aa9) -
9
+ ED-28408 clean up fg platform_editor_find_and_replace_magenta_match
10
+ - Updated dependencies
11
+
3
12
  ## 209.1.2
4
13
 
5
14
  ### Patch Changes
@@ -112,7 +112,7 @@ var mentionNodeStylesMixin_fg_platform_editor_centre_mention_padding = (0, _reac
112
112
  }
113
113
  });
114
114
  var mentionSelectionStyles = (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t.danger {\n\t\t.editor-mention-primitive {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n\n\t.", " > .editor-mention-primitive,\n\t.", " > .editor-mention-primitive.mention-self,\n\t.", " > .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n"])), _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder, "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)");
115
- var mentionsSelectionStylesWithSearchMatch = (0, _react2.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n\t.danger {\n\t\t.editor-mention-primitive {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n\n\t.", ":not(.search-match-block) > .editor-mention-primitive,\n\t.", ":not(.search-match-block) > .editor-mention-primitive.mention-self,\n\t.", ":not(.search-match-block) > .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n\n\t.", ".search-match-block > .editor-mention-primitive,\n\t.", ".search-match-block > .editor-mention-primitive.mention-self,\n\t.", ".search-match-block > .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n"])), _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder, "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)", _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)");
115
+ var mentionsSelectionStylesWithSearchMatch = (0, _react2.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n\t.danger {\n\t\t.editor-mention-primitive {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n\n\t.", ":not(.search-match-block) > .editor-mention-primitive,\n\t.", ":not(.search-match-block)\n\t\t> .editor-mention-primitive.mention-self,\n\t.", ":not(.search-match-block)\n\t\t> .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n\n\t.", ".search-match-block > .editor-mention-primitive,\n\t.", ".search-match-block > .editor-mention-primitive.mention-self,\n\t.", ".search-match-block\n\t\t> .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n"])), _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder, "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)", _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)");
116
116
  var mentionsStyles = (0, _react2.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n\t.", " {\n\t\t&.", " [data-mention-id] > span {\n\t\t\t", "\n\n\t\t\t/* need to specify dark text colour because personal mentions\n\t\t\t(in dark blue) have white text by default */\n\t\t\tcolor: ", ";\n\t\t}\n\t}\n\n\t.danger {\n\t\t.", ".", "\n\t\t\t> span\n\t\t\t> span\n\t\t\t> span {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t\t.", " > span > span > span {\n\t\t\tbackground-color: ", ";\n\t\t\tcolor: ", ";\n\t\t}\n\t}\n"])), _mention.MentionSharedCssClassName.MENTION_CONTAINER, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)", _mention.MentionSharedCssClassName.MENTION_CONTAINER, _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder, "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"), _mention.MentionSharedCssClassName.MENTION_CONTAINER, "var(--ds-background-neutral, #091E420F)", "var(--ds-text-subtle, #44546F)");
117
117
  var listsStyles = (0, _react2.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\tli {\n\t\t\tposition: relative;\n\n\t\t\t> p:not(:first-child) {\n\t\t\t\tmargin: ", " 0 0 0;\n\t\t\t}\n\n\t\t\t/* In SSR the above rule will apply to all p tags because first-child would be a style tag.\n\t\t\tThe following rule resets the first p tag back to its original margin\n\t\t\tdefined in packages/editor/editor-common/src/styles/shared/paragraph.ts */\n\t\t\t> style:first-child + p {\n\t\t\t\tmargin-top: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:not([data-node-type='decisionList']) > li,\n /* This prevents https://product-fabric.atlassian.net/browse/ED-20924 */\n &:not(.", ") > li {\n\t\t\t", "\n\t\t}\n\t}\n"])), "var(--ds-space-050, 4px)", _editorSharedStyles.blockNodesVerticalMargin, _styles.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, _browser.browser.safari ? _styles.codeBlockInListSafariFix : '');
118
118
  var emojiStyles = (0, _react2.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n\t.", " {\n\t\tdisplay: inline-block;\n\t}\n\n\t.", ", .", " {\n\t\tbackground: no-repeat transparent;\n\t\tdisplay: inline-block;\n\t\theight: ", "px;\n\t\tmax-height: ", "px;\n\t\tcursor: pointer;\n\t\tvertical-align: middle;\n\t\tuser-select: all;\n\t}\n\n\t.", " {\n\t\t.", ", .", " {\n\t\t\tborder-radius: 2px;\n\t\t\t", "\n\t\t}\n\t}\n"])), _emoji.EmojiSharedCssClassName.EMOJI_CONTAINER, _emoji.EmojiSharedCssClassName.EMOJI_SPRITE, _emoji.EmojiSharedCssClassName.EMOJI_IMAGE, _emoji.defaultEmojiHeight, _emoji.defaultEmojiHeight, _editorSharedStyles.akEditorSelectedNodeClassName, _emoji.EmojiSharedCssClassName.EMOJI_SPRITE, _emoji.EmojiSharedCssClassName.EMOJI_IMAGE, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.Blanket, _editorSharedStyles.SelectionStyle.BoxShadow]));
@@ -170,7 +170,7 @@ var akEditorBreakpointForSmallDevice = "1266px";
170
170
  var legacyContentStyles = function legacyContentStyles(props) {
171
171
  return (0, _react2.css)(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: ", "px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t--ak-editor--breakout-fallback-width: calc(\n\t\t100cqw - var(--ak-editor--breakout-full-page-guttering-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\n\t\t/* in full width appearances it's not possible to rely on cqw because it doesn't account for the page scrollbar, which depends on users system settings */\n\t\t--ak-editor--breakout-fallback-width: 100%;\n\t}\n\n\t.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (width >= ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t/**\n\t * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24\n\t *\n\t * 1. Merge and Release platform_editor_hide_cursor_when_pm_hideselection\n\t * 2. Cleanup duplicated style from platform_editor_advanced_code_blocks\n\t * https://product-fabric.atlassian.net/browse/ED-26331\n\t */\n\t", "\n\n\t/* This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24 */\n\t", "\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\tcaret-color: transparent;\n\t}\n\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\tdisplay: none;\n\t}\n\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n /* Switch between the two icons based on the visual refresh feature gate */\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t/* For FullPage only when inside a table\n\tRelated code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\tIn the \"editorContentAreaContainerStyle\" function */\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Legacy Link icon in the Atlaskit package\n is bigger than the others, new ADS icon does not have this issue\n */\n\t", "\n"])), _editorSharedStyles.akEditorGutterPadding, (0, _editorSharedStyles.akEditorGutterPaddingDynamic)(), _editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.akEditorFullWidthLayoutWidth, _editorSharedStyles.akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, _editorSharedStyles.akEditorCalculatedWideLayoutWidth, (0, _editorSharedStyles.editorFontSize)({
172
172
  theme: props.theme
173
- }), _styles.whitespaceSharedStyles, (0, _styles.paragraphSharedStyles)(props.typographyTheme), _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_hide_cursor_when_pm_hideselection') ? (0, _react2.css)(_templateObject0 || (_templateObject0 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, (0, _experiments.editorExperiment)('platform_editor_advanced_code_blocks', true) ? (0, _react2.css)(_templateObject1 || (_templateObject1 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, "var(--ds-border-focused, #8cf)", firstFloatingToolbarButtonStyles, _styles5.placeholderTextStyles, (0, _platformFeatureFlags.fg)('platform_editor_system_fake_text_highlight_colour') && _styles5.placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour, placeholderStyles, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_quick_insert_placeholder') ? placeholderWrapStyles : null, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(props.typographyTheme), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(), listsStyles, ruleStyles(), (0, _media.mediaStyles)(), (0, _layout.layoutStyles)(props.viewMode), (0, _platformFeatureFlags.fg)('confluence_team_presence_scroll_to_pointer') ? _collab.telepointerStyle : _collab.telepointerStyleWithInitialOnly, _selection.gapCursorStyles, (0, _panel2.panelStyles)(), mentionsStyles, mentionNodeStyles, (0, _platformFeatureFlags.fg)('platform_editor_centre_mention_padding') && mentionNodeStylesMixin_fg_platform_editor_centre_mention_padding, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_magenta_match') ? (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ? _styles3.findReplaceStylesNewMagentaNoImportant : _styles3.findReplaceStylesNewMagenta : _styles3.findReplaceStylesNewYellow : _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _tasksAndDecisions.taskItemStyles, (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _tasksAndDecisions.taskDecisionIconWithVisualRefresh, !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _tasksAndDecisions.taskDecisionIconWithoutVisualRefresh, (0, _status.statusStyles)(), (0, _status.statusNodeStyles)(), (0, _styles.annotationSharedStyles)(), (0, _styles.smartCardStyles)(), (0, _styles.getSmartCardSharedStyles)(), _date.dateStyles, _date.dateNodeStyles, (0, _styles.embedCardStyles)(), _styles.unsupportedStyles, _styles.resizerStyles, (0, _styles.pragmaticResizerStyles)(), (0, _styles.pragmaticStylesLayoutFirstNodeResizeHandleFix)(), (0, _styles.pragmaticResizerStylesForTooltip)(), (0, _aiPanels.aiPanelStyles)(props.colorMode), firstBlockNodeStylesNew, (0, _platformFeatureFlags.fg)('platform_editor_vanilla_codebidi_warning') && _codeBidiWarning.codeBidiWarningStyles, _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT, !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? (0, _react2.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.hyperlink-open-link {\n\t\t\t\t\tmin-width: 24px;\n\t\t\t\t\tsvg {\n\t\t\t\t\t\tmax-width: 18px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"]))) : null);
173
+ }), _styles.whitespaceSharedStyles, (0, _styles.paragraphSharedStyles)(props.typographyTheme), _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_hide_cursor_when_pm_hideselection') ? (0, _react2.css)(_templateObject0 || (_templateObject0 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, (0, _experiments.editorExperiment)('platform_editor_advanced_code_blocks', true) ? (0, _react2.css)(_templateObject1 || (_templateObject1 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, "var(--ds-border-focused, #8cf)", firstFloatingToolbarButtonStyles, _styles5.placeholderTextStyles, (0, _platformFeatureFlags.fg)('platform_editor_system_fake_text_highlight_colour') && _styles5.placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour, placeholderStyles, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_quick_insert_placeholder') ? placeholderWrapStyles : null, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(props.typographyTheme), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(), listsStyles, ruleStyles(), (0, _media.mediaStyles)(), (0, _layout.layoutStyles)(props.viewMode), (0, _platformFeatureFlags.fg)('confluence_team_presence_scroll_to_pointer') ? _collab.telepointerStyle : _collab.telepointerStyleWithInitialOnly, _selection.gapCursorStyles, (0, _panel2.panelStyles)(), mentionsStyles, mentionNodeStyles, (0, _platformFeatureFlags.fg)('platform_editor_centre_mention_padding') && mentionNodeStylesMixin_fg_platform_editor_centre_mention_padding, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ? _styles3.findReplaceStylesNewNoImportant : _styles3.findReplaceStylesNew : _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _tasksAndDecisions.taskItemStyles, (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _tasksAndDecisions.taskDecisionIconWithVisualRefresh, !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _tasksAndDecisions.taskDecisionIconWithoutVisualRefresh, (0, _status.statusStyles)(), (0, _status.statusNodeStyles)(), (0, _styles.annotationSharedStyles)(), (0, _styles.smartCardStyles)(), (0, _styles.getSmartCardSharedStyles)(), _date.dateStyles, _date.dateNodeStyles, (0, _styles.embedCardStyles)(), _styles.unsupportedStyles, _styles.resizerStyles, (0, _styles.pragmaticResizerStyles)(), (0, _styles.pragmaticStylesLayoutFirstNodeResizeHandleFix)(), (0, _styles.pragmaticResizerStylesForTooltip)(), (0, _aiPanels.aiPanelStyles)(props.colorMode), firstBlockNodeStylesNew, (0, _platformFeatureFlags.fg)('platform_editor_vanilla_codebidi_warning') && _codeBidiWarning.codeBidiWarningStyles, _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT, !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? (0, _react2.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.hyperlink-open-link {\n\t\t\t\t\tmin-width: 24px;\n\t\t\t\t\tsvg {\n\t\t\t\t\t\tmax-width: 18px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"]))) : null);
174
174
  };
175
175
  var createEditorContentStyle = exports.createEditorContentStyle = function createEditorContentStyle(styles) {
176
176
  return /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
@@ -21,7 +21,7 @@ var getVisualRefreshStatusStyles = function getVisualRefreshStatusStyles() {
21
21
  boxShadow: _editorSharedStyles.akEditorSelectedBoldBoxShadow
22
22
  })) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
23
23
  (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\t&.", " .", " > span {\n\t\t\t\t\t\tbox-shadow: ", ";\n\t\t\t\t\t}\n\t\t\t\t"])), _editorSharedStyles.akEditorSelectedNodeClassName, _styles.StatusSharedCssClassName.STATUS_LOZENGE, _editorSharedStyles.akEditorSelectedBoldBoxShadow) : (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ? // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
24
- (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\t&.", ":not('.search-match-block') .", " > span {\n\t\t\t\t\t\t", "\n\t\t\t\t\t}\n\t\t\t\t"])), _editorSharedStyles.akEditorSelectedNodeClassName, _styles.StatusSharedCssClassName.STATUS_LOZENGE, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow])) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
24
+ (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\t&.", ":not('.search-match-block')\n\t\t\t\t\t\t.", "\n\t\t\t\t\t\t> span {\n\t\t\t\t\t\t", "\n\t\t\t\t\t}\n\t\t\t\t"])), _editorSharedStyles.akEditorSelectedNodeClassName, _styles.StatusSharedCssClassName.STATUS_LOZENGE, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow])) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
25
25
  (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\t&.", " .", " > span {\n\t\t\t\t\t\t", "\n\t\t\t\t\t}\n\t\t\t\t"])), _editorSharedStyles.akEditorSelectedNodeClassName, _styles.StatusSharedCssClassName.STATUS_LOZENGE, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]))
26
26
  );
27
27
  };
@@ -190,13 +190,11 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
190
190
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
191
191
  _expandStyles.expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes,
192
192
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
193
- (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _expandStyles.expandStylesMixin_fg_platform_visual_refresh_icons, (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_magenta_match') ? (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1')
193
+ (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _expandStyles.expandStylesMixin_fg_platform_visual_refresh_icons, (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ?
194
194
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
195
- ? _findReplaceStyles.findReplaceStylesNewMagentaNoImportant
195
+ _findReplaceStyles.findReplaceStylesNewNoImportant :
196
196
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
197
- : _findReplaceStyles.findReplaceStylesNewMagenta :
198
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
199
- _findReplaceStyles.findReplaceStylesNewYellow :
197
+ _findReplaceStyles.findReplaceStylesNew :
200
198
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
201
199
  _findReplaceStyles.findReplaceStyles,
202
200
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -210,21 +208,21 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
210
208
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
211
209
  _tasksAndDecisionsStyles.decisionIconWithoutVisualRefresh,
212
210
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
213
- _statusStyles.statusStyles, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1')
211
+ _statusStyles.statusStyles, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ?
214
212
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
215
- ? _statusStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match
213
+ _statusStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match :
216
214
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
217
- : _statusStyles.statusStylesMixin_fg_platform_component_visual_refresh : (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1')
215
+ _statusStyles.statusStylesMixin_fg_platform_component_visual_refresh : (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ?
218
216
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
219
- ? _statusStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match
217
+ _statusStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match :
220
218
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
221
- : _statusStyles.statusStylesMixin_without_fg_platform_component_visual_refresh,
219
+ _statusStyles.statusStylesMixin_without_fg_platform_component_visual_refresh,
222
220
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
223
- _annotationStyles.annotationStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1')
221
+ _annotationStyles.annotationStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ?
224
222
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
225
- ? _smartCardStyles.smartCardStylesWithSearchMatch
223
+ _smartCardStyles.smartCardStylesWithSearchMatch :
226
224
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
227
- : _smartCardStyles.smartCardStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_15') &&
225
+ _smartCardStyles.smartCardStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_15') &&
228
226
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
229
227
  _smartCardStyles.editorControlsSmartCardStyles,
230
228
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -318,11 +316,11 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
318
316
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
319
317
  _firstBlockNodeStyles.firstBlockNodeStyles,
320
318
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
321
- _mentions.mentionNodeStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1')
319
+ _mentions.mentionNodeStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ?
322
320
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
323
- ? _mentions.mentionsSelectionStylesWithSearchMatch
321
+ _mentions.mentionsSelectionStylesWithSearchMatch :
324
322
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
325
- : _mentions.mentionsSelectionStyles, (0, _platformFeatureFlags.fg)('platform_editor_centre_mention_padding') &&
323
+ _mentions.mentionsSelectionStyles, (0, _platformFeatureFlags.fg)('platform_editor_centre_mention_padding') &&
326
324
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
327
325
  _mentions.mentionsStylesMixin_platform_editor_centre_mention_padding,
328
326
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.findReplaceStylesNewYellow = exports.findReplaceStylesNewMagentaNoImportant = exports.findReplaceStylesNewMagenta = exports.findReplaceStyles = void 0;
6
+ exports.findReplaceStylesNewNoImportant = exports.findReplaceStylesNew = exports.findReplaceStyles = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
9
9
 
@@ -22,180 +22,7 @@ var findReplaceStyles = exports.findReplaceStyles = (0, _react.css)({
22
22
  });
23
23
 
24
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
25
- var findReplaceStylesNewYellow = exports.findReplaceStylesNewYellow = (0, _react.css)({
26
- /** Text match styles */
27
-
28
- /** Light mode */
29
-
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
31
- '.search-match-text': {
32
- borderRadius: "var(--ds-space-050, 4px)",
33
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", "\n\t\t"),
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
35
- backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)".concat(" !important"),
36
- color: "var(--ds-text, #172B4D)"
37
- },
38
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
39
- '.search-match-text.selected-search-match': {
40
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", "\n\t\t"),
41
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
42
- backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)".concat(" !important")
43
- },
44
- /** Dark mode */
45
-
46
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
47
- '.search-match-text.search-match-dark': {
48
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", "\n\t\t"),
49
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
50
- backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)".concat(" !important"),
51
- color: "var(--ds-text-inverse, #FFFFFF)"
52
- },
53
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
54
- '.search-match-text.selected-search-match.search-match-dark': {
55
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", "\n\t\t"),
56
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
57
- backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)".concat(" !important")
58
- },
59
- /** Block match styles */
60
-
61
- /** Light mode */
62
-
63
- /** Without node selection */
64
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
65
- '.search-match-block': {
66
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
67
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
68
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", "\n\t\t\t")
69
- },
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
71
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
72
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-yellow-subtler, #F8E6A0)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-subtler-pressed, #E2B203)")
73
- }
74
- },
75
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
76
- '.search-match-block.search-match-block-selected': {
77
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
78
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
79
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", "\n\t\t\t")
80
- },
81
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
82
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
83
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-subtler-pressed, #E2B203)")
84
- }
85
- },
86
- /** With node selection */
87
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
88
- '.search-match-block.ak-editor-selected-node': {
89
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
90
- '.loader-wrapper>div::after': {
91
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
92
- },
93
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
94
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
95
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
96
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", " !important")
97
- }
98
- },
99
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
100
- '.search-match-block.search-match-block-selected.ak-editor-selected-node': {
101
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
102
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
103
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
104
- },
105
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
106
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
107
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
108
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", " !important")
109
- }
110
- },
111
- /** Dark mode */
112
- /** Without node selection */
113
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
114
- '.search-match-block.search-match-dark': {
115
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
116
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
117
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", "\n\t\t\t")
118
- },
119
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
120
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
121
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-yellow-bolder-pressed, #533F04)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-bolder, #946F00)")
122
- }
123
- },
124
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
125
- '.search-match-block.search-match-block-selected.search-match-dark': {
126
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
127
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
128
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", "\n\t\t\t")
129
- },
130
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
131
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
132
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-bolder, #946F00)")
133
- }
134
- },
135
- /** With node selection */
136
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
137
- '.search-match-block.search-match-dark.ak-editor-selected-node': {
138
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
139
- '.loader-wrapper>div::after': {
140
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
141
- },
142
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
143
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
144
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
145
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-bolder, #946F00)", " !important")
146
- }
147
- },
148
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
149
- '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node': {
150
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
151
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
152
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
153
- },
154
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
155
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
156
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
157
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-bolder, #946F00)", " !important")
158
- }
159
- },
160
- /** Expand title match styles */
161
-
162
- /** Light mode */
163
-
164
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
165
- '.search-match-expand-title > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
166
- borderRadius: "var(--ds-space-050, 4px)",
167
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", "\n\t\t"),
168
- backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
169
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
170
- '.ak-editor-expand__title-input': {
171
- color: "var(--ds-text, #172B4D)"
172
- }
173
- },
174
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
175
- '.search-match-expand-title.selected-search-match > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
176
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", "\n\t\t"),
177
- backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"
178
- },
179
- /** Dark mode */
180
-
181
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
182
- '.search-match-expand-title.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
183
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", "\n\t\t"),
184
- backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)",
185
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
186
- '.ak-editor-expand__title-input': {
187
- color: "var(--ds-text-inverse, #FFFFFF)"
188
- }
189
- },
190
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
191
- '.search-match-expand-title.selected-search-match.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
192
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", "\n\t\t"),
193
- backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"
194
- }
195
- });
196
-
197
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
198
- var findReplaceStylesNewMagenta = exports.findReplaceStylesNewMagenta = (0, _react.css)({
25
+ var findReplaceStylesNew = exports.findReplaceStylesNew = (0, _react.css)({
199
26
  /** Text match styles */
200
27
 
201
28
  /** Light mode */
@@ -368,7 +195,7 @@ var findReplaceStylesNewMagenta = exports.findReplaceStylesNewMagenta = (0, _rea
368
195
  });
369
196
 
370
197
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
371
- var findReplaceStylesNewMagentaNoImportant = exports.findReplaceStylesNewMagentaNoImportant = (0, _react.css)({
198
+ var findReplaceStylesNewNoImportant = exports.findReplaceStylesNewNoImportant = (0, _react.css)({
372
199
  /** Text match styles */
373
200
 
374
201
  /** Light mode */
@@ -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 = "209.1.1";
8
+ var version = exports.version = "209.1.2";
@@ -19,7 +19,7 @@ import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
19
19
  import { gapCursorStyles } from '@atlaskit/editor-common/selection';
20
20
  import { CodeBlockSharedCssClassName, MediaSharedClassNames, SmartCardSharedCssClassName, annotationSharedStyles, backgroundColorStyles, blockMarksSharedStyles, codeBlockInListSafariFix, codeMarkSharedStyles, dateSharedStyle, embedCardStyles, expandClassNames, getSmartCardSharedStyles, gridStyles, indentationSharedStyles, linkSharedStyle, listsSharedStyles, paragraphSharedStyles, resizerStyles, pragmaticResizerStyles, pragmaticStylesLayoutFirstNodeResizeHandleFix, pragmaticResizerStylesForTooltip, ruleSharedStyles, shadowSharedStyle, smartCardStyles, tasksAndDecisionsStyles, textColorStyles, unsupportedStyles, whitespaceSharedStyles } from '@atlaskit/editor-common/styles';
21
21
  import { blocktypeStyles } from '@atlaskit/editor-plugins/block-type/styles';
22
- import { findReplaceStyles, findReplaceStylesNewYellow, findReplaceStylesNewMagenta, findReplaceStylesNewMagentaNoImportant } from '@atlaskit/editor-plugins/find-replace/styles';
22
+ import { findReplaceStyles, findReplaceStylesNew, findReplaceStylesNewNoImportant } from '@atlaskit/editor-plugins/find-replace/styles';
23
23
  import { textHighlightStyle } from '@atlaskit/editor-plugins/paste-options-toolbar/styles';
24
24
  import { placeholderTextStyles, placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour } from '@atlaskit/editor-plugins/placeholder-text/styles';
25
25
  import { SelectionStyle, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles } from '@atlaskit/editor-shared-styles';
@@ -147,8 +147,10 @@ const mentionsSelectionStylesWithSearchMatch = css`
147
147
  }
148
148
 
149
149
  .${akEditorSelectedNodeClassName}:not(.search-match-block) > .editor-mention-primitive,
150
- .${akEditorSelectedNodeClassName}:not(.search-match-block) > .editor-mention-primitive.mention-self,
151
- .${akEditorSelectedNodeClassName}:not(.search-match-block) > .editor-mention-primitive.mention-restricted {
150
+ .${akEditorSelectedNodeClassName}:not(.search-match-block)
151
+ > .editor-mention-primitive.mention-self,
152
+ .${akEditorSelectedNodeClassName}:not(.search-match-block)
153
+ > .editor-mention-primitive.mention-restricted {
152
154
  ${getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Background])}
153
155
  /* need to specify dark text colour because personal mentions
154
156
  (in dark blue) have white text by default */
@@ -157,7 +159,8 @@ const mentionsSelectionStylesWithSearchMatch = css`
157
159
 
158
160
  .${akEditorSelectedNodeClassName}.search-match-block > .editor-mention-primitive,
159
161
  .${akEditorSelectedNodeClassName}.search-match-block > .editor-mention-primitive.mention-self,
160
- .${akEditorSelectedNodeClassName}.search-match-block > .editor-mention-primitive.mention-restricted {
162
+ .${akEditorSelectedNodeClassName}.search-match-block
163
+ > .editor-mention-primitive.mention-restricted {
161
164
  ${getSelectionStyles([SelectionStyle.Background])}
162
165
  /* need to specify dark text colour because personal mentions
163
166
  (in dark blue) have white text by default */
@@ -438,7 +441,7 @@ const legacyContentStyles = props => css`
438
441
  ${dateSharedStyle}
439
442
  ${extensionStyles}
440
443
  ${expandStyles()}
441
- ${expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? fg('platform_editor_find_and_replace_magenta_match') ? fg('platform_editor_find_and_replace_improvements_1') ? findReplaceStylesNewMagentaNoImportant : findReplaceStylesNewMagenta : findReplaceStylesNewYellow : findReplaceStyles}
444
+ ${expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? fg('platform_editor_find_and_replace_improvements_1') ? findReplaceStylesNewNoImportant : findReplaceStylesNew : findReplaceStyles}
442
445
  ${textHighlightStyle}
443
446
  ${taskDecisionStyles}
444
447
  ${taskItemStyles}
@@ -21,7 +21,9 @@ css`
21
21
  ` : expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
22
22
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
23
23
  css`
24
- &.${akEditorSelectedNodeClassName}:not('.search-match-block') .${StatusSharedCssClassName.STATUS_LOZENGE} > span {
24
+ &.${akEditorSelectedNodeClassName}:not('.search-match-block')
25
+ .${StatusSharedCssClassName.STATUS_LOZENGE}
26
+ > span {
25
27
  ${getSelectionStyles([SelectionStyle.BoxShadow])}
26
28
  }
27
29
  ` :
@@ -32,7 +32,7 @@ import { embedCardStyles } from './styles/embedCardStyles';
32
32
  import { emojiStyles } from './styles/emoji';
33
33
  import { expandStyles, expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes, expandStylesMixin_fg_platform_visual_refresh_icons, expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes } from './styles/expandStyles';
34
34
  import { extensionStyles } from './styles/extensionStyles';
35
- import { findReplaceStyles, findReplaceStylesNewMagenta, findReplaceStylesNewMagentaNoImportant, findReplaceStylesNewYellow } from './styles/findReplaceStyles';
35
+ import { findReplaceStyles, findReplaceStylesNew, findReplaceStylesNewNoImportant } from './styles/findReplaceStyles';
36
36
  import { firstBlockNodeStyles } from './styles/firstBlockNodeStyles';
37
37
  import { firstFloatingToolbarButtonStyles } from './styles/floatingToolbarStyles';
38
38
  import { fullPageEditorStyles } from './styles/fullPageEditorStyles';
@@ -185,13 +185,11 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
185
185
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
186
186
  expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes,
187
187
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
188
- fg('platform-visual-refresh-icons') && expandStylesMixin_fg_platform_visual_refresh_icons, expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? fg('platform_editor_find_and_replace_magenta_match') ? fg('platform_editor_find_and_replace_improvements_1')
188
+ fg('platform-visual-refresh-icons') && expandStylesMixin_fg_platform_visual_refresh_icons, expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? fg('platform_editor_find_and_replace_improvements_1') ?
189
189
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
190
- ? findReplaceStylesNewMagentaNoImportant
190
+ findReplaceStylesNewNoImportant :
191
191
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
192
- : findReplaceStylesNewMagenta :
193
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
194
- findReplaceStylesNewYellow :
192
+ findReplaceStylesNew :
195
193
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
196
194
  findReplaceStyles,
197
195
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -205,21 +203,21 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
205
203
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
206
204
  decisionIconWithoutVisualRefresh,
207
205
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
208
- statusStyles, fg('platform-component-visual-refresh') ? expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1')
206
+ statusStyles, fg('platform-component-visual-refresh') ? expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
209
207
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
210
- ? statusStylesMixin_fg_platform_component_visual_refresh_with_search_match
208
+ statusStylesMixin_fg_platform_component_visual_refresh_with_search_match :
211
209
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
212
- : statusStylesMixin_fg_platform_component_visual_refresh : expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1')
210
+ statusStylesMixin_fg_platform_component_visual_refresh : expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
213
211
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
214
- ? statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match
212
+ statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match :
215
213
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
216
- : statusStylesMixin_without_fg_platform_component_visual_refresh,
214
+ statusStylesMixin_without_fg_platform_component_visual_refresh,
217
215
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
218
- annotationStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1')
216
+ annotationStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
219
217
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
220
- ? smartCardStylesWithSearchMatch
218
+ smartCardStylesWithSearchMatch :
221
219
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
222
- : smartCardStyles, expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_15') &&
220
+ smartCardStyles, expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_15') &&
223
221
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
224
222
  editorControlsSmartCardStyles,
225
223
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -313,11 +311,11 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
313
311
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
314
312
  firstBlockNodeStyles,
315
313
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
316
- mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1')
314
+ mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
317
315
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
318
- ? mentionsSelectionStylesWithSearchMatch
316
+ mentionsSelectionStylesWithSearchMatch :
319
317
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
320
- : mentionsSelectionStyles, fg('platform_editor_centre_mention_padding') &&
318
+ mentionsSelectionStyles, fg('platform_editor_centre_mention_padding') &&
321
319
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
322
320
  mentionsStylesMixin_platform_editor_centre_mention_padding,
323
321
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -15,232 +15,7 @@ export const findReplaceStyles = css({
15
15
  });
16
16
 
17
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
18
- export const findReplaceStylesNewYellow = css({
19
- /** Text match styles */
20
-
21
- /** Light mode */
22
-
23
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
24
- '.search-match-text': {
25
- borderRadius: "var(--ds-space-050, 4px)",
26
- boxShadow: `
27
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
28
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"}
29
- `,
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
31
- backgroundColor: `${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"} !important`,
32
- color: "var(--ds-text, #172B4D)"
33
- },
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
35
- '.search-match-text.selected-search-match': {
36
- boxShadow: `
37
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
38
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"}
39
- `,
40
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
41
- backgroundColor: `${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"} !important`
42
- },
43
- /** Dark mode */
44
-
45
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
46
- '.search-match-text.search-match-dark': {
47
- boxShadow: `
48
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
49
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"}
50
- `,
51
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
52
- backgroundColor: `${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"} !important`,
53
- color: "var(--ds-text-inverse, #FFFFFF)"
54
- },
55
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
56
- '.search-match-text.selected-search-match.search-match-dark': {
57
- boxShadow: `
58
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
59
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"}
60
- `,
61
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
62
- backgroundColor: `${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"} !important`
63
- },
64
- /** Block match styles */
65
-
66
- /** Light mode */
67
-
68
- /** Without node selection */
69
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
70
- '.search-match-block': {
71
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
72
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
73
- boxShadow: `
74
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
75
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"}
76
- `
77
- },
78
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
79
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
80
- boxShadow: `0px 0px 0px 4px ${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"}`
81
- }
82
- },
83
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
84
- '.search-match-block.search-match-block-selected': {
85
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
86
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
87
- boxShadow: `
88
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
89
- inset 0 0 0 4px ${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"}
90
- `
91
- },
92
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
93
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
94
- boxShadow: `0px 0px 0px 4px ${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"}`
95
- }
96
- },
97
- /** With node selection */
98
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
99
- '.search-match-block.ak-editor-selected-node': {
100
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
101
- '.loader-wrapper>div::after': {
102
- boxShadow: `
103
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
104
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"},
105
- 0 0 0 1px ${"var(--ds-border-selected, #0C66E4)"}
106
- `
107
- },
108
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
109
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
110
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
111
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #0C66E4)"}, 0px 0px 0px 4px ${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"} !important`
112
- }
113
- },
114
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
115
- '.search-match-block.search-match-block-selected.ak-editor-selected-node': {
116
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
117
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
118
- boxShadow: `
119
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
120
- inset 0 0 0 4px ${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"},
121
- 0 0 0 1px ${"var(--ds-border-selected, #0C66E4)"}
122
- `
123
- },
124
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
125
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
126
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
127
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #0C66E4)"}, 0px 0px 0px 4px ${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"} !important`
128
- }
129
- },
130
- /** Dark mode */
131
- /** Without node selection */
132
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
133
- '.search-match-block.search-match-dark': {
134
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
135
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
136
- boxShadow: `
137
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
138
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"}
139
- `
140
- },
141
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
142
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
143
- boxShadow: `0px 0px 0px 4px ${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-yellow-bolder, #946F00)"}`
144
- }
145
- },
146
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
147
- '.search-match-block.search-match-block-selected.search-match-dark': {
148
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
149
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
150
- boxShadow: `
151
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
152
- inset 0 0 0 4px ${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"}
153
- `
154
- },
155
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
156
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
157
- boxShadow: `0px 0px 0px 4px ${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-yellow-bolder, #946F00)"}`
158
- }
159
- },
160
- /** With node selection */
161
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
162
- '.search-match-block.search-match-dark.ak-editor-selected-node': {
163
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
164
- '.loader-wrapper>div::after': {
165
- boxShadow: `
166
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
167
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"},
168
- 0 0 0 1px ${"var(--ds-border-selected, #0C66E4)"}
169
- `
170
- },
171
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
172
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
173
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
174
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #0C66E4)"}, 0px 0px 0px 4px ${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-yellow-bolder, #946F00)"} !important`
175
- }
176
- },
177
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
178
- '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node': {
179
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
180
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
181
- boxShadow: `
182
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
183
- inset 0 0 0 4px ${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"},
184
- 0 0 0 1px ${"var(--ds-border-selected, #0C66E4)"}
185
- `
186
- },
187
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
188
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
189
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
190
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #0C66E4)"}, 0px 0px 0px 4px ${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"}, 0px 0px 0px 5px ${"var(--ds-background-accent-yellow-bolder, #946F00)"} !important`
191
- }
192
- },
193
- /** Expand title match styles */
194
-
195
- /** Light mode */
196
-
197
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
198
- '.search-match-expand-title > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
199
- borderRadius: "var(--ds-space-050, 4px)",
200
- boxShadow: `
201
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
202
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-subtler, #F8E6A0)"}
203
- `,
204
- backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
205
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
206
- '.ak-editor-expand__title-input': {
207
- color: "var(--ds-text, #172B4D)"
208
- }
209
- },
210
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
211
- '.search-match-expand-title.selected-search-match > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
212
- boxShadow: `
213
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-subtler-pressed, #E2B203)"},
214
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"}
215
- `,
216
- backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"
217
- },
218
- /** Dark mode */
219
-
220
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
221
- '.search-match-expand-title.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
222
- boxShadow: `
223
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
224
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-bolder-pressed, #533F04)"}
225
- `,
226
- backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)",
227
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
228
- '.ak-editor-expand__title-input': {
229
- color: "var(--ds-text-inverse, #FFFFFF)"
230
- }
231
- },
232
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
233
- '.search-match-expand-title.selected-search-match.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
234
- boxShadow: `
235
- inset 0 0 0 1px ${"var(--ds-background-accent-yellow-bolder, #946F00)"},
236
- inset 0 0 0 5px ${"var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"}
237
- `,
238
- backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"
239
- }
240
- });
241
-
242
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
243
- export const findReplaceStylesNewMagenta = css({
18
+ export const findReplaceStylesNew = css({
244
19
  /** Text match styles */
245
20
 
246
21
  /** Light mode */
@@ -465,7 +240,7 @@ export const findReplaceStylesNewMagenta = css({
465
240
  });
466
241
 
467
242
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
468
- export const findReplaceStylesNewMagentaNoImportant = css({
243
+ export const findReplaceStylesNewNoImportant = css({
469
244
  /** Text match styles */
470
245
 
471
246
  /** Light mode */
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "209.1.1";
2
+ export const version = "209.1.2";
@@ -21,7 +21,7 @@ import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
21
21
  import { gapCursorStyles } from '@atlaskit/editor-common/selection';
22
22
  import { CodeBlockSharedCssClassName, MediaSharedClassNames, SmartCardSharedCssClassName, annotationSharedStyles, backgroundColorStyles, blockMarksSharedStyles, codeBlockInListSafariFix, codeMarkSharedStyles, dateSharedStyle, embedCardStyles, expandClassNames, getSmartCardSharedStyles, gridStyles, indentationSharedStyles, linkSharedStyle, listsSharedStyles, paragraphSharedStyles, resizerStyles, pragmaticResizerStyles, pragmaticStylesLayoutFirstNodeResizeHandleFix, pragmaticResizerStylesForTooltip, ruleSharedStyles, shadowSharedStyle, smartCardStyles, tasksAndDecisionsStyles, textColorStyles, unsupportedStyles, whitespaceSharedStyles } from '@atlaskit/editor-common/styles';
23
23
  import { blocktypeStyles } from '@atlaskit/editor-plugins/block-type/styles';
24
- import { findReplaceStyles, findReplaceStylesNewYellow, findReplaceStylesNewMagenta, findReplaceStylesNewMagentaNoImportant } from '@atlaskit/editor-plugins/find-replace/styles';
24
+ import { findReplaceStyles, findReplaceStylesNew, findReplaceStylesNewNoImportant } from '@atlaskit/editor-plugins/find-replace/styles';
25
25
  import { textHighlightStyle } from '@atlaskit/editor-plugins/paste-options-toolbar/styles';
26
26
  import { placeholderTextStyles, placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour } from '@atlaskit/editor-plugins/placeholder-text/styles';
27
27
  import { SelectionStyle, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles } from '@atlaskit/editor-shared-styles';
@@ -106,7 +106,7 @@ var mentionNodeStylesMixin_fg_platform_editor_centre_mention_padding = css({
106
106
  }
107
107
  });
108
108
  var mentionSelectionStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t.danger {\n\t\t.editor-mention-primitive {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n\n\t.", " > .editor-mention-primitive,\n\t.", " > .editor-mention-primitive.mention-self,\n\t.", " > .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n"])), akEditorSelectedBorderSize, akEditorDeleteBorder, "var(--ds-background-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"), akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)");
109
- var mentionsSelectionStylesWithSearchMatch = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\t.danger {\n\t\t.editor-mention-primitive {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n\n\t.", ":not(.search-match-block) > .editor-mention-primitive,\n\t.", ":not(.search-match-block) > .editor-mention-primitive.mention-self,\n\t.", ":not(.search-match-block) > .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n\n\t.", ".search-match-block > .editor-mention-primitive,\n\t.", ".search-match-block > .editor-mention-primitive.mention-self,\n\t.", ".search-match-block > .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n"])), akEditorSelectedBorderSize, akEditorDeleteBorder, "var(--ds-background-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"), akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)", akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)");
109
+ var mentionsSelectionStylesWithSearchMatch = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\t.danger {\n\t\t.editor-mention-primitive {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n\n\t.", ":not(.search-match-block) > .editor-mention-primitive,\n\t.", ":not(.search-match-block)\n\t\t> .editor-mention-primitive.mention-self,\n\t.", ":not(.search-match-block)\n\t\t> .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n\n\t.", ".search-match-block > .editor-mention-primitive,\n\t.", ".search-match-block > .editor-mention-primitive.mention-self,\n\t.", ".search-match-block\n\t\t> .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n"])), akEditorSelectedBorderSize, akEditorDeleteBorder, "var(--ds-background-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"), akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)", akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)");
110
110
  var mentionsStyles = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n\t.", " {\n\t\t&.", " [data-mention-id] > span {\n\t\t\t", "\n\n\t\t\t/* need to specify dark text colour because personal mentions\n\t\t\t(in dark blue) have white text by default */\n\t\t\tcolor: ", ";\n\t\t}\n\t}\n\n\t.danger {\n\t\t.", ".", "\n\t\t\t> span\n\t\t\t> span\n\t\t\t> span {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t\t.", " > span > span > span {\n\t\t\tbackground-color: ", ";\n\t\t\tcolor: ", ";\n\t\t}\n\t}\n"])), MentionSharedCssClassName.MENTION_CONTAINER, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)", MentionSharedCssClassName.MENTION_CONTAINER, akEditorSelectedNodeClassName, akEditorSelectedBorderSize, akEditorDeleteBorder, "var(--ds-background-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"), MentionSharedCssClassName.MENTION_CONTAINER, "var(--ds-background-neutral, #091E420F)", "var(--ds-text-subtle, #44546F)");
111
111
  var listsStyles = css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\tli {\n\t\t\tposition: relative;\n\n\t\t\t> p:not(:first-child) {\n\t\t\t\tmargin: ", " 0 0 0;\n\t\t\t}\n\n\t\t\t/* In SSR the above rule will apply to all p tags because first-child would be a style tag.\n\t\t\tThe following rule resets the first p tag back to its original margin\n\t\t\tdefined in packages/editor/editor-common/src/styles/shared/paragraph.ts */\n\t\t\t> style:first-child + p {\n\t\t\t\tmargin-top: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:not([data-node-type='decisionList']) > li,\n /* This prevents https://product-fabric.atlassian.net/browse/ED-20924 */\n &:not(.", ") > li {\n\t\t\t", "\n\t\t}\n\t}\n"])), "var(--ds-space-050, 4px)", blockNodesVerticalMargin, SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, browser.safari ? codeBlockInListSafariFix : '');
112
112
  var emojiStyles = css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n\t.", " {\n\t\tdisplay: inline-block;\n\t}\n\n\t.", ", .", " {\n\t\tbackground: no-repeat transparent;\n\t\tdisplay: inline-block;\n\t\theight: ", "px;\n\t\tmax-height: ", "px;\n\t\tcursor: pointer;\n\t\tvertical-align: middle;\n\t\tuser-select: all;\n\t}\n\n\t.", " {\n\t\t.", ", .", " {\n\t\t\tborder-radius: 2px;\n\t\t\t", "\n\t\t}\n\t}\n"])), EmojiSharedCssClassName.EMOJI_CONTAINER, EmojiSharedCssClassName.EMOJI_SPRITE, EmojiSharedCssClassName.EMOJI_IMAGE, defaultEmojiHeight, defaultEmojiHeight, akEditorSelectedNodeClassName, EmojiSharedCssClassName.EMOJI_SPRITE, EmojiSharedCssClassName.EMOJI_IMAGE, getSelectionStyles([SelectionStyle.Blanket, SelectionStyle.BoxShadow]));
@@ -164,7 +164,7 @@ var akEditorBreakpointForSmallDevice = "1266px";
164
164
  var legacyContentStyles = function legacyContentStyles(props) {
165
165
  return css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: ", "px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t--ak-editor--breakout-fallback-width: calc(\n\t\t100cqw - var(--ak-editor--breakout-full-page-guttering-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\n\t\t/* in full width appearances it's not possible to rely on cqw because it doesn't account for the page scrollbar, which depends on users system settings */\n\t\t--ak-editor--breakout-fallback-width: 100%;\n\t}\n\n\t.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (width >= ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t/**\n\t * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24\n\t *\n\t * 1. Merge and Release platform_editor_hide_cursor_when_pm_hideselection\n\t * 2. Cleanup duplicated style from platform_editor_advanced_code_blocks\n\t * https://product-fabric.atlassian.net/browse/ED-26331\n\t */\n\t", "\n\n\t/* This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24 */\n\t", "\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\tcaret-color: transparent;\n\t}\n\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\tdisplay: none;\n\t}\n\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n /* Switch between the two icons based on the visual refresh feature gate */\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t/* For FullPage only when inside a table\n\tRelated code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\tIn the \"editorContentAreaContainerStyle\" function */\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Legacy Link icon in the Atlaskit package\n is bigger than the others, new ADS icon does not have this issue\n */\n\t", "\n"])), akEditorGutterPadding, akEditorGutterPaddingDynamic(), akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, editorFontSize({
166
166
  theme: props.theme
167
- }), whitespaceSharedStyles, paragraphSharedStyles(props.typographyTheme), listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, fg('platform_editor_hide_cursor_when_pm_hideselection') ? css(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, editorExperiment('platform_editor_advanced_code_blocks', true) ? css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, "var(--ds-border-focused, #8cf)", firstFloatingToolbarButtonStyles, placeholderTextStyles, fg('platform_editor_system_fake_text_highlight_colour') && placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour, placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder') ? placeholderWrapStyles : null, codeBlockStyles(), blocktypeStyles(props.typographyTheme), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(), listsStyles, ruleStyles(), mediaStyles(), layoutStyles(props.viewMode), fg('confluence_team_presence_scroll_to_pointer') ? telepointerStyle : telepointerStyleWithInitialOnly, gapCursorStyles, panelStyles(), mentionsStyles, mentionNodeStyles, fg('platform_editor_centre_mention_padding') && mentionNodeStylesMixin_fg_platform_editor_centre_mention_padding, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? fg('platform_editor_find_and_replace_magenta_match') ? fg('platform_editor_find_and_replace_improvements_1') ? findReplaceStylesNewMagentaNoImportant : findReplaceStylesNewMagenta : findReplaceStylesNewYellow : findReplaceStyles, textHighlightStyle, taskDecisionStyles, taskItemStyles, fg('platform-visual-refresh-icons') && decisionIconWithVisualRefresh, !fg('platform-visual-refresh-icons') && decisionIconWithoutVisualRefresh, statusStyles(), statusNodeStyles(), annotationSharedStyles(), smartCardStyles(), getSmartCardSharedStyles(), dateStyles, dateNodeStyles, embedCardStyles(), unsupportedStyles, resizerStyles, pragmaticResizerStyles(), pragmaticStylesLayoutFirstNodeResizeHandleFix(), pragmaticResizerStylesForTooltip(), aiPanelStyles(props.colorMode), firstBlockNodeStylesNew, fg('platform_editor_vanilla_codebidi_warning') && codeBidiWarningStyles, MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT, !fg('platform-visual-refresh-icons') ? css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n\t\t\t\t.hyperlink-open-link {\n\t\t\t\t\tmin-width: 24px;\n\t\t\t\t\tsvg {\n\t\t\t\t\t\tmax-width: 18px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"]))) : null);
167
+ }), whitespaceSharedStyles, paragraphSharedStyles(props.typographyTheme), listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, fg('platform_editor_hide_cursor_when_pm_hideselection') ? css(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, editorExperiment('platform_editor_advanced_code_blocks', true) ? css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, "var(--ds-border-focused, #8cf)", firstFloatingToolbarButtonStyles, placeholderTextStyles, fg('platform_editor_system_fake_text_highlight_colour') && placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour, placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder') ? placeholderWrapStyles : null, codeBlockStyles(), blocktypeStyles(props.typographyTheme), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(), listsStyles, ruleStyles(), mediaStyles(), layoutStyles(props.viewMode), fg('confluence_team_presence_scroll_to_pointer') ? telepointerStyle : telepointerStyleWithInitialOnly, gapCursorStyles, panelStyles(), mentionsStyles, mentionNodeStyles, fg('platform_editor_centre_mention_padding') && mentionNodeStylesMixin_fg_platform_editor_centre_mention_padding, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? fg('platform_editor_find_and_replace_improvements_1') ? findReplaceStylesNewNoImportant : findReplaceStylesNew : findReplaceStyles, textHighlightStyle, taskDecisionStyles, taskItemStyles, fg('platform-visual-refresh-icons') && decisionIconWithVisualRefresh, !fg('platform-visual-refresh-icons') && decisionIconWithoutVisualRefresh, statusStyles(), statusNodeStyles(), annotationSharedStyles(), smartCardStyles(), getSmartCardSharedStyles(), dateStyles, dateNodeStyles, embedCardStyles(), unsupportedStyles, resizerStyles, pragmaticResizerStyles(), pragmaticStylesLayoutFirstNodeResizeHandleFix(), pragmaticResizerStylesForTooltip(), aiPanelStyles(props.colorMode), firstBlockNodeStylesNew, fg('platform_editor_vanilla_codebidi_warning') && codeBidiWarningStyles, MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT, !fg('platform-visual-refresh-icons') ? css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n\t\t\t\t.hyperlink-open-link {\n\t\t\t\t\tmin-width: 24px;\n\t\t\t\t\tsvg {\n\t\t\t\t\t\tmax-width: 18px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"]))) : null);
168
168
  };
169
169
  export var createEditorContentStyle = function createEditorContentStyle(styles) {
170
170
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -15,7 +15,7 @@ var getVisualRefreshStatusStyles = function getVisualRefreshStatusStyles() {
15
15
  boxShadow: akEditorSelectedBoldBoxShadow
16
16
  })) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
17
17
  css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t\t\t&.", " .", " > span {\n\t\t\t\t\t\tbox-shadow: ", ";\n\t\t\t\t\t}\n\t\t\t\t"])), akEditorSelectedNodeClassName, StatusSharedCssClassName.STATUS_LOZENGE, akEditorSelectedBoldBoxShadow) : expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ? // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
18
- css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t\t\t\t&.", ":not('.search-match-block') .", " > span {\n\t\t\t\t\t\t", "\n\t\t\t\t\t}\n\t\t\t\t"])), akEditorSelectedNodeClassName, StatusSharedCssClassName.STATUS_LOZENGE, getSelectionStyles([SelectionStyle.BoxShadow])) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
18
+ css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t\t\t\t&.", ":not('.search-match-block')\n\t\t\t\t\t\t.", "\n\t\t\t\t\t\t> span {\n\t\t\t\t\t\t", "\n\t\t\t\t\t}\n\t\t\t\t"])), akEditorSelectedNodeClassName, StatusSharedCssClassName.STATUS_LOZENGE, getSelectionStyles([SelectionStyle.BoxShadow])) : // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
19
19
  css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t\t\t&.", " .", " > span {\n\t\t\t\t\t\t", "\n\t\t\t\t\t}\n\t\t\t\t"])), akEditorSelectedNodeClassName, StatusSharedCssClassName.STATUS_LOZENGE, getSelectionStyles([SelectionStyle.BoxShadow]))
20
20
  );
21
21
  };
@@ -32,7 +32,7 @@ import { embedCardStyles } from './styles/embedCardStyles';
32
32
  import { emojiStyles } from './styles/emoji';
33
33
  import { expandStyles, expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes, expandStylesMixin_fg_platform_visual_refresh_icons, expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes } from './styles/expandStyles';
34
34
  import { extensionStyles } from './styles/extensionStyles';
35
- import { findReplaceStyles, findReplaceStylesNewMagenta, findReplaceStylesNewMagentaNoImportant, findReplaceStylesNewYellow } from './styles/findReplaceStyles';
35
+ import { findReplaceStyles, findReplaceStylesNew, findReplaceStylesNewNoImportant } from './styles/findReplaceStyles';
36
36
  import { firstBlockNodeStyles } from './styles/firstBlockNodeStyles';
37
37
  import { firstFloatingToolbarButtonStyles } from './styles/floatingToolbarStyles';
38
38
  import { fullPageEditorStyles } from './styles/fullPageEditorStyles';
@@ -182,13 +182,11 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
182
182
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
183
183
  expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes,
184
184
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
185
- fg('platform-visual-refresh-icons') && expandStylesMixin_fg_platform_visual_refresh_icons, expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? fg('platform_editor_find_and_replace_magenta_match') ? fg('platform_editor_find_and_replace_improvements_1')
185
+ fg('platform-visual-refresh-icons') && expandStylesMixin_fg_platform_visual_refresh_icons, expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? fg('platform_editor_find_and_replace_improvements_1') ?
186
186
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
187
- ? findReplaceStylesNewMagentaNoImportant
187
+ findReplaceStylesNewNoImportant :
188
188
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
189
- : findReplaceStylesNewMagenta :
190
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
191
- findReplaceStylesNewYellow :
189
+ findReplaceStylesNew :
192
190
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
193
191
  findReplaceStyles,
194
192
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -202,21 +200,21 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
202
200
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
203
201
  decisionIconWithoutVisualRefresh,
204
202
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
205
- statusStyles, fg('platform-component-visual-refresh') ? expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1')
203
+ statusStyles, fg('platform-component-visual-refresh') ? expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
206
204
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
207
- ? statusStylesMixin_fg_platform_component_visual_refresh_with_search_match
205
+ statusStylesMixin_fg_platform_component_visual_refresh_with_search_match :
208
206
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
209
- : statusStylesMixin_fg_platform_component_visual_refresh : expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1')
207
+ statusStylesMixin_fg_platform_component_visual_refresh : expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
210
208
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
211
- ? statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match
209
+ statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match :
212
210
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
213
- : statusStylesMixin_without_fg_platform_component_visual_refresh,
211
+ statusStylesMixin_without_fg_platform_component_visual_refresh,
214
212
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
215
- annotationStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1')
213
+ annotationStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
216
214
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
217
- ? smartCardStylesWithSearchMatch
215
+ smartCardStylesWithSearchMatch :
218
216
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
219
- : smartCardStyles, expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_15') &&
217
+ smartCardStyles, expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_15') &&
220
218
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
221
219
  editorControlsSmartCardStyles,
222
220
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -310,11 +308,11 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
310
308
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
311
309
  firstBlockNodeStyles,
312
310
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
313
- mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1')
311
+ mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ?
314
312
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
315
- ? mentionsSelectionStylesWithSearchMatch
313
+ mentionsSelectionStylesWithSearchMatch :
316
314
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
317
- : mentionsSelectionStyles, fg('platform_editor_centre_mention_padding') &&
315
+ mentionsSelectionStyles, fg('platform_editor_centre_mention_padding') &&
318
316
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
319
317
  mentionsStylesMixin_platform_editor_centre_mention_padding,
320
318
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -15,180 +15,7 @@ export var findReplaceStyles = css({
15
15
  });
16
16
 
17
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
18
- export var findReplaceStylesNewYellow = css({
19
- /** Text match styles */
20
-
21
- /** Light mode */
22
-
23
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
24
- '.search-match-text': {
25
- borderRadius: "var(--ds-space-050, 4px)",
26
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", "\n\t\t"),
27
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
28
- backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)".concat(" !important"),
29
- color: "var(--ds-text, #172B4D)"
30
- },
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
32
- '.search-match-text.selected-search-match': {
33
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", "\n\t\t"),
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
35
- backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)".concat(" !important")
36
- },
37
- /** Dark mode */
38
-
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
40
- '.search-match-text.search-match-dark': {
41
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", "\n\t\t"),
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
43
- backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)".concat(" !important"),
44
- color: "var(--ds-text-inverse, #FFFFFF)"
45
- },
46
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
47
- '.search-match-text.selected-search-match.search-match-dark': {
48
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", "\n\t\t"),
49
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
50
- backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)".concat(" !important")
51
- },
52
- /** Block match styles */
53
-
54
- /** Light mode */
55
-
56
- /** Without node selection */
57
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
58
- '.search-match-block': {
59
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
60
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
61
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", "\n\t\t\t")
62
- },
63
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
64
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
65
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-yellow-subtler, #F8E6A0)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-subtler-pressed, #E2B203)")
66
- }
67
- },
68
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
69
- '.search-match-block.search-match-block-selected': {
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
71
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
72
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", "\n\t\t\t")
73
- },
74
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
75
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
76
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-subtler-pressed, #E2B203)")
77
- }
78
- },
79
- /** With node selection */
80
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
81
- '.search-match-block.ak-editor-selected-node': {
82
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
83
- '.loader-wrapper>div::after': {
84
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
85
- },
86
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
87
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
88
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
89
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", " !important")
90
- }
91
- },
92
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
93
- '.search-match-block.search-match-block-selected.ak-editor-selected-node': {
94
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
95
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
96
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
97
- },
98
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
99
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
100
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
101
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", " !important")
102
- }
103
- },
104
- /** Dark mode */
105
- /** Without node selection */
106
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
107
- '.search-match-block.search-match-dark': {
108
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
109
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
110
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", "\n\t\t\t")
111
- },
112
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
113
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
114
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-yellow-bolder-pressed, #533F04)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-bolder, #946F00)")
115
- }
116
- },
117
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
118
- '.search-match-block.search-match-block-selected.search-match-dark': {
119
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
120
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
121
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", "\n\t\t\t")
122
- },
123
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
124
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
125
- boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-bolder, #946F00)")
126
- }
127
- },
128
- /** With node selection */
129
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
130
- '.search-match-block.search-match-dark.ak-editor-selected-node': {
131
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
132
- '.loader-wrapper>div::after': {
133
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
134
- },
135
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
136
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
137
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
138
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-bolder, #946F00)", " !important")
139
- }
140
- },
141
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
142
- '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node': {
143
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
144
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
145
- boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
146
- },
147
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
148
- '.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
149
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
150
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-yellow-bolder, #946F00)", " !important")
151
- }
152
- },
153
- /** Expand title match styles */
154
-
155
- /** Light mode */
156
-
157
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
158
- '.search-match-expand-title > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
159
- borderRadius: "var(--ds-space-050, 4px)",
160
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtler, #F8E6A0)", "\n\t\t"),
161
- backgroundColor: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
162
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
163
- '.ak-editor-expand__title-input': {
164
- color: "var(--ds-text, #172B4D)"
165
- }
166
- },
167
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
168
- '.search-match-expand-title.selected-search-match > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
169
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-subtler-pressed, #E2B203)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)", "\n\t\t"),
170
- backgroundColor: "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)"
171
- },
172
- /** Dark mode */
173
-
174
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
175
- '.search-match-expand-title.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
176
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-pressed, #533F04)", "\n\t\t"),
177
- backgroundColor: "var(--ds-background-accent-yellow-bolder-pressed, #533F04)",
178
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
179
- '.ak-editor-expand__title-input': {
180
- color: "var(--ds-text-inverse, #FFFFFF)"
181
- }
182
- },
183
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
184
- '.search-match-expand-title.selected-search-match.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
185
- boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-yellow-bolder, #946F00)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)", "\n\t\t"),
186
- backgroundColor: "var(--ds-background-accent-yellow-bolder-hovered, #7F5F01)"
187
- }
188
- });
189
-
190
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
191
- export var findReplaceStylesNewMagenta = css({
18
+ export var findReplaceStylesNew = css({
192
19
  /** Text match styles */
193
20
 
194
21
  /** Light mode */
@@ -361,7 +188,7 @@ export var findReplaceStylesNewMagenta = css({
361
188
  });
362
189
 
363
190
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
364
- export var findReplaceStylesNewMagentaNoImportant = css({
191
+ export var findReplaceStylesNewNoImportant = css({
365
192
  /** Text match styles */
366
193
 
367
194
  /** Light mode */
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "209.1.1";
2
+ export var version = "209.1.2";
@@ -1,4 +1,3 @@
1
1
  export declare const findReplaceStyles: import("@emotion/react").SerializedStyles;
2
- export declare const findReplaceStylesNewYellow: import("@emotion/react").SerializedStyles;
3
- export declare const findReplaceStylesNewMagenta: import("@emotion/react").SerializedStyles;
4
- export declare const findReplaceStylesNewMagentaNoImportant: import("@emotion/react").SerializedStyles;
2
+ export declare const findReplaceStylesNew: import("@emotion/react").SerializedStyles;
3
+ export declare const findReplaceStylesNewNoImportant: import("@emotion/react").SerializedStyles;
@@ -1,4 +1,3 @@
1
1
  export declare const findReplaceStyles: import("@emotion/react").SerializedStyles;
2
- export declare const findReplaceStylesNewYellow: import("@emotion/react").SerializedStyles;
3
- export declare const findReplaceStylesNewMagenta: import("@emotion/react").SerializedStyles;
4
- export declare const findReplaceStylesNewMagentaNoImportant: import("@emotion/react").SerializedStyles;
2
+ export declare const findReplaceStylesNew: import("@emotion/react").SerializedStyles;
3
+ export declare const findReplaceStylesNewNoImportant: import("@emotion/react").SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "209.1.2",
3
+ "version": "209.1.3",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -61,7 +61,7 @@
61
61
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
62
62
  "@atlaskit/react-ufo": "^3.14.0",
63
63
  "@atlaskit/task-decision": "^19.2.0",
64
- "@atlaskit/tmp-editor-statsig": "^9.4.0",
64
+ "@atlaskit/tmp-editor-statsig": "^9.5.0",
65
65
  "@atlaskit/tokens": "^5.5.0",
66
66
  "@atlaskit/tooltip": "^20.3.0",
67
67
  "@atlaskit/width-detector": "^5.0.0",
@@ -104,7 +104,7 @@
104
104
  "@atlaskit/primitives": "^14.10.0",
105
105
  "@atlaskit/renderer": "^120.1.0",
106
106
  "@atlaskit/section-message": "^8.2.0",
107
- "@atlaskit/smart-card": "^39.4.0",
107
+ "@atlaskit/smart-card": "^40.0.0",
108
108
  "@atlaskit/synchrony-test-helpers": "workspace:^",
109
109
  "@atlaskit/toggle": "^15.0.0",
110
110
  "@atlaskit/util-data-test": "^18.0.0",
@@ -222,9 +222,6 @@
222
222
  "platform_editor_toolbar_responsive_fixes": {
223
223
  "type": "boolean"
224
224
  },
225
- "platform_editor_react18_mention_with_provider_fix": {
226
- "type": "boolean"
227
- },
228
225
  "platform-visual-refresh-icons": {
229
226
  "type": "boolean",
230
227
  "referenceOnly": true
@@ -572,9 +569,6 @@
572
569
  "platform_editor_fix_code_block_bg_color_in_macro_2": {
573
570
  "type": "boolean"
574
571
  },
575
- "platform_editor_find_and_replace_magenta_match": {
576
- "type": "boolean"
577
- },
578
572
  "platform_editor_vanilla_codebidi_warning": {
579
573
  "type": "boolean"
580
574
  },
@@ -590,6 +584,10 @@
590
584
  },
591
585
  "platform_editor_find_and_replace_improvements_1": {
592
586
  "type": "boolean"
587
+ },
588
+ "platform_editor_task_check_status_fix": {
589
+ "type": "boolean",
590
+ "referenceOnly": true
593
591
  }
594
592
  },
595
593
  "stricter": {