@atlaskit/renderer 112.7.11 → 112.7.13

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 (263) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/actions/index.js +6 -0
  3. package/dist/cjs/actions/matches-utils.js +6 -0
  4. package/dist/cjs/analytics/unsupported-content.js +7 -0
  5. package/dist/cjs/react/index.js +61 -10
  6. package/dist/cjs/react/marks/alignment.js +5 -5
  7. package/dist/cjs/react/marks/annotation.js +8 -3
  8. package/dist/cjs/react/marks/breakout.js +2 -0
  9. package/dist/cjs/react/marks/code.js +2 -0
  10. package/dist/cjs/react/marks/confluence-inline-comment.js +2 -0
  11. package/dist/cjs/react/marks/data-consumer.js +2 -0
  12. package/dist/cjs/react/marks/em.js +2 -0
  13. package/dist/cjs/react/marks/fragment.js +2 -0
  14. package/dist/cjs/react/marks/index.js +3 -0
  15. package/dist/cjs/react/marks/link.js +2 -0
  16. package/dist/cjs/react/marks/strike.js +5 -8
  17. package/dist/cjs/react/marks/strong.js +2 -0
  18. package/dist/cjs/react/marks/subsup.js +5 -0
  19. package/dist/cjs/react/marks/underline.js +2 -0
  20. package/dist/cjs/react/marks/unsupportedMark.js +2 -0
  21. package/dist/cjs/react/marks/unsupportedNodeAttribute.js +2 -0
  22. package/dist/cjs/react/nodes/TableStickyScrollbar.js +17 -1
  23. package/dist/cjs/react/nodes/blockCard.js +6 -0
  24. package/dist/cjs/react/nodes/bodiedExtension.js +8 -2
  25. package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +7 -3
  26. package/dist/cjs/react/nodes/codeBlock/windowedCodeBlock.js +5 -1
  27. package/dist/cjs/react/nodes/date.js +13 -11
  28. package/dist/cjs/react/nodes/decisionList.js +2 -0
  29. package/dist/cjs/react/nodes/doc.js +5 -0
  30. package/dist/cjs/react/nodes/embedCard.js +42 -36
  31. package/dist/cjs/react/nodes/emoji.js +13 -9
  32. package/dist/cjs/react/nodes/extension.js +8 -2
  33. package/dist/cjs/react/nodes/fallback.js +6 -1
  34. package/dist/cjs/react/nodes/heading-anchor.js +9 -6
  35. package/dist/cjs/react/nodes/heading.js +16 -11
  36. package/dist/cjs/react/nodes/index.js +12 -1
  37. package/dist/cjs/react/nodes/inline.js +2 -0
  38. package/dist/cjs/react/nodes/inlineCard.js +8 -0
  39. package/dist/cjs/react/nodes/inlineExtension.js +20 -15
  40. package/dist/cjs/react/nodes/media/index.js +17 -1
  41. package/dist/cjs/react/nodes/mediaGroup.js +21 -7
  42. package/dist/cjs/react/nodes/mediaInline.js +2 -0
  43. package/dist/cjs/react/nodes/mediaSingle/index.js +21 -0
  44. package/dist/cjs/react/nodes/mention.js +13 -8
  45. package/dist/cjs/react/nodes/multiBodiedExtension.js +10 -2
  46. package/dist/cjs/react/nodes/orderedList.js +2 -0
  47. package/dist/cjs/react/nodes/panel.js +3 -1
  48. package/dist/cjs/react/nodes/paragraph.js +2 -0
  49. package/dist/cjs/react/nodes/status.js +16 -11
  50. package/dist/cjs/react/nodes/table/colgroup.js +6 -2
  51. package/dist/cjs/react/nodes/table/sticky.js +13 -0
  52. package/dist/cjs/react/nodes/table.js +31 -2
  53. package/dist/cjs/react/nodes/tableCell.js +18 -1
  54. package/dist/cjs/react/nodes/tableRow.js +2 -0
  55. package/dist/cjs/react/nodes/task-item-with-providers.js +3 -0
  56. package/dist/cjs/react/nodes/taskItem.js +4 -0
  57. package/dist/cjs/react/nodes/taskList.js +2 -0
  58. package/dist/cjs/react/utils/render-text-segments.js +2 -0
  59. package/dist/cjs/react/utils/segment-text.js +4 -1
  60. package/dist/cjs/react/utils/use-select-all-trap.js +11 -0
  61. package/dist/cjs/render-document.js +11 -2
  62. package/dist/cjs/steps/index.js +6 -1
  63. package/dist/cjs/text/index.js +3 -0
  64. package/dist/cjs/ui/Expand.js +7 -3
  65. package/dist/cjs/ui/ExtensionRenderer.js +3 -0
  66. package/dist/cjs/ui/MediaCard.js +34 -19
  67. package/dist/cjs/ui/Renderer/ErrorBoundary.js +4 -0
  68. package/dist/cjs/ui/Renderer/breakout-ssr.js +28 -2
  69. package/dist/cjs/ui/Renderer/count-nodes.js +2 -0
  70. package/dist/cjs/ui/Renderer/index.js +68 -7
  71. package/dist/cjs/ui/Renderer/style.js +12 -7
  72. package/dist/cjs/ui/Renderer/truncated-wrapper.js +3 -0
  73. package/dist/cjs/ui/SmartCardStorage.js +6 -1
  74. package/dist/cjs/ui/annotations/context.js +3 -0
  75. package/dist/cjs/ui/annotations/draft/component.js +24 -12
  76. package/dist/cjs/ui/annotations/element/mark.js +5 -0
  77. package/dist/cjs/ui/annotations/element/useInlineAnnotationProps.js +7 -1
  78. package/dist/cjs/ui/annotations/hooks/user-selection.js +9 -1
  79. package/dist/cjs/ui/annotations/hover/mounter.js +4 -1
  80. package/dist/cjs/ui/annotations/selection/mounter.js +4 -1
  81. package/dist/cjs/ui/annotations/wrapper.js +8 -2
  82. package/dist/cjs/utils.js +9 -1
  83. package/dist/es2019/actions/index.js +6 -0
  84. package/dist/es2019/actions/matches-utils.js +6 -0
  85. package/dist/es2019/analytics/unsupported-content.js +8 -0
  86. package/dist/es2019/react/index.js +67 -10
  87. package/dist/es2019/react/marks/alignment.js +5 -5
  88. package/dist/es2019/react/marks/annotation.js +8 -3
  89. package/dist/es2019/react/marks/breakout.js +2 -0
  90. package/dist/es2019/react/marks/code.js +2 -0
  91. package/dist/es2019/react/marks/confluence-inline-comment.js +2 -0
  92. package/dist/es2019/react/marks/data-consumer.js +2 -0
  93. package/dist/es2019/react/marks/em.js +2 -0
  94. package/dist/es2019/react/marks/fragment.js +2 -0
  95. package/dist/es2019/react/marks/index.js +3 -0
  96. package/dist/es2019/react/marks/link.js +2 -0
  97. package/dist/es2019/react/marks/strike.js +5 -8
  98. package/dist/es2019/react/marks/strong.js +2 -0
  99. package/dist/es2019/react/marks/subsup.js +5 -0
  100. package/dist/es2019/react/marks/underline.js +2 -0
  101. package/dist/es2019/react/marks/unsupportedMark.js +2 -0
  102. package/dist/es2019/react/marks/unsupportedNodeAttribute.js +2 -0
  103. package/dist/es2019/react/nodes/TableStickyScrollbar.js +16 -1
  104. package/dist/es2019/react/nodes/blockCard.js +6 -0
  105. package/dist/es2019/react/nodes/bodiedExtension.js +8 -2
  106. package/dist/es2019/react/nodes/codeBlock/components/lightWeightCodeBlock.js +4 -1
  107. package/dist/es2019/react/nodes/codeBlock/windowedCodeBlock.js +4 -1
  108. package/dist/es2019/react/nodes/date.js +13 -11
  109. package/dist/es2019/react/nodes/decisionList.js +2 -0
  110. package/dist/es2019/react/nodes/doc.js +6 -0
  111. package/dist/es2019/react/nodes/embedCard.js +42 -36
  112. package/dist/es2019/react/nodes/emoji.js +13 -9
  113. package/dist/es2019/react/nodes/extension.js +8 -2
  114. package/dist/es2019/react/nodes/fallback.js +6 -1
  115. package/dist/es2019/react/nodes/heading-anchor.js +10 -6
  116. package/dist/es2019/react/nodes/heading.js +16 -11
  117. package/dist/es2019/react/nodes/index.js +13 -1
  118. package/dist/es2019/react/nodes/inline.js +3 -0
  119. package/dist/es2019/react/nodes/inlineCard.js +8 -0
  120. package/dist/es2019/react/nodes/inlineExtension.js +21 -16
  121. package/dist/es2019/react/nodes/media/index.js +17 -1
  122. package/dist/es2019/react/nodes/mediaGroup.js +14 -1
  123. package/dist/es2019/react/nodes/mediaInline.js +2 -0
  124. package/dist/es2019/react/nodes/mediaSingle/index.js +21 -0
  125. package/dist/es2019/react/nodes/mention.js +13 -8
  126. package/dist/es2019/react/nodes/multiBodiedExtension.js +10 -2
  127. package/dist/es2019/react/nodes/orderedList.js +2 -0
  128. package/dist/es2019/react/nodes/panel.js +3 -1
  129. package/dist/es2019/react/nodes/paragraph.js +2 -0
  130. package/dist/es2019/react/nodes/status.js +16 -11
  131. package/dist/es2019/react/nodes/table/colgroup.js +6 -2
  132. package/dist/es2019/react/nodes/table/sticky.js +13 -0
  133. package/dist/es2019/react/nodes/table.js +32 -3
  134. package/dist/es2019/react/nodes/tableCell.js +18 -1
  135. package/dist/es2019/react/nodes/tableRow.js +2 -0
  136. package/dist/es2019/react/nodes/task-item-with-providers.js +3 -0
  137. package/dist/es2019/react/nodes/taskItem.js +4 -0
  138. package/dist/es2019/react/nodes/taskList.js +2 -0
  139. package/dist/es2019/react/utils/render-text-segments.js +2 -0
  140. package/dist/es2019/react/utils/segment-text.js +4 -1
  141. package/dist/es2019/react/utils/use-select-all-trap.js +11 -0
  142. package/dist/es2019/render-document.js +11 -2
  143. package/dist/es2019/steps/index.js +6 -1
  144. package/dist/es2019/text/index.js +3 -0
  145. package/dist/es2019/ui/Expand.js +7 -3
  146. package/dist/es2019/ui/ExtensionRenderer.js +3 -0
  147. package/dist/es2019/ui/MediaCard.js +34 -19
  148. package/dist/es2019/ui/Renderer/ErrorBoundary.js +4 -0
  149. package/dist/es2019/ui/Renderer/breakout-ssr.js +28 -2
  150. package/dist/es2019/ui/Renderer/count-nodes.js +3 -0
  151. package/dist/es2019/ui/Renderer/index.js +68 -7
  152. package/dist/es2019/ui/Renderer/style.js +47 -37
  153. package/dist/es2019/ui/Renderer/truncated-wrapper.js +3 -0
  154. package/dist/es2019/ui/SmartCardStorage.js +6 -1
  155. package/dist/es2019/ui/annotations/context.js +3 -0
  156. package/dist/es2019/ui/annotations/draft/component.js +24 -12
  157. package/dist/es2019/ui/annotations/element/mark.js +5 -0
  158. package/dist/es2019/ui/annotations/element/useInlineAnnotationProps.js +7 -1
  159. package/dist/es2019/ui/annotations/hooks/user-selection.js +9 -1
  160. package/dist/es2019/ui/annotations/hover/mounter.js +4 -1
  161. package/dist/es2019/ui/annotations/selection/mounter.js +4 -1
  162. package/dist/es2019/ui/annotations/wrapper.js +8 -2
  163. package/dist/es2019/utils.js +12 -1
  164. package/dist/esm/actions/index.js +6 -0
  165. package/dist/esm/actions/matches-utils.js +6 -0
  166. package/dist/esm/analytics/unsupported-content.js +8 -0
  167. package/dist/esm/react/index.js +61 -10
  168. package/dist/esm/react/marks/alignment.js +5 -5
  169. package/dist/esm/react/marks/annotation.js +8 -3
  170. package/dist/esm/react/marks/breakout.js +2 -0
  171. package/dist/esm/react/marks/code.js +2 -0
  172. package/dist/esm/react/marks/confluence-inline-comment.js +2 -0
  173. package/dist/esm/react/marks/data-consumer.js +2 -0
  174. package/dist/esm/react/marks/em.js +2 -0
  175. package/dist/esm/react/marks/fragment.js +2 -0
  176. package/dist/esm/react/marks/index.js +3 -0
  177. package/dist/esm/react/marks/link.js +2 -0
  178. package/dist/esm/react/marks/strike.js +5 -8
  179. package/dist/esm/react/marks/strong.js +2 -0
  180. package/dist/esm/react/marks/subsup.js +5 -0
  181. package/dist/esm/react/marks/underline.js +2 -0
  182. package/dist/esm/react/marks/unsupportedMark.js +2 -0
  183. package/dist/esm/react/marks/unsupportedNodeAttribute.js +2 -0
  184. package/dist/esm/react/nodes/TableStickyScrollbar.js +17 -1
  185. package/dist/esm/react/nodes/blockCard.js +6 -0
  186. package/dist/esm/react/nodes/bodiedExtension.js +8 -2
  187. package/dist/esm/react/nodes/codeBlock/components/lightWeightCodeBlock.js +7 -3
  188. package/dist/esm/react/nodes/codeBlock/windowedCodeBlock.js +5 -1
  189. package/dist/esm/react/nodes/date.js +13 -11
  190. package/dist/esm/react/nodes/decisionList.js +2 -0
  191. package/dist/esm/react/nodes/doc.js +6 -0
  192. package/dist/esm/react/nodes/embedCard.js +42 -36
  193. package/dist/esm/react/nodes/emoji.js +13 -9
  194. package/dist/esm/react/nodes/extension.js +8 -2
  195. package/dist/esm/react/nodes/fallback.js +6 -1
  196. package/dist/esm/react/nodes/heading-anchor.js +9 -6
  197. package/dist/esm/react/nodes/heading.js +16 -11
  198. package/dist/esm/react/nodes/index.js +13 -1
  199. package/dist/esm/react/nodes/inline.js +3 -0
  200. package/dist/esm/react/nodes/inlineCard.js +8 -0
  201. package/dist/esm/react/nodes/inlineExtension.js +20 -15
  202. package/dist/esm/react/nodes/media/index.js +17 -1
  203. package/dist/esm/react/nodes/mediaGroup.js +21 -7
  204. package/dist/esm/react/nodes/mediaInline.js +2 -0
  205. package/dist/esm/react/nodes/mediaSingle/index.js +21 -0
  206. package/dist/esm/react/nodes/mention.js +13 -8
  207. package/dist/esm/react/nodes/multiBodiedExtension.js +10 -2
  208. package/dist/esm/react/nodes/orderedList.js +2 -0
  209. package/dist/esm/react/nodes/panel.js +3 -1
  210. package/dist/esm/react/nodes/paragraph.js +2 -0
  211. package/dist/esm/react/nodes/status.js +16 -11
  212. package/dist/esm/react/nodes/table/colgroup.js +6 -2
  213. package/dist/esm/react/nodes/table/sticky.js +13 -0
  214. package/dist/esm/react/nodes/table.js +31 -2
  215. package/dist/esm/react/nodes/tableCell.js +18 -1
  216. package/dist/esm/react/nodes/tableRow.js +2 -0
  217. package/dist/esm/react/nodes/task-item-with-providers.js +3 -0
  218. package/dist/esm/react/nodes/taskItem.js +4 -0
  219. package/dist/esm/react/nodes/taskList.js +2 -0
  220. package/dist/esm/react/utils/render-text-segments.js +2 -0
  221. package/dist/esm/react/utils/segment-text.js +4 -1
  222. package/dist/esm/react/utils/use-select-all-trap.js +11 -0
  223. package/dist/esm/render-document.js +11 -2
  224. package/dist/esm/steps/index.js +6 -1
  225. package/dist/esm/text/index.js +3 -0
  226. package/dist/esm/ui/Expand.js +7 -3
  227. package/dist/esm/ui/ExtensionRenderer.js +3 -0
  228. package/dist/esm/ui/MediaCard.js +34 -19
  229. package/dist/esm/ui/Renderer/ErrorBoundary.js +4 -0
  230. package/dist/esm/ui/Renderer/breakout-ssr.js +28 -2
  231. package/dist/esm/ui/Renderer/count-nodes.js +3 -0
  232. package/dist/esm/ui/Renderer/index.js +68 -7
  233. package/dist/esm/ui/Renderer/style.js +12 -7
  234. package/dist/esm/ui/Renderer/truncated-wrapper.js +3 -0
  235. package/dist/esm/ui/SmartCardStorage.js +6 -1
  236. package/dist/esm/ui/annotations/context.js +3 -0
  237. package/dist/esm/ui/annotations/draft/component.js +24 -12
  238. package/dist/esm/ui/annotations/element/mark.js +5 -0
  239. package/dist/esm/ui/annotations/element/useInlineAnnotationProps.js +7 -1
  240. package/dist/esm/ui/annotations/hooks/user-selection.js +9 -1
  241. package/dist/esm/ui/annotations/hover/mounter.js +4 -1
  242. package/dist/esm/ui/annotations/selection/mounter.js +4 -1
  243. package/dist/esm/ui/annotations/wrapper.js +8 -2
  244. package/dist/esm/utils.js +10 -1
  245. package/dist/types/analytics/events.d.ts +1 -2
  246. package/dist/types/react/marks/confluence-inline-comment.d.ts +1 -1
  247. package/dist/types/react/nodes/decisionList.d.ts +1 -1
  248. package/dist/types/react/nodes/index.d.ts +1 -1
  249. package/dist/types/react/nodes/taskItem.d.ts +1 -1
  250. package/dist/types/react/nodes/taskList.d.ts +1 -1
  251. package/dist/types/react/types.d.ts +2 -2
  252. package/dist/types/utils.d.ts +1 -2
  253. package/dist/types-ts4.5/analytics/events.d.ts +1 -2
  254. package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +1 -1
  255. package/dist/types-ts4.5/react/nodes/decisionList.d.ts +1 -1
  256. package/dist/types-ts4.5/react/nodes/index.d.ts +1 -1
  257. package/dist/types-ts4.5/react/nodes/taskItem.d.ts +1 -1
  258. package/dist/types-ts4.5/react/nodes/taskList.d.ts +1 -1
  259. package/dist/types-ts4.5/react/types.d.ts +2 -2
  260. package/dist/types-ts4.5/utils.d.ts +1 -2
  261. package/docs/0-intro.tsx +14 -1
  262. package/package.json +2 -2
  263. package/tsconfig.json +0 -1
@@ -1,5 +1,7 @@
1
1
  import React, { PureComponent, Children } from 'react';
2
2
  import { DecisionList as AkDecisionList } from '@atlaskit/task-decision';
3
+ // Ignored via go/ees005
4
+ // eslint-disable-next-line @repo/internal/react/no-class-components
3
5
  export default class DecisionList extends PureComponent {
4
6
  render() {
5
7
  const {
@@ -1,12 +1,18 @@
1
1
  import React from 'react';
2
2
  import { RendererCssClassName } from '../../consts';
3
3
  import { useSelectAllTrap } from '../utils/use-select-all-trap';
4
+
5
+ // Ignored via go/ees005
6
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
7
  export default function Doc(props) {
5
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
6
9
  return /*#__PURE__*/React.createElement("div", {
7
10
  className: RendererCssClassName.DOCUMENT
8
11
  }, props.children);
9
12
  }
13
+
14
+ // Ignored via go/ees005
15
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
10
16
  export function DocWithSelectAllTrap(props) {
11
17
  return /*#__PURE__*/React.createElement("div", {
12
18
  ref: useSelectAllTrap()
@@ -134,41 +134,47 @@ export default function EmbedCard(props) {
134
134
  throw err;
135
135
  }
136
136
  };
137
- return jsx(CardErrorBoundary, _extends({
138
- unsupportedComponent: UnsupportedBlock
139
- }, cardProps), jsx(EmbedResizeMessageListener, {
140
- embedIframeRef: embedIframeRef,
141
- onHeightUpdate: setLiveHeight
142
- }, jsx(UIMediaSingle, {
143
- css: uiMediaSingleStyles,
144
- layout: layout,
145
- width: originalWidth,
146
- containerWidth: containerWidth,
147
- pctWidth: width,
148
- height: originalHeight,
149
- fullWidthMode: isFullWidth,
150
- nodeType: "embedCard",
151
- lineLength: isInsideOfBlockNode ? containerWidth : lineLength,
152
- hasFallbackContainer: hasPreview,
153
- isInsideOfInlineExtension: isInsideOfInlineExtension
154
- }, jsx("div", {
155
- css: embedCardWrapperStyles
156
- }, jsx("div", {
157
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
158
- className: "embedCardView-content-wrap",
159
- "data-embed-card": true,
160
- "data-layout": layout,
161
- "data-width": width,
162
- "data-card-data": data ? JSON.stringify(data) : undefined,
163
- "data-card-url": url,
164
- "data-card-original-height": originalHeight
165
- }, jsx(Card, _extends({
166
- appearance: "embed"
167
- }, cardProps, {
168
- onResolve: onResolve,
169
- inheritDimensions: true,
170
- embedIframeRef: embedIframeRef,
171
- onError: onError
172
- })))))));
137
+ return (
138
+ // Ignored via go/ees005
139
+ // eslint-disable-next-line react/jsx-props-no-spreading
140
+ jsx(CardErrorBoundary, _extends({
141
+ unsupportedComponent: UnsupportedBlock
142
+ }, cardProps), jsx(EmbedResizeMessageListener, {
143
+ embedIframeRef: embedIframeRef,
144
+ onHeightUpdate: setLiveHeight
145
+ }, jsx(UIMediaSingle, {
146
+ css: uiMediaSingleStyles,
147
+ layout: layout,
148
+ width: originalWidth,
149
+ containerWidth: containerWidth,
150
+ pctWidth: width,
151
+ height: originalHeight,
152
+ fullWidthMode: isFullWidth,
153
+ nodeType: "embedCard",
154
+ lineLength: isInsideOfBlockNode ? containerWidth : lineLength,
155
+ hasFallbackContainer: hasPreview,
156
+ isInsideOfInlineExtension: isInsideOfInlineExtension
157
+ }, jsx("div", {
158
+ css: embedCardWrapperStyles
159
+ }, jsx("div", {
160
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
161
+ className: "embedCardView-content-wrap",
162
+ "data-embed-card": true,
163
+ "data-layout": layout,
164
+ "data-width": width,
165
+ "data-card-data": data ? JSON.stringify(data) : undefined,
166
+ "data-card-url": url,
167
+ "data-card-original-height": originalHeight
168
+ }, jsx(Card, _extends({
169
+ appearance: "embed"
170
+ // Ignored via go/ees005
171
+ // eslint-disable-next-line react/jsx-props-no-spreading
172
+ }, cardProps, {
173
+ onResolve: onResolve,
174
+ inheritDimensions: true,
175
+ embedIframeRef: embedIframeRef,
176
+ onError: onError
177
+ })))))))
178
+ );
173
179
  }));
174
180
  }
@@ -85,15 +85,19 @@ function EmojiItem(props) {
85
85
  } = props;
86
86
  const inlineAnnotationProps = useInlineAnnotationProps(props);
87
87
  if (fg('editor_inline_comments_on_inline_nodes')) {
88
- return jsx("span", inlineAnnotationProps, jsx(EmojiNode, {
89
- allowTextFallback: true,
90
- id: id,
91
- shortName: shortName,
92
- fallback: text,
93
- providers: providers,
94
- fitToHeight: fitToHeight,
95
- resourceConfig: resourceConfig
96
- }));
88
+ return (
89
+ // Ignored via go/ees005
90
+ // eslint-disable-next-line react/jsx-props-no-spreading
91
+ jsx("span", inlineAnnotationProps, jsx(EmojiNode, {
92
+ allowTextFallback: true,
93
+ id: id,
94
+ shortName: shortName,
95
+ fallback: text,
96
+ providers: providers,
97
+ fitToHeight: fitToHeight,
98
+ resourceConfig: resourceConfig
99
+ }))
100
+ );
97
101
  }
98
102
  return jsx(EmojiNode, {
99
103
  allowTextFallback: true,
@@ -4,7 +4,10 @@ import ExtensionRenderer from '../../ui/ExtensionRenderer';
4
4
  import { overflowShadow, WidthConsumer } from '@atlaskit/editor-common/ui';
5
5
  import { calcBreakoutWidth } from '@atlaskit/editor-common/utils';
6
6
  import { RendererCssClassName } from '../../consts';
7
- export const renderExtension = (content, layout, options = {}, removeOverflow) => {
7
+ export const renderExtension = (content, layout, options = {}, removeOverflow
8
+ // Ignored via go/ees005
9
+ // eslint-disable-next-line @typescript-eslint/max-params
10
+ ) => {
8
11
  const overflowContainerClass = !removeOverflow ? RendererCssClassName.EXTENSION_OVERFLOW_CONTAINER : '';
9
12
 
10
13
  // by default, we assume the extension is at top level, (direct child of doc node)
@@ -36,7 +39,10 @@ const Extension = props => {
36
39
  shadowClassNames,
37
40
  path = []
38
41
  } = props;
39
- return /*#__PURE__*/React.createElement(ExtensionRenderer, _extends({}, props, {
42
+ return /*#__PURE__*/React.createElement(ExtensionRenderer
43
+ // Ignored via go/ees005
44
+ // eslint-disable-next-line react/jsx-props-no-spreading
45
+ , _extends({}, props, {
40
46
  type: "extension"
41
47
  }), ({
42
48
  result
@@ -3,6 +3,8 @@ import React from 'react';
3
3
  import { InlineCard } from './';
4
4
  import { isSafeUrl } from '@atlaskit/adf-schema';
5
5
  import { LazyLoadedDatasourceRenderFailedAnalyticsWrapper } from '@atlaskit/link-datasource';
6
+ // Ignored via go/ees005
7
+ // eslint-disable-next-line @repo/internal/react/no-class-components
6
8
  export class CardErrorBoundary extends React.PureComponent {
7
9
  constructor(...args) {
8
10
  super(...args);
@@ -45,7 +47,10 @@ export class CardErrorBoundary extends React.PureComponent {
45
47
  return /*#__PURE__*/React.createElement(LazyLoadedDatasourceRenderFailedAnalyticsWrapper, {
46
48
  datasourceId: datasourceId,
47
49
  error: this.state.error
48
- }, /*#__PURE__*/React.createElement(InlineCard, this.props));
50
+ }, /*#__PURE__*/React.createElement(InlineCard
51
+ // Ignored via go/ees005
52
+ // eslint-disable-next-line react/jsx-props-no-spreading
53
+ , this.props));
49
54
  } else {
50
55
  return /*#__PURE__*/React.createElement(LazyLoadedDatasourceRenderFailedAnalyticsWrapper, {
51
56
  datasourceId: datasourceId,
@@ -19,13 +19,11 @@ const CopyAnchorWrapperWithRef = /*#__PURE__*/React.forwardRef((props, ref) => {
19
19
  children,
20
20
  ...rest
21
21
  } = props;
22
- return (
22
+ return jsx("span", _extends({}, rest, {
23
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
24
- jsx("span", _extends({}, rest, {
25
- className: HeadingAnchorWrapperClassName,
26
- ref: ref
27
- }), children)
28
- );
24
+ className: HeadingAnchorWrapperClassName,
25
+ ref: ref
26
+ }), children);
29
27
  });
30
28
  const copyAnchorButtonStyles = css({
31
29
  display: 'inline',
@@ -36,6 +34,12 @@ const copyAnchorButtonStyles = css({
36
34
  cursor: 'pointer',
37
35
  right: 0
38
36
  });
37
+
38
+ // Ignored via go/ees005
39
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
40
+
41
+ // Ignored via go/ees005
42
+ // eslint-disable-next-line @repo/internal/react/no-class-components
39
43
  class HeadingAnchor extends React.PureComponent {
40
44
  constructor(...args) {
41
45
  super(...args);
@@ -50,16 +50,21 @@ function Heading(props) {
50
50
  const isRightAligned = hasRightAlignmentMark(marks);
51
51
  const enableNestedHeaderLinks = allowHeadingAnchorLinks && allowHeadingAnchorLinks.allowNestedHeaderLinks;
52
52
  const headingIdToUse = invisible ? undefined : headingId;
53
- return /*#__PURE__*/React.createElement(HX, _extends({
54
- id: headingIdToUse
55
- }, dataAttributes), /*#__PURE__*/React.createElement(React.Fragment, null, showAnchorLink && headingId && isRightAligned && /*#__PURE__*/React.createElement(WrappedHeadingAnchor, {
56
- level: props.level,
57
- enableNestedHeaderLinks: enableNestedHeaderLinks,
58
- headingId: headingId
59
- }), props.children, showAnchorLink && headingId && !isRightAligned && /*#__PURE__*/React.createElement(WrappedHeadingAnchor, {
60
- level: props.level,
61
- enableNestedHeaderLinks: enableNestedHeaderLinks,
62
- headingId: headingId
63
- })));
53
+ return (
54
+ /*#__PURE__*/
55
+ // Ignored via go/ees005
56
+ // eslint-disable-next-line react/jsx-props-no-spreading
57
+ React.createElement(HX, _extends({
58
+ id: headingIdToUse
59
+ }, dataAttributes), /*#__PURE__*/React.createElement(React.Fragment, null, showAnchorLink && headingId && isRightAligned && /*#__PURE__*/React.createElement(WrappedHeadingAnchor, {
60
+ level: props.level,
61
+ enableNestedHeaderLinks: enableNestedHeaderLinks,
62
+ headingId: headingId
63
+ }), props.children, showAnchorLink && headingId && !isRightAligned && /*#__PURE__*/React.createElement(WrappedHeadingAnchor, {
64
+ level: props.level,
65
+ enableNestedHeaderLinks: enableNestedHeaderLinks,
66
+ headingId: headingId
67
+ })))
68
+ );
64
69
  }
65
70
  export default Heading;
@@ -25,6 +25,10 @@ import { TableCell, TableHeader } from './tableCell';
25
25
  import TableRow from './tableRow';
26
26
  import UnknownBlock from './unknownBlock';
27
27
  import { UnsupportedBlock, UnsupportedInline } from '@atlaskit/editor-common/ui';
28
+
29
+ // Ignored via go/ees005
30
+ // eslint-disable-next-line import/no-named-as-default
31
+
28
32
  const WindowedCodeBlock = Loadable({
29
33
  loader: () => import( /* webpackChunkName: "@atlaskit-internal_renderer-node_WindowedCodeBlock" */
30
34
  './codeBlock/windowedCodeBlock').then(mod => mod.default),
@@ -165,7 +169,10 @@ export const nodeToReact = {
165
169
  nestedExpand: Expand,
166
170
  embedCard: EmbedCard
167
171
  };
168
- export const toReact = (node, flags, nodeComponents) => {
172
+ export const toReact = (node, flags, nodeComponents
173
+ // Ignored via go/ees005
174
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
175
+ ) => {
169
176
  if (node.type.name === 'doc' && (flags === null || flags === void 0 ? void 0 : flags.allowSelectAllTrap) === true) {
170
177
  return DocWithSelectAllTrap;
171
178
  }
@@ -235,6 +242,8 @@ export const mergeTextNodes = nodes => {
235
242
  // Append node to previous node, if it was a text wrapper
236
243
  if (acc.length > 0 && isTextWrapper(acc[acc.length - 1])) {
237
244
  const textWrapper = acc[acc.length - 1];
245
+ // Ignored via go/ees005
246
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
238
247
  textWrapper.content.push(current);
239
248
  textWrapper.nodeSize += current.nodeSize;
240
249
  } else {
@@ -258,6 +267,9 @@ export const isTextWrapper = node => {
258
267
  export function isTextNode(node) {
259
268
  return node.type.name === 'text';
260
269
  }
270
+
271
+ // Ignored via go/ees005
272
+ // eslint-disable-next-line require-unicode-regexp
261
273
  const whitespaceRegex = /^\s*$/;
262
274
 
263
275
  /**
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
+
3
+ // Ignored via go/ees005
4
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2
5
  export default function Inline(props) {
3
6
  const {
4
7
  children
@@ -51,6 +51,8 @@ const InlineCard = props => {
51
51
  "data-inline-card": true,
52
52
  "data-card-data": data ? JSON.stringify(data) : undefined,
53
53
  "data-card-url": url
54
+ // Ignored via go/ees005
55
+ // eslint-disable-next-line react/jsx-props-no-spreading
54
56
  }, inlineAnnotationProps), jsx(AnalyticsContext, {
55
57
  data: analyticsData
56
58
  }, jsx(CardSSR, {
@@ -86,13 +88,19 @@ const InlineCard = props => {
86
88
  "data-inline-card": true,
87
89
  "data-card-data": data ? JSON.stringify(data) : undefined,
88
90
  "data-card-url": url
91
+ // Ignored via go/ees005
92
+ // eslint-disable-next-line react/jsx-props-no-spreading
89
93
  }, inlineAnnotationProps), jsx(CardErrorBoundary, _extends({
90
94
  unsupportedComponent: UnsupportedInline
95
+ // Ignored via go/ees005
96
+ // eslint-disable-next-line react/jsx-props-no-spreading
91
97
  }, cardProps), jsx(Card, _extends({
92
98
  appearance: "inline",
93
99
  showHoverPreview: !hideHoverPreview,
94
100
  showAuthTooltip: showAuthTooltip,
95
101
  actionOptions: actionOptions
102
+ // Ignored via go/ees005
103
+ // eslint-disable-next-line react/jsx-props-no-spreading
96
104
  }, cardProps, {
97
105
  onResolve: data => {
98
106
  if (!data.url || !data.title) {
@@ -5,23 +5,28 @@ const InlineExtension = props => {
5
5
  const {
6
6
  text
7
7
  } = props;
8
- return /*#__PURE__*/React.createElement(ExtensionRenderer, _extends({}, props, {
9
- type: "inlineExtension"
10
- }), ({
11
- result
12
- }) => {
13
- try {
14
- // Return the result directly if it's a valid JSX.Element
15
- if (result && /*#__PURE__*/React.isValidElement(result)) {
16
- return /*#__PURE__*/React.createElement("span", null, result);
8
+ return (
9
+ /*#__PURE__*/
10
+ // Ignored via go/ees005
11
+ // eslint-disable-next-line react/jsx-props-no-spreading
12
+ React.createElement(ExtensionRenderer, _extends({}, props, {
13
+ type: "inlineExtension"
14
+ }), ({
15
+ result
16
+ }) => {
17
+ try {
18
+ // Return the result directly if it's a valid JSX.Element
19
+ if (result && /*#__PURE__*/React.isValidElement(result)) {
20
+ return /*#__PURE__*/React.createElement("span", null, result);
21
+ }
22
+ } catch (e) {
23
+ /** We don't want this error to block renderer */
24
+ /** We keep rendering the default content */
17
25
  }
18
- } catch (e) {
19
- /** We don't want this error to block renderer */
20
- /** We keep rendering the default content */
21
- }
22
26
 
23
- // Always return default content if anything goes wrong
24
- return /*#__PURE__*/React.createElement("span", null, text || 'inlineExtension');
25
- });
27
+ // Always return default content if anything goes wrong
28
+ return /*#__PURE__*/React.createElement("span", null, text || 'inlineExtension');
29
+ })
30
+ );
26
31
  };
27
32
  export default InlineExtension;
@@ -175,6 +175,8 @@ const CommentBadgeWrapper = ({
175
175
  if (updateSubscriber) {
176
176
  updateSubscriber.emit(AnnotationUpdateEvent.ON_ANNOTATION_CLICK, {
177
177
  annotationIds: activeParentIds,
178
+ // Ignored via go/ees005
179
+ // eslint-disable-next-line @atlaskit/editor/no-as-casting
178
180
  eventTarget: e.target,
179
181
  // use mediaSingle here to align with annotation viewed event dispatched in editor
180
182
  eventTargetType: 'mediaSingle',
@@ -187,6 +189,8 @@ const CommentBadgeWrapper = ({
187
189
  onMouseLeave: () => setEntered(false),
188
190
  status: entered ? 'entered' : status,
189
191
  onClick: onClick
192
+ // Ignored via go/ees005
193
+ // eslint-disable-next-line react/jsx-props-no-spreading
190
194
  }, rest));
191
195
  };
192
196
 
@@ -242,6 +246,8 @@ const CommentBadgeNextWrapper = ({
242
246
  if (updateSubscriber) {
243
247
  updateSubscriber.emit(AnnotationUpdateEvent.ON_ANNOTATION_CLICK, {
244
248
  annotationIds: activeParentIds,
249
+ // Ignored via go/ees005
250
+ // eslint-disable-next-line @atlaskit/editor/no-as-casting
245
251
  eventTarget: e.target,
246
252
  // use mediaSingle here to align with annotation viewed event dispatched in editor
247
253
  eventTargetType: 'mediaSingle',
@@ -255,8 +261,13 @@ const CommentBadgeNextWrapper = ({
255
261
  status: entered ? 'entered' : status,
256
262
  onClick: onClick,
257
263
  mediaSingleElement: mediaSingleElement
264
+ // Ignored via go/ees005
265
+ // eslint-disable-next-line react/jsx-props-no-spreading
258
266
  }, rest));
259
267
  };
268
+
269
+ // Ignored via go/ees005
270
+ // eslint-disable-next-line @repo/internal/react/no-class-components
260
271
  class Media extends PureComponent {
261
272
  constructor(props) {
262
273
  super(props);
@@ -325,6 +336,8 @@ class Media extends PureComponent {
325
336
  isDrafting: isDrafting
326
337
  }), jsx(MediaCard, _extends({
327
338
  contextIdentifierProvider: contextIdentifierProvider
339
+ // Ignored via go/ees005
340
+ // eslint-disable-next-line react/jsx-props-no-spreading
328
341
  }, this.props, {
329
342
  shouldOpenMediaViewer: shouldOpenMediaViewer,
330
343
  eventHandlers: eventHandlers,
@@ -404,7 +417,10 @@ const MediaWithDraftAnnotation = props => {
404
417
  'data-annotation-draft-mark': true,
405
418
  'data-renderer-mark': true
406
419
  } : dataAttributes, [applyDraftAnnotation, dataAttributes]);
407
- return jsx(Media, _extends({}, props, {
420
+ return jsx(Media
421
+ // Ignored via go/ees005
422
+ // eslint-disable-next-line react/jsx-props-no-spreading
423
+ , _extends({}, props, {
408
424
  dataAttributes: dataAttributesWithDraftAnnotation,
409
425
  isDrafting: shouldApplyDraftAnnotation
410
426
  }));
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React, { PureComponent } from 'react';
3
3
  import { defaultImageCardDimensions } from '@atlaskit/media-card';
4
4
  import { FilmstripView } from '@atlaskit/media-filmstrip';
5
+ // Ignored via go/ees005
6
+ // eslint-disable-next-line @repo/internal/react/no-class-components
5
7
  export default class MediaGroup extends PureComponent {
6
8
  constructor(...args) {
7
9
  super(...args);
@@ -21,8 +23,13 @@ export default class MediaGroup extends PureComponent {
21
23
  animate,
22
24
  offset
23
25
  }));
24
- _defineProperty(this, "onMediaClick", (cardClickHandler, child, surroundingItems) => (event, analyticsEvent) => {
26
+ _defineProperty(this, "onMediaClick", (cardClickHandler, child, surroundingItems) =>
27
+ // Ignored via go/ees005
28
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
29
+ (event, analyticsEvent) => {
25
30
  const surroundings = {
31
+ // Ignored via go/ees005
32
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
26
33
  collectionName: child.props.collection,
27
34
  list: surroundingItems
28
35
  };
@@ -33,6 +40,8 @@ export default class MediaGroup extends PureComponent {
33
40
  const numChildren = React.Children.count(this.props.children);
34
41
  let content;
35
42
  if (numChildren === 1) {
43
+ // Ignored via go/ees005
44
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
36
45
  const card = React.Children.toArray(this.props.children)[0];
37
46
  switch (card.props.type) {
38
47
  case 'file':
@@ -125,6 +134,8 @@ export default class MediaGroup extends PureComponent {
125
134
  switch (type) {
126
135
  case 'file':
127
136
  return {
137
+ // Ignored via go/ees005
138
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
128
139
  id: id,
129
140
  mediaItemType: type,
130
141
  occurrenceKey,
@@ -134,6 +145,8 @@ export default class MediaGroup extends PureComponent {
134
145
  return undefined;
135
146
  case 'external':
136
147
  return {
148
+ // Ignored via go/ees005
149
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
137
150
  id: id,
138
151
  mediaItemType: 'file',
139
152
  occurrenceKey,
@@ -130,6 +130,8 @@ const MediaInline = props => {
130
130
  const identifier = {
131
131
  id,
132
132
  mediaItemType: 'file',
133
+ // Ignored via go/ees005
134
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
133
135
  collectionName: collection
134
136
  };
135
137
  const mediaClient = useContext(MediaClientContext);
@@ -20,6 +20,9 @@ const isMediaElement = media => {
20
20
  if (!media) {
21
21
  return false;
22
22
  }
23
+
24
+ // Ignored via go/ees005
25
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
23
26
  const {
24
27
  nodeType,
25
28
  type
@@ -31,7 +34,11 @@ const isMediaElement = media => {
31
34
  };
32
35
  const checkForMediaElement = children => {
33
36
  const [media] = React.Children.toArray(children);
37
+ // Ignored via go/ees005
38
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
34
39
  if (media && !isMediaElement(media) && media.props.children) {
40
+ // Ignored via go/ees005
41
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
35
42
  return checkForMediaElement(media.props.children);
36
43
  }
37
44
  return media;
@@ -151,6 +158,8 @@ const MediaSingleWithChildren = props => {
151
158
  const handleMouseEnter = event => {
152
159
  cancelTimeout();
153
160
  if (event.buttons === 0) {
161
+ // Ignored via go/ees005
162
+ // eslint-disable-next-line @atlaskit/editor/no-as-casting
154
163
  setHoverTarget && setHoverTarget(event.target);
155
164
  setIsWithinRange(true);
156
165
  }
@@ -159,12 +168,20 @@ const MediaSingleWithChildren = props => {
159
168
  initiateTimeout();
160
169
  };
161
170
  if (mediaSingleElement && isFullPageRenderer) {
171
+ // Ignored via go/ees005
172
+ // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
162
173
  mediaSingleElement.addEventListener('mouseenter', handleMouseEnter);
174
+ // Ignored via go/ees005
175
+ // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
163
176
  mediaSingleElement.addEventListener('mouseleave', handleMouseLeave);
164
177
  }
165
178
  return () => {
166
179
  if (mediaSingleElement && isFullPageRenderer) {
180
+ // Ignored via go/ees005
181
+ // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
167
182
  mediaSingleElement.removeEventListener('mouseenter', handleMouseEnter);
183
+ // Ignored via go/ees005
184
+ // eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
168
185
  mediaSingleElement.removeEventListener('mouseleave', handleMouseLeave);
169
186
  }
170
187
  };
@@ -219,6 +236,8 @@ const MediaSingle = props => {
219
236
  let media;
220
237
  const [node, caption] = React.Children.toArray(children);
221
238
  if (!isMediaElement(node)) {
239
+ // Ignored via go/ees005
240
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
222
241
  const mediaElement = checkForMediaElement(node.props.children);
223
242
  if (!mediaElement) {
224
243
  return node;
@@ -227,6 +246,8 @@ const MediaSingle = props => {
227
246
  } else {
228
247
  media = node;
229
248
  }
249
+ // Ignored via go/ees005
250
+ // eslint-disable-next-line react/jsx-props-no-spreading
230
251
  return jsx(MediaSingleWithChildren, _extends({}, props, {
231
252
  media: media,
232
253
  caption: caption
@@ -13,14 +13,19 @@ export default /*#__PURE__*/memo(function MentionItem(props) {
13
13
  } = props;
14
14
  const inlineAnnotationProps = useInlineAnnotationProps(props);
15
15
  if (fg('editor_inline_comments_on_inline_nodes')) {
16
- return /*#__PURE__*/React.createElement("span", inlineAnnotationProps, /*#__PURE__*/React.createElement(Mention, {
17
- id: id,
18
- text: text,
19
- accessLevel: accessLevel,
20
- providers: providers,
21
- localId: localId,
22
- eventHandlers: eventHandlers && eventHandlers.mention
23
- }));
16
+ return (
17
+ /*#__PURE__*/
18
+ // Ignored via go/ees005
19
+ // eslint-disable-next-line react/jsx-props-no-spreading
20
+ React.createElement("span", inlineAnnotationProps, /*#__PURE__*/React.createElement(Mention, {
21
+ id: id,
22
+ text: text,
23
+ accessLevel: accessLevel,
24
+ providers: providers,
25
+ localId: localId,
26
+ eventHandlers: eventHandlers && eventHandlers.mention
27
+ }))
28
+ );
24
29
  }
25
30
  return /*#__PURE__*/React.createElement(Mention, {
26
31
  id: id,
@@ -35,6 +35,8 @@ const useMultiBodiedExtensionActions = ({
35
35
  updateParameters(parameters) {
36
36
  return false;
37
37
  },
38
+ // Ignored via go/ees005
39
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
38
40
  getChildren() {
39
41
  return [];
40
42
  }
@@ -60,7 +62,10 @@ const MultiBodiedExtension = props => {
60
62
  path = []
61
63
  } = props;
62
64
  const [activeChildIndex, setActiveChildIndex] = useState(0);
63
- const removeOverflow = React.Children.toArray(children).map(child => /*#__PURE__*/React.isValidElement(child) ? child.props.nodeType === 'table' : false).every(Boolean);
65
+ const removeOverflow = React.Children.toArray(children)
66
+ // Ignored via go/ees005
67
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
68
+ .map(child => /*#__PURE__*/React.isValidElement(child) ? child.props.nodeType === 'table' : false).every(Boolean);
64
69
  const overflowContainerClass = !removeOverflow ? RendererCssClassName.EXTENSION_OVERFLOW_CONTAINER : '';
65
70
  const updateActiveChild = React.useCallback(index => {
66
71
  if (typeof index !== 'number') {
@@ -112,7 +117,10 @@ const MultiBodiedExtension = props => {
112
117
  className: "multiBodiedExtension-navigation",
113
118
  css: navigationCssExtended,
114
119
  "data-testid": "multiBodiedExtension-navigation"
115
- }, jsx(ExtensionRenderer, _extends({}, props, {
120
+ }, jsx(ExtensionRenderer
121
+ // Ignored via go/ees005
122
+ // eslint-disable-next-line react/jsx-props-no-spreading
123
+ , _extends({}, props, {
116
124
  actions: actions,
117
125
  type: "multiBodiedExtension"
118
126
  }), ({
@@ -22,5 +22,7 @@ export default function OrderedList(props) {
22
22
  className: orderedListSelector.substr(1),
23
23
  "data-indent-level": props.path ? getListIndentLevel(props.path) : 1,
24
24
  start: props.start
25
+ // Ignored via go/ees005
26
+ // eslint-disable-next-line react/jsx-props-no-spreading
25
27
  }, extraProps), props.children);
26
28
  }
@@ -42,7 +42,9 @@ const PanelStyled = ({
42
42
  `;
43
43
  }
44
44
  return (
45
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
45
+ // eslint-disable-next-line
46
+ // Ignored via go/ees005
47
+ // eslint-disable-next-line react/jsx-props-no-spreading, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
46
48
  jsx("div", _extends({
47
49
  css: styles
48
50
  }, props), props.children)