@atlaskit/editor-common 82.8.1 → 82.8.3

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 (305) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/card/LinkToolbarButtonGroup.js +1 -0
  3. package/dist/cjs/collab/index.js +1 -1
  4. package/dist/cjs/element-browser/ViewMore.js +2 -0
  5. package/dist/cjs/element-browser/components/CategoryList.js +1 -0
  6. package/dist/cjs/element-browser/components/ElementBrowserLoader.js +1 -1
  7. package/dist/cjs/element-browser/components/ElementList/ElementList.js +1 -0
  8. package/dist/cjs/element-browser/components/ElementList/EmptyState.js +1 -0
  9. package/dist/cjs/element-browser/components/ElementList/NotFoundIllustration.js +1 -0
  10. package/dist/cjs/element-browser/components/ElementSearch.js +2 -0
  11. package/dist/cjs/element-browser/components/StatelessElementBrowser.js +2 -0
  12. package/dist/cjs/element-browser/hooks/use-container-width.js +2 -0
  13. package/dist/cjs/extensibility/Extension/Extension/index.js +1 -0
  14. package/dist/cjs/extensibility/Extension/Extension/styles.js +2 -0
  15. package/dist/cjs/extensibility/Extension/InlineExtension/index.js +2 -0
  16. package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +2 -0
  17. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -0
  18. package/dist/cjs/extensibility/Extension/Lozenge/LozengeComponent.js +1 -1
  19. package/dist/cjs/extensibility/Extension/Lozenge/index.js +1 -1
  20. package/dist/cjs/extensibility/Extension/styles.js +1 -0
  21. package/dist/cjs/extensibility/ExtensionNodeWrapper.js +2 -0
  22. package/dist/cjs/extensibility/MultiBodiedExtension/index.js +1 -0
  23. package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +2 -0
  24. package/dist/cjs/icons/shared/SteppedRainbowIconDecoration.js +1 -0
  25. package/dist/cjs/keymaps/index.js +2 -0
  26. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  27. package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -1
  28. package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +2 -1
  29. package/dist/cjs/link/LinkSearch/ToolbarComponents.js +2 -0
  30. package/dist/cjs/media-inline/inline-image-card.js +2 -0
  31. package/dist/cjs/media-inline/inline-image-wrapper.js +1 -1
  32. package/dist/cjs/media-inline/media-inline-image-card.js +1 -1
  33. package/dist/cjs/media-inline/styles.js +1 -1
  34. package/dist/cjs/media-inline/views/error-view.js +2 -0
  35. package/dist/cjs/media-inline/views/frame.js +2 -0
  36. package/dist/cjs/media-inline/views/icon-wrapper.js +1 -0
  37. package/dist/cjs/media-inline/views/loading-view.js +2 -0
  38. package/dist/cjs/media-inline/views/wrapper.js +2 -0
  39. package/dist/cjs/media-single/CommentBadge.js +2 -0
  40. package/dist/cjs/monitoring/error.js +1 -1
  41. package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +1 -1
  42. package/dist/cjs/selection/gap-cursor/styles.js +1 -1
  43. package/dist/cjs/selection/index.js +4 -16
  44. package/dist/cjs/styles/shared/annotation.js +1 -1
  45. package/dist/cjs/styles/shared/background-color.js +2 -0
  46. package/dist/cjs/styles/shared/block-marks.js +1 -0
  47. package/dist/cjs/styles/shared/blockquote.js +2 -0
  48. package/dist/cjs/styles/shared/code-block.js +1 -0
  49. package/dist/cjs/styles/shared/code-mark.js +1 -1
  50. package/dist/cjs/styles/shared/column-layout.js +2 -0
  51. package/dist/cjs/styles/shared/date.js +2 -0
  52. package/dist/cjs/styles/shared/embedCard.js +2 -0
  53. package/dist/cjs/styles/shared/expand.js +2 -0
  54. package/dist/cjs/styles/shared/grid.js +2 -0
  55. package/dist/cjs/styles/shared/headings.js +1 -1
  56. package/dist/cjs/styles/shared/indentation.js +1 -0
  57. package/dist/cjs/styles/shared/link.js +2 -0
  58. package/dist/cjs/styles/shared/lists.js +1 -1
  59. package/dist/cjs/styles/shared/media-single.js +1 -1
  60. package/dist/cjs/styles/shared/panel.js +1 -0
  61. package/dist/cjs/styles/shared/paragraph.js +2 -0
  62. package/dist/cjs/styles/shared/plugins.js +2 -0
  63. package/dist/cjs/styles/shared/resizer.js +1 -1
  64. package/dist/cjs/styles/shared/rule.js +2 -0
  65. package/dist/cjs/styles/shared/shadow.js +1 -0
  66. package/dist/cjs/styles/shared/smartCard.js +1 -1
  67. package/dist/cjs/styles/shared/table.js +1 -1
  68. package/dist/cjs/styles/shared/tableCell.js +1 -0
  69. package/dist/cjs/styles/shared/task-decision.js +1 -0
  70. package/dist/cjs/styles/shared/text-color.js +2 -0
  71. package/dist/cjs/styles/shared/unsupported-content.js +1 -1
  72. package/dist/cjs/styles/shared/whitespace.js +2 -0
  73. package/dist/cjs/table/SortingIcon.js +1 -0
  74. package/dist/cjs/ui/BaseTheme/index.js +2 -0
  75. package/dist/cjs/ui/Caption/index.js +1 -1
  76. package/dist/cjs/ui/DropList/index.js +2 -2
  77. package/dist/cjs/ui/Expand/index.js +1 -0
  78. package/dist/cjs/ui/FloatingToolbar/Separator.js +1 -0
  79. package/dist/cjs/ui/FloatingToolbar/SmallerEditIcon.js +1 -0
  80. package/dist/cjs/ui/MediaSingle/index.js +2 -0
  81. package/dist/cjs/ui/MediaSingle/link.js +2 -0
  82. package/dist/cjs/ui/MediaSingle/styled.js +1 -0
  83. package/dist/cjs/ui/Messages/index.js +2 -0
  84. package/dist/cjs/ui/MultiBodiedExtension/index.js +2 -0
  85. package/dist/cjs/ui/PanelTextInput/index.js +1 -1
  86. package/dist/cjs/ui/PanelTextInput/styles.js +2 -0
  87. package/dist/cjs/ui/ResizerLegacy/styled.js +1 -1
  88. package/dist/cjs/ui/UnsupportedBlock/index.js +2 -0
  89. package/dist/cjs/ui/UnsupportedInline/index.js +2 -0
  90. package/dist/cjs/ui/WidthProvider/index.js +2 -0
  91. package/dist/cjs/ui/clear-next-sibling-margin-top.js +2 -0
  92. package/dist/cjs/ui-color/ColorPalette/Color/index.js +1 -1
  93. package/dist/cjs/ui-color/ColorPalette/Color/styles.js +2 -0
  94. package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -1
  95. package/dist/cjs/ui-color/ColorPalette/index.js +2 -0
  96. package/dist/cjs/ui-color/ColorPalette/styles.js +2 -0
  97. package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +11 -45
  98. package/dist/cjs/ui-menu/ColorPickerButton/index.js +2 -0
  99. package/dist/cjs/ui-menu/DropdownContainer/index.js +1 -1
  100. package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -6
  101. package/dist/cjs/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +10 -39
  102. package/dist/cjs/ui-menu/ToolbarButton/index.js +1 -1
  103. package/dist/es2019/card/LinkToolbarButtonGroup.js +2 -0
  104. package/dist/es2019/collab/index.js +1 -0
  105. package/dist/es2019/element-browser/ViewMore.js +2 -0
  106. package/dist/es2019/element-browser/components/CategoryList.js +2 -0
  107. package/dist/es2019/element-browser/components/ElementBrowserLoader.js +2 -0
  108. package/dist/es2019/element-browser/components/ElementList/ElementList.js +2 -0
  109. package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -0
  110. package/dist/es2019/element-browser/components/ElementList/NotFoundIllustration.js +1 -0
  111. package/dist/es2019/element-browser/components/ElementSearch.js +2 -0
  112. package/dist/es2019/element-browser/components/StatelessElementBrowser.js +2 -0
  113. package/dist/es2019/element-browser/hooks/use-container-width.js +2 -0
  114. package/dist/es2019/extensibility/Extension/Extension/index.js +2 -0
  115. package/dist/es2019/extensibility/Extension/Extension/styles.js +1 -0
  116. package/dist/es2019/extensibility/Extension/InlineExtension/index.js +2 -0
  117. package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -0
  118. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
  119. package/dist/es2019/extensibility/Extension/Lozenge/LozengeComponent.js +1 -0
  120. package/dist/es2019/extensibility/Extension/Lozenge/index.js +1 -0
  121. package/dist/es2019/extensibility/Extension/styles.js +1 -0
  122. package/dist/es2019/extensibility/ExtensionNodeWrapper.js +2 -0
  123. package/dist/es2019/extensibility/MultiBodiedExtension/index.js +2 -0
  124. package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +1 -0
  125. package/dist/es2019/icons/shared/SteppedRainbowIconDecoration.js +1 -0
  126. package/dist/es2019/keymaps/index.js +2 -0
  127. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -0
  128. package/dist/es2019/link/LinkSearch/LinkSearchList.js +2 -0
  129. package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +2 -0
  130. package/dist/es2019/link/LinkSearch/ToolbarComponents.js +1 -0
  131. package/dist/es2019/media-inline/inline-image-card.js +2 -0
  132. package/dist/es2019/media-inline/inline-image-wrapper.js +1 -0
  133. package/dist/es2019/media-inline/media-inline-image-card.js +2 -0
  134. package/dist/es2019/media-inline/styles.js +1 -0
  135. package/dist/es2019/media-inline/views/error-view.js +1 -0
  136. package/dist/es2019/media-inline/views/frame.js +1 -0
  137. package/dist/es2019/media-inline/views/icon-wrapper.js +1 -0
  138. package/dist/es2019/media-inline/views/loading-view.js +1 -0
  139. package/dist/es2019/media-inline/views/wrapper.js +1 -0
  140. package/dist/es2019/media-single/CommentBadge.js +2 -0
  141. package/dist/es2019/monitoring/error.js +1 -1
  142. package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +2 -0
  143. package/dist/es2019/selection/gap-cursor/styles.js +1 -0
  144. package/dist/es2019/selection/index.js +4 -16
  145. package/dist/es2019/styles/shared/annotation.js +1 -0
  146. package/dist/es2019/styles/shared/background-color.js +1 -0
  147. package/dist/es2019/styles/shared/block-marks.js +1 -0
  148. package/dist/es2019/styles/shared/blockquote.js +1 -0
  149. package/dist/es2019/styles/shared/code-block.js +1 -0
  150. package/dist/es2019/styles/shared/code-mark.js +1 -0
  151. package/dist/es2019/styles/shared/column-layout.js +1 -0
  152. package/dist/es2019/styles/shared/date.js +1 -0
  153. package/dist/es2019/styles/shared/embedCard.js +1 -0
  154. package/dist/es2019/styles/shared/expand.js +1 -0
  155. package/dist/es2019/styles/shared/grid.js +1 -0
  156. package/dist/es2019/styles/shared/headings.js +1 -0
  157. package/dist/es2019/styles/shared/indentation.js +1 -0
  158. package/dist/es2019/styles/shared/link.js +1 -0
  159. package/dist/es2019/styles/shared/lists.js +1 -0
  160. package/dist/es2019/styles/shared/media-single.js +1 -0
  161. package/dist/es2019/styles/shared/panel.js +1 -0
  162. package/dist/es2019/styles/shared/paragraph.js +1 -0
  163. package/dist/es2019/styles/shared/plugins.js +1 -0
  164. package/dist/es2019/styles/shared/resizer.js +1 -0
  165. package/dist/es2019/styles/shared/rule.js +1 -0
  166. package/dist/es2019/styles/shared/shadow.js +1 -0
  167. package/dist/es2019/styles/shared/smartCard.js +1 -0
  168. package/dist/es2019/styles/shared/table.js +1 -0
  169. package/dist/es2019/styles/shared/tableCell.js +1 -0
  170. package/dist/es2019/styles/shared/task-decision.js +1 -0
  171. package/dist/es2019/styles/shared/text-color.js +1 -0
  172. package/dist/es2019/styles/shared/unsupported-content.js +1 -0
  173. package/dist/es2019/styles/shared/whitespace.js +1 -0
  174. package/dist/es2019/table/SortingIcon.js +1 -0
  175. package/dist/es2019/ui/BaseTheme/index.js +2 -0
  176. package/dist/es2019/ui/Caption/index.js +2 -0
  177. package/dist/es2019/ui/DropList/index.js +3 -1
  178. package/dist/es2019/ui/Expand/index.js +2 -0
  179. package/dist/es2019/ui/FloatingToolbar/Separator.js +1 -0
  180. package/dist/es2019/ui/FloatingToolbar/SmallerEditIcon.js +1 -0
  181. package/dist/es2019/ui/MediaSingle/index.js +2 -0
  182. package/dist/es2019/ui/MediaSingle/link.js +1 -0
  183. package/dist/es2019/ui/MediaSingle/styled.js +2 -0
  184. package/dist/es2019/ui/Messages/index.js +1 -0
  185. package/dist/es2019/ui/MultiBodiedExtension/index.js +1 -0
  186. package/dist/es2019/ui/PanelTextInput/index.js +2 -0
  187. package/dist/es2019/ui/PanelTextInput/styles.js +1 -0
  188. package/dist/es2019/ui/ResizerLegacy/styled.js +1 -0
  189. package/dist/es2019/ui/UnsupportedBlock/index.js +2 -0
  190. package/dist/es2019/ui/UnsupportedInline/index.js +2 -0
  191. package/dist/es2019/ui/WidthProvider/index.js +2 -0
  192. package/dist/es2019/ui/clear-next-sibling-margin-top.js +1 -0
  193. package/dist/es2019/ui-color/ColorPalette/Color/index.js +2 -0
  194. package/dist/es2019/ui-color/ColorPalette/Color/styles.js +1 -0
  195. package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -0
  196. package/dist/es2019/ui-color/ColorPalette/index.js +2 -0
  197. package/dist/es2019/ui-color/ColorPalette/styles.js +1 -0
  198. package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +11 -45
  199. package/dist/es2019/ui-menu/ColorPickerButton/index.js +2 -0
  200. package/dist/es2019/ui-menu/DropdownContainer/index.js +2 -0
  201. package/dist/es2019/ui-menu/DropdownMenu/index.js +3 -6
  202. package/dist/es2019/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +10 -39
  203. package/dist/es2019/ui-menu/ToolbarButton/index.js +2 -0
  204. package/dist/esm/card/LinkToolbarButtonGroup.js +2 -0
  205. package/dist/esm/collab/index.js +1 -0
  206. package/dist/esm/element-browser/ViewMore.js +2 -0
  207. package/dist/esm/element-browser/components/CategoryList.js +2 -0
  208. package/dist/esm/element-browser/components/ElementBrowserLoader.js +2 -0
  209. package/dist/esm/element-browser/components/ElementList/ElementList.js +2 -0
  210. package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -0
  211. package/dist/esm/element-browser/components/ElementList/NotFoundIllustration.js +1 -0
  212. package/dist/esm/element-browser/components/ElementSearch.js +2 -0
  213. package/dist/esm/element-browser/components/StatelessElementBrowser.js +2 -0
  214. package/dist/esm/element-browser/hooks/use-container-width.js +2 -0
  215. package/dist/esm/extensibility/Extension/Extension/index.js +2 -0
  216. package/dist/esm/extensibility/Extension/Extension/styles.js +1 -0
  217. package/dist/esm/extensibility/Extension/InlineExtension/index.js +2 -0
  218. package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -0
  219. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
  220. package/dist/esm/extensibility/Extension/Lozenge/LozengeComponent.js +1 -0
  221. package/dist/esm/extensibility/Extension/Lozenge/index.js +1 -0
  222. package/dist/esm/extensibility/Extension/styles.js +1 -0
  223. package/dist/esm/extensibility/ExtensionNodeWrapper.js +2 -0
  224. package/dist/esm/extensibility/MultiBodiedExtension/index.js +2 -0
  225. package/dist/esm/extensibility/MultiBodiedExtension/styles.js +1 -0
  226. package/dist/esm/icons/shared/SteppedRainbowIconDecoration.js +1 -0
  227. package/dist/esm/keymaps/index.js +2 -0
  228. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -0
  229. package/dist/esm/link/LinkSearch/LinkSearchList.js +2 -0
  230. package/dist/esm/link/LinkSearch/LinkSearchListItem.js +2 -0
  231. package/dist/esm/link/LinkSearch/ToolbarComponents.js +1 -0
  232. package/dist/esm/media-inline/inline-image-card.js +2 -0
  233. package/dist/esm/media-inline/inline-image-wrapper.js +1 -0
  234. package/dist/esm/media-inline/media-inline-image-card.js +2 -0
  235. package/dist/esm/media-inline/styles.js +1 -0
  236. package/dist/esm/media-inline/views/error-view.js +1 -0
  237. package/dist/esm/media-inline/views/frame.js +1 -0
  238. package/dist/esm/media-inline/views/icon-wrapper.js +1 -0
  239. package/dist/esm/media-inline/views/loading-view.js +1 -0
  240. package/dist/esm/media-inline/views/wrapper.js +1 -0
  241. package/dist/esm/media-single/CommentBadge.js +2 -0
  242. package/dist/esm/monitoring/error.js +1 -1
  243. package/dist/esm/react-node-view/getInlineNodeViewProducer.js +2 -0
  244. package/dist/esm/selection/gap-cursor/styles.js +1 -0
  245. package/dist/esm/selection/index.js +4 -16
  246. package/dist/esm/styles/shared/annotation.js +1 -0
  247. package/dist/esm/styles/shared/background-color.js +1 -0
  248. package/dist/esm/styles/shared/block-marks.js +1 -0
  249. package/dist/esm/styles/shared/blockquote.js +1 -0
  250. package/dist/esm/styles/shared/code-block.js +1 -0
  251. package/dist/esm/styles/shared/code-mark.js +1 -0
  252. package/dist/esm/styles/shared/column-layout.js +1 -0
  253. package/dist/esm/styles/shared/date.js +1 -0
  254. package/dist/esm/styles/shared/embedCard.js +1 -0
  255. package/dist/esm/styles/shared/expand.js +1 -0
  256. package/dist/esm/styles/shared/grid.js +1 -0
  257. package/dist/esm/styles/shared/headings.js +1 -0
  258. package/dist/esm/styles/shared/indentation.js +1 -0
  259. package/dist/esm/styles/shared/link.js +1 -0
  260. package/dist/esm/styles/shared/lists.js +1 -0
  261. package/dist/esm/styles/shared/media-single.js +1 -0
  262. package/dist/esm/styles/shared/panel.js +1 -0
  263. package/dist/esm/styles/shared/paragraph.js +1 -0
  264. package/dist/esm/styles/shared/plugins.js +1 -0
  265. package/dist/esm/styles/shared/resizer.js +1 -0
  266. package/dist/esm/styles/shared/rule.js +1 -0
  267. package/dist/esm/styles/shared/shadow.js +1 -0
  268. package/dist/esm/styles/shared/smartCard.js +1 -0
  269. package/dist/esm/styles/shared/table.js +1 -0
  270. package/dist/esm/styles/shared/tableCell.js +1 -0
  271. package/dist/esm/styles/shared/task-decision.js +1 -0
  272. package/dist/esm/styles/shared/text-color.js +1 -0
  273. package/dist/esm/styles/shared/unsupported-content.js +1 -0
  274. package/dist/esm/styles/shared/whitespace.js +1 -0
  275. package/dist/esm/table/SortingIcon.js +1 -0
  276. package/dist/esm/ui/BaseTheme/index.js +2 -0
  277. package/dist/esm/ui/Caption/index.js +2 -0
  278. package/dist/esm/ui/DropList/index.js +3 -1
  279. package/dist/esm/ui/Expand/index.js +2 -0
  280. package/dist/esm/ui/FloatingToolbar/Separator.js +1 -0
  281. package/dist/esm/ui/FloatingToolbar/SmallerEditIcon.js +1 -0
  282. package/dist/esm/ui/MediaSingle/index.js +2 -0
  283. package/dist/esm/ui/MediaSingle/link.js +1 -0
  284. package/dist/esm/ui/MediaSingle/styled.js +2 -0
  285. package/dist/esm/ui/Messages/index.js +1 -0
  286. package/dist/esm/ui/MultiBodiedExtension/index.js +1 -0
  287. package/dist/esm/ui/PanelTextInput/index.js +2 -0
  288. package/dist/esm/ui/PanelTextInput/styles.js +1 -0
  289. package/dist/esm/ui/ResizerLegacy/styled.js +1 -0
  290. package/dist/esm/ui/UnsupportedBlock/index.js +2 -0
  291. package/dist/esm/ui/UnsupportedInline/index.js +2 -0
  292. package/dist/esm/ui/WidthProvider/index.js +2 -0
  293. package/dist/esm/ui/clear-next-sibling-margin-top.js +1 -0
  294. package/dist/esm/ui-color/ColorPalette/Color/index.js +2 -0
  295. package/dist/esm/ui-color/ColorPalette/Color/styles.js +1 -0
  296. package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -0
  297. package/dist/esm/ui-color/ColorPalette/index.js +2 -0
  298. package/dist/esm/ui-color/ColorPalette/styles.js +1 -0
  299. package/dist/esm/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +11 -45
  300. package/dist/esm/ui-menu/ColorPickerButton/index.js +2 -0
  301. package/dist/esm/ui-menu/DropdownContainer/index.js +2 -0
  302. package/dist/esm/ui-menu/DropdownMenu/index.js +3 -6
  303. package/dist/esm/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +10 -39
  304. package/dist/esm/ui-menu/ToolbarButton/index.js +2 -0
  305. package/package.json +10 -13
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  const richMediaClassName = 'rich-media-item';
3
4
  const wrappedMediaBreakoutPoint = 410;
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css } from '@emotion/react';
3
4
  import { PanelType } from '@atlaskit/adf-schema';
4
5
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorLineHeight, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
3
4
 
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N30 } from '@atlaskit/theme/colors';
3
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorDeleteIconColor } from '@atlaskit/editor-shared-styles';
3
4
  import { B200, B50, N60 } from '@atlaskit/theme/colors';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorLineHeight } from '@atlaskit/editor-shared-styles';
3
4
  import { N30A } from '@atlaskit/theme/colors';
@@ -1,5 +1,6 @@
1
1
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
2
2
 
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css } from '@emotion/react';
4
5
  import { akEditorShadowZIndex } from '@atlaskit/editor-shared-styles';
5
6
  import { N40A } from '@atlaskit/theme/colors';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
3
4
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { tableCellContentDomSelector, tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@atlaskit/adf-schema';
3
4
  import { akEditorBreakoutPadding, akEditorFullWidthLayoutWidth, akEditorSelectedNodeClassName, akEditorTableBorder, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorWideLayoutWidth, overflowShadow } from '@atlaskit/editor-shared-styles';
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css } from '@emotion/react';
3
4
  import { tableBackgroundColorNames } from '@atlaskit/adf-schema';
4
5
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css } from '@emotion/react';
3
4
  import { akEditorLineHeight, akEditorTableCellMinWidth } from '@atlaskit/editor-shared-styles';
4
5
  export const TaskDecisionSharedCssClassName = {
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
 
3
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
3
4
  export const UnsupportedSharedCssClassName = {
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  const whitespaceSharedStyles = css({
3
4
  wordWrap: 'break-word',
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import { injectIntl } from 'react-intl-next';
4
5
  import { N20, N30 } from '@atlaskit/theme/colors';
@@ -1,4 +1,6 @@
1
1
  import React, { useMemo } from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
4
  import { ThemeProvider } from '@emotion/react';
3
5
  import { akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
4
6
  import { fontSize } from '@atlaskit/theme/constants';
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import { N200, N400 } from '@atlaskit/theme/colors';
@@ -2,12 +2,14 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import { Component } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { css, jsx } from '@emotion/react';
6
8
  import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
7
9
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
8
10
  import Layer from '../Layer';
9
11
  const packageName = "@atlaskit/editor-common";
10
- const packageVersion = "82.8.1";
12
+ const packageVersion = "82.8.3";
11
13
  const halfFocusRing = 1;
12
14
  const dropOffset = '0, 8';
13
15
  class DropList extends Component {
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import React, { forwardRef } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { css, jsx } from '@emotion/react';
6
8
  import { defineMessages } from 'react-intl-next';
7
9
  import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import { N30 } from '@atlaskit/theme/colors';
4
5
  const separator = css({
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import EditIcon from '@atlaskit/icon/glyph/edit';
4
5
  const editIconStyles = css({
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import classnames from 'classnames';
6
8
  import { akEditorMediaResizeHandlerPaddingWide, DEFAULT_EMBED_CARD_WIDTH } from '@atlaskit/editor-shared-styles';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
 
3
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
@@ -1,6 +1,8 @@
1
1
  /** @jsx jsx */
2
2
 
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { akEditorDefaultLayoutWidth, akEditorFullPageMaxWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
6
8
  import { nonWrappedLayouts } from '../../utils';
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
 
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css, jsx } from '@emotion/react';
4
5
  import SuccessIcon from '@atlaskit/icon/glyph/editor/success';
5
6
  import ErrorIcon from '@atlaskit/icon/glyph/error';
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
 
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css } from '@emotion/react';
4
5
  // Wraps the navigation bar and extensionFrames
5
6
  const mbeExtensionContainer = css({
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import { PureComponent } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import { browser } from '../../utils';
7
9
  import { panelTextInput, panelTextInputWithCustomWidth } from './styles';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
3
4
  import { B100, N100, N30, N400 } from '@atlaskit/theme/colors';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { MediaSingleDimensionHelper } from '../MediaSingle/styled';
3
4
 
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useCallback, useRef } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useCallback, useRef } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { Fragment } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import rafSchedule from 'raf-schd';
5
7
  import { WidthObserver } from '@atlaskit/width-detector';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
 
3
4
  // We use !important to ensure next sibling gets the margin reset no matter what
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React, { PureComponent } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import EditorDoneIcon from '@atlaskit/icon/glyph/editor/done';
6
8
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N0, N50, N900 } from '@atlaskit/theme/colors';
3
4
  /** this is not new usage - old code extracted from editor-core */
@@ -1,5 +1,6 @@
1
1
  /** @jsx jsx */
2
2
 
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import { backgroundColorPalette } from '@atlaskit/adf-schema';
5
6
  import Icon from '@atlaskit/icon';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import chromatism from 'chromatism';
5
7
  import { injectIntl } from 'react-intl-next';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
3
4
  export const colorPaletteWrapper = css({
@@ -1,5 +1,4 @@
1
1
  import React, { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react';
2
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
3
2
  const hasEnabledItems = list => list.some(item => item.getAttribute('aria-disabled') !== 'true');
4
3
 
5
4
  /**
@@ -63,6 +62,7 @@ export const MenuArrowKeyNavigationProvider = ({
63
62
  * @param event
64
63
  */
65
64
  const handleKeyDown = event => {
65
+ var _wrapperRef$current;
66
66
  const targetElement = event.target;
67
67
 
68
68
  // Tab key on menu items can be handled in the parent components of dropdown menus with KeydownHandlerContext
@@ -77,16 +77,8 @@ export const MenuArrowKeyNavigationProvider = ({
77
77
  if (!focusableElements || (focusableElements === null || focusableElements === void 0 ? void 0 : focusableElements.length) === 0) {
78
78
  return;
79
79
  }
80
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
81
- var _wrapperRef$current;
82
- if (targetElement instanceof HTMLElement && !((_wrapperRef$current = wrapperRef.current) !== null && _wrapperRef$current !== void 0 && _wrapperRef$current.contains(targetElement))) {
83
- setCurrentSelectedItemIndex(-1);
84
- }
85
- } else {
86
- var _wrapperRef$current2;
87
- if (!((_wrapperRef$current2 = wrapperRef.current) !== null && _wrapperRef$current2 !== void 0 && _wrapperRef$current2.contains(targetElement))) {
88
- setCurrentSelectedItemIndex(-1);
89
- }
80
+ if (targetElement instanceof HTMLElement && !((_wrapperRef$current = wrapperRef.current) !== null && _wrapperRef$current !== void 0 && _wrapperRef$current.contains(targetElement))) {
81
+ setCurrentSelectedItemIndex(-1);
90
82
  }
91
83
  switch (event.key) {
92
84
  case 'ArrowDown':
@@ -113,47 +105,21 @@ export const MenuArrowKeyNavigationProvider = ({
113
105
  // ArrowLeft/Right on the menu should close the menus
114
106
  // then logic to retain the focus can be handled in the parent components with KeydownHandlerContext
115
107
  case 'ArrowLeft':
116
- // Filter out the events from outside the menu
117
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
118
- if (targetElement instanceof HTMLElement && !targetElement.closest('.custom-key-handler-wrapper')) {
119
- return;
120
- }
121
- } else {
122
- if (!(targetElement !== null && targetElement !== void 0 && targetElement.closest('.custom-key-handler-wrapper'))) {
123
- return;
124
- }
108
+ if (targetElement instanceof HTMLElement && !targetElement.closest('.custom-key-handler-wrapper')) {
109
+ return;
125
110
  }
126
111
  handleClose(event);
127
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
128
- if (targetElement instanceof HTMLElement && !targetElement.closest('[data-testid="editor-floating-toolbar"]')) {
129
- keyDownHandlerContext === null || keyDownHandlerContext === void 0 ? void 0 : keyDownHandlerContext.handleArrowLeft();
130
- }
131
- } else {
132
- if (!(targetElement !== null && targetElement !== void 0 && targetElement.closest('[data-testid="editor-floating-toolbar"]'))) {
133
- keyDownHandlerContext === null || keyDownHandlerContext === void 0 ? void 0 : keyDownHandlerContext.handleArrowLeft();
134
- }
112
+ if (targetElement instanceof HTMLElement && !targetElement.closest('[data-testid="editor-floating-toolbar"]')) {
113
+ keyDownHandlerContext === null || keyDownHandlerContext === void 0 ? void 0 : keyDownHandlerContext.handleArrowLeft();
135
114
  }
136
115
  break;
137
116
  case 'ArrowRight':
138
- // Filter out the events from outside the menu
139
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
140
- if (targetElement instanceof HTMLElement && !targetElement.closest('.custom-key-handler-wrapper')) {
141
- return;
142
- }
143
- } else {
144
- if (!targetElement.closest('.custom-key-handler-wrapper')) {
145
- return;
146
- }
117
+ if (targetElement instanceof HTMLElement && !targetElement.closest('.custom-key-handler-wrapper')) {
118
+ return;
147
119
  }
148
120
  handleClose(event);
149
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
150
- if (targetElement instanceof HTMLElement && !targetElement.closest('[data-testid="editor-floating-toolbar"]')) {
151
- keyDownHandlerContext === null || keyDownHandlerContext === void 0 ? void 0 : keyDownHandlerContext.handleArrowRight();
152
- }
153
- } else {
154
- if (!targetElement.closest('[data-testid="editor-floating-toolbar"]')) {
155
- keyDownHandlerContext === null || keyDownHandlerContext === void 0 ? void 0 : keyDownHandlerContext.handleArrowRight();
156
- }
121
+ if (targetElement instanceof HTMLElement && !targetElement.closest('[data-testid="editor-floating-toolbar"]')) {
122
+ keyDownHandlerContext === null || keyDownHandlerContext === void 0 ? void 0 : keyDownHandlerContext.handleArrowRight();
157
123
  }
158
124
  break;
159
125
  case 'Escape':
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
5
7
  import Button from '@atlaskit/button';
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import React, { useContext } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import { ArrowKeyNavigationType } from '../ArrowKeyNavigationProvider/types';
6
8
  import DropdownComponent from '../Dropdown';
@@ -3,10 +3,11 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  /** @jsx jsx */
4
4
 
5
5
  import React, { PureComponent, useContext } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
8
  import { css, jsx } from '@emotion/react';
7
9
  import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
8
10
  import { CustomItem, MenuGroup, Section } from '@atlaskit/menu';
9
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
11
  import { B100, N70, N900 } from '@atlaskit/theme/colors';
11
12
  import Tooltip from '@atlaskit/tooltip';
12
13
  import { DropdownMenuSharedCssClassName } from '../../styles';
@@ -272,11 +273,7 @@ export function DropdownMenuItem({
272
273
  }, item.content);
273
274
  }
274
275
  const _handleSubmenuActive = event => {
275
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
276
- setSubmenuActive(Boolean(event.target instanceof HTMLElement && event.target.closest(`.${DropdownMenuSharedCssClassName.SUBMENU}`)));
277
- } else {
278
- setSubmenuActive(!!event.target.closest(`.${DropdownMenuSharedCssClassName.SUBMENU}`));
279
- }
276
+ setSubmenuActive(Boolean(event.target instanceof HTMLElement && event.target.closest(`.${DropdownMenuSharedCssClassName.SUBMENU}`)));
280
277
  };
281
278
  const dropListItem = jsx("div", {
282
279
  css: () => buttonStyles(item.isActive, submenuActive),
@@ -2,8 +2,9 @@
2
2
  /* eslint-disable no-console */
3
3
 
4
4
  import React, { useCallback, useLayoutEffect, useRef } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { css, jsx } from '@emotion/react';
6
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
7
8
  import { fullPageMessages as messages } from '../../messages';
8
9
  import { EDIT_AREA_ID } from '../../ui';
9
10
  /*
@@ -109,31 +110,14 @@ export const ToolbarArrowKeyNavigationProvider = ({
109
110
  * @param event
110
111
  */
111
112
  const handleKeyDown = event => {
113
+ var _document$querySelect, _document$querySelect2, _wrapperRef$current;
112
114
  // To trap the focus inside the horizontal toolbar for left and right arrow keys
113
115
  const targetElement = event.target;
114
-
115
- // To filter out the events outside the child component
116
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
117
- if (targetElement instanceof HTMLElement && !targetElement.closest(`${childComponentSelector}`)) {
118
- return;
119
- }
120
- } else {
121
- if (!(targetElement !== null && targetElement !== void 0 && targetElement.closest(`${childComponentSelector}`))) {
122
- return;
123
- }
116
+ if (targetElement instanceof HTMLElement && !targetElement.closest(`${childComponentSelector}`)) {
117
+ return;
124
118
  }
125
-
126
- // The key events are from child components such as dropdown menus / popups are ignored
127
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
128
- var _document$querySelect, _document$querySelect2;
129
- if (targetElement instanceof HTMLElement && (_document$querySelect = document.querySelector('[data-role="droplistContent"], [data-test-id="color-picker-menu"], [data-emoji-picker-container="true"]')) !== null && _document$querySelect !== void 0 && _document$querySelect.contains(targetElement) || targetElement instanceof HTMLElement && (_document$querySelect2 = document.querySelector('[data-test-id="color-picker-menu"]')) !== null && _document$querySelect2 !== void 0 && _document$querySelect2.contains(targetElement) || event.key === 'ArrowUp' || event.key === 'ArrowDown' || disableArrowKeyNavigation) {
130
- return;
131
- }
132
- } else {
133
- var _document$querySelect3, _document$querySelect4;
134
- if ((_document$querySelect3 = document.querySelector('[data-role="droplistContent"], [data-test-id="color-picker-menu"], [data-emoji-picker-container="true"]')) !== null && _document$querySelect3 !== void 0 && _document$querySelect3.contains(targetElement) || (_document$querySelect4 = document.querySelector('[data-test-id="color-picker-menu"]')) !== null && _document$querySelect4 !== void 0 && _document$querySelect4.contains(targetElement) || event.key === 'ArrowUp' || event.key === 'ArrowDown' || disableArrowKeyNavigation) {
135
- return;
136
- }
119
+ if (targetElement instanceof HTMLElement && (_document$querySelect = document.querySelector('[data-role="droplistContent"], [data-test-id="color-picker-menu"], [data-emoji-picker-container="true"]')) !== null && _document$querySelect !== void 0 && _document$querySelect.contains(targetElement) || targetElement instanceof HTMLElement && (_document$querySelect2 = document.querySelector('[data-test-id="color-picker-menu"]')) !== null && _document$querySelect2 !== void 0 && _document$querySelect2.contains(targetElement) || event.key === 'ArrowUp' || event.key === 'ArrowDown' || disableArrowKeyNavigation) {
120
+ return;
137
121
  }
138
122
  const menuWrapper = document.querySelector('.menu-key-handler-wrapper');
139
123
  if (menuWrapper) {
@@ -144,23 +128,10 @@ export const ToolbarArrowKeyNavigationProvider = ({
144
128
  if (!filteredFocusableElements || (filteredFocusableElements === null || filteredFocusableElements === void 0 ? void 0 : filteredFocusableElements.length) === 0) {
145
129
  return;
146
130
  }
147
-
148
- // This is kind of hack to reset the current focused toolbar item
149
- // to handle some use cases such as Tab in/out of main toolbar
150
- if (getBooleanFF('platform.editor.explicit-html-element-check')) {
151
- var _wrapperRef$current;
152
- if (targetElement instanceof HTMLElement && !((_wrapperRef$current = wrapperRef.current) !== null && _wrapperRef$current !== void 0 && _wrapperRef$current.contains(targetElement))) {
153
- selectedItemIndex.current = -1;
154
- } else {
155
- selectedItemIndex.current = targetElement instanceof HTMLElement && filteredFocusableElements.indexOf(targetElement) > -1 ? filteredFocusableElements.indexOf(targetElement) : selectedItemIndex.current;
156
- }
131
+ if (targetElement instanceof HTMLElement && !((_wrapperRef$current = wrapperRef.current) !== null && _wrapperRef$current !== void 0 && _wrapperRef$current.contains(targetElement))) {
132
+ selectedItemIndex.current = -1;
157
133
  } else {
158
- var _wrapperRef$current2;
159
- if (!((_wrapperRef$current2 = wrapperRef.current) !== null && _wrapperRef$current2 !== void 0 && _wrapperRef$current2.contains(targetElement))) {
160
- selectedItemIndex.current = -1;
161
- } else {
162
- selectedItemIndex.current = filteredFocusableElements.indexOf(targetElement) > -1 ? filteredFocusableElements.indexOf(targetElement) : selectedItemIndex.current;
163
- }
134
+ selectedItemIndex.current = targetElement instanceof HTMLElement && filteredFocusableElements.indexOf(targetElement) > -1 ? filteredFocusableElements.indexOf(targetElement) : selectedItemIndex.current;
164
135
  }
165
136
 
166
137
  // do not scroll to focused element for sticky toolbar when navigating with arrows to avoid unnesessary scroll jump
@@ -3,6 +3,8 @@
3
3
  // and notify about the change in #team-fc-editor-ai-dev channel.
4
4
  /** @jsx jsx */
5
5
  import React, { useCallback } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
8
  import { css, jsx } from '@emotion/react';
7
9
  import { FabricChannel } from '@atlaskit/analytics-listeners';
8
10
  import Tooltip from '@atlaskit/tooltip';
@@ -2,6 +2,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
2
2
  var _excluded = ["disabled"];
3
3
  /** @jsx jsx */
4
4
  import React from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { css, jsx } from '@emotion/react';
6
8
  import { ButtonGroup } from '@atlaskit/button';
7
9
  import { FloatingToolbarButton as Button } from '../ui';
@@ -1,5 +1,6 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
2
  var _templateObject;
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css } from '@emotion/react';
4
5
  import { avatarColors, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
5
6
  import { getGlobalTheme } from '@atlaskit/tokens';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { useEffect, useRef } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { ButtonItem, Section } from '@atlaskit/menu';
5
7
  var itemBefore = css({
@@ -8,6 +8,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
8
8
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
9
  /** @jsx jsx */
10
10
  import React, { Fragment, memo, useCallback } from 'react';
11
+
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
13
  import { css, jsx } from '@emotion/react';
12
14
  import { withAnalyticsContext } from '@atlaskit/analytics-next';
13
15
  import Button from '@atlaskit/button/custom-theme-button';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import Loadable from 'react-loadable';
5
7
  import Spinner from '@atlaskit/spinner';
@@ -4,6 +4,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
4
4
  var _excluded = ["items", "mode", "selectedItemIndex", "focusedItemIndex", "columnCount", "setColumnCount", "createAnalyticsEvent", "emptyStateHandler", "selectedCategory", "selectedCategoryIndex", "searchTerm", "setFocusedCategoryIndex", "setFocusedItemIndex"];
5
5
  /** @jsx jsx */
6
6
  import React, { Fragment, memo, useCallback, useEffect, useMemo, useState } from 'react';
7
+
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
9
  import { css, jsx } from '@emotion/react';
8
10
  import { Grid } from 'react-virtualized';
9
11
  import { AutoSizer } from 'react-virtualized/dist/commonjs/AutoSizer';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import { FormattedMessage } from 'react-intl-next';
4
5
  import Button from '@atlaskit/button';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  var imageContainer = css({
4
5
  width: '120px',
@@ -1,6 +1,8 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
  import React, { memo, useLayoutEffect, useRef, useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import { withAnalyticsContext } from '@atlaskit/analytics-next';