@atlaskit/editor-core 211.0.1 → 211.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/presets/universal.js +2 -2
  3. package/dist/cjs/ui/ContentStyles/ai-panels.js +2 -2
  4. package/dist/cjs/ui/ContentStyles/date.js +1 -1
  5. package/dist/cjs/ui/ContentStyles/index.js +2 -2
  6. package/dist/cjs/ui/ContentStyles/status.js +1 -1
  7. package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +1 -1
  8. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +1 -3
  9. package/dist/cjs/ui/EditorContentContainer/styles/aiPanel.js +2 -2
  10. package/dist/cjs/ui/EditorContentContainer/styles/dateStyles.js +1 -1
  11. package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +1 -1
  12. package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +1 -1
  13. package/dist/cjs/ui/EditorContentContainer/styles/placeholderStyles.js +1 -12
  14. package/dist/cjs/ui/EditorContentContainer/styles/statusStyles.js +1 -1
  15. package/dist/cjs/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +1 -1
  16. package/dist/cjs/version-wrapper.js +1 -1
  17. package/dist/es2019/presets/universal.js +2 -2
  18. package/dist/es2019/ui/ContentStyles/ai-panels.js +2 -2
  19. package/dist/es2019/ui/ContentStyles/date.js +1 -1
  20. package/dist/es2019/ui/ContentStyles/index.js +1 -2
  21. package/dist/es2019/ui/ContentStyles/status.js +1 -1
  22. package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +1 -1
  23. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +2 -4
  24. package/dist/es2019/ui/EditorContentContainer/styles/aiPanel.js +2 -2
  25. package/dist/es2019/ui/EditorContentContainer/styles/dateStyles.js +1 -1
  26. package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +1 -1
  27. package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +1 -1
  28. package/dist/es2019/ui/EditorContentContainer/styles/placeholderStyles.js +0 -11
  29. package/dist/es2019/ui/EditorContentContainer/styles/statusStyles.js +1 -1
  30. package/dist/es2019/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +1 -1
  31. package/dist/es2019/version-wrapper.js +1 -1
  32. package/dist/esm/presets/universal.js +2 -2
  33. package/dist/esm/ui/ContentStyles/ai-panels.js +2 -2
  34. package/dist/esm/ui/ContentStyles/date.js +1 -1
  35. package/dist/esm/ui/ContentStyles/index.js +3 -3
  36. package/dist/esm/ui/ContentStyles/status.js +1 -1
  37. package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +1 -1
  38. package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +2 -4
  39. package/dist/esm/ui/EditorContentContainer/styles/aiPanel.js +2 -2
  40. package/dist/esm/ui/EditorContentContainer/styles/dateStyles.js +1 -1
  41. package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +1 -1
  42. package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +1 -1
  43. package/dist/esm/ui/EditorContentContainer/styles/placeholderStyles.js +0 -11
  44. package/dist/esm/ui/EditorContentContainer/styles/statusStyles.js +1 -1
  45. package/dist/esm/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +1 -1
  46. package/dist/esm/version-wrapper.js +1 -1
  47. package/dist/types/create-editor/create-universal-preset.d.ts +2 -2
  48. package/dist/types/presets/universal.d.ts +2 -2
  49. package/dist/types/presets/useUniversalPreset.d.ts +2 -2
  50. package/dist/types/ui/EditorContentContainer/styles/placeholderStyles.d.ts +0 -1
  51. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +2 -2
  52. package/dist/types-ts4.5/presets/universal.d.ts +2 -2
  53. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +2 -2
  54. package/dist/types-ts4.5/ui/EditorContentContainer/styles/placeholderStyles.d.ts +0 -1
  55. package/package.json +3 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 211.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`c8c64e5781a02`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c8c64e5781a02) -
8
+ Changed @atlaskit/editor-plugin-synced-block to @atlaskit/editor-plugin-synced-block-prototype
9
+
10
+ ### Patch Changes
11
+
12
+ - [`1b0b9f3641b0f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b0b9f3641b0f) -
13
+ [https://product-fabric.atlassian.net/browse/ED-28272](ED-28272) - cleanup
14
+ platform_editor_system_fake_text_highlight_colour FF
15
+ - [`e5001e144b74e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e5001e144b74e) -
16
+ Internal changes to how border radius is applied.
17
+ - Updated dependencies
18
+
3
19
  ## 211.0.1
4
20
 
5
21
  ### Patch Changes
@@ -51,7 +51,7 @@ var _rule = require("@atlaskit/editor-plugins/rule");
51
51
  var _saveOnEnter = require("@atlaskit/editor-plugins/save-on-enter");
52
52
  var _scrollIntoView = require("@atlaskit/editor-plugins/scroll-into-view");
53
53
  var _status = require("@atlaskit/editor-plugins/status");
54
- var _syncedBlock = require("@atlaskit/editor-plugins/synced-block");
54
+ var _syncedBlockPrototype = require("@atlaskit/editor-plugins/synced-block-prototype");
55
55
  var _table = require("@atlaskit/editor-plugins/table");
56
56
  var _tasksAndDecisions = require("@atlaskit/editor-plugins/tasks-and-decisions");
57
57
  var _textColor = require("@atlaskit/editor-plugins/text-color");
@@ -224,7 +224,7 @@ function createUniversalPresetInternal(_ref) {
224
224
  }], Boolean(props.autoformattingProvider)).maybeAdd([_status.statusPlugin, {
225
225
  menuDisabled: statusMenuDisabled,
226
226
  allowZeroWidthSpaceAfter: true
227
- }], Boolean(props.allowStatus)).maybeAdd(_syncedBlock.syncedBlockPlugin, (0, _platformFeatureFlags.fg)('platform_synced_block_demo')).maybeAdd(_indentation.indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(_scrollIntoView.scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([_toolbarListsIndentation.toolbarListsIndentationPlugin, {
227
+ }], Boolean(props.allowStatus)).maybeAdd(_syncedBlockPrototype.syncedBlockPrototypePlugin, (0, _platformFeatureFlags.fg)('platform_synced_block_demo')).maybeAdd(_indentation.indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(_scrollIntoView.scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([_toolbarListsIndentation.toolbarListsIndentationPlugin, {
228
228
  showIndentationButtons: !!props.showIndentationButtons,
229
229
  allowHeadingAndParagraphIndentation: !!props.allowIndentation
230
230
  }]).add([_insertBlock.insertBlockPlugin, _objectSpread({
@@ -73,7 +73,7 @@ var prismBorderStyles = function prismBorderStyles(colorMode, hover) {
73
73
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
74
74
  left: "-1px",
75
75
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
76
- borderRadius: "calc(".concat("var(--ds-border-radius-100, 3px)", " + 1px)"),
76
+ borderRadius: "calc(".concat("var(--ds-radius-small, 3px)", " + 1px)"),
77
77
  transform: 'translate3d(0, 0, 0)'
78
78
  }, hover ? {
79
79
  background: "var(--ds-border-input, #8590A2)"
@@ -87,5 +87,5 @@ var prismBorderStyles = function prismBorderStyles(colorMode, hover) {
87
87
  var aiPanelStyles = exports.aiPanelStyles = function aiPanelStyles(colorMode
88
88
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
89
89
  ) {
90
- return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t@property --panel-gradient-angle {\n\t\tsyntax: '<angle>';\n\t\tinitial-value: 270deg;\n\t\tinherits: false;\n\t}\n\n\tdiv[extensionType='com.atlassian.ai-blocks'] {\n\t\t/* This hides the label for the extension */\n\t\t.extension-label {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t/* This styles the ai panel correctly when its just sitting on the page and there\n\t\tis no user interaction */\n\t\t.extension-container {\n\t\t\tposition: relative;\n\t\t\tbox-shadow: none;\n\t\t\toverflow: unset;\n\t\t\tbackground-color: ", " !important;\n\t\t\t&::before,\n\t\t\t&::after {\n\t\t\t\t", "\n\t\t\t}\n\t\t\t&.with-hover-border {\n\t\t\t\t&::before,\n\t\t\t\t&::after {\n\t\t\t\t\t", "\n\t\t\t\t}\n\t\t\t}\n\t\t\t& .with-margin-styles {\n\t\t\t\tbackground-color: ", " !important;\n\t\t\t\tborder-radius: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t/* This styles the ai panel correctly when its streaming */\n\tdiv[extensionType='com.atlassian.ai-blocks']:has(.streaming) {\n\t\t.extension-container {\n\t\t\tbox-shadow: none;\n\t\t\toverflow: unset;\n\t\t\t", "\n\t\t\t&::before,\n\t\t\t&::after {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t}\n\n\t/* This styles the ai panel correctly when a user is hovering over the delete button in the floating panel */\n\tdiv[extensionType='com.atlassian.ai-blocks'].danger {\n\t\t.extension-container {\n\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t}\n\t}\n\n\t/* This removes the margin from the action list when inside an ai panel */\n\tdiv[extensiontype='com.atlassian.ai-blocks'][extensionkey='ai-action-items-block:aiActionItemsBodiedExtension'] {\n\t\tdiv[data-node-type='actionList'] {\n\t\t\tmargin: 0 !important;\n\t\t}\n\t}\n"])), "var(--ds-surface, #FFFFFF)", prismBorderStyles(colorMode), prismBorderStyles(colorMode, true), "var(--ds-surface, #FFFFFF)", "var(--ds-border-radius-100, 3px)", prismBorderAnimationStyles, prismBorderStyles(colorMode), "var(--ds-border-danger, #E2483D)");
90
+ return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t@property --panel-gradient-angle {\n\t\tsyntax: '<angle>';\n\t\tinitial-value: 270deg;\n\t\tinherits: false;\n\t}\n\n\tdiv[extensionType='com.atlassian.ai-blocks'] {\n\t\t/* This hides the label for the extension */\n\t\t.extension-label {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t/* This styles the ai panel correctly when its just sitting on the page and there\n\t\tis no user interaction */\n\t\t.extension-container {\n\t\t\tposition: relative;\n\t\t\tbox-shadow: none;\n\t\t\toverflow: unset;\n\t\t\tbackground-color: ", " !important;\n\t\t\t&::before,\n\t\t\t&::after {\n\t\t\t\t", "\n\t\t\t}\n\t\t\t&.with-hover-border {\n\t\t\t\t&::before,\n\t\t\t\t&::after {\n\t\t\t\t\t", "\n\t\t\t\t}\n\t\t\t}\n\t\t\t& .with-margin-styles {\n\t\t\t\tbackground-color: ", " !important;\n\t\t\t\tborder-radius: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t/* This styles the ai panel correctly when its streaming */\n\tdiv[extensionType='com.atlassian.ai-blocks']:has(.streaming) {\n\t\t.extension-container {\n\t\t\tbox-shadow: none;\n\t\t\toverflow: unset;\n\t\t\t", "\n\t\t\t&::before,\n\t\t\t&::after {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t}\n\n\t/* This styles the ai panel correctly when a user is hovering over the delete button in the floating panel */\n\tdiv[extensionType='com.atlassian.ai-blocks'].danger {\n\t\t.extension-container {\n\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t}\n\t}\n\n\t/* This removes the margin from the action list when inside an ai panel */\n\tdiv[extensiontype='com.atlassian.ai-blocks'][extensionkey='ai-action-items-block:aiActionItemsBodiedExtension'] {\n\t\tdiv[data-node-type='actionList'] {\n\t\t\tmargin: 0 !important;\n\t\t}\n\t}\n"])), "var(--ds-surface, #FFFFFF)", prismBorderStyles(colorMode), prismBorderStyles(colorMode, true), "var(--ds-surface, #FFFFFF)", "var(--ds-radius-small, 3px)", prismBorderAnimationStyles, prismBorderStyles(colorMode), "var(--ds-border-danger, #E2483D)");
91
91
  };
@@ -16,7 +16,7 @@ var dateNodeStyles = exports.dateNodeStyles = (0, _react.css)({
16
16
  "[data-prosemirror-node-name='date'] .date-lozenger-container span": {
17
17
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
18
18
  color: "var(--ds-text, #172B4D)",
19
- borderRadius: "var(--ds-border-radius-100, 4px)",
19
+ borderRadius: "var(--ds-radius-small, 4px)",
20
20
  padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
21
21
  margin: '0 1px',
22
22
  position: 'relative',
@@ -169,9 +169,9 @@ var akEditorBreakpointForSmallDevice = "1266px";
169
169
  // Under editor experiment platform_editor_core_static_emotion
170
170
  // If you are making changes to this file, please make sure to update in EditorContentContainer.tsx as well
171
171
  var legacyContentStyles = function legacyContentStyles(props) {
172
- return (0, _react2.css)(_templateObject0 || (_templateObject0 = (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--resizer-handle-spacing: 12px;\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\t--ak-editor--breakout-min-width: 100%;\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\t--ak-editor--breakout-min-width: 0px;\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", "\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.ProseMirror-hideselection {\n\t\tcaret-color: transparent;\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 ", "\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, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_preview_panel_responsiveness', 'isEnabled', true) ? (0, _react2.css)(_templateObject1 || (_templateObject1 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t\t\t\t@container editor-area (max-width: ", "px) {\n\t\t\t\t\t--ak-editor--large-gutter-padding: ", "px;\n\t\t\t\t}\n\t\t\t"])), _editorSharedStyles.akEditorFullPageNarrowBreakout, _editorSharedStyles.akEditorGutterPaddingReduced) : null, (0, _editorSharedStyles.editorFontSize)({
172
+ return (0, _react2.css)(_templateObject0 || (_templateObject0 = (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--resizer-handle-spacing: 12px;\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\t--ak-editor--breakout-min-width: 100%;\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\t--ak-editor--breakout-min-width: 0px;\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", "\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.ProseMirror-hideselection {\n\t\tcaret-color: transparent;\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\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 ", "\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, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_preview_panel_responsiveness', 'isEnabled', true) ? (0, _react2.css)(_templateObject1 || (_templateObject1 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t\t\t\t@container editor-area (max-width: ", "px) {\n\t\t\t\t\t--ak-editor--large-gutter-padding: ", "px;\n\t\t\t\t}\n\t\t\t"])), _editorSharedStyles.akEditorFullPageNarrowBreakout, _editorSharedStyles.akEditorGutterPaddingReduced) : null, (0, _editorSharedStyles.editorFontSize)({
173
173
  theme: props.theme
174
- }), _styles.whitespaceSharedStyles, (0, _styles.paragraphSharedStyles)(props.typographyTheme), _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, "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), _collab.telepointerStyle, _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) ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, (0, _platformFeatureFlags.fg)('platform_editor_fix_emoji_style_selectors') ? emojiStylesWithSelectorFixes : 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) ? _styles3.findReplaceStylesNew : _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_blocktaskitem_node', 'isEnabled', true) ? _tasksAndDecisions.taskItemStylesWithBlockTaskItem : _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, _styles.pragmaticResizerStylesWithReducedEditorGutter)(), (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
+ }), _styles.whitespaceSharedStyles, (0, _styles.paragraphSharedStyles)(props.typographyTheme), _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", firstFloatingToolbarButtonStyles, _styles5.placeholderTextStyles, 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), _collab.telepointerStyle, _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) ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, (0, _platformFeatureFlags.fg)('platform_editor_fix_emoji_style_selectors') ? emojiStylesWithSelectorFixes : 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) ? _styles3.findReplaceStylesNew : _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_blocktaskitem_node', 'isEnabled', true) ? _tasksAndDecisions.taskItemStylesWithBlockTaskItem : _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, _styles.pragmaticResizerStylesWithReducedEditorGutter)(), (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);
175
175
  };
176
176
  var createEditorContentStyle = exports.createEditorContentStyle = function createEditorContentStyle(styles) {
177
177
  return /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
@@ -121,7 +121,7 @@ var baseStatusStyles = (0, _react.css)({
121
121
  paddingInline: "var(--ds-space-050, 4px)",
122
122
  display: 'inline-flex',
123
123
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
124
- borderRadius: "var(--ds-border-radius-100, 3px)",
124
+ borderRadius: "var(--ds-radius-small, 3px)",
125
125
  blockSize: 'min-content',
126
126
  position: 'static',
127
127
  overflow: 'hidden',
@@ -41,7 +41,7 @@ var taskDecisionStyles = exports.taskDecisionStyles = (0, _react.css)({
41
41
  margin: "var(--ds-space-100, 8px)".concat(" 0 0 0"),
42
42
  padding: "var(--ds-space-100, 8px)",
43
43
  paddingLeft: "var(--ds-space-150, 12px)",
44
- borderRadius: "var(--ds-border-radius-100, 4px)",
44
+ borderRadius: "var(--ds-radius-small, 4px)",
45
45
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
46
46
  position: 'relative'
47
47
  },
@@ -138,9 +138,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
138
138
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
139
139
  _floatingToolbarStyles.firstFloatingToolbarButtonStyles,
140
140
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
141
- _placeholderStyles.placeholderTextStyles, (0, _platformFeatureFlags.fg)('platform_editor_system_fake_text_highlight_colour') &&
142
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
143
- _placeholderStyles.placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour,
141
+ _placeholderStyles.placeholderTextStyles,
144
142
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
145
143
  _placeholderStyles.placeholderStyles,
146
144
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -98,7 +98,7 @@ var aiPanelBaseStyles = exports.aiPanelBaseStyles = (0, _react.css)({
98
98
  height: "calc(100% + 2px)",
99
99
  top: "-1px",
100
100
  left: "-1px",
101
- borderRadius: "calc(".concat("var(--ds-border-radius-100, 3px)", " + 1px)"),
101
+ borderRadius: "calc(".concat("var(--ds-radius-small, 3px)", " + 1px)"),
102
102
  transform: 'translate3d(0, 0, 0)',
103
103
  background: prismBorderBaseBackground
104
104
  },
@@ -113,7 +113,7 @@ var aiPanelBaseStyles = exports.aiPanelBaseStyles = (0, _react.css)({
113
113
  '& .with-margin-styles': {
114
114
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
115
115
  backgroundColor: "var(--ds-surface, #FFFFFF)".concat(" !important"),
116
- borderRadius: "var(--ds-border-radius-100, 3px)"
116
+ borderRadius: "var(--ds-radius-small, 3px)"
117
117
  }
118
118
  }
119
119
  },
@@ -19,7 +19,7 @@ var DateSharedCssClassName = exports.DateSharedCssClassName = {
19
19
  var dateVanillaStyles = exports.dateVanillaStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span"), {
20
20
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
21
21
  color: "var(--ds-text, #172B4D)",
22
- borderRadius: "var(--ds-border-radius-100, 4px)",
22
+ borderRadius: "var(--ds-radius-small, 4px)",
23
23
  padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
24
24
  margin: '0 1px',
25
25
  position: 'relative',
@@ -19,7 +19,7 @@ var expandStyles = exports.expandStyles = (0, _react.css)({
19
19
  borderWidth: '1px',
20
20
  borderStyle: 'solid',
21
21
  borderColor: 'transparent',
22
- borderRadius: "var(--ds-border-radius-100, 4px)",
22
+ borderRadius: "var(--ds-radius-small, 4px)",
23
23
  minHeight: '25px',
24
24
  background: "var(--ds-background-neutral-subtle, transparent)",
25
25
  margin: "var(--ds-space-050, 0.25rem)".concat(" 0 0"),
@@ -12,7 +12,7 @@ var findReplaceStyles = exports.findReplaceStyles = (0, _react.css)({
12
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
13
13
  '.search-match': {
14
14
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
15
- borderRadius: "var(--ds-border-radius-100, 3px)",
15
+ borderRadius: "var(--ds-radius-small, 3px)",
16
16
  backgroundColor: "var(--ds-background-accent-teal-subtlest, #E7F9FF)",
17
17
  boxShadow: "var(--ds-shadow-raised, 0 1px 1px 0 rgba(9, 30, 66, 0.25), 0 0 1px 0 rgba(9, 30, 66, 0.31))".concat(", inset 0 0 0 1px ", "var(--ds-border-input, #8590A2)")
18
18
  },
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.placeholderWrapStyles = exports.placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour = exports.placeholderTextStyles = exports.placeholderStyles = exports.placeholderOverflowStyles = void 0;
6
+ exports.placeholderWrapStyles = exports.placeholderTextStyles = exports.placeholderStyles = exports.placeholderOverflowStyles = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
9
9
 
@@ -66,17 +66,6 @@ var placeholderTextStyles = exports.placeholderTextStyles = (0, _react.css)({
66
66
  display: 'inline',
67
67
  pointerEvents: 'none',
68
68
  position: 'relative',
69
- backgroundColor: "var(--ds-background-selected, #B3D4FF)"
70
- }
71
- }
72
- });
73
-
74
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
75
- var placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour = exports.placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour = (0, _react.css)({
76
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
77
- '.ProseMirror': {
78
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
79
- '.ProseMirror-fake-text-selection': {
80
69
  // Follow the system highlight colour to match native text selection
81
70
  backgroundColor: 'Highlight',
82
71
  // We should also match the text colour to the system highlight text colour.
@@ -53,7 +53,7 @@ var statusStyles = exports.statusStyles = (0, _react.css)({
53
53
  paddingInline: "var(--ds-space-050, 4px)",
54
54
  display: 'inline-flex',
55
55
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
56
- borderRadius: "var(--ds-border-radius-100, 3px)",
56
+ borderRadius: "var(--ds-radius-small, 3px)",
57
57
  blockSize: 'min-content',
58
58
  position: 'static',
59
59
  overflow: 'hidden',
@@ -100,7 +100,7 @@ _selectionStyles.hideNativeBrowserTextSelectionStyles]), '.danger', (0, _defineP
100
100
  margin: "var(--ds-space-100, 8px)".concat(" 0 0 0"),
101
101
  padding: "var(--ds-space-100, 8px)",
102
102
  paddingLeft: "var(--ds-space-150, 12px)",
103
- borderRadius: "var(--ds-border-radius-100, 4px)",
103
+ borderRadius: "var(--ds-radius-small, 4px)",
104
104
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
105
105
  position: 'relative'
106
106
  }), '[data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"]', {
@@ -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 = "211.0.0";
8
+ var version = exports.version = "211.0.1";
@@ -41,7 +41,7 @@ import { rulePlugin } from '@atlaskit/editor-plugins/rule';
41
41
  import { saveOnEnterPlugin } from '@atlaskit/editor-plugins/save-on-enter';
42
42
  import { scrollIntoViewPlugin } from '@atlaskit/editor-plugins/scroll-into-view';
43
43
  import { statusPlugin } from '@atlaskit/editor-plugins/status';
44
- import { syncedBlockPlugin } from '@atlaskit/editor-plugins/synced-block';
44
+ import { syncedBlockPrototypePlugin } from '@atlaskit/editor-plugins/synced-block-prototype';
45
45
  import { tablesPlugin } from '@atlaskit/editor-plugins/table';
46
46
  import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-decisions';
47
47
  import { textColorPlugin } from '@atlaskit/editor-plugins/text-color';
@@ -224,7 +224,7 @@ export default function createUniversalPresetInternal({
224
224
  }], Boolean(props.autoformattingProvider)).maybeAdd([statusPlugin, {
225
225
  menuDisabled: statusMenuDisabled,
226
226
  allowZeroWidthSpaceAfter: true
227
- }], Boolean(props.allowStatus)).maybeAdd(syncedBlockPlugin, fg('platform_synced_block_demo')).maybeAdd(indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([toolbarListsIndentationPlugin, {
227
+ }], Boolean(props.allowStatus)).maybeAdd(syncedBlockPrototypePlugin, fg('platform_synced_block_demo')).maybeAdd(indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([toolbarListsIndentationPlugin, {
228
228
  showIndentationButtons: !!props.showIndentationButtons,
229
229
  allowHeadingAndParagraphIndentation: !!props.allowIndentation
230
230
  }]).add([insertBlockPlugin, {
@@ -73,7 +73,7 @@ const prismBorderStyles = (colorMode, hover) => css({
73
73
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
74
74
  left: `-1px`,
75
75
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
76
- borderRadius: `calc(${"var(--ds-border-radius-100, 3px)"} + 1px)`,
76
+ borderRadius: `calc(${"var(--ds-radius-small, 3px)"} + 1px)`,
77
77
  transform: 'translate3d(0, 0, 0)',
78
78
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
79
79
  ...(hover ? {
@@ -134,7 +134,7 @@ export const aiPanelStyles = (colorMode
134
134
  }
135
135
  & .with-margin-styles {
136
136
  background-color: ${"var(--ds-surface, #FFFFFF)"} !important;
137
- border-radius: ${"var(--ds-border-radius-100, 3px)"};
137
+ border-radius: ${"var(--ds-radius-small, 3px)"};
138
138
  }
139
139
  }
140
140
  }
@@ -8,7 +8,7 @@ export const dateNodeStyles = css({
8
8
  "[data-prosemirror-node-name='date'] .date-lozenger-container span": {
9
9
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
10
10
  color: "var(--ds-text, #172B4D)",
11
- borderRadius: "var(--ds-border-radius-100, 4px)",
11
+ borderRadius: "var(--ds-radius-small, 4px)",
12
12
  padding: `${"var(--ds-space-025, 2px)"} ${"var(--ds-space-050, 4px)"}`,
13
13
  margin: '0 1px',
14
14
  position: 'relative',
@@ -21,7 +21,7 @@ import { CodeBlockSharedCssClassName, MediaSharedClassNames, SmartCardSharedCssC
21
21
  import { blocktypeStyles } from '@atlaskit/editor-plugins/block-type/styles';
22
22
  import { findReplaceStyles, findReplaceStylesNew } from '@atlaskit/editor-plugins/find-replace/styles';
23
23
  import { textHighlightStyle } from '@atlaskit/editor-plugins/paste-options-toolbar/styles';
24
- import { placeholderTextStyles, placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour } from '@atlaskit/editor-plugins/placeholder-text/styles';
24
+ import { placeholderTextStyles } from '@atlaskit/editor-plugins/placeholder-text/styles';
25
25
  import { SelectionStyle, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles } from '@atlaskit/editor-shared-styles';
26
26
  import { fg } from '@atlaskit/platform-feature-flags';
27
27
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
@@ -431,7 +431,6 @@ const legacyContentStyles = props => css`
431
431
 
432
432
  ${firstFloatingToolbarButtonStyles}
433
433
  ${placeholderTextStyles}
434
- ${fg('platform_editor_system_fake_text_highlight_colour') && placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour}
435
434
  ${placeholderStyles}
436
435
  ${editorExperiment('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null}
437
436
  ${editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder') ? placeholderWrapStyles : null}
@@ -127,7 +127,7 @@ const baseStatusStyles = css({
127
127
  paddingInline: "var(--ds-space-050, 4px)",
128
128
  display: 'inline-flex',
129
129
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
130
- borderRadius: "var(--ds-border-radius-100, 3px)",
130
+ borderRadius: "var(--ds-radius-small, 3px)",
131
131
  blockSize: 'min-content',
132
132
  position: 'static',
133
133
  overflow: 'hidden',
@@ -32,7 +32,7 @@ export const taskDecisionStyles = css({
32
32
  margin: `${"var(--ds-space-100, 8px)"} 0 0 0`,
33
33
  padding: "var(--ds-space-100, 8px)",
34
34
  paddingLeft: "var(--ds-space-150, 12px)",
35
- borderRadius: "var(--ds-border-radius-100, 4px)",
35
+ borderRadius: "var(--ds-radius-small, 4px)",
36
36
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
37
37
  position: 'relative'
38
38
  },
@@ -48,7 +48,7 @@ import { mediaAlignmentStyles, mediaDangerStyles, mediaGroupStyles, mediaStyles
48
48
  import { mentionsStyles, mentionsSelectionStyles, mentionNodeStyles, mentionsStylesMixin_platform_editor_centre_mention_padding, mentionsSelectionStylesWithSearchMatch, mentionDangerStyles } from './styles/mentions';
49
49
  import { panelStyles, panelStylesMixin, panelStylesMixin_fg_platform_editor_add_border_for_nested_panel, panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes, panelViewStyles } from './styles/panelStyles';
50
50
  import { paragraphStylesOld, paragraphStylesUGCRefreshed } from './styles/paragraphStyles';
51
- import { placeholderOverflowStyles, placeholderStyles, placeholderTextStyles, placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour, placeholderWrapStyles } from './styles/placeholderStyles';
51
+ import { placeholderOverflowStyles, placeholderStyles, placeholderTextStyles, placeholderWrapStyles } from './styles/placeholderStyles';
52
52
  import { pragmaticResizerStyles, pragmaticResizerStylesNew, pragmaticStylesLayoutFirstNodeResizeHandleFix, pragmaticResizerStylesForTooltip, pragmaticResizerStylesWithReducedEditorGutter, resizerStyles } from './styles/resizerStyles';
53
53
  import { dangerRuleStyles, ruleStyles } from './styles/rule';
54
54
  import { scrollbarStyles } from './styles/scrollbarStyles';
@@ -133,9 +133,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
133
133
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
134
134
  firstFloatingToolbarButtonStyles,
135
135
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
136
- placeholderTextStyles, fg('platform_editor_system_fake_text_highlight_colour') &&
137
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
138
- placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour,
136
+ placeholderTextStyles,
139
137
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
140
138
  placeholderStyles,
141
139
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -94,7 +94,7 @@ export const aiPanelBaseStyles = css({
94
94
  height: `calc(100% + 2px)`,
95
95
  top: `-1px`,
96
96
  left: `-1px`,
97
- borderRadius: `calc(${"var(--ds-border-radius-100, 3px)"} + 1px)`,
97
+ borderRadius: `calc(${"var(--ds-radius-small, 3px)"} + 1px)`,
98
98
  transform: 'translate3d(0, 0, 0)',
99
99
  background: prismBorderBaseBackground
100
100
  },
@@ -109,7 +109,7 @@ export const aiPanelBaseStyles = css({
109
109
  '& .with-margin-styles': {
110
110
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
111
111
  backgroundColor: `${"var(--ds-surface, #FFFFFF)"} !important`,
112
- borderRadius: "var(--ds-border-radius-100, 3px)"
112
+ borderRadius: "var(--ds-radius-small, 3px)"
113
113
  }
114
114
  }
115
115
  },
@@ -12,7 +12,7 @@ export const dateVanillaStyles = css({
12
12
  [`[data-prosemirror-node-name='date'] .${DateSharedCssClassName.DATE_WRAPPER} span`]: {
13
13
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
14
14
  color: "var(--ds-text, #172B4D)",
15
- borderRadius: "var(--ds-border-radius-100, 4px)",
15
+ borderRadius: "var(--ds-radius-small, 4px)",
16
16
  padding: `${"var(--ds-space-025, 2px)"} ${"var(--ds-space-050, 4px)"}`,
17
17
  margin: '0 1px',
18
18
  position: 'relative',
@@ -12,7 +12,7 @@ export const expandStyles = css({
12
12
  borderWidth: '1px',
13
13
  borderStyle: 'solid',
14
14
  borderColor: 'transparent',
15
- borderRadius: "var(--ds-border-radius-100, 4px)",
15
+ borderRadius: "var(--ds-radius-small, 4px)",
16
16
  minHeight: '25px',
17
17
  background: "var(--ds-background-neutral-subtle, transparent)",
18
18
  margin: `${"var(--ds-space-050, 0.25rem)"} 0 0`,
@@ -5,7 +5,7 @@ export const findReplaceStyles = css({
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
6
6
  '.search-match': {
7
7
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
8
- borderRadius: "var(--ds-border-radius-100, 3px)",
8
+ borderRadius: "var(--ds-radius-small, 3px)",
9
9
  backgroundColor: "var(--ds-background-accent-teal-subtlest, #E7F9FF)",
10
10
  boxShadow: `${"var(--ds-shadow-raised, 0 1px 1px 0 rgba(9, 30, 66, 0.25), 0 0 1px 0 rgba(9, 30, 66, 0.31))"}, inset 0 0 0 1px ${"var(--ds-border-input, #8590A2)"}`
11
11
  },
@@ -59,17 +59,6 @@ export const placeholderTextStyles = css({
59
59
  display: 'inline',
60
60
  pointerEvents: 'none',
61
61
  position: 'relative',
62
- backgroundColor: "var(--ds-background-selected, #B3D4FF)"
63
- }
64
- }
65
- });
66
-
67
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
68
- export const placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour = css({
69
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
70
- '.ProseMirror': {
71
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
72
- '.ProseMirror-fake-text-selection': {
73
62
  // Follow the system highlight colour to match native text selection
74
63
  backgroundColor: 'Highlight',
75
64
  // We should also match the text colour to the system highlight text colour.
@@ -46,7 +46,7 @@ export const statusStyles = css({
46
46
  paddingInline: "var(--ds-space-050, 4px)",
47
47
  display: 'inline-flex',
48
48
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
49
- borderRadius: "var(--ds-border-radius-100, 3px)",
49
+ borderRadius: "var(--ds-radius-small, 3px)",
50
50
  blockSize: 'min-content',
51
51
  position: 'static',
52
52
  overflow: 'hidden',
@@ -112,7 +112,7 @@ export const decisionStyles = css({
112
112
  margin: `${"var(--ds-space-100, 8px)"} 0 0 0`,
113
113
  padding: "var(--ds-space-100, 8px)",
114
114
  paddingLeft: "var(--ds-space-150, 12px)",
115
- borderRadius: "var(--ds-border-radius-100, 4px)",
115
+ borderRadius: "var(--ds-radius-small, 4px)",
116
116
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
117
117
  position: 'relative'
118
118
  },
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "211.0.0";
2
+ export const version = "211.0.1";
@@ -45,7 +45,7 @@ import { rulePlugin } from '@atlaskit/editor-plugins/rule';
45
45
  import { saveOnEnterPlugin } from '@atlaskit/editor-plugins/save-on-enter';
46
46
  import { scrollIntoViewPlugin } from '@atlaskit/editor-plugins/scroll-into-view';
47
47
  import { statusPlugin } from '@atlaskit/editor-plugins/status';
48
- import { syncedBlockPlugin } from '@atlaskit/editor-plugins/synced-block';
48
+ import { syncedBlockPrototypePlugin } from '@atlaskit/editor-plugins/synced-block-prototype';
49
49
  import { tablesPlugin } from '@atlaskit/editor-plugins/table';
50
50
  import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-decisions';
51
51
  import { textColorPlugin } from '@atlaskit/editor-plugins/text-color';
@@ -217,7 +217,7 @@ export default function createUniversalPresetInternal(_ref) {
217
217
  }], Boolean(props.autoformattingProvider)).maybeAdd([statusPlugin, {
218
218
  menuDisabled: statusMenuDisabled,
219
219
  allowZeroWidthSpaceAfter: true
220
- }], Boolean(props.allowStatus)).maybeAdd(syncedBlockPlugin, fg('platform_synced_block_demo')).maybeAdd(indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([toolbarListsIndentationPlugin, {
220
+ }], Boolean(props.allowStatus)).maybeAdd(syncedBlockPrototypePlugin, fg('platform_synced_block_demo')).maybeAdd(indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([toolbarListsIndentationPlugin, {
221
221
  showIndentationButtons: !!props.showIndentationButtons,
222
222
  allowHeadingAndParagraphIndentation: !!props.allowIndentation
223
223
  }]).add([insertBlockPlugin, _objectSpread({
@@ -69,7 +69,7 @@ var prismBorderStyles = function prismBorderStyles(colorMode, hover) {
69
69
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
70
70
  left: "-1px",
71
71
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
72
- borderRadius: "calc(".concat("var(--ds-border-radius-100, 3px)", " + 1px)"),
72
+ borderRadius: "calc(".concat("var(--ds-radius-small, 3px)", " + 1px)"),
73
73
  transform: 'translate3d(0, 0, 0)'
74
74
  }, hover ? {
75
75
  background: "var(--ds-border-input, #8590A2)"
@@ -83,5 +83,5 @@ var prismBorderStyles = function prismBorderStyles(colorMode, hover) {
83
83
  export var aiPanelStyles = function aiPanelStyles(colorMode
84
84
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
85
85
  ) {
86
- return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t@property --panel-gradient-angle {\n\t\tsyntax: '<angle>';\n\t\tinitial-value: 270deg;\n\t\tinherits: false;\n\t}\n\n\tdiv[extensionType='com.atlassian.ai-blocks'] {\n\t\t/* This hides the label for the extension */\n\t\t.extension-label {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t/* This styles the ai panel correctly when its just sitting on the page and there\n\t\tis no user interaction */\n\t\t.extension-container {\n\t\t\tposition: relative;\n\t\t\tbox-shadow: none;\n\t\t\toverflow: unset;\n\t\t\tbackground-color: ", " !important;\n\t\t\t&::before,\n\t\t\t&::after {\n\t\t\t\t", "\n\t\t\t}\n\t\t\t&.with-hover-border {\n\t\t\t\t&::before,\n\t\t\t\t&::after {\n\t\t\t\t\t", "\n\t\t\t\t}\n\t\t\t}\n\t\t\t& .with-margin-styles {\n\t\t\t\tbackground-color: ", " !important;\n\t\t\t\tborder-radius: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t/* This styles the ai panel correctly when its streaming */\n\tdiv[extensionType='com.atlassian.ai-blocks']:has(.streaming) {\n\t\t.extension-container {\n\t\t\tbox-shadow: none;\n\t\t\toverflow: unset;\n\t\t\t", "\n\t\t\t&::before,\n\t\t\t&::after {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t}\n\n\t/* This styles the ai panel correctly when a user is hovering over the delete button in the floating panel */\n\tdiv[extensionType='com.atlassian.ai-blocks'].danger {\n\t\t.extension-container {\n\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t}\n\t}\n\n\t/* This removes the margin from the action list when inside an ai panel */\n\tdiv[extensiontype='com.atlassian.ai-blocks'][extensionkey='ai-action-items-block:aiActionItemsBodiedExtension'] {\n\t\tdiv[data-node-type='actionList'] {\n\t\t\tmargin: 0 !important;\n\t\t}\n\t}\n"])), "var(--ds-surface, #FFFFFF)", prismBorderStyles(colorMode), prismBorderStyles(colorMode, true), "var(--ds-surface, #FFFFFF)", "var(--ds-border-radius-100, 3px)", prismBorderAnimationStyles, prismBorderStyles(colorMode), "var(--ds-border-danger, #E2483D)");
86
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t@property --panel-gradient-angle {\n\t\tsyntax: '<angle>';\n\t\tinitial-value: 270deg;\n\t\tinherits: false;\n\t}\n\n\tdiv[extensionType='com.atlassian.ai-blocks'] {\n\t\t/* This hides the label for the extension */\n\t\t.extension-label {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t/* This styles the ai panel correctly when its just sitting on the page and there\n\t\tis no user interaction */\n\t\t.extension-container {\n\t\t\tposition: relative;\n\t\t\tbox-shadow: none;\n\t\t\toverflow: unset;\n\t\t\tbackground-color: ", " !important;\n\t\t\t&::before,\n\t\t\t&::after {\n\t\t\t\t", "\n\t\t\t}\n\t\t\t&.with-hover-border {\n\t\t\t\t&::before,\n\t\t\t\t&::after {\n\t\t\t\t\t", "\n\t\t\t\t}\n\t\t\t}\n\t\t\t& .with-margin-styles {\n\t\t\t\tbackground-color: ", " !important;\n\t\t\t\tborder-radius: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t/* This styles the ai panel correctly when its streaming */\n\tdiv[extensionType='com.atlassian.ai-blocks']:has(.streaming) {\n\t\t.extension-container {\n\t\t\tbox-shadow: none;\n\t\t\toverflow: unset;\n\t\t\t", "\n\t\t\t&::before,\n\t\t\t&::after {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t}\n\n\t/* This styles the ai panel correctly when a user is hovering over the delete button in the floating panel */\n\tdiv[extensionType='com.atlassian.ai-blocks'].danger {\n\t\t.extension-container {\n\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t}\n\t}\n\n\t/* This removes the margin from the action list when inside an ai panel */\n\tdiv[extensiontype='com.atlassian.ai-blocks'][extensionkey='ai-action-items-block:aiActionItemsBodiedExtension'] {\n\t\tdiv[data-node-type='actionList'] {\n\t\t\tmargin: 0 !important;\n\t\t}\n\t}\n"])), "var(--ds-surface, #FFFFFF)", prismBorderStyles(colorMode), prismBorderStyles(colorMode, true), "var(--ds-surface, #FFFFFF)", "var(--ds-radius-small, 3px)", prismBorderAnimationStyles, prismBorderStyles(colorMode), "var(--ds-border-danger, #E2483D)");
87
87
  };
@@ -10,7 +10,7 @@ export var dateNodeStyles = css({
10
10
  "[data-prosemirror-node-name='date'] .date-lozenger-container span": {
11
11
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
12
12
  color: "var(--ds-text, #172B4D)",
13
- borderRadius: "var(--ds-border-radius-100, 4px)",
13
+ borderRadius: "var(--ds-radius-small, 4px)",
14
14
  padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
15
15
  margin: '0 1px',
16
16
  position: 'relative',
@@ -23,7 +23,7 @@ import { CodeBlockSharedCssClassName, MediaSharedClassNames, SmartCardSharedCssC
23
23
  import { blocktypeStyles } from '@atlaskit/editor-plugins/block-type/styles';
24
24
  import { findReplaceStyles, findReplaceStylesNew } from '@atlaskit/editor-plugins/find-replace/styles';
25
25
  import { textHighlightStyle } from '@atlaskit/editor-plugins/paste-options-toolbar/styles';
26
- import { placeholderTextStyles, placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour } from '@atlaskit/editor-plugins/placeholder-text/styles';
26
+ import { placeholderTextStyles } from '@atlaskit/editor-plugins/placeholder-text/styles';
27
27
  import { SelectionStyle, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles } from '@atlaskit/editor-shared-styles';
28
28
  import { fg } from '@atlaskit/platform-feature-flags';
29
29
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
@@ -163,9 +163,9 @@ var akEditorBreakpointForSmallDevice = "1266px";
163
163
  // Under editor experiment platform_editor_core_static_emotion
164
164
  // If you are making changes to this file, please make sure to update in EditorContentContainer.tsx as well
165
165
  var legacyContentStyles = function legacyContentStyles(props) {
166
- return css(_templateObject0 || (_templateObject0 = _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--resizer-handle-spacing: 12px;\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\t--ak-editor--breakout-min-width: 100%;\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\t--ak-editor--breakout-min-width: 0px;\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", "\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.ProseMirror-hideselection {\n\t\tcaret-color: transparent;\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 ", "\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, expValEqualsNoExposure('platform_editor_preview_panel_responsiveness', 'isEnabled', true) ? css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n\t\t\t\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t\t\t\t@container editor-area (max-width: ", "px) {\n\t\t\t\t\t--ak-editor--large-gutter-padding: ", "px;\n\t\t\t\t}\n\t\t\t"])), akEditorFullPageNarrowBreakout, akEditorGutterPaddingReduced) : null, editorFontSize({
166
+ return css(_templateObject0 || (_templateObject0 = _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--resizer-handle-spacing: 12px;\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\t--ak-editor--breakout-min-width: 100%;\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\t--ak-editor--breakout-min-width: 0px;\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", "\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.ProseMirror-hideselection {\n\t\tcaret-color: transparent;\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\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 ", "\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, expValEqualsNoExposure('platform_editor_preview_panel_responsiveness', 'isEnabled', true) ? css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n\t\t\t\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t\t\t\t@container editor-area (max-width: ", "px) {\n\t\t\t\t\t--ak-editor--large-gutter-padding: ", "px;\n\t\t\t\t}\n\t\t\t"])), akEditorFullPageNarrowBreakout, akEditorGutterPaddingReduced) : null, editorFontSize({
167
167
  theme: props.theme
168
- }), whitespaceSharedStyles, paragraphSharedStyles(props.typographyTheme), listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "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), telepointerStyle, 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) ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, fg('platform_editor_fix_emoji_style_selectors') ? emojiStylesWithSelectorFixes : emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? findReplaceStylesNew : findReplaceStyles, textHighlightStyle, taskDecisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node', 'isEnabled', true) ? taskItemStylesWithBlockTaskItem : 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(), pragmaticResizerStylesWithReducedEditorGutter(), 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
+ }), whitespaceSharedStyles, paragraphSharedStyles(props.typographyTheme), listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", firstFloatingToolbarButtonStyles, placeholderTextStyles, 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), telepointerStyle, 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) ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, fg('platform_editor_fix_emoji_style_selectors') ? emojiStylesWithSelectorFixes : emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? findReplaceStylesNew : findReplaceStyles, textHighlightStyle, taskDecisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node', 'isEnabled', true) ? taskItemStylesWithBlockTaskItem : 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(), pragmaticResizerStylesWithReducedEditorGutter(), 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);
169
169
  };
170
170
  export var createEditorContentStyle = function createEditorContentStyle(styles) {
171
171
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -115,7 +115,7 @@ var baseStatusStyles = css({
115
115
  paddingInline: "var(--ds-space-050, 4px)",
116
116
  display: 'inline-flex',
117
117
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
118
- borderRadius: "var(--ds-border-radius-100, 3px)",
118
+ borderRadius: "var(--ds-radius-small, 3px)",
119
119
  blockSize: 'min-content',
120
120
  position: 'static',
121
121
  overflow: 'hidden',
@@ -33,7 +33,7 @@ export var taskDecisionStyles = css({
33
33
  margin: "var(--ds-space-100, 8px)".concat(" 0 0 0"),
34
34
  padding: "var(--ds-space-100, 8px)",
35
35
  paddingLeft: "var(--ds-space-150, 12px)",
36
- borderRadius: "var(--ds-border-radius-100, 4px)",
36
+ borderRadius: "var(--ds-radius-small, 4px)",
37
37
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
38
38
  position: 'relative'
39
39
  },
@@ -48,7 +48,7 @@ import { mediaAlignmentStyles, mediaDangerStyles, mediaGroupStyles, mediaStyles
48
48
  import { mentionsStyles, mentionsSelectionStyles, mentionNodeStyles, mentionsStylesMixin_platform_editor_centre_mention_padding, mentionsSelectionStylesWithSearchMatch, mentionDangerStyles } from './styles/mentions';
49
49
  import { panelStyles, panelStylesMixin, panelStylesMixin_fg_platform_editor_add_border_for_nested_panel, panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes, panelViewStyles } from './styles/panelStyles';
50
50
  import { paragraphStylesOld, paragraphStylesUGCRefreshed } from './styles/paragraphStyles';
51
- import { placeholderOverflowStyles, placeholderStyles, placeholderTextStyles, placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour, placeholderWrapStyles } from './styles/placeholderStyles';
51
+ import { placeholderOverflowStyles, placeholderStyles, placeholderTextStyles, placeholderWrapStyles } from './styles/placeholderStyles';
52
52
  import { pragmaticResizerStyles, pragmaticResizerStylesNew, pragmaticStylesLayoutFirstNodeResizeHandleFix, pragmaticResizerStylesForTooltip, pragmaticResizerStylesWithReducedEditorGutter, resizerStyles } from './styles/resizerStyles';
53
53
  import { dangerRuleStyles, ruleStyles } from './styles/rule';
54
54
  import { scrollbarStyles } from './styles/scrollbarStyles';
@@ -130,9 +130,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
130
130
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
131
131
  firstFloatingToolbarButtonStyles,
132
132
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
133
- placeholderTextStyles, fg('platform_editor_system_fake_text_highlight_colour') &&
134
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
135
- placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour,
133
+ placeholderTextStyles,
136
134
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
137
135
  placeholderStyles,
138
136
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -90,7 +90,7 @@ export var aiPanelBaseStyles = css({
90
90
  height: "calc(100% + 2px)",
91
91
  top: "-1px",
92
92
  left: "-1px",
93
- borderRadius: "calc(".concat("var(--ds-border-radius-100, 3px)", " + 1px)"),
93
+ borderRadius: "calc(".concat("var(--ds-radius-small, 3px)", " + 1px)"),
94
94
  transform: 'translate3d(0, 0, 0)',
95
95
  background: prismBorderBaseBackground
96
96
  },
@@ -105,7 +105,7 @@ export var aiPanelBaseStyles = css({
105
105
  '& .with-margin-styles': {
106
106
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
107
107
  backgroundColor: "var(--ds-surface, #FFFFFF)".concat(" !important"),
108
- borderRadius: "var(--ds-border-radius-100, 3px)"
108
+ borderRadius: "var(--ds-radius-small, 3px)"
109
109
  }
110
110
  }
111
111
  },
@@ -11,7 +11,7 @@ export var DateSharedCssClassName = {
11
11
  export var dateVanillaStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span"), {
12
12
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
13
13
  color: "var(--ds-text, #172B4D)",
14
- borderRadius: "var(--ds-border-radius-100, 4px)",
14
+ borderRadius: "var(--ds-radius-small, 4px)",
15
15
  padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
16
16
  margin: '0 1px',
17
17
  position: 'relative',
@@ -12,7 +12,7 @@ export var expandStyles = css({
12
12
  borderWidth: '1px',
13
13
  borderStyle: 'solid',
14
14
  borderColor: 'transparent',
15
- borderRadius: "var(--ds-border-radius-100, 4px)",
15
+ borderRadius: "var(--ds-radius-small, 4px)",
16
16
  minHeight: '25px',
17
17
  background: "var(--ds-background-neutral-subtle, transparent)",
18
18
  margin: "var(--ds-space-050, 0.25rem)".concat(" 0 0"),
@@ -5,7 +5,7 @@ export var findReplaceStyles = css({
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
6
6
  '.search-match': {
7
7
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
8
- borderRadius: "var(--ds-border-radius-100, 3px)",
8
+ borderRadius: "var(--ds-radius-small, 3px)",
9
9
  backgroundColor: "var(--ds-background-accent-teal-subtlest, #E7F9FF)",
10
10
  boxShadow: "var(--ds-shadow-raised, 0 1px 1px 0 rgba(9, 30, 66, 0.25), 0 0 1px 0 rgba(9, 30, 66, 0.31))".concat(", inset 0 0 0 1px ", "var(--ds-border-input, #8590A2)")
11
11
  },
@@ -59,17 +59,6 @@ export var placeholderTextStyles = css({
59
59
  display: 'inline',
60
60
  pointerEvents: 'none',
61
61
  position: 'relative',
62
- backgroundColor: "var(--ds-background-selected, #B3D4FF)"
63
- }
64
- }
65
- });
66
-
67
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
68
- export var placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour = css({
69
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
70
- '.ProseMirror': {
71
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
72
- '.ProseMirror-fake-text-selection': {
73
62
  // Follow the system highlight colour to match native text selection
74
63
  backgroundColor: 'Highlight',
75
64
  // We should also match the text colour to the system highlight text colour.
@@ -46,7 +46,7 @@ export var statusStyles = css({
46
46
  paddingInline: "var(--ds-space-050, 4px)",
47
47
  display: 'inline-flex',
48
48
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
49
- borderRadius: "var(--ds-border-radius-100, 3px)",
49
+ borderRadius: "var(--ds-radius-small, 3px)",
50
50
  blockSize: 'min-content',
51
51
  position: 'static',
52
52
  overflow: 'hidden',
@@ -94,7 +94,7 @@ hideNativeBrowserTextSelectionStyles]), '.danger', _defineProperty({}, ".".conca
94
94
  margin: "var(--ds-space-100, 8px)".concat(" 0 0 0"),
95
95
  padding: "var(--ds-space-100, 8px)",
96
96
  paddingLeft: "var(--ds-space-150, 12px)",
97
- borderRadius: "var(--ds-border-radius-100, 4px)",
97
+ borderRadius: "var(--ds-radius-small, 4px)",
98
98
  backgroundColor: "var(--ds-background-neutral, #091E420F)",
99
99
  position: 'relative'
100
100
  }), '[data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"]', {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "211.0.0";
2
+ export var version = "211.0.1";
@@ -4,7 +4,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4
4
  initialPluginConfiguration?: InitialPluginConfiguration;
5
5
  prevProps?: EditorProps;
6
6
  props: EditorProps;
7
- }): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlock">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "batchAttributeUpdates", "contentInsertion", "accessibilityUtils", "dataConsumer", "ufo", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", string, "primaryToolbar", string, string, "typeAhead", "decorations", "base", "contextIdentifier", "composition", string, string, "focus", "clipboard", "paste", "betterTypeHistory", string, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
7
+ }): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlockPrototype">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "batchAttributeUpdates", "contentInsertion", "accessibilityUtils", "dataConsumer", "ufo", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", string, "primaryToolbar", string, string, "typeAhead", "decorations", "base", "contextIdentifier", "composition", string, string, "focus", "clipboard", "paste", "betterTypeHistory", string, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
8
8
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/limited-mode").LimitedModePlugin>];
9
9
  pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
10
10
  }, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
@@ -48,7 +48,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
48
48
  isIndentationAllowed: boolean;
49
49
  outdentDisabled: boolean;
50
50
  } | undefined;
51
- }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
51
+ }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlockPrototype", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
52
52
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
53
53
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
54
54
  dependencies: import("@atlaskit/editor-plugins/status").StatusPluginDependencies;
@@ -62,7 +62,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
62
62
  initialPluginConfiguration?: InitialPluginConfiguration;
63
63
  prevAppearance?: EditorAppearance;
64
64
  props: UniversalPresetProps;
65
- }): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlock">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "batchAttributeUpdates", "contentInsertion", "accessibilityUtils", "dataConsumer", "ufo", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", string, "primaryToolbar", string, string, "typeAhead", "decorations", "base", "contextIdentifier", "composition", string, string, "focus", "clipboard", "paste", "betterTypeHistory", string, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
65
+ }): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlockPrototype">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "batchAttributeUpdates", "contentInsertion", "accessibilityUtils", "dataConsumer", "ufo", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", string, "primaryToolbar", string, string, "typeAhead", "decorations", "base", "contextIdentifier", "composition", string, string, "focus", "clipboard", "paste", "betterTypeHistory", string, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
66
66
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/limited-mode").LimitedModePlugin>];
67
67
  pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
68
68
  }, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
@@ -106,7 +106,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
106
106
  isIndentationAllowed: boolean;
107
107
  outdentDisabled: boolean;
108
108
  } | undefined;
109
- }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
109
+ }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlockPrototype", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
110
110
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
111
111
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
112
112
  dependencies: import("@atlaskit/editor-plugins/status").StatusPluginDependencies;
@@ -4,7 +4,7 @@ interface PresetProps {
4
4
  initialPluginConfiguration?: InitialPluginConfiguration;
5
5
  props: EditorProps;
6
6
  }
7
- export default function useUniversalPreset({ props, initialPluginConfiguration }: PresetProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlock">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "batchAttributeUpdates", "contentInsertion", "accessibilityUtils", "dataConsumer", "ufo", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", string, "primaryToolbar", string, string, "typeAhead", "decorations", "base", "contextIdentifier", "composition", string, string, "focus", "clipboard", "paste", "betterTypeHistory", string, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
7
+ export default function useUniversalPreset({ props, initialPluginConfiguration }: PresetProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlockPrototype">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "batchAttributeUpdates", "contentInsertion", "accessibilityUtils", "dataConsumer", "ufo", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", string, "primaryToolbar", string, string, "typeAhead", "decorations", "base", "contextIdentifier", "composition", string, string, "focus", "clipboard", "paste", "betterTypeHistory", string, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
8
8
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/limited-mode").LimitedModePlugin>];
9
9
  pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
10
10
  }, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
@@ -48,7 +48,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
48
48
  isIndentationAllowed: boolean;
49
49
  outdentDisabled: boolean;
50
50
  } | undefined;
51
- }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
51
+ }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlockPrototype", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
52
52
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
53
53
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
54
54
  dependencies: import("@atlaskit/editor-plugins/status").StatusPluginDependencies;
@@ -1,6 +1,5 @@
1
1
  import { type SerializedStyles } from '@emotion/react';
2
2
  export declare const placeholderTextStyles: SerializedStyles;
3
- export declare const placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour: SerializedStyles;
4
3
  export declare const placeholderStyles: SerializedStyles;
5
4
  export declare const placeholderOverflowStyles: SerializedStyles;
6
5
  export declare const placeholderWrapStyles: SerializedStyles;
@@ -16,7 +16,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
16
16
  "toolbarListsIndentation",
17
17
  import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">,
18
18
  import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">,
19
- import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlock">,
19
+ import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlockPrototype">,
20
20
  import("@atlaskit/editor-common/preset").MaybePluginName<"status">,
21
21
  import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">,
22
22
  import("@atlaskit/editor-common/preset").MaybePluginName<"card">,
@@ -145,7 +145,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
145
145
  outdentDisabled: boolean;
146
146
  } | undefined;
147
147
  }, undefined> | undefined,
148
- import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {}, undefined> | undefined,
148
+ import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlockPrototype", {}, undefined> | undefined,
149
149
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
150
150
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
151
151
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
@@ -74,7 +74,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
74
74
  "toolbarListsIndentation",
75
75
  import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">,
76
76
  import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">,
77
- import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlock">,
77
+ import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlockPrototype">,
78
78
  import("@atlaskit/editor-common/preset").MaybePluginName<"status">,
79
79
  import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">,
80
80
  import("@atlaskit/editor-common/preset").MaybePluginName<"card">,
@@ -203,7 +203,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
203
203
  outdentDisabled: boolean;
204
204
  } | undefined;
205
205
  }, undefined> | undefined,
206
- import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {}, undefined> | undefined,
206
+ import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlockPrototype", {}, undefined> | undefined,
207
207
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
208
208
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
209
209
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
@@ -16,7 +16,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
16
16
  "toolbarListsIndentation",
17
17
  import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">,
18
18
  import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">,
19
- import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlock">,
19
+ import("@atlaskit/editor-common/preset").MaybePluginName<"syncedBlockPrototype">,
20
20
  import("@atlaskit/editor-common/preset").MaybePluginName<"status">,
21
21
  import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">,
22
22
  import("@atlaskit/editor-common/preset").MaybePluginName<"card">,
@@ -145,7 +145,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
145
145
  outdentDisabled: boolean;
146
146
  } | undefined;
147
147
  }, undefined> | undefined,
148
- import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {}, undefined> | undefined,
148
+ import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlockPrototype", {}, undefined> | undefined,
149
149
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
150
150
  actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
151
151
  commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
@@ -1,6 +1,5 @@
1
1
  import { type SerializedStyles } from '@emotion/react';
2
2
  export declare const placeholderTextStyles: SerializedStyles;
3
- export declare const placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour: SerializedStyles;
4
3
  export declare const placeholderStyles: SerializedStyles;
5
4
  export declare const placeholderOverflowStyles: SerializedStyles;
6
5
  export declare const placeholderWrapStyles: SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "211.0.1",
3
+ "version": "211.1.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/editor-performance-metrics": "^2.1.0",
50
50
  "@atlaskit/editor-plugin-quick-insert": "^4.0.0",
51
51
  "@atlaskit/editor-plugin-user-preferences": "^2.0.0",
52
- "@atlaskit/editor-plugins": "^10.2.0",
52
+ "@atlaskit/editor-plugins": "^10.3.0",
53
53
  "@atlaskit/editor-prosemirror": "7.0.0",
54
54
  "@atlaskit/editor-shared-styles": "^3.6.0",
55
55
  "@atlaskit/editor-toolbar": "^0.6.0",
@@ -63,7 +63,7 @@
63
63
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
64
64
  "@atlaskit/react-ufo": "^4.5.0",
65
65
  "@atlaskit/task-decision": "^19.2.0",
66
- "@atlaskit/tmp-editor-statsig": "^12.0.0",
66
+ "@atlaskit/tmp-editor-statsig": "^12.1.0",
67
67
  "@atlaskit/tokens": "^6.1.0",
68
68
  "@atlaskit/tooltip": "^20.4.0",
69
69
  "@atlaskit/width-detector": "^5.0.0",
@@ -485,9 +485,6 @@
485
485
  "type": "boolean",
486
486
  "referenceOnly": true
487
487
  },
488
- "platform_editor_system_fake_text_highlight_colour": {
489
- "type": "boolean"
490
- },
491
488
  "platform_editor_controls_increase_full_page_gutter": {
492
489
  "type": "boolean"
493
490
  },