@atlaskit/editor-common 63.0.0 → 65.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/dist/cjs/i18n/cs.js +3 -3
- package/dist/cjs/i18n/da.js +3 -3
- package/dist/cjs/i18n/de.js +3 -3
- package/dist/cjs/i18n/en_ZZ.js +27 -0
- package/dist/cjs/i18n/es.js +3 -3
- package/dist/cjs/i18n/fi.js +3 -3
- package/dist/cjs/i18n/fr.js +3 -3
- package/dist/cjs/i18n/hu.js +3 -3
- package/dist/cjs/i18n/it.js +3 -3
- package/dist/cjs/i18n/ja.js +3 -3
- package/dist/cjs/i18n/ko.js +3 -3
- package/dist/cjs/i18n/nb.js +3 -3
- package/dist/cjs/i18n/nl.js +3 -3
- package/dist/cjs/i18n/pl.js +3 -3
- package/dist/cjs/i18n/pt_BR.js +3 -3
- package/dist/cjs/i18n/ru.js +3 -3
- package/dist/cjs/i18n/sv.js +3 -3
- package/dist/cjs/i18n/th.js +3 -3
- package/dist/cjs/i18n/tr.js +3 -3
- package/dist/cjs/i18n/uk.js +3 -3
- package/dist/cjs/i18n/vi.js +3 -3
- package/dist/cjs/i18n/zh.js +3 -2
- package/dist/cjs/i18n/zh_TW.js +3 -3
- package/dist/cjs/index.js +1 -29
- package/dist/cjs/safe-plugin/index.js +42 -0
- package/dist/cjs/styles/index.js +0 -8
- package/dist/cjs/styles/shared/annotation.js +25 -17
- package/dist/cjs/styles/shared/block-marks.js +2 -2
- package/dist/cjs/styles/shared/blockquote.js +2 -2
- package/dist/cjs/styles/shared/code-mark.js +9 -5
- package/dist/cjs/styles/shared/column-layout.js +2 -2
- package/dist/cjs/styles/shared/date.js +2 -2
- package/dist/cjs/styles/shared/headings.js +5 -2
- package/dist/cjs/styles/shared/indentation.js +2 -2
- package/dist/cjs/styles/shared/lists.js +4 -2
- package/dist/cjs/styles/shared/media-single.js +2 -2
- package/dist/cjs/styles/shared/paragraph.js +2 -2
- package/dist/cjs/styles/shared/shadow.js +2 -2
- package/dist/cjs/styles/shared/table.js +37 -33
- package/dist/cjs/styles/shared/task-decision.js +2 -2
- package/dist/cjs/styles/shared/text-color.js +2 -2
- package/dist/cjs/styles/shared/whitespace.js +2 -2
- package/dist/cjs/types/collab.js +5 -0
- package/dist/cjs/ui/BaseTheme/index.js +27 -11
- package/dist/cjs/ui/Caption/index.js +10 -7
- package/dist/cjs/ui/MediaSingle/index.js +3 -1
- package/dist/cjs/ui/MediaSingle/link.js +4 -6
- package/dist/cjs/ui/Mention/index.js +1 -3
- package/dist/cjs/ui/Mention/mention-with-profilecard.js +33 -194
- package/dist/cjs/ui/Mention/mention-with-providers.js +1 -5
- package/dist/cjs/ui/Messages/index.js +25 -22
- package/dist/cjs/ui/UnsupportedBlock/index.js +9 -6
- package/dist/cjs/ui/UnsupportedInline/index.js +8 -6
- package/dist/cjs/ui/WidthProvider/index.js +8 -9
- package/dist/cjs/ui/clear-next-sibling-margin-top.js +4 -5
- package/dist/cjs/ui/index.js +12 -12
- package/dist/cjs/utils/browser.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +3 -3
- package/dist/es2019/i18n/da.js +3 -3
- package/dist/es2019/i18n/de.js +3 -3
- package/dist/es2019/i18n/en_ZZ.js +19 -0
- package/dist/es2019/i18n/es.js +3 -3
- package/dist/es2019/i18n/fi.js +3 -3
- package/dist/es2019/i18n/fr.js +3 -3
- package/dist/es2019/i18n/hu.js +3 -3
- package/dist/es2019/i18n/it.js +3 -3
- package/dist/es2019/i18n/ja.js +3 -3
- package/dist/es2019/i18n/ko.js +3 -3
- package/dist/es2019/i18n/nb.js +3 -3
- package/dist/es2019/i18n/nl.js +3 -3
- package/dist/es2019/i18n/pl.js +3 -3
- package/dist/es2019/i18n/pt_BR.js +3 -3
- package/dist/es2019/i18n/ru.js +3 -3
- package/dist/es2019/i18n/sv.js +3 -3
- package/dist/es2019/i18n/th.js +3 -3
- package/dist/es2019/i18n/tr.js +3 -3
- package/dist/es2019/i18n/uk.js +3 -3
- package/dist/es2019/i18n/vi.js +3 -3
- package/dist/es2019/i18n/zh.js +3 -2
- package/dist/es2019/i18n/zh_TW.js +3 -3
- package/dist/es2019/index.js +2 -7
- package/dist/es2019/safe-plugin/index.js +10 -0
- package/dist/es2019/styles/index.js +0 -1
- package/dist/es2019/styles/shared/annotation.js +11 -11
- package/dist/es2019/styles/shared/block-marks.js +3 -2
- package/dist/es2019/styles/shared/blockquote.js +1 -1
- package/dist/es2019/styles/shared/code-mark.js +14 -11
- package/dist/es2019/styles/shared/column-layout.js +1 -1
- package/dist/es2019/styles/shared/date.js +1 -1
- package/dist/es2019/styles/shared/headings.js +8 -8
- package/dist/es2019/styles/shared/indentation.js +1 -1
- package/dist/es2019/styles/shared/lists.js +17 -1
- package/dist/es2019/styles/shared/media-single.js +1 -1
- package/dist/es2019/styles/shared/paragraph.js +1 -1
- package/dist/es2019/styles/shared/shadow.js +1 -1
- package/dist/es2019/styles/shared/table.js +14 -12
- package/dist/es2019/styles/shared/task-decision.js +1 -1
- package/dist/es2019/styles/shared/text-color.js +1 -1
- package/dist/es2019/styles/shared/whitespace.js +1 -1
- package/dist/es2019/types/collab.js +1 -0
- package/dist/es2019/ui/BaseTheme/index.js +16 -5
- package/dist/es2019/ui/Caption/index.js +11 -5
- package/dist/es2019/ui/MediaSingle/index.js +3 -1
- package/dist/es2019/ui/MediaSingle/link.js +3 -4
- package/dist/es2019/ui/Mention/index.js +1 -3
- package/dist/es2019/ui/Mention/mention-with-profilecard.js +33 -146
- package/dist/es2019/ui/Mention/mention-with-providers.js +1 -5
- package/dist/es2019/ui/Messages/index.js +30 -22
- package/dist/es2019/ui/UnsupportedBlock/index.js +9 -5
- package/dist/es2019/ui/UnsupportedInline/index.js +8 -5
- package/dist/es2019/ui/WidthProvider/index.js +10 -8
- package/dist/es2019/ui/clear-next-sibling-margin-top.js +2 -2
- package/dist/es2019/ui/index.js +2 -2
- package/dist/es2019/utils/browser.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +3 -3
- package/dist/esm/i18n/da.js +3 -3
- package/dist/esm/i18n/de.js +3 -3
- package/dist/esm/i18n/en_ZZ.js +19 -0
- package/dist/esm/i18n/es.js +3 -3
- package/dist/esm/i18n/fi.js +3 -3
- package/dist/esm/i18n/fr.js +3 -3
- package/dist/esm/i18n/hu.js +3 -3
- package/dist/esm/i18n/it.js +3 -3
- package/dist/esm/i18n/ja.js +3 -3
- package/dist/esm/i18n/ko.js +3 -3
- package/dist/esm/i18n/nb.js +3 -3
- package/dist/esm/i18n/nl.js +3 -3
- package/dist/esm/i18n/pl.js +3 -3
- package/dist/esm/i18n/pt_BR.js +3 -3
- package/dist/esm/i18n/ru.js +3 -3
- package/dist/esm/i18n/sv.js +3 -3
- package/dist/esm/i18n/th.js +3 -3
- package/dist/esm/i18n/tr.js +3 -3
- package/dist/esm/i18n/uk.js +3 -3
- package/dist/esm/i18n/vi.js +3 -3
- package/dist/esm/i18n/zh.js +3 -2
- package/dist/esm/i18n/zh_TW.js +3 -3
- package/dist/esm/index.js +2 -7
- package/dist/esm/safe-plugin/index.js +27 -0
- package/dist/esm/styles/index.js +0 -1
- package/dist/esm/styles/shared/annotation.js +21 -17
- package/dist/esm/styles/shared/block-marks.js +2 -2
- package/dist/esm/styles/shared/blockquote.js +1 -1
- package/dist/esm/styles/shared/code-mark.js +9 -6
- package/dist/esm/styles/shared/column-layout.js +1 -1
- package/dist/esm/styles/shared/date.js +1 -1
- package/dist/esm/styles/shared/headings.js +4 -2
- package/dist/esm/styles/shared/indentation.js +1 -1
- package/dist/esm/styles/shared/lists.js +3 -2
- package/dist/esm/styles/shared/media-single.js +1 -1
- package/dist/esm/styles/shared/paragraph.js +1 -1
- package/dist/esm/styles/shared/shadow.js +1 -1
- package/dist/esm/styles/shared/table.js +37 -33
- package/dist/esm/styles/shared/task-decision.js +1 -1
- package/dist/esm/styles/shared/text-color.js +1 -1
- package/dist/esm/styles/shared/whitespace.js +1 -1
- package/dist/esm/types/collab.js +1 -0
- package/dist/esm/ui/BaseTheme/index.js +23 -12
- package/dist/esm/ui/Caption/index.js +10 -5
- package/dist/esm/ui/MediaSingle/index.js +3 -1
- package/dist/esm/ui/MediaSingle/link.js +2 -3
- package/dist/esm/ui/Mention/index.js +1 -3
- package/dist/esm/ui/Mention/mention-with-profilecard.js +33 -189
- package/dist/esm/ui/Mention/mention-with-providers.js +1 -5
- package/dist/esm/ui/Messages/index.js +26 -20
- package/dist/esm/ui/UnsupportedBlock/index.js +9 -5
- package/dist/esm/ui/UnsupportedInline/index.js +8 -5
- package/dist/esm/ui/WidthProvider/index.js +7 -6
- package/dist/esm/ui/clear-next-sibling-margin-top.js +2 -2
- package/dist/esm/ui/index.js +2 -2
- package/dist/esm/utils/browser.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/__tests_external__/page-objects/Editor.d.ts +0 -1
- package/dist/types/__tests_external__/page-objects/EditorMedia.d.ts +0 -1
- package/dist/types/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -1
- package/dist/types/__tests_external__/page-objects/Renderer.d.ts +0 -1
- package/dist/types/collab/types.d.ts +14 -2
- package/dist/types/collab.d.ts +1 -1
- package/dist/types/i18n/cs.d.ts +2 -2
- package/dist/types/i18n/da.d.ts +2 -2
- package/dist/types/i18n/de.d.ts +2 -2
- package/dist/types/i18n/en_ZZ.d.ts +19 -0
- package/dist/types/i18n/es.d.ts +2 -2
- package/dist/types/i18n/fi.d.ts +2 -2
- package/dist/types/i18n/fr.d.ts +2 -2
- package/dist/types/i18n/hu.d.ts +2 -2
- package/dist/types/i18n/it.d.ts +2 -2
- package/dist/types/i18n/ja.d.ts +2 -2
- package/dist/types/i18n/ko.d.ts +2 -2
- package/dist/types/i18n/nb.d.ts +2 -2
- package/dist/types/i18n/nl.d.ts +2 -2
- package/dist/types/i18n/pl.d.ts +2 -2
- package/dist/types/i18n/pt_BR.d.ts +2 -2
- package/dist/types/i18n/ru.d.ts +2 -2
- package/dist/types/i18n/sv.d.ts +2 -2
- package/dist/types/i18n/th.d.ts +2 -2
- package/dist/types/i18n/tr.d.ts +2 -2
- package/dist/types/i18n/uk.d.ts +2 -2
- package/dist/types/i18n/vi.d.ts +2 -2
- package/dist/types/i18n/zh.d.ts +2 -2
- package/dist/types/i18n/zh_TW.d.ts +2 -2
- package/dist/types/index.d.ts +1 -14
- package/dist/types/safe-plugin/index.d.ts +6 -0
- package/dist/types/styles/index.d.ts +0 -1
- package/dist/types/styles/shared/annotation.d.ts +5 -4
- package/dist/types/styles/shared/block-marks.d.ts +1 -1
- package/dist/types/styles/shared/blockquote.d.ts +1 -1
- package/dist/types/styles/shared/code-mark.d.ts +2 -1
- package/dist/types/styles/shared/column-layout.d.ts +1 -1
- package/dist/types/styles/shared/date.d.ts +1 -1
- package/dist/types/styles/shared/headings.d.ts +2 -1
- package/dist/types/styles/shared/indentation.d.ts +1 -1
- package/dist/types/styles/shared/lists.d.ts +1 -1
- package/dist/types/styles/shared/media-single.d.ts +1 -1
- package/dist/types/styles/shared/panel.d.ts +1 -1
- package/dist/types/styles/shared/paragraph.d.ts +1 -1
- package/dist/types/styles/shared/rule.d.ts +1 -1
- package/dist/types/styles/shared/shadow.d.ts +1 -1
- package/dist/types/styles/shared/table.d.ts +2 -1
- package/dist/types/styles/shared/task-decision.d.ts +1 -1
- package/dist/types/styles/shared/text-color.d.ts +1 -1
- package/dist/types/styles/shared/whitespace.d.ts +1 -1
- package/dist/types/types/collab.d.ts +8 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/ui/Caption/index.d.ts +3 -1
- package/dist/types/ui/Expand/index.d.ts +2 -2
- package/dist/types/ui/MediaSingle/index.d.ts +2 -1
- package/dist/types/ui/MediaSingle/link.d.ts +1 -2
- package/dist/types/ui/MediaSingle/styled.d.ts +2 -2
- package/dist/types/ui/Mention/index.d.ts +0 -3
- package/dist/types/ui/Mention/mention-with-profilecard.d.ts +2 -25
- package/dist/types/ui/Mention/mention-with-providers.d.ts +0 -3
- package/dist/types/ui/Messages/index.d.ts +5 -3
- package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -0
- package/dist/types/ui/UnsupportedInline/index.d.ts +1 -0
- package/dist/types/ui/WidthProvider/index.d.ts +3 -1
- package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -2
- package/dist/types/ui/index.d.ts +3 -3
- package/dist/types/utils/getModeFromTheme.d.ts +1 -1
- package/package.json +18 -16
- package/safe-plugin/package.json +7 -0
- package/dist/cjs/styles/shared/inline-nodes.js +0 -17
- package/dist/es2019/styles/shared/inline-nodes.js +0 -7
- package/dist/esm/styles/shared/inline-nodes.js +0 -7
- package/dist/types/styles/shared/inline-nodes.d.ts +0 -2
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
'fabric.editor.codeBidiWarningLabel': string;
|
|
3
2
|
'fabric.editor.captionPlaceholder': string;
|
|
3
|
+
'fabric.editor.codeBidiWarningLabel': string;
|
|
4
4
|
'fabric.editor.collapseNode': string;
|
|
5
5
|
'fabric.editor.expandDefaultTitle': string;
|
|
6
6
|
'fabric.editor.expandNode': string;
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
/**
|
|
14
14
|
* NOTE:
|
|
15
15
|
*
|
|
16
|
-
* This file is automatically generated by
|
|
16
|
+
* This file is automatically generated by Traduki 2.0.
|
|
17
17
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
18
18
|
*/
|
|
19
19
|
export default _default;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
'fabric.editor.codeBidiWarningLabel': string;
|
|
3
2
|
'fabric.editor.captionPlaceholder': string;
|
|
3
|
+
'fabric.editor.codeBidiWarningLabel': string;
|
|
4
4
|
'fabric.editor.collapseNode': string;
|
|
5
5
|
'fabric.editor.expandDefaultTitle': string;
|
|
6
6
|
'fabric.editor.expandNode': string;
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
/**
|
|
14
14
|
* NOTE:
|
|
15
15
|
*
|
|
16
|
-
* This file is automatically generated by
|
|
16
|
+
* This file is automatically generated by Traduki 2.0.
|
|
17
17
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
18
18
|
*/
|
|
19
19
|
export default _default;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
'fabric.editor.codeBidiWarningLabel': string;
|
|
3
2
|
'fabric.editor.captionPlaceholder': string;
|
|
3
|
+
'fabric.editor.codeBidiWarningLabel': string;
|
|
4
4
|
'fabric.editor.collapseNode': string;
|
|
5
5
|
'fabric.editor.expandDefaultTitle': string;
|
|
6
6
|
'fabric.editor.expandNode': string;
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
/**
|
|
14
14
|
* NOTE:
|
|
15
15
|
*
|
|
16
|
-
* This file is automatically generated by
|
|
16
|
+
* This file is automatically generated by Traduki 2.0.
|
|
17
17
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
18
18
|
*/
|
|
19
19
|
export default _default;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
'fabric.editor.codeBidiWarningLabel': string;
|
|
3
2
|
'fabric.editor.captionPlaceholder': string;
|
|
3
|
+
'fabric.editor.codeBidiWarningLabel': string;
|
|
4
4
|
'fabric.editor.collapseNode': string;
|
|
5
5
|
'fabric.editor.expandDefaultTitle': string;
|
|
6
6
|
'fabric.editor.expandNode': string;
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
/**
|
|
14
14
|
* NOTE:
|
|
15
15
|
*
|
|
16
|
-
* This file is automatically generated by
|
|
16
|
+
* This file is automatically generated by Traduki 2.0.
|
|
17
17
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
18
18
|
*/
|
|
19
19
|
export default _default;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
'fabric.editor.codeBidiWarningLabel': string;
|
|
3
2
|
'fabric.editor.captionPlaceholder': string;
|
|
3
|
+
'fabric.editor.codeBidiWarningLabel': string;
|
|
4
4
|
'fabric.editor.collapseNode': string;
|
|
5
5
|
'fabric.editor.expandDefaultTitle': string;
|
|
6
6
|
'fabric.editor.expandNode': string;
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
/**
|
|
14
14
|
* NOTE:
|
|
15
15
|
*
|
|
16
|
-
* This file is automatically generated by
|
|
16
|
+
* This file is automatically generated by Traduki 2.0.
|
|
17
17
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
18
18
|
*/
|
|
19
19
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
'fabric.editor.codeBidiWarningLabel': string;
|
|
3
2
|
'fabric.editor.captionPlaceholder': string;
|
|
3
|
+
'fabric.editor.codeBidiWarningLabel': string;
|
|
4
4
|
'fabric.editor.collapseNode': string;
|
|
5
5
|
'fabric.editor.expandDefaultTitle': string;
|
|
6
6
|
'fabric.editor.expandNode': string;
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
/**
|
|
14
14
|
* NOTE:
|
|
15
15
|
*
|
|
16
|
-
* This file is automatically generated by
|
|
16
|
+
* This file is automatically generated by Traduki 2.0.
|
|
17
17
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
18
18
|
*/
|
|
19
19
|
export default _default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
ADNode, } from './utils';
|
|
3
|
-
export type { ExtensionHandler, // temporarily keep for confluence
|
|
4
|
-
ExtensionHandlers, // temporarily keep for confluence
|
|
5
|
-
ExtensionParams, } from './extensions';
|
|
6
|
-
export type { ContextIdentifierProvider } from './provider-factory/context-identifier-provider';
|
|
7
|
-
export type { SearchProvider } from './provider-factory';
|
|
8
|
-
export { ProviderFactory, WithProviders } from './provider-factory';
|
|
9
|
-
export { WidthConsumer, // temporarily keep for confluence
|
|
10
|
-
WidthProvider, } from './ui';
|
|
11
|
-
export type { EventHandlers, // temporarily keep for confluence
|
|
12
|
-
LinkEventClickHandler, // temporarily keep for confluence
|
|
13
|
-
MentionEventHandler, // temporarily keep for confluence
|
|
14
|
-
SmartCardEventClickHandler, } from './ui';
|
|
1
|
+
export {};
|
|
@@ -9,7 +9,6 @@ export { getPanelTypeBackground, darkPanelColors, getPanelDarkColor, panelShared
|
|
|
9
9
|
export { ruleSharedStyles } from './shared/rule';
|
|
10
10
|
export { whitespaceSharedStyles } from './shared/whitespace';
|
|
11
11
|
export { paragraphSharedStyles } from './shared/paragraph';
|
|
12
|
-
export { inlineNodeSharedStyle } from './shared/inline-nodes';
|
|
13
12
|
export { linkSharedStyle } from './shared/link';
|
|
14
13
|
export { listsSharedStyles } from './shared/lists';
|
|
15
14
|
export { indentationSharedStyles } from './shared/indentation';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
1
2
|
export declare const annotationPrefix = "ak-editor-annotation";
|
|
2
3
|
export declare const AnnotationSharedClassNames: {
|
|
3
4
|
focus: string;
|
|
4
5
|
blur: string;
|
|
5
6
|
draft: string;
|
|
6
7
|
};
|
|
7
|
-
export declare const AnnotationSharedCSSByState: {
|
|
8
|
-
focus: import("
|
|
9
|
-
blur: import("
|
|
8
|
+
export declare const AnnotationSharedCSSByState: (props: ThemeProps) => {
|
|
9
|
+
focus: import("@emotion/react").SerializedStyles;
|
|
10
|
+
blur: import("@emotion/react").SerializedStyles;
|
|
10
11
|
};
|
|
11
|
-
export declare const annotationSharedStyles:
|
|
12
|
+
export declare const annotationSharedStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const blockMarksSharedStyles: import("
|
|
1
|
+
export declare const blockMarksSharedStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const blockquoteSharedStyles: import("
|
|
1
|
+
export declare const blockquoteSharedStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
|
+
export declare const codeMarkSharedStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const columnLayoutSharedStyle: import("
|
|
1
|
+
declare const columnLayoutSharedStyle: import("@emotion/react").SerializedStyles;
|
|
2
2
|
export { columnLayoutSharedStyle };
|
|
@@ -2,4 +2,4 @@ export declare const DateSharedCssClassName: {
|
|
|
2
2
|
DATE_WRAPPER: string;
|
|
3
3
|
DATE_CONTAINER: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const dateSharedStyle: import("
|
|
5
|
+
export declare const dateSharedStyle: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
|
+
export declare const headingsSharedStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const indentationSharedStyles: import("
|
|
1
|
+
export declare const indentationSharedStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const listsSharedStyles: import("
|
|
1
|
+
export declare const listsSharedStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
declare const richMediaClassName = "rich-media-item";
|
|
2
|
-
declare const mediaSingleSharedStyle: import("
|
|
2
|
+
declare const mediaSingleSharedStyle: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export { mediaSingleSharedStyle, richMediaClassName };
|
|
@@ -79,4 +79,4 @@ export declare const PanelSharedSelectors: {
|
|
|
79
79
|
yellowWarningIcon: string;
|
|
80
80
|
};
|
|
81
81
|
export declare const getPanelTypeBackground: (panelType: Exclude<PanelType, PanelType.CUSTOM>, props?: ThemeProps) => string;
|
|
82
|
-
export declare const panelSharedStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<
|
|
82
|
+
export declare const panelSharedStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<ThemeProps, any>>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const paragraphSharedStyles: import("
|
|
1
|
+
export declare const paragraphSharedStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ruleSharedStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").
|
|
1
|
+
export declare const ruleSharedStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").ThemeProps, any>>[];
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
*
|
|
12
12
|
* background-attachment: local, local, scroll, scroll;
|
|
13
13
|
*/
|
|
14
|
-
declare const shadowSharedStyle: import("
|
|
14
|
+
declare const shadowSharedStyle: import("@emotion/react").SerializedStyles;
|
|
15
15
|
export { shadowSharedStyle };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TableLayout } from '@atlaskit/adf-schema';
|
|
2
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
3
|
export declare const tableMarginTop = 24;
|
|
3
4
|
export declare const tableMarginBottom = 16;
|
|
4
5
|
export declare const tableMarginSides = 8;
|
|
@@ -20,6 +21,6 @@ export declare const TableSharedCssClassName: {
|
|
|
20
21
|
TABLE_CELL_WRAPPER: string;
|
|
21
22
|
TABLE_HEADER_CELL_WRAPPER: string;
|
|
22
23
|
};
|
|
23
|
-
declare const tableSharedStyle:
|
|
24
|
+
declare const tableSharedStyle: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
24
25
|
export declare const calcTableWidth: (layout: TableLayout, containerWidth?: number | undefined, addControllerPadding?: boolean) => string;
|
|
25
26
|
export { tableSharedStyle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const TaskDecisionSharedCssClassName: {
|
|
2
2
|
DECISION_CONTAINER: string;
|
|
3
3
|
};
|
|
4
|
-
export declare const tasksAndDecisionsStyles: import("
|
|
4
|
+
export declare const tasksAndDecisionsStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const textColorStyles: import("
|
|
1
|
+
export declare const textColorStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const whitespaceSharedStyles: import("
|
|
1
|
+
declare const whitespaceSharedStyles: import("@emotion/react").SerializedStyles;
|
|
2
2
|
export { whitespaceSharedStyles };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare type NewCollabSyncUpErrorAttributes = {
|
|
2
|
+
lengthOfUnconfirmedSteps?: number;
|
|
3
|
+
tries: number;
|
|
4
|
+
maxRetries: number;
|
|
5
|
+
clientId?: string;
|
|
6
|
+
version: number;
|
|
7
|
+
};
|
|
8
|
+
export declare type SyncUpErrorFunction = (attributes: NewCollabSyncUpErrorAttributes) => void;
|
|
@@ -11,3 +11,4 @@ export declare enum SortOrder {
|
|
|
11
11
|
export { AnnotationUpdateEmitter, AnnotationUpdateEvent } from './annotation';
|
|
12
12
|
export type { AnnotationState, AnnotationProviders, AnnotationUpdateEventPayloads, InlineCommentSelectionComponentProps, InlineCommentViewComponentProps, InlineCommentAnnotationProvider, OnAnnotationClickPayload, AnnotationByMatches, AnnotationActionResult, } from './annotation';
|
|
13
13
|
export type { TypeAheadItem, TypeAheadItemRenderProps } from './type-ahead';
|
|
14
|
+
export type { NewCollabSyncUpErrorAttributes, SyncUpErrorFunction, } from './collab';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
5
|
declare type Props = {
|
|
4
6
|
selected?: boolean;
|
|
@@ -9,7 +11,7 @@ declare type Props = {
|
|
|
9
11
|
};
|
|
10
12
|
};
|
|
11
13
|
export declare class CaptionComponent extends React.Component<Props & WrappedComponentProps> {
|
|
12
|
-
render(): JSX.Element;
|
|
14
|
+
render(): jsx.JSX.Element;
|
|
13
15
|
}
|
|
14
16
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
15
17
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
@@ -34,8 +34,8 @@ export declare const ExpandIconWrapper: import("styled-components").StyledCompon
|
|
|
34
34
|
}>;
|
|
35
35
|
export declare const ExpandLayoutWrapper: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
36
36
|
export declare const sharedExpandStyles: {
|
|
37
|
-
TitleInputStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").
|
|
38
|
-
TitleContainerStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").
|
|
37
|
+
TitleInputStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").ThemeProps, any>>[];
|
|
38
|
+
TitleContainerStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<import("@atlaskit/theme").ThemeProps, any>>[];
|
|
39
39
|
ContainerStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<StyleProps, any>>[];
|
|
40
40
|
ContentStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<StyleProps, any>>[];
|
|
41
41
|
};
|
|
@@ -16,6 +16,7 @@ export interface Props {
|
|
|
16
16
|
nodeType?: string;
|
|
17
17
|
fullWidthMode?: boolean;
|
|
18
18
|
hasFallbackContainer?: boolean;
|
|
19
|
+
handleMediaSingleRef?: React.RefObject<HTMLElement>;
|
|
19
20
|
}
|
|
20
21
|
export declare const shouldAddDefaultWrappedWidth: (layout: RichMediaLayout, width?: number | undefined, lineLength?: number | undefined) => boolean | 0 | undefined;
|
|
21
|
-
export default function MediaSingle({ layout, width, height, containerWidth, isLoading, pctWidth, className, children: propsChildren, nodeType, fullWidthMode, lineLength, hasFallbackContainer, }: Props): JSX.Element;
|
|
22
|
+
export default function MediaSingle({ layout, width, height, containerWidth, isLoading, pctWidth, className, children: propsChildren, nodeType, fullWidthMode, lineLength, hasFallbackContainer, handleMediaSingleRef, }: Props): JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const MediaLink: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, any, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>>;
|
|
1
|
+
export declare const mediaLinkStyle: import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { HTMLAttributes } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, RefObject } from 'react';
|
|
2
2
|
import { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
|
|
3
3
|
/**
|
|
4
4
|
* Calculates the image width for non-resized images.
|
|
@@ -22,7 +22,7 @@ export interface MediaSingleWrapperProps {
|
|
|
22
22
|
layout: MediaSingleLayout;
|
|
23
23
|
pctWidth?: number;
|
|
24
24
|
width?: number;
|
|
25
|
-
innerRef?: (elem: HTMLElement) => void
|
|
25
|
+
innerRef?: ((elem: HTMLElement) => void) | RefObject<HTMLElement>;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Can't use `.attrs` to handle highly dynamic styles because we are still
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PureComponent } from 'react';
|
|
2
|
-
import { MentionUserType as UserType } from '@atlaskit/adf-schema';
|
|
3
2
|
import { ProviderFactory } from '../../provider-factory';
|
|
4
3
|
import { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
5
4
|
import { MentionEventHandlers } from '../EventHandlers';
|
|
@@ -9,8 +8,6 @@ export interface MentionProps {
|
|
|
9
8
|
eventHandlers?: MentionEventHandlers;
|
|
10
9
|
text: string;
|
|
11
10
|
accessLevel?: string;
|
|
12
|
-
portal?: HTMLElement;
|
|
13
|
-
userType?: UserType;
|
|
14
11
|
}
|
|
15
12
|
export interface MentionState {
|
|
16
13
|
profilecardProvider: ProfilecardProvider | null;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { MentionUserType as UserType } from '@atlaskit/adf-schema';
|
|
1
|
+
/// <reference types="react" />
|
|
3
2
|
import { MentionProvider } from '@atlaskit/mention';
|
|
4
3
|
import { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
5
4
|
import { MentionEventHandler } from '../EventHandlers';
|
|
@@ -7,32 +6,10 @@ export interface Props {
|
|
|
7
6
|
id: string;
|
|
8
7
|
text: string;
|
|
9
8
|
accessLevel?: string;
|
|
10
|
-
userType?: UserType;
|
|
11
9
|
mentionProvider?: Promise<MentionProvider>;
|
|
12
|
-
portal?: HTMLElement;
|
|
13
10
|
profilecardProvider: ProfilecardProvider;
|
|
14
11
|
onClick?: MentionEventHandler;
|
|
15
12
|
onMouseEnter?: MentionEventHandler;
|
|
16
13
|
onMouseLeave?: MentionEventHandler;
|
|
17
14
|
}
|
|
18
|
-
export
|
|
19
|
-
export declare type PopupAlignY = 'top' | 'bottom';
|
|
20
|
-
export interface State {
|
|
21
|
-
target: HTMLElement | null;
|
|
22
|
-
visible: boolean;
|
|
23
|
-
popupAlignX: PopupAlignX;
|
|
24
|
-
popupAlignY: PopupAlignY;
|
|
25
|
-
}
|
|
26
|
-
export default class MentionWithProfileCard extends PureComponent<Props, State> {
|
|
27
|
-
private domNode;
|
|
28
|
-
state: State;
|
|
29
|
-
private handleRef;
|
|
30
|
-
private calculateLayerPosition;
|
|
31
|
-
private handleMentionNodeRef;
|
|
32
|
-
private getDomNodeCenterCoords;
|
|
33
|
-
private getVisibleAreaCentreCoords;
|
|
34
|
-
private getActions;
|
|
35
|
-
private showProfilecard;
|
|
36
|
-
private hideProfilecard;
|
|
37
|
-
render(): JSX.Element;
|
|
38
|
-
}
|
|
15
|
+
export default function MentionWithProfileCard({ id, text, accessLevel, mentionProvider, profilecardProvider, onClick, onMouseEnter, onMouseLeave, }: Props): JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PureComponent } from 'react';
|
|
2
|
-
import { MentionUserType as UserType } from '@atlaskit/adf-schema';
|
|
3
2
|
import { MentionProvider } from '@atlaskit/mention/resource';
|
|
4
3
|
import { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
5
4
|
import { MentionEventHandlers } from '../EventHandlers';
|
|
@@ -7,11 +6,9 @@ export interface Props {
|
|
|
7
6
|
id: string;
|
|
8
7
|
text: string;
|
|
9
8
|
accessLevel?: string;
|
|
10
|
-
userType?: UserType;
|
|
11
9
|
mentionProvider?: Promise<MentionProvider>;
|
|
12
10
|
profilecardProvider?: Promise<ProfilecardProvider>;
|
|
13
11
|
eventHandlers?: MentionEventHandlers;
|
|
14
|
-
portal?: HTMLElement;
|
|
15
12
|
}
|
|
16
13
|
export interface State {
|
|
17
14
|
profilecardProvider: ProfilecardProvider | null;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
interface Props {
|
|
3
5
|
/** The content of the message */
|
|
4
6
|
children: ReactNode;
|
|
5
7
|
}
|
|
6
|
-
export declare const HelperMessage: ({ children }: Props) => JSX.Element;
|
|
7
|
-
export declare const ErrorMessage: ({ children }: Props) => JSX.Element;
|
|
8
|
-
export declare const ValidMessage: ({ children }: Props) => JSX.Element;
|
|
8
|
+
export declare const HelperMessage: ({ children }: Props) => jsx.JSX.Element;
|
|
9
|
+
export declare const ErrorMessage: ({ children }: Props) => jsx.JSX.Element;
|
|
10
|
+
export declare const ValidMessage: ({ children }: Props) => jsx.JSX.Element;
|
|
9
11
|
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
export declare type Breakpoints = 'S' | 'M' | 'L';
|
|
3
5
|
export declare type WidthConsumerContext = {
|
|
4
6
|
width: number;
|
|
@@ -19,7 +21,7 @@ export declare class WidthProvider extends React.Component<WidthProviderProps, W
|
|
|
19
21
|
width: number;
|
|
20
22
|
};
|
|
21
23
|
constructor(props: any);
|
|
22
|
-
render(): JSX.Element;
|
|
24
|
+
render(): jsx.JSX.Element;
|
|
23
25
|
setWidth: ((width: number) => void) & {
|
|
24
26
|
cancel(): void;
|
|
25
27
|
};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ClearNextSiblingMarginTop: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
1
|
+
export declare const clearNextSiblingMarginTopStyle: import("@emotion/react").SerializedStyles;
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type { Props as MediaSingleProps } from './MediaSingle';
|
|
|
4
4
|
export { MediaSingleDimensionHelper } from './MediaSingle/styled';
|
|
5
5
|
export type { MediaSingleWrapperProps as MediaSingleDimensionHelperProps } from './MediaSingle/styled';
|
|
6
6
|
export { layoutSupportsWidth, calcPxFromColumns, calcPctFromPx, calcPxFromPct, calcColumnsFromPx, snapToGrid, } from './MediaSingle/grid';
|
|
7
|
-
export {
|
|
7
|
+
export { mediaLinkStyle } from './MediaSingle/link';
|
|
8
8
|
export { default as Popup, findOverflowScrollParent } from './Popup';
|
|
9
9
|
export type { Position as PopupPosition, Props as PopupProps } from './Popup';
|
|
10
10
|
export { default as UnsupportedBlock } from './UnsupportedBlock';
|
|
@@ -13,14 +13,14 @@ export { BaseTheme, mapBreakpointToLayoutMaxWidth } from './BaseTheme';
|
|
|
13
13
|
export { default as withOuterListeners } from './with-outer-listeners';
|
|
14
14
|
export type { CardEventClickHandler, CardSurroundings, EventHandlers, LinkEventClickHandler, MentionEventHandler, MentionEventHandlers, SmartCardEventClickHandler, } from './EventHandlers';
|
|
15
15
|
export { WidthConsumer, WidthProvider, getBreakpoint } from './WidthProvider';
|
|
16
|
-
export type { WidthConsumerContext } from './WidthProvider';
|
|
16
|
+
export type { WidthConsumerContext, Breakpoints } from './WidthProvider';
|
|
17
17
|
export { default as overflowShadow, shadowClassNames } from './OverflowShadow';
|
|
18
18
|
export type { OverflowShadowOptions, OverflowShadowProps, OverflowShadowState, } from './OverflowShadow';
|
|
19
19
|
export { WithCreateAnalyticsEvent } from './WithCreateAnalyticsEvent';
|
|
20
20
|
export { messages as expandMessages, sharedExpandStyles, ExpandIconWrapper, ExpandLayoutWrapper, } from './Expand';
|
|
21
21
|
export type { StyleProps as ExpandStyleProps } from './Expand';
|
|
22
22
|
export { ErrorMessage, HelperMessage, ValidMessage } from './Messages';
|
|
23
|
-
export {
|
|
23
|
+
export { clearNextSiblingMarginTopStyle } from './clear-next-sibling-margin-top';
|
|
24
24
|
export { IntlNextErrorBoundary, REACT_INTL_ERROR_MESSAGE, } from './IntlNextErrorBoundary';
|
|
25
25
|
export { IntlLegacyFallbackProvider } from './IntlLegacyFallbackProvider';
|
|
26
26
|
export { LegacyToNextIntlProvider } from './LegacyToNextIntlProvider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getModeFromTheme(theme: string): "
|
|
1
|
+
export declare function getModeFromTheme(theme: string): "light" | "dark";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "65.0.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,33 +38,35 @@
|
|
|
38
38
|
"./emoji": "./src/emoji.ts",
|
|
39
39
|
"./mention": "./src/mention.ts",
|
|
40
40
|
"./provider-helpers": "./src/provider-helpers/index.ts",
|
|
41
|
-
"./icons": "./src/icons/index.ts"
|
|
41
|
+
"./icons": "./src/icons/index.ts",
|
|
42
|
+
"./safe-plugin": "./src/safe-plugin/index.ts"
|
|
42
43
|
},
|
|
43
44
|
"dependencies": {
|
|
44
45
|
"@atlaskit/activity-provider": "^2.3.0",
|
|
45
|
-
"@atlaskit/adf-schema": "^
|
|
46
|
-
"@atlaskit/adf-utils": "^
|
|
47
|
-
"@atlaskit/analytics-namespaced-context": "^6.
|
|
46
|
+
"@atlaskit/adf-schema": "^22.0.0",
|
|
47
|
+
"@atlaskit/adf-utils": "^16.0.0",
|
|
48
|
+
"@atlaskit/analytics-namespaced-context": "^6.4.0",
|
|
48
49
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
49
50
|
"@atlaskit/code": "^14.3.0",
|
|
50
51
|
"@atlaskit/editor-json-transformer": "^8.7.0",
|
|
51
|
-
"@atlaskit/editor-shared-styles": "^
|
|
52
|
-
"@atlaskit/emoji": "^64.
|
|
52
|
+
"@atlaskit/editor-shared-styles": "^2.0.0",
|
|
53
|
+
"@atlaskit/emoji": "^64.2.0",
|
|
53
54
|
"@atlaskit/icon": "^21.10.0",
|
|
54
55
|
"@atlaskit/in-product-testing": "^0.1.0",
|
|
55
|
-
"@atlaskit/media-card": "^73.
|
|
56
|
-
"@atlaskit/media-client": "^14.
|
|
57
|
-
"@atlaskit/media-picker": "^59.
|
|
58
|
-
"@atlaskit/mention": "^
|
|
59
|
-
"@atlaskit/profilecard": "^16.
|
|
60
|
-
"@atlaskit/smart-card": "^17.
|
|
56
|
+
"@atlaskit/media-card": "^73.3.0",
|
|
57
|
+
"@atlaskit/media-client": "^14.4.0",
|
|
58
|
+
"@atlaskit/media-picker": "^59.1.0",
|
|
59
|
+
"@atlaskit/mention": "^21.0.0",
|
|
60
|
+
"@atlaskit/profilecard": "^16.3.0",
|
|
61
|
+
"@atlaskit/smart-card": "^17.7.0",
|
|
61
62
|
"@atlaskit/task-decision": "^17.3.0",
|
|
62
63
|
"@atlaskit/theme": "^12.1.0",
|
|
63
64
|
"@atlaskit/tooltip": "^17.5.0",
|
|
64
|
-
"@atlaskit/ufo": "^0.0
|
|
65
|
-
"@atlaskit/user-picker": "^8.
|
|
65
|
+
"@atlaskit/ufo": "^0.1.0",
|
|
66
|
+
"@atlaskit/user-picker": "^8.8.0",
|
|
66
67
|
"@atlaskit/width-detector": "^3.0.0",
|
|
67
68
|
"@babel/runtime": "^7.0.0",
|
|
69
|
+
"@emotion/react": "^11.7.1",
|
|
68
70
|
"@types/prosemirror-model": "^1.11.0",
|
|
69
71
|
"@types/prosemirror-state": "^1.2.0",
|
|
70
72
|
"@types/prosemirror-transform": "^1.1.0",
|
|
@@ -90,7 +92,7 @@
|
|
|
90
92
|
},
|
|
91
93
|
"devDependencies": {
|
|
92
94
|
"@atlaskit/editor-json-transformer": "^8.7.0",
|
|
93
|
-
"@atlaskit/editor-test-helpers": "^16.
|
|
95
|
+
"@atlaskit/editor-test-helpers": "^16.1.0",
|
|
94
96
|
"@atlaskit/media-core": "^32.2.0",
|
|
95
97
|
"@atlaskit/util-data-test": "^17.2.0",
|
|
96
98
|
"@atlaskit/visual-regression": "*",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.inlineNodeSharedStyle = void 0;
|
|
9
|
-
|
|
10
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
11
|
-
|
|
12
|
-
var _styledComponents = require("styled-components");
|
|
13
|
-
|
|
14
|
-
var _templateObject;
|
|
15
|
-
|
|
16
|
-
var inlineNodeSharedStyle = (0, _styledComponents.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .inline-node--mobile {\n display: inline-block !important;\n }\n"])));
|
|
17
|
-
exports.inlineNodeSharedStyle = inlineNodeSharedStyle;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
-
|
|
3
|
-
var _templateObject;
|
|
4
|
-
|
|
5
|
-
import { css } from 'styled-components';
|
|
6
|
-
var inlineNodeSharedStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .inline-node--mobile {\n display: inline-block !important;\n }\n"])));
|
|
7
|
-
export { inlineNodeSharedStyle };
|