@atlaskit/editor-core 208.2.1 → 208.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/i18n/sr_YR.js +19 -0
  3. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +9 -19
  4. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +1 -11
  5. package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +31 -1
  6. package/dist/cjs/ui/ContentStyles/index.js +1 -1
  7. package/dist/cjs/ui/ContentStyles/media.js +1 -1
  8. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +6 -3
  9. package/dist/cjs/ui/EditorContentContainer/styles/baseStyles.js +4 -1
  10. package/dist/cjs/ui/EditorContentContainer/styles/resizerStyles.js +123 -1
  11. package/dist/cjs/version-wrapper.js +1 -1
  12. package/dist/es2019/i18n/sr_YR.js +13 -0
  13. package/dist/es2019/ui/Appearance/FullPage/FullPage.js +9 -19
  14. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +1 -11
  15. package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +29 -1
  16. package/dist/es2019/ui/ContentStyles/index.js +7 -0
  17. package/dist/es2019/ui/ContentStyles/media.js +0 -5
  18. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +7 -4
  19. package/dist/es2019/ui/EditorContentContainer/styles/baseStyles.js +4 -1
  20. package/dist/es2019/ui/EditorContentContainer/styles/resizerStyles.js +122 -0
  21. package/dist/es2019/version-wrapper.js +1 -1
  22. package/dist/esm/i18n/sr_YR.js +13 -0
  23. package/dist/esm/ui/Appearance/FullPage/FullPage.js +9 -19
  24. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +1 -11
  25. package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +31 -1
  26. package/dist/esm/ui/ContentStyles/index.js +1 -1
  27. package/dist/esm/ui/ContentStyles/media.js +1 -1
  28. package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +7 -4
  29. package/dist/esm/ui/EditorContentContainer/styles/baseStyles.js +4 -1
  30. package/dist/esm/ui/EditorContentContainer/styles/resizerStyles.js +122 -0
  31. package/dist/esm/version-wrapper.js +1 -1
  32. package/dist/types/i18n/sr_YR.d.ts +12 -0
  33. package/dist/types/ui/EditorContentContainer/styles/resizerStyles.d.ts +1 -0
  34. package/dist/types-ts4.5/i18n/sr_YR.d.ts +12 -0
  35. package/dist/types-ts4.5/ui/EditorContentContainer/styles/resizerStyles.d.ts +1 -0
  36. package/package.json +7 -19
@@ -195,11 +195,6 @@ export const mediaStyles = () => css`
195
195
  .mediaGroupView-content-wrap.${akEditorSelectedNodeClassName} #newFileExperienceWrapper {
196
196
  box-shadow: ${akEditorSelectedBoxShadow};
197
197
  }
198
-
199
- // Remove when cleaning up platform_editor_interaction_api_refactor
200
- .ak-editor-no-interaction #newFileExperienceWrapper {
201
- box-shadow: none;
202
- }
203
198
  `;
204
199
 
205
200
  /* `left: unset` above is to work around Chrome bug where rendering a div with
@@ -11,6 +11,7 @@ import { jsx, useTheme } from '@emotion/react';
11
11
  import { browser } from '@atlaskit/editor-common/browser';
12
12
  import { akEditorGutterPaddingDynamic, editorFontSize } from '@atlaskit/editor-shared-styles';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
14
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
14
15
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
15
16
  import { useThemeObserver } from '@atlaskit/tokens';
16
17
  import { aiPanelBaseFirefoxStyles, aiPanelBaseStyles, aiPanelDarkFirefoxStyles, aiPanelDarkStyles } from './styles/aiPanel';
@@ -45,7 +46,7 @@ import { mentionsStyles, vanillaMentionsSelectionStyles, vanillaMentionsStyles }
45
46
  import { panelStyles, panelStylesMixin, panelStylesMixin_fg_platform_editor_add_border_for_nested_panel, panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes, panelViewStyles } from './styles/panelStyles';
46
47
  import { paragraphStylesOld, paragraphStylesUGCModernized, paragraphStylesUGCRefreshed } from './styles/paragraphStyles';
47
48
  import { placeholderOverflowStyles, placeholderStyles, placeholderTextStyles, placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour, placeholderWrapStyles } from './styles/placeholderStyles';
48
- import { pragmaticResizerStyles, pragmaticStylesLayoutFirstNodeResizeHandleFix, pragmaticResizerStylesForTooltip, resizerStyles } from './styles/resizerStyles';
49
+ import { pragmaticResizerStyles, pragmaticResizerStylesNew, pragmaticStylesLayoutFirstNodeResizeHandleFix, pragmaticResizerStylesForTooltip, resizerStyles } from './styles/resizerStyles';
49
50
  import { ruleStyles } from './styles/rule';
50
51
  import { scrollbarStyles } from './styles/scrollbarStyles';
51
52
  import { hideCursorWhenHideSelectionStyles, hideSelectionStyles, selectedNodeStyles } from './styles/selectionStyles';
@@ -271,11 +272,13 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
271
272
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
272
273
  fg('platform_editor_hyperlink_underline') ? linkStyles : linkStylesOld,
273
274
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
274
- browser.safari && listsStylesSafariFix, editorExperiment('platform_editor_breakout_resizing', true) &&
275
+ browser.safari && listsStylesSafariFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? fg('platform_editor_breakout_resizing_width_changes') ?
275
276
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
276
- pragmaticResizerStyles, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_breakout_resizing', true) && fg('platform_editor_breakout_resizing_hello_release') &&
277
+ pragmaticResizerStylesNew :
277
278
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
278
- pragmaticStylesLayoutFirstNodeResizeHandleFix, editorExperiment('platform_editor_breakout_resizing', true) && fg('platform_editor_breakout_resizing_hello_release') &&
279
+ pragmaticResizerStyles : undefined, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release') &&
280
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
281
+ pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release') &&
279
282
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
280
283
  pragmaticResizerStylesForTooltip,
281
284
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -21,9 +21,12 @@ export const baseStyles = css({
21
21
  '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--default-layout-width))',
22
22
  '--ak-editor--breakout-wide-layout-width': `${akEditorCalculatedWideLayoutWidthSmallViewport}px`,
23
23
  '--ak-editor--breakout-full-page-guttering-padding': 'calc(var(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding))',
24
+ '--ak-editor--breakout-fallback-width': 'calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))',
24
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
25
26
  '.fabric-editor--full-width-mode': {
26
- '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--full-width-layout-width))'
27
+ '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--full-width-layout-width))',
28
+ /* 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 */
29
+ '--ak-editor--breakout-fallback-width': '100%'
27
30
  },
28
31
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
29
32
  '.ProseMirror': {
@@ -366,4 +366,126 @@ export const pragmaticResizerStyles = css({
366
366
  top: "var(--ds-space-150, 12px)",
367
367
  bottom: "var(--ds-space-150, 12px)"
368
368
  }
369
+ });
370
+
371
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
372
+ export const pragmaticResizerStylesNew = css({
373
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
374
+ '.fabric-editor-breakout-mark': {
375
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
376
+ '&:has([data-prosemirror-node-name="codeBlock"])': {
377
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
378
+ '> .pm-breakout-resize-handle-container--left': {
379
+ left: '-5px'
380
+ },
381
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
382
+ '> .pm-breakout-resize-handle-container--right': {
383
+ right: '-5px'
384
+ },
385
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
386
+ '> .pm-breakout-resize-handle-container': {
387
+ height: 'calc(100% - 12px)'
388
+ }
389
+ },
390
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
391
+ '&:has([data-prosemirror-node-name="expand"]), &:has([data-prosemirror-node-name="layoutSection"])': {
392
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
393
+ '> .pm-breakout-resize-handle-container--left': {
394
+ left: '-25px'
395
+ },
396
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
397
+ '> .pm-breakout-resize-handle-container--right': {
398
+ right: '-25px'
399
+ }
400
+ },
401
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
402
+ '&:has([data-prosemirror-node-name="expand"])': {
403
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
404
+ '> .pm-breakout-resize-handle-container': {
405
+ height: 'calc(100% - 4px)'
406
+ }
407
+ },
408
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
409
+ '&:has([data-prosemirror-node-name="layoutSection"])': {
410
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
411
+ '> .pm-breakout-resize-handle-container': {
412
+ height: 'calc(100% - 8px)'
413
+ }
414
+ },
415
+ // the first node in the document always has margin-top = 0
416
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
417
+ '&:has(.first-node-in-document)': {
418
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
419
+ '> .pm-breakout-resize-handle-container': {
420
+ height: '100%'
421
+ }
422
+ }
423
+ },
424
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
425
+ '.pm-breakout-resize-handle-container': {
426
+ position: 'relative',
427
+ alignSelf: 'end',
428
+ gridRow: 1,
429
+ gridColumn: 1,
430
+ height: '100%',
431
+ width: 7
432
+ },
433
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
434
+ '.pm-breakout-resize-handle-container--left': {
435
+ justifySelf: 'start'
436
+ },
437
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
438
+ '.pm-breakout-resize-handle-container--right': {
439
+ justifySelf: 'end'
440
+ },
441
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
442
+ '.pm-breakout-resize-handle-rail': {
443
+ position: 'relative',
444
+ display: 'flex',
445
+ alignItems: 'center',
446
+ justifyContent: 'center',
447
+ height: '100%',
448
+ cursor: 'col-resize',
449
+ borderRadius: 4,
450
+ transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
451
+ zIndex: 2,
452
+ opacity: 0,
453
+ '&:hover': {
454
+ background: "var(--ds-background-selected, #E9F2FF)",
455
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
456
+ '.pm-breakout-resize-handle-thumb': {
457
+ background: "var(--ds-border-focused, #388BFF)"
458
+ }
459
+ }
460
+ },
461
+ // same as 'hover' styles above
462
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
463
+ '.pm-breakout-resize-handle-container--active': {
464
+ background: "var(--ds-background-selected, #E9F2FF)",
465
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
466
+ '.pm-breakout-resize-handle-thumb': {
467
+ background: "var(--ds-border-focused, #388BFF)"
468
+ }
469
+ },
470
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
471
+ '.pm-breakout-resize-handle-hit-box': {
472
+ position: 'absolute',
473
+ top: 0,
474
+ bottom: 0,
475
+ left: -20,
476
+ right: -20,
477
+ zIndex: 0
478
+ },
479
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
480
+ '.pm-breakout-resize-handle-thumb': {
481
+ minWidth: resizerHandleThumbWidth,
482
+ // copied from resizeStyles.clamped
483
+ height: 'clamp(27px, calc(100% - 32px), 96px)',
484
+ background: "var(--ds-border, #091E4224)",
485
+ borderRadius: 6,
486
+ // sticky styles
487
+ position: 'sticky',
488
+ top: "var(--ds-space-150, 12px)",
489
+ bottom: "var(--ds-space-150, 12px)"
490
+ }
369
491
  });
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "208.2.0";
2
+ export const version = "208.3.0";
@@ -0,0 +1,13 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Serbian (Cyrillic) [sr-YR]
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': 'Унесите текст…',
11
+ 'fabric.editor.editorAssistiveLabel': 'Главна област за садржај, почните да уносите текст.',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'Отвори дијалог помоћи'
13
+ };
@@ -57,11 +57,16 @@ var hasCustomComponents = function hasCustomComponents(components) {
57
57
  return true;
58
58
  };
59
59
  var useFullPageEditorPluginsStates = sharedPluginStateHookMigratorFactory(function (pluginInjectionApi) {
60
- return useSharedPluginState(pluginInjectionApi, ['editorViewMode', 'primaryToolbar', 'interaction']);
60
+ var _sharedState$interact;
61
+ var sharedState = useSharedPluginState(pluginInjectionApi, ['editorViewMode', 'primaryToolbar', 'interaction']);
62
+ return {
63
+ primaryToolbarState: sharedState === null || sharedState === void 0 ? void 0 : sharedState.primaryToolbarState,
64
+ editorViewModeState: sharedState === null || sharedState === void 0 ? void 0 : sharedState.editorViewModeState,
65
+ interactionState: sharedState === null || sharedState === void 0 || (_sharedState$interact = sharedState.interactionState) === null || _sharedState$interact === void 0 ? void 0 : _sharedState$interact.interactionState
66
+ };
61
67
  }, function (pluginInjectionApi) {
62
68
  var primaryToolbarComponents = useSharedPluginStateSelector(pluginInjectionApi, 'primaryToolbar.components');
63
69
  var editorViewMode = useSharedPluginStateSelector(pluginInjectionApi, 'editorViewMode.mode');
64
- var hasHadInteraction = useSharedPluginStateSelector(pluginInjectionApi, 'interaction.hasHadInteraction');
65
70
  var interactionState = useSharedPluginStateSelector(pluginInjectionApi, 'interaction.interactionState');
66
71
  return {
67
72
  primaryToolbarState: !primaryToolbarComponents ? undefined : {
@@ -70,10 +75,7 @@ var useFullPageEditorPluginsStates = sharedPluginStateHookMigratorFactory(functi
70
75
  editorViewModeState: !editorViewMode ? undefined : {
71
76
  mode: editorViewMode
72
77
  },
73
- interactionState: hasHadInteraction === undefined || interactionState === undefined ? undefined : {
74
- hasHadInteraction: hasHadInteraction,
75
- interactionState: interactionState
76
- }
78
+ interactionState: interactionState
77
79
  };
78
80
  });
79
81
  export var FullPageEditor = function FullPageEditor(props) {
@@ -90,19 +92,7 @@ export var FullPageEditor = function FullPageEditor(props) {
90
92
  interactionState = _useFullPageEditorPlu.interactionState;
91
93
  var primaryToolbarState = getPrimaryToolbarComponents(editorAPI, primaryToolbarHookState === null || primaryToolbarHookState === void 0 ? void 0 : primaryToolbarHookState.components);
92
94
  var viewMode = getEditorViewMode(editorViewModeState, props.preset);
93
-
94
- // Remove all this logic when platform_editor_interaction_api_refactor is cleaned up
95
- var hasHadInteraction;
96
- if (fg('platform_editor_interaction_api_refactor')) {
97
- // Warning: this logic is a cluster-f but `hasHadInteraction` depends on undefined being allowed
98
- // in which case no class will be rendered at all. In this way we only set `hasHadInteraction to
99
- // boolean when interactionState is not undefined.
100
- if (interactionState) {
101
- hasHadInteraction = interactionState.interactionState !== 'hasNotHadInteraction';
102
- }
103
- } else {
104
- hasHadInteraction = interactionState === null || interactionState === void 0 ? void 0 : interactionState.hasHadInteraction;
105
- }
95
+ var hasHadInteraction = interactionState !== 'hasNotHadInteraction';
106
96
  var toolbarDocking = useSharedPluginStateSelector(editorAPI, 'selectionToolbar.toolbarDocking', {
107
97
  disabled: fg('platform_editor_use_preferences_plugin')
108
98
  });
@@ -66,16 +66,6 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
66
66
  }
67
67
  };
68
68
  }, []);
69
-
70
- // Remove entire `hasHadInteraction` logic and prop when 'platform_editor_interaction_api_refactor' is cleaned up
71
- var interactionClassName;
72
- if (fg('platform_editor_interaction_api_refactor')) {
73
- // no-op and do not add any classes
74
- } else if (
75
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
76
- props.hasHadInteraction !== undefined && fg('platform_editor_no_cursor_on_live_doc_init')) {
77
- interactionClassName = props.hasHadInteraction ? 'ak-editor-has-interaction' : 'ak-editor-no-interaction';
78
- }
79
69
  var shouldSetHiddenDataAttribute = function shouldSetHiddenDataAttribute() {
80
70
  // When platform_editor_controls_performance_fixes is enabled we use a different method to
81
71
  // determine if the toolbar is hidden from outside of the editor, which doesn't require setting
@@ -133,7 +123,7 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
133
123
  css: editorContentGutterStyle()
134
124
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
135
125
  ,
136
- className: fg('platform_editor_no_cursor_on_live_doc_init') ? classnames('ak-editor-content-area', 'appearance-full-page', interactionClassName, {
126
+ className: fg('platform_editor_no_cursor_on_live_doc_init') ? classnames('ak-editor-content-area', 'appearance-full-page', {
137
127
  'fabric-editor--full-width-mode': fullWidthMode
138
128
  }) : ['ak-editor-content-area', 'appearance-full-page', fullWidthMode ? 'fabric-editor--full-width-mode' : ''].join(' '),
139
129
  ref: contentAreaRef
@@ -7,6 +7,7 @@ import { tableFullPageEditorStyles } from '@atlaskit/editor-plugins/table/ui/com
7
7
  import { tableMarginFullWidthMode } from '@atlaskit/editor-plugins/table/ui/consts';
8
8
  import { FULL_PAGE_EDITOR_TOOLBAR_HEIGHT, akEditorFullWidthLayoutWidth, akEditorGutterPaddingDynamic, akEditorSwoopCubicBezier, akLayoutGutterOffset } from '@atlaskit/editor-shared-styles';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
10
11
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
11
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
12
13
  var SWOOP_ANIMATION = "0.5s ".concat(akEditorSwoopCubicBezier);
@@ -124,11 +125,40 @@ var editorContentAreaContainerStyle = function editorContentAreaContainerStyle()
124
125
  }
125
126
  });
126
127
  };
128
+
129
+ /* Prevent horizontal scroll on page in full width mode */
130
+ var editorContentAreaContainerStyleExcludeCodeBlock = function editorContentAreaContainerStyleExcludeCodeBlock() {
131
+ return css({
132
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
133
+ '.fabric-editor--full-width-mode': {
134
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
135
+ '.extension-container, .multiBodiedExtension--container': {
136
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
137
+ maxWidth: "calc(100% - ".concat(tableMarginFullWidthMode * 2, "px)")
138
+ },
139
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
140
+ '.extension-container.inline': {
141
+ maxWidth: '100%'
142
+ },
143
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
144
+ 'td .extension-container.inline': {
145
+ maxWidth: 'inherit'
146
+ },
147
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
148
+ '[data-layout-section]': {
149
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
150
+ maxWidth: "calc(100% + ".concat((akLayoutGutterOffset + (fg('platform_editor_nested_dnd_styles_changes') ? AK_NESTED_DND_GUTTER_OFFSET : 0)) * 2, "px)")
151
+ }
152
+ }
153
+ });
154
+ };
127
155
  export var editorContentAreaStyle = function editorContentAreaStyle(_ref) {
128
156
  var layoutMaxWidth = _ref.layoutMaxWidth,
129
157
  fullWidthMode = _ref.fullWidthMode,
130
158
  isEditorToolbarHidden = _ref.isEditorToolbarHidden;
131
- return [editorContentArea, fg('platform_editor_fix_table_width_inline_comment') ? fullWidthNonChromelessBreakoutBlockTableStyle : fullWidthModeBreakoutBlockTableStyle, !fullWidthMode && editorContentAreaWithLayoutWith(layoutMaxWidth), editorContentAreaContainerStyle()].concat(_toConsumableArray(fg('platform_editor_controls_no_toolbar_space') ? [] : [editorExperiment('platform_editor_controls', 'variant1') &&
159
+ return [editorContentArea, fg('platform_editor_fix_table_width_inline_comment') ? fullWidthNonChromelessBreakoutBlockTableStyle : fullWidthModeBreakoutBlockTableStyle, !fullWidthMode && editorContentAreaWithLayoutWith(layoutMaxWidth),
160
+ // for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
161
+ expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_width_changes') ? editorContentAreaContainerStyleExcludeCodeBlock() : editorContentAreaContainerStyle()].concat(_toConsumableArray(fg('platform_editor_controls_no_toolbar_space') ? [] : [editorExperiment('platform_editor_controls', 'variant1') &&
132
162
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
133
163
  contentAreaReducedHeaderSpace, isEditorToolbarHidden && editorExperiment('platform_editor_controls', 'variant1') &&
134
164
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
@@ -145,7 +145,7 @@ var akEditorBreakpointForSmallDevice = "1266px";
145
145
  // Under editor experiment platform_editor_core_static_emotion
146
146
  // If you are making changes to this file, please make sure to update in EditorContentContainer.tsx as well
147
147
  var legacyContentStyles = function legacyContentStyles(props) {
148
- return css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: ", "px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.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\t}\n\n\t.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (width >= ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t/**\n\t * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24\n\t *\n\t * 1. Merge and Release platform_editor_hide_cursor_when_pm_hideselection\n\t * 2. Cleanup duplicated style from platform_editor_advanced_code_blocks\n\t * https://product-fabric.atlassian.net/browse/ED-26331\n\t */\n\t", "\n\n\t/* This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24 */\n\t", "\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\tcaret-color: transparent;\n\t}\n\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\tdisplay: none;\n\t}\n\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n /* Switch between the two icons based on the visual refresh feature gate */\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t/* For FullPage only when inside a table\n\tRelated code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\tIn the \"editorContentAreaContainerStyle\" function */\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Legacy Link icon in the Atlaskit package\n is bigger than the others, new ADS icon does not have this issue\n */\n\t", "\n"])), akEditorGutterPadding, akEditorGutterPaddingDynamic(), akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, editorFontSize({
148
+ return css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: ", "px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t--ak-editor--breakout-fallback-width: calc(\n\t\t100cqw - var(--ak-editor--breakout-full-page-guttering-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\n\t\t/* in full width appearances it's not possible to rely on cqw because it doesn't account for the page scrollbar, which depends on users system settings */\n\t\t--ak-editor--breakout-fallback-width: 100%;\n\t}\n\n\t.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (width >= ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t/**\n\t * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24\n\t *\n\t * 1. Merge and Release platform_editor_hide_cursor_when_pm_hideselection\n\t * 2. Cleanup duplicated style from platform_editor_advanced_code_blocks\n\t * https://product-fabric.atlassian.net/browse/ED-26331\n\t */\n\t", "\n\n\t/* This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24 */\n\t", "\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\tcaret-color: transparent;\n\t}\n\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\tdisplay: none;\n\t}\n\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n /* Switch between the two icons based on the visual refresh feature gate */\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t/* For FullPage only when inside a table\n\tRelated code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\tIn the \"editorContentAreaContainerStyle\" function */\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Legacy Link icon in the Atlaskit package\n is bigger than the others, new ADS icon does not have this issue\n */\n\t", "\n"])), akEditorGutterPadding, akEditorGutterPaddingDynamic(), akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, editorFontSize({
149
149
  theme: props.theme
150
150
  }), whitespaceSharedStyles, paragraphSharedStyles(props.typographyTheme), listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, fg('platform_editor_hide_cursor_when_pm_hideselection') ? css(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, editorExperiment('platform_editor_advanced_code_blocks', true) ? css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, "var(--ds-border-focused, #8cf)", fg('platform_editor_fix_floating_toolbar_focus') ? firstFloatingToolbarButtonStyles : null, placeholderTextStyles, fg('platform_editor_system_fake_text_highlight_colour') && placeholderTextStyles_fg_platform_editor_system_fake_text_highlight_colour, placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder') ? placeholderWrapStyles : null, codeBlockStyles(), blocktypeStyles(props.typographyTheme), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(), listsStyles, ruleStyles(), mediaStyles(), layoutStyles(props.viewMode), fg('confluence_team_presence_scroll_to_pointer') ? telepointerStyle : telepointerStyleWithInitialOnly, gapCursorStyles, panelStyles(), mentionsStyles, editorExperiment('platform_editor_vanilla_dom', true, {
151
151
  exposure: false
@@ -8,7 +8,7 @@ import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorDeleteIconColor
8
8
  import { fileCardImageViewSelector, inlinePlayerClassName, newFileExperienceClassName } from '@atlaskit/media-card';
9
9
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
10
10
  export var mediaStyles = function mediaStyles() {
11
- return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", " & [layout='full-width'] .", ",\n & [layout='wide'] .", " {\n\t\t\tmargin-left: 50%;\n\t\t\ttransform: translateX(-50%);\n\t\t}\n\n\t\t.media-extended-resize-experience[layout^='wrap-'] {\n\t\t\t/* override 'overflow: auto' when viewport <= 410 set by mediaSingleSharedStyle\n\t\t\tto prevent scroll bar */\n\t\t\toverflow: visible !important;\n\t\t}\n\n\t\t& [layout^='wrap-'] + [layout^='wrap-'] {\n\t\t\tclear: none;\n\t\t\t& + p,\n\t\t\t& + div[class^='fabric-editor-align'],\n\t\t\t& + ul,\n\t\t\t& + ol,\n\t\t\t& + h1,\n\t\t\t& + h2,\n\t\t\t& + h3,\n\t\t\t& + h4,\n\t\t\t& + h5,\n\t\t\t& + h6 {\n\t\t\t\tclear: both !important;\n\t\t\t}\n\t\t\t& .", " {\n\t\t\t\tmargin-left: 0;\n\t\t\t\tmargin-right: 0;\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t.mediaSingleView-content-wrap[layout^='wrap-'] {\n\t\t\tmax-width: 100%;\n\t\t\t/* overwrite default Prosemirror setting making it clear: both */\n\t\t\tclear: inherit;\n\t\t}\n\n\t\t.mediaSingleView-content-wrap[layout='wrap-left'] {\n\t\t\tfloat: left;\n\t\t}\n\n\t\t.mediaSingleView-content-wrap[layout='wrap-right'] {\n\t\t\tfloat: right;\n\t\t}\n\n\t\t.mediaSingleView-content-wrap[layout='wrap-right']\n\t\t\t+ .mediaSingleView-content-wrap[layout='wrap-left'] {\n\t\t\tclear: both;\n\t\t}\n\n\t\t/* Larger margins for resize handlers when at depth 0 of the document */\n\t\t& > .mediaSingleView-content-wrap {\n\t\t\t.richMedia-resize-handle-right {\n\t\t\t\tmargin-right: -", "px;\n\t\t\t}\n\t\t\t.richMedia-resize-handle-left {\n\t\t\t\tmargin-left: -", "px;\n\t\t\t}\n\t\t}\n\t}\n\n\t.richMedia-resize-handle-right,\n\t.richMedia-resize-handle-left {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\n\t\t/* vertical align */\n\t\tjustify-content: center;\n\t}\n\n\t.richMedia-resize-handle-right {\n\t\talign-items: flex-end;\n\t\tpadding-right: ", ";\n\t\tmargin-right: -", "px;\n\t}\n\n\t.richMedia-resize-handle-left {\n\t\talign-items: flex-start;\n\t\tpadding-left: ", ";\n\t\tmargin-left: -", "px;\n\t}\n\n\t.richMedia-resize-handle-right::after,\n\t.richMedia-resize-handle-left::after {\n\t\tcontent: ' ';\n\t\tdisplay: flex;\n\t\twidth: 3px;\n\t\theight: 64px;\n\n\t\tborder-radius: 6px;\n\t}\n\n\t.", ":hover .richMedia-resize-handle-left::after,\n\t.", ":hover .richMedia-resize-handle-right::after {\n\t\tbackground: ", ";\n\t}\n\n\t.", " .richMedia-resize-handle-right::after,\n\t.", " .richMedia-resize-handle-left::after,\n\t.", " .richMedia-resize-handle-right:hover::after,\n\t.", " .richMedia-resize-handle-left:hover::after,\n\t.", ".is-resizing .richMedia-resize-handle-right::after,\n\t.", ".is-resizing .richMedia-resize-handle-left::after {\n\t\tbackground: ", ";\n\t}\n\n\t.__resizable_base__ {\n\t\tleft: unset !important;\n\t\twidth: auto !important;\n\t\theight: auto !important;\n\t}\n\n\t/* Danger when top level node for smart cards / inline links */\n\t.danger > div > div > .media-card-frame,\n\t.danger > span > a {\n\t\tbackground-color: ", ";\n\t\tbox-shadow: 0px 0px 0px ", "px\n\t\t\t", ";\n\t\ttransition:\n\t\t\tbackground-color 0s,\n\t\t\tbox-shadow 0s;\n\t}\n\t/* Danger when nested node or common */\n\t.danger {\n\t\t/* Media single */\n\t\t.", " .", "::after {\n\t\t\tborder: 1px solid ", ";\n\t\t}\n\t\t/* Media single video player */\n\t\t.", " .", "::after {\n\t\t\tborder: 1px solid ", ";\n\t\t}\n\t\t/* New file experience */\n\t\t.", " .", " {\n\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t}\n\t\t/* Media resize legacy handlers */\n\t\t.richMedia-resize-handle-right::after,\n\t\t.richMedia-resize-handle-left::after {\n\t\t\tbackground: ", " !important;\n\t\t}\n\t\t/* Media resize new handlers */\n\t\t.resizer-handle-thumb {\n\t\t\tbackground: ", " !important;\n\t\t}\n\n\t\t/* Smart cards */\n\t\tdiv div .media-card-frame,\n\t\t.inlineCardView-content-wrap > span > a {\n\t\t\tbackground-color: ", "; /* R75 with 50% opactiy */\n\t\t\ttransition: background-color 0s;\n\t\t}\n\n\t\tdiv div .media-card-frame::after {\n\t\t\tbox-shadow: none;\n\t\t}\n\t}\n\n\t.warning {\n\t\t/* Media single */\n\t\t.", " .", "::after {\n\t\t\tborder: 1px solid ", ";\n\t\t}\n\n\t\t.", " .", "::after {\n\t\t\tborder: 1px solid ", ";\n\t\t}\n\n\t\t.", " .", " {\n\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t}\n\n\t\t.resizer-handle-thumb {\n\t\t\tbackground: ", " !important;\n\t\t}\n\t}\n\n\t.media-filmstrip-list-item {\n\t\tcursor: pointer;\n\t}\n\n\t/* When clicking drag handle, mediaGroup node will be selected. Hence we need to apply selected style to each media node */\n\t.mediaGroupView-content-wrap.", " #newFileExperienceWrapper {\n\t\tbox-shadow: ", ";\n\t}\n\n\t// Remove when cleaning up platform_editor_interaction_api_refactor\n\t.ak-editor-no-interaction #newFileExperienceWrapper {\n\t\tbox-shadow: none;\n\t}\n"])), mediaSingleSharedStyleNew, richMediaClassName, richMediaClassName, richMediaClassName, mediaInlineImageStyles, akEditorMediaResizeHandlerPaddingWide, akEditorMediaResizeHandlerPaddingWide, "var(--ds-space-150, 12px)", akEditorMediaResizeHandlerPadding, "var(--ds-space-150, 12px)", akEditorMediaResizeHandlerPadding, richMediaClassName, richMediaClassName, "var(--ds-border, #091E4224)", akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, "var(--ds-border-focused, #388BFF)", "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedBorderBoldSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), richMediaClassName, fileCardImageViewSelector, "var(--ds-border-danger, ".concat(akEditorDeleteIconColor, ")"), richMediaClassName, inlinePlayerClassName, "var(--ds-border-danger, ".concat(akEditorDeleteIconColor, ")"), richMediaClassName, newFileExperienceClassName, "var(--ds-border-danger, ".concat(akEditorDeleteIconColor, ")"), "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), "var(--ds-blanket-danger, rgb(255, 189, 173, 0.5))", richMediaClassName, fileCardImageViewSelector, "var(--ds-border-warning, #E56910)", richMediaClassName, inlinePlayerClassName, "var(--ds-border-warning, #E56910)", richMediaClassName, newFileExperienceClassName, "var(--ds-border-warning, #E56910)", "var(--ds-icon-warning, #E56910)", akEditorSelectedNodeClassName, akEditorSelectedBoxShadow);
11
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", " & [layout='full-width'] .", ",\n & [layout='wide'] .", " {\n\t\t\tmargin-left: 50%;\n\t\t\ttransform: translateX(-50%);\n\t\t}\n\n\t\t.media-extended-resize-experience[layout^='wrap-'] {\n\t\t\t/* override 'overflow: auto' when viewport <= 410 set by mediaSingleSharedStyle\n\t\t\tto prevent scroll bar */\n\t\t\toverflow: visible !important;\n\t\t}\n\n\t\t& [layout^='wrap-'] + [layout^='wrap-'] {\n\t\t\tclear: none;\n\t\t\t& + p,\n\t\t\t& + div[class^='fabric-editor-align'],\n\t\t\t& + ul,\n\t\t\t& + ol,\n\t\t\t& + h1,\n\t\t\t& + h2,\n\t\t\t& + h3,\n\t\t\t& + h4,\n\t\t\t& + h5,\n\t\t\t& + h6 {\n\t\t\t\tclear: both !important;\n\t\t\t}\n\t\t\t& .", " {\n\t\t\t\tmargin-left: 0;\n\t\t\t\tmargin-right: 0;\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t.mediaSingleView-content-wrap[layout^='wrap-'] {\n\t\t\tmax-width: 100%;\n\t\t\t/* overwrite default Prosemirror setting making it clear: both */\n\t\t\tclear: inherit;\n\t\t}\n\n\t\t.mediaSingleView-content-wrap[layout='wrap-left'] {\n\t\t\tfloat: left;\n\t\t}\n\n\t\t.mediaSingleView-content-wrap[layout='wrap-right'] {\n\t\t\tfloat: right;\n\t\t}\n\n\t\t.mediaSingleView-content-wrap[layout='wrap-right']\n\t\t\t+ .mediaSingleView-content-wrap[layout='wrap-left'] {\n\t\t\tclear: both;\n\t\t}\n\n\t\t/* Larger margins for resize handlers when at depth 0 of the document */\n\t\t& > .mediaSingleView-content-wrap {\n\t\t\t.richMedia-resize-handle-right {\n\t\t\t\tmargin-right: -", "px;\n\t\t\t}\n\t\t\t.richMedia-resize-handle-left {\n\t\t\t\tmargin-left: -", "px;\n\t\t\t}\n\t\t}\n\t}\n\n\t.richMedia-resize-handle-right,\n\t.richMedia-resize-handle-left {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\n\t\t/* vertical align */\n\t\tjustify-content: center;\n\t}\n\n\t.richMedia-resize-handle-right {\n\t\talign-items: flex-end;\n\t\tpadding-right: ", ";\n\t\tmargin-right: -", "px;\n\t}\n\n\t.richMedia-resize-handle-left {\n\t\talign-items: flex-start;\n\t\tpadding-left: ", ";\n\t\tmargin-left: -", "px;\n\t}\n\n\t.richMedia-resize-handle-right::after,\n\t.richMedia-resize-handle-left::after {\n\t\tcontent: ' ';\n\t\tdisplay: flex;\n\t\twidth: 3px;\n\t\theight: 64px;\n\n\t\tborder-radius: 6px;\n\t}\n\n\t.", ":hover .richMedia-resize-handle-left::after,\n\t.", ":hover .richMedia-resize-handle-right::after {\n\t\tbackground: ", ";\n\t}\n\n\t.", " .richMedia-resize-handle-right::after,\n\t.", " .richMedia-resize-handle-left::after,\n\t.", " .richMedia-resize-handle-right:hover::after,\n\t.", " .richMedia-resize-handle-left:hover::after,\n\t.", ".is-resizing .richMedia-resize-handle-right::after,\n\t.", ".is-resizing .richMedia-resize-handle-left::after {\n\t\tbackground: ", ";\n\t}\n\n\t.__resizable_base__ {\n\t\tleft: unset !important;\n\t\twidth: auto !important;\n\t\theight: auto !important;\n\t}\n\n\t/* Danger when top level node for smart cards / inline links */\n\t.danger > div > div > .media-card-frame,\n\t.danger > span > a {\n\t\tbackground-color: ", ";\n\t\tbox-shadow: 0px 0px 0px ", "px\n\t\t\t", ";\n\t\ttransition:\n\t\t\tbackground-color 0s,\n\t\t\tbox-shadow 0s;\n\t}\n\t/* Danger when nested node or common */\n\t.danger {\n\t\t/* Media single */\n\t\t.", " .", "::after {\n\t\t\tborder: 1px solid ", ";\n\t\t}\n\t\t/* Media single video player */\n\t\t.", " .", "::after {\n\t\t\tborder: 1px solid ", ";\n\t\t}\n\t\t/* New file experience */\n\t\t.", " .", " {\n\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t}\n\t\t/* Media resize legacy handlers */\n\t\t.richMedia-resize-handle-right::after,\n\t\t.richMedia-resize-handle-left::after {\n\t\t\tbackground: ", " !important;\n\t\t}\n\t\t/* Media resize new handlers */\n\t\t.resizer-handle-thumb {\n\t\t\tbackground: ", " !important;\n\t\t}\n\n\t\t/* Smart cards */\n\t\tdiv div .media-card-frame,\n\t\t.inlineCardView-content-wrap > span > a {\n\t\t\tbackground-color: ", "; /* R75 with 50% opactiy */\n\t\t\ttransition: background-color 0s;\n\t\t}\n\n\t\tdiv div .media-card-frame::after {\n\t\t\tbox-shadow: none;\n\t\t}\n\t}\n\n\t.warning {\n\t\t/* Media single */\n\t\t.", " .", "::after {\n\t\t\tborder: 1px solid ", ";\n\t\t}\n\n\t\t.", " .", "::after {\n\t\t\tborder: 1px solid ", ";\n\t\t}\n\n\t\t.", " .", " {\n\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t}\n\n\t\t.resizer-handle-thumb {\n\t\t\tbackground: ", " !important;\n\t\t}\n\t}\n\n\t.media-filmstrip-list-item {\n\t\tcursor: pointer;\n\t}\n\n\t/* When clicking drag handle, mediaGroup node will be selected. Hence we need to apply selected style to each media node */\n\t.mediaGroupView-content-wrap.", " #newFileExperienceWrapper {\n\t\tbox-shadow: ", ";\n\t}\n"])), mediaSingleSharedStyleNew, richMediaClassName, richMediaClassName, richMediaClassName, mediaInlineImageStyles, akEditorMediaResizeHandlerPaddingWide, akEditorMediaResizeHandlerPaddingWide, "var(--ds-space-150, 12px)", akEditorMediaResizeHandlerPadding, "var(--ds-space-150, 12px)", akEditorMediaResizeHandlerPadding, richMediaClassName, richMediaClassName, "var(--ds-border, #091E4224)", akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, "var(--ds-border-focused, #388BFF)", "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedBorderBoldSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), richMediaClassName, fileCardImageViewSelector, "var(--ds-border-danger, ".concat(akEditorDeleteIconColor, ")"), richMediaClassName, inlinePlayerClassName, "var(--ds-border-danger, ".concat(akEditorDeleteIconColor, ")"), richMediaClassName, newFileExperienceClassName, "var(--ds-border-danger, ".concat(akEditorDeleteIconColor, ")"), "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), "var(--ds-blanket-danger, rgb(255, 189, 173, 0.5))", richMediaClassName, fileCardImageViewSelector, "var(--ds-border-warning, #E56910)", richMediaClassName, inlinePlayerClassName, "var(--ds-border-warning, #E56910)", richMediaClassName, newFileExperienceClassName, "var(--ds-border-warning, #E56910)", "var(--ds-icon-warning, #E56910)", akEditorSelectedNodeClassName, akEditorSelectedBoxShadow);
12
12
  };
13
13
 
14
14
  /* `left: unset` above is to work around Chrome bug where rendering a div with
@@ -11,6 +11,7 @@ import { jsx, useTheme } from '@emotion/react';
11
11
  import { browser } from '@atlaskit/editor-common/browser';
12
12
  import { akEditorGutterPaddingDynamic, editorFontSize } from '@atlaskit/editor-shared-styles';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
14
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
14
15
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
15
16
  import { useThemeObserver } from '@atlaskit/tokens';
16
17
  import { aiPanelBaseFirefoxStyles, aiPanelBaseStyles, aiPanelDarkFirefoxStyles, aiPanelDarkStyles } from './styles/aiPanel';
@@ -45,7 +46,7 @@ import { mentionsStyles, vanillaMentionsSelectionStyles, vanillaMentionsStyles }
45
46
  import { panelStyles, panelStylesMixin, panelStylesMixin_fg_platform_editor_add_border_for_nested_panel, panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes, panelViewStyles } from './styles/panelStyles';
46
47
  import { paragraphStylesOld, paragraphStylesUGCModernized, paragraphStylesUGCRefreshed } from './styles/paragraphStyles';
47
48
  import { placeholderOverflowStyles, placeholderStyles, placeholderTextStyles, placeholderTextStylesMixin_fg_platform_editor_system_fake_text_highlight_colour, placeholderWrapStyles } from './styles/placeholderStyles';
48
- import { pragmaticResizerStyles, pragmaticStylesLayoutFirstNodeResizeHandleFix, pragmaticResizerStylesForTooltip, resizerStyles } from './styles/resizerStyles';
49
+ import { pragmaticResizerStyles, pragmaticResizerStylesNew, pragmaticStylesLayoutFirstNodeResizeHandleFix, pragmaticResizerStylesForTooltip, resizerStyles } from './styles/resizerStyles';
49
50
  import { ruleStyles } from './styles/rule';
50
51
  import { scrollbarStyles } from './styles/scrollbarStyles';
51
52
  import { hideCursorWhenHideSelectionStyles, hideSelectionStyles, selectedNodeStyles } from './styles/selectionStyles';
@@ -268,11 +269,13 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
268
269
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
269
270
  fg('platform_editor_hyperlink_underline') ? linkStyles : linkStylesOld,
270
271
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
271
- browser.safari && listsStylesSafariFix, editorExperiment('platform_editor_breakout_resizing', true) &&
272
+ browser.safari && listsStylesSafariFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? fg('platform_editor_breakout_resizing_width_changes') ?
272
273
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
273
- pragmaticResizerStyles, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_breakout_resizing', true) && fg('platform_editor_breakout_resizing_hello_release') &&
274
+ pragmaticResizerStylesNew :
274
275
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
275
- pragmaticStylesLayoutFirstNodeResizeHandleFix, editorExperiment('platform_editor_breakout_resizing', true) && fg('platform_editor_breakout_resizing_hello_release') &&
276
+ pragmaticResizerStyles : undefined, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release') &&
277
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
278
+ pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release') &&
276
279
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
277
280
  pragmaticResizerStylesForTooltip,
278
281
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -22,9 +22,12 @@ export var baseStyles = css(_defineProperty({
22
22
  '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--default-layout-width))',
23
23
  '--ak-editor--breakout-wide-layout-width': "".concat(akEditorCalculatedWideLayoutWidthSmallViewport, "px"),
24
24
  '--ak-editor--breakout-full-page-guttering-padding': 'calc(var(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding))',
25
+ '--ak-editor--breakout-fallback-width': 'calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))',
25
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
26
27
  '.fabric-editor--full-width-mode': {
27
- '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--full-width-layout-width))'
28
+ '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--full-width-layout-width))',
29
+ /* 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 */
30
+ '--ak-editor--breakout-fallback-width': '100%'
28
31
  },
29
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
30
33
  '.ProseMirror': {
@@ -313,4 +313,126 @@ export var pragmaticResizerStyles = css({
313
313
  top: "var(--ds-space-150, 12px)",
314
314
  bottom: "var(--ds-space-150, 12px)"
315
315
  }
316
+ });
317
+
318
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
319
+ export var pragmaticResizerStylesNew = css({
320
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
321
+ '.fabric-editor-breakout-mark': {
322
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
323
+ '&:has([data-prosemirror-node-name="codeBlock"])': {
324
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
325
+ '> .pm-breakout-resize-handle-container--left': {
326
+ left: '-5px'
327
+ },
328
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
329
+ '> .pm-breakout-resize-handle-container--right': {
330
+ right: '-5px'
331
+ },
332
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
333
+ '> .pm-breakout-resize-handle-container': {
334
+ height: 'calc(100% - 12px)'
335
+ }
336
+ },
337
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
338
+ '&:has([data-prosemirror-node-name="expand"]), &:has([data-prosemirror-node-name="layoutSection"])': {
339
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
340
+ '> .pm-breakout-resize-handle-container--left': {
341
+ left: '-25px'
342
+ },
343
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
344
+ '> .pm-breakout-resize-handle-container--right': {
345
+ right: '-25px'
346
+ }
347
+ },
348
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
349
+ '&:has([data-prosemirror-node-name="expand"])': {
350
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
351
+ '> .pm-breakout-resize-handle-container': {
352
+ height: 'calc(100% - 4px)'
353
+ }
354
+ },
355
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
356
+ '&:has([data-prosemirror-node-name="layoutSection"])': {
357
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
358
+ '> .pm-breakout-resize-handle-container': {
359
+ height: 'calc(100% - 8px)'
360
+ }
361
+ },
362
+ // the first node in the document always has margin-top = 0
363
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
364
+ '&:has(.first-node-in-document)': {
365
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
366
+ '> .pm-breakout-resize-handle-container': {
367
+ height: '100%'
368
+ }
369
+ }
370
+ },
371
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
372
+ '.pm-breakout-resize-handle-container': {
373
+ position: 'relative',
374
+ alignSelf: 'end',
375
+ gridRow: 1,
376
+ gridColumn: 1,
377
+ height: '100%',
378
+ width: 7
379
+ },
380
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
381
+ '.pm-breakout-resize-handle-container--left': {
382
+ justifySelf: 'start'
383
+ },
384
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
385
+ '.pm-breakout-resize-handle-container--right': {
386
+ justifySelf: 'end'
387
+ },
388
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
389
+ '.pm-breakout-resize-handle-rail': {
390
+ position: 'relative',
391
+ display: 'flex',
392
+ alignItems: 'center',
393
+ justifyContent: 'center',
394
+ height: '100%',
395
+ cursor: 'col-resize',
396
+ borderRadius: 4,
397
+ transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
398
+ zIndex: 2,
399
+ opacity: 0,
400
+ '&:hover': {
401
+ background: "var(--ds-background-selected, #E9F2FF)",
402
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
403
+ '.pm-breakout-resize-handle-thumb': {
404
+ background: "var(--ds-border-focused, #388BFF)"
405
+ }
406
+ }
407
+ },
408
+ // same as 'hover' styles above
409
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
410
+ '.pm-breakout-resize-handle-container--active': {
411
+ background: "var(--ds-background-selected, #E9F2FF)",
412
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
413
+ '.pm-breakout-resize-handle-thumb': {
414
+ background: "var(--ds-border-focused, #388BFF)"
415
+ }
416
+ },
417
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
418
+ '.pm-breakout-resize-handle-hit-box': {
419
+ position: 'absolute',
420
+ top: 0,
421
+ bottom: 0,
422
+ left: -20,
423
+ right: -20,
424
+ zIndex: 0
425
+ },
426
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
427
+ '.pm-breakout-resize-handle-thumb': {
428
+ minWidth: resizerHandleThumbWidth,
429
+ // copied from resizeStyles.clamped
430
+ height: 'clamp(27px, calc(100% - 32px), 96px)',
431
+ background: "var(--ds-border, #091E4224)",
432
+ borderRadius: 6,
433
+ // sticky styles
434
+ position: 'sticky',
435
+ top: "var(--ds-space-150, 12px)",
436
+ bottom: "var(--ds-space-150, 12px)"
437
+ }
316
438
  });
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "208.2.0";
2
+ export var version = "208.3.0";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -11,3 +11,4 @@ export declare const resizerStyles: import("@emotion/react").SerializedStyles;
11
11
  export declare const pragmaticResizerStylesForTooltip: import("@emotion/react").SerializedStyles;
12
12
  export declare const pragmaticStylesLayoutFirstNodeResizeHandleFix: import("@emotion/react").SerializedStyles;
13
13
  export declare const pragmaticResizerStyles: import("@emotion/react").SerializedStyles;
14
+ export declare const pragmaticResizerStylesNew: import("@emotion/react").SerializedStyles;