@atlaskit/renderer 123.2.1 → 123.3.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 (187) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/afm-dev-agents/tsconfig.json +3 -0
  3. package/afm-jira/tsconfig.json +3 -0
  4. package/afm-passionfruit/tsconfig.json +3 -0
  5. package/afm-post-office/tsconfig.json +3 -0
  6. package/afm-rovo-extension/tsconfig.json +3 -0
  7. package/afm-townsquare/tsconfig.json +3 -0
  8. package/dist/cjs/i18n/cs.js +4 -12
  9. package/dist/cjs/i18n/da.js +4 -12
  10. package/dist/cjs/i18n/de.js +4 -12
  11. package/dist/cjs/i18n/en.js +4 -12
  12. package/dist/cjs/i18n/en_GB.js +4 -12
  13. package/dist/cjs/i18n/en_ZZ.js +4 -12
  14. package/dist/cjs/i18n/es.js +4 -12
  15. package/dist/cjs/i18n/fi.js +4 -12
  16. package/dist/cjs/i18n/fr.js +4 -12
  17. package/dist/cjs/i18n/hr.js +4 -12
  18. package/dist/cjs/i18n/hu.js +4 -12
  19. package/dist/cjs/i18n/it.js +4 -12
  20. package/dist/cjs/i18n/ja.js +4 -12
  21. package/dist/cjs/i18n/ko.js +4 -12
  22. package/dist/cjs/i18n/nb.js +4 -12
  23. package/dist/cjs/i18n/nl.js +4 -12
  24. package/dist/cjs/i18n/pl.js +4 -12
  25. package/dist/cjs/i18n/pt_BR.js +4 -12
  26. package/dist/cjs/i18n/ru.js +4 -12
  27. package/dist/cjs/i18n/sl.js +4 -12
  28. package/dist/cjs/i18n/sr_RS.js +4 -12
  29. package/dist/cjs/i18n/sr_YR.js +4 -12
  30. package/dist/cjs/i18n/sv.js +4 -12
  31. package/dist/cjs/i18n/th.js +4 -12
  32. package/dist/cjs/i18n/tr.js +4 -12
  33. package/dist/cjs/i18n/uk.js +4 -12
  34. package/dist/cjs/i18n/vi.js +4 -12
  35. package/dist/cjs/i18n/zh.js +4 -12
  36. package/dist/cjs/i18n/zh_TW.js +4 -12
  37. package/dist/cjs/react/nodes/blockCard.js +1 -1
  38. package/dist/cjs/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
  39. package/dist/cjs/react/nodes/panel.js +1 -1
  40. package/dist/cjs/ui/Renderer/RendererStyleContainer.js +12 -11
  41. package/dist/cjs/ui/Renderer/get-base-font-size.js +9 -1
  42. package/dist/cjs/ui/Renderer/index.js +5 -1
  43. package/dist/cjs/ui/annotations/draft/component.js +1 -1
  44. package/dist/cjs/ui/annotations/element/mark.js +4 -4
  45. package/dist/es2019/i18n/cs.js +4 -12
  46. package/dist/es2019/i18n/da.js +4 -12
  47. package/dist/es2019/i18n/de.js +4 -12
  48. package/dist/es2019/i18n/en.js +4 -12
  49. package/dist/es2019/i18n/en_GB.js +4 -12
  50. package/dist/es2019/i18n/en_ZZ.js +4 -12
  51. package/dist/es2019/i18n/es.js +4 -12
  52. package/dist/es2019/i18n/fi.js +4 -12
  53. package/dist/es2019/i18n/fr.js +4 -12
  54. package/dist/es2019/i18n/hr.js +4 -12
  55. package/dist/es2019/i18n/hu.js +4 -12
  56. package/dist/es2019/i18n/it.js +4 -12
  57. package/dist/es2019/i18n/ja.js +4 -12
  58. package/dist/es2019/i18n/ko.js +4 -12
  59. package/dist/es2019/i18n/nb.js +4 -12
  60. package/dist/es2019/i18n/nl.js +4 -12
  61. package/dist/es2019/i18n/pl.js +4 -12
  62. package/dist/es2019/i18n/pt_BR.js +4 -12
  63. package/dist/es2019/i18n/ru.js +4 -12
  64. package/dist/es2019/i18n/sl.js +4 -12
  65. package/dist/es2019/i18n/sr_RS.js +4 -12
  66. package/dist/es2019/i18n/sr_YR.js +4 -12
  67. package/dist/es2019/i18n/sv.js +4 -12
  68. package/dist/es2019/i18n/th.js +4 -12
  69. package/dist/es2019/i18n/tr.js +4 -12
  70. package/dist/es2019/i18n/uk.js +4 -12
  71. package/dist/es2019/i18n/vi.js +4 -12
  72. package/dist/es2019/i18n/zh.js +4 -12
  73. package/dist/es2019/i18n/zh_TW.js +4 -12
  74. package/dist/es2019/react/nodes/blockCard.js +1 -1
  75. package/dist/es2019/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
  76. package/dist/es2019/react/nodes/panel.js +1 -1
  77. package/dist/es2019/ui/Renderer/RendererStyleContainer.js +12 -11
  78. package/dist/es2019/ui/Renderer/get-base-font-size.js +9 -1
  79. package/dist/es2019/ui/Renderer/index.js +5 -1
  80. package/dist/es2019/ui/annotations/draft/component.js +1 -1
  81. package/dist/es2019/ui/annotations/element/mark.js +4 -4
  82. package/dist/esm/i18n/cs.js +4 -12
  83. package/dist/esm/i18n/da.js +4 -12
  84. package/dist/esm/i18n/de.js +4 -12
  85. package/dist/esm/i18n/en.js +4 -12
  86. package/dist/esm/i18n/en_GB.js +4 -12
  87. package/dist/esm/i18n/en_ZZ.js +4 -12
  88. package/dist/esm/i18n/es.js +4 -12
  89. package/dist/esm/i18n/fi.js +4 -12
  90. package/dist/esm/i18n/fr.js +4 -12
  91. package/dist/esm/i18n/hr.js +4 -12
  92. package/dist/esm/i18n/hu.js +4 -12
  93. package/dist/esm/i18n/it.js +4 -12
  94. package/dist/esm/i18n/ja.js +4 -12
  95. package/dist/esm/i18n/ko.js +4 -12
  96. package/dist/esm/i18n/nb.js +4 -12
  97. package/dist/esm/i18n/nl.js +4 -12
  98. package/dist/esm/i18n/pl.js +4 -12
  99. package/dist/esm/i18n/pt_BR.js +4 -12
  100. package/dist/esm/i18n/ru.js +4 -12
  101. package/dist/esm/i18n/sl.js +4 -12
  102. package/dist/esm/i18n/sr_RS.js +4 -12
  103. package/dist/esm/i18n/sr_YR.js +4 -12
  104. package/dist/esm/i18n/sv.js +4 -12
  105. package/dist/esm/i18n/th.js +4 -12
  106. package/dist/esm/i18n/tr.js +4 -12
  107. package/dist/esm/i18n/uk.js +4 -12
  108. package/dist/esm/i18n/vi.js +4 -12
  109. package/dist/esm/i18n/zh.js +4 -12
  110. package/dist/esm/i18n/zh_TW.js +4 -12
  111. package/dist/esm/react/nodes/blockCard.js +1 -1
  112. package/dist/esm/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
  113. package/dist/esm/react/nodes/panel.js +1 -1
  114. package/dist/esm/ui/Renderer/RendererStyleContainer.js +12 -11
  115. package/dist/esm/ui/Renderer/get-base-font-size.js +9 -1
  116. package/dist/esm/ui/Renderer/index.js +5 -1
  117. package/dist/esm/ui/annotations/draft/component.js +1 -1
  118. package/dist/esm/ui/annotations/element/mark.js +4 -4
  119. package/dist/types/i18n/cs.d.ts +2 -12
  120. package/dist/types/i18n/da.d.ts +2 -12
  121. package/dist/types/i18n/de.d.ts +2 -12
  122. package/dist/types/i18n/en.d.ts +2 -12
  123. package/dist/types/i18n/en_GB.d.ts +2 -12
  124. package/dist/types/i18n/en_ZZ.d.ts +2 -12
  125. package/dist/types/i18n/es.d.ts +2 -12
  126. package/dist/types/i18n/fi.d.ts +2 -12
  127. package/dist/types/i18n/fr.d.ts +2 -12
  128. package/dist/types/i18n/hr.d.ts +2 -12
  129. package/dist/types/i18n/hu.d.ts +2 -12
  130. package/dist/types/i18n/it.d.ts +2 -12
  131. package/dist/types/i18n/ja.d.ts +2 -12
  132. package/dist/types/i18n/ko.d.ts +2 -12
  133. package/dist/types/i18n/nb.d.ts +2 -12
  134. package/dist/types/i18n/nl.d.ts +2 -12
  135. package/dist/types/i18n/pl.d.ts +2 -12
  136. package/dist/types/i18n/pt_BR.d.ts +2 -12
  137. package/dist/types/i18n/ru.d.ts +2 -12
  138. package/dist/types/i18n/sl.d.ts +2 -12
  139. package/dist/types/i18n/sr_RS.d.ts +2 -12
  140. package/dist/types/i18n/sr_YR.d.ts +2 -12
  141. package/dist/types/i18n/sv.d.ts +2 -12
  142. package/dist/types/i18n/th.d.ts +2 -12
  143. package/dist/types/i18n/tr.d.ts +2 -12
  144. package/dist/types/i18n/uk.d.ts +2 -12
  145. package/dist/types/i18n/vi.d.ts +2 -12
  146. package/dist/types/i18n/zh.d.ts +2 -12
  147. package/dist/types/i18n/zh_TW.d.ts +2 -12
  148. package/dist/types/ui/Renderer/RendererStyleContainer.d.ts +1 -1
  149. package/dist/types/ui/Renderer/get-base-font-size.d.ts +2 -2
  150. package/dist/types/ui/Renderer/index.d.ts +2 -1
  151. package/dist/types/ui/Renderer/types.d.ts +1 -0
  152. package/dist/types/ui/renderer-props.d.ts +13 -1
  153. package/dist/types-ts4.5/i18n/cs.d.ts +2 -12
  154. package/dist/types-ts4.5/i18n/da.d.ts +2 -12
  155. package/dist/types-ts4.5/i18n/de.d.ts +2 -12
  156. package/dist/types-ts4.5/i18n/en.d.ts +2 -12
  157. package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -12
  158. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -12
  159. package/dist/types-ts4.5/i18n/es.d.ts +2 -12
  160. package/dist/types-ts4.5/i18n/fi.d.ts +2 -12
  161. package/dist/types-ts4.5/i18n/fr.d.ts +2 -12
  162. package/dist/types-ts4.5/i18n/hr.d.ts +2 -12
  163. package/dist/types-ts4.5/i18n/hu.d.ts +2 -12
  164. package/dist/types-ts4.5/i18n/it.d.ts +2 -12
  165. package/dist/types-ts4.5/i18n/ja.d.ts +2 -12
  166. package/dist/types-ts4.5/i18n/ko.d.ts +2 -12
  167. package/dist/types-ts4.5/i18n/nb.d.ts +2 -12
  168. package/dist/types-ts4.5/i18n/nl.d.ts +2 -12
  169. package/dist/types-ts4.5/i18n/pl.d.ts +2 -12
  170. package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -12
  171. package/dist/types-ts4.5/i18n/ru.d.ts +2 -12
  172. package/dist/types-ts4.5/i18n/sl.d.ts +2 -12
  173. package/dist/types-ts4.5/i18n/sr_RS.d.ts +2 -12
  174. package/dist/types-ts4.5/i18n/sr_YR.d.ts +2 -12
  175. package/dist/types-ts4.5/i18n/sv.d.ts +2 -12
  176. package/dist/types-ts4.5/i18n/th.d.ts +2 -12
  177. package/dist/types-ts4.5/i18n/tr.d.ts +2 -12
  178. package/dist/types-ts4.5/i18n/uk.d.ts +2 -12
  179. package/dist/types-ts4.5/i18n/vi.d.ts +2 -12
  180. package/dist/types-ts4.5/i18n/zh.d.ts +2 -12
  181. package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -12
  182. package/dist/types-ts4.5/ui/Renderer/RendererStyleContainer.d.ts +1 -1
  183. package/dist/types-ts4.5/ui/Renderer/get-base-font-size.d.ts +2 -2
  184. package/dist/types-ts4.5/ui/Renderer/index.d.ts +2 -1
  185. package/dist/types-ts4.5/ui/Renderer/types.d.ts +1 -0
  186. package/dist/types-ts4.5/ui/renderer-props.d.ts +13 -1
  187. package/package.json +4 -3
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Chinese (Traditional)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '遞增',
11
- 'fabric.editor.headingLink.copied': '已複製!',
12
- 'fabric.editor.headingLink.copyAnchorLink': '複製標題連結',
13
- 'fabric.editor.headingLink.copyAriaLabel': '複製',
14
- 'fabric.editor.headingLink.descSortingLabel': '遞減',
15
- 'fabric.editor.headingLink.failedToCopy': '複製失敗',
16
- 'fabric.editor.headingLink.noneSortingLabel': '無',
17
- 'fabric.editor.inlineComment.marker.end': '內嵌留言結束',
18
- 'fabric.editor.inlineComment.marker.start': '內嵌留言開始'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/zh_TW';
11
+ export default translations;
@@ -19,7 +19,7 @@ import { calcBreakoutWidth, canRenderDatasource } from '@atlaskit/editor-common/
19
19
  import { usePortal } from '../../ui/Renderer/PortalContext';
20
20
  const datasourceContainerStyle = css({
21
21
  borderRadius: `${"var(--ds-radius-large, 8px)"}`,
22
- border: `1px solid ${`var(--ds-border, ${N40})`}`,
22
+ border: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${N40})`}`,
23
23
  overflow: 'hidden',
24
24
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
25
25
  marginLeft: '50%',
@@ -25,7 +25,7 @@ const codeBlockButtonsStyle = css({
25
25
  button: {
26
26
  height: '32px',
27
27
  width: '32px',
28
- border: `2px solid ${`var(--ds-border, ${N0})`}`,
28
+ border: `${"var(--ds-border-width-selected, 2px)"} solid ${`var(--ds-border, ${N0})`}`,
29
29
  borderRadius: "var(--ds-radius-small, 4px)",
30
30
  marginLeft: "var(--ds-space-050, 4px)",
31
31
  padding: "var(--ds-space-025, 2px)",
@@ -148,7 +148,7 @@ const panelNestedIconStyles = css({
148
148
  const nestedPanelStyles = css({
149
149
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
150
150
  '.ak-editor-panel__content .ak-editor-panel': {
151
- border: `1px solid ${"var(--ds-border, #091E42)"}`
151
+ border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #091E42)"}`
152
152
  }
153
153
  });
154
154
  const panelCustomBackground = css({
@@ -307,7 +307,7 @@ const telepointerStyles = css({
307
307
  paddingLeft: '1.5px',
308
308
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
309
309
  lineHeight: 'initial',
310
- borderRadius: '0px 2px 2px 0px',
310
+ borderRadius: `0px ${"var(--ds-radius-xsmall, 2px)"} ${"var(--ds-radius-xsmall, 2px)"} 0px`,
311
311
  color: "var(--ds-text-inverse, white)",
312
312
  backgroundColor: "var(--ds-background-brand-bold, #0C66E4)"
313
313
  }
@@ -367,7 +367,7 @@ const blockquoteSharedStyles = css({
367
367
  display: 'inline-block',
368
368
  paddingLeft: "var(--ds-space-200, 16px)",
369
369
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
370
- borderLeft: `2px solid ${`var(--ds-border, ${akEditorBlockquoteBorderColor})`}`,
370
+ borderLeft: `${"var(--ds-border-width-selected, 2px)"} solid ${`var(--ds-border, ${akEditorBlockquoteBorderColor})`}`,
371
371
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
372
372
  margin: `${blockNodesVerticalMargin} 0 0 0`,
373
373
  marginRight: 0,
@@ -1377,7 +1377,7 @@ const tableRendererHeaderStylesForTableCellOnly = css({
1377
1377
  minWidth: `${tableCellMinWidth}px`,
1378
1378
  fontWeight: "var(--ds-font-weight-regular, 400)",
1379
1379
  verticalAlign: 'top',
1380
- border: `1px solid ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`}`,
1380
+ border: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`}`,
1381
1381
  borderRightWidth: 0,
1382
1382
  borderBottomWidth: 0,
1383
1383
  padding: "var(--ds-space-100, 8px)",
@@ -1599,7 +1599,7 @@ const rendererTableColumnStylesOld = css({
1599
1599
  'table[data-number-column="true"]': {
1600
1600
  [`.${RendererCssClassName.NUMBER_COLUMN}`]: {
1601
1601
  backgroundColor: `${`var(--ds-background-neutral, ${akEditorTableToolbar})`}`,
1602
- borderRight: `1px solid
1602
+ borderRight: `${"var(--ds-border-width, 1px)"} solid
1603
1603
  ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`}`,
1604
1604
  width: `${akEditorTableNumberColumnWidth}px`,
1605
1605
  textAlign: 'center',
@@ -1618,7 +1618,7 @@ const rendererTableColumnStyles = css({
1618
1618
  'table[data-number-column="true"]': {
1619
1619
  [`.${RendererCssClassName.NUMBER_COLUMN}`]: {
1620
1620
  backgroundColor: `${"var(--ds-background-accent-gray-subtlest, #F1F2F4)"}`,
1621
- borderRight: `1px solid
1621
+ borderRight: `${"var(--ds-border-width, 1px)"} solid
1622
1622
  ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`}`,
1623
1623
  width: `${akEditorTableNumberColumnWidth}px`,
1624
1624
  textAlign: 'center',
@@ -1659,8 +1659,8 @@ const stickyHeaderStyles = css({
1659
1659
  display: 'flex',
1660
1660
  overflow: 'hidden',
1661
1661
  zIndex: `${akEditorStickyHeaderZIndex}`,
1662
- borderRight: `1px solid ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`}`,
1663
- borderBottom: `1px solid ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`}`,
1662
+ borderRight: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`}`,
1663
+ borderBottom: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-background-accent-gray-subtler, ${akEditorTableBorder})`}`,
1664
1664
  /* this is to compensate for the table border */
1665
1665
  transform: 'translateX(-1px)'
1666
1666
  },
@@ -1845,7 +1845,7 @@ const columnLayoutResponsiveRendererStyles = css({
1845
1845
  const rendererAnnotationStyles = css({
1846
1846
  "& [data-mark-type='annotation'][data-mark-annotation-state='active'] [data-annotation-mark], & [data-annotation-draft-mark][data-annotation-inline-node]": {
1847
1847
  background: `var(--ds-background-accent-yellow-subtler, ${Y75})`,
1848
- borderBottom: `2px solid ${`var(--ds-border-accent-yellow, ${Y300})`}`,
1848
+ borderBottom: `${"var(--ds-border-width-selected, 2px)"} solid ${`var(--ds-border-accent-yellow, ${Y300})`}`,
1849
1849
  boxShadow: `var(--ds-shadow-overlay, ${`1px 2px 3px ${N60A}, -1px 2px 3px ${N60A}`})`,
1850
1850
  cursor: 'pointer',
1851
1851
  padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-025, 2px)"}`
@@ -1854,9 +1854,9 @@ const rendererAnnotationStyles = css({
1854
1854
  const rendererAnnotationStylesCommentHeightFix = css({
1855
1855
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
1856
1856
  '& [data-annotation-draft-mark][data-annotation-inline-node]': {
1857
- borderBottom: '2px solid transparent',
1857
+ borderBottom: `${"var(--ds-border-width-selected, 2px)"} solid transparent`,
1858
1858
  cursor: 'pointer',
1859
- padding: '1px 0 2px',
1859
+ padding: `1px 0 ${"var(--ds-space-025, 2px)"}`,
1860
1860
  background: `var(--ds-background-accent-yellow-subtler, ${Y75})`,
1861
1861
  borderBottomColor: `var(--ds-border-accent-yellow, ${Y300})`,
1862
1862
  boxShadow: `var(--ds-shadow-overlay, ${`1px 2px 3px ${N60A}, -1px 2px 3px ${N60A}`})`
@@ -1875,6 +1875,7 @@ export const RendererStyleContainer = props => {
1875
1875
  onClick,
1876
1876
  onMouseDown,
1877
1877
  appearance,
1878
+ contentMode,
1878
1879
  allowNestedHeaderLinks,
1879
1880
  allowColumnSorting,
1880
1881
  useBlockRenderForCodeBlock,
@@ -1896,7 +1897,7 @@ export const RendererStyleContainer = props => {
1896
1897
  onClick: onClick,
1897
1898
  onMouseDown: onMouseDown,
1898
1899
  style: {
1899
- '--ak-renderer-base-font-size': `${getBaseFontSize(appearance)}px`,
1900
+ '--ak-renderer-base-font-size': `${getBaseFontSize(appearance, contentMode)}px`,
1900
1901
  '--ak-renderer-editor-font-heading-h1': `${editorUGCToken('editor.font.heading.h1')}`,
1901
1902
  '--ak-renderer-editor-font-heading-h2': `${editorUGCToken('editor.font.heading.h2')}`,
1902
1903
  '--ak-renderer-editor-font-heading-h3': `${editorUGCToken('editor.font.heading.h3')}`,
@@ -1,4 +1,12 @@
1
1
  import { akEditorFullPageDefaultFontSize } from '@atlaskit/editor-shared-styles';
2
- export const getBaseFontSize = appearance => {
2
+ import { expVal } from '@atlaskit/tmp-editor-statsig/expVal';
3
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
+ export const getBaseFontSize = (appearance, contentMode) => {
5
+ if (expValEquals('cc_editor_ai_content_mode', 'variant', 'test')) {
6
+ if (contentMode === 'dense') {
7
+ const baseFontSize = expVal('cc_editor_ai_content_mode', 'baseFontSize', 13);
8
+ return baseFontSize;
9
+ }
10
+ }
3
11
  return appearance && appearance !== 'comment' ? akEditorFullPageDefaultFontSize : 14;
4
12
  };
@@ -394,6 +394,7 @@ export const RendererFunctionalComponent = props => {
394
394
  }, jsx(RendererWrapper, {
395
395
  allowAnnotations: props.allowAnnotations,
396
396
  appearance: props.appearance,
397
+ contentMode: props.contentMode || 'standard',
397
398
  allowNestedHeaderLinks: isNestedHeaderLinksEnabled(props.allowHeadingAnchorLinks),
398
399
  allowColumnSorting: props.allowColumnSorting,
399
400
  allowCopyToClipboard: props.allowCopyToClipboard,
@@ -430,6 +431,7 @@ export const RendererFunctionalComponent = props => {
430
431
  return jsx(RendererWrapper, {
431
432
  allowAnnotations: props.allowAnnotations,
432
433
  appearance: props.appearance,
434
+ contentMode: props.contentMode || 'standard',
433
435
  allowCopyToClipboard: props.allowCopyToClipboard,
434
436
  allowWrapCodeBlock: props.allowWrapCodeBlock,
435
437
  allowPlaceholderText: props.allowPlaceholderText,
@@ -525,6 +527,7 @@ const RendererWrapper = /*#__PURE__*/React.memo(props => {
525
527
  allowNestedHeaderLinks,
526
528
  innerRef,
527
529
  appearance,
530
+ contentMode,
528
531
  children,
529
532
  onClick,
530
533
  onMouseDown,
@@ -625,7 +628,7 @@ const RendererWrapper = /*#__PURE__*/React.memo(props => {
625
628
  "data-appearance": appearance,
626
629
  shouldCheckExistingValue: isInsideOfInlineExtension
627
630
  }, jsx(BaseTheme, {
628
- baseFontSize: getBaseFontSize(appearance)
631
+ baseFontSize: getBaseFontSize(appearance, contentMode)
629
632
  }, jsx(EditorMediaClientProvider, {
630
633
  ssr: ssr
631
634
  }, jsx(RendererStyleContainer, {
@@ -633,6 +636,7 @@ const RendererWrapper = /*#__PURE__*/React.memo(props => {
633
636
  onClick: onClick,
634
637
  onMouseDown: onMouseDown,
635
638
  appearance: appearance,
639
+ contentMode: contentMode,
636
640
  allowNestedHeaderLinks: allowNestedHeaderLinks,
637
641
  allowColumnSorting: !!allowColumnSorting,
638
642
  useBlockRenderForCodeBlock: useBlockRenderForCodeBlock,
@@ -20,7 +20,7 @@ const markStyles = css({
20
20
  color: 'inherit',
21
21
  backgroundColor: 'unset',
22
22
  WebkitTapHighlightColor: 'transparent',
23
- borderBottom: '2px solid transparent',
23
+ borderBottom: `${"var(--ds-border-width-selected, 2px)"} solid transparent`,
24
24
  cursor: 'pointer',
25
25
  padding: '1px 0 2px',
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
@@ -19,11 +19,11 @@ const markStyles = css({
19
19
  [`&[data-mark-annotation-state='${AnnotationMarkStates.ACTIVE}']`]: {
20
20
  // was from blur in AnnotationSharedCSSByState().blur
21
21
  background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
22
- borderBottom: `2px solid ${"var(--ds-border-accent-yellow, #B38600)"}`,
22
+ borderBottom: `${"var(--ds-border-width-selected, 2px)"} solid ${"var(--ds-border-accent-yellow, #B38600)"}`,
23
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
24
24
  '&[data-has-focus="true"]': {
25
25
  background: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
26
- borderBottom: `2px solid ${"var(--ds-border-accent-yellow, #B38600)"}`,
26
+ borderBottom: `${"var(--ds-border-width-selected, 2px)"} solid ${"var(--ds-border-accent-yellow, #B38600)"}`,
27
27
  // TODO: DSP-4147 - Annotation shadow
28
28
  boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
29
29
  cursor: 'pointer'
@@ -61,9 +61,9 @@ const markStylesWithInlineComments = css({
61
61
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
62
62
  [`&[data-mark-annotation-state='${AnnotationMarkStates.ACTIVE}']`]: {
63
63
  // was from common in AnnotationSharedCSSByState().common
64
- borderBottom: '2px solid transparent',
64
+ borderBottom: `${"var(--ds-border-width-selected, 2px)"} solid transparent`,
65
65
  cursor: 'pointer',
66
- padding: '1px 0 2px',
66
+ padding: `1px 0 ${"var(--ds-space-025, 2px)"}`,
67
67
  // it was under fg(annotations_align_editor_and_renderer_styles) from AnnotationSharedCSSByState().common, assume it's on as already rolled out
68
68
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
69
69
  '&:has(.card), &:has([data-inline-card])': {
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Czech
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'vzestupně',
11
- 'fabric.editor.headingLink.copied': 'Zkopírováno!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopírovat odkaz na nadpis',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopírovat',
14
- 'fabric.editor.headingLink.descSortingLabel': 'sestupně',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopírování se nezdařilo',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Žádné',
17
- 'fabric.editor.inlineComment.marker.end': 'konec vloženého komentáře',
18
- 'fabric.editor.inlineComment.marker.start': 'začátek vloženého komentáře'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/cs';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Danish (Denmark)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'stigende',
11
- 'fabric.editor.headingLink.copied': 'Kopieret!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopiér link til overskrift',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiér',
14
- 'fabric.editor.headingLink.descSortingLabel': 'faldende',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiering mislykkedes',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'ingen',
17
- 'fabric.editor.inlineComment.marker.end': 'slut på indlejret kommentar',
18
- 'fabric.editor.inlineComment.marker.start': 'start på indlejret kommentar'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/da';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //German (Germany)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'aufsteigend',
11
- 'fabric.editor.headingLink.copied': 'Kopiert!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Link zur Überschrift kopieren',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopieren',
14
- 'fabric.editor.headingLink.descSortingLabel': 'absteigend',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopieren ist fehlgeschlagen',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Keine',
17
- 'fabric.editor.inlineComment.marker.end': 'Ende des Inline-Kommentars',
18
- 'fabric.editor.inlineComment.marker.start': 'Beginn des Inline-Kommentars'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/de';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ascending',
11
- 'fabric.editor.headingLink.copied': 'Copied!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Copy link to heading',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copy',
14
- 'fabric.editor.headingLink.descSortingLabel': 'descending',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copy failed',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'none',
17
- 'fabric.editor.inlineComment.marker.end': 'inline comment end',
18
- 'fabric.editor.inlineComment.marker.start': 'inline comment start'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/en';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //English (United Kingdom)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ascending',
11
- 'fabric.editor.headingLink.copied': 'Copied!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Copy link to heading',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copy',
14
- 'fabric.editor.headingLink.descSortingLabel': 'descending',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copy failed',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'none',
17
- 'fabric.editor.inlineComment.marker.end': 'inline comment end',
18
- 'fabric.editor.inlineComment.marker.start': 'inline comment start'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/en_GB';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '⁣⁢ascending⁡؜⁠⁠‍‍⁠‍⁡⁡⁡⁣⁤',
11
- 'fabric.editor.headingLink.copied': '⁣⁢Copied!؜‍؜؜⁠‌؜⁣⁤',
12
- 'fabric.editor.headingLink.copyAnchorLink': '⁣⁢Copy link to heading؜‍⁠؜⁡⁡⁠‍‍⁠‍⁡⁠‌⁡‍‍⁠⁣⁤',
13
- 'fabric.editor.headingLink.copyAriaLabel': '⁣⁢Copy‍‍‍؜‍؜؜⁡‍⁡‍‍‍⁣⁤',
14
- 'fabric.editor.headingLink.descSortingLabel': '⁣⁢descending؜‌⁡‌⁡⁠⁡⁠‍‌⁡⁡⁡؜⁣⁤',
15
- 'fabric.editor.headingLink.failedToCopy': '⁣⁢Copy failed⁠⁠‌⁠‌‍‌⁣⁤',
16
- 'fabric.editor.headingLink.noneSortingLabel': '⁣⁢none⁡؜⁡⁡؜⁠⁠⁣⁤',
17
- 'fabric.editor.inlineComment.marker.end': '⁣⁢inline comment end⁠‍⁡⁡؜⁠‌⁣⁤',
18
- 'fabric.editor.inlineComment.marker.start': '⁣⁢inline comment start؜‌‌‍⁡‍‍؜‌⁣⁤'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/en_ZZ';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Spanish (International)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ascendente',
11
- 'fabric.editor.headingLink.copied': '¡Copiado!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Copiar enlace en el título',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copiar',
14
- 'fabric.editor.headingLink.descSortingLabel': 'descendente',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copia fallida',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'ninguno',
17
- 'fabric.editor.inlineComment.marker.end': 'final de comentario insertado',
18
- 'fabric.editor.inlineComment.marker.start': 'inicio de comentario insertado'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/es';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Finnish
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'nousevassa järjestyksessä',
11
- 'fabric.editor.headingLink.copied': 'Kopioitu!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopioi otsikkolinkki',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopioi',
14
- 'fabric.editor.headingLink.descSortingLabel': 'laskevassa järjestyksessä',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiointi epäonnistui',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Ei mitään',
17
- 'fabric.editor.inlineComment.marker.end': 'tekstin sisäisen kommentin loppu',
18
- 'fabric.editor.inlineComment.marker.start': 'tekstin sisäisen kommentin alku'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/fi';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //French (France)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ordre croissant',
11
- 'fabric.editor.headingLink.copied': 'Copié !',
12
- 'fabric.editor.headingLink.copyAnchorLink': "Copier le lien vers l'en-tête",
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copier',
14
- 'fabric.editor.headingLink.descSortingLabel': 'ordre décroissant',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copie impossible',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Néant',
17
- 'fabric.editor.inlineComment.marker.end': 'fin du commentaire contextuel',
18
- 'fabric.editor.inlineComment.marker.start': 'début du commentaire contextuel'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/fr';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Croatian (Croatia) [hr-HR]
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'uzlazno',
11
- 'fabric.editor.headingLink.copied': 'Kopirano!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj poveznicu u zaglavlju',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
14
- 'fabric.editor.headingLink.descSortingLabel': 'silazno',
15
- 'fabric.editor.headingLink.failedToCopy': 'Neuspjelo kopiranje',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'nema',
17
- 'fabric.editor.inlineComment.marker.end': 'završetak za umetnuti komentar',
18
- 'fabric.editor.inlineComment.marker.start': 'početak za umetnuti komentar'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/hr';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Hungarian
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'növekvő',
11
- 'fabric.editor.headingLink.copied': 'Másolva!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Fejléc linkjének másolása',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Másolás',
14
- 'fabric.editor.headingLink.descSortingLabel': 'csökkenő',
15
- 'fabric.editor.headingLink.failedToCopy': 'A másolás nem sikerült',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Nincs',
17
- 'fabric.editor.inlineComment.marker.end': 'beágyazott megjegyzés vége',
18
- 'fabric.editor.inlineComment.marker.start': 'beágyazott megjegyzés kezdete'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/hu';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Italian (Italy)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'crescente',
11
- 'fabric.editor.headingLink.copied': 'Copiato.',
12
- 'fabric.editor.headingLink.copyAnchorLink': "Copia link nell'intestazione",
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copia',
14
- 'fabric.editor.headingLink.descSortingLabel': 'decrescente',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copia non riuscita',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'nessuno',
17
- 'fabric.editor.inlineComment.marker.end': 'fine del commento in linea',
18
- 'fabric.editor.inlineComment.marker.start': 'inizio del commento in linea'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/it';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Japanese
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '昇順',
11
- 'fabric.editor.headingLink.copied': 'コピーしました',
12
- 'fabric.editor.headingLink.copyAnchorLink': '見出しへのリンクをコピー',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'コピー',
14
- 'fabric.editor.headingLink.descSortingLabel': '降順',
15
- 'fabric.editor.headingLink.failedToCopy': 'コピーできませんでした。',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'なし',
17
- 'fabric.editor.inlineComment.marker.end': 'インライン コメント終了',
18
- 'fabric.editor.inlineComment.marker.start': 'インライン コメント開始'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/ja';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Korean
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '오름차순',
11
- 'fabric.editor.headingLink.copied': '복사되었습니다!',
12
- 'fabric.editor.headingLink.copyAnchorLink': '링크를 제목에 복사',
13
- 'fabric.editor.headingLink.copyAriaLabel': '복사',
14
- 'fabric.editor.headingLink.descSortingLabel': '내림차순',
15
- 'fabric.editor.headingLink.failedToCopy': '복사 실패',
16
- 'fabric.editor.headingLink.noneSortingLabel': '없음',
17
- 'fabric.editor.inlineComment.marker.end': '인라인 댓글 끝',
18
- 'fabric.editor.inlineComment.marker.start': '인라인 댓글 시작'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/ko';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Norwegian (Bokmål)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'stigende',
11
- 'fabric.editor.headingLink.copied': 'Kopiert!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopier kobling til overskrift',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopier',
14
- 'fabric.editor.headingLink.descSortingLabel': 'synkende',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiering mislyktes',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'ingen',
17
- 'fabric.editor.inlineComment.marker.end': 'kommentar i margen slutt',
18
- 'fabric.editor.inlineComment.marker.start': 'kommentar i margen start'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/nb';
11
+ export default translations;