@atlaskit/editor-common 64.0.0 → 65.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/i18n/cs.js +3 -3
  3. package/dist/cjs/i18n/da.js +3 -3
  4. package/dist/cjs/i18n/de.js +3 -3
  5. package/dist/cjs/i18n/en_ZZ.js +27 -0
  6. package/dist/cjs/i18n/es.js +3 -3
  7. package/dist/cjs/i18n/fi.js +3 -3
  8. package/dist/cjs/i18n/fr.js +3 -3
  9. package/dist/cjs/i18n/hu.js +3 -3
  10. package/dist/cjs/i18n/it.js +3 -3
  11. package/dist/cjs/i18n/ja.js +3 -3
  12. package/dist/cjs/i18n/ko.js +3 -3
  13. package/dist/cjs/i18n/nb.js +3 -3
  14. package/dist/cjs/i18n/nl.js +3 -3
  15. package/dist/cjs/i18n/pl.js +3 -3
  16. package/dist/cjs/i18n/pt_BR.js +3 -3
  17. package/dist/cjs/i18n/ru.js +3 -3
  18. package/dist/cjs/i18n/sv.js +3 -3
  19. package/dist/cjs/i18n/th.js +3 -3
  20. package/dist/cjs/i18n/tr.js +3 -3
  21. package/dist/cjs/i18n/uk.js +3 -3
  22. package/dist/cjs/i18n/vi.js +3 -3
  23. package/dist/cjs/i18n/zh.js +3 -2
  24. package/dist/cjs/i18n/zh_TW.js +3 -3
  25. package/dist/cjs/index.js +1 -29
  26. package/dist/cjs/styles/shared/annotation.js +25 -17
  27. package/dist/cjs/styles/shared/block-marks.js +2 -2
  28. package/dist/cjs/styles/shared/blockquote.js +2 -2
  29. package/dist/cjs/styles/shared/code-mark.js +9 -5
  30. package/dist/cjs/styles/shared/column-layout.js +2 -2
  31. package/dist/cjs/styles/shared/date.js +2 -2
  32. package/dist/cjs/styles/shared/headings.js +5 -2
  33. package/dist/cjs/styles/shared/indentation.js +2 -2
  34. package/dist/cjs/styles/shared/lists.js +2 -2
  35. package/dist/cjs/styles/shared/media-single.js +2 -2
  36. package/dist/cjs/styles/shared/paragraph.js +2 -2
  37. package/dist/cjs/styles/shared/shadow.js +2 -2
  38. package/dist/cjs/styles/shared/table.js +37 -33
  39. package/dist/cjs/styles/shared/task-decision.js +2 -2
  40. package/dist/cjs/styles/shared/text-color.js +2 -2
  41. package/dist/cjs/styles/shared/whitespace.js +2 -2
  42. package/dist/cjs/ui/BaseTheme/index.js +27 -11
  43. package/dist/cjs/ui/Caption/index.js +10 -7
  44. package/dist/cjs/ui/MediaSingle/link.js +4 -6
  45. package/dist/cjs/ui/Messages/index.js +25 -22
  46. package/dist/cjs/ui/UnsupportedBlock/index.js +9 -6
  47. package/dist/cjs/ui/UnsupportedInline/index.js +8 -6
  48. package/dist/cjs/ui/WidthProvider/index.js +8 -9
  49. package/dist/cjs/ui/clear-next-sibling-margin-top.js +4 -5
  50. package/dist/cjs/ui/index.js +12 -12
  51. package/dist/cjs/version.json +1 -1
  52. package/dist/es2019/i18n/cs.js +3 -3
  53. package/dist/es2019/i18n/da.js +3 -3
  54. package/dist/es2019/i18n/de.js +3 -3
  55. package/dist/es2019/i18n/en_ZZ.js +19 -0
  56. package/dist/es2019/i18n/es.js +3 -3
  57. package/dist/es2019/i18n/fi.js +3 -3
  58. package/dist/es2019/i18n/fr.js +3 -3
  59. package/dist/es2019/i18n/hu.js +3 -3
  60. package/dist/es2019/i18n/it.js +3 -3
  61. package/dist/es2019/i18n/ja.js +3 -3
  62. package/dist/es2019/i18n/ko.js +3 -3
  63. package/dist/es2019/i18n/nb.js +3 -3
  64. package/dist/es2019/i18n/nl.js +3 -3
  65. package/dist/es2019/i18n/pl.js +3 -3
  66. package/dist/es2019/i18n/pt_BR.js +3 -3
  67. package/dist/es2019/i18n/ru.js +3 -3
  68. package/dist/es2019/i18n/sv.js +3 -3
  69. package/dist/es2019/i18n/th.js +3 -3
  70. package/dist/es2019/i18n/tr.js +3 -3
  71. package/dist/es2019/i18n/uk.js +3 -3
  72. package/dist/es2019/i18n/vi.js +3 -3
  73. package/dist/es2019/i18n/zh.js +3 -2
  74. package/dist/es2019/i18n/zh_TW.js +3 -3
  75. package/dist/es2019/index.js +2 -7
  76. package/dist/es2019/styles/shared/annotation.js +11 -11
  77. package/dist/es2019/styles/shared/block-marks.js +1 -1
  78. package/dist/es2019/styles/shared/blockquote.js +1 -1
  79. package/dist/es2019/styles/shared/code-mark.js +14 -11
  80. package/dist/es2019/styles/shared/column-layout.js +1 -1
  81. package/dist/es2019/styles/shared/date.js +1 -1
  82. package/dist/es2019/styles/shared/headings.js +8 -8
  83. package/dist/es2019/styles/shared/indentation.js +1 -1
  84. package/dist/es2019/styles/shared/lists.js +1 -1
  85. package/dist/es2019/styles/shared/media-single.js +1 -1
  86. package/dist/es2019/styles/shared/paragraph.js +1 -1
  87. package/dist/es2019/styles/shared/shadow.js +1 -1
  88. package/dist/es2019/styles/shared/table.js +14 -12
  89. package/dist/es2019/styles/shared/task-decision.js +1 -1
  90. package/dist/es2019/styles/shared/text-color.js +1 -1
  91. package/dist/es2019/styles/shared/whitespace.js +1 -1
  92. package/dist/es2019/ui/BaseTheme/index.js +16 -5
  93. package/dist/es2019/ui/Caption/index.js +11 -5
  94. package/dist/es2019/ui/MediaSingle/link.js +3 -4
  95. package/dist/es2019/ui/Messages/index.js +30 -22
  96. package/dist/es2019/ui/UnsupportedBlock/index.js +9 -5
  97. package/dist/es2019/ui/UnsupportedInline/index.js +8 -5
  98. package/dist/es2019/ui/WidthProvider/index.js +10 -8
  99. package/dist/es2019/ui/clear-next-sibling-margin-top.js +2 -2
  100. package/dist/es2019/ui/index.js +2 -2
  101. package/dist/es2019/version.json +1 -1
  102. package/dist/esm/i18n/cs.js +3 -3
  103. package/dist/esm/i18n/da.js +3 -3
  104. package/dist/esm/i18n/de.js +3 -3
  105. package/dist/esm/i18n/en_ZZ.js +19 -0
  106. package/dist/esm/i18n/es.js +3 -3
  107. package/dist/esm/i18n/fi.js +3 -3
  108. package/dist/esm/i18n/fr.js +3 -3
  109. package/dist/esm/i18n/hu.js +3 -3
  110. package/dist/esm/i18n/it.js +3 -3
  111. package/dist/esm/i18n/ja.js +3 -3
  112. package/dist/esm/i18n/ko.js +3 -3
  113. package/dist/esm/i18n/nb.js +3 -3
  114. package/dist/esm/i18n/nl.js +3 -3
  115. package/dist/esm/i18n/pl.js +3 -3
  116. package/dist/esm/i18n/pt_BR.js +3 -3
  117. package/dist/esm/i18n/ru.js +3 -3
  118. package/dist/esm/i18n/sv.js +3 -3
  119. package/dist/esm/i18n/th.js +3 -3
  120. package/dist/esm/i18n/tr.js +3 -3
  121. package/dist/esm/i18n/uk.js +3 -3
  122. package/dist/esm/i18n/vi.js +3 -3
  123. package/dist/esm/i18n/zh.js +3 -2
  124. package/dist/esm/i18n/zh_TW.js +3 -3
  125. package/dist/esm/index.js +2 -7
  126. package/dist/esm/styles/shared/annotation.js +21 -17
  127. package/dist/esm/styles/shared/block-marks.js +1 -1
  128. package/dist/esm/styles/shared/blockquote.js +1 -1
  129. package/dist/esm/styles/shared/code-mark.js +9 -6
  130. package/dist/esm/styles/shared/column-layout.js +1 -1
  131. package/dist/esm/styles/shared/date.js +1 -1
  132. package/dist/esm/styles/shared/headings.js +4 -2
  133. package/dist/esm/styles/shared/indentation.js +1 -1
  134. package/dist/esm/styles/shared/lists.js +1 -1
  135. package/dist/esm/styles/shared/media-single.js +1 -1
  136. package/dist/esm/styles/shared/paragraph.js +1 -1
  137. package/dist/esm/styles/shared/shadow.js +1 -1
  138. package/dist/esm/styles/shared/table.js +37 -33
  139. package/dist/esm/styles/shared/task-decision.js +1 -1
  140. package/dist/esm/styles/shared/text-color.js +1 -1
  141. package/dist/esm/styles/shared/whitespace.js +1 -1
  142. package/dist/esm/ui/BaseTheme/index.js +23 -12
  143. package/dist/esm/ui/Caption/index.js +10 -5
  144. package/dist/esm/ui/MediaSingle/link.js +2 -3
  145. package/dist/esm/ui/Messages/index.js +26 -20
  146. package/dist/esm/ui/UnsupportedBlock/index.js +9 -5
  147. package/dist/esm/ui/UnsupportedInline/index.js +8 -5
  148. package/dist/esm/ui/WidthProvider/index.js +7 -6
  149. package/dist/esm/ui/clear-next-sibling-margin-top.js +2 -2
  150. package/dist/esm/ui/index.js +2 -2
  151. package/dist/esm/version.json +1 -1
  152. package/dist/types/__tests_external__/page-objects/Editor.d.ts +0 -1
  153. package/dist/types/__tests_external__/page-objects/EditorMedia.d.ts +0 -1
  154. package/dist/types/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -1
  155. package/dist/types/__tests_external__/page-objects/Renderer.d.ts +0 -1
  156. package/dist/types/collab/types.d.ts +2 -2
  157. package/dist/types/i18n/cs.d.ts +2 -2
  158. package/dist/types/i18n/da.d.ts +2 -2
  159. package/dist/types/i18n/de.d.ts +2 -2
  160. package/dist/types/i18n/en_ZZ.d.ts +19 -0
  161. package/dist/types/i18n/es.d.ts +2 -2
  162. package/dist/types/i18n/fi.d.ts +2 -2
  163. package/dist/types/i18n/fr.d.ts +2 -2
  164. package/dist/types/i18n/hu.d.ts +2 -2
  165. package/dist/types/i18n/it.d.ts +2 -2
  166. package/dist/types/i18n/ja.d.ts +2 -2
  167. package/dist/types/i18n/ko.d.ts +2 -2
  168. package/dist/types/i18n/nb.d.ts +2 -2
  169. package/dist/types/i18n/nl.d.ts +2 -2
  170. package/dist/types/i18n/pl.d.ts +2 -2
  171. package/dist/types/i18n/pt_BR.d.ts +2 -2
  172. package/dist/types/i18n/ru.d.ts +2 -2
  173. package/dist/types/i18n/sv.d.ts +2 -2
  174. package/dist/types/i18n/th.d.ts +2 -2
  175. package/dist/types/i18n/tr.d.ts +2 -2
  176. package/dist/types/i18n/uk.d.ts +2 -2
  177. package/dist/types/i18n/vi.d.ts +2 -2
  178. package/dist/types/i18n/zh.d.ts +2 -2
  179. package/dist/types/i18n/zh_TW.d.ts +2 -2
  180. package/dist/types/index.d.ts +1 -15
  181. package/dist/types/styles/shared/annotation.d.ts +5 -4
  182. package/dist/types/styles/shared/block-marks.d.ts +1 -1
  183. package/dist/types/styles/shared/blockquote.d.ts +1 -1
  184. package/dist/types/styles/shared/code-mark.d.ts +2 -1
  185. package/dist/types/styles/shared/column-layout.d.ts +1 -1
  186. package/dist/types/styles/shared/date.d.ts +1 -1
  187. package/dist/types/styles/shared/headings.d.ts +2 -1
  188. package/dist/types/styles/shared/indentation.d.ts +1 -1
  189. package/dist/types/styles/shared/lists.d.ts +1 -1
  190. package/dist/types/styles/shared/media-single.d.ts +1 -1
  191. package/dist/types/styles/shared/panel.d.ts +1 -1
  192. package/dist/types/styles/shared/paragraph.d.ts +1 -1
  193. package/dist/types/styles/shared/rule.d.ts +1 -1
  194. package/dist/types/styles/shared/shadow.d.ts +1 -1
  195. package/dist/types/styles/shared/table.d.ts +2 -1
  196. package/dist/types/styles/shared/task-decision.d.ts +1 -1
  197. package/dist/types/styles/shared/text-color.d.ts +1 -1
  198. package/dist/types/styles/shared/whitespace.d.ts +1 -1
  199. package/dist/types/ui/Caption/index.d.ts +3 -1
  200. package/dist/types/ui/Expand/index.d.ts +2 -2
  201. package/dist/types/ui/MediaSingle/link.d.ts +1 -2
  202. package/dist/types/ui/Messages/index.d.ts +5 -3
  203. package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -0
  204. package/dist/types/ui/UnsupportedInline/index.d.ts +1 -0
  205. package/dist/types/ui/WidthProvider/index.d.ts +3 -1
  206. package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -2
  207. package/dist/types/ui/index.d.ts +2 -2
  208. package/dist/types/utils/getModeFromTheme.d.ts +1 -1
  209. package/package.json +11 -10
@@ -0,0 +1,19 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ //
8
+ export default {
9
+ 'fabric.editor.captionPlaceholder': '⁣⁢Add a caption؜‌‍‌‌‌‌‍⁠‍⁣⁤',
10
+ 'fabric.editor.codeBidiWarningLabel': '⁣⁢Bidirectional characters change the order that text is rendered. This could be used to obscure malicious code.‌⁡؜‍⁠⁠‌؜‌⁣⁤',
11
+ 'fabric.editor.collapseNode': '⁣⁢Collapse content‍⁡‌⁠؜‍‍‌؜⁠‌⁡‍⁡‌⁣⁤',
12
+ 'fabric.editor.expandDefaultTitle': '⁣⁢Click here to expand...‍؜‍⁡‍‍؜⁡⁠‌⁡؜⁣⁤',
13
+ 'fabric.editor.expandNode': '⁣⁢Expand content⁡⁠⁠؜‍⁠؜‍‌؜؜⁡⁣⁤',
14
+ 'fabric.editor.expandPlaceholder': '⁣⁢Give this expand a title...؜⁠⁡‍؜؜؜⁡⁣⁤',
15
+ 'fabric.editor.openLink': '⁣⁢Open link in a new tab⁠⁡⁡‌‍‌⁠‌‌⁡⁡⁣⁤',
16
+ 'fabric.editor.unsupportedBlockContent': '⁣⁢This editor does not support displaying this content؜‍؜⁡‍؜‌؜⁡⁣⁤',
17
+ 'fabric.editor.unsupportedContentTooltip': '⁣⁢Content is not available in this editor, this will be preserved when you edit and save⁠‌‌؜‍‌‌⁡؜‍⁠‍⁡⁣⁤',
18
+ 'fabric.editor.unsupportedInlineContent': '⁣⁢Unsupported content⁠‍⁡؜⁠⁠⁣⁤'
19
+ };
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Spanish
7
+ //Spanish (International)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
10
9
  'fabric.editor.captionPlaceholder': 'Añadir un subtítulo',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
11
11
  'fabric.editor.collapseNode': 'contraer contenido',
12
12
  'fabric.editor.expandDefaultTitle': 'Haz clic aquí para ampliar...',
13
13
  'fabric.editor.expandNode': 'Ampliar contenido',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Finnish
7
+ //Finnish
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
10
9
  'fabric.editor.captionPlaceholder': 'Lisää kuvateksti',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
11
11
  'fabric.editor.collapseNode': 'piilota sisältö',
12
12
  'fabric.editor.expandDefaultTitle': 'Klikkaa tähän laajentaaksesi...',
13
13
  'fabric.editor.expandNode': 'Laajenna sisältöä',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // French
7
+ //French (France)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
10
9
  'fabric.editor.captionPlaceholder': 'Ajouter une légende',
10
+ 'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
11
11
  'fabric.editor.collapseNode': 'Réduire le contenu',
12
12
  'fabric.editor.expandDefaultTitle': 'Cliquez ici pour développer...',
13
13
  'fabric.editor.expandNode': 'Développer le contenu',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Hungarian
7
+ //Hungarian
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
10
9
  'fabric.editor.captionPlaceholder': 'Képaláírás hozzáadása',
10
+ 'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
11
11
  'fabric.editor.collapseNode': 'tartalom összecsukása',
12
12
  'fabric.editor.expandDefaultTitle': 'Kattints ide a kibontáshoz…',
13
13
  'fabric.editor.expandNode': 'Tartalom kibontása',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Italian
7
+ //Italian (Italy)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
10
9
  'fabric.editor.captionPlaceholder': 'Aggiungi didascalia',
10
+ 'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
11
11
  'fabric.editor.collapseNode': 'Comprimi contenuto',
12
12
  'fabric.editor.expandDefaultTitle': 'Clicca qui per espandere...',
13
13
  'fabric.editor.expandNode': 'Espandi contenuto',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Japanese
7
+ //Japanese
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意あるコードを隠すために使用される場合があります。',
10
9
  'fabric.editor.captionPlaceholder': 'キャプションを追加',
10
+ 'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意のあるコードを隠すために使用される場合があります。',
11
11
  'fabric.editor.collapseNode': 'コンテンツを折りたたむ',
12
12
  'fabric.editor.expandDefaultTitle': 'こちらをクリックして展開…',
13
13
  'fabric.editor.expandNode': 'コンテンツを展開',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Korean
7
+ //Korean
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
10
9
  'fabric.editor.captionPlaceholder': '캡션 추가',
10
+ 'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
11
11
  'fabric.editor.collapseNode': '콘텐츠 접기',
12
12
  'fabric.editor.expandDefaultTitle': '여기를 클릭하여 펼치기...',
13
13
  'fabric.editor.expandNode': '콘텐츠 펼치기',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Norwegian Bokmål
7
+ //Norwegian (Bokmål)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
10
9
  'fabric.editor.captionPlaceholder': 'Legg til bildetekst',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
11
11
  'fabric.editor.collapseNode': 'Minimer innhold',
12
12
  'fabric.editor.expandDefaultTitle': 'Klikk her for å utvide …',
13
13
  'fabric.editor.expandNode': 'Utvid innhold',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Dutch
7
+ //Dutch (Netherlands)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
10
9
  'fabric.editor.captionPlaceholder': 'Bijschrift toevoegen',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
11
11
  'fabric.editor.collapseNode': 'Content inklappen',
12
12
  'fabric.editor.expandDefaultTitle': 'Klik hier om uit te breiden...',
13
13
  'fabric.editor.expandNode': 'Content uitbreiden',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Polish
7
+ //Polish (Poland)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
10
9
  'fabric.editor.captionPlaceholder': 'Dodaj podpis',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
11
11
  'fabric.editor.collapseNode': 'Zwiń zawartość',
12
12
  'fabric.editor.expandDefaultTitle': 'Kliknij tutaj, aby rozwinąć...',
13
13
  'fabric.editor.expandNode': 'Rozwiń zawartość',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Portuguese (Brazil)
7
+ //Portuguese (Brazil)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
10
9
  'fabric.editor.captionPlaceholder': 'Adicionar legenda',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
11
11
  'fabric.editor.collapseNode': 'Recolher conteúdo',
12
12
  'fabric.editor.expandDefaultTitle': 'Clique aqui para expandir...',
13
13
  'fabric.editor.expandNode': 'Expandir conteúdo',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Russian
7
+ //Russian
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
10
9
  'fabric.editor.captionPlaceholder': 'Добавьте подпись',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
11
11
  'fabric.editor.collapseNode': 'Свернуть содержимое',
12
12
  'fabric.editor.expandDefaultTitle': 'Нажмите здесь, чтобы развернуть…',
13
13
  'fabric.editor.expandNode': 'Разверните содержимое',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Swedish
7
+ //Swedish
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Dubbelriktade tecken ändrar återgivningsordningen för text. Detta kan användas för att dölja skadlig kod.',
10
9
  'fabric.editor.captionPlaceholder': 'Lägg till en bildtext',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Dubbelriktade tecken ändrar återgivningsordningen för text. Detta kan användas för att dölja skadlig kod.',
11
11
  'fabric.editor.collapseNode': 'komprimera innehåll',
12
12
  'fabric.editor.expandDefaultTitle': 'Klicka här för att expandera ...',
13
13
  'fabric.editor.expandNode': 'Expandera innehåll',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Thai
7
+ //Thai (Thailand)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'ตัวอักษรแบบสองทิศทางเปลี่ยนลำดับการแสดงข้อความ ซึ่งอาจนำไปใช้เพื่อปิดบังรหัสที่มีวัตถุประสงค์ในทางที่ไม่ดีได้',
10
9
  'fabric.editor.captionPlaceholder': 'เพิ่มคำอธิบาย',
10
+ 'fabric.editor.codeBidiWarningLabel': 'ตัวอักษรแบบสองทิศทางเปลี่ยนลำดับการแสดงข้อความ ซึ่งอาจนำไปใช้เพื่อปิดบังรหัสที่มีวัตถุประสงค์ในทางที่ไม่ดีได้',
11
11
  'fabric.editor.collapseNode': 'ย่อเนื้อหา',
12
12
  'fabric.editor.expandDefaultTitle': 'คลิกที่นี่เพื่อขยาย...',
13
13
  'fabric.editor.expandNode': 'ขยายเนื้อหา',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Turkish
7
+ //Turkish (Turkey)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Çift yönlü karakterler metnin oluşturulduğu sırayı değiştirir. Bu, kötü amaçlı kodu gizlemek için kullanılabilir.',
10
9
  'fabric.editor.captionPlaceholder': 'Açıklama yazısı ekleyin',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Çift yönlü karakterler metnin oluşturulduğu sırayı değiştirir. Bu, kötü amaçlı kodu gizlemek için kullanılabilir.',
11
11
  'fabric.editor.collapseNode': 'içeriği daraltın',
12
12
  'fabric.editor.expandDefaultTitle': 'Genişletmek için buraya tıklayın...',
13
13
  'fabric.editor.expandNode': 'İçeriği genişletin',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Ukrainian
7
+ //Ukrainian (Ukraine)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Двонаправлені символи змінюють порядок відображення тексту. Такий спосіб може використовуватися, щоб приховати зловмисний код.',
10
9
  'fabric.editor.captionPlaceholder': 'Додати підпис',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Двонаправлені символи змінюють порядок відображення тексту. Такий спосіб може використовуватися, щоб приховати зловмисний код.',
11
11
  'fabric.editor.collapseNode': 'Згорніть вміст',
12
12
  'fabric.editor.expandDefaultTitle': 'Натисніть, щоб розгорнути…',
13
13
  'fabric.editor.expandNode': 'Розгорніть вміст',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // Vietnamese
7
+ //Vietnamese (Vietnam)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': 'Ký tự hai chiều thay đổi thứ tự kết xuất văn bản. Điều này có thể được dùng để che giấu mã độc hại.',
10
9
  'fabric.editor.captionPlaceholder': 'Thêm chú thích',
10
+ 'fabric.editor.codeBidiWarningLabel': 'Ký tự hai chiều thay đổi thứ tự kết xuất văn bản. Điều này có thể được dùng để che giấu mã độc hại.',
11
11
  'fabric.editor.collapseNode': 'thu gọn nội dung',
12
12
  'fabric.editor.expandDefaultTitle': 'Nhấp vào đây để mở rộng...',
13
13
  'fabric.editor.expandNode': 'Mở rộng nội dung',
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
+ //Chinese (Simplified)
7
8
  export default {
8
- 'fabric.editor.codeBidiWarningLabel': '双向字符会更改文本的呈现顺序。这可能被用于掩盖恶意代码。',
9
9
  'fabric.editor.captionPlaceholder': '添加标题',
10
+ 'fabric.editor.codeBidiWarningLabel': '双向字符会更改文本的呈现顺序。这可能被用于掩盖恶意代码。',
10
11
  'fabric.editor.collapseNode': '收起内容',
11
12
  'fabric.editor.expandDefaultTitle': '点击此处展开...',
12
13
  'fabric.editor.expandNode': '展开内容',
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
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
- // undefined
7
+ //Chinese (Traditional)
8
8
  export default {
9
- 'fabric.editor.codeBidiWarningLabel': '雙向字元會變更文字呈現的順序。這可用來將惡意程式碼模糊化。',
10
9
  'fabric.editor.captionPlaceholder': '新增標題',
10
+ 'fabric.editor.codeBidiWarningLabel': '雙向字元會變更文字呈現的順序。這可用來將惡意程式碼模糊化。',
11
11
  'fabric.editor.collapseNode': '摺疊內容',
12
12
  'fabric.editor.expandDefaultTitle': '按一下此處以展開...',
13
13
  'fabric.editor.expandNode': '展開內容',
package/dist/esm/index.js CHANGED
@@ -1,7 +1,2 @@
1
- // new child entry point ./utils/index.ts
2
- // temporarily keep for confluence
3
- export { ProviderFactory, WithProviders } from './provider-factory'; // temporarily keep for confluence
4
-
5
- export { WidthConsumer, // temporarily keep for confluence
6
- WidthProvider // temporarily keep for confluence
7
- } from './ui';
1
+ // DO NOT EMPORT ANYTHING FROM THIS FILE. USE CHILD ENTRY POINTS.
2
+ export {};
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject, _templateObject2, _templateObject3;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  import { N60A, Y300, Y75 } from '@atlaskit/theme/colors';
7
7
  import { themed } from '@atlaskit/theme/components';
8
8
  export var annotationPrefix = 'ak-editor-annotation';
@@ -17,20 +17,24 @@ var Y75a = 'rgba(255, 240, 179, 0.5)';
17
17
  var Y200a = 'rgba(255, 196, 0, 0.82)';
18
18
  var DY75a = 'rgba(111, 92, 37, 0.5)';
19
19
  var DY200 = '#82641c';
20
- export var AnnotationSharedCSSByState = {
21
- focus: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: ", ";\n border-bottom: 2px solid ", ";\n box-shadow: 1px 2px 3px ", ", -1px 2px 3px ", ";\n cursor: pointer;\n "])), themed({
22
- light: Y75,
23
- dark: DY75
24
- }), themed({
25
- light: Y300,
26
- dark: DY300
27
- }), N60A, N60A),
28
- blur: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: ", ";\n border-bottom: 2px solid ", ";\n cursor: pointer;\n "])), themed({
29
- light: Y75a,
30
- dark: DY75a
31
- }), themed({
32
- light: Y200a,
33
- dark: DY200
34
- }))
20
+ export var AnnotationSharedCSSByState = function AnnotationSharedCSSByState(props) {
21
+ return {
22
+ focus: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: ", ";\n border-bottom: 2px solid ", ";\n box-shadow: 1px 2px 3px ", ", -1px 2px 3px ", ";\n cursor: pointer;\n "])), themed({
23
+ light: Y75,
24
+ dark: DY75
25
+ })(props), themed({
26
+ light: Y300,
27
+ dark: DY300
28
+ })(props), N60A, N60A),
29
+ blur: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: ", ";\n border-bottom: 2px solid ", ";\n cursor: pointer;\n "])), themed({
30
+ light: Y75a,
31
+ dark: DY75a
32
+ })(props), themed({
33
+ light: Y200a,
34
+ dark: DY200
35
+ })(props))
36
+ };
35
37
  };
36
- export var annotationSharedStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n .ProseMirror {\n .", " {\n ", ";\n }\n\n .", " {\n ", ";\n cursor: initial;\n }\n\n .", " {\n ", ";\n }\n }\n"])), AnnotationSharedClassNames.focus, AnnotationSharedCSSByState.focus, AnnotationSharedClassNames.draft, AnnotationSharedCSSByState.focus, AnnotationSharedClassNames.blur, AnnotationSharedCSSByState.blur);
38
+ export var annotationSharedStyles = function annotationSharedStyles(props) {
39
+ return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n .ProseMirror {\n .", " {\n ", ";\n }\n\n .", " {\n ", ";\n cursor: initial;\n }\n\n .", " {\n ", ";\n }\n }\n"])), AnnotationSharedClassNames.focus, AnnotationSharedCSSByState(props).focus, AnnotationSharedClassNames.draft, AnnotationSharedCSSByState(props).focus, AnnotationSharedClassNames.blur, AnnotationSharedCSSByState(props).blur);
40
+ };
@@ -2,5 +2,5 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  export var blockMarksSharedStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /**\n * We need to remove margin-top from first item\n * inside doc, tableCell, tableHeader, blockquote, etc.\n */\n *:not(.fabric-editor-block-mark) >,\n /* For nested block marks */\n *:not(.fabric-editor-block-mark) > div.fabric-editor-block-mark:first-child {\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n .heading-wrapper {\n &:first-child {\n margin-top: 0;\n }\n }\n }\n"])));
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  import { akEditorBlockquoteBorderColor, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
7
7
  import { gridSize } from '@atlaskit/theme/constants';
8
8
  export var blockquoteSharedStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n & blockquote {\n box-sizing: border-box;\n padding-left: ", "px;\n border-left: 2px solid ", ";\n margin: ", " 0 0 0;\n margin-right: 0;\n\n [dir='rtl'] & {\n padding-left: 0;\n padding-right: ", "px;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &::before {\n content: '';\n }\n\n &::after {\n content: none;\n }\n\n & p {\n display: block;\n }\n\n & table,\n & table:last-child {\n display: inline-table;\n }\n }\n"])), gridSize() * 2, akEditorBlockquoteBorderColor, blockNodesVerticalMargin, gridSize() * 2);
@@ -2,11 +2,14 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  import { getCodeStyles } from '@atlaskit/code/inline';
7
7
  import { DN70, N30A } from '@atlaskit/theme/colors';
8
- import { themed } from '@atlaskit/theme/components';
9
- export var codeMarkSharedStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .code {\n --ds--code--bg-color: ", ";\n ", "\n }\n"])), themed({
10
- light: N30A,
11
- dark: DN70
12
- }), getCodeStyles);
8
+ import { getTheme, themed } from '@atlaskit/theme/components';
9
+ export var codeMarkSharedStyles = function codeMarkSharedStyles(props) {
10
+ var theme = getTheme(props);
11
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .code {\n --ds--code--bg-color: ", ";\n ", "\n }\n "])), themed({
12
+ light: N30A,
13
+ dark: DN70
14
+ })(props), getCodeStyles(theme));
15
+ };
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  import { gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
7
7
  var columnLayoutSharedStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n [data-layout-section] {\n display: flex;\n flex-direction: row;\n & > * {\n flex: 1;\n min-width: 0;\n }\n\n & > .unsupportedBlockView-content-wrap {\n min-width: initial;\n }\n\n @media screen and (max-width: ", "px) {\n flex-direction: column;\n }\n }\n"])), gridMediumMaxWidth);
8
8
  export { columnLayoutSharedStyle };
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  export var DateSharedCssClassName = {
7
7
  DATE_WRAPPER: "date-lozenger-container",
8
8
  DATE_CONTAINER: 'dateView-content-wrap'
@@ -2,8 +2,10 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  import { h100, h300, h400, h500, h600, h700 } from '@atlaskit/theme/typography'; // @see typography spreadsheet: https://docs.google.com/spreadsheets/d/1iYusRGCT4PoPfvxbJ8NrgjtfFgXLm5lpDWXzjua1W2E/edit#gid=93913128
7
7
  // text sizing prototype: http://proto/fabricrender/
8
8
 
9
- export var headingsSharedStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n & h1 {\n ", ";\n margin-bottom: 0;\n margin-top: 1.667em;\n }\n\n & h2 {\n ", ";\n margin-top: 1.8em;\n margin-bottom: 0;\n }\n\n & h3 {\n ", ";\n margin-top: 2em;\n margin-bottom: 0;\n }\n\n & h4 {\n ", ";\n margin-top: 1.357em;\n }\n\n & h5 {\n ", ";\n margin-top: 1.667em;\n text-transform: none;\n }\n\n & h6 {\n ", ";\n margin-top: 1.455em;\n text-transform: none;\n }\n"])), h700, h600, h500, h400, h300, h100);
9
+ export var headingsSharedStyles = function headingsSharedStyles(props) {
10
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n & h1 {\n ", ";\n margin-bottom: 0;\n margin-top: 1.667em;\n }\n\n & h2 {\n ", ";\n margin-top: 1.8em;\n margin-bottom: 0;\n }\n\n & h3 {\n ", ";\n margin-top: 2em;\n margin-bottom: 0;\n }\n\n & h4 {\n ", ";\n margin-top: 1.357em;\n }\n\n & h5 {\n ", ";\n margin-top: 1.667em;\n text-transform: none;\n }\n\n & h6 {\n ", ";\n margin-top: 1.455em;\n text-transform: none;\n }\n"])), h700(props), h600(props), h500(props), h400(props), h300(props), h100(props));
11
+ };
@@ -2,5 +2,5 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  export var indentationSharedStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .fabric-editor-indentation-mark {\n &[data-level='1'] {\n margin-left: 30px;\n }\n &[data-level='2'] {\n margin-left: 60px;\n }\n &[data-level='3'] {\n margin-left: 90px;\n }\n &[data-level='4'] {\n margin-left: 120px;\n }\n &[data-level='5'] {\n margin-left: 150px;\n }\n &[data-level='6'] {\n margin-left: 180px;\n }\n }\n"])));
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  import { bulletListSelector, orderedListSelector } from '@atlaskit/adf-schema';
7
7
  import browser from '../../utils/browser';
8
8
  export var listsSharedStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* =============== INDENTATION SPACING ========= */\n\n ul,\n ol {\n box-sizing: border-box;\n padding-left: 24px;\n\n /*\n Firefox does not handle empty block element inside li tag.\n If there is not block element inside li tag,\n then firefox sets inherited height to li\n However, if there is any block element and if it's empty\n (or has empty inline element) then\n firefox sets li tag height to zero.\n More details at\n https://product-fabric.atlassian.net/wiki/spaces/~455502413/pages/3149365890/ED-14110+Investigation\n */\n li p:empty,\n li p > span:empty {\n ", "\n }\n }\n\n ", ", ", " {\n /*\n Ensures list item content adheres to the list's margin instead\n of filling the entire block row. This is important to allow\n clicking interactive elements which are floated next to a list.\n\n For some history and context on this block, see PRs related to tickets.:\n @see ED-6551 - original issue.\n @see ED-7015 - follow up issue.\n @see ED-7447 - flow-root change.\n\n We use 'display: table' (old clear fix / new block formatting context hack)\n for older browsers and 'flow-root' for modern browsers.\n\n @see https://css-tricks.com/display-flow-root/\n */\n // For older browsers the do not support flow-root.\n display: table;\n display: flow-root;\n }\n\n /* =============== INDENTATION AESTHETICS ========= */\n\n /**\n We support nested lists up to six levels deep.\n **/\n\n /* LEGACY LISTS */\n\n ul,\n ul ul ul ul {\n list-style-type: disc;\n }\n\n ul ul,\n ul ul ul ul ul {\n list-style-type: circle;\n }\n\n ul ul ul,\n ul ul ul ul ul ul {\n list-style-type: square;\n }\n\n ol,\n ol ol ol ol {\n list-style-type: decimal;\n }\n ol ol,\n ol ol ol ol ol {\n list-style-type: lower-alpha;\n }\n ol ol ol,\n ol ol ol ol ol ol {\n list-style-type: lower-roman;\n }\n\n /* PREDICTABLE LISTS */\n\n ol[data-indent-level='1'],\n ol[data-indent-level='4'] {\n list-style-type: decimal;\n }\n\n ol[data-indent-level='2'],\n ol[data-indent-level='5'] {\n list-style-type: lower-alpha;\n }\n\n ol[data-indent-level='3'],\n ol[data-indent-level='6'] {\n list-style-type: lower-roman;\n }\n\n ul[data-indent-level='1'],\n ul[data-indent-level='4'] {\n list-style-type: disc;\n }\n\n ul[data-indent-level='2'],\n ul[data-indent-level='5'] {\n list-style-type: circle;\n }\n\n ul[data-indent-level='3'],\n ul[data-indent-level='6'] {\n list-style-type: square;\n }\n"])), browser.gecko ? 'display: inline-block;' : '', orderedListSelector, bulletListSelector);
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  var richMediaClassName = 'rich-media-item';
7
7
  var wrappedMediaBreakoutPoint = 410;
8
8
  var mediaSingleSharedStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n li .", " {\n margin: 0;\n }\n\n /* Hack for chrome to fix media single position\n inside a list when media is the first child */\n &.ua-chrome li > .mediaSingleView-content-wrap::before {\n content: '';\n display: block;\n height: 0;\n }\n\n &.ua-firefox {\n .mediaSingleView-content-wrap {\n user-select: none;\n }\n\n .captionView-content-wrap {\n user-select: text;\n }\n }\n\n .mediaSingleView-content-wrap[layout='center'] {\n clear: both;\n }\n\n table .", " {\n margin-top: 12px;\n margin-bottom: 12px;\n clear: both;\n }\n\n .", ".image-wrap-right\n + .", ".image-wrap-left {\n clear: both;\n }\n\n .", ".image-wrap-left\n + .", ".image-wrap-right,\n .", ".image-wrap-right\n + .", ".image-wrap-left,\n .", ".image-wrap-left\n + .", ".image-wrap-left,\n .", ".image-wrap-right\n + .", ".image-wrap-right {\n margin-right: 0;\n margin-left: 0;\n }\n\n @media all and (max-width: ", "px) {\n div.mediaSingleView-content-wrap[layout='wrap-left'],\n div.mediaSingleView-content-wrap[data-layout='wrap-left'],\n div.mediaSingleView-content-wrap[layout='wrap-right'],\n div.mediaSingleView-content-wrap[data-layout='wrap-right'] {\n float: none;\n overflow: auto;\n margin: 12px 0;\n }\n }\n"])), richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, wrappedMediaBreakoutPoint);
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  import { akEditorLineHeight, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles'; // @see typography spreadsheet: https://docs.google.com/spreadsheets/d/1iYusRGCT4PoPfvxbJ8NrgjtfFgXLm5lpDWXzjua1W2E/edit#gid=93913128
7
7
 
8
8
  export var paragraphSharedStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n & p {\n font-size: 1em;\n line-height: ", ";\n font-weight: normal;\n margin-top: ", ";\n margin-bottom: 0;\n letter-spacing: -0.005em;\n }\n"])), akEditorLineHeight, blockNodesVerticalMargin);
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import { css } from 'styled-components';
5
+ import { css } from '@emotion/react';
6
6
  import { akEditorShadowZIndex } from '@atlaskit/editor-shared-styles';
7
7
  import { N40A } from '@atlaskit/theme/colors';
8
8
  import { shadowClassNames } from '../../ui/OverflowShadow';