@atlaskit/renderer 103.0.1 → 103.0.2

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 (205) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/ui/Renderer/index.js +1 -1
  3. package/dist/cjs/ui/Renderer/style.js +1 -1
  4. package/dist/cjs/version.json +1 -1
  5. package/dist/es2019/ui/Renderer/index.js +1 -1
  6. package/dist/es2019/ui/Renderer/style.js +284 -284
  7. package/dist/es2019/version.json +1 -1
  8. package/dist/esm/ui/Renderer/index.js +1 -1
  9. package/dist/esm/ui/Renderer/style.js +1 -1
  10. package/dist/esm/version.json +1 -1
  11. package/package.json +5 -13
  12. package/dist/types-ts4.0/actions/index.d.ts +0 -61
  13. package/dist/types-ts4.0/actions/matches-utils.d.ts +0 -7
  14. package/dist/types-ts4.0/actions.d.ts +0 -3
  15. package/dist/types-ts4.0/analytics/analyticsContext.d.ts +0 -6
  16. package/dist/types-ts4.0/analytics/enums.d.ts +0 -56
  17. package/dist/types-ts4.0/analytics/events.d.ts +0 -110
  18. package/dist/types-ts4.0/analytics/unsupported-content.d.ts +0 -10
  19. package/dist/types-ts4.0/consts.d.ts +0 -12
  20. package/dist/types-ts4.0/i18n/cs.d.ts +0 -20
  21. package/dist/types-ts4.0/i18n/da.d.ts +0 -20
  22. package/dist/types-ts4.0/i18n/de.d.ts +0 -20
  23. package/dist/types-ts4.0/i18n/en.d.ts +0 -20
  24. package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -20
  25. package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -20
  26. package/dist/types-ts4.0/i18n/es.d.ts +0 -20
  27. package/dist/types-ts4.0/i18n/et.d.ts +0 -8
  28. package/dist/types-ts4.0/i18n/fi.d.ts +0 -20
  29. package/dist/types-ts4.0/i18n/fr.d.ts +0 -20
  30. package/dist/types-ts4.0/i18n/hu.d.ts +0 -20
  31. package/dist/types-ts4.0/i18n/index.d.ts +0 -31
  32. package/dist/types-ts4.0/i18n/it.d.ts +0 -20
  33. package/dist/types-ts4.0/i18n/ja.d.ts +0 -20
  34. package/dist/types-ts4.0/i18n/ko.d.ts +0 -20
  35. package/dist/types-ts4.0/i18n/nb.d.ts +0 -20
  36. package/dist/types-ts4.0/i18n/nl.d.ts +0 -20
  37. package/dist/types-ts4.0/i18n/pl.d.ts +0 -20
  38. package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -20
  39. package/dist/types-ts4.0/i18n/pt_PT.d.ts +0 -8
  40. package/dist/types-ts4.0/i18n/ru.d.ts +0 -20
  41. package/dist/types-ts4.0/i18n/sk.d.ts +0 -8
  42. package/dist/types-ts4.0/i18n/sv.d.ts +0 -20
  43. package/dist/types-ts4.0/i18n/th.d.ts +0 -20
  44. package/dist/types-ts4.0/i18n/tr.d.ts +0 -20
  45. package/dist/types-ts4.0/i18n/uk.d.ts +0 -20
  46. package/dist/types-ts4.0/i18n/vi.d.ts +0 -20
  47. package/dist/types-ts4.0/i18n/zh.d.ts +0 -20
  48. package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -20
  49. package/dist/types-ts4.0/index.d.ts +0 -11
  50. package/dist/types-ts4.0/messages.d.ts +0 -61
  51. package/dist/types-ts4.0/react/hooks/use-bidi-warnings.d.ts +0 -10
  52. package/dist/types-ts4.0/react/hooks/use-in-viewport.d.ts +0 -5
  53. package/dist/types-ts4.0/react/hooks/use-observed-width.d.ts +0 -3
  54. package/dist/types-ts4.0/react/index.d.ts +0 -118
  55. package/dist/types-ts4.0/react/marks/alignment.d.ts +0 -4
  56. package/dist/types-ts4.0/react/marks/annotation.d.ts +0 -6
  57. package/dist/types-ts4.0/react/marks/breakout.d.ts +0 -6
  58. package/dist/types-ts4.0/react/marks/code.d.ts +0 -16
  59. package/dist/types-ts4.0/react/marks/confluence-inline-comment.d.ts +0 -8
  60. package/dist/types-ts4.0/react/marks/data-consumer.d.ts +0 -4
  61. package/dist/types-ts4.0/react/marks/em.d.ts +0 -3
  62. package/dist/types-ts4.0/react/marks/fragment.d.ts +0 -4
  63. package/dist/types-ts4.0/react/marks/indentation.d.ts +0 -4
  64. package/dist/types-ts4.0/react/marks/index.d.ts +0 -21
  65. package/dist/types-ts4.0/react/marks/link.d.ts +0 -9
  66. package/dist/types-ts4.0/react/marks/strike.d.ts +0 -3
  67. package/dist/types-ts4.0/react/marks/strong.d.ts +0 -3
  68. package/dist/types-ts4.0/react/marks/subsup.d.ts +0 -4
  69. package/dist/types-ts4.0/react/marks/textColor.d.ts +0 -4
  70. package/dist/types-ts4.0/react/marks/underline.d.ts +0 -3
  71. package/dist/types-ts4.0/react/marks/unsupportedMark.d.ts +0 -3
  72. package/dist/types-ts4.0/react/marks/unsupportedNodeAttribute.d.ts +0 -3
  73. package/dist/types-ts4.0/react/nodes/blockCard.d.ts +0 -10
  74. package/dist/types-ts4.0/react/nodes/blockquote.d.ts +0 -2
  75. package/dist/types-ts4.0/react/nodes/bodiedExtension.d.ts +0 -24
  76. package/dist/types-ts4.0/react/nodes/bulletList.d.ts +0 -5
  77. package/dist/types-ts4.0/react/nodes/caption.d.ts +0 -4
  78. package/dist/types-ts4.0/react/nodes/codeBlock/codeBlock.d.ts +0 -14
  79. package/dist/types-ts4.0/react/nodes/codeBlock/components/codeBlockContainer.d.ts +0 -12
  80. package/dist/types-ts4.0/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +0 -9
  81. package/dist/types-ts4.0/react/nodes/codeBlock/windowedCodeBlock.d.ts +0 -4
  82. package/dist/types-ts4.0/react/nodes/codeBlockCopyButton.d.ts +0 -9
  83. package/dist/types-ts4.0/react/nodes/date.d.ts +0 -11
  84. package/dist/types-ts4.0/react/nodes/decisionItem.d.ts +0 -3
  85. package/dist/types-ts4.0/react/nodes/decisionList.d.ts +0 -7
  86. package/dist/types-ts4.0/react/nodes/doc.d.ts +0 -3
  87. package/dist/types-ts4.0/react/nodes/embedCard.d.ts +0 -17
  88. package/dist/types-ts4.0/react/nodes/emoji.d.ts +0 -10
  89. package/dist/types-ts4.0/react/nodes/extension.d.ts +0 -113
  90. package/dist/types-ts4.0/react/nodes/fallback.d.ts +0 -16
  91. package/dist/types-ts4.0/react/nodes/hardBreak.d.ts +0 -6
  92. package/dist/types-ts4.0/react/nodes/heading-anchor.d.ts +0 -14
  93. package/dist/types-ts4.0/react/nodes/heading.d.ts +0 -14
  94. package/dist/types-ts4.0/react/nodes/index.d.ts +0 -94
  95. package/dist/types-ts4.0/react/nodes/inline.d.ts +0 -1
  96. package/dist/types-ts4.0/react/nodes/inlineCard.d.ts +0 -65
  97. package/dist/types-ts4.0/react/nodes/inlineExtension.d.ts +0 -18
  98. package/dist/types-ts4.0/react/nodes/layoutColumn.d.ts +0 -6
  99. package/dist/types-ts4.0/react/nodes/layoutSection.d.ts +0 -2
  100. package/dist/types-ts4.0/react/nodes/listItem.d.ts +0 -2
  101. package/dist/types-ts4.0/react/nodes/media.d.ts +0 -27
  102. package/dist/types-ts4.0/react/nodes/mediaGroup.d.ts +0 -29
  103. package/dist/types-ts4.0/react/nodes/mediaInline.d.ts +0 -20
  104. package/dist/types-ts4.0/react/nodes/mediaSingle/index.d.ts +0 -23
  105. package/dist/types-ts4.0/react/nodes/mediaSingle/styles.d.ts +0 -2
  106. package/dist/types-ts4.0/react/nodes/mention.d.ts +0 -13
  107. package/dist/types-ts4.0/react/nodes/orderedList.d.ts +0 -6
  108. package/dist/types-ts4.0/react/nodes/panel.d.ts +0 -17
  109. package/dist/types-ts4.0/react/nodes/paragraph.d.ts +0 -3
  110. package/dist/types-ts4.0/react/nodes/placeholder.d.ts +0 -6
  111. package/dist/types-ts4.0/react/nodes/rule.d.ts +0 -2
  112. package/dist/types-ts4.0/react/nodes/status.d.ts +0 -10
  113. package/dist/types-ts4.0/react/nodes/table/colgroup.d.ts +0 -3
  114. package/dist/types-ts4.0/react/nodes/table/sticky.d.ts +0 -38
  115. package/dist/types-ts4.0/react/nodes/table/table.d.ts +0 -7
  116. package/dist/types-ts4.0/react/nodes/table/types.d.ts +0 -7
  117. package/dist/types-ts4.0/react/nodes/table.d.ts +0 -269
  118. package/dist/types-ts4.0/react/nodes/tableCell.d.ts +0 -81
  119. package/dist/types-ts4.0/react/nodes/tableRow.d.ts +0 -24
  120. package/dist/types-ts4.0/react/nodes/task-item-with-providers.d.ts +0 -29
  121. package/dist/types-ts4.0/react/nodes/taskItem.d.ts +0 -19
  122. package/dist/types-ts4.0/react/nodes/taskList.d.ts +0 -8
  123. package/dist/types-ts4.0/react/nodes/text-wrapper.d.ts +0 -8
  124. package/dist/types-ts4.0/react/nodes/unknownBlock.d.ts +0 -2
  125. package/dist/types-ts4.0/react/renderer-node.d.ts +0 -4
  126. package/dist/types-ts4.0/react/types.d.ts +0 -57
  127. package/dist/types-ts4.0/react/utils/clipboard.d.ts +0 -1
  128. package/dist/types-ts4.0/react/utils/element-selection.d.ts +0 -9
  129. package/dist/types-ts4.0/react/utils/getCardClickHandler.d.ts +0 -2
  130. package/dist/types-ts4.0/react/utils/inject-props.d.ts +0 -6
  131. package/dist/types-ts4.0/react/utils/links.d.ts +0 -3
  132. package/dist/types-ts4.0/react/utils/lists.d.ts +0 -2
  133. package/dist/types-ts4.0/react/utils/performance/RenderTracking.d.ts +0 -15
  134. package/dist/types-ts4.0/react/utils/use-select-all-trap.d.ts +0 -2
  135. package/dist/types-ts4.0/render-document.d.ts +0 -23
  136. package/dist/types-ts4.0/renderer-context.d.ts +0 -9
  137. package/dist/types-ts4.0/serializer.d.ts +0 -4
  138. package/dist/types-ts4.0/steps/index.d.ts +0 -14
  139. package/dist/types-ts4.0/text/index.d.ts +0 -8
  140. package/dist/types-ts4.0/text/nodes/blockquote.d.ts +0 -3
  141. package/dist/types-ts4.0/text/nodes/bulletList.d.ts +0 -3
  142. package/dist/types-ts4.0/text/nodes/date.d.ts +0 -3
  143. package/dist/types-ts4.0/text/nodes/decisionItem.d.ts +0 -3
  144. package/dist/types-ts4.0/text/nodes/hardBreak.d.ts +0 -3
  145. package/dist/types-ts4.0/text/nodes/heading.d.ts +0 -3
  146. package/dist/types-ts4.0/text/nodes/index.d.ts +0 -6
  147. package/dist/types-ts4.0/text/nodes/inlineCard.d.ts +0 -3
  148. package/dist/types-ts4.0/text/nodes/listItem.d.ts +0 -3
  149. package/dist/types-ts4.0/text/nodes/mediaGroup.d.ts +0 -3
  150. package/dist/types-ts4.0/text/nodes/mention.d.ts +0 -3
  151. package/dist/types-ts4.0/text/nodes/orderedList.d.ts +0 -3
  152. package/dist/types-ts4.0/text/nodes/panel.d.ts +0 -3
  153. package/dist/types-ts4.0/text/nodes/paragraph.d.ts +0 -3
  154. package/dist/types-ts4.0/text/nodes/rule.d.ts +0 -3
  155. package/dist/types-ts4.0/text/nodes/status.d.ts +0 -3
  156. package/dist/types-ts4.0/text/nodes/table.d.ts +0 -3
  157. package/dist/types-ts4.0/text/nodes/taskItem.d.ts +0 -3
  158. package/dist/types-ts4.0/text/nodes/unknown.d.ts +0 -3
  159. package/dist/types-ts4.0/text-serializer.d.ts +0 -1
  160. package/dist/types-ts4.0/types/i18n.d.ts +0 -5
  161. package/dist/types-ts4.0/types/mediaOptions.d.ts +0 -12
  162. package/dist/types-ts4.0/types/smartLinksOptions.d.ts +0 -3
  163. package/dist/types-ts4.0/ui/Expand.d.ts +0 -21
  164. package/dist/types-ts4.0/ui/ExtensionRenderer.d.ts +0 -42
  165. package/dist/types-ts4.0/ui/MediaCard.d.ts +0 -77
  166. package/dist/types-ts4.0/ui/Renderer/ErrorBoundary.d.ts +0 -24
  167. package/dist/types-ts4.0/ui/Renderer/breakout-ssr.d.ts +0 -11
  168. package/dist/types-ts4.0/ui/Renderer/click-to-edit.d.ts +0 -6
  169. package/dist/types-ts4.0/ui/Renderer/index.d.ts +0 -33
  170. package/dist/types-ts4.0/ui/Renderer/style.d.ts +0 -14
  171. package/dist/types-ts4.0/ui/Renderer/truncated-wrapper.d.ts +0 -12
  172. package/dist/types-ts4.0/ui/Renderer/types.d.ts +0 -16
  173. package/dist/types-ts4.0/ui/RendererActionsContext/WithRendererActions.d.ts +0 -6
  174. package/dist/types-ts4.0/ui/RendererActionsContext/index.d.ts +0 -9
  175. package/dist/types-ts4.0/ui/SmartCardStorage.d.ts +0 -60
  176. package/dist/types-ts4.0/ui/SortingIcon.d.ts +0 -23
  177. package/dist/types-ts4.0/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +0 -15
  178. package/dist/types-ts4.0/ui/TaskItemsFormatContext/index.d.ts +0 -2
  179. package/dist/types-ts4.0/ui/active-header-id-provider.d.ts +0 -18
  180. package/dist/types-ts4.0/ui/annotations/context.d.ts +0 -27
  181. package/dist/types-ts4.0/ui/annotations/draft/component.d.ts +0 -20
  182. package/dist/types-ts4.0/ui/annotations/draft/dom.d.ts +0 -7
  183. package/dist/types-ts4.0/ui/annotations/draft/index.d.ts +0 -2
  184. package/dist/types-ts4.0/ui/annotations/draft/position.d.ts +0 -2
  185. package/dist/types-ts4.0/ui/annotations/draft/text.d.ts +0 -11
  186. package/dist/types-ts4.0/ui/annotations/element/index.d.ts +0 -10
  187. package/dist/types-ts4.0/ui/annotations/element/mark.d.ts +0 -14
  188. package/dist/types-ts4.0/ui/annotations/hooks/index.d.ts +0 -3
  189. package/dist/types-ts4.0/ui/annotations/hooks/use-events.d.ts +0 -18
  190. package/dist/types-ts4.0/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +0 -1
  191. package/dist/types-ts4.0/ui/annotations/hooks/use-inline-comments-filter.d.ts +0 -9
  192. package/dist/types-ts4.0/ui/annotations/hooks/use-load-annotations.d.ts +0 -6
  193. package/dist/types-ts4.0/ui/annotations/hooks/user-selection.d.ts +0 -9
  194. package/dist/types-ts4.0/ui/annotations/hooks/utils.d.ts +0 -2
  195. package/dist/types-ts4.0/ui/annotations/index.d.ts +0 -5
  196. package/dist/types-ts4.0/ui/annotations/selection/index.d.ts +0 -1
  197. package/dist/types-ts4.0/ui/annotations/selection/mounter.d.ts +0 -20
  198. package/dist/types-ts4.0/ui/annotations/selection/range-validator.d.ts +0 -13
  199. package/dist/types-ts4.0/ui/annotations/selection/wrapper.d.ts +0 -8
  200. package/dist/types-ts4.0/ui/annotations/types.d.ts +0 -22
  201. package/dist/types-ts4.0/ui/annotations/view/index.d.ts +0 -7
  202. package/dist/types-ts4.0/ui/index.d.ts +0 -1
  203. package/dist/types-ts4.0/ui/renderer-props.d.ts +0 -100
  204. package/dist/types-ts4.0/use-feature-flags.d.ts +0 -2
  205. package/dist/types-ts4.0/utils.d.ts +0 -24
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 103.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 103.0.1
4
10
 
5
11
  ### Patch Changes
@@ -102,7 +102,7 @@ exports.NORMAL_SEVERITY_THRESHOLD = NORMAL_SEVERITY_THRESHOLD;
102
102
  var DEGRADED_SEVERITY_THRESHOLD = 3000;
103
103
  exports.DEGRADED_SEVERITY_THRESHOLD = DEGRADED_SEVERITY_THRESHOLD;
104
104
  var packageName = "@atlaskit/renderer";
105
- var packageVersion = "103.0.1";
105
+ var packageVersion = "103.0.2";
106
106
 
107
107
  var Renderer = /*#__PURE__*/function (_PureComponent) {
108
108
  (0, _inherits2.default)(Renderer, _PureComponent);
@@ -130,7 +130,7 @@ var rendererStyles = function rendererStyles(wrapperProps) {
130
130
  var themeProps = {
131
131
  theme: theme
132
132
  };
133
- return (0, _react.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n font-size: ", "px;\n line-height: 1.5rem;\n color: ", ";\n\n .", "::after {\n // we add a clearfix after ak-renderer-document in order to\n // contain internal floats (such as media images that are \"wrap-left\")\n // to just the renderer (and not spill outside of it)\n content: '';\n visibility: hidden;\n display: block;\n height: 0;\n clear: both;\n }\n\n ", "\n ", "\n\n & h1 {\n ", "\n }\n\n & h2 {\n ", "\n }\n\n & h3 {\n ", "\n }\n\n & h4 {\n ", "\n }\n\n & h5 {\n ", "\n }\n\n & h6 {\n ", "\n }\n\n & span.akActionMark {\n color: ", ";\n text-decoration: none;\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:active {\n color: ", ";\n }\n }\n\n & span.akActionMark {\n cursor: pointer;\n }\n\n & span[data-placeholder] {\n color: ", ";\n }\n\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", "\n\n & .UnknownBlock {\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n white-space: pre-wrap;\n word-wrap: break-word;\n }\n\n & span.date-node {\n background: ", ";\n border-radius: ", "px;\n color: ", ";\n padding: 2px 4px;\n margin: 0 1px;\n transition: background 0.3s;\n }\n\n & span.date-node-highlighted {\n background: ", ";\n color: ", ";\n }\n\n & .renderer-image {\n max-width: 100%;\n display: block;\n margin: ", "px 0;\n }\n\n .", ".rich-media-wrapped\n + .", ":not(.rich-media-wrapped) {\n clear: both;\n }\n\n & .code-block,\n & blockquote,\n & hr,\n & > div > div:not(.rich-media-wrapped),\n .", ".rich-media-wrapped\n + .rich-media-wrapped\n + *:not(.rich-media-wrapped),\n .", ".rich-media-wrapped + div:not(.rich-media-wrapped),\n .", ".image-align-start,\n .", ".image-center,\n .", ".image-align-end {\n clear: both;\n }\n\n & .rich-media-wrapped {\n & + h1,\n & + h2,\n & + h3,\n & + h4,\n & + h5,\n & + h6 {\n margin-top: 8px;\n }\n }\n\n ", "\n /* plugin styles */\n ", " &\n div[class^='image-wrap-'] + div[class^='image-wrap-'] {\n margin-left: 0;\n margin-right: 0;\n }\n\n /* Breakout for tables and extensions */\n .", " > {\n * .", " {\n width: 100% !important;\n left: 0 !important;\n }\n\n * .", " {\n overflow-x: auto;\n }\n\n & .", ":first-child {\n margin-top: 0;\n }\n }\n\n .", " {\n .", " {\n margin-top: ", ";\n }\n\n .", " {\n margin-left: 50%;\n transform: translateX(-50%);\n }\n\n .", " {\n overflow-x: auto;\n }\n\n .", "\n .", " {\n display: flex;\n }\n }\n\n ", "\n\n .", " .", " {\n z-index: 0;\n transition: all 0.1s linear;\n display: flex; /* needed to avoid position: fixed jumpiness in Chrome */\n\n /** Shadow overrides */\n &.", "::after,\n &.", "::before {\n top: ", "px;\n height: calc(100% - ", "px);\n z-index: ", ";\n }\n\n &\n .", ",\n &\n .", " {\n height: calc(100% - ", "px);\n }\n\n /**\n * A hack for making all the <th /> heights equal in case some have shorter\n * content than others.\n *\n * This is done to make sort buttons fill entire <th />.\n */\n table {\n height: 1px; /* will be ignored */\n ", ";\n margin-left: 0;\n margin-right: 0;\n }\n\n table tr:first-of-type {\n height: 100%;\n\n td,\n th {\n position: relative;\n }\n }\n\n table[data-number-column='true'] {\n .", " {\n background-color: ", ";\n border-right: 1px solid\n ", ";\n width: ", "px;\n text-align: center;\n color: ", ";\n font-size: ", ";\n }\n\n .fixed .", " {\n border-right: 0px none;\n }\n }\n }\n\n tr[data-header-row].fixed {\n position: fixed !important;\n display: flex;\n overflow: hidden;\n z-index: ", ";\n\n border-right: 1px solid\n ", ";\n border-bottom: 1px solid\n ", ";\n\n /* this is to compensate for the table border */\n transform: translateX(-1px);\n }\n\n .sticky > th {\n z-index: ", ";\n position: sticky !important;\n top: 0;\n }\n\n /* Make the number column header sticky */\n .sticky > td {\n position: sticky !important;\n top: 0;\n }\n\n /* add border for position: sticky\n and work around background-clip: padding-box\n bug for FF causing box-shadow bug in Chrome */\n .sticky th,\n .sticky td {\n box-shadow: 0px 1px\n ", ",\n 0px -0.5px ", ",\n inset -1px 0px ", ",\n 0px -1px ", ";\n }\n\n /* this will remove jumpiness caused in Chrome for sticky headers */\n .fixed + tr {\n min-height: 0px;\n }\n\n /*\n * We wrap CodeBlock in a grid to prevent it from overflowing the container of the renderer.\n * See ED-4159.\n */\n & .code-block {\n max-width: 100%;\n /* -ms- properties are necessary until MS supports the latest version of the grid spec */\n /* stylelint-disable value-no-vendor-prefix, declaration-block-no-duplicate-properties */\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: auto 1fr;\n /* stylelint-enable */\n\n grid-template-columns: minmax(0, 1fr);\n position: relative;\n border-radius: ", "px;\n\n /*\n * The overall renderer has word-wrap: break; which causes issues with\n * code block line numbers in Safari / iOS.\n */\n word-wrap: normal;\n\n & > span {\n /* stylelint-disable value-no-vendor-prefix */\n -ms-grid-row: 1;\n -ms-grid-column: 2;\n /* stylelint-enable */\n grid-column: 1;\n }\n }\n\n & .MediaGroup,\n & .code-block {\n margin-top: ", ";\n\n &:first-child {\n margin-top: 0;\n }\n\n &:hover button.copy-to-clipboard,\n .copy-to-clipboard:focus {\n opacity: 1;\n position: absolute;\n height: 32px;\n width: 32px;\n right: 6px;\n top: 4px;\n padding: 2px;\n }\n }\n\n ", "\n\n ", ";\n & [data-layout-section] {\n margin-top: ", "px;\n & > div + div {\n margin-left: ", "px;\n }\n\n @media screen and (max-width: ", "px) {\n & > div + div {\n margin-left: 0;\n }\n }\n }\n\n & li {\n > .code-block {\n margin: ", " 0 0 0;\n }\n > .code-block:first-child {\n margin-top: 0;\n }\n\n > div:last-of-type.code-block {\n margin-bottom: ", ";\n }\n\n ", "\n }\n "])), (0, _editorSharedStyles.editorFontSize)(themeProps), (0, _components.themed)({
133
+ return (0, _react.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n font-size: ", "px;\n line-height: 1.5rem;\n color: ", ";\n\n .", "::after {\n // we add a clearfix after ak-renderer-document in order to\n // contain internal floats (such as media images that are \"wrap-left\")\n // to just the renderer (and not spill outside of it)\n content: '';\n visibility: hidden;\n display: block;\n height: 0;\n clear: both;\n }\n\n ", "\n ", "\n\n & h1 {\n ", "\n }\n\n & h2 {\n ", "\n }\n\n & h3 {\n ", "\n }\n\n & h4 {\n ", "\n }\n\n & h5 {\n ", "\n }\n\n & h6 {\n ", "\n }\n\n & span.akActionMark {\n color: ", ";\n text-decoration: none;\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:active {\n color: ", ";\n }\n }\n\n & span.akActionMark {\n cursor: pointer;\n }\n\n & span[data-placeholder] {\n color: ", ";\n }\n\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", "\n\n & .UnknownBlock {\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n white-space: pre-wrap;\n word-wrap: break-word;\n }\n\n & span.date-node {\n background: ", ";\n border-radius: ", "px;\n color: ", ";\n padding: 2px 4px;\n margin: 0 1px;\n transition: background 0.3s;\n }\n\n & span.date-node-highlighted {\n background: ", ";\n color: ", ";\n }\n\n & .renderer-image {\n max-width: 100%;\n display: block;\n margin: ", "px 0;\n }\n\n .", ".rich-media-wrapped\n + .", ":not(.rich-media-wrapped) {\n clear: both;\n }\n\n & .code-block,\n & blockquote,\n & hr,\n & > div > div:not(.rich-media-wrapped),\n .", ".rich-media-wrapped\n + .rich-media-wrapped\n + *:not(.rich-media-wrapped),\n .", ".rich-media-wrapped + div:not(.rich-media-wrapped),\n .", ".image-align-start,\n .", ".image-center,\n .", ".image-align-end {\n clear: both;\n }\n\n & .rich-media-wrapped {\n & + h1,\n & + h2,\n & + h3,\n & + h4,\n & + h5,\n & + h6 {\n margin-top: 8px;\n }\n }\n\n ", "\n /* plugin styles */\n ", " &\n div[class^='image-wrap-'] + div[class^='image-wrap-'] {\n margin-left: 0;\n margin-right: 0;\n }\n\n /* Breakout for tables and extensions */\n .", " > {\n * .", " {\n width: 100% !important;\n left: 0 !important;\n }\n\n * .", " {\n overflow-x: auto;\n }\n\n & .", ":first-child {\n margin-top: 0;\n }\n }\n\n .", " {\n .", " {\n margin-top: ", ";\n }\n\n .", " {\n margin-left: 50%;\n transform: translateX(-50%);\n }\n\n .", " {\n overflow-x: auto;\n }\n\n .", "\n .", " {\n display: flex;\n }\n }\n\n ", "\n\n .", " .", " {\n z-index: 0;\n transition: all 0.1s linear;\n display: flex; /* needed to avoid position: fixed jumpiness in Chrome */\n\n /** Shadow overrides */\n &.", "::after,\n &.", "::before {\n top: ", "px;\n height: calc(100% - ", "px);\n z-index: ", ";\n }\n\n &\n .", ",\n &\n .", " {\n height: calc(100% - ", "px);\n }\n\n /**\n * A hack for making all the <th /> heights equal in case some have shorter\n * content than others.\n *\n * This is done to make sort buttons fill entire <th />.\n */\n table {\n height: 1px; /* will be ignored */\n ", ";\n margin-left: 0;\n margin-right: 0;\n }\n\n table tr:first-of-type {\n height: 100%;\n\n td,\n th {\n position: relative;\n }\n }\n\n table[data-number-column='true'] {\n .", " {\n background-color: ", ";\n border-right: 1px solid\n ", ";\n width: ", "px;\n text-align: center;\n color: ", ";\n font-size: ", ";\n }\n\n .fixed .", " {\n border-right: 0px none;\n }\n }\n }\n\n tr[data-header-row].fixed {\n position: fixed !important;\n display: flex;\n overflow: hidden;\n z-index: ", ";\n\n border-right: 1px solid\n ", ";\n border-bottom: 1px solid\n ", ";\n\n /* this is to compensate for the table border */\n transform: translateX(-1px);\n }\n\n .sticky > th {\n z-index: ", ";\n position: sticky !important;\n top: 0;\n }\n\n /* Make the number column header sticky */\n .sticky > td {\n position: sticky !important;\n top: 0;\n }\n\n /* add border for position: sticky\n and work around background-clip: padding-box\n bug for FF causing box-shadow bug in Chrome */\n .sticky th,\n .sticky td {\n box-shadow: 0px 1px\n ", ",\n 0px -0.5px ", ",\n inset -1px 0px ", ",\n 0px -1px ", ";\n }\n\n /* this will remove jumpiness caused in Chrome for sticky headers */\n .fixed + tr {\n min-height: 0px;\n }\n\n /*\n * We wrap CodeBlock in a grid to prevent it from overflowing the container of the renderer.\n * See ED-4159.\n */\n & .code-block {\n max-width: 100%;\n /* -ms- properties are necessary until MS supports the latest version of the grid spec */\n /* stylelint-disable value-no-vendor-prefix, declaration-block-no-duplicate-properties */\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: auto 1fr;\n /* stylelint-enable */\n\n grid-template-columns: minmax(0, 1fr);\n position: relative;\n border-radius: ", "px;\n\n /*\n * The overall renderer has word-wrap: break; which causes issues with\n * code block line numbers in Safari / iOS.\n */\n word-wrap: normal;\n\n & > span {\n /* stylelint-disable value-no-vendor-prefix */\n -ms-grid-row: 1;\n -ms-grid-column: 2;\n /* stylelint-enable */\n grid-column: 1;\n }\n }\n\n & .MediaGroup,\n & .code-block {\n margin-top: ", ";\n\n &:first-child {\n margin-top: 0;\n }\n\n &:hover button.copy-to-clipboard,\n .copy-to-clipboard:focus {\n opacity: 1;\n position: absolute;\n height: 32px;\n width: 32px;\n right: 6px;\n top: 4px;\n padding: 2px;\n }\n }\n\n ", "\n\n ", ";\n & [data-layout-section] {\n margin-top: ", "px;\n & > div + div {\n margin-left: ", "px;\n }\n\n @media screen and (max-width: ", "px) {\n & > div + div {\n margin-left: 0;\n }\n }\n }\n\n & li {\n > .code-block {\n margin: ", " 0 0 0;\n }\n > .code-block:first-child {\n margin-top: 0;\n }\n\n > div:last-of-type.code-block {\n margin-bottom: ", ";\n }\n\n ", "\n }\n "])), (0, _editorSharedStyles.editorFontSize)(themeProps), (0, _components.themed)({
134
134
  light: (0, _tokens.token)('color.text', colors.N800),
135
135
  dark: (0, _tokens.token)('color.text', '#B8C7E0')
136
136
  })(themeProps), _consts.RendererCssClassName.DOCUMENT, fullPageStyles(wrapperProps, themeProps), fullWidthStyles(wrapperProps), headingAnchorStyle('h1'), headingAnchorStyle('h2'), headingAnchorStyle('h3'), headingAnchorStyle('h4'), headingAnchorStyle('h5'), headingAnchorStyle('h6'), (0, _tokens.token)('color.link', colors.B400), (0, _tokens.token)('color.link', colors.B300), (0, _tokens.token)('color.link.pressed', colors.B500), colors.placeholderText(themeProps), _styles.whitespaceSharedStyles, _styles.blockquoteSharedStyles, (0, _styles.headingsSharedStyles)(themeProps), (0, _styles.ruleSharedStyles)(themeProps), _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.blockMarksSharedStyles, (0, _styles.codeMarkSharedStyles)(themeProps), _styles.shadowSharedStyle, _styles.dateSharedStyle, _styles.textColorStyles, _styles.tasksAndDecisionsStyles, _styles.smartCardSharedStyles, (0, _constants.fontFamily)(), (0, _editorSharedStyles.relativeFontSizeToBase16)((0, _constants.fontSize)()), (0, _components.themed)({
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "103.0.1",
3
+ "version": "103.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -36,7 +36,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
36
36
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
37
37
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
38
38
  const packageName = "@atlaskit/renderer";
39
- const packageVersion = "103.0.1";
39
+ const packageVersion = "103.0.2";
40
40
  export class Renderer extends PureComponent {
41
41
  constructor(props) {
42
42
  super(props);