@atlaskit/renderer 133.2.0 → 133.3.1

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 (137) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/cjs/i18n/cs.js +4 -12
  3. package/dist/cjs/i18n/da.js +4 -12
  4. package/dist/cjs/i18n/de.js +4 -12
  5. package/dist/cjs/i18n/en.js +4 -12
  6. package/dist/cjs/i18n/en_GB.js +4 -12
  7. package/dist/cjs/i18n/en_ZZ.js +4 -12
  8. package/dist/cjs/i18n/es.js +4 -12
  9. package/dist/cjs/i18n/fi.js +4 -12
  10. package/dist/cjs/i18n/fr.js +4 -12
  11. package/dist/cjs/i18n/hr.js +4 -12
  12. package/dist/cjs/i18n/hu.js +4 -12
  13. package/dist/cjs/i18n/it.js +4 -12
  14. package/dist/cjs/i18n/ja.js +4 -12
  15. package/dist/cjs/i18n/ko.js +4 -12
  16. package/dist/cjs/i18n/nb.js +4 -12
  17. package/dist/cjs/i18n/nl.js +4 -12
  18. package/dist/cjs/i18n/pl.js +4 -12
  19. package/dist/cjs/i18n/pt_BR.js +4 -12
  20. package/dist/cjs/i18n/ru.js +4 -12
  21. package/dist/cjs/i18n/sl.js +4 -12
  22. package/dist/cjs/i18n/sr_RS.js +4 -12
  23. package/dist/cjs/i18n/sr_YR.js +4 -12
  24. package/dist/cjs/i18n/sv.js +4 -12
  25. package/dist/cjs/i18n/th.js +4 -12
  26. package/dist/cjs/i18n/tr.js +4 -12
  27. package/dist/cjs/i18n/uk.js +4 -12
  28. package/dist/cjs/i18n/vi.js +4 -12
  29. package/dist/cjs/i18n/zh.js +4 -12
  30. package/dist/cjs/i18n/zh_TW.js +4 -12
  31. package/dist/cjs/react/index.js +8 -2
  32. package/dist/cjs/react/nodes/extension.js +1 -1
  33. package/dist/cjs/ui/Expand.js +123 -10
  34. package/dist/cjs/ui/Renderer/ErrorBoundary.js +2 -7
  35. package/dist/cjs/ui/Renderer/RendererStyleContainer.js +3 -63
  36. package/dist/cjs/ui/Renderer/index.js +1 -1
  37. package/dist/es2019/i18n/cs.js +4 -12
  38. package/dist/es2019/i18n/da.js +4 -12
  39. package/dist/es2019/i18n/de.js +4 -12
  40. package/dist/es2019/i18n/en.js +4 -12
  41. package/dist/es2019/i18n/en_GB.js +4 -12
  42. package/dist/es2019/i18n/en_ZZ.js +4 -12
  43. package/dist/es2019/i18n/es.js +4 -12
  44. package/dist/es2019/i18n/fi.js +4 -12
  45. package/dist/es2019/i18n/fr.js +4 -12
  46. package/dist/es2019/i18n/hr.js +4 -12
  47. package/dist/es2019/i18n/hu.js +4 -12
  48. package/dist/es2019/i18n/it.js +4 -12
  49. package/dist/es2019/i18n/ja.js +4 -12
  50. package/dist/es2019/i18n/ko.js +4 -12
  51. package/dist/es2019/i18n/nb.js +4 -12
  52. package/dist/es2019/i18n/nl.js +4 -12
  53. package/dist/es2019/i18n/pl.js +4 -12
  54. package/dist/es2019/i18n/pt_BR.js +4 -12
  55. package/dist/es2019/i18n/ru.js +4 -12
  56. package/dist/es2019/i18n/sl.js +4 -12
  57. package/dist/es2019/i18n/sr_RS.js +4 -12
  58. package/dist/es2019/i18n/sr_YR.js +4 -12
  59. package/dist/es2019/i18n/sv.js +4 -12
  60. package/dist/es2019/i18n/th.js +4 -12
  61. package/dist/es2019/i18n/tr.js +4 -12
  62. package/dist/es2019/i18n/uk.js +4 -12
  63. package/dist/es2019/i18n/vi.js +4 -12
  64. package/dist/es2019/i18n/zh.js +4 -12
  65. package/dist/es2019/i18n/zh_TW.js +4 -12
  66. package/dist/es2019/react/index.js +8 -2
  67. package/dist/es2019/react/nodes/extension.js +1 -1
  68. package/dist/es2019/ui/Expand.js +120 -9
  69. package/dist/es2019/ui/Renderer/ErrorBoundary.js +1 -7
  70. package/dist/es2019/ui/Renderer/RendererStyleContainer.js +1 -75
  71. package/dist/es2019/ui/Renderer/index.js +1 -1
  72. package/dist/esm/i18n/cs.js +4 -12
  73. package/dist/esm/i18n/da.js +4 -12
  74. package/dist/esm/i18n/de.js +4 -12
  75. package/dist/esm/i18n/en.js +4 -12
  76. package/dist/esm/i18n/en_GB.js +4 -12
  77. package/dist/esm/i18n/en_ZZ.js +4 -12
  78. package/dist/esm/i18n/es.js +4 -12
  79. package/dist/esm/i18n/fi.js +4 -12
  80. package/dist/esm/i18n/fr.js +4 -12
  81. package/dist/esm/i18n/hr.js +4 -12
  82. package/dist/esm/i18n/hu.js +4 -12
  83. package/dist/esm/i18n/it.js +4 -12
  84. package/dist/esm/i18n/ja.js +4 -12
  85. package/dist/esm/i18n/ko.js +4 -12
  86. package/dist/esm/i18n/nb.js +4 -12
  87. package/dist/esm/i18n/nl.js +4 -12
  88. package/dist/esm/i18n/pl.js +4 -12
  89. package/dist/esm/i18n/pt_BR.js +4 -12
  90. package/dist/esm/i18n/ru.js +4 -12
  91. package/dist/esm/i18n/sl.js +4 -12
  92. package/dist/esm/i18n/sr_RS.js +4 -12
  93. package/dist/esm/i18n/sr_YR.js +4 -12
  94. package/dist/esm/i18n/sv.js +4 -12
  95. package/dist/esm/i18n/th.js +4 -12
  96. package/dist/esm/i18n/tr.js +4 -12
  97. package/dist/esm/i18n/uk.js +4 -12
  98. package/dist/esm/i18n/vi.js +4 -12
  99. package/dist/esm/i18n/zh.js +4 -12
  100. package/dist/esm/i18n/zh_TW.js +4 -12
  101. package/dist/esm/react/index.js +8 -2
  102. package/dist/esm/react/nodes/extension.js +1 -1
  103. package/dist/esm/ui/Expand.js +123 -9
  104. package/dist/esm/ui/Renderer/ErrorBoundary.js +1 -7
  105. package/dist/esm/ui/Renderer/RendererStyleContainer.js +3 -63
  106. package/dist/esm/ui/Renderer/index.js +1 -1
  107. package/dist/types/i18n/cs.d.ts +2 -12
  108. package/dist/types/i18n/da.d.ts +2 -12
  109. package/dist/types/i18n/de.d.ts +2 -12
  110. package/dist/types/i18n/en.d.ts +2 -12
  111. package/dist/types/i18n/en_GB.d.ts +2 -12
  112. package/dist/types/i18n/en_ZZ.d.ts +2 -12
  113. package/dist/types/i18n/es.d.ts +2 -12
  114. package/dist/types/i18n/fi.d.ts +2 -12
  115. package/dist/types/i18n/fr.d.ts +2 -12
  116. package/dist/types/i18n/hr.d.ts +2 -12
  117. package/dist/types/i18n/hu.d.ts +2 -12
  118. package/dist/types/i18n/it.d.ts +2 -12
  119. package/dist/types/i18n/ja.d.ts +2 -12
  120. package/dist/types/i18n/ko.d.ts +2 -12
  121. package/dist/types/i18n/nb.d.ts +2 -12
  122. package/dist/types/i18n/nl.d.ts +2 -12
  123. package/dist/types/i18n/pl.d.ts +2 -12
  124. package/dist/types/i18n/pt_BR.d.ts +2 -12
  125. package/dist/types/i18n/ru.d.ts +2 -12
  126. package/dist/types/i18n/sl.d.ts +2 -12
  127. package/dist/types/i18n/sr_RS.d.ts +2 -12
  128. package/dist/types/i18n/sr_YR.d.ts +2 -12
  129. package/dist/types/i18n/sv.d.ts +2 -12
  130. package/dist/types/i18n/th.d.ts +2 -12
  131. package/dist/types/i18n/tr.d.ts +2 -12
  132. package/dist/types/i18n/uk.d.ts +2 -12
  133. package/dist/types/i18n/vi.d.ts +2 -12
  134. package/dist/types/i18n/zh.d.ts +2 -12
  135. package/dist/types/i18n/zh_TW.d.ts +2 -12
  136. package/dist/types/ui/Expand.d.ts +1 -0
  137. package/package.json +15 -17
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Serbian (Serbia) [sr-RS]
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'rastući',
11
- 'fabric.editor.headingLink.copied': 'Kopirano!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj link naslova',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
14
- 'fabric.editor.headingLink.descSortingLabel': 'opadajući',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiranje nije uspelo',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'nijedno',
17
- 'fabric.editor.inlineComment.marker.end': 'kraj umetnutog komentara',
18
- 'fabric.editor.inlineComment.marker.start': 'početak umetnutog komentara'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/sr_RS';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Serbian (Cyrillic) [sr-YR]
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'растући',
11
- 'fabric.editor.headingLink.copied': 'Копирано!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Копирај линк наслова',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Копирај',
14
- 'fabric.editor.headingLink.descSortingLabel': 'опадајући',
15
- 'fabric.editor.headingLink.failedToCopy': 'Копирање није успело',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'ништа',
17
- 'fabric.editor.inlineComment.marker.end': 'крај уметнутог коментара',
18
- 'fabric.editor.inlineComment.marker.start': 'почетак уметнутог коментара'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/sr_YR';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Swedish
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'stigande',
11
- 'fabric.editor.headingLink.copied': 'Kopierad!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopiera länk till rubrik',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiera',
14
- 'fabric.editor.headingLink.descSortingLabel': 'fallande',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiering misslyckades',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Ingen',
17
- 'fabric.editor.inlineComment.marker.end': 'slut på inlinekommentarer',
18
- 'fabric.editor.inlineComment.marker.start': 'start på inlinekommentarer'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/sv';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Thai (Thailand)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'จากน้อยไปหามาก',
11
- 'fabric.editor.headingLink.copied': 'คัดลอกแล้ว!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'คัดลอกลิงก์ที่เชื่อมไปยังหัวเรื่อง',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'คัดลอก',
14
- 'fabric.editor.headingLink.descSortingLabel': 'จากมากไปหาน้อย',
15
- 'fabric.editor.headingLink.failedToCopy': 'การคัดลอกไม่สำเร็จ',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'ไม่มี',
17
- 'fabric.editor.inlineComment.marker.end': 'สิ้นสุดความคิดเห็นในบรรทัด',
18
- 'fabric.editor.inlineComment.marker.start': 'เริ่มต้นความคิดเห็นในบรรทัด'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/th';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Turkish (Turkey)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'artan',
11
- 'fabric.editor.headingLink.copied': 'Kopyalandı!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Başlık bağlantısını kopyala',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopyala',
14
- 'fabric.editor.headingLink.descSortingLabel': 'azalan',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopyalama işlemi başarısız oldu',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'yok',
17
- 'fabric.editor.inlineComment.marker.end': 'satır içi yorum sonu',
18
- 'fabric.editor.inlineComment.marker.start': 'satır içi yorum başlangıcı'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/tr';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Ukrainian (Ukraine)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'за зростанням',
11
- 'fabric.editor.headingLink.copied': 'Скопійовано',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Скопіювати посилання на заголовок',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Копіювати',
14
- 'fabric.editor.headingLink.descSortingLabel': 'за спаданням',
15
- 'fabric.editor.headingLink.failedToCopy': 'Не вдалося скопіювати',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Немає',
17
- 'fabric.editor.inlineComment.marker.end': 'кінець вбудованого коментаря',
18
- 'fabric.editor.inlineComment.marker.start': 'початок вбудованого коментаря'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/uk';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Vietnamese (Vietnam)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'tăng dần',
11
- 'fabric.editor.headingLink.copied': 'Đã sao chép!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Sao chép liên kết vào tiêu đề',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Sao chép',
14
- 'fabric.editor.headingLink.descSortingLabel': 'giảm dần',
15
- 'fabric.editor.headingLink.failedToCopy': 'Sao chép không thành công',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'không có',
17
- 'fabric.editor.inlineComment.marker.end': 'bình luận nội tuyến kết thúc',
18
- 'fabric.editor.inlineComment.marker.start': 'bình luận nội tuyến bắt đầu'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/vi';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Chinese (Simplified)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '升序',
11
- 'fabric.editor.headingLink.copied': '已复制!',
12
- 'fabric.editor.headingLink.copyAnchorLink': '复制标题链接',
13
- 'fabric.editor.headingLink.copyAriaLabel': '复制',
14
- 'fabric.editor.headingLink.descSortingLabel': '降序',
15
- 'fabric.editor.headingLink.failedToCopy': '复制失败',
16
- 'fabric.editor.headingLink.noneSortingLabel': '无',
17
- 'fabric.editor.inlineComment.marker.end': '内联评论结束',
18
- 'fabric.editor.inlineComment.marker.start': '内联评论开始'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/zh';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Chinese (Traditional)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '遞增',
11
- 'fabric.editor.headingLink.copied': '已複製!',
12
- 'fabric.editor.headingLink.copyAnchorLink': '複製標題連結',
13
- 'fabric.editor.headingLink.copyAriaLabel': '複製',
14
- 'fabric.editor.headingLink.descSortingLabel': '遞減',
15
- 'fabric.editor.headingLink.failedToCopy': '複製失敗',
16
- 'fabric.editor.headingLink.noneSortingLabel': '無',
17
- 'fabric.editor.inlineComment.marker.end': '內嵌留言結束',
18
- 'fabric.editor.inlineComment.marker.start': '內嵌留言開始'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/zh_TW';
11
+ export default translations;
@@ -639,10 +639,15 @@ export default class ReactSerializer {
639
639
  return annotation.node.marks.some(mark => mark.attrs.annotationType === 'inlineComment');
640
640
  });
641
641
  }
642
+
643
+ // Only compute searchText when the browser find experiment is enabled,
644
+ // to avoid unnecessary node.textContent string allocations per expand node.
645
+ const searchText = expValEquals('platform_editor_close_expand_find', 'isEnabled', true) ? node.textContent : undefined;
642
646
  if (!isNestedHeaderLinksEnabled(this.allowHeadingAnchorLinks)) {
643
647
  return {
644
648
  ...this.getProps(node),
645
- loadBodyContent
649
+ loadBodyContent,
650
+ searchText
646
651
  };
647
652
  }
648
653
  const nestedHeaderIds = findChildrenByType(node, node.type.schema.nodes.heading).map(({
@@ -651,7 +656,8 @@ export default class ReactSerializer {
651
656
  return {
652
657
  ...this.getProps(node),
653
658
  nestedHeaderIds,
654
- loadBodyContent
659
+ loadBodyContent,
660
+ searchText
655
661
  };
656
662
  }
657
663
 
@@ -83,7 +83,7 @@ export const renderExtension = (content, layout, options = {}, removeOverflow, e
83
83
  const extensionHeight = nodeHeight || viewportSize;
84
84
  const isInline = (shouldDisplayExtensionAsInline === null || shouldDisplayExtensionAsInline === void 0 ? void 0 : shouldDisplayExtensionAsInline(node)) && expValEquals('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true);
85
85
  const inlineClassName = isInline ? RendererCssClassName.EXTENSION_AS_INLINE : '';
86
- const asInlineAnalytics = isInline && fireAnalyticsEvent && node && fg('platform_editor_render_inline_extension_analytics') ? jsx(FireExtensionAsInlineAnalytics, {
86
+ const asInlineAnalytics = isInline && fireAnalyticsEvent && node ? jsx(FireExtensionAsInlineAnalytics, {
87
87
  fireAnalyticsEvent: fireAnalyticsEvent,
88
88
  node: node
89
89
  }) : null;
@@ -5,7 +5,8 @@
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
6
  import { css, jsx } from '@emotion/react';
7
7
  import React, { useCallback, useRef, Suspense, lazy } from 'react';
8
- // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
8
+ import { bind } from 'bind-event-listener';
9
+ import { getDocument } from '@atlaskit/browser-apis';
9
10
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
10
11
  import { ExpandIconWrapper, ExpandLayoutWrapperWithRef, expandMessages, WidthProvider } from '@atlaskit/editor-common/ui';
11
12
  import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset } from '@atlaskit/editor-shared-styles';
@@ -88,12 +89,17 @@ const titleContainerStyles = css({
88
89
  const titleContainerStylesExpanded = css({
89
90
  paddingBottom: "var(--ds-space-0, 0px)"
90
91
  });
92
+
93
+ // Base styles for the content container. visibility:hidden hides collapsed content.
94
+ // When browser find is enabled, the useEffect clears visibility:hidden after setting
95
+ // hidden="until-found" on the DOM element, which applies content-visibility:hidden natively —
96
+ // this hides the content while allowing browser Ctrl+F to index the text.
97
+ // The visibility:hidden in CSS serves as an SSR fallback (useEffect doesn't run server-side).
91
98
  const contentContainerStyles = css({
92
99
  paddingTop: "var(--ds-space-0, 0px)",
93
100
  marginLeft: "var(--ds-space-050, 4px)",
94
101
  paddingRight: "var(--ds-space-200, 16px)",
95
102
  paddingLeft: "var(--ds-space-400, 32px)",
96
- display: 'flow-root',
97
103
  visibility: 'hidden',
98
104
  // The follow rules inside @supports block are added as a part of ED-8893
99
105
  // The fix is targeting mobile bridge on iOS 12 or below,
@@ -103,6 +109,13 @@ const contentContainerStyles = css({
103
109
  boxSizing: 'border-box'
104
110
  }
105
111
  });
112
+
113
+ // display:flow-root is applied only when browser find is NOT enabled.
114
+ // It must NOT be set when browser find is enabled — it overrides the
115
+ // content-visibility:hidden applied by hidden="until-found" and makes content visible.
116
+ const contentContainerStylesFlowRoot = css({
117
+ display: 'flow-root'
118
+ });
106
119
  const contentContainerStylesExpanded = css({
107
120
  paddingTop: "var(--ds-space-100, 8px)",
108
121
  visibility: 'visible'
@@ -120,6 +133,19 @@ const contentContainerStylesNotExpanded = css({
120
133
  userSelect: 'none'
121
134
  }
122
135
  });
136
+
137
+ // When browser find is enabled and expand is collapsed, we rely on the
138
+ // hidden="until-found" attribute on the outer container to hide content.
139
+ // We remove height:0/overflow:hidden/clip from the inner wrapper so the
140
+ // browser can actually search through the content.
141
+ const contentContainerStylesNotExpandedBrowserFind = css({
142
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
143
+ '.expand-content-wrapper, .nestedExpand-content-wrapper': {
144
+ width: '100%',
145
+ display: 'block',
146
+ userSelect: 'none'
147
+ }
148
+ });
123
149
  const clearNextSiblingMarginTopStyle = css({
124
150
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
125
151
  '& + *': {
@@ -169,7 +195,8 @@ const TitleContainer = props => {
169
195
  TitleContainer.displayName = 'TitleContainerButton';
170
196
  const ContentContainer = props => {
171
197
  return jsx("div", {
172
- css: [contentContainerStyles, props.expanded && contentContainerStylesExpanded, !props.expanded && contentContainerStylesNotExpanded]
198
+ ref: props.contentRef,
199
+ css: [contentContainerStyles, !props.enableBrowserFind && contentContainerStylesFlowRoot, props.expanded && contentContainerStylesExpanded, !props.expanded && (props.enableBrowserFind ? contentContainerStylesNotExpandedBrowserFind : contentContainerStylesNotExpanded)]
173
200
  }, props.children);
174
201
  };
175
202
  function fireExpandToggleAnalytics(nodeType, expanded, fireAnalyticsEvent) {
@@ -196,7 +223,8 @@ function Expand({
196
223
  localId,
197
224
  nestedHeaderIds,
198
225
  rendererContentMode,
199
- loadBodyContent
226
+ loadBodyContent,
227
+ searchText
200
228
  }) {
201
229
  const [expanded, setExpanded] = React.useState(false);
202
230
  const [focused, setFocused] = React.useState(false);
@@ -206,10 +234,92 @@ function Expand({
206
234
  const {
207
235
  current: id
208
236
  } = useRef(_uniqueId('expand-title-'));
237
+ const contentContainerRef = useRef(null);
238
+ const contentWrapperRef = useRef(null);
209
239
  const handleFocus = useCallback(() => setFocused(true), []);
210
240
  const handleBlur = useCallback(() => setFocused(false), []);
241
+ const expandForBrowserFind = useCallback(() => {
242
+ setHasLoadedChildren(true);
243
+ setExpanded(true);
244
+ }, []);
211
245
  const isCompactModeSupported = expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp');
212
246
  const isCompact = rendererContentMode === 'compact' && isCompactModeSupported;
247
+ const shouldRenderLazyChildren = hasLoadedChildren || loadBodyContent;
248
+ // Only render the lightweight text placeholder when lazy load is ON and
249
+ // children haven't been loaded yet. When lazy load is OFF, children are
250
+ // always in the DOM — hidden="until-found" on the wrapper already makes
251
+ // them searchable by browser find, so no placeholder is needed.
252
+ const shouldRenderBrowserFindText = !shouldRenderLazyChildren && searchText && fg('hot-121622_lazy_load_expand_content') && expValEquals('platform_editor_close_expand_find', 'isEnabled', true);
253
+
254
+ // Feature-detect hidden="until-found" support via the beforematch event.
255
+ // Chrome 102+ and Firefox 130+ support it; Safari does not yet.
256
+ // In unsupported browsers, setting hidden="until-found" is treated as boolean hidden
257
+ // (display:none), which would break the expand entirely.
258
+ // Initialised as false and set in useEffect to avoid SSR/client hydration mismatch —
259
+ // useMemo would return true on the client's first render in supported browsers,
260
+ // differing from the server snapshot which always produces false.
261
+ const [supportsHiddenUntilFound, setSupportsHiddenUntilFound] = React.useState(false);
262
+ React.useEffect(() => {
263
+ const doc = getDocument();
264
+ setSupportsHiddenUntilFound(doc !== null && doc !== void 0 && doc.body ? 'onbeforematch' in doc.body : false);
265
+ }, []);
266
+
267
+ // React 18 treats `hidden` as a boolean attribute and strips the "until-found" value,
268
+ // rendering it as just `hidden` (which applies display:none and blocks find-in-page).
269
+ // We bypass React by setting the attribute directly on the DOM element around the text.
270
+ //
271
+ // We also remove the CSS visibility:hidden (SSR fallback) once hidden="until-found" is set,
272
+ // because visibility:hidden blocks browser find. On expanded, we restore visibility to visible.
273
+ //
274
+ // Only applied when the browser supports hidden="until-found" (detected via onbeforematch).
275
+ // In unsupported browsers (Safari), we skip this entirely and fall back to the normal
276
+ // CSS hiding (visibility:hidden + height:0), which doesn't support find-in-page but
277
+ // still works correctly for expand/collapse.
278
+ React.useEffect(() => {
279
+ const contentContainer = contentContainerRef.current;
280
+ const contentWrapper = contentWrapperRef.current;
281
+ if (!contentWrapper) {
282
+ return;
283
+ }
284
+ if (supportsHiddenUntilFound && expValEquals('platform_editor_close_expand_find', 'isEnabled', true) && !expanded) {
285
+ contentWrapper.setAttribute('hidden', 'until-found');
286
+ // Override the CSS visibility:hidden from contentContainerStyles — hidden="until-found"
287
+ // now handles hiding via content-visibility:hidden, which allows browser find to index
288
+ // the content. We use 'visible' (not '') because '' only clears the inline style but
289
+ // the Emotion CSS class rule still applies visibility:hidden, blocking find-in-page.
290
+ contentContainer === null || contentContainer === void 0 ? void 0 : contentContainer.style.setProperty('visibility', 'visible');
291
+ contentWrapper.style.visibility = 'visible';
292
+ } else {
293
+ contentWrapper.removeAttribute('hidden');
294
+ contentContainer === null || contentContainer === void 0 ? void 0 : contentContainer.style.removeProperty('visibility');
295
+ contentWrapper.style.visibility = '';
296
+ }
297
+ }, [expanded, supportsHiddenUntilFound]);
298
+ React.useEffect(() => {
299
+ if (!expValEquals('platform_editor_close_expand_find', 'isEnabled', true) || expanded) {
300
+ return;
301
+ }
302
+ const contentWrapper = contentWrapperRef.current;
303
+ const unbindWrapperBeforeMatch = contentWrapper && supportsHiddenUntilFound ? bind(contentWrapper, {
304
+ type: 'beforematch',
305
+ listener: expandForBrowserFind
306
+ }) : undefined;
307
+ return () => {
308
+ unbindWrapperBeforeMatch === null || unbindWrapperBeforeMatch === void 0 ? void 0 : unbindWrapperBeforeMatch();
309
+ };
310
+ }, [expandForBrowserFind, expanded, supportsHiddenUntilFound]);
311
+ let expandContent = children;
312
+ if (shouldRenderBrowserFindText) {
313
+ // Browser find path: keep a lightweight text mirror in the closed expand
314
+ // so Ctrl+F can index it without mounting the rich children tree.
315
+ expandContent = jsx("span", null, searchText);
316
+ } else if (!shouldRenderLazyChildren && fg('hot-121622_lazy_load_expand_content')) {
317
+ expandContent = null;
318
+ } else if (fg('hot-121622_lazy_load_expand_content')) {
319
+ expandContent = jsx(Suspense, {
320
+ fallback: jsx("div", null, intl.formatMessage(expandMessages.loading))
321
+ }, jsx(LazyChildren, null, children));
322
+ }
213
323
  return jsx(Container, {
214
324
  "data-testid": `expand-container-${nodeType}-${id}`,
215
325
  "data-node-type": nodeType,
@@ -274,14 +384,15 @@ function Expand({
274
384
  css: [titleStyles, isCompact && titleStylesDense],
275
385
  id: id
276
386
  }, title || intl.formatMessage(expandMessages.expandDefaultTitle))), jsx(ContentContainer, {
277
- expanded: expanded
387
+ expanded: expanded,
388
+ enableBrowserFind: supportsHiddenUntilFound && expValEquals('platform_editor_close_expand_find', 'isEnabled', true),
389
+ contentRef: contentContainerRef
278
390
  }, jsx("div", {
279
- className: `${nodeType}-content-wrapper`
391
+ className: `${nodeType}-content-wrapper`,
392
+ ref: contentWrapperRef
280
393
  }, jsx(WidthProvider, null, jsx("div", {
281
394
  css: clearNextSiblingMarginTopStyle
282
- }), fg('hot-121622_lazy_load_expand_content') ? hasLoadedChildren || loadBodyContent ? jsx(Suspense, {
283
- fallback: jsx("div", null, intl.formatMessage(expandMessages.loading))
284
- }, jsx(LazyChildren, null, children)) : null : children))));
395
+ }), expandContent))));
285
396
  }
286
397
 
287
398
  // eslint-disable-next-line @typescript-eslint/ban-types
@@ -4,9 +4,6 @@ import { ACTION, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
4
4
  import { FabricChannel } from '@atlaskit/analytics-listeners/types';
5
5
  import { logException } from '@atlaskit/editor-common/monitoring';
6
6
  import { PLATFORM } from '../../analytics/events';
7
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
- // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
9
- import uuid from 'uuid';
10
7
 
11
8
  // Ignored via go/ees005
12
9
  // eslint-disable-next-line require-unicode-regexp
@@ -84,11 +81,8 @@ export class ErrorBoundary extends React.Component {
84
81
  }
85
82
  render() {
86
83
  if (this.state.domError) {
87
- const key = expValEquals('platform_editor_renderer_error_boundary_stable_key', 'isEnabled', true) ? this.state.domErrorCount :
88
- // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
89
- uuid();
90
84
  return /*#__PURE__*/React.createElement(React.Fragment, {
91
- key: key
85
+ key: this.state.domErrorCount
92
86
  }, this.props.children);
93
87
  }
94
88
  if (this.shouldRecover()) {
@@ -2539,43 +2539,6 @@ const rendererAnnotationStylesCommentHeightFix = css({
2539
2539
  const RENDERER_LIST_DENSE_GAP = `max(0px,calc((var(--ak-renderer-base-font-size) - ${akEditorFullPageDenseFontSize}px)* (4/3)))`;
2540
2540
  const TASKLIST_CONTAINER_DENSE_MARGIN = `max(calc(10px + (var(--ak-renderer-base-font-size) - ${akEditorFullPageDenseFontSize}px) *( 2 / 3)))`;
2541
2541
  const scaledDenseEmojiStyles = css({
2542
- [`.${EmojiSharedCssClassName.EMOJI_IMAGE}`]: {
2543
- height: `${defaultDenseEmojiHeight}px`,
2544
- minHeight: `${defaultDenseEmojiHeight}px`,
2545
- minWidth: `${defaultDenseEmojiHeight}px`,
2546
- maxHeight: `${denseEmojiHeightH1}px`,
2547
- maxWidth: `${denseEmojiHeightH1}px`,
2548
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
2549
- img: {
2550
- width: '100%',
2551
- height: '100%',
2552
- objectFit: 'contain'
2553
- }
2554
- },
2555
- [`h1 :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2556
- height: `${denseEmojiHeightH1}px`,
2557
- width: `${denseEmojiHeightH1}px`
2558
- },
2559
- [`h2 :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2560
- height: `${denseEmojiHeightH2}px`,
2561
- width: `${denseEmojiHeightH2}px`
2562
- },
2563
- [`h3 :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2564
- height: `${denseEmojiHeightH3}px`,
2565
- width: `${denseEmojiHeightH3}px`
2566
- },
2567
- [`h4 :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2568
- height: `${denseEmojiHeightH4}px`,
2569
- width: `${denseEmojiHeightH4}px`
2570
- },
2571
- [`:is(h5, h6, p) :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2572
- height: `${defaultDenseEmojiHeight}px`,
2573
- width: `${defaultDenseEmojiHeight}px`
2574
- }
2575
- });
2576
-
2577
- // this is gated behind `platform_editor_emojis_in_renderer_smart_links`
2578
- const scaledDenseEmojiStylesNew = css({
2579
2542
  [`.${EmojiSharedCssClassName.EMOJI_IMAGE}`]: {
2580
2543
  height: `${defaultDenseEmojiHeight}px`,
2581
2544
  minHeight: `${defaultDenseEmojiHeight}px`,
@@ -2618,43 +2581,6 @@ const scaledDenseEmojiStylesNew = css({
2618
2581
  }
2619
2582
  });
2620
2583
  const scaledEmojiStyles = css({
2621
- [`.${EmojiSharedCssClassName.EMOJI_IMAGE}`]: {
2622
- height: `${defaultEmojiHeight}px`,
2623
- minHeight: `${defaultEmojiHeight}px`,
2624
- minWidth: `${defaultEmojiHeight}px`,
2625
- maxHeight: `${scaledEmojiHeightH1}px`,
2626
- maxWidth: `${scaledEmojiHeightH1}px`,
2627
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
2628
- img: {
2629
- width: '100%',
2630
- height: '100%',
2631
- objectFit: 'contain'
2632
- }
2633
- },
2634
- [`h1 :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2635
- height: `${scaledEmojiHeightH1}px`,
2636
- width: `${scaledEmojiHeightH1}px`
2637
- },
2638
- [`h2 :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2639
- height: `${scaledEmojiHeightH2}px`,
2640
- width: `${scaledEmojiHeightH2}px`
2641
- },
2642
- [`h3 :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2643
- height: `${scaledEmojiHeightH3}px`,
2644
- width: `${scaledEmojiHeightH3}px`
2645
- },
2646
- [`h4 :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2647
- height: `${scaledEmojiHeightH4}px`,
2648
- width: `${scaledEmojiHeightH4}px`
2649
- },
2650
- [`:is(h5, h6, p) :is(.${EmojiSharedCssClassName.EMOJI_IMAGE}, .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_PLACEHOLDER})`]: {
2651
- height: `${defaultEmojiHeight}px`,
2652
- width: `${defaultEmojiHeight}px`
2653
- }
2654
- });
2655
-
2656
- // this is gated behind `platform_editor_emojis_in_renderer_smart_links`
2657
- const scaledEmojiStylesNew = css({
2658
2584
  [`.${EmojiSharedCssClassName.EMOJI_IMAGE}`]: {
2659
2585
  height: `${defaultEmojiHeight}px`,
2660
2586
  minHeight: `${defaultEmojiHeight}px`,
@@ -2889,7 +2815,7 @@ export const RendererStyleContainer = props => {
2889
2815
  // this should be placed after baseOtherStyles
2890
2816
  expValEquals('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && (expValEquals('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), inlineExtensionRendererMarginFix, allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle,
2891
2817
  // merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
2892
- fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeStyles, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) && rendererTableSortableColumnValignStyles, allowColumnSorting && allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && (expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEquals('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? expValEquals('platform_editor_emojis_in_renderer_smart_links', 'isEnabled', true) ? isCompactModeEnabled ? scaledDenseEmojiStylesNew : scaledEmojiStylesNew : isCompactModeEnabled ? scaledDenseEmojiStyles : scaledEmojiStyles : isCompactModeEnabled ? denseStyles : undefined, editorExperiment('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, editorExperiment('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
2818
+ fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeStyles, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) && rendererTableSortableColumnValignStyles, allowColumnSorting && allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && (expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEquals('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? isCompactModeEnabled ? scaledDenseEmojiStyles : scaledEmojiStyles : isCompactModeEnabled ? denseStyles : undefined, editorExperiment('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, editorExperiment('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
2893
2819
  "data-testid": testId
2894
2820
  }, children);
2895
2821
  };
@@ -58,7 +58,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
58
58
  const TABLE_INFO_TIMEOUT = 10000;
59
59
  const RENDER_EVENT_SAMPLE_RATE = 0.2;
60
60
  const packageName = "@atlaskit/renderer";
61
- const packageVersion = "133.1.0";
61
+ const packageVersion = "133.3.1";
62
62
  const setAsQueryContainerStyles = css({
63
63
  containerName: 'ak-renderer-wrapper',
64
64
  containerType: 'inline-size'
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Czech
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'vzestupně',
11
- 'fabric.editor.headingLink.copied': 'Zkopírováno!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopírovat odkaz na nadpis',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopírovat',
14
- 'fabric.editor.headingLink.descSortingLabel': 'sestupně',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopírování se nezdařilo',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Žádné',
17
- 'fabric.editor.inlineComment.marker.end': 'konec vloženého komentáře',
18
- 'fabric.editor.inlineComment.marker.start': 'začátek vloženého komentáře'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/cs';
11
+ export default translations;