@atlaskit/renderer 89.0.0 → 92.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.
- package/CHANGELOG.md +28 -0
- package/dist/cjs/analytics/enums.js +1 -0
- package/dist/cjs/i18n/cs.js +9 -3
- package/dist/cjs/i18n/da.js +9 -3
- package/dist/cjs/i18n/de.js +9 -3
- package/dist/cjs/i18n/en_ZZ.js +28 -0
- package/dist/cjs/i18n/es.js +9 -3
- package/dist/cjs/i18n/fi.js +9 -3
- package/dist/cjs/i18n/fr.js +9 -3
- package/dist/cjs/i18n/hu.js +9 -3
- package/dist/cjs/i18n/it.js +9 -3
- package/dist/cjs/i18n/ja.js +9 -3
- package/dist/cjs/i18n/ko.js +9 -3
- package/dist/cjs/i18n/nb.js +9 -3
- package/dist/cjs/i18n/nl.js +9 -3
- package/dist/cjs/i18n/pl.js +2 -2
- package/dist/cjs/i18n/pt_BR.js +9 -3
- package/dist/cjs/i18n/ru.js +9 -3
- package/dist/cjs/i18n/sv.js +9 -3
- package/dist/cjs/i18n/th.js +9 -3
- package/dist/cjs/i18n/tr.js +9 -3
- package/dist/cjs/i18n/uk.js +9 -3
- package/dist/cjs/i18n/vi.js +9 -3
- package/dist/cjs/i18n/zh.js +9 -3
- package/dist/cjs/i18n/zh_TW.js +9 -3
- package/dist/cjs/react/nodes/codeBlock.js +17 -16
- package/dist/cjs/react/nodes/heading.js +4 -2
- package/dist/cjs/react/nodes/layoutColumn.js +7 -2
- package/dist/cjs/react/nodes/media.js +7 -6
- package/dist/cjs/react/nodes/table/sticky.js +13 -2
- package/dist/cjs/react/utils/inject-props.js +33 -0
- package/dist/cjs/ui/Expand.js +15 -11
- package/dist/cjs/ui/Renderer/index.js +44 -25
- package/dist/cjs/ui/Renderer/style.js +19 -7
- package/dist/cjs/ui/annotations/draft/component.js +22 -12
- package/dist/cjs/ui/annotations/element/mark.js +9 -5
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/analytics/enums.js +1 -0
- package/dist/es2019/i18n/cs.js +9 -3
- package/dist/es2019/i18n/da.js +9 -3
- package/dist/es2019/i18n/de.js +9 -3
- package/dist/es2019/i18n/en_ZZ.js +20 -0
- package/dist/es2019/i18n/es.js +9 -3
- package/dist/es2019/i18n/fi.js +9 -3
- package/dist/es2019/i18n/fr.js +9 -3
- package/dist/es2019/i18n/hu.js +9 -3
- package/dist/es2019/i18n/it.js +9 -3
- package/dist/es2019/i18n/ja.js +9 -3
- package/dist/es2019/i18n/ko.js +9 -3
- package/dist/es2019/i18n/nb.js +9 -3
- package/dist/es2019/i18n/nl.js +9 -3
- package/dist/es2019/i18n/pl.js +2 -2
- package/dist/es2019/i18n/pt_BR.js +9 -3
- package/dist/es2019/i18n/ru.js +9 -3
- package/dist/es2019/i18n/sv.js +9 -3
- package/dist/es2019/i18n/th.js +9 -3
- package/dist/es2019/i18n/tr.js +9 -3
- package/dist/es2019/i18n/uk.js +9 -3
- package/dist/es2019/i18n/vi.js +9 -3
- package/dist/es2019/i18n/zh.js +9 -3
- package/dist/es2019/i18n/zh_TW.js +9 -3
- package/dist/es2019/react/nodes/codeBlock.js +25 -23
- package/dist/es2019/react/nodes/heading.js +4 -2
- package/dist/es2019/react/nodes/layoutColumn.js +7 -3
- package/dist/es2019/react/nodes/media.js +9 -5
- package/dist/es2019/react/nodes/table/sticky.js +16 -5
- package/dist/es2019/react/utils/inject-props.js +24 -0
- package/dist/es2019/ui/Expand.js +17 -12
- package/dist/es2019/ui/Renderer/index.js +45 -25
- package/dist/es2019/ui/Renderer/style.js +40 -24
- package/dist/es2019/ui/annotations/draft/component.js +18 -12
- package/dist/es2019/ui/annotations/element/mark.js +12 -6
- package/dist/es2019/version.json +1 -1
- package/dist/esm/analytics/enums.js +1 -0
- package/dist/esm/i18n/cs.js +9 -3
- package/dist/esm/i18n/da.js +9 -3
- package/dist/esm/i18n/de.js +9 -3
- package/dist/esm/i18n/en_ZZ.js +20 -0
- package/dist/esm/i18n/es.js +9 -3
- package/dist/esm/i18n/fi.js +9 -3
- package/dist/esm/i18n/fr.js +9 -3
- package/dist/esm/i18n/hu.js +9 -3
- package/dist/esm/i18n/it.js +9 -3
- package/dist/esm/i18n/ja.js +9 -3
- package/dist/esm/i18n/ko.js +9 -3
- package/dist/esm/i18n/nb.js +9 -3
- package/dist/esm/i18n/nl.js +9 -3
- package/dist/esm/i18n/pl.js +2 -2
- package/dist/esm/i18n/pt_BR.js +9 -3
- package/dist/esm/i18n/ru.js +9 -3
- package/dist/esm/i18n/sv.js +9 -3
- package/dist/esm/i18n/th.js +9 -3
- package/dist/esm/i18n/tr.js +9 -3
- package/dist/esm/i18n/uk.js +9 -3
- package/dist/esm/i18n/vi.js +9 -3
- package/dist/esm/i18n/zh.js +9 -3
- package/dist/esm/i18n/zh_TW.js +9 -3
- package/dist/esm/react/nodes/codeBlock.js +18 -14
- package/dist/esm/react/nodes/heading.js +4 -2
- package/dist/esm/react/nodes/layoutColumn.js +7 -3
- package/dist/esm/react/nodes/media.js +8 -5
- package/dist/esm/react/nodes/table/sticky.js +12 -2
- package/dist/esm/react/utils/inject-props.js +24 -0
- package/dist/esm/ui/Expand.js +16 -12
- package/dist/esm/ui/Renderer/index.js +46 -25
- package/dist/esm/ui/Renderer/style.js +16 -8
- package/dist/esm/ui/annotations/draft/component.js +18 -11
- package/dist/esm/ui/annotations/element/mark.js +11 -4
- package/dist/esm/version.json +1 -1
- package/dist/types/analytics/enums.d.ts +1 -0
- package/dist/types/analytics/events.d.ts +6 -1
- package/dist/types/i18n/cs.d.ts +7 -1
- package/dist/types/i18n/da.d.ts +7 -1
- package/dist/types/i18n/de.d.ts +7 -1
- package/dist/types/i18n/en_ZZ.d.ts +20 -0
- package/dist/types/i18n/es.d.ts +7 -1
- package/dist/types/i18n/fi.d.ts +7 -1
- package/dist/types/i18n/fr.d.ts +7 -1
- package/dist/types/i18n/hu.d.ts +7 -1
- package/dist/types/i18n/it.d.ts +7 -1
- package/dist/types/i18n/ja.d.ts +7 -1
- package/dist/types/i18n/ko.d.ts +7 -1
- package/dist/types/i18n/nb.d.ts +7 -1
- package/dist/types/i18n/nl.d.ts +7 -1
- package/dist/types/i18n/pl.d.ts +1 -1
- package/dist/types/i18n/pt_BR.d.ts +7 -1
- package/dist/types/i18n/ru.d.ts +7 -1
- package/dist/types/i18n/sv.d.ts +7 -1
- package/dist/types/i18n/th.d.ts +7 -1
- package/dist/types/i18n/tr.d.ts +7 -1
- package/dist/types/i18n/uk.d.ts +7 -1
- package/dist/types/i18n/vi.d.ts +7 -1
- package/dist/types/i18n/zh.d.ts +7 -1
- package/dist/types/i18n/zh_TW.d.ts +7 -1
- package/dist/types/react/nodes/codeBlock.d.ts +4 -14
- package/dist/types/react/nodes/heading.d.ts +1 -0
- package/dist/types/react/nodes/index.d.ts +1 -13
- package/dist/types/react/nodes/layoutColumn.d.ts +3 -1
- package/dist/types/react/nodes/media.d.ts +3 -1
- package/dist/types/react/utils/inject-props.d.ts +6 -0
- package/dist/types/ui/Expand.d.ts +1 -0
- package/dist/types/ui/Renderer/index.d.ts +5 -3
- package/dist/types/ui/Renderer/style.d.ts +3 -1
- package/dist/types/ui/annotations/draft/component.d.ts +1 -0
- package/dist/types/ui/annotations/element/mark.d.ts +1 -0
- package/package.json +14 -13
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/ko.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/nb.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/pl.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/ru.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
3
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
6
|
'fabric.editor.headingLink.copied': string;
|
|
5
7
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
6
10
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* NOTE:
|
|
10
16
|
*
|
|
11
|
-
* This file is automatically generated by
|
|
17
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
18
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
19
|
*/
|
|
14
20
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { SupportedLanguages } from '@atlaskit/code';
|
|
4
4
|
export interface Props {
|
|
@@ -8,17 +8,7 @@ export interface Props {
|
|
|
8
8
|
codeBidiWarningTooltipEnabled: boolean;
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: import("
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
forwardedRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
|
|
15
|
-
} & import("@atlaskit/theme").CustomThemeProps) | (Pick<Props & WrappedComponentProps<"intl">, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
|
|
16
|
-
forwardedRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
|
|
17
|
-
} & import("@atlaskit/theme").NoThemeProps), any, (Pick<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled" | "forwardedRef"> & {
|
|
18
|
-
theme?: any;
|
|
19
|
-
} & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled" | "forwardedRef"> & {
|
|
20
|
-
theme?: any;
|
|
21
|
-
} & import("@atlaskit/theme").CustomThemeProps) | (Pick<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled" | "forwardedRef"> & {
|
|
22
|
-
theme?: any;
|
|
23
|
-
} & import("@atlaskit/theme").NoThemeProps)>;
|
|
11
|
+
declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
12
|
+
WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
13
|
+
};
|
|
24
14
|
export default _default;
|
|
@@ -21,19 +21,7 @@ import Table from './table';
|
|
|
21
21
|
import { TableCell } from './tableCell';
|
|
22
22
|
import TableRow from './tableRow';
|
|
23
23
|
import UnknownBlock from './unknownBlock';
|
|
24
|
-
declare const CodeBlock: (React.ComponentClass<import("
|
|
25
|
-
theme?: any;
|
|
26
|
-
} & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled" | "forwardedRef"> & {
|
|
27
|
-
theme?: any;
|
|
28
|
-
} & import("@atlaskit/theme").CustomThemeProps) | (Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled" | "forwardedRef"> & {
|
|
29
|
-
theme?: any;
|
|
30
|
-
} & import("@atlaskit/theme").NoThemeProps), any>, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("styled-components").ThemedOuterStyledProps<(Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled" | "forwardedRef"> & {
|
|
31
|
-
theme?: any;
|
|
32
|
-
} & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled" | "forwardedRef"> & {
|
|
33
|
-
theme?: any;
|
|
34
|
-
} & import("@atlaskit/theme").CustomThemeProps) | (Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled" | "forwardedRef"> & {
|
|
35
|
-
theme?: any;
|
|
36
|
-
} & import("@atlaskit/theme").NoThemeProps), any>> & Loadable.LoadableComponent);
|
|
24
|
+
declare const CodeBlock: (React.ComponentClass<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>> & Loadable.LoadableComponent);
|
|
37
25
|
declare const TaskList: (React.ComponentClass<import("./taskList").Props, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("./taskList").Props> & Loadable.LoadableComponent);
|
|
38
26
|
declare const TaskItem: (React.ComponentClass<import("../types").NodeProps<import("./taskItem").Props>, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("../types").NodeProps<import("./taskItem").Props>> & Loadable.LoadableComponent);
|
|
39
27
|
declare const DecisionList: (React.ComponentClass<import("./decisionList").Props, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("./decisionList").Props> & Loadable.LoadableComponent);
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { PureComponent } from 'react';
|
|
4
|
+
import { jsx } from '@emotion/react';
|
|
3
5
|
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
4
6
|
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
7
|
import { MediaCardProps } from '../../ui/MediaCard';
|
|
@@ -22,5 +24,5 @@ export declare type MediaProps = MediaCardProps & {
|
|
|
22
24
|
export default class Media extends PureComponent<MediaProps, {}> {
|
|
23
25
|
private renderCard;
|
|
24
26
|
private handleMediaLinkClick;
|
|
25
|
-
render(): JSX.Element;
|
|
27
|
+
render(): jsx.JSX.Element;
|
|
26
28
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
import { PureComponent } from 'react';
|
|
3
5
|
import { RendererAppearance } from './types';
|
|
4
6
|
import { RendererProps } from '../renderer-props';
|
|
@@ -26,7 +28,7 @@ export declare class Renderer extends PureComponent<RendererProps> {
|
|
|
26
28
|
private fireAnalyticsEvent;
|
|
27
29
|
private getSchema;
|
|
28
30
|
private onMouseDownEditView;
|
|
29
|
-
render(): JSX.Element;
|
|
31
|
+
render(): jsx.JSX.Element;
|
|
30
32
|
componentWillUnmount(): void;
|
|
31
33
|
}
|
|
32
34
|
declare type RendererWrapperProps = {
|
|
@@ -50,6 +52,6 @@ declare type RendererWrapperProps = {
|
|
|
50
52
|
* so if we have more than one `WidthProvider` on the content,
|
|
51
53
|
* only one iframe will be created on the older browsers.
|
|
52
54
|
*/
|
|
53
|
-
export declare function RendererWrapper(props: RendererWrapperProps): JSX.Element;
|
|
54
|
-
declare const RendererWithAnnotationSelection: (props: RendererProps) => JSX.Element;
|
|
55
|
+
export declare function RendererWrapper(props: RendererWrapperProps): jsx.JSX.Element;
|
|
56
|
+
declare const RendererWithAnnotationSelection: (props: RendererProps) => jsx.JSX.Element;
|
|
55
57
|
export default RendererWithAnnotationSelection;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { Theme } from '@emotion/react';
|
|
2
3
|
import { RendererAppearance } from './types';
|
|
3
4
|
export declare const FullPagePadding = 32;
|
|
4
5
|
export declare type RendererWrapperProps = {
|
|
@@ -12,4 +13,5 @@ export declare const headingSizes: {
|
|
|
12
13
|
[key: string]: number;
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
|
-
export declare const
|
|
16
|
+
export declare const rendererStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
17
|
+
export declare const DeprecatedWrapper: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & RendererWrapperProps & HTMLAttributes<{}>, any, import("react").ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & RendererWrapperProps & HTMLAttributes<{}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "92.0.0",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,23 +29,24 @@
|
|
|
29
29
|
"@atlaskit/analytics-listeners": "^8.2.0",
|
|
30
30
|
"@atlaskit/analytics-namespaced-context": "^6.4.0",
|
|
31
31
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
32
|
-
"@atlaskit/button": "^16.
|
|
32
|
+
"@atlaskit/button": "^16.2.0",
|
|
33
33
|
"@atlaskit/code": "^14.3.0",
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
34
|
+
"@atlaskit/editor-common": "^65.0.0",
|
|
35
35
|
"@atlaskit/editor-json-transformer": "^8.7.0",
|
|
36
|
-
"@atlaskit/editor-shared-styles": "^
|
|
36
|
+
"@atlaskit/editor-shared-styles": "^2.0.0",
|
|
37
37
|
"@atlaskit/icon": "^21.10.0",
|
|
38
|
-
"@atlaskit/media-card": "^73.
|
|
39
|
-
"@atlaskit/media-client": "^14.
|
|
40
|
-
"@atlaskit/media-common": "^2.
|
|
38
|
+
"@atlaskit/media-card": "^73.3.0",
|
|
39
|
+
"@atlaskit/media-client": "^14.4.0",
|
|
40
|
+
"@atlaskit/media-common": "^2.11.0",
|
|
41
41
|
"@atlaskit/media-filmstrip": "^42.2.0",
|
|
42
|
-
"@atlaskit/media-viewer": "^46.
|
|
42
|
+
"@atlaskit/media-viewer": "^46.1.0",
|
|
43
43
|
"@atlaskit/status": "^1.0.0",
|
|
44
44
|
"@atlaskit/task-decision": "^17.3.0",
|
|
45
45
|
"@atlaskit/theme": "^12.1.0",
|
|
46
46
|
"@atlaskit/tooltip": "^17.5.0",
|
|
47
47
|
"@atlaskit/width-detector": "^3.0.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
|
+
"@emotion/react": "^11.7.1",
|
|
49
50
|
"lodash": "^4.17.21",
|
|
50
51
|
"memoize-one": "^6.0.0",
|
|
51
52
|
"prosemirror-model": "1.14.3",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
|
60
61
|
"@atlaskit/media-core": "^32.2.0",
|
|
61
|
-
"@atlaskit/smart-card": "^17.
|
|
62
|
+
"@atlaskit/smart-card": "^17.7.0",
|
|
62
63
|
"react": "^16.8.0",
|
|
63
64
|
"react-dom": "^16.8.0",
|
|
64
65
|
"styled-components": "^3.2.6"
|
|
@@ -68,18 +69,18 @@
|
|
|
68
69
|
"@atlaskit/avatar": "^20.5.0",
|
|
69
70
|
"@atlaskit/css-reset": "^6.3.0",
|
|
70
71
|
"@atlaskit/docs": "*",
|
|
71
|
-
"@atlaskit/editor-core": "^
|
|
72
|
+
"@atlaskit/editor-core": "^162.0.0",
|
|
72
73
|
"@atlaskit/editor-test-helpers": "^16.1.0",
|
|
73
74
|
"@atlaskit/logo": "^13.5.0",
|
|
74
75
|
"@atlaskit/media-core": "^32.2.0",
|
|
75
76
|
"@atlaskit/media-integration-test-helpers": "^2.5.0",
|
|
76
|
-
"@atlaskit/media-test-helpers": "^29.
|
|
77
|
-
"@atlaskit/mention": "^
|
|
77
|
+
"@atlaskit/media-test-helpers": "^29.2.0",
|
|
78
|
+
"@atlaskit/mention": "^21.0.0",
|
|
78
79
|
"@atlaskit/navigation-next": "^9.0.0",
|
|
79
80
|
"@atlaskit/profilecard": "^16.3.0",
|
|
80
81
|
"@atlaskit/radio": "^5.3.0",
|
|
81
82
|
"@atlaskit/range": "^6.0.0",
|
|
82
|
-
"@atlaskit/smart-card": "^17.
|
|
83
|
+
"@atlaskit/smart-card": "^17.7.0",
|
|
83
84
|
"@atlaskit/ssr": "*",
|
|
84
85
|
"@atlaskit/util-data-test": "^17.2.0",
|
|
85
86
|
"@atlaskit/visual-regression": "*",
|