@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
@@ -7,7 +7,7 @@ export const mapPaletteColor = (label, color) => {
7
7
  return {
8
8
  value: color,
9
9
  label,
10
- border: "var(--ds-border, #091E4224)",
10
+ border: "var(--ds-border, #0B120E24)",
11
11
  message
12
12
  };
13
13
  };
@@ -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();
@@ -12,7 +12,6 @@ import React, { PureComponent, useContext } from 'react';
12
12
  import { css, jsx } from '@emotion/react';
13
13
  import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
14
14
  import { CustomItem, MenuGroup, Section } from '@atlaskit/menu';
15
- import { fg } from '@atlaskit/platform-feature-flags';
16
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
16
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
18
17
  import Tooltip from '@atlaskit/tooltip';
@@ -50,14 +49,14 @@ const buttonStyles = (isActive, submenuActive) => {
50
49
  position: absolute;
51
50
  left: 0;
52
51
  top: 0;
53
- background: ${"var(--ds-border-selected, transparent)"};
52
+ background: ${"var(--ds-border-selected, #1868DB)"};
54
53
  content: '';
55
54
  }
56
55
  > span,
57
56
  > span:hover,
58
57
  > span:active {
59
- background: ${`var(--ds-background-selected, ${fg('platform_editor_updated_dropdown_colors') ? '#E9F2FE' : '#6c798f'})`};
60
- color: ${`var(--ds-text-selected, ${fg('platform_editor_updated_dropdown_colors') ? '#1868DB' : '#0C66E4'})`};
58
+ background: ${"var(--ds-background-selected, #E9F2FE)"};
59
+ color: ${"var(--ds-text-selected, #1868DB)"};
61
60
  }
62
61
  :focus > span[aria-disabled='false'] {
63
62
  ${focusedMenuItemStyle};
@@ -77,8 +76,8 @@ const buttonStyles = (isActive, submenuActive) => {
77
76
  > span,
78
77
  > span:hover,
79
78
  > span:active {
80
- background: ${`var(--ds-background-selected, ${fg('platform_editor_updated_dropdown_colors') ? '#E9F2FE' : '#6c798f'})`};
81
- color: ${`var(--ds-text-selected, ${fg('platform_editor_updated_dropdown_colors') ? '#1868DB' : '#0C66E4'})`};
79
+ background: ${"var(--ds-background-selected, #E9F2FE)"};
80
+ color: ${"var(--ds-text-selected, #1868DB)"};
82
81
  }
83
82
  :focus > span[aria-disabled='false'] {
84
83
  ${focusedMenuItemStyle};
@@ -93,11 +92,11 @@ const buttonStyles = (isActive, submenuActive) => {
93
92
  return css`
94
93
  > span:hover[aria-disabled='false'] {
95
94
  color: ${"var(--ds-text, #292A2E)"};
96
- background-color: ${"var(--ds-background-neutral-subtle-hovered, rgb(244, 245, 247))"};
95
+ background-color: ${"var(--ds-background-neutral-subtle-hovered, #0515240F)"};
97
96
  }
98
97
  ${!submenuActive && `
99
98
  > span:active[aria-disabled='false'] {
100
- background-color: ${"var(--ds-background-neutral-subtle-pressed, rgb(179, 212, 255))"};
99
+ background-color: ${"var(--ds-background-neutral-subtle-pressed, #0B120E24)"};
101
100
  }`}
102
101
  > span[aria-disabled='true'] {
103
102
  color: ${"var(--ds-text-disabled, #080F214A)"};
@@ -231,7 +230,9 @@ export default class DropdownMenuWrapper extends PureComponent {
231
230
  position: popupPlacement.join(' '),
232
231
  shouldFitContainer: true,
233
232
  handleClickOutside: this.handleClose,
234
- handleEscapeKeydown: handleEscapeKeydown || this.handleCloseAndFocus,
233
+ handleEscapeKeydown: handleEscapeKeydown || this.handleCloseAndFocus
234
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
235
+ ,
235
236
  handleEnterKeydown: e => {
236
237
  if (!allowEnterDefaultBehavior) {
237
238
  e.preventDefault();
@@ -361,20 +362,28 @@ export function DropdownMenuItem({
361
362
  role: shouldUseDefaultRole ? 'button' : expValEquals('platform_editor_august_a11y', 'isEnabled', true) ? undefined : 'menuitem',
362
363
  iconBefore: item.elemBefore,
363
364
  iconAfter: item.elemAfter,
364
- isDisabled: item.isDisabled,
365
+ isDisabled: item.isDisabled
366
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
367
+ ,
365
368
  onClick: () => onItemActivated && onItemActivated({
366
369
  item
367
370
  }),
368
371
  "aria-label": ariaLabel,
369
372
  "aria-pressed": shouldUseDefaultRole ? item.isActive : undefined,
370
- "aria-keyshortcuts": item['aria-keyshortcuts'],
373
+ "aria-keyshortcuts": item['aria-keyshortcuts']
374
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
375
+ ,
371
376
  onMouseDown: e => {
372
377
  e.preventDefault();
373
378
  },
374
- component: DropdownMenuItemCustomComponent,
379
+ component: DropdownMenuItemCustomComponent
380
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
381
+ ,
375
382
  onMouseEnter: () => onMouseEnter && onMouseEnter({
376
383
  item
377
- }),
384
+ })
385
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
386
+ ,
378
387
  onMouseLeave: () => onMouseLeave && onMouseLeave({
379
388
  item
380
389
  }),
@@ -400,7 +409,9 @@ export const DropdownMenuWithKeyboardNavigation = /*#__PURE__*/React.memo(
400
409
 
401
410
  // This context is to handle the tab, Arrow Right/Left key events for dropdown.
402
411
  // Default context has the void callbacks for above key events
403
- return jsx(DropdownMenuWrapper, _extends({
412
+ return jsx(DropdownMenuWrapper
413
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
414
+ , _extends({
404
415
  arrowKeyNavigationProviderOptions: {
405
416
  ...props.arrowKeyNavigationProviderOptions,
406
417
  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
  }
@@ -368,6 +368,7 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
368
368
  ACTION_SUBJECT["BLOCK_MENU_ITEM"] = "blockMenuItem";
369
369
  ACTION_SUBJECT["PASTE_ACTIONS_MENU"] = "pasteActionsMenu";
370
370
  ACTION_SUBJECT["SYNCED_BLOCK"] = "syncedBlock";
371
+ ACTION_SUBJECT["NATIVE_EMBED"] = "nativeEmbed";
371
372
  return ACTION_SUBJECT;
372
373
  }({});
373
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',
@@ -16,7 +16,7 @@ import { css, jsx } from '@emotion/react';
16
16
  import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
17
17
  import Button from '@atlaskit/button/custom-theme-button';
18
18
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent } from '../../analytics';
19
- import { DEVICE_BREAKPOINT_NUMBERS, GRID_SIZE } from '../constants';
19
+ import { DEVICE_BREAKPOINT_NUMBERS } from '../constants';
20
20
  import useFocus from '../hooks/use-focus';
21
21
  var arrowsKeys = new Set(['ArrowUp', 'ArrowDown']);
22
22
  function CategoryList(_ref) {
@@ -175,7 +175,7 @@ function CategoryListItem(_ref2) {
175
175
  }
176
176
  var buttonWrapper = css(_defineProperty({
177
177
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
178
- height: "".concat(GRID_SIZE * 4, "px"),
178
+ height: "32px",
179
179
  margin: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-050, 4px)", " ", "var(--ds-space-050, 4px)", " 0")
180
180
  }, "@media (min-width: ".concat(DEVICE_BREAKPOINT_NUMBERS.medium, "px)"), {
181
181
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
@@ -36,7 +36,7 @@ export var itemIcon = css({
36
36
  width: "".concat(ICON_WIDTH, "px"),
37
37
  height: "".concat(ICON_HEIGHT, "px"),
38
38
  overflow: 'hidden',
39
- border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, rgba(223, 225, 229, 0.5))"),
39
+ border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
40
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
41
41
  borderRadius: "var(--ds-radius-small, 3px)",
42
42
  boxSizing: 'border-box',
@@ -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': {
@@ -51,7 +51,7 @@ export default function EmptyState(_ref) {
51
51
  }
52
52
  var emptyStateHeading = css({
53
53
  font: "var(--ds-font-heading-medium, normal 653 20px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
54
- color: "var(--ds-text, rgb(23, 43, 77))",
54
+ color: "var(--ds-text, #292A2E)",
55
55
  marginTop: "var(--ds-space-300, 24px)"
56
56
  });
57
57
  var emptyStateSubHeading = css({
@@ -154,7 +154,7 @@ var wrapperInline = css({
154
154
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
155
155
  '& > [data-ds--text-field--container]': {
156
156
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
157
- height: "".concat(GRID_SIZE * 5, "px"),
157
+ height: "40px",
158
158
  flex: 'none',
159
159
  overflow: 'revert'
160
160
  }
@@ -95,7 +95,7 @@ var searchContainer = css({
95
95
  var mobileCategoryListWrapper = css({
96
96
  display: 'flex',
97
97
  overflowX: 'auto',
98
- padding: "var(--ds-space-200, 8px)".concat(" 0 ", "var(--ds-space-200, 16px)", " 0"),
98
+ padding: "var(--ds-space-200, 16px)".concat(" 0 ", "var(--ds-space-200, 16px)", " 0"),
99
99
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
100
100
  minHeight: "".concat(GRID_SIZE * 4, "px"),
101
101
  overflow: '-moz-scrollbars-none',
@@ -110,7 +110,7 @@ var mobileCategoryListWrapper = css({
110
110
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
111
111
  var categoryListWrapper = css(mobileCategoryListWrapper, {
112
112
  padding: 0,
113
- marginTop: "var(--ds-space-200, 24px)",
113
+ marginTop: "var(--ds-space-200, 16px)",
114
114
  flexDirection: 'column'
115
115
  });
116
116
  function StatelessElementBrowser(props) {
@@ -141,10 +141,14 @@ function ExtensionWithPluginState(props) {
141
141
  var extensionContentStyles = expValEquals('platform_editor_extension_styles', 'isEnabled', true) ? extensionContent : content;
142
142
  return jsx(Fragment, null, expValEquals('cc_editor_lcm_readonly_initial', 'isEnabled', true) ? null : showLegacyContentHeader && jsx(LegacyContentHeader, {
143
143
  isNodeSelected: isNodeSelected,
144
- isNodeHovered: isNodeHovered,
144
+ isNodeHovered: isNodeHovered
145
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
146
+ ,
145
147
  onMouseEnter: function onMouseEnter() {
146
148
  return handleMouseEvent(true);
147
- },
149
+ }
150
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
151
+ ,
148
152
  onMouseLeave: function onMouseLeave() {
149
153
  return handleMouseEvent(false);
150
154
  }
@@ -242,7 +246,9 @@ var Extension = function Extension(props) {
242
246
  width = _useSharedPluginState.width;
243
247
 
244
248
  // Ignored via go/ees005
245
- return jsx(ExtensionWithPluginState, _extends({
249
+ return jsx(ExtensionWithPluginState
250
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
251
+ , _extends({
246
252
  widthState: {
247
253
  width: width !== null && width !== void 0 ? width : 0,
248
254
  lineLength: lineLength
@@ -62,7 +62,7 @@ export var header = css({
62
62
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
63
63
  export var content = css({
64
64
  padding: "var(--ds-space-100, 8px)",
65
- background: "var(--ds-surface, white)",
65
+ background: "var(--ds-surface, #FFFFFF)",
66
66
  border: "1px solid ".concat("var(--ds-border, #0B120E24)"),
67
67
  borderRadius: "var(--ds-radius-small, 3px)",
68
68
  cursor: 'initial',
@@ -82,7 +82,7 @@ export var extensionContent = css({
82
82
  boxSizing: 'border-box',
83
83
  paddingTop: "var(--ds-space-100, 8px)",
84
84
  paddingBottom: "var(--ds-space-100, 8px)",
85
- background: "var(--ds-surface, white)",
85
+ background: "var(--ds-surface, #FFFFFF)",
86
86
  border: "1px solid ".concat("var(--ds-border, #0B120E24)"),
87
87
  borderRadius: "var(--ds-radius-small, 3px)",
88
88
  cursor: 'initial',
@@ -19,7 +19,7 @@ export var wrapperStyle = css(wrapperDefault, {
19
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
20
20
  '&.with-children': {
21
21
  padding: 0,
22
- background: "var(--ds-background-neutral-subtle, white)"
22
+ background: "var(--ds-background-neutral-subtle, #00000000)"
23
23
  },
24
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
25
25
  '&.with-hover-border': {
@@ -51,7 +51,7 @@ var lcmHeaderStyles = css({
51
51
  },
52
52
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
53
53
  '& > .legacy-content-header-text': {
54
- font: "var(--ds-font-body-small, 12px)",
54
+ font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
55
55
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
56
56
  '& span': {
57
57
  paddingRight: "var(--ds-space-050, 4px)"
@@ -181,6 +181,7 @@ export var ExtensionLabel = function ExtensionLabel(_ref) {
181
181
  // Ignored via go/ees005
182
182
  // eslint-disable-next-line react/jsx-props-no-spreading
183
183
  , _extends({}, i18n.configure, {
184
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
184
185
  values: {
185
186
  macroName: text
186
187
  }
@@ -76,7 +76,9 @@ export var Extension = /*#__PURE__*/function (_Component) {
76
76
  }, {
77
77
  key: "render",
78
78
  value: function render() {
79
- return /*#__PURE__*/React.createElement(WithProviders, {
79
+ return /*#__PURE__*/React.createElement(WithProviders
80
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
81
+ , {
80
82
  providers: ['extensionProvider'],
81
83
  providerFactory: this.providerFactory,
82
84
  renderNode: this.renderWithProvider
@@ -12,7 +12,7 @@ export var mbeExtensionWrapperCSSStyles = css(wrapperDefault, {
12
12
  marginRight: "var(--ds-space-negative-150, -12px)"
13
13
  },
14
14
  cursor: 'pointer',
15
- marginTop: "var(--ds-space-250, 24px)",
15
+ marginTop: "var(--ds-space-250, 20px)",
16
16
  marginBottom: "var(--ds-space-200, 16px)",
17
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
18
18
  '.extension-title': {
@@ -1,9 +1,9 @@
1
- ._11c81a4x{font:var(--ds-font-body-small,9pt)}
2
1
  ._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
+ ._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
3
3
  ._19it7tl1{border:var(--_98ihdp)}
4
4
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
5
5
  ._2rko14xi{border-radius:var(--ds-radius-small,4px) var(--ds-radius-small,4px) 0 0}
6
- ._n7zl7tl1{border-bottom:var(--_98ihdp)}
6
+ ._n7zl1q32{border-bottom:var(--_1e0q5w0)}
7
7
  ._154i1n1a{top:-1px}
8
8
  ._18m915vq{overflow-y:hidden}
9
9
  ._18u0idpf{margin-left:0}
@@ -14,8 +14,8 @@
14
14
  ._1reo15vq{overflow-x:hidden}
15
15
  ._2hwxidpf{margin-right:0}
16
16
  ._6z24egat{tab-size:4}
17
+ ._bfhkhp5a{background-color:var(--ds-surface-raised,#fff)}
17
18
  ._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
18
- ._bfhkrnwa{background-color:var(--ds-surface-raised,#fffdf6)}
19
19
  ._bfhkvuon{background-color:var(--ds-surface,#fff)}
20
20
  ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
21
21
  ._ca0qutpp{padding-top:var(--ds-space-150,9pt)}
@@ -27,6 +27,7 @@ export function UnknownMacroPlaceholder(_ref) {
27
27
  var value = String((_param$value = param === null || param === void 0 ? void 0 : param.value) !== null && _param$value !== void 0 ? _param$value : '').trim();
28
28
  return "".concat(key, " = ").concat(value);
29
29
  };
30
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
30
31
  var visibleParams = Object.entries(macroParams).filter(function (_ref2) {
31
32
  var _ref3 = _slicedToArray(_ref2, 1),
32
33
  key = _ref3[0];
@@ -44,14 +45,14 @@ export function UnknownMacroPlaceholder(_ref) {
44
45
  });
45
46
  return /*#__PURE__*/React.createElement("section", {
46
47
  "aria-label": intl.formatMessage(messages.unknownMacroPlaceholderAriaLabel),
47
- className: ax(["_19it7tl1 _2rko12b0 _1reo15vq _18m915vq _bfhkrnwa"]),
48
+ className: ax(["_19it7tl1 _2rko12b0 _1reo15vq _18m915vq _bfhkhp5a"]),
48
49
  style: {
49
50
  "--_98ihdp": ix("1px solid ".concat(neutralBorder))
50
51
  }
51
52
  }, /*#__PURE__*/React.createElement("div", {
52
- className: ax(["_2rko14xi _11c81a4x _n7zl7tl1 _bfhki8nm _ca0qu2gc _u5f3pxbi _n3td1b66 _19bvpxbi _kqswh2mm _154i1n1a"]),
53
+ className: ax(["_2rko14xi _11c8wadc _n7zl1q32 _bfhki8nm _ca0qu2gc _u5f3pxbi _n3td1b66 _19bvpxbi _kqswh2mm _154i1n1a"]),
53
54
  style: {
54
- "--_98ihdp": ix("1px solid ".concat(neutralBorder))
55
+ "--_1e0q5w0": ix("var(--ds-border-width, 1px)".concat(" solid ", neutralBorder))
55
56
  }
56
57
  }, headerText), /*#__PURE__*/React.createElement("div", {
57
58
  className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _bfhkvuon _ca0qutpp _u5f3utpp _n3tdutpp _19bvutpp"])
@@ -274,6 +274,7 @@ export function getAriaKeyshortcuts(keymap) {
274
274
  case 'arrowdown':
275
275
  return 'Arrow Down';
276
276
  default:
277
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
277
278
  return modifier.split('').join(' ');
278
279
  }
279
280
  }).join('+');
@@ -63,6 +63,7 @@ var Dropdown = function Dropdown(_ref) {
63
63
  focusEditor();
64
64
  }, [fireActionClickEvent, focusEditor, onConfigureClickCallback]);
65
65
  return jsx(DropdownMenu, {
66
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
66
67
  trigger: function trigger(_ref3) {
67
68
  var _onClick = _ref3.onClick,
68
69
  triggerRef = _ref3.triggerRef,
@@ -75,7 +76,9 @@ var Dropdown = function Dropdown(_ref) {
75
76
  iconBefore: jsx(ChevronDownIcon, {
76
77
  label: configureLinkLabel,
77
78
  size: "small"
78
- }),
79
+ })
80
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
81
+ ,
79
82
  onClick: function onClick(e) {
80
83
  _onClick === null || _onClick === void 0 || _onClick(e);
81
84
  fireLinkClickEvent();
@@ -912,13 +912,17 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
912
912
  ariaActiveDescendant: ariaActiveDescendant,
913
913
  ariaControls: linkSearchListId,
914
914
  ariaAutoComplete: true,
915
- describedById: screenReaderDescriptionId,
915
+ describedById: screenReaderDescriptionId
916
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
917
+ ,
916
918
  ref: function ref(ele) {
917
919
  return _this3.urlInputContainer = ele;
918
920
  },
919
921
  testId: 'link-url',
920
922
  onSubmit: this.handleSubmit,
921
- onChange: this.updateInput,
923
+ onChange: this.updateInput
924
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
925
+ ,
922
926
  autoFocus: {
923
927
  preventScroll: true
924
928
  },
@@ -941,7 +945,9 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
941
945
  css: [inputLabel, textLabelMargin]
942
946
  }, formatMessage(messages.textVisibleLabel)), jsx("div", {
943
947
  css: [inputWrapper, inputWrapperPosition]
944
- }, jsx(PanelTextInput, {
948
+ }, jsx(PanelTextInput
949
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
950
+ , {
945
951
  ref: function ref(ele) {
946
952
  return _this3.displayTextInputContainer = ele;
947
953
  },
@@ -985,14 +991,17 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
985
991
  onMouseLeave: this.handleMouseLeaveResultItem
986
992
  })));
987
993
  if (expValEquals('platform_editor_a11y_escape_link_dialog', 'isEnabled', true)) {
988
- return jsx(FocusLock, {
989
- returnFocus: {
990
- preventScroll: true
991
- },
992
- focusOptions: {
993
- preventScroll: true
994
- }
995
- }, hyperlinkElement);
994
+ return (
995
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
996
+ jsx(FocusLock, {
997
+ returnFocus: {
998
+ preventScroll: true
999
+ },
1000
+ focusOptions: {
1001
+ preventScroll: true
1002
+ }
1003
+ }, hyperlinkElement)
1004
+ );
996
1005
  }
997
1006
  return hyperlinkElement;
998
1007
  }
@@ -36,9 +36,13 @@ export function HyperlinkAddToolbar(_ref2) {
36
36
  searchSessionId = _ref2.searchSessionId,
37
37
  timesViewed = _ref2.timesViewed,
38
38
  isOffline = _ref2.isOffline;
39
- return /*#__PURE__*/React.createElement(WithProviders, {
39
+ return /*#__PURE__*/React.createElement(WithProviders
40
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
41
+ , {
40
42
  providers: ['activityProvider', 'searchProvider'],
41
- providerFactory: providerFactory,
43
+ providerFactory: providerFactory
44
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
45
+ ,
42
46
  renderNode: function renderNode(_ref3) {
43
47
  var activityProvider = _ref3.activityProvider,
44
48
  searchProvider = _ref3.searchProvider;
@@ -50,7 +50,9 @@ var LinkSearchList = function LinkSearchList(_ref) {
50
50
  return jsx(ForwardedLinkSearchListItemNextWithIntl, {
51
51
  id: "link-search-list-item-".concat(index),
52
52
  item: item,
53
- selected: selectedIndex === index,
53
+ selected: selectedIndex === index
54
+ // eslint-disable-next-line @atlassian/perf-linting/detect-unnecessary-rerenders, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
55
+ ,
54
56
  onFocus: function onFocus() {
55
57
  return _onFocus === null || _onFocus === void 0 ? void 0 : _onFocus(index);
56
58
  },
@@ -59,7 +61,9 @@ var LinkSearchList = function LinkSearchList(_ref) {
59
61
  onMouseEnter: onMouseEnter,
60
62
  onMouseLeave: onMouseLeave,
61
63
  onSelect: onSelect,
62
- key: item.objectId,
64
+ key: item.objectId
65
+ // eslint-disable-next-line @atlassian/perf-linting/detect-unnecessary-rerenders, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
66
+ ,
63
67
  ref: function ref(el) {
64
68
  return listItemRefCallback === null || listItemRefCallback === void 0 ? void 0 : listItemRefCallback(el, item.objectId);
65
69
  }
@@ -24,7 +24,7 @@ export default function withActivityProvider(WrappedComponent) {
24
24
  _this = _callSuper(this, WithActivityProvider, [].concat(args));
25
25
  _defineProperty(_this, "renderNode", function (providers) {
26
26
  var _ref = _this.props,
27
- providerFactory = _ref.providerFactory,
27
+ _providerFactory = _ref.providerFactory,
28
28
  props = _objectWithoutProperties(_ref, _excluded);
29
29
  var activityProvider = providers.activityProvider;
30
30
 
@@ -41,7 +41,9 @@ export default function withActivityProvider(WrappedComponent) {
41
41
  key: "render",
42
42
  value: function render() {
43
43
  var providerFactory = this.props.providerFactory;
44
- return /*#__PURE__*/React.createElement(WithProviders, {
44
+ return /*#__PURE__*/React.createElement(WithProviders
45
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
46
+ , {
45
47
  providers: ['activityProvider'],
46
48
  providerFactory: providerFactory,
47
49
  renderNode: this.renderNode