@atlaskit/editor-common 112.7.2 → 112.7.4

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 (151) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/analytics/types/ai-autocomplete-events.js +5 -0
  3. package/dist/cjs/analytics/types/enums.js +2 -0
  4. package/dist/cjs/card/ui/assets/card.js +3 -1
  5. package/dist/cjs/card/ui/assets/embed.js +3 -1
  6. package/dist/cjs/card/ui/assets/inline.js +3 -1
  7. package/dist/cjs/card/ui/assets/url.js +3 -1
  8. package/dist/cjs/element-browser/components/ElementList/ElementList.js +2 -2
  9. package/dist/cjs/extensibility/Extension/Extension/index.js +9 -3
  10. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
  11. package/dist/cjs/extensibility/Extension.js +3 -1
  12. package/dist/cjs/extensions/UnknownMacroPlaceholder.js +1 -0
  13. package/dist/cjs/keymaps/index.js +1 -0
  14. package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +4 -1
  15. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +20 -11
  16. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/index.js +6 -2
  17. package/dist/cjs/link/LinkSearch/LinkSearchList.js +6 -2
  18. package/dist/cjs/link/LinkSearch/withActivityProvider.js +5 -3
  19. package/dist/cjs/mark/commands.js +5 -3
  20. package/dist/cjs/media-inline/inline-image-card.js +3 -1
  21. package/dist/cjs/media-inline/media-inline-image-card.js +6 -2
  22. package/dist/cjs/media-single/CommentBadge.js +3 -1
  23. package/dist/cjs/media-single/CommentBadgeNext.js +3 -1
  24. package/dist/cjs/media-single/MediaBadges.js +3 -1
  25. package/dist/cjs/monitoring/error.js +1 -1
  26. package/dist/cjs/node-width/index.js +3 -9
  27. package/dist/cjs/paste/md-plugins/linkify-md-plugin.js +2 -2
  28. package/dist/cjs/resizer/BreakoutResizer.js +3 -1
  29. package/dist/cjs/resizer/Resizer.js +5 -1
  30. package/dist/cjs/toolbar/context.js +1 -0
  31. package/dist/cjs/ui/AssistiveText/AssistiveText.js +4 -0
  32. package/dist/cjs/ui/ContextPanel/context.js +3 -1
  33. package/dist/cjs/ui/DropList/index.js +1 -1
  34. package/dist/cjs/ui/FloatingToolbar/Button.js +4 -2
  35. package/dist/cjs/ui/HoverLinkOverlay/index.js +3 -1
  36. package/dist/cjs/ui/Mention/index.js +3 -1
  37. package/dist/cjs/ui/Popup/index.js +2 -2
  38. package/dist/cjs/ui/ResizerLegacy/index.js +3 -1
  39. package/dist/cjs/ui/TableSelector/index.js +3 -1
  40. package/dist/cjs/ui-color/ColorPalette/Palettes/borderColorPalette.js +1 -0
  41. package/dist/cjs/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.js +1 -0
  42. package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -1
  43. package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +4 -0
  44. package/dist/cjs/ui-menu/ColorPickerButton/index.js +12 -4
  45. package/dist/cjs/ui-menu/DropdownMenu/index.js +18 -6
  46. package/dist/cjs/ui-menu/ToolbarButton/styles.js +1 -1
  47. package/dist/cjs/ui-react/with-react-editor-view-outer-listeners.js +9 -4
  48. package/dist/cjs/utils/commands.js +3 -3
  49. package/dist/es2019/analytics/types/ai-autocomplete-events.js +1 -0
  50. package/dist/es2019/analytics/types/enums.js +2 -0
  51. package/dist/es2019/card/ui/assets/card.js +3 -1
  52. package/dist/es2019/card/ui/assets/embed.js +3 -1
  53. package/dist/es2019/card/ui/assets/inline.js +3 -1
  54. package/dist/es2019/card/ui/assets/url.js +3 -1
  55. package/dist/es2019/element-browser/components/ElementList/ElementList.js +2 -2
  56. package/dist/es2019/extensibility/Extension/Extension/index.js +9 -3
  57. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
  58. package/dist/es2019/extensibility/Extension.js +3 -1
  59. package/dist/es2019/extensions/UnknownMacroPlaceholder.js +1 -0
  60. package/dist/es2019/keymaps/index.js +1 -0
  61. package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +4 -1
  62. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +20 -11
  63. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/index.js +6 -2
  64. package/dist/es2019/link/LinkSearch/LinkSearchList.js +6 -2
  65. package/dist/es2019/link/LinkSearch/withActivityProvider.js +4 -2
  66. package/dist/es2019/mark/commands.js +5 -3
  67. package/dist/es2019/media-inline/inline-image-card.js +3 -1
  68. package/dist/es2019/media-inline/media-inline-image-card.js +6 -2
  69. package/dist/es2019/media-single/CommentBadge.js +3 -1
  70. package/dist/es2019/media-single/CommentBadgeNext.js +3 -1
  71. package/dist/es2019/media-single/MediaBadges.js +3 -1
  72. package/dist/es2019/monitoring/error.js +1 -1
  73. package/dist/es2019/node-width/index.js +4 -10
  74. package/dist/es2019/paste/md-plugins/linkify-md-plugin.js +2 -2
  75. package/dist/es2019/resizer/BreakoutResizer.js +3 -1
  76. package/dist/es2019/resizer/Resizer.js +5 -1
  77. package/dist/es2019/toolbar/context.js +1 -0
  78. package/dist/es2019/ui/AssistiveText/AssistiveText.js +4 -0
  79. package/dist/es2019/ui/ContextPanel/context.js +3 -1
  80. package/dist/es2019/ui/DropList/index.js +1 -1
  81. package/dist/es2019/ui/FloatingToolbar/Button.js +4 -2
  82. package/dist/es2019/ui/HoverLinkOverlay/index.js +3 -1
  83. package/dist/es2019/ui/Mention/index.js +3 -1
  84. package/dist/es2019/ui/Popup/index.js +2 -2
  85. package/dist/es2019/ui/ResizerLegacy/index.js +3 -1
  86. package/dist/es2019/ui/TableSelector/index.js +3 -1
  87. package/dist/es2019/ui-color/ColorPalette/Palettes/borderColorPalette.js +1 -0
  88. package/dist/es2019/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.js +1 -0
  89. package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -1
  90. package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +4 -0
  91. package/dist/es2019/ui-menu/ColorPickerButton/index.js +12 -4
  92. package/dist/es2019/ui-menu/DropdownMenu/index.js +18 -6
  93. package/dist/es2019/ui-menu/ToolbarButton/styles.js +1 -1
  94. package/dist/es2019/ui-react/with-react-editor-view-outer-listeners.js +9 -4
  95. package/dist/es2019/utils/commands.js +3 -3
  96. package/dist/esm/analytics/types/ai-autocomplete-events.js +1 -0
  97. package/dist/esm/analytics/types/enums.js +2 -0
  98. package/dist/esm/card/ui/assets/card.js +3 -1
  99. package/dist/esm/card/ui/assets/embed.js +3 -1
  100. package/dist/esm/card/ui/assets/inline.js +3 -1
  101. package/dist/esm/card/ui/assets/url.js +3 -1
  102. package/dist/esm/element-browser/components/ElementList/ElementList.js +2 -2
  103. package/dist/esm/extensibility/Extension/Extension/index.js +9 -3
  104. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
  105. package/dist/esm/extensibility/Extension.js +3 -1
  106. package/dist/esm/extensions/UnknownMacroPlaceholder.js +1 -0
  107. package/dist/esm/keymaps/index.js +1 -0
  108. package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +4 -1
  109. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +20 -11
  110. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/index.js +6 -2
  111. package/dist/esm/link/LinkSearch/LinkSearchList.js +6 -2
  112. package/dist/esm/link/LinkSearch/withActivityProvider.js +4 -2
  113. package/dist/esm/mark/commands.js +5 -3
  114. package/dist/esm/media-inline/inline-image-card.js +3 -1
  115. package/dist/esm/media-inline/media-inline-image-card.js +6 -2
  116. package/dist/esm/media-single/CommentBadge.js +3 -1
  117. package/dist/esm/media-single/CommentBadgeNext.js +3 -1
  118. package/dist/esm/media-single/MediaBadges.js +3 -1
  119. package/dist/esm/monitoring/error.js +1 -1
  120. package/dist/esm/node-width/index.js +4 -10
  121. package/dist/esm/paste/md-plugins/linkify-md-plugin.js +2 -2
  122. package/dist/esm/resizer/BreakoutResizer.js +3 -1
  123. package/dist/esm/resizer/Resizer.js +5 -1
  124. package/dist/esm/toolbar/context.js +1 -0
  125. package/dist/esm/ui/AssistiveText/AssistiveText.js +4 -0
  126. package/dist/esm/ui/ContextPanel/context.js +3 -1
  127. package/dist/esm/ui/DropList/index.js +1 -1
  128. package/dist/esm/ui/FloatingToolbar/Button.js +4 -2
  129. package/dist/esm/ui/HoverLinkOverlay/index.js +3 -1
  130. package/dist/esm/ui/Mention/index.js +3 -1
  131. package/dist/esm/ui/Popup/index.js +2 -2
  132. package/dist/esm/ui/ResizerLegacy/index.js +3 -1
  133. package/dist/esm/ui/TableSelector/index.js +3 -1
  134. package/dist/esm/ui-color/ColorPalette/Palettes/borderColorPalette.js +1 -0
  135. package/dist/esm/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.js +1 -0
  136. package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -1
  137. package/dist/esm/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +4 -0
  138. package/dist/esm/ui-menu/ColorPickerButton/index.js +12 -4
  139. package/dist/esm/ui-menu/DropdownMenu/index.js +18 -6
  140. package/dist/esm/ui-menu/ToolbarButton/styles.js +1 -1
  141. package/dist/esm/ui-react/with-react-editor-view-outer-listeners.js +9 -4
  142. package/dist/esm/utils/commands.js +3 -3
  143. package/dist/types/analytics/types/ai-autocomplete-events.d.ts +8 -0
  144. package/dist/types/analytics/types/enums.d.ts +3 -1
  145. package/dist/types/analytics/types/events.d.ts +2 -1
  146. package/dist/types/ui/Popup/index.d.ts +1 -1
  147. package/dist/types-ts4.5/analytics/types/ai-autocomplete-events.d.ts +8 -0
  148. package/dist/types-ts4.5/analytics/types/enums.d.ts +3 -1
  149. package/dist/types-ts4.5/analytics/types/events.d.ts +2 -1
  150. package/dist/types-ts4.5/ui/Popup/index.d.ts +1 -1
  151. package/package.json +5 -5
@@ -121,7 +121,9 @@ export const MediaInlineImageCardInternal = ({
121
121
  value: mediaClient
122
122
  }, jsx(InlineImageCard, {
123
123
  dimensions: dimensions,
124
- identifier: identifier,
124
+ identifier: identifier
125
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
126
+ ,
125
127
  renderError: () => jsx(InlineImageCardErrorView, {
126
128
  message: formatMessage(messages.unableToLoadContent)
127
129
  }),
@@ -189,7 +191,9 @@ export const MediaInlineImageCardInternal = ({
189
191
  const mediaViewer = useMemo(() => {
190
192
  if (isMediaViewerVisible && mediaClient !== null && mediaClient !== void 0 && mediaClient.mediaClientConfig) {
191
193
  return /*#__PURE__*/ReactDOM.createPortal(jsx(MediaViewer, {
192
- collectionName: identifier.collectionName || '',
194
+ collectionName: identifier.collectionName || ''
195
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
196
+ ,
193
197
  items: [identifier],
194
198
  mediaClientConfig: mediaClient === null || mediaClient === void 0 ? void 0 : mediaClient.mediaClientConfig,
195
199
  selectedItem: identifier,
@@ -83,7 +83,9 @@ export const CommentBadge = /*#__PURE__*/forwardRef(({
83
83
  }, jsx(Tooltip, {
84
84
  position: "top",
85
85
  content: title
86
- }, jsx(CustomThemeButton, {
86
+ }, jsx(CustomThemeButton
87
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
88
+ , {
87
89
  style: {
88
90
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
89
91
  height: badgeDimensions,
@@ -33,7 +33,9 @@ export const CommentBadgeNext = ({
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,
@@ -77,7 +77,9 @@ export const MediaBadges = ({
77
77
  as: "div",
78
78
  testId: "media-badges",
79
79
  "data-media-badges": "true",
80
- contentEditable: false,
80
+ contentEditable: false
81
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
82
+ ,
81
83
  xcss: [containerStyles, useMinimumZIndex && hackedZIndexStyles, extendedResizeOffset && resizeOffsetStyles]
82
84
  }, children);
83
85
  };
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "0.0.0-development";
7
+ const packageVersion = "112.7.3";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // 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';
@@ -54,17 +53,12 @@ export const getParentNodeWidth = (pos, state, containerWidth, isFullWidthModeEn
54
53
  };
55
54
  switch (node.type) {
56
55
  case schema.nodes.layoutSection:
57
- // the extra width of the layout does not add to the width of the area the table can be inside
58
- if (!expValEquals('platform_editor_nested_table_refresh_width_fix', 'isEnabled', true)) {
59
- parentWidth += akLayoutGutterOffset * 2; // extra width that gets added to layout
60
- }
61
-
62
56
  // Calculate width of parent layout column when
63
57
  // Parallel layout with viewport greater than 1024px
64
58
  // OR side panel of an extension is open and change the node width to smaller than containerWidth
65
59
  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) {
66
60
  // margin between sections
67
- 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);
61
+ 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);
68
62
  const $pos = state.doc.resolve(pos);
69
63
  const column = findParentNodeOfTypeClosestToPos($pos, [state.schema.nodes.layoutColumn]);
70
64
  if (column && column.node && !isNaN(column.node.attrs.width)) {
@@ -74,7 +68,7 @@ export const getParentNodeWidth = (pos, state, containerWidth, isFullWidthModeEn
74
68
  }
75
69
 
76
70
  // account for the padding of the parent node
77
- 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;
71
+ parentWidth -= fg('platform_editor_nested_dnd_styles_changes') ? (LAYOUT_COLUMN_PADDING + NESTED_DND_GUTTER_OFFSET) * 2 : LAYOUT_COLUMN_PADDING * 2;
78
72
  break;
79
73
  case schema.nodes.bodiedExtension:
80
74
  parentWidth -= BODIED_EXT_PADDING * 2;
@@ -115,7 +109,7 @@ const getNestedParentNode = (tablePos, state) => {
115
109
  return parent ? parent.node : null;
116
110
  };
117
111
  const 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 @@ const 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);
@@ -325,7 +325,9 @@ const BreakoutResizer = ({
325
325
  });
326
326
  }
327
327
  return /*#__PURE__*/React.createElement(Resizer, {
328
- ref: resizerRef,
328
+ ref: resizerRef
329
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
330
+ ,
329
331
  enable: {
330
332
  left: true,
331
333
  right: true
@@ -113,6 +113,8 @@ const ResizerNext = (props, ref) => {
113
113
  alignItems: handlePositioning === 'adjacent' ? 'center' : undefined
114
114
  };
115
115
  const offset = handlePositioning === 'adjacent' ? `calc(${baseHandleStyles.width} * -1)` : `calc(${baseHandleStyles.width} * -0.5)`;
116
+
117
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
116
118
  const nextHandleStyles = SUPPORTED_HANDLES.reduce((result, position) => ({
117
119
  ...result,
118
120
  [position]: {
@@ -198,7 +200,9 @@ const ResizerNext = (props, ref) => {
198
200
  return snapGap;
199
201
  }, [snap, snapGap]);
200
202
  return /*#__PURE__*/React.createElement(Resizable, _extends({
201
- ref: resizable,
203
+ ref: resizable
204
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
205
+ ,
202
206
  size: {
203
207
  width: width !== null && width !== void 0 ? width : 'auto',
204
208
  // just content itself (no paddings)
@@ -25,6 +25,7 @@ export const EditorToolbarProvider = ({
25
25
  isOffline
26
26
  }) => {
27
27
  return /*#__PURE__*/React.createElement(EditorToolbarContext.Provider, {
28
+ // 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)
28
29
  value: {
29
30
  editorView,
30
31
  editorAppearance,
@@ -37,6 +37,7 @@ export const AssistiveText = ({
37
37
  }), [isInFocus]);
38
38
  useEffect(() => {
39
39
  if (!debounced) {
40
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
40
41
  debounceStatusUpdate();
41
42
  return () => {
42
43
  debounceStatusUpdate.cancel();
@@ -45,8 +46,11 @@ export const AssistiveText = ({
45
46
  }, [assistiveText, isInFocus, debounced, debounceStatusUpdate]);
46
47
  useEffect(() => {
47
48
  if (debounced) {
49
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
48
50
  setBump(prevBump => !prevBump);
51
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
49
52
  setDebounced(true);
53
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
50
54
  setSilenced(!isInFocus);
51
55
  }
52
56
  }, [assistiveText, isInFocus, debounced]);
@@ -53,7 +53,9 @@ export class ContextPanelWidthProvider extends React.Component {
53
53
  width,
54
54
  positionedOverEditor
55
55
  } = this.state;
56
- return /*#__PURE__*/React.createElement(Provider, {
56
+ return /*#__PURE__*/React.createElement(Provider
57
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
58
+ , {
57
59
  value: {
58
60
  width,
59
61
  positionedOverEditor,
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "0.0.0-development";
17
+ const packageVersion = "112.7.3";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -81,7 +81,9 @@ const FloatingToolbarButton = ({
81
81
  }, /*#__PURE__*/React.createElement(Button
82
82
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/no-unsafe-style-overrides -- Ignored via go/DSP-18766
83
83
  , {
84
- className: className,
84
+ className: className
85
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
86
+ ,
85
87
  ref: buttonElement => {
86
88
  setSpotlightReferenceElement(buttonElement);
87
89
  if (forwardedRef && editorExperiment('platform_synced_block', true)) {
@@ -92,7 +94,7 @@ const FloatingToolbarButton = ({
92
94
  }
93
95
  }
94
96
  }
95
- // eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides
97
+ // 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)
96
98
  ,
97
99
  theme: (adgTheme, themeProps) => {
98
100
  const {
@@ -220,7 +220,9 @@ const HoverLinkOverlay = ({
220
220
  ref: hoverLinkButtonRef,
221
221
  xcss: linkStylesCommon,
222
222
  href: url,
223
- target: "_blank",
223
+ target: "_blank"
224
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
225
+ ,
224
226
  style: {
225
227
  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)"
226
228
  },
@@ -38,7 +38,9 @@ export default class Mention extends PureComponent {
38
38
  }
39
39
  }
40
40
  render() {
41
- return /*#__PURE__*/React.createElement(WithProviders, {
41
+ return /*#__PURE__*/React.createElement(WithProviders
42
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
43
+ , {
42
44
  providers: ['mentionProvider', 'profilecardProvider'],
43
45
  providerFactory: this.providerFactory,
44
46
  renderNode: this.renderWithProvider
@@ -5,7 +5,7 @@ import rafSchedule from 'raf-schd';
5
5
  import { createPortal, flushSync } from 'react-dom';
6
6
  import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
8
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
9
9
  import { calculatePlacement, calculatePosition, findOverflowScrollParent, validatePosition } from './utils';
10
10
  // Ignored via go/ees005
11
11
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -51,7 +51,7 @@ export default class Popup extends React.Component {
51
51
  ...defaultTrapConfig,
52
52
  ...this.props.focusTrap
53
53
  };
54
- this.focusTrap = createFocusTrap(popup, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) ? trapConfig : defaultTrapConfig);
54
+ this.focusTrap = createFocusTrap(popup, editorExperiment('platform_editor_block_menu', true) ? trapConfig : defaultTrapConfig);
55
55
  this.focusTrap.activate();
56
56
  }));
57
57
  }
@@ -185,7 +185,9 @@ export default class Resizer extends React.Component {
185
185
  // Ideally, Resizable would let you pass in the component rather than
186
186
  // the div. For now, we just apply the same styles using CSS
187
187
  return /*#__PURE__*/React.createElement(Resizable, {
188
- ref: this.resizable,
188
+ ref: this.resizable
189
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
190
+ ,
189
191
  size: {
190
192
  width: nonZeroWidth,
191
193
  // just content itself (no paddings)
@@ -237,7 +237,9 @@ export const TableSelectorPopup = props => {
237
237
  return unbind;
238
238
  }, [handleMouseMove, props.allowOutsideSelection, tablePopupRef]);
239
239
  return jsx(Popup, {
240
- target: props.target,
240
+ target: props.target
241
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
242
+ ,
241
243
  offset: [0, 3],
242
244
  mountTo: props.popupsMountPoint,
243
245
  boundariesElement: props.popupsBoundariesElement,
@@ -4,6 +4,7 @@ import getColorMessage from './getColorMessage';
4
4
  import paletteMessages from './paletteMessages';
5
5
  const borderColorPalette = [];
6
6
  colorPalette.forEach((label, color) => {
7
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
7
8
  const key = label.toLowerCase().replace(' ', '-');
8
9
  const message = getColorMessage(paletteMessages, key);
9
10
  borderColorPalette.push({
@@ -3,6 +3,7 @@ import getColorMessage from './getColorMessage';
3
3
  import paletteMessages from './paletteMessages';
4
4
  const cellBackgroundColorPalette = [];
5
5
  tableBackgroundColorPalette.forEach((label, color) => {
6
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
6
7
  const key = label.toLowerCase().replace(' ', '-');
7
8
  const message = getColorMessage(paletteMessages, key);
8
9
  cellBackgroundColorPalette.push({
@@ -40,7 +40,7 @@ export const EditorDiagonalLineIcon = () => {
40
40
  } = useThemeObserver();
41
41
  const primaryColor = colorMode === 'dark' ? "var(--ds-background-accent-gray-bolder, #626F86)" : "var(--ds-background-accent-gray-subtle, #8590A2)";
42
42
  return (
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
44
44
  jsx(DiagonalLineGlyph, {
45
45
  "aria-label": "",
46
46
  style: {
@@ -49,9 +49,13 @@ export const MenuArrowKeyNavigationProvider = ({
49
49
  const currentIndex = currentSelectedItemIndex;
50
50
  const list = getFocusableElements(wrapperRef === null || wrapperRef === void 0 ? void 0 : wrapperRef.current);
51
51
  const currentElement = list[currentIndex];
52
+
53
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
52
54
  if (currentElement && currentElement.getAttribute('aria-disabled') === 'true') {
53
55
  var _list$focusIndex;
56
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
54
57
  const focusIndex = incrementIndex(list);
58
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
55
59
  (_list$focusIndex = list[focusIndex]) === null || _list$focusIndex === void 0 ? void 0 : _list$focusIndex.focus();
56
60
  }
57
61
  }, [currentSelectedItemIndex, onSelection, incrementIndex, decrementIndex]);
@@ -138,7 +138,9 @@ const ColorPickerButton = props => {
138
138
  return jsx(Popup, {
139
139
  target: buttonRef.current,
140
140
  fitHeight: 350,
141
- fitWidth: 350,
141
+ fitWidth: 350
142
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
143
+ ,
142
144
  offset: [0, 10],
143
145
  alignX: props.alignX,
144
146
  mountTo: props.setDisableParentScroll ? props.mountPoint : undefined,
@@ -157,7 +159,9 @@ const ColorPickerButton = props => {
157
159
  type: ArrowKeyNavigationType.COLOR,
158
160
  selectedRowIndex: selectedRowIndex,
159
161
  selectedColumnIndex: selectedColumnIndex,
160
- closeOnTab: true,
162
+ closeOnTab: true
163
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
164
+ ,
161
165
  handleClose: () => setIsPopupOpen(false),
162
166
  isOpenedByKeyboard: isOpenedByKeyboard,
163
167
  isPopupPositioned: isPopupPositioned,
@@ -167,7 +171,9 @@ const ColorPickerButton = props => {
167
171
  selectedColor: selectedColor,
168
172
  onClick: onColorSelected,
169
173
  handleClickOutside: togglePopup,
170
- handleEscapeKeydown: handleEsc,
174
+ handleEscapeKeydown: handleEsc
175
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
176
+ ,
171
177
  paletteOptions: {
172
178
  palette: props.colorPalette,
173
179
  hexToPaletteColor: props.hexToPaletteColor,
@@ -215,7 +221,9 @@ const ColorPickerButton = props => {
215
221
  "aria-label": title,
216
222
  "aria-expanded": props.isAriaExpanded ? isPopupOpen : undefined,
217
223
  spacing: editorExperiment('platform_editor_controls', 'variant1') ? 'default' : 'compact',
218
- onClick: togglePopup,
224
+ onClick: togglePopup
225
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
226
+ ,
219
227
  onKeyDown: event => {
220
228
  if (event.key === 'Enter' || event.key === ' ') {
221
229
  event.preventDefault();
@@ -231,7 +231,9 @@ export default class DropdownMenuWrapper extends PureComponent {
231
231
  position: popupPlacement.join(' '),
232
232
  shouldFitContainer: true,
233
233
  handleClickOutside: this.handleClose,
234
- handleEscapeKeydown: handleEscapeKeydown || this.handleCloseAndFocus,
234
+ handleEscapeKeydown: handleEscapeKeydown || this.handleCloseAndFocus
235
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
236
+ ,
235
237
  handleEnterKeydown: e => {
236
238
  if (!allowEnterDefaultBehavior) {
237
239
  e.preventDefault();
@@ -361,20 +363,28 @@ export function DropdownMenuItem({
361
363
  role: shouldUseDefaultRole ? 'button' : expValEquals('platform_editor_august_a11y', 'isEnabled', true) ? undefined : 'menuitem',
362
364
  iconBefore: item.elemBefore,
363
365
  iconAfter: item.elemAfter,
364
- isDisabled: item.isDisabled,
366
+ isDisabled: item.isDisabled
367
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
368
+ ,
365
369
  onClick: () => onItemActivated && onItemActivated({
366
370
  item
367
371
  }),
368
372
  "aria-label": ariaLabel,
369
373
  "aria-pressed": shouldUseDefaultRole ? item.isActive : undefined,
370
- "aria-keyshortcuts": item['aria-keyshortcuts'],
374
+ "aria-keyshortcuts": item['aria-keyshortcuts']
375
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
376
+ ,
371
377
  onMouseDown: e => {
372
378
  e.preventDefault();
373
379
  },
374
- component: DropdownMenuItemCustomComponent,
380
+ component: DropdownMenuItemCustomComponent
381
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
382
+ ,
375
383
  onMouseEnter: () => onMouseEnter && onMouseEnter({
376
384
  item
377
- }),
385
+ })
386
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
387
+ ,
378
388
  onMouseLeave: () => onMouseLeave && onMouseLeave({
379
389
  item
380
390
  }),
@@ -400,7 +410,9 @@ export const DropdownMenuWithKeyboardNavigation = /*#__PURE__*/React.memo(
400
410
 
401
411
  // This context is to handle the tab, Arrow Right/Left key events for dropdown.
402
412
  // Default context has the void callbacks for above key events
403
- return jsx(DropdownMenuWrapper, _extends({
413
+ return jsx(DropdownMenuWrapper
414
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
415
+ , _extends({
404
416
  arrowKeyNavigationProviderOptions: {
405
417
  ...props.arrowKeyNavigationProviderOptions,
406
418
  keyDownHandlerContext
@@ -12,7 +12,7 @@ const _default_1 = /*#__PURE__*/React.forwardRef((props, ref) => {
12
12
  // Ignored via go/ees007
13
13
  // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
14
14
  // TODO: (from codemod) Buttons with "component", "css" or "style" prop can't be automatically migrated with codemods. Please migrate it manually.
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
16
16
  style: {
17
17
  alignItems: 'center'
18
18
  }
@@ -1,6 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React, { PureComponent, useCallback, useEffect, useRef, useState } from 'react';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
5
4
  import ReactEditorViewContext from './ReactEditorViewContext';
6
5
  // Use this context to pass in the reference of the element that should be considered as the outside click target
@@ -48,7 +47,9 @@ class WithOutsideClick extends PureComponent {
48
47
  } else if ((evt.code === 'Delete' || evt.code === 'Backspace') && this.props.handleBackspaceDeleteKeydown) {
49
48
  this.props.handleBackspaceDeleteKeydown(evt);
50
49
  }
51
- if (expValEquals('platform_editor_block_menu', 'isEnabled', true)) {
50
+ if (editorExperiment('platform_editor_block_menu', true, {
51
+ exposure: true
52
+ })) {
52
53
  var _this$props$handleKey, _this$props;
53
54
  (_this$props$handleKey = (_this$props = this.props).handleKeyDown) === null || _this$props$handleKey === void 0 ? void 0 : _this$props$handleKey.call(_this$props, evt);
54
55
  }
@@ -63,7 +64,9 @@ class WithOutsideClick extends PureComponent {
63
64
  // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
64
65
  document.addEventListener('click', this.handleClick, options);
65
66
  }
66
- if (this.props.handleEscapeKeydown || this.props.handleBackspaceDeleteKeydown || this.props.handleKeyDown && expValEquals('platform_editor_block_menu', 'isEnabled', true)) {
67
+ if (this.props.handleEscapeKeydown || this.props.handleBackspaceDeleteKeydown || this.props.handleKeyDown && editorExperiment('platform_editor_block_menu', true, {
68
+ exposure: true
69
+ })) {
67
70
  var _this$props$editorRef;
68
71
  // Attached event to the menu so that 'ESC' events from the opened menu also will be handled.
69
72
  // Ignored via go/ees005
@@ -86,7 +89,9 @@ class WithOutsideClick extends PureComponent {
86
89
  // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
87
90
  document.removeEventListener('click', this.handleClick, options);
88
91
  }
89
- if (this.props.handleEscapeKeydown || this.props.handleBackspaceDeleteKeydown || this.props.handleKeyDown && expValEquals('platform_editor_block_menu', 'isEnabled', true)) {
92
+ if (this.props.handleEscapeKeydown || this.props.handleBackspaceDeleteKeydown || this.props.handleKeyDown && editorExperiment('platform_editor_block_menu', true, {
93
+ exposure: true
94
+ })) {
90
95
  var _this$props$editorRef2;
91
96
  // Ignored via go/ees005
92
97
  // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
@@ -1,7 +1,7 @@
1
1
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
2
2
  import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state';
3
3
  import { fg } from '@atlaskit/platform-feature-flags';
4
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
4
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
5
5
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../analytics';
6
6
  import { withAnalytics } from '../editor-analytics';
7
7
  import { GapCursorSelection } from '../selection';
@@ -186,7 +186,7 @@ function canMoveUp(state) {
186
186
  if (selection instanceof NodeSelection && isMediaNode(selection.node)) {
187
187
  return true;
188
188
  }
189
- if (selection instanceof TextSelection && !expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true)) {
189
+ if (selection instanceof TextSelection && !editorExperiment('platform_editor_block_menu', true)) {
190
190
  if (!selection.empty) {
191
191
  return true;
192
192
  }
@@ -204,7 +204,7 @@ function canMoveDown(state) {
204
204
  if (selection instanceof NodeSelection && isMediaNode(selection.node)) {
205
205
  return true;
206
206
  }
207
- if (selection instanceof TextSelection && !expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true)) {
207
+ if (selection instanceof TextSelection && !editorExperiment('platform_editor_block_menu', true)) {
208
208
  if (!selection.empty) {
209
209
  return true;
210
210
  }
@@ -0,0 +1 @@
1
+ export {};
@@ -358,6 +358,7 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
358
358
  ACTION_SUBJECT["EDITOR_PLUGIN_SELECTION_EXTENSION"] = "editorPluginSelectionExtension";
359
359
  ACTION_SUBJECT["AI_DEFINITIONS"] = "aiDefinitions";
360
360
  ACTION_SUBJECT["AI_QUICK_PROMPT"] = "aiQuickPrompt";
361
+ ACTION_SUBJECT["AI_AUTOCOMPLETE"] = "aiAutocomplete";
361
362
  ACTION_SUBJECT["USER_PREFERENCES"] = "userPreferences";
362
363
  ACTION_SUBJECT["ALIGNMENT"] = "alignment";
363
364
  ACTION_SUBJECT["OFFLINE_EDITING"] = "offlineEditing";
@@ -367,6 +368,7 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
367
368
  ACTION_SUBJECT["BLOCK_MENU_ITEM"] = "blockMenuItem";
368
369
  ACTION_SUBJECT["PASTE_ACTIONS_MENU"] = "pasteActionsMenu";
369
370
  ACTION_SUBJECT["SYNCED_BLOCK"] = "syncedBlock";
371
+ ACTION_SUBJECT["NATIVE_EMBED"] = "nativeEmbed";
370
372
  return ACTION_SUBJECT;
371
373
  }({});
372
374
  export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
@@ -24,7 +24,9 @@ var IconCardGlyph = function IconCardGlyph(_ref) {
24
24
  export var IconCard = function IconCard(_ref2) {
25
25
  var label = _ref2.label;
26
26
  return /*#__PURE__*/React.createElement(IconCardGlyph, {
27
- "aria-label": label,
27
+ "aria-label": label
28
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
29
+ ,
28
30
  style: {
29
31
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
30
32
  width: '24px',
@@ -24,7 +24,9 @@ var IconEmbedGlyph = function IconEmbedGlyph(_ref) {
24
24
  export var IconEmbed = function IconEmbed(_ref2) {
25
25
  var label = _ref2.label;
26
26
  return /*#__PURE__*/React.createElement(IconEmbedGlyph, {
27
- "aria-label": label,
27
+ "aria-label": label
28
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
29
+ ,
28
30
  style: {
29
31
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
30
32
  width: '24px',
@@ -24,7 +24,9 @@ var IconInlineGlyph = function IconInlineGlyph(_ref) {
24
24
  export var IconInline = function IconInline(_ref2) {
25
25
  var label = _ref2.label;
26
26
  return /*#__PURE__*/React.createElement(IconInlineGlyph, {
27
- "aria-label": label,
27
+ "aria-label": label
28
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
29
+ ,
28
30
  style: {
29
31
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
30
32
  width: '24px',
@@ -26,7 +26,9 @@ var IconUrlGlyph = function IconUrlGlyph(_ref) {
26
26
  export var IconUrl = function IconUrl(_ref2) {
27
27
  var label = _ref2.label;
28
28
  return /*#__PURE__*/React.createElement(IconUrlGlyph, {
29
- "aria-label": label,
29
+ "aria-label": label
30
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
31
+ ,
30
32
  style: {
31
33
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
32
34
  width: '24px',
@@ -85,6 +85,7 @@ function ElementList(_ref) {
85
85
  setColumnCount(getColumnCount(containerWidth));
86
86
  var updatedScrollbarWidth = getScrollbarWidth();
87
87
  if (updatedScrollbarWidth > 0) {
88
+ // eslint-disable-next-line @atlassian/perf-linting/no-chain-state-updates -- Ignored via go/ees017 (to be fixed)
88
89
  setScrollbarWidth(updatedScrollbarWidth);
89
90
  }
90
91
  }
@@ -504,8 +505,7 @@ var elementItemsWrapper = css({
504
505
  padding: "var(--ds-space-025, 2px)",
505
506
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
506
507
  '.ReactVirtualized__Grid': {
507
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
508
- // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
508
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/no-unsafe-design-token-usage -- Ignored via go/DSP-18766
509
509
  borderRadius: "var(--ds-radius-small, 3px)",
510
510
  outline: 'none',
511
511
  '&:focus': {