@atlaskit/editor-common 82.3.0 → 82.4.0

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 (249) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/collab/index.js +1 -1
  3. package/dist/cjs/element-browser/ViewMore.js +1 -0
  4. package/dist/cjs/element-browser/components/CategoryList.js +2 -0
  5. package/dist/cjs/element-browser/components/ElementList/ElementList.js +19 -1
  6. package/dist/cjs/element-browser/components/ElementSearch.js +56 -42
  7. package/dist/cjs/element-browser/components/StatelessElementBrowser.js +18 -0
  8. package/dist/cjs/extensibility/Extension/Extension/index.js +6 -2
  9. package/dist/cjs/extensibility/Extension/Extension/styles.js +20 -0
  10. package/dist/cjs/extensibility/Extension/InlineExtension/index.js +3 -1
  11. package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +8 -0
  12. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +9 -1
  13. package/dist/cjs/extensibility/Extension/Lozenge/LozengeComponent.js +20 -15
  14. package/dist/cjs/extensibility/Extension/Lozenge/index.js +1 -0
  15. package/dist/cjs/extensibility/Extension/styles.js +13 -0
  16. package/dist/cjs/extensibility/ExtensionNodeWrapper.js +2 -0
  17. package/dist/cjs/extensibility/MultiBodiedExtension/index.js +20 -4
  18. package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +12 -0
  19. package/dist/cjs/keymaps/index.js +2 -1
  20. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -0
  21. package/dist/cjs/link/LinkSearch/LinkSearchList.js +2 -0
  22. package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +9 -0
  23. package/dist/cjs/link/LinkSearch/ToolbarComponents.js +7 -0
  24. package/dist/cjs/media-inline/inline-image-wrapper.js +9 -1
  25. package/dist/cjs/media-inline/styles.js +12 -1
  26. package/dist/cjs/media-inline/views/frame.js +7 -4
  27. package/dist/cjs/media-inline/views/icon-wrapper.js +1 -0
  28. package/dist/cjs/media-inline/views/wrapper.js +1 -0
  29. package/dist/cjs/media-single/CommentBadge.js +5 -1
  30. package/dist/cjs/messages/help-dialog.js +5 -0
  31. package/dist/cjs/monitoring/error.js +1 -1
  32. package/dist/cjs/rank.js +1 -1
  33. package/dist/cjs/selection/gap-cursor/styles.js +1 -1
  34. package/dist/cjs/styles/shared/annotation.js +6 -0
  35. package/dist/cjs/styles/shared/background-color.js +4 -0
  36. package/dist/cjs/styles/shared/block-marks.js +1 -0
  37. package/dist/cjs/styles/shared/blockquote.js +8 -1
  38. package/dist/cjs/styles/shared/code-block.js +2 -0
  39. package/dist/cjs/styles/shared/code-mark.js +1 -0
  40. package/dist/cjs/styles/shared/column-layout.js +6 -1
  41. package/dist/cjs/styles/shared/date.js +2 -0
  42. package/dist/cjs/styles/shared/embedCard.js +8 -0
  43. package/dist/cjs/styles/shared/expand.js +1 -0
  44. package/dist/cjs/styles/shared/grid.js +7 -0
  45. package/dist/cjs/styles/shared/headings.js +6 -0
  46. package/dist/cjs/styles/shared/indentation.js +8 -0
  47. package/dist/cjs/styles/shared/link.js +4 -1
  48. package/dist/cjs/styles/shared/lists.js +1 -1
  49. package/dist/cjs/styles/shared/media-single.js +8 -1
  50. package/dist/cjs/styles/shared/paragraph.js +4 -1
  51. package/dist/cjs/styles/shared/plugins.js +8 -0
  52. package/dist/cjs/styles/shared/resizer.js +1 -1
  53. package/dist/cjs/styles/shared/rule.js +2 -1
  54. package/dist/cjs/styles/shared/shadow.js +4 -1
  55. package/dist/cjs/styles/shared/smartCard.js +1 -1
  56. package/dist/cjs/styles/shared/tableCell.js +1 -0
  57. package/dist/cjs/styles/shared/task-decision.js +2 -0
  58. package/dist/cjs/styles/shared/text-color.js +3 -0
  59. package/dist/cjs/styles/shared/unsupported-content.js +1 -1
  60. package/dist/cjs/styles/shared/whitespace.js +3 -1
  61. package/dist/cjs/table/SortingIcon.js +2 -2
  62. package/dist/cjs/ui/DropList/index.js +5 -1
  63. package/dist/cjs/ui/Expand/index.js +13 -0
  64. package/dist/cjs/ui/MediaSingle/index.js +3 -1
  65. package/dist/cjs/ui/MediaSingle/link.js +1 -0
  66. package/dist/cjs/ui/MediaSingle/styled.js +6 -3
  67. package/dist/cjs/ui/Messages/index.js +12 -7
  68. package/dist/cjs/ui/MultiBodiedExtension/index.js +24 -0
  69. package/dist/cjs/ui/PanelTextInput/index.js +1 -0
  70. package/dist/cjs/ui/PanelTextInput/styles.js +6 -0
  71. package/dist/cjs/ui/Popup/index.js +1 -0
  72. package/dist/cjs/ui/UnsupportedBlock/index.js +2 -0
  73. package/dist/cjs/ui/UnsupportedInline/index.js +2 -0
  74. package/dist/cjs/ui/clear-next-sibling-margin-top.js +6 -2
  75. package/dist/cjs/ui-color/ColorPalette/Color/index.js +4 -2
  76. package/dist/cjs/ui-color/ColorPalette/Color/styles.js +3 -0
  77. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
  78. package/dist/cjs/ui-color/ColorPalette/index.js +1 -0
  79. package/dist/cjs/ui-color/ColorPalette/styles.js +1 -0
  80. package/dist/cjs/ui-menu/ColorPickerButton/index.js +7 -0
  81. package/dist/cjs/ui-menu/DropdownMenu/index.js +1 -0
  82. package/dist/es2019/collab/index.js +1 -1
  83. package/dist/es2019/element-browser/ViewMore.js +1 -0
  84. package/dist/es2019/element-browser/components/CategoryList.js +3 -0
  85. package/dist/es2019/element-browser/components/ElementList/ElementList.js +19 -1
  86. package/dist/es2019/element-browser/components/ElementSearch.js +56 -42
  87. package/dist/es2019/element-browser/components/StatelessElementBrowser.js +18 -0
  88. package/dist/es2019/extensibility/Extension/Extension/index.js +6 -2
  89. package/dist/es2019/extensibility/Extension/Extension/styles.js +20 -0
  90. package/dist/es2019/extensibility/Extension/InlineExtension/index.js +3 -1
  91. package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +9 -0
  92. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +9 -1
  93. package/dist/es2019/extensibility/Extension/Lozenge/LozengeComponent.js +19 -14
  94. package/dist/es2019/extensibility/Extension/Lozenge/index.js +1 -0
  95. package/dist/es2019/extensibility/Extension/styles.js +14 -0
  96. package/dist/es2019/extensibility/ExtensionNodeWrapper.js +2 -0
  97. package/dist/es2019/extensibility/MultiBodiedExtension/index.js +21 -5
  98. package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +12 -0
  99. package/dist/es2019/keymaps/index.js +1 -0
  100. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -0
  101. package/dist/es2019/link/LinkSearch/LinkSearchList.js +2 -0
  102. package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +9 -0
  103. package/dist/es2019/link/LinkSearch/ToolbarComponents.js +8 -0
  104. package/dist/es2019/media-inline/inline-image-wrapper.js +9 -1
  105. package/dist/es2019/media-inline/styles.js +12 -1
  106. package/dist/es2019/media-inline/views/frame.js +3 -1
  107. package/dist/es2019/media-inline/views/icon-wrapper.js +1 -0
  108. package/dist/es2019/media-inline/views/wrapper.js +1 -0
  109. package/dist/es2019/media-single/CommentBadge.js +5 -1
  110. package/dist/es2019/messages/help-dialog.js +5 -0
  111. package/dist/es2019/monitoring/error.js +1 -1
  112. package/dist/es2019/rank.js +1 -1
  113. package/dist/es2019/selection/gap-cursor/styles.js +1 -1
  114. package/dist/es2019/styles/shared/annotation.js +6 -0
  115. package/dist/es2019/styles/shared/background-color.js +5 -0
  116. package/dist/es2019/styles/shared/block-marks.js +2 -0
  117. package/dist/es2019/styles/shared/blockquote.js +8 -1
  118. package/dist/es2019/styles/shared/code-block.js +2 -0
  119. package/dist/es2019/styles/shared/code-mark.js +2 -0
  120. package/dist/es2019/styles/shared/column-layout.js +6 -0
  121. package/dist/es2019/styles/shared/date.js +3 -0
  122. package/dist/es2019/styles/shared/embedCard.js +8 -0
  123. package/dist/es2019/styles/shared/expand.js +1 -0
  124. package/dist/es2019/styles/shared/grid.js +7 -0
  125. package/dist/es2019/styles/shared/headings.js +12 -0
  126. package/dist/es2019/styles/shared/indentation.js +9 -0
  127. package/dist/es2019/styles/shared/link.js +3 -0
  128. package/dist/es2019/styles/shared/lists.js +1 -1
  129. package/dist/es2019/styles/shared/media-single.js +15 -0
  130. package/dist/es2019/styles/shared/panel.js +1 -0
  131. package/dist/es2019/styles/shared/paragraph.js +4 -1
  132. package/dist/es2019/styles/shared/plugins.js +8 -0
  133. package/dist/es2019/styles/shared/resizer.js +1 -1
  134. package/dist/es2019/styles/shared/rule.js +2 -1
  135. package/dist/es2019/styles/shared/shadow.js +9 -0
  136. package/dist/es2019/styles/shared/smartCard.js +1 -1
  137. package/dist/es2019/styles/shared/tableCell.js +1 -0
  138. package/dist/es2019/styles/shared/task-decision.js +2 -0
  139. package/dist/es2019/styles/shared/text-color.js +4 -0
  140. package/dist/es2019/styles/shared/unsupported-content.js +1 -1
  141. package/dist/es2019/styles/shared/whitespace.js +2 -0
  142. package/dist/es2019/table/SortingIcon.js +2 -2
  143. package/dist/es2019/ui/DropList/index.js +5 -1
  144. package/dist/es2019/ui/Expand/index.js +13 -0
  145. package/dist/es2019/ui/MediaSingle/index.js +3 -1
  146. package/dist/es2019/ui/MediaSingle/link.js +2 -0
  147. package/dist/es2019/ui/MediaSingle/styled.js +3 -1
  148. package/dist/es2019/ui/Messages/index.js +5 -1
  149. package/dist/es2019/ui/MultiBodiedExtension/index.js +24 -0
  150. package/dist/es2019/ui/PanelTextInput/index.js +1 -0
  151. package/dist/es2019/ui/PanelTextInput/styles.js +6 -0
  152. package/dist/es2019/ui/Popup/index.js +1 -0
  153. package/dist/es2019/ui/UnsupportedBlock/index.js +2 -0
  154. package/dist/es2019/ui/UnsupportedInline/index.js +2 -0
  155. package/dist/es2019/ui/clear-next-sibling-margin-top.js +7 -2
  156. package/dist/es2019/ui-color/ColorPalette/Color/index.js +4 -2
  157. package/dist/es2019/ui-color/ColorPalette/Color/styles.js +3 -0
  158. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
  159. package/dist/es2019/ui-color/ColorPalette/index.js +1 -0
  160. package/dist/es2019/ui-color/ColorPalette/styles.js +1 -0
  161. package/dist/es2019/ui-menu/ColorPickerButton/index.js +7 -0
  162. package/dist/es2019/ui-menu/DropdownMenu/index.js +1 -0
  163. package/dist/esm/collab/index.js +1 -1
  164. package/dist/esm/element-browser/ViewMore.js +1 -0
  165. package/dist/esm/element-browser/components/CategoryList.js +2 -0
  166. package/dist/esm/element-browser/components/ElementList/ElementList.js +19 -1
  167. package/dist/esm/element-browser/components/ElementSearch.js +56 -42
  168. package/dist/esm/element-browser/components/StatelessElementBrowser.js +18 -0
  169. package/dist/esm/extensibility/Extension/Extension/index.js +6 -2
  170. package/dist/esm/extensibility/Extension/Extension/styles.js +20 -0
  171. package/dist/esm/extensibility/Extension/InlineExtension/index.js +3 -1
  172. package/dist/esm/extensibility/Extension/InlineExtension/styles.js +9 -0
  173. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +9 -1
  174. package/dist/esm/extensibility/Extension/Lozenge/LozengeComponent.js +20 -15
  175. package/dist/esm/extensibility/Extension/Lozenge/index.js +1 -0
  176. package/dist/esm/extensibility/Extension/styles.js +14 -0
  177. package/dist/esm/extensibility/ExtensionNodeWrapper.js +2 -0
  178. package/dist/esm/extensibility/MultiBodiedExtension/index.js +20 -4
  179. package/dist/esm/extensibility/MultiBodiedExtension/styles.js +12 -0
  180. package/dist/esm/keymaps/index.js +1 -0
  181. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -0
  182. package/dist/esm/link/LinkSearch/LinkSearchList.js +2 -0
  183. package/dist/esm/link/LinkSearch/LinkSearchListItem.js +9 -0
  184. package/dist/esm/link/LinkSearch/ToolbarComponents.js +8 -0
  185. package/dist/esm/media-inline/inline-image-wrapper.js +9 -1
  186. package/dist/esm/media-inline/styles.js +12 -1
  187. package/dist/esm/media-inline/views/frame.js +7 -4
  188. package/dist/esm/media-inline/views/icon-wrapper.js +1 -0
  189. package/dist/esm/media-inline/views/wrapper.js +1 -0
  190. package/dist/esm/media-single/CommentBadge.js +5 -1
  191. package/dist/esm/messages/help-dialog.js +5 -0
  192. package/dist/esm/monitoring/error.js +1 -1
  193. package/dist/esm/rank.js +1 -1
  194. package/dist/esm/selection/gap-cursor/styles.js +1 -1
  195. package/dist/esm/styles/shared/annotation.js +6 -0
  196. package/dist/esm/styles/shared/background-color.js +5 -0
  197. package/dist/esm/styles/shared/block-marks.js +2 -0
  198. package/dist/esm/styles/shared/blockquote.js +8 -1
  199. package/dist/esm/styles/shared/code-block.js +2 -0
  200. package/dist/esm/styles/shared/code-mark.js +1 -0
  201. package/dist/esm/styles/shared/column-layout.js +5 -0
  202. package/dist/esm/styles/shared/date.js +2 -0
  203. package/dist/esm/styles/shared/embedCard.js +8 -0
  204. package/dist/esm/styles/shared/expand.js +1 -0
  205. package/dist/esm/styles/shared/grid.js +7 -0
  206. package/dist/esm/styles/shared/headings.js +6 -0
  207. package/dist/esm/styles/shared/indentation.js +9 -0
  208. package/dist/esm/styles/shared/link.js +3 -0
  209. package/dist/esm/styles/shared/lists.js +1 -1
  210. package/dist/esm/styles/shared/media-single.js +7 -0
  211. package/dist/esm/styles/shared/paragraph.js +4 -1
  212. package/dist/esm/styles/shared/plugins.js +8 -0
  213. package/dist/esm/styles/shared/resizer.js +1 -1
  214. package/dist/esm/styles/shared/rule.js +2 -1
  215. package/dist/esm/styles/shared/shadow.js +3 -0
  216. package/dist/esm/styles/shared/smartCard.js +1 -1
  217. package/dist/esm/styles/shared/tableCell.js +1 -0
  218. package/dist/esm/styles/shared/task-decision.js +2 -0
  219. package/dist/esm/styles/shared/text-color.js +4 -0
  220. package/dist/esm/styles/shared/unsupported-content.js +1 -1
  221. package/dist/esm/styles/shared/whitespace.js +2 -0
  222. package/dist/esm/table/SortingIcon.js +2 -2
  223. package/dist/esm/ui/DropList/index.js +5 -1
  224. package/dist/esm/ui/Expand/index.js +13 -0
  225. package/dist/esm/ui/MediaSingle/index.js +3 -1
  226. package/dist/esm/ui/MediaSingle/link.js +2 -0
  227. package/dist/esm/ui/MediaSingle/styled.js +6 -3
  228. package/dist/esm/ui/Messages/index.js +12 -7
  229. package/dist/esm/ui/MultiBodiedExtension/index.js +24 -0
  230. package/dist/esm/ui/PanelTextInput/index.js +1 -0
  231. package/dist/esm/ui/PanelTextInput/styles.js +6 -0
  232. package/dist/esm/ui/Popup/index.js +1 -0
  233. package/dist/esm/ui/UnsupportedBlock/index.js +2 -0
  234. package/dist/esm/ui/UnsupportedInline/index.js +2 -0
  235. package/dist/esm/ui/clear-next-sibling-margin-top.js +6 -2
  236. package/dist/esm/ui-color/ColorPalette/Color/index.js +4 -2
  237. package/dist/esm/ui-color/ColorPalette/Color/styles.js +3 -0
  238. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
  239. package/dist/esm/ui-color/ColorPalette/index.js +1 -0
  240. package/dist/esm/ui-color/ColorPalette/styles.js +1 -0
  241. package/dist/esm/ui-menu/ColorPickerButton/index.js +7 -0
  242. package/dist/esm/ui-menu/DropdownMenu/index.js +1 -0
  243. package/dist/types/analytics/types/highlight-events.d.ts +4 -2
  244. package/dist/types/keymaps/index.d.ts +1 -0
  245. package/dist/types/messages/help-dialog.d.ts +5 -0
  246. package/dist/types-ts4.5/analytics/types/highlight-events.d.ts +4 -2
  247. package/dist/types-ts4.5/keymaps/index.d.ts +1 -0
  248. package/dist/types-ts4.5/messages/help-dialog.d.ts +5 -0
  249. package/package.json +1 -1
@@ -22,21 +22,27 @@ var _colors = require("@atlaskit/theme/colors");
22
22
  var _styles = require("../../styles");
23
23
  /* eslint-disable @atlaskit/design-system/no-exported-css */
24
24
 
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
25
26
  var wrapperDefault = exports.wrapperDefault = (0, _react.css)({
26
27
  background: "var(--ds-background-neutral, ".concat(_colors.N20, ")"),
27
28
  borderRadius: "var(--ds-border-radius, 3px)",
28
29
  position: 'relative',
29
30
  verticalAlign: 'middle',
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
30
32
  '&.with-overlay': {
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
31
34
  '.extension-overlay': {
32
35
  background: "var(--ds-background-neutral-hovered, ".concat(_colors.N20A, ")"),
33
36
  color: 'transparent'
34
37
  },
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
35
39
  '&:hover .extension-overlay': {
36
40
  opacity: 1
37
41
  }
38
42
  }
39
43
  });
44
+
45
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
40
46
  var overlay = exports.overlay = (0, _react.css)({
41
47
  borderRadius: "var(--ds-border-radius, 3px)",
42
48
  position: 'absolute',
@@ -46,9 +52,12 @@ var overlay = exports.overlay = (0, _react.css)({
46
52
  pointerEvents: 'none',
47
53
  transition: 'opacity 0.3s'
48
54
  });
55
+
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
49
57
  var placeholderFallback = exports.placeholderFallback = (0, _react.css)({
50
58
  display: 'inline-flex',
51
59
  alignItems: 'center',
60
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
52
61
  '& > img': {
53
62
  margin: "0 ".concat("var(--ds-space-050, 4px)")
54
63
  },
@@ -56,6 +65,8 @@ var placeholderFallback = exports.placeholderFallback = (0, _react.css)({
56
65
  /* stylelint-disable-next-line */
57
66
  label: 'placeholder-fallback'
58
67
  });
68
+
69
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
59
70
  var placeholderFallbackParams = exports.placeholderFallbackParams = (0, _react.css)({
60
71
  display: 'inline-block',
61
72
  maxWidth: '200px',
@@ -65,6 +76,8 @@ var placeholderFallbackParams = exports.placeholderFallbackParams = (0, _react.c
65
76
  whiteSpace: 'nowrap',
66
77
  overflow: 'hidden'
67
78
  });
79
+
80
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
68
81
  var styledImage = exports.styledImage = (0, _react.css)({
69
82
  maxHeight: '16px',
70
83
  maxWidth: '16px',
@@ -12,9 +12,11 @@ var _utils = require("../utils");
12
12
  /** @jsx jsx */
13
13
 
14
14
  var styles = (0, _react2.css)({
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
15
16
  '&.inline-extension': {
16
17
  display: 'inline-block'
17
18
  },
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
18
20
  '&.relative': {
19
21
  position: 'relative'
20
22
  }
@@ -28,7 +28,16 @@ var _excluded = ["url"];
28
28
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
29
29
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
30
30
  var getContainerCssExtendedStyles = function getContainerCssExtendedStyles(activeChildIndex, showMacroInteractionDesignUpdates) {
31
- return (0, _react2.css)(_MultiBodiedExtension.sharedMultiBodiedExtensionStyles.mbeExtensionContainer, (0, _defineProperty2.default)({}, ".multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true']:nth-of-type(".concat(activeChildIndex + 1, ")"), (0, _react2.css)(_MultiBodiedExtension.sharedMultiBodiedExtensionStyles.extensionFrameContent, showMacroInteractionDesignUpdates && _MultiBodiedExtension.removeMarginsAndBorder)));
31
+ return (
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
33
+ (0, _react2.css)(_MultiBodiedExtension.sharedMultiBodiedExtensionStyles.mbeExtensionContainer, (0, _defineProperty2.default)({}, ".multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true']:nth-of-type(".concat(activeChildIndex + 1
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
35
+ , ")"), (0, _react2.css)(
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
37
+ _MultiBodiedExtension.sharedMultiBodiedExtensionStyles.extensionFrameContent,
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
39
+ showMacroInteractionDesignUpdates && _MultiBodiedExtension.removeMarginsAndBorder)))
40
+ );
32
41
  };
33
42
  var imageStyles = (0, _react2.css)({
34
43
  maxHeight: '24px',
@@ -158,7 +167,9 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref)
158
167
  isBodiedMacro: true
159
168
  }), (0, _react2.jsx)("div", {
160
169
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
161
- className: wrapperClassNames,
170
+ className: wrapperClassNames
171
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
172
+ ,
162
173
  css: _styles.mbeExtensionWrapperCSSStyles,
163
174
  "data-testid": "multiBodiedExtension--wrapper"
164
175
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -171,6 +182,7 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref)
171
182
  return handleMouseEvent(false);
172
183
  }
173
184
  }, (0, _react2.jsx)("div", {
185
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
174
186
  css: _styles.overlayStyles
175
187
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
176
188
  ,
@@ -178,13 +190,17 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref)
178
190
  "data-testid": "multiBodiedExtension--overlay"
179
191
  }), getWrapperTitleContent(imageData, title, showMacroInteractionDesignUpdates), (0, _react2.jsx)("div", {
180
192
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
181
- className: containerClassNames,
193
+ className: containerClassNames
194
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
195
+ ,
182
196
  css: getContainerCssExtendedStyles(activeChildIndex, showMacroInteractionDesignUpdates),
183
197
  "data-testid": "multiBodiedExtension--container",
184
198
  "data-active-child-index": activeChildIndex
185
199
  }, (0, _react2.jsx)("nav", {
186
200
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
187
- className: navigationClassNames,
201
+ className: navigationClassNames
202
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
203
+ ,
188
204
  css: _MultiBodiedExtension.sharedMultiBodiedExtensionStyles.mbeNavigation,
189
205
  "data-testid": "multiBodiedExtension-navigation"
190
206
  }, extensionHandlerResult), (0, _react2.jsx)("article", {
@@ -8,7 +8,9 @@ var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
9
  var _styles = require("../Extension/styles");
10
10
  // Wrapper the extension title and extensionContainer
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
11
12
  var mbeExtensionWrapperCSSStyles = exports.mbeExtensionWrapperCSSStyles = (0, _react.css)(_styles.wrapperDefault, {
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
12
14
  '&.with-margin-styles': {
13
15
  marginTop: 0,
14
16
  marginLeft: "var(--ds-space-negative-150, -12px)",
@@ -17,26 +19,35 @@ var mbeExtensionWrapperCSSStyles = exports.mbeExtensionWrapperCSSStyles = (0, _r
17
19
  cursor: 'pointer',
18
20
  marginTop: "var(--ds-space-250, 24px)",
19
21
  marginBottom: "var(--ds-space-200, 16px)",
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
20
23
  '.extension-title': {
21
24
  display: 'flex',
22
25
  alignItems: 'center',
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
23
27
  lineHeight: '16px !important',
24
28
  marginBottom: "var(--ds-space-100, 8px)",
29
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
25
30
  marginLeft: "var(--ds-space-050, 4px)".concat(" !important"),
26
31
  marginRight: "var(--ds-space-100, 8px)",
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
27
33
  paddingTop: "var(--ds-space-100, 8px)".concat(" !important")
28
34
  },
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
29
36
  '&.with-border': {
30
37
  boxShadow: "0 0 0 1px ".concat("var(--ds-border, ".concat(_colors.N30, ")"))
31
38
  },
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
32
40
  '&.with-hover-border': {
33
41
  boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, ".concat(_colors.N500, ")"))
34
42
  },
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
35
44
  '&.with-padding-background-styles': {
36
45
  padding: "var(--ds-space-100, 8px)",
37
46
  background: 'transparent'
38
47
  }
39
48
  });
49
+
50
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
40
51
  var overlayStyles = exports.overlayStyles = (0, _react.css)({
41
52
  borderRadius: "var(--ds-border-radius, 3px)",
42
53
  position: 'absolute',
@@ -46,6 +57,7 @@ var overlayStyles = exports.overlayStyles = (0, _react.css)({
46
57
  pointerEvents: 'none',
47
58
  transition: 'opacity 0.3s',
48
59
  zIndex: 1,
60
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
49
61
  '&.with-margin': {
50
62
  margin: "var(--ds-space-negative-100, -8px)"
51
63
  }
@@ -101,7 +101,7 @@ exports.makeKeyMapArrayWithCommon = makeKeyMapArrayWithCommon;
101
101
  exports.makeKeyMapWithCommon = makeKeyMapWithCommon;
102
102
  exports.makeKeymap = makeKeymap;
103
103
  exports.toggleHeading3 = exports.toggleHeading2 = exports.toggleHeading1 = exports.toggleCode = exports.toggleBulletList = exports.toggleBold = exports.toggleBlockQuote = exports.tab = exports.submit = exports.startColumnResizing = exports.splitListItem = exports.splitCodeBlock = exports.space = exports.shiftTab = exports.shiftEnter = exports.shiftBackspace = exports.shiftArrowUp = exports.setNormalText = exports.selectTable = exports.selectRow = exports.selectColumn = exports.redo = exports.previousCell = exports.pastePlainText = exports.paste = exports.outdentList = exports.outdent = exports.openHelp = exports.nextCell = exports.navToFloatingToolbar = exports.navToEditorToolbar = exports.moveUp = exports.moveRowUp = exports.moveRowDown = exports.moveRight = exports.moveLeft = exports.moveDown = exports.moveColumnRight = exports.moveColumnLeft = void 0;
104
- exports.toggleUnderline = exports.toggleTaskItemCheckbox = exports.toggleTable = exports.toggleSuperscript = exports.toggleSubscript = exports.toggleStrikethrough = exports.toggleOrderedList = exports.toggleItalic = exports.toggleHeading6 = exports.toggleHeading5 = exports.toggleHeading4 = void 0;
104
+ exports.toggleUnderline = exports.toggleTaskItemCheckbox = exports.toggleTable = exports.toggleSuperscript = exports.toggleSubscript = exports.toggleStrikethrough = exports.toggleOrderedList = exports.toggleItalic = exports.toggleHighlightPalette = exports.toggleHeading6 = exports.toggleHeading5 = exports.toggleHeading4 = void 0;
105
105
  exports.tooltip = tooltip;
106
106
  exports.undo = void 0;
107
107
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
@@ -204,6 +204,7 @@ var selectTable = exports.selectTable = makeKeyMapWithCommon('Select table', 'Mo
204
204
  var increaseMediaSize = exports.increaseMediaSize = makeKeyMapWithCommon('increase image size', 'Mod-Alt-]');
205
205
  var decreaseMediaSize = exports.decreaseMediaSize = makeKeyMapWithCommon('increase image size', 'Mod-Alt-[');
206
206
  var activateVideoControls = exports.activateVideoControls = makeKeyMapWithCommon('Activate controls panel on video', 'Shift-F10');
207
+ var toggleHighlightPalette = exports.toggleHighlightPalette = makeKeyMapWithCommon('Toggle Highlight Palette', 'Mod-Alt-b');
207
208
  var arrowKeysMap = {
208
209
  // for reference: https://wincent.com/wiki/Unicode_representations_of_modifier_keys
209
210
  ARROWLEFT: "\u2190",
@@ -44,6 +44,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
44
44
  * Visible only to screenreaders. Use when there is a need
45
45
  * to provide more context to a non-sighted user.
46
46
  */
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
47
48
  var visuallyHiddenStyles = exports.visuallyHiddenStyles = (0, _react2.css)({
48
49
  clip: 'rect(1px, 1px, 1px, 1px)',
49
50
  clipPath: 'inset(50%)',
@@ -846,6 +847,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
846
847
  className: "recent-list",
847
848
  "data-testid": "hyperlink-add-toolbar"
848
849
  }, (0, _react2.jsx)("div", {
850
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
849
851
  css: [_ToolbarComponents.container, !!activityProvider && _ToolbarComponents.containerWithProvider, containerPadding],
850
852
  ref: this.wrapperRef
851
853
  }, (0, _react2.jsx)("label", {
@@ -27,6 +27,8 @@ var spinnerContainer = (0, _react2.css)({
27
27
  minHeight: '80px',
28
28
  marginTop: "var(--ds-space-400, 32px)"
29
29
  });
30
+
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
30
32
  var linkSearchList = exports.linkSearchList = (0, _react2.css)({
31
33
  padding: 0,
32
34
  listStyle: 'none'
@@ -26,6 +26,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
26
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
27
27
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // AFP-2532 TODO: Fix automatic suppressions below
28
28
  // eslint-disable-next-line @atlassian/tangerine/import/entry-points
29
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
29
30
  var container = exports.container = (0, _react2.css)({
30
31
  backgroundColor: 'transparent',
31
32
  padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-150, 12px)"),
@@ -33,12 +34,16 @@ var container = exports.container = (0, _react2.css)({
33
34
  display: 'flex',
34
35
  marginTop: 0
35
36
  });
37
+
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
36
39
  var containerSelected = exports.containerSelected = (0, _react2.css)({
37
40
  backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N20, ")")
38
41
  });
39
42
  var nameWrapper = (0, _react2.css)({
40
43
  overflow: 'hidden'
41
44
  });
45
+
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
42
47
  var nameStyle = exports.nameStyle = (0, _react2.css)({
43
48
  color: "var(--ds-text, ".concat(_colors.N800, ")"),
44
49
  overflow: 'hidden',
@@ -46,15 +51,19 @@ var nameStyle = exports.nameStyle = (0, _react2.css)({
46
51
  whiteSpace: 'nowrap',
47
52
  lineHeight: '20px'
48
53
  });
54
+
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
49
56
  var containerName = exports.containerName = (0, _react2.css)({
50
57
  color: "var(--ds-text-subtlest, ".concat(_colors.N300, ")"),
51
58
  lineHeight: '14px',
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
52
60
  fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)((0, _constants.fontSizeSmall)())
53
61
  });
54
62
  var iconStyle = (0, _react2.css)({
55
63
  minWidth: '16px',
56
64
  marginTop: "var(--ds-space-050, 4px)",
57
65
  marginRight: "var(--ds-space-150, 12px)",
66
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
58
67
  img: {
59
68
  maxWidth: '16px'
60
69
  }
@@ -6,20 +6,27 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.inputWrapper = exports.containerWithProvider = exports.container = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _ui = require("../../ui");
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
9
10
  var inputWrapper = exports.inputWrapper = (0, _react.css)({
10
11
  display: 'flex',
11
12
  lineHeight: 0,
12
13
  padding: "var(--ds-space-075, 6px)".concat(" 0"),
13
14
  alignItems: 'center'
14
15
  });
16
+
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
15
18
  var container = exports.container = (0, _react.css)({
16
19
  display: 'flex',
17
20
  flexDirection: 'column',
18
21
  overflow: 'auto',
19
22
  padding: 0,
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
20
24
  width: "".concat(_ui.RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX, "px"),
21
25
  lineHeight: 'initial'
22
26
  });
27
+
28
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
23
29
  var containerWithProvider = exports.containerWithProvider = (0, _react.css)({
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
24
31
  width: "".concat(_ui.RECENT_SEARCH_WIDTH_IN_PX, "px")
25
32
  });
@@ -42,7 +42,15 @@ var InlineImageWrapper = exports.InlineImageWrapper = function InlineImageWrappe
42
42
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
43
43
  ,
44
44
  className: _styles.INLINE_IMAGE_WRAPPER_CLASS_NAME,
45
- css: [_styles.wrapperStyle, borderSize && borderColor && _styles.borderStyle, isSelected && _styles.selectedStyle, isInteractive && _styles.interactiveStyle],
45
+ css: [
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
47
+ _styles.wrapperStyle,
48
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
49
+ borderSize && borderColor && _styles.borderStyle,
50
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
51
+ isSelected && _styles.selectedStyle,
52
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
53
+ isInteractive && _styles.interactiveStyle],
46
54
  "data-testid": "inline-image-wrapper",
47
55
  onClick: onClick
48
56
  }, htmlAttrs), (0, _react.jsx)("span", {
@@ -28,8 +28,10 @@ var inlineImageHeight = function inlineImageHeight(height) {
28
28
  * shift in top and bottom and size adjustments to make up for lack of 1to1 size
29
29
  * mapping
30
30
  */
31
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Nested and dynamic css calls are violations, needs manual remediation
31
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766, Nested and dynamic css calls are violations, needs manual remediation
32
32
  var mediaInlineImageStyles = exports.mediaInlineImageStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\t// p, h3, and action items\n\t.", " {\n\t\theight: ", "px;\n\t\ttransform: translateY(-2px);\n\t}\n\n\th1 {\n\t\t", "\n\t}\n\n\th2 {\n\t\t", "\n\t}\n\n\th3 {\n\t\t", "\n\t}\n\n\th4 {\n\t\t", "\n\t}\n\n\th5 {\n\t\t", "\n\t}\n\n\th6 {\n\t\t", "\n\t}\n"])), INLINE_IMAGE_WRAPPER_CLASS_NAME, _constants.referenceHeights['p'], inlineImageHeight(_constants.referenceHeights['h1'], -3), inlineImageHeight(_constants.referenceHeights['h2'], -3), inlineImageHeight(_constants.referenceHeights['h3'], -2), inlineImageHeight(_constants.referenceHeights['h4'], -2), inlineImageHeight(_constants.referenceHeights['h5'], -2), inlineImageHeight(_constants.referenceHeights['h6'], -2));
33
+
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
33
35
  var wrapperStyle = exports.wrapperStyle = (0, _react.css)({
34
36
  display: 'inline-flex',
35
37
  justifyContent: 'center',
@@ -37,21 +39,30 @@ var wrapperStyle = exports.wrapperStyle = (0, _react.css)({
37
39
  verticalAlign: 'middle',
38
40
  overflow: 'hidden',
39
41
  borderRadius: "var(--ds-border-radius, 3px)",
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
40
43
  aspectRatio: "var(".concat(INLINE_IMAGE_ASPECT_RATIO_CSS_VAR_KEY, ", ").concat(_constants.DEFAULT_INLINE_IMAGE_ASPECT_RATIO, ")"),
41
44
  maxWidth: '100%'
42
45
  });
46
+
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
43
48
  var selectedStyle = exports.selectedStyle = (0, _react.css)({
44
49
  cursor: 'pointer',
45
50
  boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, ".concat(_colors.B300, ")")),
46
51
  outline: 'none'
47
52
  });
53
+
54
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
48
55
  var interactiveStyle = exports.interactiveStyle = (0, _react.css)({
49
56
  cursor: 'pointer'
50
57
  });
58
+
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
51
60
  var borderStyle = exports.borderStyle = (0, _react.css)({
52
61
  borderColor: "var(".concat(INLINE_IMAGE_BORDER_COLOR_CSS_VAR_KEY, ")"),
53
62
  borderStyle: 'solid',
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
54
64
  borderRadius: "calc(var(".concat(INLINE_IMAGE_BORDER_SIZE_CSS_VAR_KEY, ", ").concat(_constants.DEFAULT_INLINE_IMAGE_BORDER_SIZE, ") * 2px)"),
65
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
55
66
  borderWidth: "calc(var(".concat(INLINE_IMAGE_BORDER_SIZE_CSS_VAR_KEY, ", ").concat(_constants.DEFAULT_INLINE_IMAGE_BORDER_SIZE, ") * 1px)"),
56
67
  boxSizing: "border-box"
57
68
  });
@@ -11,8 +11,11 @@ var _wrapper = require("./wrapper");
11
11
  var Frame = exports.Frame = function Frame(_ref) {
12
12
  var children = _ref.children,
13
13
  testId = _ref.testId;
14
- return (0, _react.jsx)("span", {
15
- css: _wrapper.wrapperStyle,
16
- "data-testid": testId
17
- }, children);
14
+ return (
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
16
+ (0, _react.jsx)("span", {
17
+ css: _wrapper.wrapperStyle,
18
+ "data-testid": testId
19
+ }, children)
20
+ );
18
21
  };
@@ -9,6 +9,7 @@ var _react = require("@emotion/react");
9
9
 
10
10
  var wrapperStyle = (0, _react.css)({
11
11
  display: 'flex',
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
12
13
  'span > svg': {
13
14
  verticalAlign: 'top'
14
15
  }
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.wrapperStyle = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
9
10
  var wrapperStyle = exports.wrapperStyle = (0, _react.css)({
10
11
  display: 'inline-flex',
11
12
  width: '100%',
@@ -23,10 +23,12 @@ var commentBadgeWrapper = (0, _react2.css)({
23
23
  right: '2px',
24
24
  top: '2px',
25
25
  borderRadius: '3px',
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
26
27
  zIndex: _editorSharedStyles.akEditorUnitZIndex * 10
27
28
  });
28
29
  var commentBadgeEditorOverrides = function commentBadgeEditorOverrides(commentsOnMediaBugFixEnabled, badgeOffsetRight) {
29
30
  return (0, _react2.css)({
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
30
32
  right: commentsOnMediaBugFixEnabled ? badgeOffsetRight : '14px',
31
33
  zIndex: _constants.layers.card()
32
34
  });
@@ -80,7 +82,9 @@ var CommentBadge = exports.CommentBadge = function CommentBadge(_ref) {
80
82
  }
81
83
  }, [status]);
82
84
  return (0, _react2.jsx)("div", {
83
- css: badgeOffsetRight ? [commentBadgeWrapper, commentBadgeEditorOverrides(commentsOnMediaBugFixEnabled, badgeOffsetRight)] : commentBadgeWrapper
85
+ css: badgeOffsetRight ? [commentBadgeWrapper,
86
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
87
+ commentBadgeEditorOverrides(commentsOnMediaBugFixEnabled, badgeOffsetRight)] : commentBadgeWrapper
84
88
  // This is needed so that mediaWrapperStyle in editor/editor-common/src/ui/MediaSingle/styled.tsx
85
89
  // can target the correct div
86
90
  ,
@@ -91,5 +91,10 @@ var helpDialogMessages = exports.helpDialogMessages = (0, _reactIntlNext.defineM
91
91
  id: 'fabric.editor.quickInsert',
92
92
  defaultMessage: 'Quick insert',
93
93
  description: 'Name of a feature, which let you insert items quickly.'
94
+ },
95
+ highlightColor: {
96
+ id: 'fabric.editor.highlightColor',
97
+ defaultMessage: 'Toggle highlight color palette',
98
+ description: 'Keyboard shortcut to toggle highlight color palette.'
94
99
  }
95
100
  });
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
19
19
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
20
- var packageVersion = "82.3.0";
20
+ var packageVersion = "82.4.0";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // TODO: Sanitise the URL instead of just removing it
package/dist/cjs/rank.js CHANGED
@@ -13,7 +13,7 @@ var rankEditorPlugins = exports.rankEditorPlugins = {
13
13
  // Needs to be before indentation to handle tab into input field
14
14
  'dateKeymap',
15
15
  // This should be always after `typeAheadKeymap` & `emojiKeymap`
16
- 'indentationKeymap', 'textColor', 'highlight', 'alignmentPlugin', 'listInputRule', 'listKeymap', 'codeBlock', 'codeBlockIDEKeyBindings', 'codeBlockKeyMap', 'textFormatting', 'textFormattingCursor', 'textFormattingInputRule', 'textFormattingSmartRule', 'textFormattingClear', 'textFormattingKeymap',
16
+ 'indentationKeymap', 'textColor', 'highlight', 'highlightKeymap', 'alignmentPlugin', 'listInputRule', 'listKeymap', 'codeBlock', 'codeBlockIDEKeyBindings', 'codeBlockKeyMap', 'textFormatting', 'textFormattingCursor', 'textFormattingInputRule', 'textFormattingSmartRule', 'textFormattingClear', 'textFormattingKeymap',
17
17
  // task/decisions keymap needs to be above table keymap so can indent actions in a table
18
18
  'tasksAndDecisionsKeyMap',
19
19
  // expand and table keymaps need to be above selection keymap to add their custom selection behaviour:
@@ -22,5 +22,5 @@ var prosemirrorwidget = '.ProseMirror-widget';
22
22
  var wrapLeft = '[layout="wrap-left"]';
23
23
  var wrapRight = '[layout="wrap-right"]';
24
24
 
25
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- This needs manual remediation, it autofixes seemingly safely, but the code style and readability is destroyed.
25
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-keyframes, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766, This needs manual remediation, it autofixes seemingly safely, but the code style and readability is destroyed.
26
26
  var gapCursorStyles = exports.gapCursorStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t/* =============== GAP CURSOR ================== */\n\t.ProseMirror {\n\t\t&.", " {\n\t\t\tcaret-color: transparent;\n\t\t}\n\n\t\t", " {\n\t\t\tdisplay: none;\n\t\t\tpointer-events: none;\n\t\t\tposition: relative;\n\n\t\t\t& span {\n\t\t\t\tcaret-color: transparent;\n\t\t\t\tposition: absolute;\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\n\t\t\t& span::after {\n\t\t\t\tanimation: 1s ", " step-end infinite;\n\t\t\t\tborder-left: 1px solid;\n\t\t\t\tcontent: '';\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t\t&.-left span::after {\n\t\t\t\tleft: ", ";\n\t\t\t}\n\t\t\t&.-right span::after {\n\t\t\t\tright: ", ";\n\t\t\t}\n\t\t\t& span[layout='full-width'],\n\t\t\t& span[layout='wide'],\n\t\t\t& span[layout='fixed-width'] {\n\t\t\t\tmargin-left: 50%;\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t}\n\t\t\t&", " {\n\t\t\t\tfloat: right;\n\t\t\t}\n\n\t\t\t/* fix vertical alignment of gap cursor */\n\t\t\t&:first-of-type + ul,\n\t\t\t&:first-of-type + span + ul,\n\t\t\t&:first-of-type + ol,\n\t\t\t&:first-of-type + span + ol,\n\t\t\t&:first-of-type + pre,\n\t\t\t&:first-of-type + span + pre,\n\t\t\t&:first-of-type + blockquote,\n\t\t\t&:first-of-type + span + blockquote {\n\t\t\t\tmargin-top: 0;\n\t\t\t}\n\t\t}\n\t\t&.ProseMirror-focused ", " {\n\t\t\tdisplay: block;\n\t\t\tborder-color: transparent;\n\t\t}\n\t}\n\n\t/* This hack below is for two images aligned side by side */\n\t", "", " + span + ", ",\n ", "", " + span + ", ",\n ", " + ", " + ", ",\n ", " + ", " + span + ", ",\n ", " + ", " + ", ",\n ", " + ", " + span + ", ",\n ", " + ", " + ", ",\n ", " + ", " + span ", ",\n ", " + ", " + ", ",\n ", " + ", " + span + ", ",\n ", " + ", " {\n\t\tclear: none;\n\t}\n\n\t", " + ", " + ", " > div,\n ", " + ", " + span + ", " > div,\n ", " + ", " + ", " > div,\n ", " + ", " + span + ", " > div,\n ", " + ", " + ", " > div,\n ", " + ", " + span + ", " > div,\n ", " + ", " + ", " > div,\n ", " + ", " + span + ", " > div {\n\t\tmargin-right: 0;\n\t\tmargin-left: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\t", " + ", ",\n ", " + ", " {\n\t\tfloat: left;\n\t}\n\n\t", " + ", " + span + ", "::after,\n ", " + ", " + span + ", "::after,\n ", " + ", " + ", "::after,\n ", " + ", " + span + ", "::after,\n ", " + ", " + ", "::after,\n ", " + ", " + span + ", "::after {\n\t\tvisibility: hidden;\n\t\tdisplay: block;\n\t\tfont-size: 0;\n\t\tcontent: ' ';\n\t\tclear: both;\n\t\theight: 0;\n\t}\n\n\t", " + ", " + ", " + *,\n ", " + ", " + ", " + span + *,\n ", " + ", " + ", " + *,\n ", " + ", " + ", " + span + *,\n ", " + ", " + span + ", " + *,\n ", " + ", " + span + ", " + *,\n ", " + ", " + span + ", " + *,\n ", " + ", " + span + ", " + *,\n ", " + ", " + ", " + * > *,\n ", " + ", " + ", " + span + * > *,\n ", " + ", " + ", " + * > *,\n ", " + ", " + ", " + span + * > *,\n ", " + ", " + span + ", " + * > *,\n ", " + ", " + span + ", " + * > *,\n ", " + ", " + span + ", " + * > *,\n ", " + ", " + span + ", " + * > *,\n ", " + ", " + *,\n ", " + ", " + span + * {\n\t\tmargin-top: 0;\n\t}\n"])), hideCaretModifier, gapCursor, gapCursorBlink, "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", wrapRight, gapCursor, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapRight, wrapLeft, gapCursor, wrapRight, gapCursor, gapCursor, wrapLeft, wrapRight, gapCursor, wrapRight, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, gapCursor, wrapLeft, wrapRight, gapCursor, wrapRight, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, gapCursor, wrapLeft, wrapRight, gapCursor, wrapRight, wrapLeft, prosemirrorwidget, gapCursor, prosemirrorwidget, gapCursor);
@@ -33,6 +33,7 @@ var AnnotationSharedCSSByState = exports.AnnotationSharedCSSByState = function A
33
33
  boxShadow: "var(--ds-shadow-overlay, ".concat("1px 2px 3px ".concat(_colors.N60A, ", -1px 2px 3px ").concat(_colors.N60A), ")"),
34
34
  cursor: 'pointer',
35
35
  padding: '1.5px 0',
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
36
37
  '&:has(.card)': {
37
38
  padding: '4.5px 0 3px 0'
38
39
  }
@@ -42,6 +43,7 @@ var AnnotationSharedCSSByState = exports.AnnotationSharedCSSByState = function A
42
43
  borderBottom: "2px solid ".concat("var(--ds-border-accent-yellow, ".concat(Y200a, ")")),
43
44
  cursor: 'pointer',
44
45
  padding: '1.5px 0',
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
45
47
  '&:has(.card)': {
46
48
  padding: '4.5px 0 3px 0'
47
49
  }
@@ -54,9 +56,11 @@ var AnnotationSharedCSSByState = exports.AnnotationSharedCSSByState = function A
54
56
  borderBottom: "2px solid ".concat("var(--ds-border-accent-yellow, ".concat(_colors.Y300, ")")),
55
57
  boxShadow: "var(--ds-shadow-overlay, ".concat("1px 2px 3px ".concat(_colors.N60A, ", -1px 2px 3px ").concat(_colors.N60A), ")"),
56
58
  cursor: 'pointer',
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
57
60
  '&:has(.card)': {
58
61
  fontSize: '1.5rem',
59
62
  lineHeight: '1.2rem',
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
60
64
  '& > *': {
61
65
  fontSize: '16px'
62
66
  }
@@ -66,9 +70,11 @@ var AnnotationSharedCSSByState = exports.AnnotationSharedCSSByState = function A
66
70
  background: "var(--ds-background-accent-yellow-subtlest, ".concat(Yellow100, ")"),
67
71
  borderBottom: "2px solid ".concat("var(--ds-border-accent-yellow, ".concat(Y200a, ")")),
68
72
  cursor: 'pointer',
73
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
69
74
  '&:has(.card)': {
70
75
  fontSize: '1.5rem',
71
76
  lineHeight: '1.2rem',
77
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
72
78
  '& > *': {
73
79
  fontSize: '16px'
74
80
  }
@@ -5,13 +5,17 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.backgroundColorStyles = void 0;
7
7
  var _react = require("@emotion/react");
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
8
9
  var backgroundColorStyles = exports.backgroundColorStyles = (0, _react.css)({
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
9
11
  '.fabric-background-color-mark': {
10
12
  backgroundColor: 'var(--custom-palette-color, inherit)'
11
13
  },
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
12
15
  'a .fabric-background-color-mark': {
13
16
  backgroundColor: 'unset'
14
17
  },
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
15
19
  '.fabric-background-color-mark .ak-editor-annotation': {
16
20
  backgroundColor: 'unset'
17
21
  }
@@ -9,4 +9,5 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
9
9
  var _react = require("@emotion/react");
10
10
  var _templateObject;
11
11
  /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- Perfectly safe to auto-fix, but leaving it up to the team to remediate as the readability only gets worse with autofixing */
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
12
13
  var blockMarksSharedStyles = exports.blockMarksSharedStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t/**\n * We need to remove margin-top from first item\n * inside doc, tableCell, tableHeader, blockquote, etc.\n */\n\t*:not(.fabric-editor-block-mark) >,\n /* For nested block marks apart from those with indentation mark */\n *:not(.fabric-editor-block-mark) >\n div.fabric-editor-block-mark:first-of-type\n /* Do not remove the margin top for nodes inside indentation marks */\n :not(.fabric-editor-indentation-mark)\n /* Do not remove the margin top for nodes inside alignment marks */\n :not(.fabric-editor-alignment),\n // If first element inside a block node has alignment mark, then remove the margin-top\n .fabric-editor-alignment:first-of-type:first-child,\n // If first document element has indentation mark remove margin-top\n .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child {\n\t\tp,\n\t\th1,\n\t\th2,\n\t\th3,\n\t\th4,\n\t\th5,\n\t\th6,\n\t\t.heading-wrapper {\n\t\t\t:first-child:not(style),\n\t\t\tstyle:first-child + * {\n\t\t\t\tmargin-top: 0;\n\t\t\t}\n\t\t}\n\t}\n"])));
@@ -6,19 +6,24 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.blockquoteSharedStyles = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
9
10
  var blockquoteSharedStyles = exports.blockquoteSharedStyles = (0, _react.css)({
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
10
12
  '& blockquote': {
11
13
  boxSizing: 'border-box',
12
14
  color: 'inherit',
13
15
  paddingLeft: "var(--ds-space-200, 16px)",
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
14
17
  borderLeft: "2px solid ".concat("var(--ds-border, ".concat(_editorSharedStyles.akEditorBlockquoteBorderColor, ")")),
15
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
18
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
16
19
  margin: "".concat(_editorSharedStyles.blockNodesVerticalMargin, " 0 0 0"),
17
20
  marginRight: 0,
21
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
18
22
  "[dir='rtl'] &": {
19
23
  paddingLeft: 0,
20
24
  paddingRight: "var(--ds-space-200, 16px)"
21
25
  },
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
22
27
  '&:first-child': {
23
28
  marginTop: 0
24
29
  },
@@ -28,9 +33,11 @@ var blockquoteSharedStyles = exports.blockquoteSharedStyles = (0, _react.css)({
28
33
  '&::after': {
29
34
  content: 'none'
30
35
  },
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
31
37
  '& p': {
32
38
  display: 'block'
33
39
  },
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
34
41
  '& table, & table:last-child': {
35
42
  display: 'inline-table'
36
43
  }
@@ -26,4 +26,6 @@ var codeBlockSharedStyles = exports.codeBlockSharedStyles = function codeBlockSh
26
26
  leftCoverWidth: "var(--ds-space-300, 24px)"
27
27
  }), "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-neutral, ".concat(_colors.N30, ")"), "var(--ds-space-100, 8px)", "var(--ds-text-subtlest, ".concat(_colors.N400, ")"), (0, _editorSharedStyles.relativeFontSizeToBase16)((0, _constants.fontSize)()), CodeBlockSharedCssClassName.CODEBLOCK_CONTENT, "var(--ds-text, ".concat(_colors.N800, ")"), "var(--ds-border-radius, 3px)", "var(--ds-space-100, 8px)", (0, _editorSharedStyles.relativeFontSizeToBase16)((0, _constants.fontSize)()));
28
28
  };
29
+
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
29
31
  var codeBlockInListSafariFix = exports.codeBlockInListSafariFix = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\t::before {\n\t\tcontent: ' ';\n\t\tline-height: ", ";\n\t}\n\n\t> p:first-child,\n\t> .code-block:first-child,\n\t> .ProseMirror-gapcursor:first-child + .code-block {\n\t\tmargin-top: -", "em !important;\n\t}\n"])), _editorSharedStyles.akEditorLineHeight, _editorSharedStyles.akEditorLineHeight);
@@ -13,6 +13,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
13
13
  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) { (0, _defineProperty2.default)(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; }
14
14
  var codeMarkSharedStyles = exports.codeMarkSharedStyles = function codeMarkSharedStyles() {
15
15
  return (0, _react.css)({
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
16
17
  '.code': _objectSpread({
17
18
  '--ds--code--bg-color': "var(--ds-background-neutral, ".concat(_colors.N30A, ")")
18
19
  }, (0, _inline.getCodeStyles)())