@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.
- package/CHANGELOG.md +21 -0
- package/afm-dev-agents/tsconfig.json +3 -0
- package/afm-jira/tsconfig.json +3 -0
- package/afm-passionfruit/tsconfig.json +3 -0
- package/afm-post-office/tsconfig.json +3 -0
- package/afm-rovo-extension/tsconfig.json +3 -0
- package/afm-townsquare/tsconfig.json +3 -0
- package/dist/cjs/i18n/cs.js +4 -12
- package/dist/cjs/i18n/da.js +4 -12
- package/dist/cjs/i18n/de.js +4 -12
- package/dist/cjs/i18n/en.js +4 -12
- package/dist/cjs/i18n/en_GB.js +4 -12
- package/dist/cjs/i18n/en_ZZ.js +4 -12
- package/dist/cjs/i18n/es.js +4 -12
- package/dist/cjs/i18n/fi.js +4 -12
- package/dist/cjs/i18n/fr.js +4 -12
- package/dist/cjs/i18n/hr.js +4 -12
- package/dist/cjs/i18n/hu.js +4 -12
- package/dist/cjs/i18n/it.js +4 -12
- package/dist/cjs/i18n/ja.js +4 -12
- package/dist/cjs/i18n/ko.js +4 -12
- package/dist/cjs/i18n/nb.js +4 -12
- package/dist/cjs/i18n/nl.js +4 -12
- package/dist/cjs/i18n/pl.js +4 -12
- package/dist/cjs/i18n/pt_BR.js +4 -12
- package/dist/cjs/i18n/ru.js +4 -12
- package/dist/cjs/i18n/sl.js +4 -12
- package/dist/cjs/i18n/sr_RS.js +4 -12
- package/dist/cjs/i18n/sr_YR.js +4 -12
- package/dist/cjs/i18n/sv.js +4 -12
- package/dist/cjs/i18n/th.js +4 -12
- package/dist/cjs/i18n/tr.js +4 -12
- package/dist/cjs/i18n/uk.js +4 -12
- package/dist/cjs/i18n/vi.js +4 -12
- package/dist/cjs/i18n/zh.js +4 -12
- package/dist/cjs/i18n/zh_TW.js +4 -12
- package/dist/cjs/react/nodes/blockCard.js +1 -1
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
- package/dist/cjs/react/nodes/panel.js +1 -1
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +12 -11
- package/dist/cjs/ui/Renderer/get-base-font-size.js +9 -1
- package/dist/cjs/ui/Renderer/index.js +5 -1
- package/dist/cjs/ui/annotations/draft/component.js +1 -1
- package/dist/cjs/ui/annotations/element/mark.js +4 -4
- package/dist/es2019/i18n/cs.js +4 -12
- package/dist/es2019/i18n/da.js +4 -12
- package/dist/es2019/i18n/de.js +4 -12
- package/dist/es2019/i18n/en.js +4 -12
- package/dist/es2019/i18n/en_GB.js +4 -12
- package/dist/es2019/i18n/en_ZZ.js +4 -12
- package/dist/es2019/i18n/es.js +4 -12
- package/dist/es2019/i18n/fi.js +4 -12
- package/dist/es2019/i18n/fr.js +4 -12
- package/dist/es2019/i18n/hr.js +4 -12
- package/dist/es2019/i18n/hu.js +4 -12
- package/dist/es2019/i18n/it.js +4 -12
- package/dist/es2019/i18n/ja.js +4 -12
- package/dist/es2019/i18n/ko.js +4 -12
- package/dist/es2019/i18n/nb.js +4 -12
- package/dist/es2019/i18n/nl.js +4 -12
- package/dist/es2019/i18n/pl.js +4 -12
- package/dist/es2019/i18n/pt_BR.js +4 -12
- package/dist/es2019/i18n/ru.js +4 -12
- package/dist/es2019/i18n/sl.js +4 -12
- package/dist/es2019/i18n/sr_RS.js +4 -12
- package/dist/es2019/i18n/sr_YR.js +4 -12
- package/dist/es2019/i18n/sv.js +4 -12
- package/dist/es2019/i18n/th.js +4 -12
- package/dist/es2019/i18n/tr.js +4 -12
- package/dist/es2019/i18n/uk.js +4 -12
- package/dist/es2019/i18n/vi.js +4 -12
- package/dist/es2019/i18n/zh.js +4 -12
- package/dist/es2019/i18n/zh_TW.js +4 -12
- package/dist/es2019/react/nodes/blockCard.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
- package/dist/es2019/react/nodes/panel.js +1 -1
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +12 -11
- package/dist/es2019/ui/Renderer/get-base-font-size.js +9 -1
- package/dist/es2019/ui/Renderer/index.js +5 -1
- package/dist/es2019/ui/annotations/draft/component.js +1 -1
- package/dist/es2019/ui/annotations/element/mark.js +4 -4
- package/dist/esm/i18n/cs.js +4 -12
- package/dist/esm/i18n/da.js +4 -12
- package/dist/esm/i18n/de.js +4 -12
- package/dist/esm/i18n/en.js +4 -12
- package/dist/esm/i18n/en_GB.js +4 -12
- package/dist/esm/i18n/en_ZZ.js +4 -12
- package/dist/esm/i18n/es.js +4 -12
- package/dist/esm/i18n/fi.js +4 -12
- package/dist/esm/i18n/fr.js +4 -12
- package/dist/esm/i18n/hr.js +4 -12
- package/dist/esm/i18n/hu.js +4 -12
- package/dist/esm/i18n/it.js +4 -12
- package/dist/esm/i18n/ja.js +4 -12
- package/dist/esm/i18n/ko.js +4 -12
- package/dist/esm/i18n/nb.js +4 -12
- package/dist/esm/i18n/nl.js +4 -12
- package/dist/esm/i18n/pl.js +4 -12
- package/dist/esm/i18n/pt_BR.js +4 -12
- package/dist/esm/i18n/ru.js +4 -12
- package/dist/esm/i18n/sl.js +4 -12
- package/dist/esm/i18n/sr_RS.js +4 -12
- package/dist/esm/i18n/sr_YR.js +4 -12
- package/dist/esm/i18n/sv.js +4 -12
- package/dist/esm/i18n/th.js +4 -12
- package/dist/esm/i18n/tr.js +4 -12
- package/dist/esm/i18n/uk.js +4 -12
- package/dist/esm/i18n/vi.js +4 -12
- package/dist/esm/i18n/zh.js +4 -12
- package/dist/esm/i18n/zh_TW.js +4 -12
- package/dist/esm/react/nodes/blockCard.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
- package/dist/esm/react/nodes/panel.js +1 -1
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +12 -11
- package/dist/esm/ui/Renderer/get-base-font-size.js +9 -1
- package/dist/esm/ui/Renderer/index.js +5 -1
- package/dist/esm/ui/annotations/draft/component.js +1 -1
- package/dist/esm/ui/annotations/element/mark.js +4 -4
- package/dist/types/i18n/cs.d.ts +2 -12
- package/dist/types/i18n/da.d.ts +2 -12
- package/dist/types/i18n/de.d.ts +2 -12
- package/dist/types/i18n/en.d.ts +2 -12
- package/dist/types/i18n/en_GB.d.ts +2 -12
- package/dist/types/i18n/en_ZZ.d.ts +2 -12
- package/dist/types/i18n/es.d.ts +2 -12
- package/dist/types/i18n/fi.d.ts +2 -12
- package/dist/types/i18n/fr.d.ts +2 -12
- package/dist/types/i18n/hr.d.ts +2 -12
- package/dist/types/i18n/hu.d.ts +2 -12
- package/dist/types/i18n/it.d.ts +2 -12
- package/dist/types/i18n/ja.d.ts +2 -12
- package/dist/types/i18n/ko.d.ts +2 -12
- package/dist/types/i18n/nb.d.ts +2 -12
- package/dist/types/i18n/nl.d.ts +2 -12
- package/dist/types/i18n/pl.d.ts +2 -12
- package/dist/types/i18n/pt_BR.d.ts +2 -12
- package/dist/types/i18n/ru.d.ts +2 -12
- package/dist/types/i18n/sl.d.ts +2 -12
- package/dist/types/i18n/sr_RS.d.ts +2 -12
- package/dist/types/i18n/sr_YR.d.ts +2 -12
- package/dist/types/i18n/sv.d.ts +2 -12
- package/dist/types/i18n/th.d.ts +2 -12
- package/dist/types/i18n/tr.d.ts +2 -12
- package/dist/types/i18n/uk.d.ts +2 -12
- package/dist/types/i18n/vi.d.ts +2 -12
- package/dist/types/i18n/zh.d.ts +2 -12
- package/dist/types/i18n/zh_TW.d.ts +2 -12
- package/dist/types/ui/Renderer/RendererStyleContainer.d.ts +1 -1
- package/dist/types/ui/Renderer/get-base-font-size.d.ts +2 -2
- package/dist/types/ui/Renderer/index.d.ts +2 -1
- package/dist/types/ui/Renderer/types.d.ts +1 -0
- package/dist/types/ui/renderer-props.d.ts +13 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +2 -12
- package/dist/types-ts4.5/i18n/da.d.ts +2 -12
- package/dist/types-ts4.5/i18n/de.d.ts +2 -12
- package/dist/types-ts4.5/i18n/en.d.ts +2 -12
- package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -12
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -12
- package/dist/types-ts4.5/i18n/es.d.ts +2 -12
- package/dist/types-ts4.5/i18n/fi.d.ts +2 -12
- package/dist/types-ts4.5/i18n/fr.d.ts +2 -12
- package/dist/types-ts4.5/i18n/hr.d.ts +2 -12
- package/dist/types-ts4.5/i18n/hu.d.ts +2 -12
- package/dist/types-ts4.5/i18n/it.d.ts +2 -12
- package/dist/types-ts4.5/i18n/ja.d.ts +2 -12
- package/dist/types-ts4.5/i18n/ko.d.ts +2 -12
- package/dist/types-ts4.5/i18n/nb.d.ts +2 -12
- package/dist/types-ts4.5/i18n/nl.d.ts +2 -12
- package/dist/types-ts4.5/i18n/pl.d.ts +2 -12
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -12
- package/dist/types-ts4.5/i18n/ru.d.ts +2 -12
- package/dist/types-ts4.5/i18n/sl.d.ts +2 -12
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +2 -12
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +2 -12
- package/dist/types-ts4.5/i18n/sv.d.ts +2 -12
- package/dist/types-ts4.5/i18n/th.d.ts +2 -12
- package/dist/types-ts4.5/i18n/tr.d.ts +2 -12
- package/dist/types-ts4.5/i18n/uk.d.ts +2 -12
- package/dist/types-ts4.5/i18n/vi.d.ts +2 -12
- package/dist/types-ts4.5/i18n/zh.d.ts +2 -12
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -12
- package/dist/types-ts4.5/ui/Renderer/RendererStyleContainer.d.ts +1 -1
- package/dist/types-ts4.5/ui/Renderer/get-base-font-size.d.ts +2 -2
- package/dist/types-ts4.5/ui/Renderer/index.d.ts +2 -1
- package/dist/types-ts4.5/ui/Renderer/types.d.ts +1 -0
- package/dist/types-ts4.5/ui/renderer-props.d.ts +13 -1
- package/package.json +4 -3
package/dist/cjs/i18n/ru.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _ru = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/ru"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'по возрастанию',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'Скопировано!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'Копировать ссылку в заголовок',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'Скопировать',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'по убыванию',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'Ошибка копирования',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Нет',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'конец встроенного комментария',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'начало встроенного комментария'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _ru.default;
|
package/dist/cjs/i18n/sl.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _sl = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/sl"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'naraščajoče',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'Kopirano!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj povezavo do naslova',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'padajoče',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'Kopiranje ni uspelo',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'brez',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'konec komentarja v vrstici',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'začetek komentarja v vrstici'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _sl.default;
|
package/dist/cjs/i18n/sr_RS.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _sr_RS = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/sr_RS"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'rastući',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'Kopirano!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj link naslova',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'opadajući',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'Kopiranje nije uspelo',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'nijedno',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'kraj umetnutog komentara',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'početak umetnutog komentara'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _sr_RS.default;
|
package/dist/cjs/i18n/sr_YR.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _sr_YR = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/sr_YR"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'растући',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'Копирано!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'Копирај линк наслова',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'Копирај',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'опадајући',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'Копирање није успело',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'ништа',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'крај уметнутог коментара',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'почетак уметнутог коментара'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _sr_YR.default;
|
package/dist/cjs/i18n/sv.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _sv = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/sv"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'stigande',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'Kopierad!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'Kopiera länk till rubrik',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'Kopiera',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'fallande',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'Kopiering misslyckades',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Ingen',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'slut på inlinekommentarer',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'start på inlinekommentarer'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _sv.default;
|
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _th = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/th"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'จากน้อยไปหามาก',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'คัดลอกแล้ว!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'คัดลอกลิงก์ที่เชื่อมไปยังหัวเรื่อง',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'คัดลอก',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'จากมากไปหาน้อย',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'การคัดลอกไม่สำเร็จ',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'ไม่มี',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'สิ้นสุดความคิดเห็นในบรรทัด',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'เริ่มต้นความคิดเห็นในบรรทัด'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _th.default;
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _tr = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/tr"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'artan',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'Kopyalandı!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'Başlık bağlantısını kopyala',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'Kopyala',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'azalan',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'Kopyalama işlemi başarısız oldu',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'yok',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'satır içi yorum sonu',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'satır içi yorum başlangıcı'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _tr.default;
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _uk = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/uk"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'за зростанням',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'Скопійовано',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'Скопіювати посилання на заголовок',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'Копіювати',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'за спаданням',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'Не вдалося скопіювати',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Немає',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'кінець вбудованого коментаря',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'початок вбудованого коментаря'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _uk.default;
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _vi = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/vi"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': 'tăng dần',
|
|
17
|
-
'fabric.editor.headingLink.copied': 'Đã sao chép!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': 'Sao chép liên kết vào tiêu đề',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': 'Sao chép',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': 'giảm dần',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': 'Sao chép không thành công',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': 'không có',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': 'bình luận nội tuyến kết thúc',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': 'bình luận nội tuyến bắt đầu'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _vi.default;
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _zh = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/zh"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': '升序',
|
|
17
|
-
'fabric.editor.headingLink.copied': '已复制!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': '复制标题链接',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': '复制',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': '降序',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': '复制失败',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': '无',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': '内联评论结束',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': '内联评论开始'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _zh.default;
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
8
|
+
var _zh_TW = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-editor-renderer/i18n/zh_TW"));
|
|
7
9
|
/* prettier-ignore */
|
|
10
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
8
11
|
/**
|
|
9
12
|
* NOTE:
|
|
10
13
|
*
|
|
11
14
|
* This file is automatically generated by Traduki 2.0.
|
|
12
15
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
16
|
*/
|
|
14
|
-
|
|
15
|
-
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': '遞增',
|
|
17
|
-
'fabric.editor.headingLink.copied': '已複製!',
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': '複製標題連結',
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': '複製',
|
|
20
|
-
'fabric.editor.headingLink.descSortingLabel': '遞減',
|
|
21
|
-
'fabric.editor.headingLink.failedToCopy': '複製失敗',
|
|
22
|
-
'fabric.editor.headingLink.noneSortingLabel': '無',
|
|
23
|
-
'fabric.editor.inlineComment.marker.end': '內嵌留言結束',
|
|
24
|
-
'fabric.editor.inlineComment.marker.start': '內嵌留言開始'
|
|
25
|
-
};
|
|
17
|
+
var _default = exports.default = _zh_TW.default;
|
|
@@ -27,7 +27,7 @@ var _PortalContext = require("../../ui/Renderer/PortalContext");
|
|
|
27
27
|
|
|
28
28
|
var datasourceContainerStyle = (0, _react.css)({
|
|
29
29
|
borderRadius: "var(--ds-radius-large, 8px)",
|
|
30
|
-
border: "1px
|
|
30
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N40, ")")),
|
|
31
31
|
overflow: 'hidden',
|
|
32
32
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
33
33
|
marginLeft: '50%',
|
|
@@ -33,7 +33,7 @@ var codeBlockButtonsStyle = (0, _react.css)({
|
|
|
33
33
|
button: {
|
|
34
34
|
height: '32px',
|
|
35
35
|
width: '32px',
|
|
36
|
-
border: "2px
|
|
36
|
+
border: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N0, ")")),
|
|
37
37
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
38
38
|
marginLeft: "var(--ds-space-050, 4px)",
|
|
39
39
|
padding: "var(--ds-space-025, 2px)",
|
|
@@ -157,7 +157,7 @@ var panelNestedIconStyles = (0, _react2.css)({
|
|
|
157
157
|
var nestedPanelStyles = (0, _react2.css)({
|
|
158
158
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
159
159
|
'.ak-editor-panel__content .ak-editor-panel': {
|
|
160
|
-
border: "1px
|
|
160
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #091E42)")
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
var panelCustomBackground = (0, _react2.css)({
|
|
@@ -234,7 +234,7 @@ var telepointerStyles = (0, _react.css)((0, _defineProperty2.default)({}, "#".co
|
|
|
234
234
|
paddingLeft: '1.5px',
|
|
235
235
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
236
236
|
lineHeight: 'initial',
|
|
237
|
-
borderRadius:
|
|
237
|
+
borderRadius: "0px ".concat("var(--ds-radius-xsmall, 2px)", " ", "var(--ds-radius-xsmall, 2px)", " 0px"),
|
|
238
238
|
color: "var(--ds-text-inverse, white)",
|
|
239
239
|
backgroundColor: "var(--ds-background-brand-bold, #0C66E4)"
|
|
240
240
|
}
|
|
@@ -291,7 +291,7 @@ var blockquoteSharedStyles = (0, _react.css)({
|
|
|
291
291
|
display: 'inline-block',
|
|
292
292
|
paddingLeft: "var(--ds-space-200, 16px)",
|
|
293
293
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
294
|
-
borderLeft: "2px
|
|
294
|
+
borderLeft: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(_editorSharedStyles.akEditorBlockquoteBorderColor, ")")),
|
|
295
295
|
// 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
|
|
296
296
|
margin: "".concat(_editorSharedStyles.blockNodesVerticalMargin, " 0 0 0"),
|
|
297
297
|
marginRight: 0,
|
|
@@ -1106,7 +1106,7 @@ var tableRendererHeaderStylesForTableCellOnly = (0, _react.css)((0, _definePrope
|
|
|
1106
1106
|
minWidth: "".concat(_styles.tableCellMinWidth, "px"),
|
|
1107
1107
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
1108
1108
|
verticalAlign: 'top',
|
|
1109
|
-
border: "1px
|
|
1109
|
+
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-background-accent-gray-subtler, ".concat(_editorSharedStyles.akEditorTableBorder, ")")),
|
|
1110
1110
|
borderRightWidth: 0,
|
|
1111
1111
|
borderBottomWidth: 0,
|
|
1112
1112
|
padding: "var(--ds-space-100, 8px)",
|
|
@@ -1247,7 +1247,7 @@ var rendererTableSortableColumnStyles = (0, _react.css)((0, _defineProperty2.def
|
|
|
1247
1247
|
var rendererTableColumnStylesOld = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER), {
|
|
1248
1248
|
'table[data-number-column="true"]': (0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.NUMBER_COLUMN), {
|
|
1249
1249
|
backgroundColor: "".concat("var(--ds-background-neutral, ".concat(_editorSharedStyles.akEditorTableToolbar, ")")),
|
|
1250
|
-
borderRight: "1px solid\n\t\t\t\t\t\t\t\t"
|
|
1250
|
+
borderRight: "var(--ds-border-width, 1px)".concat(" solid\n\t\t\t\t\t\t\t\t", "var(--ds-background-accent-gray-subtler, ".concat(_editorSharedStyles.akEditorTableBorder, ")")),
|
|
1251
1251
|
width: "".concat(_editorSharedStyles.akEditorTableNumberColumnWidth, "px"),
|
|
1252
1252
|
textAlign: 'center',
|
|
1253
1253
|
color: "".concat("var(--ds-text-subtlest, ".concat(_colors.N200, ")")),
|
|
@@ -1260,7 +1260,7 @@ var rendererTableColumnStylesOld = (0, _react.css)((0, _defineProperty2.default)
|
|
|
1260
1260
|
var rendererTableColumnStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER), {
|
|
1261
1261
|
'table[data-number-column="true"]': (0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.NUMBER_COLUMN), {
|
|
1262
1262
|
backgroundColor: "var(--ds-background-accent-gray-subtlest, #F1F2F4)",
|
|
1263
|
-
borderRight: "1px solid\n\t\t\t\t\t\t\t\t"
|
|
1263
|
+
borderRight: "var(--ds-border-width, 1px)".concat(" solid\n\t\t\t\t\t\t\t\t", "var(--ds-background-accent-gray-subtler, ".concat(_editorSharedStyles.akEditorTableBorder, ")")),
|
|
1264
1264
|
width: "".concat(_editorSharedStyles.akEditorTableNumberColumnWidth, "px"),
|
|
1265
1265
|
textAlign: 'center',
|
|
1266
1266
|
color: "".concat("var(--ds-text-subtlest, ".concat(_colors.N200, ")")),
|
|
@@ -1286,8 +1286,8 @@ var stickyHeaderStyles = (0, _react.css)({
|
|
|
1286
1286
|
display: 'flex',
|
|
1287
1287
|
overflow: 'hidden',
|
|
1288
1288
|
zIndex: "".concat(_editorSharedStyles.akEditorStickyHeaderZIndex),
|
|
1289
|
-
borderRight: "1px
|
|
1290
|
-
borderBottom: "1px
|
|
1289
|
+
borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-background-accent-gray-subtler, ".concat(_editorSharedStyles.akEditorTableBorder, ")")),
|
|
1290
|
+
borderBottom: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-background-accent-gray-subtler, ".concat(_editorSharedStyles.akEditorTableBorder, ")")),
|
|
1291
1291
|
/* this is to compensate for the table border */
|
|
1292
1292
|
transform: 'translateX(-1px)'
|
|
1293
1293
|
},
|
|
@@ -1446,7 +1446,7 @@ var columnLayoutResponsiveRendererStyles = (0, _react.css)({
|
|
|
1446
1446
|
var rendererAnnotationStyles = (0, _react.css)({
|
|
1447
1447
|
"& [data-mark-type='annotation'][data-mark-annotation-state='active'] [data-annotation-mark], & [data-annotation-draft-mark][data-annotation-inline-node]": {
|
|
1448
1448
|
background: "var(--ds-background-accent-yellow-subtler, ".concat(_colors.Y75, ")"),
|
|
1449
|
-
borderBottom: "2px
|
|
1449
|
+
borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-accent-yellow, ".concat(_colors.Y300, ")")),
|
|
1450
1450
|
boxShadow: "var(--ds-shadow-overlay, ".concat("1px 2px 3px ".concat(_colors.N60A, ", -1px 2px 3px ").concat(_colors.N60A), ")"),
|
|
1451
1451
|
cursor: 'pointer',
|
|
1452
1452
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-025, 2px)")
|
|
@@ -1455,9 +1455,9 @@ var rendererAnnotationStyles = (0, _react.css)({
|
|
|
1455
1455
|
var rendererAnnotationStylesCommentHeightFix = (0, _react.css)({
|
|
1456
1456
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
1457
1457
|
'& [data-annotation-draft-mark][data-annotation-inline-node]': {
|
|
1458
|
-
borderBottom:
|
|
1458
|
+
borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid transparent"),
|
|
1459
1459
|
cursor: 'pointer',
|
|
1460
|
-
padding:
|
|
1460
|
+
padding: "1px 0 ".concat("var(--ds-space-025, 2px)"),
|
|
1461
1461
|
background: "var(--ds-background-accent-yellow-subtler, ".concat(_colors.Y75, ")"),
|
|
1462
1462
|
borderBottomColor: "var(--ds-border-accent-yellow, ".concat(_colors.Y300, ")"),
|
|
1463
1463
|
boxShadow: "var(--ds-shadow-overlay, ".concat("1px 2px 3px ".concat(_colors.N60A, ", -1px 2px 3px ").concat(_colors.N60A), ")")
|
|
@@ -1475,6 +1475,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
|
|
|
1475
1475
|
var onClick = props.onClick,
|
|
1476
1476
|
onMouseDown = props.onMouseDown,
|
|
1477
1477
|
appearance = props.appearance,
|
|
1478
|
+
contentMode = props.contentMode,
|
|
1478
1479
|
allowNestedHeaderLinks = props.allowNestedHeaderLinks,
|
|
1479
1480
|
allowColumnSorting = props.allowColumnSorting,
|
|
1480
1481
|
useBlockRenderForCodeBlock = props.useBlockRenderForCodeBlock,
|
|
@@ -1495,7 +1496,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
|
|
|
1495
1496
|
onClick: onClick,
|
|
1496
1497
|
onMouseDown: onMouseDown,
|
|
1497
1498
|
style: {
|
|
1498
|
-
'--ak-renderer-base-font-size': "".concat((0, _getBaseFontSize.getBaseFontSize)(appearance), "px"),
|
|
1499
|
+
'--ak-renderer-base-font-size': "".concat((0, _getBaseFontSize.getBaseFontSize)(appearance, contentMode), "px"),
|
|
1499
1500
|
'--ak-renderer-editor-font-heading-h1': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.heading.h1')),
|
|
1500
1501
|
'--ak-renderer-editor-font-heading-h2': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.heading.h2')),
|
|
1501
1502
|
'--ak-renderer-editor-font-heading-h3': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.heading.h3')),
|
|
@@ -5,6 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getBaseFontSize = void 0;
|
|
7
7
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
8
|
-
var
|
|
8
|
+
var _expVal = require("@atlaskit/tmp-editor-statsig/expVal");
|
|
9
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
10
|
+
var getBaseFontSize = exports.getBaseFontSize = function getBaseFontSize(appearance, contentMode) {
|
|
11
|
+
if ((0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test')) {
|
|
12
|
+
if (contentMode === 'dense') {
|
|
13
|
+
var baseFontSize = (0, _expVal.expVal)('cc_editor_ai_content_mode', 'baseFontSize', 13);
|
|
14
|
+
return baseFontSize;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
9
17
|
return appearance && appearance !== 'comment' ? _editorSharedStyles.akEditorFullPageDefaultFontSize : 14;
|
|
10
18
|
};
|
|
@@ -407,6 +407,7 @@ var RendererFunctionalComponent = exports.RendererFunctionalComponent = function
|
|
|
407
407
|
}, (0, _react2.jsx)(RendererWrapper, {
|
|
408
408
|
allowAnnotations: props.allowAnnotations,
|
|
409
409
|
appearance: props.appearance,
|
|
410
|
+
contentMode: props.contentMode || 'standard',
|
|
410
411
|
allowNestedHeaderLinks: (0, _links.isNestedHeaderLinksEnabled)(props.allowHeadingAnchorLinks),
|
|
411
412
|
allowColumnSorting: props.allowColumnSorting,
|
|
412
413
|
allowCopyToClipboard: props.allowCopyToClipboard,
|
|
@@ -445,6 +446,7 @@ var RendererFunctionalComponent = exports.RendererFunctionalComponent = function
|
|
|
445
446
|
return (0, _react2.jsx)(RendererWrapper, {
|
|
446
447
|
allowAnnotations: props.allowAnnotations,
|
|
447
448
|
appearance: props.appearance,
|
|
449
|
+
contentMode: props.contentMode || 'standard',
|
|
448
450
|
allowCopyToClipboard: props.allowCopyToClipboard,
|
|
449
451
|
allowWrapCodeBlock: props.allowWrapCodeBlock,
|
|
450
452
|
allowPlaceholderText: props.allowPlaceholderText,
|
|
@@ -540,6 +542,7 @@ var RendererWrapper = /*#__PURE__*/_react.default.memo(function (props) {
|
|
|
540
542
|
allowNestedHeaderLinks = props.allowNestedHeaderLinks,
|
|
541
543
|
innerRef = props.innerRef,
|
|
542
544
|
appearance = props.appearance,
|
|
545
|
+
contentMode = props.contentMode,
|
|
543
546
|
children = props.children,
|
|
544
547
|
onClick = props.onClick,
|
|
545
548
|
onMouseDown = props.onMouseDown,
|
|
@@ -641,7 +644,7 @@ var RendererWrapper = /*#__PURE__*/_react.default.memo(function (props) {
|
|
|
641
644
|
"data-appearance": appearance,
|
|
642
645
|
shouldCheckExistingValue: isInsideOfInlineExtension
|
|
643
646
|
}, (0, _react2.jsx)(_ui.BaseTheme, {
|
|
644
|
-
baseFontSize: (0, _getBaseFontSize.getBaseFontSize)(appearance)
|
|
647
|
+
baseFontSize: (0, _getBaseFontSize.getBaseFontSize)(appearance, contentMode)
|
|
645
648
|
}, (0, _react2.jsx)(_EditorMediaClientProvider.EditorMediaClientProvider, {
|
|
646
649
|
ssr: ssr
|
|
647
650
|
}, (0, _react2.jsx)(_RendererStyleContainer.RendererStyleContainer, {
|
|
@@ -649,6 +652,7 @@ var RendererWrapper = /*#__PURE__*/_react.default.memo(function (props) {
|
|
|
649
652
|
onClick: onClick,
|
|
650
653
|
onMouseDown: onMouseDown,
|
|
651
654
|
appearance: appearance,
|
|
655
|
+
contentMode: contentMode,
|
|
652
656
|
allowNestedHeaderLinks: allowNestedHeaderLinks,
|
|
653
657
|
allowColumnSorting: !!allowColumnSorting,
|
|
654
658
|
useBlockRenderForCodeBlock: useBlockRenderForCodeBlock,
|
|
@@ -30,7 +30,7 @@ var markStyles = (0, _react2.css)({
|
|
|
30
30
|
color: 'inherit',
|
|
31
31
|
backgroundColor: 'unset',
|
|
32
32
|
WebkitTapHighlightColor: 'transparent',
|
|
33
|
-
borderBottom:
|
|
33
|
+
borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid transparent"),
|
|
34
34
|
cursor: 'pointer',
|
|
35
35
|
padding: '1px 0 2px',
|
|
36
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -26,11 +26,11 @@ var markStyles = (0, _react2.css)((0, _defineProperty2.default)({
|
|
|
26
26
|
}, "&[data-mark-annotation-state='".concat(_adfSchema.AnnotationMarkStates.ACTIVE, "']"), {
|
|
27
27
|
// was from blur in AnnotationSharedCSSByState().blur
|
|
28
28
|
background: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
29
|
-
borderBottom: "2px
|
|
29
|
+
borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-accent-yellow, #B38600)"),
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
31
31
|
'&[data-has-focus="true"]': {
|
|
32
32
|
background: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
|
|
33
|
-
borderBottom: "2px
|
|
33
|
+
borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-accent-yellow, #B38600)"),
|
|
34
34
|
// TODO: DSP-4147 - Annotation shadow
|
|
35
35
|
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
|
|
36
36
|
cursor: 'pointer'
|
|
@@ -59,9 +59,9 @@ var markStylesWithUpdatedShadow = (0, _react2.css)((0, _defineProperty2.default)
|
|
|
59
59
|
}));
|
|
60
60
|
var markStylesWithInlineComments = (0, _react2.css)((0, _defineProperty2.default)({}, "&[data-mark-annotation-state='".concat(_adfSchema.AnnotationMarkStates.ACTIVE, "']"), {
|
|
61
61
|
// was from common in AnnotationSharedCSSByState().common
|
|
62
|
-
borderBottom:
|
|
62
|
+
borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid transparent"),
|
|
63
63
|
cursor: 'pointer',
|
|
64
|
-
padding:
|
|
64
|
+
padding: "1px 0 ".concat("var(--ds-space-025, 2px)"),
|
|
65
65
|
// it was under fg(annotations_align_editor_and_renderer_styles) from AnnotationSharedCSSByState().common, assume it's on as already rolled out
|
|
66
66
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
67
67
|
'&:has(.card), &:has([data-inline-card])': {
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -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
|
-
|
|
10
|
-
|
|
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;
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -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
|
-
|
|
10
|
-
|
|
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;
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -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
|
-
|
|
10
|
-
|
|
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;
|