@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
- //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;
@@ -39,7 +39,7 @@ const commentEditorStyles = css({
39
39
  minWidth: '272px',
40
40
  height: 'auto',
41
41
  backgroundColor: "var(--ds-background-input, white)",
42
- border: `1px solid ${"var(--ds-border-input, #8590A2)"}`,
42
+ border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border-input, #8590A2)"}`,
43
43
  boxSizing: 'border-box',
44
44
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
45
45
  borderRadius: "var(--ds-radius-small, 3px)",
@@ -33,7 +33,7 @@ const mainToolbar = () => {
33
33
  alignItems: 'center',
34
34
  boxShadow: 'none',
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
- borderBottom: `1px solid ${"var(--ds-border, #091E4224)"}`,
36
+ borderBottom: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #091E4224)"}`,
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
38
38
  transition: `box-shadow 200ms ${akEditorSwoopCubicBezier}`,
39
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -17,7 +17,7 @@ const baseToolbarStyles = css({
17
17
  position: 'relative',
18
18
  alignItems: 'center',
19
19
  boxShadow: 'none',
20
- borderBottom: `1px solid ${"var(--ds-border, #091E4224)"}`,
20
+ borderBottom: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #091E4224)"}`,
21
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
22
22
  transition: `box-shadow 200ms ${akEditorSwoopCubicBezier}`,
23
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
@@ -77,7 +77,7 @@ const mentionNodeStyles = css({
77
77
  fontWeight: "var(--ds-font-weight-regular, 400)",
78
78
  wordBreak: 'break-word',
79
79
  background: "var(--ds-background-neutral, #091E420F)",
80
- border: '1px solid transparent',
80
+ border: `${"var(--ds-border-width, 1px)"} solid transparent`,
81
81
  color: "var(--ds-text-subtle, #44546F)",
82
82
  '&:hover': {
83
83
  background: "var(--ds-background-neutral-hovered, #091E4224)"
@@ -89,7 +89,7 @@ const mentionNodeStyles = css({
89
89
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
90
90
  '.editor-mention-primitive.mention-restricted': {
91
91
  background: 'transparent',
92
- border: `1px solid ${"var(--ds-border-bold, #758195)"}`,
92
+ border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border-bold, #758195)"}`,
93
93
  color: "var(--ds-text, #172B4D)",
94
94
  '&:hover': {
95
95
  background: 'transparent'
@@ -101,7 +101,7 @@ const mentionNodeStyles = css({
101
101
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
102
102
  '.editor-mention-primitive.mention-self': {
103
103
  background: "var(--ds-background-brand-bold, #0C66E4)",
104
- border: '1px solid transparent',
104
+ border: `${"var(--ds-border-width, 1px)"} solid transparent`,
105
105
  color: "var(--ds-text-inverse, #FFFFFF)",
106
106
  '&:hover': {
107
107
  background: "var(--ds-background-brand-bold-hovered, #0055CC)"
@@ -234,7 +234,7 @@ const emojiStyles = css`
234
234
 
235
235
  .ProseMirror .${akEditorSelectedNodeClassName} {
236
236
  .${EmojiSharedCssClassName.EMOJI_SPRITE}, .${EmojiSharedCssClassName.EMOJI_IMAGE} {
237
- border-radius: 2px;
237
+ border-radius: ${"var(--ds-radius-xsmall, 2px)"};
238
238
  ${getSelectionStyles([SelectionStyle.Blanket, SelectionStyle.BoxShadow])}
239
239
  }
240
240
  }
@@ -297,7 +297,7 @@ const firstBlockNodeStylesNew = css`
297
297
  const firstFloatingToolbarButtonStyles = css({
298
298
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
299
299
  'button.first-floating-toolbar-button:focus': {
300
- outline: `2px solid ${"var(--ds-border-focused, #2684FF)"}`
300
+ outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #2684FF)"}`
301
301
  }
302
302
  });
303
303
 
@@ -399,7 +399,7 @@ const legacyContentStyles = props => css`
399
399
  }
400
400
 
401
401
  .ProseMirror-selectednode:empty {
402
- outline: 2px solid ${"var(--ds-border-focused, #8cf)"};
402
+ outline: ${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #8cf)"};
403
403
  }
404
404
 
405
405
  .ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "213.2.0";
2
+ export const version = "213.2.1";
@@ -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
- //Czech
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Napište něco…',
11
- 'fabric.editor.editorAssistiveLabel': 'Hlavní oblast obsahu. Začněte psát, abyste zadali text.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Otevřít dialog nápovědy'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/cs';
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
- //Danish (Denmark)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Skriv noget …',
11
- 'fabric.editor.editorAssistiveLabel': 'Område for hovedindhold. Begynd at taste for at skrive tekst.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Åbn dialogboksen Hjælp'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/da';
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
- //German (Germany)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Mit der Eingabe beginnen',
11
- 'fabric.editor.editorAssistiveLabel': 'Hauptinhaltsbereich – geben Sie hier Ihren Text ein.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Hilfe öffnen'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/de';
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
- //
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Type something…',
11
- 'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en';
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
- //English (United Kingdom)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Type something…',
11
- 'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en_GB';
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
- //
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': '⁣⁢Type something…؜⁡‌‌‍⁡؜⁠⁠‍⁣⁤',
11
- 'fabric.editor.editorAssistiveLabel': '⁣⁢Main content area, start typing to enter text.‍‌⁡‌‌⁡؜؜⁣⁤',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': '⁣⁢Open help dialog‌⁡‌⁠‌⁠⁣⁤'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en_ZZ';
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
- //Spanish (International)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Escribe algo…',
11
- 'fabric.editor.editorAssistiveLabel': 'Área de contenido principal, empieza a escribir para introducir texto.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Abrir diálogo de ayuda'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/es';
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
- //Finnish
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Kirjoita jotain...',
11
- 'fabric.editor.editorAssistiveLabel': 'Pääsisältöalue, aloita kirjoittaminen, jos haluat syöttää tekstiä.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Avaa ohjeikkuna'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/fi';
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
- //French (France)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Saisissez quelque chose…',
11
- 'fabric.editor.editorAssistiveLabel': 'Zone de contenu principale, commencez à taper pour saisir du texte.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': "Ouvrir la boîte de dialogue d'aide"
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/fr';
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
- //Croatian (Croatia) [hr-HR]
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Upiši nešto...',
11
- 'fabric.editor.editorAssistiveLabel': 'Glavno područje sadržaja, počni tipkati za unos teksta.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Otvori dijaloški okvir pomoći'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/hr';
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
- //Hungarian
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Írj be valamit…',
11
- 'fabric.editor.editorAssistiveLabel': 'Fő tartalmi terület, kezdj el gépelni a szöveg beviteléhez.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Súgópanel megnyitása'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/hu';
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
- //Italian (Italy)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Scrivi qualcosa…',
11
- 'fabric.editor.editorAssistiveLabel': 'Area del contenuto principale; inizia a digitare per inserire il testo.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Apri finestra della guida'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/it';
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
- //Japanese
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/ja';
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
- //Korean
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/ko';
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
- //Norwegian (Bokmål)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Skriv et eller annet …',
11
- 'fabric.editor.editorAssistiveLabel': 'Hovedinnholdsområde, begynn å skrive for å angi tekst.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Åpne dialogboks for hjelp'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/nb';
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
- //Dutch (Netherlands)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Typ iets ...',
11
- 'fabric.editor.editorAssistiveLabel': 'Hoofdveld content, begin met typen om tekst in te voeren.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Open helpdialoogvenster'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/nl';
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
- //Polish (Poland)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Wpisz cokolwiek…',
11
- 'fabric.editor.editorAssistiveLabel': 'Główny obszar zawartości. Zacznij pisać, aby wprowadzić tekst.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Otwórz okno dialogowe pomocy'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/pl';
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
- //Portuguese (Brazil)
9
- export default {
10
- 'fabric.editor.chromeCollapsedPlaceholder': 'Digite algo…',
11
- 'fabric.editor.editorAssistiveLabel': 'Área de conteúdo principal, comece a digitar para inserir texto.',
12
- 'fabric.editor.headingLink.toolbarHelpTitle': 'Abrir diálogo de ajuda'
13
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/pt_BR';
11
+ export default translations;