@atlaskit/editor-core 213.2.1 → 213.2.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 (169) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/i18n/cs.js +4 -6
  3. package/dist/cjs/i18n/da.js +4 -6
  4. package/dist/cjs/i18n/de.js +4 -6
  5. package/dist/cjs/i18n/en.js +4 -6
  6. package/dist/cjs/i18n/en_GB.js +4 -6
  7. package/dist/cjs/i18n/en_ZZ.js +4 -6
  8. package/dist/cjs/i18n/es.js +4 -6
  9. package/dist/cjs/i18n/fi.js +4 -6
  10. package/dist/cjs/i18n/fr.js +4 -6
  11. package/dist/cjs/i18n/hr.js +4 -6
  12. package/dist/cjs/i18n/hu.js +4 -6
  13. package/dist/cjs/i18n/it.js +4 -6
  14. package/dist/cjs/i18n/ja.js +4 -6
  15. package/dist/cjs/i18n/ko.js +4 -6
  16. package/dist/cjs/i18n/nb.js +4 -6
  17. package/dist/cjs/i18n/nl.js +4 -6
  18. package/dist/cjs/i18n/pl.js +4 -6
  19. package/dist/cjs/i18n/pt_BR.js +4 -6
  20. package/dist/cjs/i18n/ru.js +4 -6
  21. package/dist/cjs/i18n/sl.js +4 -6
  22. package/dist/cjs/i18n/sr_RS.js +4 -6
  23. package/dist/cjs/i18n/sr_YR.js +4 -6
  24. package/dist/cjs/i18n/sv.js +4 -6
  25. package/dist/cjs/i18n/th.js +4 -6
  26. package/dist/cjs/i18n/tr.js +4 -6
  27. package/dist/cjs/i18n/uk.js +4 -6
  28. package/dist/cjs/i18n/vi.js +4 -6
  29. package/dist/cjs/i18n/zh.js +4 -6
  30. package/dist/cjs/i18n/zh_TW.js +4 -6
  31. package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
  32. package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +1 -1
  33. package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper.js +1 -1
  34. package/dist/cjs/ui/ContentStyles/index.js +7 -7
  35. package/dist/cjs/version-wrapper.js +1 -1
  36. package/dist/es2019/i18n/cs.js +4 -6
  37. package/dist/es2019/i18n/da.js +4 -6
  38. package/dist/es2019/i18n/de.js +4 -6
  39. package/dist/es2019/i18n/en.js +4 -6
  40. package/dist/es2019/i18n/en_GB.js +4 -6
  41. package/dist/es2019/i18n/en_ZZ.js +4 -6
  42. package/dist/es2019/i18n/es.js +4 -6
  43. package/dist/es2019/i18n/fi.js +4 -6
  44. package/dist/es2019/i18n/fr.js +4 -6
  45. package/dist/es2019/i18n/hr.js +4 -6
  46. package/dist/es2019/i18n/hu.js +4 -6
  47. package/dist/es2019/i18n/it.js +4 -6
  48. package/dist/es2019/i18n/ja.js +4 -6
  49. package/dist/es2019/i18n/ko.js +4 -6
  50. package/dist/es2019/i18n/nb.js +4 -6
  51. package/dist/es2019/i18n/nl.js +4 -6
  52. package/dist/es2019/i18n/pl.js +4 -6
  53. package/dist/es2019/i18n/pt_BR.js +4 -6
  54. package/dist/es2019/i18n/ru.js +4 -6
  55. package/dist/es2019/i18n/sl.js +4 -6
  56. package/dist/es2019/i18n/sr_RS.js +4 -6
  57. package/dist/es2019/i18n/sr_YR.js +4 -6
  58. package/dist/es2019/i18n/sv.js +4 -6
  59. package/dist/es2019/i18n/th.js +4 -6
  60. package/dist/es2019/i18n/tr.js +4 -6
  61. package/dist/es2019/i18n/uk.js +4 -6
  62. package/dist/es2019/i18n/vi.js +4 -6
  63. package/dist/es2019/i18n/zh.js +4 -6
  64. package/dist/es2019/i18n/zh_TW.js +4 -6
  65. package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -1
  66. package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +1 -1
  67. package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper.js +1 -1
  68. package/dist/es2019/ui/ContentStyles/index.js +6 -6
  69. package/dist/es2019/version-wrapper.js +1 -1
  70. package/dist/esm/i18n/cs.js +4 -6
  71. package/dist/esm/i18n/da.js +4 -6
  72. package/dist/esm/i18n/de.js +4 -6
  73. package/dist/esm/i18n/en.js +4 -6
  74. package/dist/esm/i18n/en_GB.js +4 -6
  75. package/dist/esm/i18n/en_ZZ.js +4 -6
  76. package/dist/esm/i18n/es.js +4 -6
  77. package/dist/esm/i18n/fi.js +4 -6
  78. package/dist/esm/i18n/fr.js +4 -6
  79. package/dist/esm/i18n/hr.js +4 -6
  80. package/dist/esm/i18n/hu.js +4 -6
  81. package/dist/esm/i18n/it.js +4 -6
  82. package/dist/esm/i18n/ja.js +4 -6
  83. package/dist/esm/i18n/ko.js +4 -6
  84. package/dist/esm/i18n/nb.js +4 -6
  85. package/dist/esm/i18n/nl.js +4 -6
  86. package/dist/esm/i18n/pl.js +4 -6
  87. package/dist/esm/i18n/pt_BR.js +4 -6
  88. package/dist/esm/i18n/ru.js +4 -6
  89. package/dist/esm/i18n/sl.js +4 -6
  90. package/dist/esm/i18n/sr_RS.js +4 -6
  91. package/dist/esm/i18n/sr_YR.js +4 -6
  92. package/dist/esm/i18n/sv.js +4 -6
  93. package/dist/esm/i18n/th.js +4 -6
  94. package/dist/esm/i18n/tr.js +4 -6
  95. package/dist/esm/i18n/uk.js +4 -6
  96. package/dist/esm/i18n/vi.js +4 -6
  97. package/dist/esm/i18n/zh.js +4 -6
  98. package/dist/esm/i18n/zh_TW.js +4 -6
  99. package/dist/esm/ui/Appearance/Comment/Comment.js +1 -1
  100. package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +1 -1
  101. package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper.js +1 -1
  102. package/dist/esm/ui/ContentStyles/index.js +7 -7
  103. package/dist/esm/version-wrapper.js +1 -1
  104. package/dist/types/create-editor/create-universal-preset.d.ts +2 -6
  105. package/dist/types/i18n/cs.d.ts +2 -6
  106. package/dist/types/i18n/da.d.ts +2 -6
  107. package/dist/types/i18n/de.d.ts +2 -6
  108. package/dist/types/i18n/en.d.ts +2 -6
  109. package/dist/types/i18n/en_GB.d.ts +2 -6
  110. package/dist/types/i18n/en_ZZ.d.ts +2 -6
  111. package/dist/types/i18n/es.d.ts +2 -6
  112. package/dist/types/i18n/fi.d.ts +2 -6
  113. package/dist/types/i18n/fr.d.ts +2 -6
  114. package/dist/types/i18n/hr.d.ts +2 -6
  115. package/dist/types/i18n/hu.d.ts +2 -6
  116. package/dist/types/i18n/it.d.ts +2 -6
  117. package/dist/types/i18n/ja.d.ts +2 -6
  118. package/dist/types/i18n/ko.d.ts +2 -6
  119. package/dist/types/i18n/nb.d.ts +2 -6
  120. package/dist/types/i18n/nl.d.ts +2 -6
  121. package/dist/types/i18n/pl.d.ts +2 -6
  122. package/dist/types/i18n/pt_BR.d.ts +2 -6
  123. package/dist/types/i18n/ru.d.ts +2 -6
  124. package/dist/types/i18n/sl.d.ts +2 -6
  125. package/dist/types/i18n/sr_RS.d.ts +2 -6
  126. package/dist/types/i18n/sr_YR.d.ts +2 -6
  127. package/dist/types/i18n/sv.d.ts +2 -6
  128. package/dist/types/i18n/th.d.ts +2 -6
  129. package/dist/types/i18n/tr.d.ts +2 -6
  130. package/dist/types/i18n/uk.d.ts +2 -6
  131. package/dist/types/i18n/vi.d.ts +2 -6
  132. package/dist/types/i18n/zh.d.ts +2 -6
  133. package/dist/types/i18n/zh_TW.d.ts +2 -6
  134. package/dist/types/presets/universal.d.ts +2 -6
  135. package/dist/types/presets/useUniversalPreset.d.ts +2 -6
  136. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +2 -6
  137. package/dist/types-ts4.5/i18n/cs.d.ts +2 -6
  138. package/dist/types-ts4.5/i18n/da.d.ts +2 -6
  139. package/dist/types-ts4.5/i18n/de.d.ts +2 -6
  140. package/dist/types-ts4.5/i18n/en.d.ts +2 -6
  141. package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -6
  142. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -6
  143. package/dist/types-ts4.5/i18n/es.d.ts +2 -6
  144. package/dist/types-ts4.5/i18n/fi.d.ts +2 -6
  145. package/dist/types-ts4.5/i18n/fr.d.ts +2 -6
  146. package/dist/types-ts4.5/i18n/hr.d.ts +2 -6
  147. package/dist/types-ts4.5/i18n/hu.d.ts +2 -6
  148. package/dist/types-ts4.5/i18n/it.d.ts +2 -6
  149. package/dist/types-ts4.5/i18n/ja.d.ts +2 -6
  150. package/dist/types-ts4.5/i18n/ko.d.ts +2 -6
  151. package/dist/types-ts4.5/i18n/nb.d.ts +2 -6
  152. package/dist/types-ts4.5/i18n/nl.d.ts +2 -6
  153. package/dist/types-ts4.5/i18n/pl.d.ts +2 -6
  154. package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -6
  155. package/dist/types-ts4.5/i18n/ru.d.ts +2 -6
  156. package/dist/types-ts4.5/i18n/sl.d.ts +2 -6
  157. package/dist/types-ts4.5/i18n/sr_RS.d.ts +2 -6
  158. package/dist/types-ts4.5/i18n/sr_YR.d.ts +2 -6
  159. package/dist/types-ts4.5/i18n/sv.d.ts +2 -6
  160. package/dist/types-ts4.5/i18n/th.d.ts +2 -6
  161. package/dist/types-ts4.5/i18n/tr.d.ts +2 -6
  162. package/dist/types-ts4.5/i18n/uk.d.ts +2 -6
  163. package/dist/types-ts4.5/i18n/vi.d.ts +2 -6
  164. package/dist/types-ts4.5/i18n/zh.d.ts +2 -6
  165. package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -6
  166. package/dist/types-ts4.5/presets/universal.d.ts +2 -6
  167. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +2 -6
  168. package/docs/4-annotations.tsx +2 -2
  169. package/package.json +4 -3
@@ -1,13 +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
- //Russian
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Введите текст…',
11
- 'fabric.editor.editorAssistiveLabel': 'Область основного содержимого. Начните печатать, чтобы ввести текст.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Открыть справку'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/ru';
11
+ export default translations;
@@ -1,13 +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
- //Slovenian (Slovenia) [sl-SI]
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Vnesite nekaj …',
11
- 'fabric.editor.editorAssistiveLabel': 'Glavno področje za vsebino; začnite tipkati, da vnesete besedilo.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Odpri pogovorno okno pomoči'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sl';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': 'Unesite tekst…',
11
- 'fabric.editor.editorAssistiveLabel': 'Glavna oblast za sadržaj, počnite da unosite tekst.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Otvori dijalog pomoći'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sr_RS';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': 'Унесите текст…',
11
- 'fabric.editor.editorAssistiveLabel': 'Главна област за садржај, почните да уносите текст.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Отвори дијалог помоћи'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sr_YR';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': 'Skriv något …',
11
- 'fabric.editor.editorAssistiveLabel': 'Huvudsakligt innehållsområde, börja skriva för att ange text.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Öppna hjälpdialogruta'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sv';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': 'พิมพ์อะไรบางอย่าง...',
11
- 'fabric.editor.editorAssistiveLabel': 'พื้นที่เนื้อหาหลัก เริ่มพิมพ์เพื่อป้อนข้อความ',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'เปิดกรอบโต้ตอบความช่วยเหลือ'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/th';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': 'Bir şey yazın…',
11
- 'fabric.editor.editorAssistiveLabel': 'Ana içerik alanı, metin girmek için yazmaya başlayın.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Yardım iletişim kutusunu aç'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/tr';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': 'Введіть текст…',
11
- 'fabric.editor.editorAssistiveLabel': 'Основна область вмісту: почніть вводити текст.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Відкрити довідку'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/uk';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': 'Nhập nội dung bất kỳ...',
11
- 'fabric.editor.editorAssistiveLabel': 'Vùng nội dung chính, bắt đầu gõ để nhập văn bản.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Mở hộp thoại trợ giúp'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/vi';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': '输入内容......',
11
- 'fabric.editor.editorAssistiveLabel': '主内容区域,开始键入以输入文本。',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': '打开帮助对话框'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/zh';
11
+ export default translations;
@@ -1,13 +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.chromeCollapsedPlaceholder': '輸入一些內容...',
11
- 'fabric.editor.editorAssistiveLabel': '主要內容區域,打字即可輸入文字。',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': '開啟說明對話方塊'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/zh_TW';
11
+ export default translations;
@@ -43,7 +43,7 @@ var commentEditorStyles = css({
43
43
  minWidth: '272px',
44
44
  height: 'auto',
45
45
  backgroundColor: "var(--ds-background-input, white)",
46
- border: "1px solid ".concat("var(--ds-border-input, #8590A2)"),
46
+ border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-input, #8590A2)"),
47
47
  boxSizing: 'border-box',
48
48
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
49
49
  borderRadius: "var(--ds-radius-small, 3px)",
@@ -31,7 +31,7 @@ var mainToolbar = function mainToolbar() {
31
31
  alignItems: 'center',
32
32
  boxShadow: 'none',
33
33
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
34
- borderBottom: "1px solid ".concat("var(--ds-border, #091E4224)"),
34
+ borderBottom: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #091E4224)"),
35
35
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
36
36
  transition: "box-shadow 200ms ".concat(akEditorSwoopCubicBezier),
37
37
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -18,7 +18,7 @@ var baseToolbarStyles = css({
18
18
  position: 'relative',
19
19
  alignItems: 'center',
20
20
  boxShadow: 'none',
21
- borderBottom: "1px solid ".concat("var(--ds-border, #091E4224)"),
21
+ borderBottom: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #091E4224)"),
22
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
23
23
  transition: "box-shadow 200ms ".concat(akEditorSwoopCubicBezier),
24
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
@@ -61,7 +61,7 @@ var mentionNodeStyles = css({
61
61
  fontWeight: "var(--ds-font-weight-regular, 400)",
62
62
  wordBreak: 'break-word',
63
63
  background: "var(--ds-background-neutral, #091E420F)",
64
- border: '1px solid transparent',
64
+ border: "var(--ds-border-width, 1px)".concat(" solid transparent"),
65
65
  color: "var(--ds-text-subtle, #44546F)",
66
66
  '&:hover': {
67
67
  background: "var(--ds-background-neutral-hovered, #091E4224)"
@@ -73,7 +73,7 @@ var mentionNodeStyles = css({
73
73
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
74
74
  '.editor-mention-primitive.mention-restricted': {
75
75
  background: 'transparent',
76
- border: "1px solid ".concat("var(--ds-border-bold, #758195)"),
76
+ border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-bold, #758195)"),
77
77
  color: "var(--ds-text, #172B4D)",
78
78
  '&:hover': {
79
79
  background: 'transparent'
@@ -85,7 +85,7 @@ var mentionNodeStyles = css({
85
85
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
86
86
  '.editor-mention-primitive.mention-self': {
87
87
  background: "var(--ds-background-brand-bold, #0C66E4)",
88
- border: '1px solid transparent',
88
+ border: "var(--ds-border-width, 1px)".concat(" solid transparent"),
89
89
  color: "var(--ds-text-inverse, #FFFFFF)",
90
90
  '&:hover': {
91
91
  background: "var(--ds-background-brand-bold-hovered, #0055CC)"
@@ -109,7 +109,7 @@ var mentionSelectionStyles = css(_templateObject3 || (_templateObject3 = _tagged
109
109
  var mentionsSelectionStylesWithSearchMatch = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\t.danger {\n\t\t.editor-mention-primitive {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n\n\t.", ":not(.search-match-block) > .editor-mention-primitive,\n\t.", ":not(.search-match-block)\n\t\t> .editor-mention-primitive.mention-self,\n\t.", ":not(.search-match-block)\n\t\t> .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n\n\t.", ".search-match-block > .editor-mention-primitive,\n\t.", ".search-match-block > .editor-mention-primitive.mention-self,\n\t.", ".search-match-block\n\t\t> .editor-mention-primitive.mention-restricted {\n\t\t", "\n\t\t/* need to specify dark text colour because personal mentions\n\t (in dark blue) have white text by default */\n\t\tcolor: ", "\n\t}\n"])), akEditorSelectedBorderSize, akEditorDeleteBorder, "var(--ds-background-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"), akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)", akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)");
110
110
  var mentionsStyles = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n\t.", " {\n\t\t&.", " [data-mention-id] > span {\n\t\t\t", "\n\n\t\t\t/* need to specify dark text colour because personal mentions\n\t\t\t(in dark blue) have white text by default */\n\t\t\tcolor: ", ";\n\t\t}\n\t}\n\n\t.danger {\n\t\t.", ".", "\n\t\t\t> span\n\t\t\t> span\n\t\t\t> span {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t\tbackground-color: ", ";\n\t\t}\n\t\t.", " > span > span > span {\n\t\t\tbackground-color: ", ";\n\t\t\tcolor: ", ";\n\t\t}\n\t}\n"])), MentionSharedCssClassName.MENTION_CONTAINER, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Background]), "var(--ds-text-subtle, #44546F)", MentionSharedCssClassName.MENTION_CONTAINER, akEditorSelectedNodeClassName, akEditorSelectedBorderSize, akEditorDeleteBorder, "var(--ds-background-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"), MentionSharedCssClassName.MENTION_CONTAINER, "var(--ds-background-neutral, #091E420F)", "var(--ds-text-subtle, #44546F)");
111
111
  var listsStyles = css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\tli {\n\t\t\tposition: relative;\n\n\t\t\t> p:not(:first-child) {\n\t\t\t\tmargin: ", " 0 0 0;\n\t\t\t}\n\n\t\t\t/* In SSR the above rule will apply to all p tags because first-child would be a style tag.\n\t\t\tThe following rule resets the first p tag back to its original margin\n\t\t\tdefined in packages/editor/editor-common/src/styles/shared/paragraph.ts */\n\t\t\t> style:first-child + p {\n\t\t\t\tmargin-top: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:not([data-node-type='decisionList']) > li,\n /* This prevents https://product-fabric.atlassian.net/browse/ED-20924 */\n &:not(.", ") > li {\n\t\t\t", "\n\t\t}\n\t}\n"])), "var(--ds-space-050, 4px)", blockNodesVerticalMargin, SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, browser.safari ? codeBlockInListSafariFix : '');
112
- var emojiStyles = css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n\t.ProseMirror .", " {\n\t\tdisplay: inline-block;\n\t}\n\n\t.ProseMirror\n\t\t:is(.", ", .", ") {\n\t\tbackground: no-repeat transparent;\n\t\tdisplay: inline-block;\n\t\theight: ", "px;\n\t\tmax-height: ", "px;\n\t\tcursor: pointer;\n\t\tvertical-align: middle;\n\t\tuser-select: all;\n\t}\n\n\t.ProseMirror .", " {\n\t\t.", ", .", " {\n\t\t\tborder-radius: 2px;\n\t\t\t", "\n\t\t}\n\t}\n"])), EmojiSharedCssClassName.EMOJI_CONTAINER, EmojiSharedCssClassName.EMOJI_SPRITE, EmojiSharedCssClassName.EMOJI_IMAGE, defaultEmojiHeight, defaultEmojiHeight, akEditorSelectedNodeClassName, EmojiSharedCssClassName.EMOJI_SPRITE, EmojiSharedCssClassName.EMOJI_IMAGE, getSelectionStyles([SelectionStyle.Blanket, SelectionStyle.BoxShadow]));
112
+ var emojiStyles = css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n\t.ProseMirror .", " {\n\t\tdisplay: inline-block;\n\t}\n\n\t.ProseMirror\n\t\t:is(.", ", .", ") {\n\t\tbackground: no-repeat transparent;\n\t\tdisplay: inline-block;\n\t\theight: ", "px;\n\t\tmax-height: ", "px;\n\t\tcursor: pointer;\n\t\tvertical-align: middle;\n\t\tuser-select: all;\n\t}\n\n\t.ProseMirror .", " {\n\t\t.", ", .", " {\n\t\t\tborder-radius: ", ";\n\t\t\t", "\n\t\t}\n\t}\n"])), EmojiSharedCssClassName.EMOJI_CONTAINER, EmojiSharedCssClassName.EMOJI_SPRITE, EmojiSharedCssClassName.EMOJI_IMAGE, defaultEmojiHeight, defaultEmojiHeight, akEditorSelectedNodeClassName, EmojiSharedCssClassName.EMOJI_SPRITE, EmojiSharedCssClassName.EMOJI_IMAGE, "var(--ds-radius-xsmall, 2px)", getSelectionStyles([SelectionStyle.Blanket, SelectionStyle.BoxShadow]));
113
113
 
114
114
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
115
115
  export var placeholderStyles = css({
@@ -150,7 +150,7 @@ var firstBlockNodeStylesNew = css(_templateObject8 || (_templateObject8 = _tagge
150
150
  var firstFloatingToolbarButtonStyles = css({
151
151
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
152
152
  'button.first-floating-toolbar-button:focus': {
153
- outline: "2px solid ".concat("var(--ds-border-focused, #2684FF)")
153
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #2684FF)")
154
154
  }
155
155
  });
156
156
 
@@ -164,9 +164,9 @@ var akEditorBreakpointForSmallDevice = "1266px";
164
164
  * use this instead: packages/editor/editor-core/src/ui/EditorContentContainer.tsx
165
165
  */
166
166
  var legacyContentStyles = function legacyContentStyles(props) {
167
- return css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: ", "px;\n\t--ak-editor--resizer-handle-spacing: 12px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t--ak-editor--breakout-fallback-width: calc(\n\t\t100cqw - var(--ak-editor--breakout-full-page-guttering-padding)\n\t);\n\t--ak-editor--breakout-min-width: 100%;\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\n\t\t/* in full width appearances it's not possible to rely on cqw because it doesn't account for the page scrollbar, which depends on users system settings */\n\t\t--ak-editor--breakout-fallback-width: 100%;\n\t\t--ak-editor--breakout-min-width: 0px;\n\t}\n\n\t.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (width >= ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t", "\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t/**\n\t * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24\n\t */\n\t.ProseMirror-hideselection {\n\t\tcaret-color: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\tcaret-color: transparent;\n\t}\n\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\tdisplay: none;\n\t}\n\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n /* Switch between the two icons based on the visual refresh feature gate */\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t/* For FullPage only when inside a table\n\tRelated code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\tIn the \"editorContentAreaContainerStyle\" function */\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Legacy Link icon in the Atlaskit package\n is bigger than the others, new ADS icon does not have this issue\n */\n\t", "\n"])), akEditorGutterPadding, akEditorGutterPaddingDynamic(), akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, expValEqualsNoExposure('platform_editor_preview_panel_responsiveness', 'isEnabled', true) ? css(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n\t\t\t\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t\t\t\t@container editor-area (max-width: ", "px) {\n\t\t\t\t\t--ak-editor--large-gutter-padding: ", "px;\n\t\t\t\t}\n\t\t\t"])), akEditorFullPageNarrowBreakout, akEditorGutterPaddingReduced) : null, editorFontSize({
167
+ return css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: ", "px;\n\t--ak-editor--resizer-handle-spacing: 12px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t--ak-editor--breakout-fallback-width: calc(\n\t\t100cqw - var(--ak-editor--breakout-full-page-guttering-padding)\n\t);\n\t--ak-editor--breakout-min-width: 100%;\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\n\t\t/* in full width appearances it's not possible to rely on cqw because it doesn't account for the page scrollbar, which depends on users system settings */\n\t\t--ak-editor--breakout-fallback-width: 100%;\n\t\t--ak-editor--breakout-min-width: 0px;\n\t}\n\n\t.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (width >= ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t", "\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t/**\n\t * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24\n\t */\n\t.ProseMirror-hideselection {\n\t\tcaret-color: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: ", " solid ", ";\n\t}\n\n\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\tcaret-color: transparent;\n\t}\n\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\tdisplay: none;\n\t}\n\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n /* Switch between the two icons based on the visual refresh feature gate */\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t/* For FullPage only when inside a table\n\tRelated code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\tIn the \"editorContentAreaContainerStyle\" function */\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Legacy Link icon in the Atlaskit package\n is bigger than the others, new ADS icon does not have this issue\n */\n\t", "\n"])), akEditorGutterPadding, akEditorGutterPaddingDynamic(), akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, expValEqualsNoExposure('platform_editor_preview_panel_responsiveness', 'isEnabled', true) ? css(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n\t\t\t\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t\t\t\t@container editor-area (max-width: ", "px) {\n\t\t\t\t\t--ak-editor--large-gutter-padding: ", "px;\n\t\t\t\t}\n\t\t\t"])), akEditorFullPageNarrowBreakout, akEditorGutterPaddingReduced) : null, editorFontSize({
168
168
  theme: props.theme
169
- }), whitespaceSharedStyles, paragraphSharedStyles(props.typographyTheme), listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", firstFloatingToolbarButtonStyles, placeholderTextStyles, placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder') ? placeholderWrapStyles : null, codeBlockStyles(), blocktypeStyles(props.typographyTheme), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(), listsStyles, ruleStyles(), mediaStyles(), layoutStyles(props.viewMode), telepointerStyle, gapCursorStyles, panelStyles(), mentionsStyles, mentionNodeStyles, fg('platform_editor_centre_mention_padding') && mentionNodeStylesMixin_fg_platform_editor_centre_mention_padding, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? findReplaceStylesNew : findReplaceStyles, textHighlightStyle, taskDecisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? taskItemStylesWithBlockTaskItem : taskItemStyles, fg('platform-visual-refresh-icons') && decisionIconWithVisualRefresh, !fg('platform-visual-refresh-icons') && decisionIconWithoutVisualRefresh, statusStyles(), statusNodeStyles(), annotationSharedStyles(), smartCardStyles(), getSmartCardSharedStyles(), dateStyles, dateNodeStyles, embedCardStyles(), unsupportedStyles, resizerStyles, pragmaticResizerStyles(), pragmaticStylesLayoutFirstNodeResizeHandleFix(), pragmaticResizerStylesForTooltip(), pragmaticResizerStylesWithReducedEditorGutter(), aiPanelStyles(props.colorMode), firstBlockNodeStylesNew, fg('platform_editor_vanilla_codebidi_warning') && codeBidiWarningStyles, MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT, !fg('platform-visual-refresh-icons') ? css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n\t\t\t\t.hyperlink-open-link {\n\t\t\t\t\tmin-width: 24px;\n\t\t\t\t\tsvg {\n\t\t\t\t\t\tmax-width: 18px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"]))) : null);
169
+ }), whitespaceSharedStyles, paragraphSharedStyles(props.typographyTheme), listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-width-focused, 2px)", "var(--ds-border-focused, #8cf)", firstFloatingToolbarButtonStyles, placeholderTextStyles, placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder') ? placeholderWrapStyles : null, codeBlockStyles(), blocktypeStyles(props.typographyTheme), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(), listsStyles, ruleStyles(), mediaStyles(), layoutStyles(props.viewMode), telepointerStyle, gapCursorStyles, panelStyles(), mentionsStyles, mentionNodeStyles, fg('platform_editor_centre_mention_padding') && mentionNodeStylesMixin_fg_platform_editor_centre_mention_padding, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? mentionsSelectionStylesWithSearchMatch : mentionSelectionStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? findReplaceStylesNew : findReplaceStyles, textHighlightStyle, taskDecisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? taskItemStylesWithBlockTaskItem : taskItemStyles, fg('platform-visual-refresh-icons') && decisionIconWithVisualRefresh, !fg('platform-visual-refresh-icons') && decisionIconWithoutVisualRefresh, statusStyles(), statusNodeStyles(), annotationSharedStyles(), smartCardStyles(), getSmartCardSharedStyles(), dateStyles, dateNodeStyles, embedCardStyles(), unsupportedStyles, resizerStyles, pragmaticResizerStyles(), pragmaticStylesLayoutFirstNodeResizeHandleFix(), pragmaticResizerStylesForTooltip(), pragmaticResizerStylesWithReducedEditorGutter(), aiPanelStyles(props.colorMode), firstBlockNodeStylesNew, fg('platform_editor_vanilla_codebidi_warning') && codeBidiWarningStyles, MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT, !fg('platform-visual-refresh-icons') ? css(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n\t\t\t\t.hyperlink-open-link {\n\t\t\t\t\tmin-width: 24px;\n\t\t\t\t\tsvg {\n\t\t\t\t\t\tmax-width: 18px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"]))) : null);
170
170
  };
171
171
  export var createEditorContentStyle = function createEditorContentStyle(styles) {
172
172
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "213.2.0";
2
+ export var version = "213.2.1";
@@ -400,9 +400,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
400
400
  };
401
401
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
402
402
  pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
403
- sharedState: {
404
- shouldShowToolbar: boolean;
405
- };
403
+ sharedState: import("packages/editor/editor-plugin-toolbar/dist/types/toolbarPluginType").EditorToolbarPluginState;
406
404
  }, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>];
407
405
  pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
408
406
  sharedState: {
@@ -530,9 +528,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
530
528
  };
531
529
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
532
530
  pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
533
- sharedState: {
534
- shouldShowToolbar: boolean;
535
- };
531
+ sharedState: import("packages/editor/editor-plugin-toolbar/dist/types/toolbarPluginType").EditorToolbarPluginState;
536
532
  }, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
537
533
  commands: {
538
534
  updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/cs';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/da';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/de';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en_GB';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en_ZZ';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/es';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/fi';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/fr';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/hr';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/hu';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/it';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/ja';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/ko';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/nb';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/nl';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/pl';
8
+ export default translations;
@@ -4,9 +4,5 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
7
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/pt_BR';
8
+ export default translations;