@atlaskit/editor-common 112.7.3 → 112.7.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 (202) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/afm-cc/tsconfig.json +0 -3
  3. package/afm-jira/tsconfig.json +0 -3
  4. package/afm-products/tsconfig.json +0 -3
  5. package/dist/cjs/analytics/types/enums.js +1 -0
  6. package/dist/cjs/card/ui/assets/card.js +3 -1
  7. package/dist/cjs/card/ui/assets/embed.js +3 -1
  8. package/dist/cjs/card/ui/assets/inline.js +3 -1
  9. package/dist/cjs/card/ui/assets/url.js +3 -1
  10. package/dist/cjs/element-browser/components/CategoryList.js +1 -1
  11. package/dist/cjs/element-browser/components/ElementList/ElementList.js +3 -3
  12. package/dist/cjs/element-browser/components/ElementList/EmptyState.js +1 -1
  13. package/dist/cjs/element-browser/components/ElementSearch.js +1 -1
  14. package/dist/cjs/element-browser/components/StatelessElementBrowser.js +2 -2
  15. package/dist/cjs/extensibility/Extension/Extension/index.js +9 -3
  16. package/dist/cjs/extensibility/Extension/Extension/styles.js +2 -2
  17. package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -1
  18. package/dist/cjs/extensibility/Extension/LegacyContentHeader/index.js +1 -1
  19. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
  20. package/dist/cjs/extensibility/Extension.js +3 -1
  21. package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +1 -1
  22. package/dist/cjs/extensions/UnknownMacroPlaceholder.compiled.css +3 -3
  23. package/dist/cjs/extensions/UnknownMacroPlaceholder.js +4 -3
  24. package/dist/cjs/keymaps/index.js +1 -0
  25. package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +4 -1
  26. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +20 -11
  27. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/index.js +6 -2
  28. package/dist/cjs/link/LinkSearch/LinkSearchList.js +6 -2
  29. package/dist/cjs/link/LinkSearch/withActivityProvider.js +5 -3
  30. package/dist/cjs/mark/commands.js +5 -3
  31. package/dist/cjs/media-inline/inline-image-card.js +3 -1
  32. package/dist/cjs/media-inline/media-inline-image-card.js +6 -2
  33. package/dist/cjs/media-single/CommentBadge.js +6 -4
  34. package/dist/cjs/media-single/CommentBadgeNext.js +3 -1
  35. package/dist/cjs/media-single/MediaBadges.js +3 -1
  36. package/dist/cjs/monitoring/error.js +1 -1
  37. package/dist/cjs/node-width/index.js +3 -9
  38. package/dist/cjs/paste/md-plugins/linkify-md-plugin.js +2 -2
  39. package/dist/cjs/quick-insert/assets/datasource-assets-objects.js +3 -3
  40. package/dist/cjs/quick-insert/assets/five-column-layout.js +1 -1
  41. package/dist/cjs/quick-insert/assets/four-column-layout.js +1 -1
  42. package/dist/cjs/quick-insert/assets/one-column-layout.js +1 -1
  43. package/dist/cjs/quick-insert/assets/three-column-layout.js +1 -1
  44. package/dist/cjs/quick-insert/assets/two-column-layout.js +1 -1
  45. package/dist/cjs/resizer/BreakoutResizer.js +3 -1
  46. package/dist/cjs/resizer/Resizer.js +6 -2
  47. package/dist/cjs/styles/shared/blockquote.js +1 -1
  48. package/dist/cjs/styles/shared/table.js +3 -3
  49. package/dist/cjs/table/SortingIcon.js +3 -3
  50. package/dist/cjs/toolbar/context.js +1 -0
  51. package/dist/cjs/ui/AssistiveText/AssistiveText.js +4 -0
  52. package/dist/cjs/ui/ContextPanel/context.js +3 -1
  53. package/dist/cjs/ui/DropList/index.js +1 -1
  54. package/dist/cjs/ui/FloatingToolbar/Button.js +4 -2
  55. package/dist/cjs/ui/HoverLinkOverlay/index.js +3 -1
  56. package/dist/cjs/ui/Mention/index.js +3 -1
  57. package/dist/cjs/ui/MultiBodiedExtension/index.js +1 -1
  58. package/dist/cjs/ui/ResizerLegacy/index.js +3 -1
  59. package/dist/cjs/ui/TableSelector/index.js +6 -5
  60. package/dist/cjs/ui/TableSelector/table-selector.js +9 -10
  61. package/dist/cjs/ui-color/ColorPalette/Palettes/borderColorPalette.js +1 -0
  62. package/dist/cjs/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.js +1 -0
  63. package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +3 -3
  64. package/dist/cjs/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +1 -2
  65. package/dist/cjs/ui-color/ColorPalette/Palettes/textColorPalette.js +1 -1
  66. package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +4 -0
  67. package/dist/cjs/ui-menu/ColorPickerButton/index.js +12 -4
  68. package/dist/cjs/ui-menu/DropdownMenu/index.js +21 -10
  69. package/dist/cjs/ui-menu/ToolbarButton/styles.js +1 -1
  70. package/dist/es2019/analytics/types/enums.js +1 -0
  71. package/dist/es2019/card/ui/assets/card.js +3 -1
  72. package/dist/es2019/card/ui/assets/embed.js +3 -1
  73. package/dist/es2019/card/ui/assets/inline.js +3 -1
  74. package/dist/es2019/card/ui/assets/url.js +3 -1
  75. package/dist/es2019/element-browser/components/CategoryList.js +2 -2
  76. package/dist/es2019/element-browser/components/ElementList/ElementList.js +3 -3
  77. package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -1
  78. package/dist/es2019/element-browser/components/ElementSearch.js +1 -1
  79. package/dist/es2019/element-browser/components/StatelessElementBrowser.js +2 -2
  80. package/dist/es2019/extensibility/Extension/Extension/index.js +9 -3
  81. package/dist/es2019/extensibility/Extension/Extension/styles.js +2 -2
  82. package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -1
  83. package/dist/es2019/extensibility/Extension/LegacyContentHeader/index.js +1 -1
  84. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
  85. package/dist/es2019/extensibility/Extension.js +3 -1
  86. package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +1 -1
  87. package/dist/es2019/extensions/UnknownMacroPlaceholder.compiled.css +3 -3
  88. package/dist/es2019/extensions/UnknownMacroPlaceholder.js +3 -2
  89. package/dist/es2019/keymaps/index.js +1 -0
  90. package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +4 -1
  91. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +20 -11
  92. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/index.js +6 -2
  93. package/dist/es2019/link/LinkSearch/LinkSearchList.js +6 -2
  94. package/dist/es2019/link/LinkSearch/withActivityProvider.js +4 -2
  95. package/dist/es2019/mark/commands.js +5 -3
  96. package/dist/es2019/media-inline/inline-image-card.js +3 -1
  97. package/dist/es2019/media-inline/media-inline-image-card.js +6 -2
  98. package/dist/es2019/media-single/CommentBadge.js +6 -4
  99. package/dist/es2019/media-single/CommentBadgeNext.js +3 -1
  100. package/dist/es2019/media-single/MediaBadges.js +3 -1
  101. package/dist/es2019/monitoring/error.js +1 -1
  102. package/dist/es2019/node-width/index.js +4 -10
  103. package/dist/es2019/paste/md-plugins/linkify-md-plugin.js +2 -2
  104. package/dist/es2019/quick-insert/assets/datasource-assets-objects.js +3 -3
  105. package/dist/es2019/quick-insert/assets/five-column-layout.js +1 -1
  106. package/dist/es2019/quick-insert/assets/four-column-layout.js +1 -1
  107. package/dist/es2019/quick-insert/assets/one-column-layout.js +1 -1
  108. package/dist/es2019/quick-insert/assets/three-column-layout.js +1 -1
  109. package/dist/es2019/quick-insert/assets/two-column-layout.js +1 -1
  110. package/dist/es2019/resizer/BreakoutResizer.js +3 -1
  111. package/dist/es2019/resizer/Resizer.js +6 -2
  112. package/dist/es2019/styles/shared/blockquote.js +2 -2
  113. package/dist/es2019/styles/shared/table.js +13 -14
  114. package/dist/es2019/table/SortingIcon.js +4 -4
  115. package/dist/es2019/toolbar/context.js +1 -0
  116. package/dist/es2019/ui/AssistiveText/AssistiveText.js +4 -0
  117. package/dist/es2019/ui/ContextPanel/context.js +3 -1
  118. package/dist/es2019/ui/DropList/index.js +1 -1
  119. package/dist/es2019/ui/FloatingToolbar/Button.js +4 -2
  120. package/dist/es2019/ui/HoverLinkOverlay/index.js +3 -1
  121. package/dist/es2019/ui/Mention/index.js +3 -1
  122. package/dist/es2019/ui/MultiBodiedExtension/index.js +1 -1
  123. package/dist/es2019/ui/ResizerLegacy/index.js +3 -1
  124. package/dist/es2019/ui/TableSelector/index.js +6 -5
  125. package/dist/es2019/ui/TableSelector/table-selector.js +9 -10
  126. package/dist/es2019/ui-color/ColorPalette/Palettes/borderColorPalette.js +1 -0
  127. package/dist/es2019/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.js +1 -0
  128. package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +3 -3
  129. package/dist/es2019/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +1 -2
  130. package/dist/es2019/ui-color/ColorPalette/Palettes/textColorPalette.js +1 -1
  131. package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +4 -0
  132. package/dist/es2019/ui-menu/ColorPickerButton/index.js +12 -4
  133. package/dist/es2019/ui-menu/DropdownMenu/index.js +25 -14
  134. package/dist/es2019/ui-menu/ToolbarButton/styles.js +1 -1
  135. package/dist/esm/analytics/types/enums.js +1 -0
  136. package/dist/esm/card/ui/assets/card.js +3 -1
  137. package/dist/esm/card/ui/assets/embed.js +3 -1
  138. package/dist/esm/card/ui/assets/inline.js +3 -1
  139. package/dist/esm/card/ui/assets/url.js +3 -1
  140. package/dist/esm/element-browser/components/CategoryList.js +2 -2
  141. package/dist/esm/element-browser/components/ElementList/ElementList.js +3 -3
  142. package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -1
  143. package/dist/esm/element-browser/components/ElementSearch.js +1 -1
  144. package/dist/esm/element-browser/components/StatelessElementBrowser.js +2 -2
  145. package/dist/esm/extensibility/Extension/Extension/index.js +9 -3
  146. package/dist/esm/extensibility/Extension/Extension/styles.js +2 -2
  147. package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -1
  148. package/dist/esm/extensibility/Extension/LegacyContentHeader/index.js +1 -1
  149. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
  150. package/dist/esm/extensibility/Extension.js +3 -1
  151. package/dist/esm/extensibility/MultiBodiedExtension/styles.js +1 -1
  152. package/dist/esm/extensions/UnknownMacroPlaceholder.compiled.css +3 -3
  153. package/dist/esm/extensions/UnknownMacroPlaceholder.js +4 -3
  154. package/dist/esm/keymaps/index.js +1 -0
  155. package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +4 -1
  156. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +20 -11
  157. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/index.js +6 -2
  158. package/dist/esm/link/LinkSearch/LinkSearchList.js +6 -2
  159. package/dist/esm/link/LinkSearch/withActivityProvider.js +4 -2
  160. package/dist/esm/mark/commands.js +5 -3
  161. package/dist/esm/media-inline/inline-image-card.js +3 -1
  162. package/dist/esm/media-inline/media-inline-image-card.js +6 -2
  163. package/dist/esm/media-single/CommentBadge.js +6 -4
  164. package/dist/esm/media-single/CommentBadgeNext.js +3 -1
  165. package/dist/esm/media-single/MediaBadges.js +3 -1
  166. package/dist/esm/monitoring/error.js +1 -1
  167. package/dist/esm/node-width/index.js +4 -10
  168. package/dist/esm/paste/md-plugins/linkify-md-plugin.js +2 -2
  169. package/dist/esm/quick-insert/assets/datasource-assets-objects.js +3 -3
  170. package/dist/esm/quick-insert/assets/five-column-layout.js +1 -1
  171. package/dist/esm/quick-insert/assets/four-column-layout.js +1 -1
  172. package/dist/esm/quick-insert/assets/one-column-layout.js +1 -1
  173. package/dist/esm/quick-insert/assets/three-column-layout.js +1 -1
  174. package/dist/esm/quick-insert/assets/two-column-layout.js +1 -1
  175. package/dist/esm/resizer/BreakoutResizer.js +3 -1
  176. package/dist/esm/resizer/Resizer.js +6 -2
  177. package/dist/esm/styles/shared/blockquote.js +2 -2
  178. package/dist/esm/styles/shared/table.js +4 -4
  179. package/dist/esm/table/SortingIcon.js +3 -3
  180. package/dist/esm/toolbar/context.js +1 -0
  181. package/dist/esm/ui/AssistiveText/AssistiveText.js +4 -0
  182. package/dist/esm/ui/ContextPanel/context.js +3 -1
  183. package/dist/esm/ui/DropList/index.js +1 -1
  184. package/dist/esm/ui/FloatingToolbar/Button.js +4 -2
  185. package/dist/esm/ui/HoverLinkOverlay/index.js +3 -1
  186. package/dist/esm/ui/Mention/index.js +3 -1
  187. package/dist/esm/ui/MultiBodiedExtension/index.js +1 -1
  188. package/dist/esm/ui/ResizerLegacy/index.js +3 -1
  189. package/dist/esm/ui/TableSelector/index.js +6 -5
  190. package/dist/esm/ui/TableSelector/table-selector.js +9 -10
  191. package/dist/esm/ui-color/ColorPalette/Palettes/borderColorPalette.js +1 -0
  192. package/dist/esm/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.js +1 -0
  193. package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +3 -3
  194. package/dist/esm/ui-color/ColorPalette/Palettes/panelBackgroundPalette.js +1 -2
  195. package/dist/esm/ui-color/ColorPalette/Palettes/textColorPalette.js +1 -1
  196. package/dist/esm/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +4 -0
  197. package/dist/esm/ui-menu/ColorPickerButton/index.js +12 -4
  198. package/dist/esm/ui-menu/DropdownMenu/index.js +21 -10
  199. package/dist/esm/ui-menu/ToolbarButton/styles.js +1 -1
  200. package/dist/types/analytics/types/enums.d.ts +2 -1
  201. package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -1
  202. package/package.json +4 -5
@@ -19,8 +19,8 @@ var SMART_TO_ASCII = {
19
19
  var FIND_SMART_CHAR = new RegExp("[".concat(Object.keys(SMART_TO_ASCII).join(''), "]"), 'g');
20
20
  export function filterChildrenBetween(doc, from, to, predicate) {
21
21
  var results = [];
22
- doc.nodesBetween(from, to, function (node, pos, parent) {
23
- if (predicate(node, pos, parent)) {
22
+ doc.nodesBetween(from, to, function (node, pos, _parent) {
23
+ if (predicate(node, pos, _parent)) {
24
24
  results.push({
25
25
  node: node,
26
26
  pos: pos
@@ -38,7 +38,7 @@ export function transformNonTextNodesToText(from, to, tr) {
38
38
  emojiNodeType = _schema$nodes.emoji,
39
39
  inlineCardNodeType = _schema$nodes.inlineCard;
40
40
  var nodesToChange = [];
41
- doc.nodesBetween(from, to, function (node, pos, parent) {
41
+ doc.nodesBetween(from, to, function (node, pos, _parent) {
42
42
  if ([mentionNodeType, textNodeType, emojiNodeType, inlineCardNodeType].includes(node.type)) {
43
43
  nodesToChange.push({
44
44
  node: node,
@@ -61,6 +61,8 @@ export function transformNonTextNodesToText(from, to, tr) {
61
61
  var startPositionInSelection = Math.max(pos, from);
62
62
  var endPositionInSelection = Math.min(pos + node.nodeSize, to);
63
63
  var textForReplacing = doc.textBetween(startPositionInSelection, endPositionInSelection);
64
+
65
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
64
66
  var _newText = textForReplacing.replace(FIND_SMART_CHAR, function (match) {
65
67
  var _SMART_TO_ASCII$match;
66
68
  return (_SMART_TO_ASCII$match = SMART_TO_ASCII[match]) !== null && _SMART_TO_ASCII$match !== void 0 ? _SMART_TO_ASCII$match : match;
@@ -52,7 +52,9 @@ export var InlineImageCard = function InlineImageCard(_ref) {
52
52
  return jsx(Fragment, null, jsx(MediaImage, {
53
53
  dataURI: preview.dataURI,
54
54
  alt: alt,
55
- previewOrientation: preview.orientation,
55
+ previewOrientation: preview.orientation
56
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
57
+ ,
56
58
  onImageLoad: function onImageLoad() {
57
59
  _onImageLoad(preview);
58
60
  },
@@ -139,7 +139,9 @@ export var MediaInlineImageCardInternal = function MediaInlineImageCardInternal(
139
139
  value: mediaClient
140
140
  }, jsx(InlineImageCard, {
141
141
  dimensions: dimensions,
142
- identifier: identifier,
142
+ identifier: identifier
143
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
144
+ ,
143
145
  renderError: function renderError() {
144
146
  return jsx(InlineImageCardErrorView, {
145
147
  message: formatMessage(messages.unableToLoadContent)
@@ -210,7 +212,9 @@ export var MediaInlineImageCardInternal = function MediaInlineImageCardInternal(
210
212
  var mediaViewer = useMemo(function () {
211
213
  if (isMediaViewerVisible && mediaClient !== null && mediaClient !== void 0 && mediaClient.mediaClientConfig) {
212
214
  return /*#__PURE__*/ReactDOM.createPortal(jsx(MediaViewer, {
213
- collectionName: identifier.collectionName || '',
215
+ collectionName: identifier.collectionName || ''
216
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
217
+ ,
214
218
  items: [identifier],
215
219
  mediaClientConfig: mediaClient === null || mediaClient === void 0 ? void 0 : mediaClient.mediaClientConfig,
216
220
  selectedItem: identifier,
@@ -70,11 +70,11 @@ export var CommentBadge = /*#__PURE__*/forwardRef(function (_ref, ref) {
70
70
  var colourToken = useMemo(function () {
71
71
  switch (status) {
72
72
  case 'active':
73
- return "var(--ds-background-accent-yellow-subtlest-pressed, #F5CD47)";
73
+ return "var(--ds-background-accent-yellow-subtlest-pressed, #EFDD4E)";
74
74
  case 'entered':
75
- return "var(--ds-background-accent-yellow-subtlest-hovered, #F8E6A0)";
75
+ return "var(--ds-background-accent-yellow-subtlest-hovered, #F5E989)";
76
76
  default:
77
- return "var(--ds-background-accent-yellow-subtlest, #FFF7D6)";
77
+ return "var(--ds-background-accent-yellow-subtlest, #FEF7C8)";
78
78
  }
79
79
  }, [status]);
80
80
  return jsx("div", {
@@ -89,7 +89,9 @@ export var CommentBadge = /*#__PURE__*/forwardRef(function (_ref, ref) {
89
89
  }, jsx(Tooltip, {
90
90
  position: "top",
91
91
  content: title
92
- }, jsx(CustomThemeButton, {
92
+ }, jsx(CustomThemeButton
93
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
94
+ , {
93
95
  style: {
94
96
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
95
97
  height: badgeDimensions,
@@ -33,7 +33,9 @@ export var CommentBadgeNext = function CommentBadgeNext(_ref) {
33
33
  return /*#__PURE__*/React.createElement(Tooltip, {
34
34
  position: "top",
35
35
  content: title
36
- }, /*#__PURE__*/React.createElement(Pressable, {
36
+ }, /*#__PURE__*/React.createElement(Pressable
37
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
38
+ , {
37
39
  xcss: [baseStyles, mediumBadgeStyles],
38
40
  padding: "space.0",
39
41
  onClick: onClick,
@@ -81,7 +81,9 @@ export var MediaBadges = function MediaBadges(_ref) {
81
81
  as: "div",
82
82
  testId: "media-badges",
83
83
  "data-media-badges": "true",
84
- contentEditable: false,
84
+ contentEditable: false
85
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
86
+ ,
85
87
  xcss: [containerStyles, useMinimumZIndex && hackedZIndexStyles, extendedResizeOffset && resizeOffsetStyles]
86
88
  }, children);
87
89
  };
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "112.7.2";
13
+ var packageVersion = "112.7.4";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // Ignored via go/ees007
@@ -1,7 +1,6 @@
1
1
  import { findParentNodeOfTypeClosestToPos } from '@atlaskit/editor-prosemirror/utils';
2
- import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorWideLayoutWidth, akLayoutGutterOffset, gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
2
+ import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorWideLayoutWidth, gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
3
3
  import { fg } from '@atlaskit/platform-feature-flags';
4
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
5
4
  import { BODIED_EXT_PADDING } from '../styles/shared/extension';
6
5
  import { LAYOUT_COLUMN_PADDING, LAYOUT_SECTION_MARGIN } from '../styles/shared/layout';
7
6
  import { tableCellPadding } from '../styles/shared/table';
@@ -52,17 +51,12 @@ export var getParentNodeWidth = function getParentNodeWidth(pos, state, containe
52
51
  };
53
52
  switch (node.type) {
54
53
  case schema.nodes.layoutSection:
55
- // the extra width of the layout does not add to the width of the area the table can be inside
56
- if (!expValEquals('platform_editor_nested_table_refresh_width_fix', 'isEnabled', true)) {
57
- parentWidth += akLayoutGutterOffset * 2; // extra width that gets added to layout
58
- }
59
-
60
54
  // Calculate width of parent layout column when
61
55
  // Parallel layout with viewport greater than 1024px
62
56
  // OR side panel of an extension is open and change the node width to smaller than containerWidth
63
57
  if (containerWidth.width > gridMediumMaxWidth || ((_contextPanelPluginKe = contextPanelPluginKey.getState(state)) === null || _contextPanelPluginKe === void 0 ? void 0 : _contextPanelPluginKe.contents.length) > 0 && ((_contextPanelPluginKe2 = contextPanelPluginKey.getState(state)) === null || _contextPanelPluginKe2 === void 0 ? void 0 : _contextPanelPluginKe2.contents[0]) !== undefined) {
64
58
  // margin between sections
65
- parentWidth -= expValEquals('platform_editor_nested_table_refresh_width_fix', 'isEnabled', true) && fg('platform_editor_nested_dnd_styles_changes') ? (LAYOUT_SECTION_MARGIN + NESTED_DND_MARGIN_OFFSET + 2) * (node.childCount - 1) : (LAYOUT_SECTION_MARGIN + 2) * (node.childCount - 1);
59
+ parentWidth -= fg('platform_editor_nested_dnd_styles_changes') ? (LAYOUT_SECTION_MARGIN + NESTED_DND_MARGIN_OFFSET + 2) * (node.childCount - 1) : (LAYOUT_SECTION_MARGIN + 2) * (node.childCount - 1);
66
60
  var $pos = state.doc.resolve(pos);
67
61
  var column = findParentNodeOfTypeClosestToPos($pos, [state.schema.nodes.layoutColumn]);
68
62
  if (column && column.node && !isNaN(column.node.attrs.width)) {
@@ -72,7 +66,7 @@ export var getParentNodeWidth = function getParentNodeWidth(pos, state, containe
72
66
  }
73
67
 
74
68
  // account for the padding of the parent node
75
- parentWidth -= expValEquals('platform_editor_nested_table_refresh_width_fix', 'isEnabled', true) && fg('platform_editor_nested_dnd_styles_changes') ? (LAYOUT_COLUMN_PADDING + NESTED_DND_GUTTER_OFFSET) * 2 : LAYOUT_COLUMN_PADDING * 2;
69
+ parentWidth -= fg('platform_editor_nested_dnd_styles_changes') ? (LAYOUT_COLUMN_PADDING + NESTED_DND_GUTTER_OFFSET) * 2 : LAYOUT_COLUMN_PADDING * 2;
76
70
  break;
77
71
  case schema.nodes.bodiedExtension:
78
72
  parentWidth -= BODIED_EXT_PADDING * 2;
@@ -115,7 +109,7 @@ var getNestedParentNode = function getNestedParentNode(tablePos, state) {
115
109
  return parent ? parent.node : null;
116
110
  };
117
111
  var calcBreakoutNodeWidth = function calcBreakoutNodeWidth(layout, containerWidth, isFullWidthModeEnabled, breakoutWidth) {
118
- if (breakoutWidth && expValEquals('platform_editor_nested_table_refresh_width_fix', 'isEnabled', true)) {
112
+ if (breakoutWidth) {
119
113
  return isFullWidthModeEnabled ? Math.min(containerWidth.lineLength, breakoutWidth) :
120
114
  // container width minus breakout padding
121
115
  // --ak-editor--breakout-full-page-guttering-padding = (--ak-editor--large-gutter-padding * 2) + --ak-editor--default-gutter-padding
@@ -97,13 +97,13 @@ var linkify = function linkify(state) {
97
97
  //
98
98
  if (!links[ln].schema) {
99
99
  // Ignored via go/ees005
100
- // eslint-disable-next-line require-unicode-regexp
100
+ // eslint-disable-next-line require-unicode-regexp, @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
101
101
  urlText = state.md.normalizeLinkText('http://' + urlText).replace(/^http:\/\//, '');
102
102
  // Ignored via go/ees005
103
103
  // eslint-disable-next-line require-unicode-regexp
104
104
  } else if (links[ln].schema === 'mailto:' && !/^mailto:/i.test(urlText)) {
105
105
  // Ignored via go/ees005
106
- // eslint-disable-next-line require-unicode-regexp
106
+ // eslint-disable-next-line require-unicode-regexp, @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
107
107
  urlText = state.md.normalizeLinkText('mailto:' + urlText).replace(/^mailto:/, '');
108
108
  } else {
109
109
  urlText = state.md.normalizeLinkText(urlText);
@@ -13,18 +13,18 @@ export default function IconDatasourceAssetsObjects() {
13
13
  y: "0",
14
14
  width: "42",
15
15
  height: "42",
16
- fill: "var(--ds-background-accent-purple-subtlest, #F3F0FF)"
16
+ fill: "var(--ds-background-accent-purple-subtlest, #F8EEFE)"
17
17
  }), /*#__PURE__*/React.createElement("rect", {
18
18
  x: "8",
19
19
  y: "8",
20
20
  width: "26",
21
21
  height: "26",
22
22
  rx: "4",
23
- fill: "var(--ds-background-input, white)"
23
+ fill: "var(--ds-background-input, #FFFFFF)"
24
24
  }), /*#__PURE__*/React.createElement("path", {
25
25
  fillRule: "evenodd",
26
26
  clipRule: "evenodd",
27
27
  d: "M12.667 9.33317H29.3337C31.1746 9.33317 32.667 10.8256 32.667 12.6665V29.3332C32.667 31.1741 31.1746 32.6665 29.3337 32.6665H12.667C10.826 32.6665 9.33366 31.1741 9.33366 29.3332V12.6665C9.33366 10.8256 10.826 9.33317 12.667 9.33317ZM7.66699 12.6665C7.66699 9.90508 9.90557 7.6665 12.667 7.6665H29.3337C32.0951 7.6665 34.3337 9.90508 34.3337 12.6665V29.3332C34.3337 32.0946 32.0951 34.3332 29.3337 34.3332H12.667C9.90557 34.3332 7.66699 32.0946 7.66699 29.3332V12.6665ZM12.9579 13.4165C12.9579 13.0023 13.2937 12.6665 13.7079 12.6665H17.6443C18.0585 12.6665 18.3943 13.0023 18.3943 13.4165V16.9165C18.3943 17.3307 18.0585 17.6665 17.6443 17.6665H16.5823V19.3332H22.0186V18.4165C22.0186 18.0023 22.3544 17.6665 22.7686 17.6665H26.7049C27.1192 17.6665 27.4549 18.0023 27.4549 18.4165V21.9165C27.4549 22.3307 27.1192 22.6665 26.7049 22.6665H22.7686C22.3544 22.6665 22.0186 22.3307 22.0186 21.9165V20.9998H16.5823V25.9998H22.0186V25.0832C22.0186 24.669 22.3544 24.3332 22.7686 24.3332H26.7049C27.1192 24.3332 27.4549 24.669 27.4549 25.0832V28.5832C27.4549 28.9974 27.1192 29.3332 26.7049 29.3332H22.7686C22.3544 29.3332 22.0186 28.9974 22.0186 28.5832V27.6665H16.4368C15.5163 27.6665 14.7701 26.9203 14.7701 25.9998V19.3332V17.6665H13.7079C13.2937 17.6665 12.9579 17.3307 12.9579 16.9165V13.4165ZM14.7701 14.5832C14.7701 14.4451 14.882 14.3332 15.0201 14.3332H16.3322C16.4703 14.3332 16.5822 14.4451 16.5822 14.5832V15.7498C16.5822 15.8879 16.4703 15.9998 16.3322 15.9998H15.0201C14.882 15.9998 14.7701 15.8879 14.7701 15.7498V14.5832ZM24.0805 19.3332C23.9425 19.3332 23.8305 19.4451 23.8305 19.5832V20.7498C23.8305 20.8879 23.9425 20.9998 24.0805 20.9998H25.3927C25.5307 20.9998 25.6427 20.8879 25.6427 20.7498V19.5832C25.6427 19.4451 25.5307 19.3332 25.3927 19.3332H24.0805ZM24.0805 25.9998C23.9425 25.9998 23.8305 26.1118 23.8305 26.2498V27.4165C23.8305 27.5546 23.9425 27.6665 24.0805 27.6665H25.3927C25.5307 27.6665 25.6427 27.5546 25.6427 27.4165V26.2498C25.6427 26.1118 25.5307 25.9998 25.3927 25.9998H24.0805Z",
28
- fill: "var(--ds-background-accent-gray-bolder-hovered, #44546F)"
28
+ fill: "var(--ds-background-accent-gray-bolder-hovered, #505258)"
29
29
  }));
30
30
  }
@@ -35,7 +35,7 @@ export default function OneColumnLayoutIcon() {
35
35
  width: "39",
36
36
  height: "39",
37
37
  rx: "2.5",
38
- stroke: "var(--ds-border, #091E42)",
38
+ stroke: "var(--ds-border, #0B120E24)",
39
39
  strokeOpacity: "0.14"
40
40
  })), /*#__PURE__*/React.createElement("rect", {
41
41
  x: "6",
@@ -35,7 +35,7 @@ export default function OneColumnLayoutIcon() {
35
35
  width: "39",
36
36
  height: "39",
37
37
  rx: "2.5",
38
- stroke: "var(--ds-border, #091E42)",
38
+ stroke: "var(--ds-border, #0B120E24)",
39
39
  strokeOpacity: "0.14"
40
40
  })), /*#__PURE__*/React.createElement("rect", {
41
41
  x: "6",
@@ -34,7 +34,7 @@ export default function OneColumnLayoutIcon() {
34
34
  width: "39",
35
35
  height: "39",
36
36
  rx: "2.5",
37
- stroke: "var(--ds-border, #091E42)",
37
+ stroke: "var(--ds-border, #0B120E24)",
38
38
  strokeOpacity: "0.14"
39
39
  })), /*#__PURE__*/React.createElement("rect", {
40
40
  x: "6",
@@ -42,7 +42,7 @@ export default function ThreeColumnLayoutIcon() {
42
42
  width: "39",
43
43
  height: "39",
44
44
  rx: "2.5",
45
- stroke: "var(--ds-border, #091E42)",
45
+ stroke: "var(--ds-border, #0B120E24)",
46
46
  strokeOpacity: "0.14"
47
47
  })), /*#__PURE__*/React.createElement("rect", {
48
48
  x: "6",
@@ -35,7 +35,7 @@ export default function TwoColumnLayoutIcon() {
35
35
  width: "39",
36
36
  height: "39",
37
37
  rx: "2.5",
38
- stroke: "var(--ds-border, #091E42)",
38
+ stroke: "var(--ds-border, #0B120E24)",
39
39
  strokeOpacity: "0.14"
40
40
  })), /*#__PURE__*/React.createElement("rect", {
41
41
  x: "6",
@@ -322,7 +322,9 @@ var BreakoutResizer = function BreakoutResizer(_ref) {
322
322
  });
323
323
  }
324
324
  return /*#__PURE__*/React.createElement(Resizer, {
325
- ref: resizerRef,
325
+ ref: resizerRef
326
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
327
+ ,
326
328
  enable: {
327
329
  left: true,
328
330
  right: true
@@ -18,7 +18,7 @@ import { messages } from '../messages/breakout';
18
18
  import { handleWrapperClass, resizerDangerClassName, resizerExtendedZone, resizerHandleClassName, resizerHandleThumbClassName, resizerHandleTrackClassName, resizerHandleZIndex, resizerHoverZoneClassName, resizerItemClassName } from '../styles/shared/resizer';
19
19
  var resizerLabelStyles = xcss({
20
20
  position: 'absolute',
21
- bottom: "var(--ds-space-0, 0)",
21
+ bottom: "var(--ds-space-0, 0px)",
22
22
  width: '100%',
23
23
  overflow: 'visible',
24
24
  display: 'flex',
@@ -127,6 +127,8 @@ var ResizerNext = function ResizerNext(props, ref) {
127
127
  alignItems: handlePositioning === 'adjacent' ? 'center' : undefined
128
128
  };
129
129
  var offset = handlePositioning === 'adjacent' ? "calc(".concat(baseHandleStyles.width, " * -1)") : "calc(".concat(baseHandleStyles.width, " * -0.5)");
130
+
131
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
130
132
  var nextHandleStyles = SUPPORTED_HANDLES.reduce(function (result, position) {
131
133
  return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, position, _objectSpread(_objectSpread({}, baseHandleStyles), {}, _defineProperty({}, position, offset), handleStyles === null || handleStyles === void 0 ? void 0 : handleStyles[position])));
132
134
  }, {});
@@ -194,7 +196,9 @@ var ResizerNext = function ResizerNext(props, ref) {
194
196
  return snapGap;
195
197
  }, [snap, snapGap]);
196
198
  return /*#__PURE__*/React.createElement(Resizable, _extends({
197
- ref: resizable,
199
+ ref: resizable
200
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
201
+ ,
198
202
  size: {
199
203
  width: width !== null && width !== void 0 ? width : 'auto',
200
204
  // just content itself (no paddings)
@@ -1,6 +1,6 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
- import { akEditorBlockquoteBorderColor, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
3
+ import { blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
4
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
5
  export var blockquoteSharedStyles = css({
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -11,7 +11,7 @@ export var blockquoteSharedStyles = css({
11
11
  display: 'inline-block',
12
12
  paddingLeft: "var(--ds-space-200, 16px)",
13
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
14
- borderLeft: "2px solid ".concat("var(--ds-border, ".concat(akEditorBlockquoteBorderColor, ")")),
14
+ borderLeft: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
15
15
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
16
16
  margin: "".concat(blockNodesVerticalMargin, " 0 0 0"),
17
17
  marginRight: 0,
@@ -3,7 +3,7 @@ var _templateObject, _templateObject2, _templateObject3;
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import { css } from '@emotion/react';
5
5
  import { tableCellContentDomSelector, tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@atlaskit/adf-schema';
6
- import { akEditorBreakoutPadding, akEditorFullWidthLayoutWidth, akEditorSelectedNodeClassName, akEditorTableBorder, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorWideLayoutWidth, overflowShadow } from '@atlaskit/editor-shared-styles';
6
+ import { akEditorBreakoutPadding, akEditorFullWidthLayoutWidth, akEditorSelectedNodeClassName, akEditorTableNumberColumnWidth, akEditorWideLayoutWidth, overflowShadow } from '@atlaskit/editor-shared-styles';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
9
  import { browser as browserLegacy, getBrowserInfo } from '../../utils/browser';
@@ -58,11 +58,11 @@ var firstNodeWithNotMarginTop = function firstNodeWithNotMarginTop() {
58
58
  var tableSharedStyle = function tableSharedStyle() {
59
59
  var browser = expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? getBrowserInfo() : browserLegacy;
60
60
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Appears safe to auto-fix, but leaving it up to the team to remediate as the readability only gets worse with autofixing
61
- return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t", "\n\t\t.", " {\n\t\t\tposition: relative;\n\t\t\tmargin: 0 auto ", ";\n\t\t\tbox-sizing: border-box;\n\n\t\t\t/**\n * Fix block top alignment inside table cells.\n */\n\t\t\t.decisionItemView-content-wrap:first-of-type > div {\n\t\t\t\tmargin-top: 0;\n\t\t\t}\n\t\t\t.", ",\n\t\t\t\t.", " {\n\t\t\t\tdisplay: block;\n\t\t\t\twidth: 1px;\n\t\t\t\theight: calc(100% - ", ");\n\t\t\t\tbackground: ", ";\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: ", ";\n\t\t\t}\n\t\t\t.", " {\n\t\t\t\tright: 0;\n\t\t\t}\n\t\t\t.", " {\n\t\t\t\tleft: 0;\n\t\t\t}\n\t\t\t.", "[data-with-numbered-table='true'] {\n\t\t\t\tleft: ", "px;\n\t\t\t}\n\t\t}\n\t\t.", "[data-number-column='true'] {\n\t\t\tpadding-left: ", "px;\n\t\t\tclear: both;\n\t\t}\n\n\t\t.", " {\n\t\t\twill-change: width, margin-left;\n\t\t}\n\n\t\t.", " table {\n\t\t\twill-change: width;\n\t\t}\n\n\t\t.", " > table {\n\t\t\tmargin: ", " 0 0 0;\n\t\t}\n\n\t\t.", " > table,\n\t\t.", " > table {\n\t\t\tmargin: ", " ", " 0 0;\n\t\t}\n\n\t\t/* support panel nested in table */\n\t\t", "\n\n\t\t/* avoid applying styles to nested tables (possible via extensions) */\n\t.", " > table,\n\t.", " > table,\n\t.", " > table {\n\t\t\tborder-collapse: collapse;\n\t\t\tborder: ", "px solid\n\t\t\t\t", ";\n\t\t\tborder-left-color: transparent;\n\t\t\tborder-right-color: transparent;\n\t\t\ttable-layout: fixed;\n\t\t\tfont-size: 1em;\n\t\t\twidth: 100%;\n\n\t\t\t&[data-autosize='true'] {\n\t\t\t\ttable-layout: auto;\n\t\t\t}\n\n\t\t\t& {\n\t\t\t\t* {\n\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t}\n\t\t\t\thr {\n\t\t\t\t\tbox-sizing: content-box;\n\t\t\t\t}\n\n\t\t\t\ttbody {\n\t\t\t\t\tborder-bottom: none;\n\t\t\t\t}\n\t\t\t\tth td {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\n\t\t\t\t> tbody > tr > th,\n\t\t\t\t> tbody > tr > td {\n\t\t\t\t\tmin-width: ", "px;\n\t\t\t\t\tfont-weight: ", ";\n\t\t\t\t\tvertical-align: top;\n\t\t\t\t\tborder: 1px solid ", ";\n\t\t\t\t\tborder-right-width: 0;\n\t\t\t\t\tborder-bottom-width: 0;\n\n\t\t\t\t\tpadding: ", ";\n\t\t\t\t\t/* https://stackoverflow.com/questions/7517127/borders-not-shown-in-firefox-with-border-collapse-on-table-position-relative-o */\n\t\t\t\t\t", "\n\n\t\t\t\t\t", "\n\n\t\t\t\tth p:not(:first-of-type),\n\t\t\t\ttd p:not(:first-of-type) {\n\t\t\t\t\t\tmargin-top: ", ";\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t/* Ensures nested tables are compatible with parent table background color - uses specificity to ensure tables nested by extensions are not affected */\n\t\t\t\t> tbody > tr > td {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\n\t\t\t\tth {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t\ttext-align: left;\n\n\t\t\t\t\t/* only apply this styling to codeblocks in default background headercells */\n\t\t\t\t\t/* TODO this needs to be overhauled as it relies on unsafe selectors */\n\t\t\t\t\t", " {\n\t\t\t\t\t\t.", ":not(.danger) {\n\t\t\t\t\t\t\tbackground-color: ", ";\n\n\t\t\t\t\t\t\t:not(.", ") {\n\t\t\t\t\t\t\t\tbox-shadow: 0px 0px 0px 1px ", ";\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t.", " {\n\t\t\t\t\t\t\t\tbackground-image: ", ";\n\n\t\t\t\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t.", " {\n\t\t\t\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t/* this is only relevant to the element taken care of by renderer */\n\t\t\t\t\t\t\t> [data-ds--code--code-block] {\n\t\t\t\t\t\t\t\tbackground-image: ", "!important;\n\n\t\t\t\t\t\t\t\tbackground-color: ", "!important;\n\n\t\t\t\t\t\t\t\t/* selector lives inside @atlaskit/code */\n\t\t\t\t\t\t\t\t--ds--code--line-number-bg-color: ", ";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t"])), tableCellBackgroundStyleOverride(), TableSharedCssClassName.TABLE_CONTAINER, "var(--ds-space-200, 16px)", TableSharedCssClassName.TABLE_RIGHT_BORDER, TableSharedCssClassName.TABLE_LEFT_BORDER, "var(--ds-space-300, 24px)", "var(--ds-background-accent-gray-subtler, ".concat(akEditorTableBorder, ")"), "var(--ds-space-300, 24px)", TableSharedCssClassName.TABLE_RIGHT_BORDER, TableSharedCssClassName.TABLE_LEFT_BORDER, TableSharedCssClassName.TABLE_LEFT_BORDER, akEditorTableNumberColumnWidth - 1, TableSharedCssClassName.TABLE_CONTAINER, akEditorTableNumberColumnWidth - 1, TableSharedCssClassName.TABLE_RESIZER_CONTAINER, TableSharedCssClassName.TABLE_RESIZER_CONTAINER, TableSharedCssClassName.TABLE_NODE_WRAPPER, "var(--ds-space-300, 24px)", TableSharedCssClassName.TABLE_CONTAINER, TableSharedCssClassName.TABLE_STICKY_WRAPPER, "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", fg('platform_editor_bordered_panel_nested_in_table') ? ".".concat(TableSharedCssClassName.TABLE_NODE_WRAPPER, " .ak-editor-panel {\n\t\t\tborder: ", "var(--ds-border-width, 1px)", " solid ", "var(--ds-border, #d9dbea)", ";\n\t\t}") : '', TableSharedCssClassName.TABLE_CONTAINER, TableSharedCssClassName.TABLE_NODE_WRAPPER, TableSharedCssClassName.TABLE_STICKY_WRAPPER, tableCellBorderWidth, "var(--ds-background-accent-gray-subtler, ".concat(akEditorTableBorder, ")"), "var(--ds-background-neutral-subtle, white)", tableCellMinWidth, "var(--ds-font-weight-regular, 400)", "var(--ds-background-accent-gray-subtler, ".concat(akEditorTableBorder, ")"), "var(--ds-space-100, 8px)", browser.gecko || browser.ie || browser.mac && browser.chrome ? 'background-clip: padding-box;' : '', firstNodeWithNotMarginTop(), "var(--ds-space-150, 12px)", "var(--ds-surface, #FFFFFF)", "var(--ds-background-accent-gray-subtlest, ".concat(akEditorTableToolbar, ")"), expValEquals('platform_editor_native_anchor_with_dnd', 'isEnabled', true) ? '&:not(.danger)' : '&:not([style]):not(.danger)', CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, "var(--ds-surface-raised, rgb(235, 237, 240))", akEditorSelectedNodeClassName, "var(--ds-border, transparent)", CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, overflowShadow({
61
+ return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t", "\n\t\t.", " {\n\t\t\tposition: relative;\n\t\t\tmargin: 0 auto ", ";\n\t\t\tbox-sizing: border-box;\n\n\t\t\t/**\n * Fix block top alignment inside table cells.\n */\n\t\t\t.decisionItemView-content-wrap:first-of-type > div {\n\t\t\t\tmargin-top: 0;\n\t\t\t}\n\t\t\t.", ",\n\t\t\t\t.", " {\n\t\t\t\tdisplay: block;\n\t\t\t\twidth: 1px;\n\t\t\t\theight: calc(100% - ", ");\n\t\t\t\tbackground: ", ";\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: ", ";\n\t\t\t}\n\t\t\t.", " {\n\t\t\t\tright: 0;\n\t\t\t}\n\t\t\t.", " {\n\t\t\t\tleft: 0;\n\t\t\t}\n\t\t\t.", "[data-with-numbered-table='true'] {\n\t\t\t\tleft: ", "px;\n\t\t\t}\n\t\t}\n\t\t.", "[data-number-column='true'] {\n\t\t\tpadding-left: ", "px;\n\t\t\tclear: both;\n\t\t}\n\n\t\t.", " {\n\t\t\twill-change: width, margin-left;\n\t\t}\n\n\t\t.", " table {\n\t\t\twill-change: width;\n\t\t}\n\n\t\t.", " > table {\n\t\t\tmargin: ", " 0 0 0;\n\t\t}\n\n\t\t.", " > table,\n\t\t.", " > table {\n\t\t\tmargin: ", " ", " 0 0;\n\t\t}\n\n\t\t/* support panel nested in table */\n\t\t", "\n\n\t\t/* avoid applying styles to nested tables (possible via extensions) */\n\t.", " > table,\n\t.", " > table,\n\t.", " > table {\n\t\t\tborder-collapse: collapse;\n\t\t\tborder: ", "px solid ", ";\n\t\t\tborder-left-color: transparent;\n\t\t\tborder-right-color: transparent;\n\t\t\ttable-layout: fixed;\n\t\t\tfont-size: 1em;\n\t\t\twidth: 100%;\n\n\t\t\t&[data-autosize='true'] {\n\t\t\t\ttable-layout: auto;\n\t\t\t}\n\n\t\t\t& {\n\t\t\t\t* {\n\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t}\n\t\t\t\thr {\n\t\t\t\t\tbox-sizing: content-box;\n\t\t\t\t}\n\n\t\t\t\ttbody {\n\t\t\t\t\tborder-bottom: none;\n\t\t\t\t}\n\t\t\t\tth td {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\n\t\t\t\t> tbody > tr > th,\n\t\t\t\t> tbody > tr > td {\n\t\t\t\t\tmin-width: ", "px;\n\t\t\t\t\tfont-weight: ", ";\n\t\t\t\t\tvertical-align: top;\n\t\t\t\t\tborder: 1px solid ", ";\n\t\t\t\t\tborder-right-width: 0;\n\t\t\t\t\tborder-bottom-width: 0;\n\n\t\t\t\t\tpadding: ", ";\n\t\t\t\t\t/* https://stackoverflow.com/questions/7517127/borders-not-shown-in-firefox-with-border-collapse-on-table-position-relative-o */\n\t\t\t\t\t", "\n\n\t\t\t\t\t", "\n\n\t\t\t\tth p:not(:first-of-type),\n\t\t\t\ttd p:not(:first-of-type) {\n\t\t\t\t\t\tmargin-top: ", ";\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t/* Ensures nested tables are compatible with parent table background color - uses specificity to ensure tables nested by extensions are not affected */\n\t\t\t\t> tbody > tr > td {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\n\t\t\t\tth {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t\ttext-align: left;\n\n\t\t\t\t\t/* only apply this styling to codeblocks in default background headercells */\n\t\t\t\t\t/* TODO this needs to be overhauled as it relies on unsafe selectors */\n\t\t\t\t\t", " {\n\t\t\t\t\t\t.", ":not(.danger) {\n\t\t\t\t\t\t\tbackground-color: ", ";\n\n\t\t\t\t\t\t\t:not(.", ") {\n\t\t\t\t\t\t\t\tbox-shadow: 0px 0px 0px 1px ", ";\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t.", " {\n\t\t\t\t\t\t\t\tbackground-image: ", ";\n\n\t\t\t\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t.", " {\n\t\t\t\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t/* this is only relevant to the element taken care of by renderer */\n\t\t\t\t\t\t\t> [data-ds--code--code-block] {\n\t\t\t\t\t\t\t\tbackground-image: ", "!important;\n\n\t\t\t\t\t\t\t\tbackground-color: ", "!important;\n\n\t\t\t\t\t\t\t\t/* selector lives inside @atlaskit/code */\n\t\t\t\t\t\t\t\t--ds--code--line-number-bg-color: ", ";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t"])), tableCellBackgroundStyleOverride(), TableSharedCssClassName.TABLE_CONTAINER, "var(--ds-space-200, 16px)", TableSharedCssClassName.TABLE_RIGHT_BORDER, TableSharedCssClassName.TABLE_LEFT_BORDER, "var(--ds-space-300, 24px)", "var(--ds-background-accent-gray-subtler, #DDDEE1)", "var(--ds-space-300, 24px)", TableSharedCssClassName.TABLE_RIGHT_BORDER, TableSharedCssClassName.TABLE_LEFT_BORDER, TableSharedCssClassName.TABLE_LEFT_BORDER, akEditorTableNumberColumnWidth - 1, TableSharedCssClassName.TABLE_CONTAINER, akEditorTableNumberColumnWidth - 1, TableSharedCssClassName.TABLE_RESIZER_CONTAINER, TableSharedCssClassName.TABLE_RESIZER_CONTAINER, TableSharedCssClassName.TABLE_NODE_WRAPPER, "var(--ds-space-300, 24px)", TableSharedCssClassName.TABLE_CONTAINER, TableSharedCssClassName.TABLE_STICKY_WRAPPER, "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", fg('platform_editor_bordered_panel_nested_in_table') ? ".".concat(TableSharedCssClassName.TABLE_NODE_WRAPPER, " .ak-editor-panel {\n\t\t\tborder: ", "var(--ds-border-width, 1px)", " solid ", "var(--ds-border, #0B120E24)", ";\n\t\t}") : '', TableSharedCssClassName.TABLE_CONTAINER, TableSharedCssClassName.TABLE_NODE_WRAPPER, TableSharedCssClassName.TABLE_STICKY_WRAPPER, tableCellBorderWidth, "var(--ds-background-accent-gray-subtler, #DDDEE1)", "var(--ds-background-neutral-subtle, #00000000)", tableCellMinWidth, "var(--ds-font-weight-regular, 400)", "var(--ds-background-accent-gray-subtler, #DDDEE1)", "var(--ds-space-100, 8px)", browser.gecko || browser.ie || browser.mac && browser.chrome ? 'background-clip: padding-box;' : '', firstNodeWithNotMarginTop(), "var(--ds-space-150, 12px)", "var(--ds-surface, #FFFFFF)", "var(--ds-background-accent-gray-subtlest, #F0F1F2)", expValEquals('platform_editor_native_anchor_with_dnd', 'isEnabled', true) ? '&:not(.danger)' : '&:not([style]):not(.danger)', CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, "var(--ds-surface-raised, #FFFFFF)", akEditorSelectedNodeClassName, "var(--ds-border, #0B120E24)", CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, overflowShadow({
62
62
  leftCoverWidth: "var(--ds-space-300, 24px)"
63
- }), "var(--ds-background-neutral, rgb(235, 237, 240))", CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-neutral, rgb(226, 229, 233))", overflowShadow({
63
+ }), "var(--ds-background-neutral, #0515240F)", CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-neutral, #0515240F)", overflowShadow({
64
64
  leftCoverWidth: "var(--ds-space-300, 24px)"
65
- }), "var(--ds-background-neutral, rgb(235, 237, 240))", "var(--ds-background-neutral, rgb(226, 229, 233))");
65
+ }), "var(--ds-background-neutral, #0515240F)", "var(--ds-background-neutral, #0515240F)");
66
66
  };
67
67
  export var calcTableWidth = function calcTableWidth(layout, containerWidth) {
68
68
  var addControllerPadding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
@@ -22,7 +22,7 @@ export var StatusClassNames = /*#__PURE__*/function (StatusClassNames) {
22
22
  }({});
23
23
 
24
24
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
25
- var buttonStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: absolute;\n\tdisplay: flex;\n\theight: 28px;\n\twidth: 28px;\n\tmargin: ", ";\n\tright: 0;\n\ttop: 0;\n\tborder: ", " solid ", ";\n\tborder-radius: ", ";\n\tbackground-color: ", ";\n\tjustify-content: center;\n\talign-items: center;\n\tcursor: pointer;\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:active {\n\t\tbackground-color: ", ";\n\t}\n\n\t&.", "__not-allowed {\n\t\tcursor: not-allowed;\n\t}\n"])), "var(--ds-space-075, 6px)", "var(--ds-border-width-selected, 2px)", "var(--ds-border, #fff)", "var(--ds-radius-small, 4px)", "var(--ds-surface-overlay, #FFFFFF)", "var(--ds-surface-overlay-hovered, #F0F1F2)", "var(--ds-surface-overlay-pressed, rgba(179, 212, 255, 0.6))", SORTABLE_COLUMN_ICON_CLASSNAME);
25
+ var buttonStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: absolute;\n\tdisplay: flex;\n\theight: 28px;\n\twidth: 28px;\n\tmargin: ", ";\n\tright: 0;\n\ttop: 0;\n\tborder: ", " solid ", ";\n\tborder-radius: ", ";\n\tbackground-color: ", ";\n\tjustify-content: center;\n\talign-items: center;\n\tcursor: pointer;\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:active {\n\t\tbackground-color: ", ";\n\t}\n\n\t&.", "__not-allowed {\n\t\tcursor: not-allowed;\n\t}\n"])), "var(--ds-space-075, 6px)", "var(--ds-border-width-selected, 2px)", "var(--ds-border, #0B120E24)", "var(--ds-radius-small, 4px)", "var(--ds-surface-overlay, #FFFFFF)", "var(--ds-surface-overlay-hovered, #F0F1F2)", "var(--ds-surface-overlay-pressed, #DDDEE1)", SORTABLE_COLUMN_ICON_CLASSNAME);
26
26
 
27
27
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
28
28
  var iconWrapperStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\twidth: 8px;\n\theight: 12px;\n\ttransition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1);\n\ttransform-origin: 50% 50%;\n\tdisplay: flex;\n\tjustify-content: center;\n\n\t&.", " {\n\t\ttransform: rotate(-180deg);\n\t}\n\n\t&.", "-inactive {\n\t\topacity: 0.7;\n\t}\n"])), StatusClassNames.DESC, SORTABLE_COLUMN_ICON_CLASSNAME);
@@ -34,10 +34,10 @@ var iconStyles = css({
34
34
  height: '100%',
35
35
  width: '2px',
36
36
  borderRadius: "var(--ds-radius-full, 9999px)",
37
- background: "var(--ds-icon, #42526E)",
37
+ background: "var(--ds-icon, #292A2E)",
38
38
  userSelect: 'none',
39
39
  '&::before, &::after': {
40
- background: "var(--ds-icon, #42526E)",
40
+ background: "var(--ds-icon, #292A2E)",
41
41
  content: "''",
42
42
  height: '2px',
43
43
  width: '6px',
@@ -24,6 +24,7 @@ export var EditorToolbarProvider = function EditorToolbarProvider(_ref) {
24
24
  editorToolbarDockingPreference = _ref.editorToolbarDockingPreference,
25
25
  isOffline = _ref.isOffline;
26
26
  return /*#__PURE__*/React.createElement(EditorToolbarContext.Provider, {
27
+ // eslint-disable-next-line @atlassian/perf-linting/no-inline-context-value, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
27
28
  value: {
28
29
  editorView: editorView,
29
30
  editorAppearance: editorAppearance,
@@ -54,6 +54,7 @@ export var AssistiveText = function AssistiveText(_ref) {
54
54
  }, [isInFocus]);
55
55
  useEffect(function () {
56
56
  if (!debounced) {
57
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
57
58
  debounceStatusUpdate();
58
59
  return function () {
59
60
  debounceStatusUpdate.cancel();
@@ -62,10 +63,13 @@ export var AssistiveText = function AssistiveText(_ref) {
62
63
  }, [assistiveText, isInFocus, debounced, debounceStatusUpdate]);
63
64
  useEffect(function () {
64
65
  if (debounced) {
66
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
65
67
  setBump(function (prevBump) {
66
68
  return !prevBump;
67
69
  });
70
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
68
71
  setDebounced(true);
72
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
69
73
  setSilenced(!isInFocus);
70
74
  }
71
75
  }, [assistiveText, isInFocus, debounced]);
@@ -65,7 +65,9 @@ export var ContextPanelWidthProvider = /*#__PURE__*/function (_React$Component)
65
65
  var _this$state = this.state,
66
66
  width = _this$state.width,
67
67
  positionedOverEditor = _this$state.positionedOverEditor;
68
- return /*#__PURE__*/React.createElement(Provider, {
68
+ return /*#__PURE__*/React.createElement(Provider
69
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
70
+ , {
69
71
  value: {
70
72
  width: width,
71
73
  positionedOverEditor: positionedOverEditor,
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "112.7.2";
24
+ var packageVersion = "112.7.4";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -94,7 +94,9 @@ var FloatingToolbarButton = function FloatingToolbarButton(_ref, forwardedRef) {
94
94
  }, /*#__PURE__*/React.createElement(Button
95
95
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/no-unsafe-style-overrides -- Ignored via go/DSP-18766
96
96
  , {
97
- className: className,
97
+ className: className
98
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
99
+ ,
98
100
  ref: function ref(buttonElement) {
99
101
  setSpotlightReferenceElement(buttonElement);
100
102
  if (forwardedRef && editorExperiment('platform_synced_block', true)) {
@@ -105,7 +107,7 @@ var FloatingToolbarButton = function FloatingToolbarButton(_ref, forwardedRef) {
105
107
  }
106
108
  }
107
109
  }
108
- // eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides
110
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
109
111
  ,
110
112
  theme: function theme(adgTheme, themeProps) {
111
113
  var _adgTheme = adgTheme(themeProps),
@@ -230,7 +230,9 @@ var HoverLinkOverlay = function HoverLinkOverlay(_ref) {
230
230
  ref: hoverLinkButtonRef,
231
231
  xcss: linkStylesCommon,
232
232
  href: url,
233
- target: "_blank",
233
+ target: "_blank"
234
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
235
+ ,
234
236
  style: {
235
237
  paddingBlock: compactPadding ? '1px' : expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
236
238
  },
@@ -50,7 +50,9 @@ var Mention = /*#__PURE__*/function (_PureComponent) {
50
50
  }, {
51
51
  key: "render",
52
52
  value: function render() {
53
- return /*#__PURE__*/React.createElement(WithProviders, {
53
+ return /*#__PURE__*/React.createElement(WithProviders
54
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
55
+ , {
54
56
  providers: ['mentionProvider', 'profilecardProvider'],
55
57
  providerFactory: this.providerFactory,
56
58
  renderNode: this.renderWithProvider
@@ -47,7 +47,7 @@ var mbeNavigation = css({
47
47
  WebkitUserModify: 'read-only',
48
48
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
49
49
  borderBottom: 'none !important',
50
- background: "var(--ds-surface, white)",
50
+ background: "var(--ds-surface, #FFFFFF)",
51
51
  marginLeft: "var(--ds-space-100, 8px)",
52
52
  marginRight: "var(--ds-space-100, 8px)",
53
53
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -187,7 +187,9 @@ var Resizer = /*#__PURE__*/function (_React$Component) {
187
187
  // Ideally, Resizable would let you pass in the component rather than
188
188
  // the div. For now, we just apply the same styles using CSS
189
189
  return /*#__PURE__*/React.createElement(Resizable, {
190
- ref: this.resizable,
190
+ ref: this.resizable
191
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
192
+ ,
191
193
  size: {
192
194
  width: nonZeroWidth,
193
195
  // just content itself (no paddings)
@@ -13,7 +13,6 @@ import { useCallback, useEffect, useRef, useState } from 'react';
13
13
  import { css, jsx } from '@emotion/react';
14
14
  import { bind } from 'bind-event-listener';
15
15
  import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
16
- import { N0, N30A, N60A } from '@atlaskit/theme/colors';
17
16
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
18
17
  import { withReactEditorViewOuterListeners as withOuterListeners } from '../../ui-react';
19
18
  import Popup from '../Popup';
@@ -33,9 +32,9 @@ var initialSizeState = {
33
32
  };
34
33
  var tableSelectorPopupWrapperStyles = css({
35
34
  borderRadius: "var(--ds-radius-small, 3px)",
36
- backgroundColor: "var(--ds-surface-overlay, ".concat(N0, ")"),
37
- boxShadow: "var(--ds-shadow-overlay, ".concat("0 0 0 1px ".concat(N30A, ", 0 2px 1px ").concat(N30A, ", 0 0 20px -6px ").concat(N60A), ")"),
38
- padding: "".concat("var(--ds-space-100, ".concat("".concat(TABLE_SELECTOR_PADDING_TOP, "px"), ")"), " ", TABLE_SELECTOR_PADDING_SIDE, "px")
35
+ backgroundColor: "var(--ds-surface-overlay, #FFFFFF)",
36
+ boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
37
+ padding: "var(--ds-space-100, 8px)".concat(" ", TABLE_SELECTOR_PADDING_SIDE, "px")
39
38
  });
40
39
  export var TableSelectorPopup = function TableSelectorPopup(props) {
41
40
  var _useState = useState(_objectSpread(_objectSpread({}, initialSizeState), props.defaultSize)),
@@ -236,7 +235,9 @@ export var TableSelectorPopup = function TableSelectorPopup(props) {
236
235
  return unbind;
237
236
  }, [handleMouseMove, props.allowOutsideSelection, tablePopupRef]);
238
237
  return jsx(Popup, {
239
- target: props.target,
238
+ target: props.target
239
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
240
+ ,
240
241
  offset: [0, 3],
241
242
  mountTo: props.popupsMountPoint,
242
243
  boundariesElement: props.popupsBoundariesElement,