@atlaskit/editor-core 193.27.0 → 193.27.5

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 (142) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/composable-editor/editor-internal.js +1 -1
  3. package/dist/cjs/composable-editor/editor.js +2 -0
  4. package/dist/cjs/editor.js +1 -1
  5. package/dist/cjs/nodeviews/getInlineNodeViewProducer.styles.js +1 -1
  6. package/dist/cjs/presets/universal.js +3 -2
  7. package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +2 -0
  8. package/dist/cjs/ui/Addon/ClickAreaInline/index.js +2 -0
  9. package/dist/cjs/ui/Addon/ClickAreaMobile/index.js +1 -1
  10. package/dist/cjs/ui/Addon/Dropdown/index.js +1 -1
  11. package/dist/cjs/ui/Addon/Dropdown/styles.js +2 -0
  12. package/dist/cjs/ui/Addon/DropdownItem/index.js +1 -0
  13. package/dist/cjs/ui/Addon/DropdownItem/styles.js +2 -0
  14. package/dist/cjs/ui/Addon/click-area-helper.js +2 -3
  15. package/dist/cjs/ui/Appearance/Chromeless.js +1 -1
  16. package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
  17. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +1 -0
  18. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +2 -0
  19. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +2 -0
  20. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +2 -0
  21. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
  22. package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +2 -0
  23. package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +1 -1
  24. package/dist/cjs/ui/AppearanceComponents/Mobile.js +2 -0
  25. package/dist/cjs/ui/ChromeCollapsed/index.js +1 -1
  26. package/dist/cjs/ui/ChromeCollapsed/styles.js +2 -0
  27. package/dist/cjs/ui/ContentStyles/ai-panels.js +1 -1
  28. package/dist/cjs/ui/ContentStyles/code-block.js +1 -0
  29. package/dist/cjs/ui/ContentStyles/date.js +1 -1
  30. package/dist/cjs/ui/ContentStyles/expand.js +1 -1
  31. package/dist/cjs/ui/ContentStyles/extension.js +1 -1
  32. package/dist/cjs/ui/ContentStyles/index.js +2 -0
  33. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  34. package/dist/cjs/ui/ContentStyles/media.js +1 -1
  35. package/dist/cjs/ui/ContentStyles/panel.js +1 -1
  36. package/dist/cjs/ui/ContentStyles/status.js +1 -1
  37. package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +1 -1
  38. package/dist/cjs/ui/ContextPanel/index.js +1 -1
  39. package/dist/cjs/ui/PluginSlot/index.js +1 -1
  40. package/dist/cjs/ui/Toolbar/ToolbarInner.js +1 -1
  41. package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +2 -0
  42. package/dist/cjs/ui/ToolbarFeedback/index.js +1 -1
  43. package/dist/cjs/ui/ToolbarFeedback/styles.js +2 -0
  44. package/dist/cjs/ui/WithFlash/index.js +1 -1
  45. package/dist/cjs/version-wrapper.js +1 -1
  46. package/dist/es2019/composable-editor/editor-internal.js +2 -0
  47. package/dist/es2019/composable-editor/editor.js +2 -0
  48. package/dist/es2019/editor.js +2 -0
  49. package/dist/es2019/nodeviews/getInlineNodeViewProducer.styles.js +1 -0
  50. package/dist/es2019/presets/universal.js +3 -2
  51. package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +2 -0
  52. package/dist/es2019/ui/Addon/ClickAreaInline/index.js +2 -0
  53. package/dist/es2019/ui/Addon/ClickAreaMobile/index.js +2 -0
  54. package/dist/es2019/ui/Addon/Dropdown/index.js +2 -0
  55. package/dist/es2019/ui/Addon/Dropdown/styles.js +1 -0
  56. package/dist/es2019/ui/Addon/DropdownItem/index.js +1 -0
  57. package/dist/es2019/ui/Addon/DropdownItem/styles.js +1 -0
  58. package/dist/es2019/ui/Addon/click-area-helper.js +2 -4
  59. package/dist/es2019/ui/Appearance/Chromeless.js +2 -0
  60. package/dist/es2019/ui/Appearance/Comment/Comment.js +2 -0
  61. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +2 -0
  62. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +1 -0
  63. package/dist/es2019/ui/Appearance/FullPage/FullPage.js +2 -0
  64. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +2 -0
  65. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
  66. package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +1 -0
  67. package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +1 -0
  68. package/dist/es2019/ui/AppearanceComponents/Mobile.js +2 -0
  69. package/dist/es2019/ui/ChromeCollapsed/index.js +2 -0
  70. package/dist/es2019/ui/ChromeCollapsed/styles.js +1 -0
  71. package/dist/es2019/ui/ContentStyles/ai-panels.js +1 -0
  72. package/dist/es2019/ui/ContentStyles/code-block.js +1 -0
  73. package/dist/es2019/ui/ContentStyles/date.js +1 -0
  74. package/dist/es2019/ui/ContentStyles/expand.js +1 -0
  75. package/dist/es2019/ui/ContentStyles/extension.js +1 -0
  76. package/dist/es2019/ui/ContentStyles/index.js +4 -0
  77. package/dist/es2019/ui/ContentStyles/layout.js +1 -0
  78. package/dist/es2019/ui/ContentStyles/media.js +1 -0
  79. package/dist/es2019/ui/ContentStyles/panel.js +1 -0
  80. package/dist/es2019/ui/ContentStyles/status.js +1 -0
  81. package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +1 -0
  82. package/dist/es2019/ui/ContextPanel/index.js +2 -0
  83. package/dist/es2019/ui/PluginSlot/index.js +2 -0
  84. package/dist/es2019/ui/Toolbar/ToolbarInner.js +2 -0
  85. package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +2 -0
  86. package/dist/es2019/ui/ToolbarFeedback/index.js +2 -0
  87. package/dist/es2019/ui/ToolbarFeedback/styles.js +1 -0
  88. package/dist/es2019/ui/WithFlash/index.js +2 -0
  89. package/dist/es2019/version-wrapper.js +1 -1
  90. package/dist/esm/composable-editor/editor-internal.js +2 -0
  91. package/dist/esm/composable-editor/editor.js +2 -0
  92. package/dist/esm/editor.js +2 -0
  93. package/dist/esm/nodeviews/getInlineNodeViewProducer.styles.js +1 -0
  94. package/dist/esm/presets/universal.js +3 -2
  95. package/dist/esm/ui/Addon/ClickAreaBlock/index.js +2 -0
  96. package/dist/esm/ui/Addon/ClickAreaInline/index.js +2 -0
  97. package/dist/esm/ui/Addon/ClickAreaMobile/index.js +2 -0
  98. package/dist/esm/ui/Addon/Dropdown/index.js +2 -0
  99. package/dist/esm/ui/Addon/Dropdown/styles.js +1 -0
  100. package/dist/esm/ui/Addon/DropdownItem/index.js +1 -0
  101. package/dist/esm/ui/Addon/DropdownItem/styles.js +1 -0
  102. package/dist/esm/ui/Addon/click-area-helper.js +2 -4
  103. package/dist/esm/ui/Appearance/Chromeless.js +2 -0
  104. package/dist/esm/ui/Appearance/Comment/Comment.js +2 -0
  105. package/dist/esm/ui/Appearance/Comment/Toolbar.js +2 -0
  106. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +1 -0
  107. package/dist/esm/ui/Appearance/FullPage/FullPage.js +2 -0
  108. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +2 -0
  109. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
  110. package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +1 -0
  111. package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +1 -0
  112. package/dist/esm/ui/AppearanceComponents/Mobile.js +2 -0
  113. package/dist/esm/ui/ChromeCollapsed/index.js +2 -0
  114. package/dist/esm/ui/ChromeCollapsed/styles.js +1 -0
  115. package/dist/esm/ui/ContentStyles/ai-panels.js +1 -0
  116. package/dist/esm/ui/ContentStyles/code-block.js +1 -0
  117. package/dist/esm/ui/ContentStyles/date.js +1 -0
  118. package/dist/esm/ui/ContentStyles/expand.js +1 -0
  119. package/dist/esm/ui/ContentStyles/extension.js +1 -0
  120. package/dist/esm/ui/ContentStyles/index.js +4 -0
  121. package/dist/esm/ui/ContentStyles/layout.js +1 -0
  122. package/dist/esm/ui/ContentStyles/media.js +1 -0
  123. package/dist/esm/ui/ContentStyles/panel.js +1 -0
  124. package/dist/esm/ui/ContentStyles/status.js +1 -0
  125. package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +1 -0
  126. package/dist/esm/ui/ContextPanel/index.js +2 -0
  127. package/dist/esm/ui/PluginSlot/index.js +2 -0
  128. package/dist/esm/ui/Toolbar/ToolbarInner.js +2 -0
  129. package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +2 -0
  130. package/dist/esm/ui/ToolbarFeedback/index.js +2 -0
  131. package/dist/esm/ui/ToolbarFeedback/styles.js +1 -0
  132. package/dist/esm/ui/WithFlash/index.js +2 -0
  133. package/dist/esm/version-wrapper.js +1 -1
  134. package/dist/types/create-editor/create-preset.d.ts +10 -90
  135. package/dist/types/presets/default.d.ts +10 -90
  136. package/dist/types/presets/universal.d.ts +10 -90
  137. package/dist/types/presets/useUniversalPreset.d.ts +10 -90
  138. package/dist/types-ts4.5/create-editor/create-preset.d.ts +10 -90
  139. package/dist/types-ts4.5/presets/default.d.ts +10 -90
  140. package/dist/types-ts4.5/presets/universal.d.ts +10 -90
  141. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +10 -90
  142. package/package.json +28 -22
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  /** @jsx jsx */
4
4
  import React from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import { ComposableEditor } from './composable-editor';
7
9
  import useUniversalPreset from './presets/useUniversalPreset';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { inlineNodeViewClassname } from '@atlaskit/editor-common/react-node-view';
3
4
  import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/utils';
@@ -125,14 +125,15 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
125
125
  getEditorFeatureFlags
126
126
  }], Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
127
127
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
128
- tableResizingEnabled: ['full-page', 'full-width'].includes(appearance || ''),
128
+ tableResizingEnabled: isFullPage,
129
129
  dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
130
130
  isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
131
131
  allowContextualMenu: !isMobile,
132
132
  fullWidthEnabled: appearance === 'full-width',
133
133
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
134
134
  getEditorFeatureFlags,
135
- isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage
135
+ isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage,
136
+ isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage
136
137
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
137
138
  allowNestedTasks: props.allowNestedTasks,
138
139
  consumeTabs: isFullPage,
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { clickAreaClickHandler } from '../click-area-helper';
5
7
  const clickWrapper = css({
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { createParagraphAtEnd } from '@atlaskit/editor-common/commands';
5
7
  const clickArea = css({
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { clickAreaClickHandler } from '../click-area-helper';
6
8
 
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import { dropdown } from './styles';
6
8
  export default class DropdownWrapper extends React.Component {
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N60A } from '@atlaskit/theme/colors';
3
4
  import { borderRadius } from '@atlaskit/theme/constants';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { jsx } from '@emotion/react';
3
4
  import { dropdownItem } from './styles';
4
5
  const DropdownItemWrapper = props => jsx("div", {
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N20, N800 } from '@atlaskit/theme/colors';
3
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
@@ -2,8 +2,6 @@ import { tintDirtyTransaction } from '@atlaskit/editor-common/collab';
2
2
  import { addParagraphAtEnd } from '@atlaskit/editor-common/commands';
3
3
  import { setSelectionTopLevelBlocks } from '@atlaskit/editor-common/selection';
4
4
  import { closestElement } from '@atlaskit/editor-common/utils';
5
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
6
-
7
5
  // we ignore all of the clicks made inside <div class="ak-editor-content-area" /> (but not clicks on the node itself)
8
6
  const insideContentArea = ref => {
9
7
  while (ref) {
@@ -40,12 +38,12 @@ export const checkForModal = target => {
40
38
  const clickAreaClickHandler = (view, event) => {
41
39
  var _view$hasFocus, _event$currentTarget;
42
40
  const isEditorFocused = !!(view !== null && view !== void 0 && (_view$hasFocus = view.hasFocus) !== null && _view$hasFocus !== void 0 && _view$hasFocus.call(view));
43
- if (getBooleanFF('platform.editor.explicit-html-element-check') && !(event.target instanceof HTMLElement)) {
41
+ if (!(event.target instanceof HTMLElement)) {
44
42
  return;
45
43
  }
46
44
  const target = event.target;
47
45
  const isTargetContentArea = target === null || target === void 0 ? void 0 : target.classList.contains('ak-editor-content-area');
48
- const isTargetChildOfContentArea = getBooleanFF('platform.editor.explicit-html-element-check') ? insideContentArea((target === null || target === void 0 ? void 0 : target.parentNode) instanceof HTMLElement ? target === null || target === void 0 ? void 0 : target.parentNode : null) : insideContentArea(target === null || target === void 0 ? void 0 : target.parentNode);
46
+ const isTargetChildOfContentArea = insideContentArea((target === null || target === void 0 ? void 0 : target.parentNode) instanceof HTMLElement ? target === null || target === void 0 ? void 0 : target.parentNode : null);
49
47
  const isTargetInsideEditableArea = insideProseMirrorEditableArea(target);
50
48
 
51
49
  // Any click inside ProseMirror should be managed by ProseMirror
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React, { Fragment } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
6
8
  import { usePresetContext } from '../../presets/context';
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React, { Fragment, useCallback, useEffect, useMemo, useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import classnames from 'classnames';
6
8
  import { injectIntl } from 'react-intl-next';
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import React, { useEffect, useState } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { css, jsx } from '@emotion/react';
6
8
  import { akEditorMenuZIndex, akEditorToolbarKeylineHeight } from '@atlaskit/editor-shared-styles';
7
9
  const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
 
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css, jsx } from '@emotion/react';
4
5
  const beforePrimaryToolbarPluginWrapperStyles = css({
5
6
  display: 'flex',
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useEffect, useMemo, useRef, useState } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
5
7
  import { ContextPanelWidthProvider } from '@atlaskit/editor-common/ui';
@@ -1,6 +1,8 @@
1
1
  /** @jsx jsx */
2
2
 
3
3
  import React, { useImperativeHandle, useRef } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx, useTheme } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
@@ -1,6 +1,8 @@
1
1
  /** @jsx jsx */
2
2
 
3
3
  import React, { useEffect, useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorFloatingDialogZIndex, akEditorMobileMaxWidth, akEditorSwoopCubicBezier, akEditorToolbarKeylineHeight, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT } from '@atlaskit/editor-shared-styles';
3
4
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { decisionListSelector, taskListSelector } from '@atlaskit/adf-schema';
3
4
  import { tableFullPageEditorStyles } from '@atlaskit/editor-plugins/table/ui/common-styles';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { forwardRef, useCallback } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
5
7
  import { usePresetContext } from '../../presets/context';
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
4
  import { PureComponent } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import { injectIntl } from 'react-intl-next';
7
9
  import { messages } from './messages';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorSubtleAccent, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
3
4
  import { N300, N50 } from '@atlaskit/theme/colors';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css, keyframes } from '@emotion/react';
2
3
  import { akEditorDeleteBackground, akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
3
4
  import { N0, N20 } from '@atlaskit/theme/colors';
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css } from '@emotion/react';
3
4
  import { CodeBlockSharedCssClassName, codeBlockSharedStyles } from '@atlaskit/editor-common/styles';
4
5
  import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorDeleteIconColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { DateSharedCssClassName } from '@atlaskit/editor-common/styles';
3
4
  import { akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { BreakoutCssClassName, expandClassNames } from '@atlaskit/editor-common/styles';
3
4
  import { sharedExpandStyles } from '@atlaskit/editor-common/ui';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
3
4
  import { B400, B50, R400, R50 } from '@atlaskit/theme/colors';
@@ -3,6 +3,10 @@
3
3
  /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- Requires manual remediation over time due to use of unsafe nested mixins */
4
4
  /** @jsx jsx */
5
5
  import React, { useMemo } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
+
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
10
  import { css, jsx, useTheme } from '@emotion/react';
7
11
  import { telepointerStyle } from '@atlaskit/editor-common/collab';
8
12
  import { EmojiSharedCssClassName } from '@atlaskit/editor-common/emoji';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { columnLayoutSharedStyle, LAYOUT_COLUMN_PADDING, LAYOUT_SECTION_MARGIN } from '@atlaskit/editor-common/styles';
3
4
  import { TableCssClassName } from '@atlaskit/editor-plugins/table/types';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { mediaInlineImageStyles } from '@atlaskit/editor-common/media-inline';
3
4
  import { mediaSingleSharedStyle, richMediaClassName } from '@atlaskit/editor-common/styles';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { PanelSharedCssClassName, panelSharedStyles } from '@atlaskit/editor-common/panel';
3
4
  import { akEditorDeleteBackground, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorDeleteIconColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { StatusSharedCssClassName, TableSharedCssClassName } from '@atlaskit/editor-common/styles';
3
4
  import { akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
3
4
  import { akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  /** @jsx jsx */
4
4
  import React, { useContext } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { css, jsx } from '@emotion/react';
6
8
  import Transition from 'react-transition-group/Transition';
7
9
  import { ContextPanelConsumer, WidthContext } from '@atlaskit/editor-common/ui';
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
6
8
  import { whichTransitionEvent } from '../../utils';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { akEditorMobileMaxWidth } from '@atlaskit/editor-shared-styles';
5
7
  const toolbarComponentsWrapper = css({
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import React, { useMemo } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { akEditorMobileMaxWidth } from '@atlaskit/editor-shared-styles';
6
8
  import { WidthObserver } from '@atlaskit/width-detector';
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  /** @jsx jsx */
4
4
  import { PureComponent } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import PropTypes from 'prop-types';
7
9
  import ReactDOM from 'react-dom';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
3
4
  import { N400, N60A, P400 } from '@atlaskit/theme/colors';
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx, keyframes } from '@emotion/react';
5
7
  import { R100 } from '@atlaskit/theme/colors';
6
8
  const pulseBackground = keyframes({
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "193.27.0";
2
+ export const version = "193.27.5";
@@ -5,6 +5,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  /** @jsx jsx */
7
7
  import { Fragment, memo, useCallback } from 'react';
8
+
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
10
  import { css, jsx } from '@emotion/react';
9
11
  import { ACTION, ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
10
12
  import { usePortalProvider } from '@atlaskit/editor-common/portal';
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import { useCallback, useMemo, useRef } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import isEqual from 'lodash/isEqual';
6
8
  import uuid from 'uuid/v4';
@@ -9,6 +9,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /** @jsx jsx */
11
11
  import React from 'react';
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
14
  import { jsx } from '@emotion/react';
13
15
  import { ComposableEditor } from './composable-editor';
14
16
  import useUniversalPreset from './presets/useUniversalPreset';
@@ -1,5 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  var _css;
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css } from '@emotion/react';
4
5
  import { inlineNodeViewClassname } from '@atlaskit/editor-common/react-node-view';
5
6
  import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/utils';
@@ -127,14 +127,15 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
127
127
  getEditorFeatureFlags: getEditorFeatureFlags
128
128
  }], Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
129
129
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
130
- tableResizingEnabled: ['full-page', 'full-width'].includes(appearance || ''),
130
+ tableResizingEnabled: isFullPage,
131
131
  dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
132
132
  isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
133
133
  allowContextualMenu: !isMobile,
134
134
  fullWidthEnabled: appearance === 'full-width',
135
135
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
136
136
  getEditorFeatureFlags: getEditorFeatureFlags,
137
- isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage
137
+ isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage,
138
+ isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage
138
139
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
139
140
  allowNestedTasks: props.allowNestedTasks,
140
141
  consumeTabs: isFullPage,
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { clickAreaClickHandler } from '../click-area-helper';
5
7
  var clickWrapper = css({
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { createParagraphAtEnd } from '@atlaskit/editor-common/commands';
5
7
  var clickArea = css({
@@ -9,6 +9,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /** @jsx jsx */
11
11
  import React from 'react';
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
14
  import { css, jsx } from '@emotion/react';
13
15
  import { clickAreaClickHandler } from '../click-area-helper';
14
16
 
@@ -9,6 +9,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /** @jsx jsx */
11
11
  import React from 'react';
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
14
  import { jsx } from '@emotion/react';
13
15
  import { dropdown } from './styles';
14
16
  var DropdownWrapper = /*#__PURE__*/function (_React$Component) {
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N60A } from '@atlaskit/theme/colors';
3
4
  import { borderRadius } from '@atlaskit/theme/constants';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { jsx } from '@emotion/react';
3
4
  import { dropdownItem } from './styles';
4
5
  var DropdownItemWrapper = function DropdownItemWrapper(props) {
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N20, N800 } from '@atlaskit/theme/colors';
3
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
@@ -2,8 +2,6 @@ import { tintDirtyTransaction } from '@atlaskit/editor-common/collab';
2
2
  import { addParagraphAtEnd } from '@atlaskit/editor-common/commands';
3
3
  import { setSelectionTopLevelBlocks } from '@atlaskit/editor-common/selection';
4
4
  import { closestElement } from '@atlaskit/editor-common/utils';
5
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
6
-
7
5
  // we ignore all of the clicks made inside <div class="ak-editor-content-area" /> (but not clicks on the node itself)
8
6
  var insideContentArea = function insideContentArea(ref) {
9
7
  while (ref) {
@@ -40,12 +38,12 @@ export var checkForModal = function checkForModal(target) {
40
38
  var clickAreaClickHandler = function clickAreaClickHandler(view, event) {
41
39
  var _view$hasFocus, _event$currentTarget;
42
40
  var isEditorFocused = !!(view !== null && view !== void 0 && (_view$hasFocus = view.hasFocus) !== null && _view$hasFocus !== void 0 && _view$hasFocus.call(view));
43
- if (getBooleanFF('platform.editor.explicit-html-element-check') && !(event.target instanceof HTMLElement)) {
41
+ if (!(event.target instanceof HTMLElement)) {
44
42
  return;
45
43
  }
46
44
  var target = event.target;
47
45
  var isTargetContentArea = target === null || target === void 0 ? void 0 : target.classList.contains('ak-editor-content-area');
48
- var isTargetChildOfContentArea = getBooleanFF('platform.editor.explicit-html-element-check') ? insideContentArea((target === null || target === void 0 ? void 0 : target.parentNode) instanceof HTMLElement ? target === null || target === void 0 ? void 0 : target.parentNode : null) : insideContentArea(target === null || target === void 0 ? void 0 : target.parentNode);
46
+ var isTargetChildOfContentArea = insideContentArea((target === null || target === void 0 ? void 0 : target.parentNode) instanceof HTMLElement ? target === null || target === void 0 ? void 0 : target.parentNode : null);
49
47
  var isTargetInsideEditableArea = insideProseMirrorEditableArea(target);
50
48
 
51
49
  // Any click inside ProseMirror should be managed by ProseMirror
@@ -9,6 +9,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /** @jsx jsx */
11
11
  import React, { Fragment } from 'react';
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
14
  import { css, jsx } from '@emotion/react';
13
15
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
14
16
  import { usePresetContext } from '../../presets/context';
@@ -10,6 +10,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  /** @jsx jsx */
12
12
  import React, { Fragment, useCallback, useEffect, useMemo, useState } from 'react';
13
+
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
15
  import { css, jsx } from '@emotion/react';
14
16
  import classnames from 'classnames';
15
17
  import { injectIntl } from 'react-intl-next';
@@ -6,6 +6,8 @@ var _templateObject, _templateObject2, _templateObject3;
6
6
  /** @jsx jsx */
7
7
 
8
8
  import React, { useEffect, useState } from 'react';
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
11
  import { css, jsx } from '@emotion/react';
10
12
  import { akEditorMenuZIndex, akEditorToolbarKeylineHeight } from '@atlaskit/editor-shared-styles';
11
13
  var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
 
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css, jsx } from '@emotion/react';
4
5
  var beforePrimaryToolbarPluginWrapperStyles = css({
5
6
  display: 'flex',
@@ -1,6 +1,8 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
  import React, { useEffect, useMemo, useRef, useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
6
8
  import { ContextPanelWidthProvider } from '@atlaskit/editor-common/ui';
@@ -1,6 +1,8 @@
1
1
  /** @jsx jsx */
2
2
 
3
3
  import React, { useImperativeHandle, useRef } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx, useTheme } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
@@ -2,6 +2,8 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import React, { useEffect, useState } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import { injectIntl } from 'react-intl-next';
7
9
  import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
@@ -1,4 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css } from '@emotion/react';
3
4
  import { akEditorFloatingDialogZIndex, akEditorMobileMaxWidth, akEditorSwoopCubicBezier, akEditorToolbarKeylineHeight, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT } from '@atlaskit/editor-shared-styles';
4
5
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';