@atlaskit/editor-common 64.0.0 → 66.0.1
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 +48 -0
- package/build/tsconfig.json +1 -2
- 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.js +27 -0
- package/dist/cjs/i18n/en_GB.js +27 -0
- 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/normalize-feature-flags.js +40 -4
- 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/link.js +2 -2
- package/dist/cjs/styles/shared/lists.js +2 -2
- package/dist/cjs/styles/shared/media-single.js +2 -2
- package/dist/cjs/styles/shared/panel.js +7 -4
- package/dist/cjs/styles/shared/paragraph.js +2 -2
- package/dist/cjs/styles/shared/rule.js +5 -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/ui/BaseTheme/index.js +27 -11
- package/dist/cjs/ui/Caption/index.js +10 -7
- package/dist/cjs/ui/Expand/index.js +84 -46
- package/dist/cjs/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +9 -9
- package/dist/cjs/ui/MediaSingle/index.js +13 -8
- package/dist/cjs/ui/MediaSingle/link.js +4 -6
- package/dist/cjs/ui/MediaSingle/styled.js +23 -20
- package/dist/cjs/ui/Messages/index.js +25 -22
- package/dist/cjs/ui/Popup/index.js +15 -1
- 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 +24 -34
- package/dist/cjs/utils/compare-props.js +136 -0
- package/dist/cjs/utils/index.js +23 -1
- package/dist/cjs/utils/performance/hooks/use-component-render-tracking/index.js +47 -0
- package/dist/cjs/utils/validator.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.js +19 -0
- package/dist/es2019/i18n/en_GB.js +19 -0
- 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/normalize-feature-flags.js +40 -4
- package/dist/es2019/styles/shared/annotation.js +11 -11
- package/dist/es2019/styles/shared/block-marks.js +1 -1
- 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/link.js +1 -1
- package/dist/es2019/styles/shared/lists.js +3 -1
- package/dist/es2019/styles/shared/media-single.js +1 -1
- package/dist/es2019/styles/shared/panel.js +15 -15
- package/dist/es2019/styles/shared/paragraph.js +1 -1
- package/dist/es2019/styles/shared/rule.js +3 -3
- package/dist/es2019/styles/shared/shadow.js +1 -1
- package/dist/es2019/styles/shared/table.js +23 -13
- 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/ui/BaseTheme/index.js +16 -5
- package/dist/es2019/ui/Caption/index.js +11 -5
- package/dist/es2019/ui/Expand/index.js +97 -67
- package/dist/es2019/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/index.js +13 -9
- package/dist/es2019/ui/MediaSingle/link.js +3 -4
- package/dist/es2019/ui/MediaSingle/styled.js +13 -12
- package/dist/es2019/ui/Messages/index.js +30 -22
- package/dist/es2019/ui/Popup/index.js +16 -1
- package/dist/es2019/ui/UnsupportedBlock/index.js +9 -6
- 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 +4 -6
- package/dist/es2019/utils/compare-props.js +99 -0
- package/dist/es2019/utils/index.js +3 -1
- package/dist/es2019/utils/performance/hooks/use-component-render-tracking/index.js +36 -0
- package/dist/es2019/utils/validator.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.js +19 -0
- package/dist/esm/i18n/en_GB.js +19 -0
- 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/normalize-feature-flags.js +39 -4
- package/dist/esm/styles/shared/annotation.js +21 -17
- package/dist/esm/styles/shared/block-marks.js +1 -1
- 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/link.js +1 -1
- package/dist/esm/styles/shared/lists.js +2 -2
- package/dist/esm/styles/shared/media-single.js +1 -1
- package/dist/esm/styles/shared/panel.js +6 -4
- package/dist/esm/styles/shared/paragraph.js +1 -1
- package/dist/esm/styles/shared/rule.js +4 -2
- 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/ui/BaseTheme/index.js +23 -12
- package/dist/esm/ui/Caption/index.js +10 -5
- package/dist/esm/ui/Expand/index.js +79 -42
- package/dist/esm/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +7 -7
- package/dist/esm/ui/MediaSingle/index.js +14 -9
- package/dist/esm/ui/MediaSingle/link.js +2 -3
- package/dist/esm/ui/MediaSingle/styled.js +17 -10
- package/dist/esm/ui/Messages/index.js +26 -20
- package/dist/esm/ui/Popup/index.js +16 -1
- 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 +4 -6
- package/dist/esm/utils/compare-props.js +115 -0
- package/dist/esm/utils/index.js +3 -1
- package/dist/esm/utils/performance/hooks/use-component-render-tracking/index.js +37 -0
- package/dist/esm/utils/validator.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 +2 -2
- package/dist/types/extensions/types/field-definitions.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.d.ts +19 -0
- package/dist/types/i18n/en_GB.d.ts +19 -0
- 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 -15
- package/dist/types/normalize-feature-flags.d.ts +6 -3
- 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/link.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 +2 -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/ui/Caption/index.d.ts +3 -1
- package/dist/types/ui/Expand/index.d.ts +12 -10
- package/dist/types/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.d.ts +1 -1
- package/dist/types/ui/MediaSingle/index.d.ts +4 -2
- package/dist/types/ui/MediaSingle/link.d.ts +1 -2
- package/dist/types/ui/MediaSingle/styled.d.ts +10 -5
- package/dist/types/ui/Messages/index.d.ts +5 -3
- package/dist/types/ui/Popup/index.d.ts +3 -0
- 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 +4 -6
- package/dist/types/utils/compare-props.d.ts +32 -0
- package/dist/types/utils/getModeFromTheme.d.ts +1 -1
- package/dist/types/utils/index.d.ts +4 -0
- package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +19 -0
- package/package.json +17 -17
- package/dist/cjs/ui/IntlLegacyFallbackProvider/index.js +0 -60
- package/dist/cjs/ui/LegacyToNextIntlProvider/index.js +0 -67
- package/dist/es2019/ui/IntlLegacyFallbackProvider/index.js +0 -21
- package/dist/es2019/ui/LegacyToNextIntlProvider/index.js +0 -24
- package/dist/esm/ui/IntlLegacyFallbackProvider/index.js +0 -45
- package/dist/esm/ui/LegacyToNextIntlProvider/index.js +0 -51
- package/dist/types/ui/IntlLegacyFallbackProvider/index.d.ts +0 -8
- package/dist/types/ui/LegacyToNextIntlProvider/index.d.ts +0 -8
package/dist/types/i18n/ja.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/ko.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/nb.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/nl.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/pl.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/i18n/ru.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/sv.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/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,15 +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';
|
|
15
|
-
export type { SafePlugin } from './safe-plugin';
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare type
|
|
1
|
+
declare type BooleanFlags = Record<string, boolean>;
|
|
2
|
+
declare type NormalizedFeatureFlags<ObjectFlags> = Partial<ObjectFlags & BooleanFlags>;
|
|
2
3
|
/**
|
|
3
4
|
* Normalise and filter a free Record<string, unknown> to match
|
|
4
5
|
* the rules for feature flags in editor and renderer
|
|
@@ -9,9 +10,11 @@ declare type NormalizedFeatureFlags = Record<string, boolean>;
|
|
|
9
10
|
*
|
|
10
11
|
* Output matches
|
|
11
12
|
* 1. cased in camelCase (match [a-zA-Z])
|
|
12
|
-
* 2. has boolean value
|
|
13
|
+
* 2. has boolean value or object {} value
|
|
13
14
|
*
|
|
14
15
|
* @param rawFeatureFlags
|
|
15
16
|
*/
|
|
16
|
-
export declare function normalizeFeatureFlags(rawFeatureFlags?: Record<string, unknown
|
|
17
|
+
export declare function normalizeFeatureFlags<ObjectFlags>(rawFeatureFlags?: Record<string, unknown>, options?: {
|
|
18
|
+
objectFlagKeys: string[];
|
|
19
|
+
}): NormalizedFeatureFlags<ObjectFlags>;
|
|
17
20
|
export {};
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
declare const linkSharedStyle: import("
|
|
1
|
+
declare const linkSharedStyle: import("@emotion/react").SerializedStyles;
|
|
2
2
|
export { linkSharedStyle };
|
|
@@ -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:
|
|
82
|
+
export declare const panelSharedStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const paragraphSharedStyles: import("
|
|
1
|
+
export declare const paragraphSharedStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
|
+
export declare const ruleSharedStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -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 };
|
|
@@ -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">>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
5
|
export declare const messages: {
|
|
3
6
|
collapseNode: {
|
|
4
7
|
id: string;
|
|
@@ -27,15 +30,14 @@ export interface StyleProps {
|
|
|
27
30
|
'data-node-type'?: 'expand' | 'nestedExpand';
|
|
28
31
|
'data-title'?: string;
|
|
29
32
|
}
|
|
30
|
-
export declare const ExpandIconWrapper:
|
|
33
|
+
export declare const ExpandIconWrapper: ({ children, expanded, }: React.HTMLAttributes<HTMLDivElement> & {
|
|
31
34
|
expanded: boolean;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
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>>;
|
|
35
|
+
}) => jsx.JSX.Element;
|
|
36
|
+
export declare const expandLayoutWrapperStyle: import("@emotion/react").SerializedStyles;
|
|
37
|
+
export declare const ExpandLayoutWrapperWithRef: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<any>>;
|
|
36
38
|
export declare const sharedExpandStyles: {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
titleInputStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
40
|
+
titleContainerStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
41
|
+
containerStyles: (styleProps: StyleProps) => (themeProps: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
42
|
+
contentStyles: (styleProps: StyleProps) => (themeProps: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
41
43
|
};
|
|
@@ -5,7 +5,7 @@ interface ErrorBoundaryState {
|
|
|
5
5
|
missingIntlProviderInAncestry: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const REACT_INTL_ERROR_MESSAGE = "<IntlProvider> needs to exist in the component ancestry";
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class IntlErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
9
9
|
state: {
|
|
10
10
|
missingIntlProviderInAncestry: boolean;
|
|
11
11
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
import { RichMediaLayout as MediaSingleLayout, RichMediaLayout } from '@atlaskit/adf-schema';
|
|
3
5
|
export declare const DEFAULT_IMAGE_WIDTH = 250;
|
|
4
6
|
export declare const DEFAULT_IMAGE_HEIGHT = 200;
|
|
@@ -16,7 +18,7 @@ export interface Props {
|
|
|
16
18
|
nodeType?: string;
|
|
17
19
|
fullWidthMode?: boolean;
|
|
18
20
|
hasFallbackContainer?: boolean;
|
|
19
|
-
handleMediaSingleRef?: React.RefObject<
|
|
21
|
+
handleMediaSingleRef?: React.RefObject<HTMLDivElement>;
|
|
20
22
|
}
|
|
21
23
|
export declare const shouldAddDefaultWrappedWidth: (layout: RichMediaLayout, width?: number | undefined, lineLength?: number | undefined) => boolean | 0 | undefined;
|
|
22
|
-
export default function MediaSingle({ layout, width, height, containerWidth, isLoading, pctWidth, className, children: propsChildren, nodeType, fullWidthMode, lineLength, hasFallbackContainer, handleMediaSingleRef, }: Props): JSX.Element;
|
|
24
|
+
export default function MediaSingle({ layout, width, height, containerWidth, isLoading, pctWidth, className, children: propsChildren, nodeType, fullWidthMode, lineLength, hasFallbackContainer, handleMediaSingleRef, }: Props): jsx.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,6 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React, { RefObject } from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
import { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
|
|
3
5
|
/**
|
|
4
6
|
* Calculates the image width for non-resized images.
|
|
@@ -22,17 +24,20 @@ export interface MediaSingleWrapperProps {
|
|
|
22
24
|
layout: MediaSingleLayout;
|
|
23
25
|
pctWidth?: number;
|
|
24
26
|
width?: number;
|
|
25
|
-
innerRef?: ((elem:
|
|
27
|
+
innerRef?: ((elem: HTMLDivElement) => void) | RefObject<HTMLDivElement>;
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* Can't use `.attrs` to handle highly dynamic styles because we are still
|
|
29
31
|
* supporting `styled-components` v1.
|
|
30
32
|
*/
|
|
31
|
-
export declare const MediaSingleDimensionHelper: ({ containerWidth, fullWidthMode, isResized, layout, pctWidth, width, }: MediaSingleWrapperProps) => import("
|
|
33
|
+
export declare const MediaSingleDimensionHelper: ({ containerWidth, fullWidthMode, isResized, layout, pctWidth, width, }: MediaSingleWrapperProps) => import("@emotion/react").SerializedStyles;
|
|
32
34
|
export interface MediaWrapperProps {
|
|
33
35
|
paddingBottom?: string;
|
|
34
36
|
height?: number;
|
|
35
37
|
hasFallbackContainer?: boolean;
|
|
36
38
|
}
|
|
37
|
-
export declare const
|
|
38
|
-
export declare const
|
|
39
|
+
export declare const mediaWrapperStyle: (props: MediaWrapperProps) => import("@emotion/react").SerializedStyles;
|
|
40
|
+
export declare const MediaWrapper: {
|
|
41
|
+
({ children, ...rest }: React.HTMLAttributes<HTMLDivElement> & MediaWrapperProps): jsx.JSX.Element;
|
|
42
|
+
displayName: string;
|
|
43
|
+
};
|
|
@@ -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,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="resize-observer-browser" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { Position } from './utils';
|
|
3
4
|
export interface Props {
|
|
@@ -27,6 +28,7 @@ export interface State {
|
|
|
27
28
|
}
|
|
28
29
|
export default class Popup extends React.Component<Props, State> {
|
|
29
30
|
scrollElement: undefined | false | HTMLElement;
|
|
31
|
+
scrollParentElement: undefined | false | HTMLElement;
|
|
30
32
|
static defaultProps: {
|
|
31
33
|
offset: number[];
|
|
32
34
|
allowOutOfBound: boolean;
|
|
@@ -48,6 +50,7 @@ export default class Popup extends React.Component<Props, State> {
|
|
|
48
50
|
private scheduledUpdatePosition;
|
|
49
51
|
onResize: () => void;
|
|
50
52
|
UNSAFE_componentWillReceiveProps(newProps: Props): void;
|
|
53
|
+
resizeObserver: ResizeObserver | undefined;
|
|
51
54
|
componentDidMount(): void;
|
|
52
55
|
componentWillUnmount(): void;
|
|
53
56
|
private renderPopup;
|
|
@@ -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;
|