@atlaskit/editor-common 81.1.4 → 81.2.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 +20 -0
- package/codemods/migrates/entry-points.ts +14 -30
- package/dist/cjs/clipboard/index.js +4 -4
- package/dist/cjs/collab/index.js +1 -1
- package/dist/cjs/doc-utils/editor-use-only.js +2 -2
- package/dist/cjs/i18n/cs.js +1 -0
- package/dist/cjs/i18n/da.js +3 -2
- package/dist/cjs/i18n/de.js +3 -2
- package/dist/cjs/i18n/en.js +1 -0
- package/dist/cjs/i18n/en_GB.js +1 -0
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/i18n/es.js +2 -1
- package/dist/cjs/i18n/fi.js +2 -1
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +2 -1
- package/dist/cjs/i18n/ko.js +2 -1
- package/dist/cjs/i18n/nb.js +1 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +7 -6
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +3 -2
- package/dist/cjs/i18n/zh_TW.js +1 -0
- package/dist/cjs/lists/node.js +8 -8
- package/dist/cjs/lists/replace-content.js +8 -8
- package/dist/cjs/media-inline/styles.js +2 -2
- package/dist/cjs/messages/card.js +20 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/selection/gap-cursor/styles.js +1 -1
- package/dist/cjs/styles/shared/annotation.js +1 -1
- package/dist/cjs/styles/shared/block-marks.js +1 -1
- package/dist/cjs/styles/shared/code-block.js +2 -2
- package/dist/cjs/styles/shared/lists.js +1 -1
- package/dist/cjs/styles/shared/panel.js +1 -1
- package/dist/cjs/styles/shared/resizer.js +1 -1
- package/dist/cjs/styles/shared/smartCard.js +1 -1
- package/dist/cjs/styles/shared/table.js +1 -1
- package/dist/cjs/styles/shared/task-decision.js +1 -1
- package/dist/cjs/styles/shared/unsupported-content.js +1 -1
- package/dist/cjs/table/SortingIcon.js +2 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/styles.js +4 -4
- package/dist/cjs/ui/MediaSingle/styled.js +5 -5
- package/dist/cjs/ui/ResizerLegacy/styled.js +1 -1
- package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -2
- package/dist/cjs/utils/calculate-toolbar-position.js +8 -8
- package/dist/cjs/utils/compareNodes.js +7 -7
- package/dist/cjs/utils/dedupe.js +10 -10
- package/dist/es2019/clipboard/index.js +4 -4
- package/dist/es2019/collab/index.js +29 -29
- package/dist/es2019/doc-utils/editor-use-only.js +2 -2
- package/dist/es2019/i18n/cs.js +1 -0
- package/dist/es2019/i18n/da.js +3 -2
- package/dist/es2019/i18n/de.js +3 -2
- package/dist/es2019/i18n/en.js +1 -0
- package/dist/es2019/i18n/en_GB.js +1 -0
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/i18n/es.js +2 -1
- package/dist/es2019/i18n/fi.js +2 -1
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +2 -1
- package/dist/es2019/i18n/ko.js +2 -1
- package/dist/es2019/i18n/nb.js +1 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +7 -6
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +3 -2
- package/dist/es2019/i18n/zh_TW.js +1 -0
- package/dist/es2019/lists/node.js +8 -8
- package/dist/es2019/lists/replace-content.js +8 -8
- package/dist/es2019/media-inline/styles.js +28 -28
- package/dist/es2019/messages/card.js +20 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/selection/gap-cursor/styles.js +80 -80
- package/dist/es2019/styles/shared/annotation.js +12 -12
- package/dist/es2019/styles/shared/block-marks.js +16 -16
- package/dist/es2019/styles/shared/code-block.js +101 -89
- package/dist/es2019/styles/shared/lists.js +83 -86
- package/dist/es2019/styles/shared/panel.js +78 -78
- package/dist/es2019/styles/shared/resizer.js +180 -178
- package/dist/es2019/styles/shared/smartCard.js +92 -102
- package/dist/es2019/styles/shared/table.js +125 -127
- package/dist/es2019/styles/shared/task-decision.js +46 -46
- package/dist/es2019/styles/shared/unsupported-content.js +15 -15
- package/dist/es2019/table/SortingIcon.js +34 -34
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +14 -14
- package/dist/es2019/ui/FloatingToolbar/styles.js +4 -4
- package/dist/es2019/ui/MediaSingle/styled.js +55 -55
- package/dist/es2019/ui/ResizerLegacy/styled.js +10 -10
- package/dist/es2019/ui-menu/DropdownMenu/index.js +30 -30
- package/dist/es2019/utils/calculate-toolbar-position.js +8 -8
- package/dist/es2019/utils/compareNodes.js +7 -7
- package/dist/es2019/utils/dedupe.js +10 -10
- package/dist/esm/clipboard/index.js +4 -4
- package/dist/esm/collab/index.js +1 -1
- package/dist/esm/doc-utils/editor-use-only.js +2 -2
- package/dist/esm/i18n/cs.js +1 -0
- package/dist/esm/i18n/da.js +3 -2
- package/dist/esm/i18n/de.js +3 -2
- package/dist/esm/i18n/en.js +1 -0
- package/dist/esm/i18n/en_GB.js +1 -0
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/i18n/es.js +2 -1
- package/dist/esm/i18n/fi.js +2 -1
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +2 -1
- package/dist/esm/i18n/ko.js +2 -1
- package/dist/esm/i18n/nb.js +1 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +7 -6
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +3 -2
- package/dist/esm/i18n/zh_TW.js +1 -0
- package/dist/esm/lists/node.js +8 -8
- package/dist/esm/lists/replace-content.js +8 -8
- package/dist/esm/media-inline/styles.js +2 -2
- package/dist/esm/messages/card.js +20 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/selection/gap-cursor/styles.js +1 -1
- package/dist/esm/styles/shared/annotation.js +1 -1
- package/dist/esm/styles/shared/block-marks.js +1 -1
- package/dist/esm/styles/shared/code-block.js +2 -2
- package/dist/esm/styles/shared/lists.js +1 -1
- package/dist/esm/styles/shared/panel.js +1 -1
- package/dist/esm/styles/shared/resizer.js +1 -1
- package/dist/esm/styles/shared/smartCard.js +1 -1
- package/dist/esm/styles/shared/table.js +1 -1
- package/dist/esm/styles/shared/task-decision.js +1 -1
- package/dist/esm/styles/shared/unsupported-content.js +1 -1
- package/dist/esm/table/SortingIcon.js +2 -2
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/styles.js +4 -4
- package/dist/esm/ui/MediaSingle/styled.js +5 -5
- package/dist/esm/ui/ResizerLegacy/styled.js +1 -1
- package/dist/esm/ui-menu/DropdownMenu/index.js +2 -2
- package/dist/esm/utils/calculate-toolbar-position.js +8 -8
- package/dist/esm/utils/compareNodes.js +7 -7
- package/dist/esm/utils/dedupe.js +10 -10
- package/dist/types/analytics/index.d.ts +1 -1
- package/dist/types/analytics/types/index.d.ts +3 -3
- package/dist/types/analytics/types/insert-events.d.ts +1 -1
- package/dist/types/card/LinkToolbarButtonGroup.d.ts +1 -1
- package/dist/types/card/index.d.ts +1 -1
- package/dist/types/element-browser/ViewMore.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/EmptyState.d.ts +1 -1
- package/dist/types/extensibility/index.d.ts +1 -1
- package/dist/types/extensions/index.d.ts +1 -1
- package/dist/types/extensions/types/index.d.ts +2 -2
- package/dist/types/guideline/index.d.ts +3 -3
- package/dist/types/i18n/cs.d.ts +1 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/en.d.ts +1 -0
- package/dist/types/i18n/en_GB.d.ts +1 -0
- package/dist/types/i18n/en_ZZ.d.ts +1 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ja.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +1 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +1 -0
- package/dist/types/link/index.d.ts +3 -3
- package/dist/types/lists/index.d.ts +3 -3
- package/dist/types/lists/replace-content.d.ts +1 -1
- package/dist/types/mark/index.d.ts +1 -1
- package/dist/types/media-inline/index.d.ts +1 -1
- package/dist/types/media-inline/views/frame.d.ts +1 -1
- package/dist/types/messages/card.d.ts +20 -0
- package/dist/types/portal/index.d.ts +1 -1
- package/dist/types/preset/index.d.ts +1 -1
- package/dist/types/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types/provider-factory/quick-insert-provider.d.ts +2 -1
- package/dist/types/provider-factory.d.ts +2 -2
- package/dist/types/react-node-view/index.d.ts +1 -1
- package/dist/types/selection/index.d.ts +2 -2
- package/dist/types/styles/index.d.ts +4 -4
- package/dist/types/types/feature-flags.d.ts +6 -6
- package/dist/types/types/index.d.ts +12 -12
- package/dist/types/types/next-editor-plugin.d.ts +2 -8
- package/dist/types/types/performance-tracking.d.ts +4 -4
- package/dist/types/ufo/index.d.ts +1 -1
- package/dist/types/ui/BaseTheme/index.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/styles.d.ts +4 -4
- package/dist/types/ui/MediaSingle/styled.d.ts +1 -1
- package/dist/types/ui/index.d.ts +4 -4
- package/dist/types/ui-color/index.d.ts +1 -1
- package/dist/types/utils/get-performance-options.d.ts +1 -1
- package/dist/types/utils/index.d.ts +6 -6
- package/dist/types/validator.d.ts +1 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/index.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +1 -1
- package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +1 -1
- package/dist/types-ts4.5/card/index.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/ViewMore.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/EmptyState.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/index.d.ts +1 -1
- package/dist/types-ts4.5/extensions/index.d.ts +1 -1
- package/dist/types-ts4.5/extensions/types/index.d.ts +2 -2
- package/dist/types-ts4.5/guideline/index.d.ts +3 -3
- package/dist/types-ts4.5/i18n/cs.d.ts +1 -0
- package/dist/types-ts4.5/i18n/da.d.ts +1 -0
- package/dist/types-ts4.5/i18n/de.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
- package/dist/types-ts4.5/i18n/es.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -0
- package/dist/types-ts4.5/link/index.d.ts +3 -3
- package/dist/types-ts4.5/lists/index.d.ts +3 -3
- package/dist/types-ts4.5/lists/replace-content.d.ts +1 -1
- package/dist/types-ts4.5/mark/index.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/index.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/views/frame.d.ts +1 -1
- package/dist/types-ts4.5/messages/card.d.ts +20 -0
- package/dist/types-ts4.5/portal/index.d.ts +1 -1
- package/dist/types-ts4.5/preset/index.d.ts +1 -1
- package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +2 -1
- package/dist/types-ts4.5/provider-factory.d.ts +2 -2
- package/dist/types-ts4.5/react-node-view/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/index.d.ts +2 -2
- package/dist/types-ts4.5/styles/index.d.ts +4 -4
- package/dist/types-ts4.5/types/feature-flags.d.ts +6 -6
- package/dist/types-ts4.5/types/index.d.ts +12 -12
- package/dist/types-ts4.5/types/performance-tracking.d.ts +4 -4
- package/dist/types-ts4.5/ufo/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +4 -4
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +1 -1
- package/dist/types-ts4.5/ui/index.d.ts +4 -4
- package/dist/types-ts4.5/ui-color/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +1 -1
- package/dist/types-ts4.5/utils/index.d.ts +6 -6
- package/dist/types-ts4.5/validator.d.ts +1 -1
- package/package.json +4 -6
- package/report.api.md +6 -5
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { transformTimeStamp } from './LinkSearch/transformTimeStamp';
|
|
2
2
|
export type { LinkSearchListItemData, ChildProps, RecentSearchInputTypes, RecentSearchSubmitOptions, } from './LinkSearch/types';
|
|
3
|
-
export { container, containerWithProvider, inputWrapper
|
|
3
|
+
export { container, containerWithProvider, inputWrapper } from './LinkSearch/ToolbarComponents';
|
|
4
4
|
export { default as LinkSearchListItem } from './LinkSearch/LinkSearchListItem';
|
|
5
5
|
export { default as LinkSearchList } from './LinkSearch/LinkSearchList';
|
|
6
6
|
export { default as RecentSearch } from './LinkSearch';
|
|
@@ -13,5 +13,5 @@ export { default as HyperlinkLinkAddToolbar, HyperlinkLinkAddToolbarWithIntl, RE
|
|
|
13
13
|
export type { Props as HyperlinkLinkAddToolbarProps } from './LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar';
|
|
14
14
|
export type { HyperlinkAddToolbarProps } from './LinkPicker/HyperlinkAddToolbar';
|
|
15
15
|
export { sha1 } from './LinkPicker/HyperlinkAddToolbar/utils';
|
|
16
|
-
export { isLinkAtPos, isTextAtPos, getLinkPreferencesURLFromENV
|
|
17
|
-
export { stagingLinkPreferencesUrl, productionLinkPreferencesUrl
|
|
16
|
+
export { isLinkAtPos, isTextAtPos, getLinkPreferencesURLFromENV } from './utils';
|
|
17
|
+
export { stagingLinkPreferencesUrl, productionLinkPreferencesUrl } from './constants';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { getListItemAttributes, normalizeListItemsSelection
|
|
1
|
+
export { getListItemAttributes, normalizeListItemsSelection } from './selection';
|
|
2
2
|
export { moveTargetIntoList } from './replace-content';
|
|
3
3
|
export { JoinDirection, isListNodeValidContent, joinSiblingLists, processNestedTaskListsInSameLevel, } from './node';
|
|
4
|
-
export { getCommonListAnalyticsAttributes, countListItemsInSelection
|
|
4
|
+
export { getCommonListAnalyticsAttributes, countListItemsInSelection } from './analytics';
|
|
5
5
|
export { hasValidListIndentationLevel } from './indentation';
|
|
6
|
-
export { isListNode, isListItemNode, isBulletList, isParagraphNode
|
|
6
|
+
export { isListNode, isListItemNode, isBulletList, isParagraphNode } from '../utils';
|
|
7
7
|
export { messages } from './messages';
|
|
@@ -5,6 +5,6 @@ type Params = {
|
|
|
5
5
|
insertPosition: number;
|
|
6
6
|
$target: ResolvedPos;
|
|
7
7
|
};
|
|
8
|
-
export declare const moveTargetIntoList: ({ insertPosition, $target
|
|
8
|
+
export declare const moveTargetIntoList: ({ insertPosition, $target }: Params) => Step;
|
|
9
9
|
export declare const wrapTaskListIntoListAbove: (tr: Transaction, taskListStart: number, previousListStart: number) => void;
|
|
10
10
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { transformSmartCharsMentionsAndEmojis, applyMarkOnRange, filterChildrenBetween, toggleMark, removeMark, entireSelectionContainsMark, } from './commands';
|
|
2
|
-
export { anyMarkActive, isMarkAllowedInRange, isMarkExcluded
|
|
2
|
+
export { anyMarkActive, isMarkAllowedInRange, isMarkExcluded } from './text-formatting';
|
|
@@ -3,5 +3,5 @@ export { InlineImageWrapper } from './inline-image-wrapper';
|
|
|
3
3
|
export { DEFAULT_IMAGE_WIDTH, DEFAULT_IMAGE_HEIGHT } from './constants';
|
|
4
4
|
export type { MediaInlineAttrs } from './types';
|
|
5
5
|
export { DEFAULT_INLINE_IMAGE_ASPECT_RATIO } from './constants';
|
|
6
|
-
export { mediaInlineImageStyles, INLINE_IMAGE_WRAPPER_CLASS_NAME
|
|
6
|
+
export { mediaInlineImageStyles, INLINE_IMAGE_WRAPPER_CLASS_NAME } from './styles';
|
|
7
7
|
export { mediaInlineImagesEnabled } from './utils';
|
|
@@ -6,5 +6,5 @@ interface FrameViewProps {
|
|
|
6
6
|
/** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
|
|
7
7
|
testId?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const Frame: ({ children, testId
|
|
9
|
+
export declare const Frame: ({ children, testId }: React.PropsWithChildren<FrameViewProps>) => jsx.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -79,6 +79,26 @@ export declare const messages: {
|
|
|
79
79
|
defaultMessage: string;
|
|
80
80
|
description: string;
|
|
81
81
|
};
|
|
82
|
+
editDropdownExpandIconLabel: {
|
|
83
|
+
id: string;
|
|
84
|
+
defaultMessage: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
editDropdownTriggerTitle: {
|
|
88
|
+
id: string;
|
|
89
|
+
defaultMessage: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
editDropdownEditLinkTitle: {
|
|
93
|
+
id: string;
|
|
94
|
+
defaultMessage: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
editDropdownEditDatasourceTitle: {
|
|
98
|
+
id: string;
|
|
99
|
+
defaultMessage: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
82
102
|
datasourceTitle: {
|
|
83
103
|
id: string;
|
|
84
104
|
defaultMessage: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PortalManager } from './PortalManager';
|
|
2
2
|
export { PortalBucket } from './PortalBucket';
|
|
3
|
-
export { usePortalProvider
|
|
3
|
+
export { usePortalProvider } from './usePortalProvider';
|
|
4
4
|
export type { PortalProviderAPI } from './usePortalProvider';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { EditorPresetBuilder } from './builder';
|
|
2
2
|
export { EditorPluginInjectionAPI } from './plugin-injection-api';
|
|
3
|
-
export { editorCommandToPMCommand, PassiveTransaction
|
|
3
|
+
export { editorCommandToPMCommand, PassiveTransaction } from './editor-commands';
|
|
@@ -46,7 +46,7 @@ export declare class EditorPluginInjectionAPI implements PluginInjectionAPIDefin
|
|
|
46
46
|
] : [
|
|
47
47
|
]
|
|
48
48
|
]>;
|
|
49
|
-
onEditorViewUpdated: ({ newEditorState, oldEditorState
|
|
49
|
+
onEditorViewUpdated: ({ newEditorState, oldEditorState }: EditorStateDiff) => void;
|
|
50
50
|
onEditorPluginInitialized: (plugin: NextEditorPluginInitializedType) => void;
|
|
51
51
|
private addPlugin;
|
|
52
52
|
private getPluginByName;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
import type { INPUT_METHOD } from '../analytics/types/enums';
|
|
3
4
|
import type { TypeAheadItem } from '../types/type-ahead';
|
|
4
5
|
export type QuickInsertActionInsert = (node?: Node | Record<string, any> | string, opts?: {
|
|
5
6
|
selectInlineNode?: boolean;
|
|
@@ -23,7 +24,7 @@ export type QuickInsertItem = TypeAheadItem & {
|
|
|
23
24
|
* If a search occurs -- then a separate insert action is called
|
|
24
25
|
* @see packages/editor/editor-core/src/plugins/insert-block/ui/ToolbarInsertBlock/index.tsx for details
|
|
25
26
|
*/
|
|
26
|
-
action: (insert: QuickInsertActionInsert, state: EditorState) => Transaction | false;
|
|
27
|
+
action: (insert: QuickInsertActionInsert, state: EditorState, source?: INPUT_METHOD.TOOLBAR | INPUT_METHOD.QUICK_INSERT) => Transaction | false;
|
|
27
28
|
};
|
|
28
29
|
export type QuickInsertProvider = {
|
|
29
30
|
getItems: () => Promise<Array<QuickInsertItem>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { WithProviders } from './provider-factory/with-providers';
|
|
2
|
-
export type { Providers, ProviderName, ProviderHandler
|
|
2
|
+
export type { Providers, ProviderName, ProviderHandler } from './provider-factory/types';
|
|
3
3
|
export { ProviderFactoryProvider, useProviderFactory, useProvider, } from './provider-factory/context';
|
|
4
4
|
export { default as ProviderFactory } from './provider-factory/provider-factory';
|
|
5
5
|
export type { MediaProvider } from './provider-factory/media-provider';
|
|
@@ -8,6 +8,6 @@ export type { MacroProvider, MacroAttributes, ExtensionType, } from './provider-
|
|
|
8
8
|
export type { SearchProvider, LinkContentType, QuickSearchResult, } from './provider-factory/search-provider';
|
|
9
9
|
export type { CardProvider, CardAppearance, CardAdf, DatasourceAdf, } from './provider-factory/card-provider';
|
|
10
10
|
export type { QuickInsertItem, QuickInsertItemId, QuickInsertActionInsert, QuickInsertProvider, } from './provider-factory/quick-insert-provider';
|
|
11
|
-
export type { TypeAheadItem, TypeAheadItemRenderProps
|
|
11
|
+
export type { TypeAheadItem, TypeAheadItemRenderProps } from './types/type-ahead';
|
|
12
12
|
export type { AutoformatReplacement, AutoformattingProvider, AutoformatHandler, AutoformatRuleset, } from './provider-factory/autoformatting-provider';
|
|
13
13
|
export type { ContextIdentifierProvider } from './provider-factory/context-identifier-provider';
|
|
@@ -7,7 +7,7 @@ import type { LegacyPortalProviderAPI } from '../ui/PortalProvider';
|
|
|
7
7
|
import type { ForwardRef, getPosHandler, ProsemirrorGetPosHandler, ReactComponentProps, shouldUpdate } from './types';
|
|
8
8
|
export type { getPosHandler, ReactComponentProps, shouldUpdate, ProsemirrorGetPosHandler, ForwardRef, };
|
|
9
9
|
export type { InlineNodeViewComponentProps } from './getInlineNodeViewProducer';
|
|
10
|
-
export { getInlineNodeViewProducer, inlineNodeViewClassname
|
|
10
|
+
export { getInlineNodeViewProducer, inlineNodeViewClassname } from './getInlineNodeViewProducer';
|
|
11
11
|
export default class ReactNodeView<P = ReactComponentProps> implements NodeView {
|
|
12
12
|
private domRef?;
|
|
13
13
|
private contentDOMWrapper?;
|
|
@@ -5,8 +5,8 @@ import type { AnalyticsEventPayload } from '../analytics';
|
|
|
5
5
|
import type { Command } from '../types';
|
|
6
6
|
export { RelativeSelectionPos } from './types';
|
|
7
7
|
export type { SelectionPluginState, EditorSelectionAPI, SelectionPluginOptions, SelectionSharedState, SetSelectionRelativeToNode, } from './types';
|
|
8
|
-
export { GapCursorSelection, Side, JSON_ID, GapBookmark
|
|
9
|
-
export { setSelectionTopLevelBlocks, setGapCursorAtPos
|
|
8
|
+
export { GapCursorSelection, Side, JSON_ID, GapBookmark } from './gap-cursor/selection';
|
|
9
|
+
export { setSelectionTopLevelBlocks, setGapCursorAtPos } from './gap-cursor/actions';
|
|
10
10
|
export { isIgnored, isValidTargetNode } from './gap-cursor/utils';
|
|
11
11
|
export { setGapCursorSelection } from './gap-cursor/utils/setGapCursorSelection';
|
|
12
12
|
export { hideCaretModifier, gapCursorStyles } from './gap-cursor/styles';
|
|
@@ -3,7 +3,7 @@ export { backgroundColorStyles } from './shared/background-color';
|
|
|
3
3
|
export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, tableMarginTopWithControl, } from './shared/table';
|
|
4
4
|
export { AnnotationSharedClassNames, BlockAnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles, } from './shared/annotation';
|
|
5
5
|
export { columnLayoutSharedStyle } from './shared/column-layout';
|
|
6
|
-
export { mediaSingleSharedStyle, richMediaClassName
|
|
6
|
+
export { mediaSingleSharedStyle, richMediaClassName } from './shared/media-single';
|
|
7
7
|
export { blockquoteSharedStyles } from './shared/blockquote';
|
|
8
8
|
export { headingsSharedStyles } from './shared/headings';
|
|
9
9
|
export { ruleSharedStyles } from './shared/rule';
|
|
@@ -16,9 +16,9 @@ export { blockMarksSharedStyles } from './shared/block-marks';
|
|
|
16
16
|
export { codeMarkSharedStyles } from './shared/code-mark';
|
|
17
17
|
export { shadowSharedStyle } from './shared/shadow';
|
|
18
18
|
export { dateSharedStyle, DateSharedCssClassName } from './shared/date';
|
|
19
|
-
export { tasksAndDecisionsStyles, TaskDecisionSharedCssClassName
|
|
19
|
+
export { tasksAndDecisionsStyles, TaskDecisionSharedCssClassName } from './shared/task-decision';
|
|
20
20
|
export { StatusSharedCssClassName } from './shared/status';
|
|
21
|
-
export { smartCardSharedStyles, SmartCardSharedCssClassName
|
|
21
|
+
export { smartCardSharedStyles, SmartCardSharedCssClassName } from './shared/smart-card';
|
|
22
22
|
export { DropdownMenuSharedCssClassName } from './shared/dropdown-menu';
|
|
23
23
|
export { CodeBlockSharedCssClassName, codeBlockSharedStyles, codeBlockInListSafariFix, } from './shared/code-block';
|
|
24
24
|
export { LAYOUT_SECTION_MARGIN, LAYOUT_COLUMN_PADDING } from './shared/layout';
|
|
@@ -28,7 +28,7 @@ export { gridStyles, GRID_GUTTER } from './shared/grid';
|
|
|
28
28
|
export { smartCardStyles, FLOATING_TOOLBAR_LINKPICKER_CLASSNAME, DATASOURCE_INNER_CONTAINER_CLASSNAME, } from './shared/smartCard';
|
|
29
29
|
export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
|
|
30
30
|
export { buttonGroupStyle, separatorStyles, wrapperStyle, triggerWrapperStyles, } from './shared/plugins';
|
|
31
|
-
export { UnsupportedSharedCssClassName, unsupportedStyles
|
|
31
|
+
export { UnsupportedSharedCssClassName, unsupportedStyles } from './shared/unsupported-content';
|
|
32
32
|
export { expandIconWrapperStyle, expandClassNames } from './shared/expand';
|
|
33
33
|
export { ClassNames as MediaSharedClassNames } from './shared/media';
|
|
34
34
|
export { BreakoutCssClassName } from './shared/breakout';
|
|
@@ -246,12 +246,12 @@ export type FeatureFlags = {
|
|
|
246
246
|
*/
|
|
247
247
|
macroInteractionUpdates?: boolean;
|
|
248
248
|
/**
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
249
|
+
* @description
|
|
250
|
+
* Enables bug fix on media comments
|
|
251
|
+
*
|
|
252
|
+
// * @see https://product-fabric.atlassian.net/browse/ED-23093
|
|
253
|
+
* @default false
|
|
254
|
+
*/
|
|
255
255
|
commentsOnMediaBugFix?: boolean;
|
|
256
256
|
/**
|
|
257
257
|
* @description
|
|
@@ -10,27 +10,27 @@ export declare enum SortOrder {
|
|
|
10
10
|
}
|
|
11
11
|
export { AnnotationUpdateEmitter, AnnotationUpdateEvent } from './annotation';
|
|
12
12
|
export type { AnnotationState, AnnotationProviders, AnnotationUpdateEventPayloads, InlineCommentSelectionComponentProps, InlineCommentHoverComponentProps, InlineCommentViewComponentProps, InlineCommentAnnotationProvider, OnAnnotationClickPayload, AnnotationByMatches, AnnotationActionResult, } from './annotation';
|
|
13
|
-
export type { ContextUpdateHandler, EditorActionsOptions, ReplaceRawValue
|
|
13
|
+
export type { ContextUpdateHandler, EditorActionsOptions, ReplaceRawValue } from './editor-actions';
|
|
14
14
|
export type { TypeAheadStats, TypeAheadItemRenderProps, TypeAheadInsert, TypeAheadSelectItem, TypeAheadItem, TypeAheadForceSelect, TypeAheadHandler, } from './type-ahead';
|
|
15
|
-
export type { CommandDispatch, Command, HigherOrderCommand, Predicate
|
|
16
|
-
export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags
|
|
17
|
-
export type { Browsers, Range, DisableSpellcheckByBrowser
|
|
18
|
-
export type { EditorContainerWidth, GetEditorContainerWidth
|
|
19
|
-
export type { EmptyStateHandler, EmptyStateHandlerParams
|
|
15
|
+
export type { CommandDispatch, Command, HigherOrderCommand, Predicate } from './command';
|
|
16
|
+
export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags } from './feature-flags';
|
|
17
|
+
export type { Browsers, Range, DisableSpellcheckByBrowser } from './supported-browsers';
|
|
18
|
+
export type { EditorContainerWidth, GetEditorContainerWidth } from './editor-container-width';
|
|
19
|
+
export type { EmptyStateHandler, EmptyStateHandlerParams } from './empty-state-handler';
|
|
20
20
|
export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, } from './floating-toolbar';
|
|
21
21
|
export type { MarkOptions, NodeOptions } from './copy-button';
|
|
22
22
|
export type { ContextPanelHandler } from './context-panel';
|
|
23
23
|
export type { EditorAppearance } from './editor-appearance';
|
|
24
|
-
export type { ToolbarUiComponentFactoryParams, ToolbarUIComponentFactory
|
|
24
|
+
export type { ToolbarUiComponentFactoryParams, ToolbarUIComponentFactory } from './toolbar';
|
|
25
25
|
export { ToolbarSize, ToolbarWidths, ToolbarWidthsFullPage } from './toolbar';
|
|
26
26
|
export type { UiComponentFactoryParams, UIComponentFactory, ReactHookFactory, } from './ui-components';
|
|
27
27
|
export type { EditorReactContext } from './editor-react-context';
|
|
28
|
-
export type { PMPluginFactoryParams, PMPluginFactory, PMPlugin
|
|
29
|
-
export type { NodeConfig, MarkConfig, NodeViewConfig
|
|
28
|
+
export type { PMPluginFactoryParams, PMPluginFactory, PMPlugin } from './plugin-factory';
|
|
29
|
+
export type { NodeConfig, MarkConfig, NodeViewConfig } from './prosemirror-config';
|
|
30
30
|
export type { PluginsOptions, EditorPlugin, getPosHandler, getPosHandlerNode, } from './editor-plugin';
|
|
31
31
|
export type { NextEditorPlugin, AllEditorPresetPluginTypes, PluginDependenciesAPI, ExtractPluginNameFromAllBuilderPlugins, SafePresetCheck, DefaultEditorPlugin, OptionalPlugin, PluginInjectionAPI, CreatePluginDependenciesAPI, NextEditorPluginMetadata, ExtractInjectionAPI, ExtractPluginActions, PluginInjectionAPIWithDependencies, PublicPluginAPI, NextEditorPluginFunctionOptionalConfigDefinition, ExtractNextEditorPlugins, MaybePlugin, MaybePluginName, PresetPlugin, } from './next-editor-plugin';
|
|
32
32
|
export type { ExtractPublicEditorAPI } from './editor-public-api';
|
|
33
|
-
export type { EditorCommand, EditorCommandWithMetadata
|
|
33
|
+
export type { EditorCommand, EditorCommandWithMetadata } from './editor-command';
|
|
34
34
|
export type IconProps = {
|
|
35
35
|
label?: string;
|
|
36
36
|
};
|
|
@@ -43,12 +43,12 @@ export type { DatasourceModalType } from './datasource';
|
|
|
43
43
|
export type { ImageUploadPluginReferenceEventBase, ImageUploadPluginReferenceEventDragEvent, ImageUploadPluginReferenceEventClipboardEvent, ImageUploadPluginReferenceEvent, } from './image-upload-reference-event';
|
|
44
44
|
export type { AllowedBlockTypes, HeadingLevels, NormalTextLevel, HeadingLevelsAndNormalText, } from './block-type';
|
|
45
45
|
export type { ColumnResizingPluginState } from './tables';
|
|
46
|
-
export type { InputRuleHandler, OnHandlerApply, InputRuleWrapper
|
|
46
|
+
export type { InputRuleHandler, OnHandlerApply, InputRuleWrapper } from './input-rules';
|
|
47
47
|
export type { TOOLBAR_MENU_TYPE } from './insert-block';
|
|
48
48
|
export type { TextFormattingOptions, TextFormattingState, InputMethodToolbar, InputMethodBasic, } from './text-formatting';
|
|
49
49
|
export type { LayoutPluginOptions } from './layout';
|
|
50
50
|
export type { LongPressSelectionPluginOptions } from './selection';
|
|
51
51
|
export type { QuickInsertPluginState, QuickInsertPluginStateKeys, QuickInsertOptions, QuickInsertPluginOptions, QuickInsertSearchOptions, QuickInsertSharedState, QuickInsertHandler, QuickInsertHandlerFn, } from './quick-insert';
|
|
52
52
|
export type { Refs, RefsNode, DocBuilder } from './doc-builder';
|
|
53
|
-
export type { SelectionToolbarGroup, SelectionToolbarHandler
|
|
53
|
+
export type { SelectionToolbarGroup, SelectionToolbarHandler } from './selection-toolbar';
|
|
54
54
|
export type { FeedbackInfo } from './feedback-dialog';
|
|
@@ -98,10 +98,10 @@ export type CatchAllTracking = {
|
|
|
98
98
|
};
|
|
99
99
|
export type NodeViewTracking = {
|
|
100
100
|
/**
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
* @description Control whether
|
|
102
|
+
NodeView performance is tracked. When this is false no measurements are taken and no events are sent.
|
|
103
|
+
* @default false
|
|
104
|
+
*/
|
|
105
105
|
enabled: boolean;
|
|
106
106
|
/**
|
|
107
107
|
* @description The nth re-render of NodeView after which an analytics event is sent. Depends on enabled being true.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ExperienceStore, EditorExperience, RELIABILITY_INTERVAL
|
|
1
|
+
export { ExperienceStore, EditorExperience, RELIABILITY_INTERVAL } from './experience-store';
|
|
@@ -6,7 +6,7 @@ type BaseThemeWrapperProps = {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
baseFontSize?: number;
|
|
8
8
|
};
|
|
9
|
-
export declare function BaseThemeWrapper({ baseFontSize, children
|
|
9
|
+
export declare function BaseThemeWrapper({ baseFontSize, children }: BaseThemeWrapperProps): JSX.Element;
|
|
10
10
|
type BaseThemeProps = {
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
baseFontSize?: number;
|
|
@@ -2,10 +2,10 @@ export declare const iconOnlySpacing: {
|
|
|
2
2
|
'&&': {
|
|
3
3
|
padding: string;
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Increased specificity here because css for .hyperlink-open-link defined in
|
|
6
|
+
packages/editor/editor-core/src/ui/ContentStyles/index.tsx file
|
|
7
|
+
overrides padding left-right 2px with 4px.
|
|
8
|
+
*/
|
|
9
9
|
'&&[href]': {
|
|
10
10
|
padding: string;
|
|
11
11
|
};
|
|
@@ -62,5 +62,5 @@ export declare const MediaWrapper: {
|
|
|
62
62
|
type MediaBorderGapFillerProps = {
|
|
63
63
|
borderColor: string;
|
|
64
64
|
};
|
|
65
|
-
export declare const MediaBorderGapFiller: ({ borderColor
|
|
65
|
+
export declare const MediaBorderGapFiller: ({ borderColor }: MediaBorderGapFillerProps) => jsx.JSX.Element;
|
|
66
66
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as Caption } from './Caption';
|
|
2
2
|
export { default as MediaSingle } from './MediaSingle';
|
|
3
3
|
export type { Props as MediaSingleProps, MediaSingleWidthType, MediaSingleSize, } from './MediaSingle';
|
|
4
|
-
export { MediaSingleDimensionHelper, MediaBorderGapFiller
|
|
4
|
+
export { MediaSingleDimensionHelper, MediaBorderGapFiller } from './MediaSingle/styled';
|
|
5
5
|
export type { MediaSingleWrapperProps as MediaSingleDimensionHelperProps } from './MediaSingle/styled';
|
|
6
6
|
export { layoutSupportsWidth, calcPxFromColumns, calcPctFromPx, calcPxFromPct, calcColumnsFromPx, snapToGrid, calcMediaPxWidth, wrappedLayouts, } from './MediaSingle/grid';
|
|
7
7
|
export { mediaLinkStyle } from './MediaSingle/link';
|
|
@@ -17,13 +17,13 @@ export { WidthContext, WidthConsumer, WidthProvider, createWidthContext, getBrea
|
|
|
17
17
|
export type { WidthConsumerContext, Breakpoints } from './WidthProvider';
|
|
18
18
|
export { default as overflowShadow, shadowClassNames } from './OverflowShadow';
|
|
19
19
|
export type { OverflowShadowOptions, OverflowShadowProps, OverflowShadowState, } from './OverflowShadow';
|
|
20
|
-
export { shadowObserverClassNames, ShadowObserver
|
|
20
|
+
export { shadowObserverClassNames, ShadowObserver } from './OverflowShadow/shadowObserver';
|
|
21
21
|
export { WithCreateAnalyticsEvent } from './WithCreateAnalyticsEvent';
|
|
22
22
|
export { messages as expandMessages, sharedExpandStyles, ExpandIconWrapper, expandLayoutWrapperStyle, ExpandLayoutWrapperWithRef, } from './Expand';
|
|
23
23
|
export type { StyleProps as ExpandStyleProps } from './Expand';
|
|
24
24
|
export { ErrorMessage, HelperMessage, ValidMessage } from './Messages';
|
|
25
25
|
export { clearNextSiblingMarginTopStyle, clearNextSiblingBlockMarkMarginTopStyle, } from './clear-next-sibling-margin-top';
|
|
26
|
-
export { IntlErrorBoundary, REACT_INTL_ERROR_MESSAGE
|
|
26
|
+
export { IntlErrorBoundary, REACT_INTL_ERROR_MESSAGE } from './IntlErrorBoundary';
|
|
27
27
|
export { default as IntlProviderIfMissingWrapper } from './IntlProviderIfMissingWrapper';
|
|
28
28
|
export { default as FloatingToolbarButton } from './FloatingToolbar/Button';
|
|
29
29
|
export { default as FloatingToolbarSeparator } from './FloatingToolbar/Separator';
|
|
@@ -32,7 +32,7 @@ export { RECENT_SEARCH_WIDTH_IN_PX, RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX, REC
|
|
|
32
32
|
export { ContextPanelProvider, ContextPanelWidthProvider, ContextPanelConsumer, ContextPanel, } from './ContextPanel/context';
|
|
33
33
|
export { default as Resizer } from './ResizerLegacy';
|
|
34
34
|
export type { ResizerState } from './ResizerLegacy';
|
|
35
|
-
export type { EnabledHandles, Props as ResizerProps
|
|
35
|
+
export type { EnabledHandles, Props as ResizerProps } from './ResizerLegacy/types';
|
|
36
36
|
export { snapTo, handleSides, imageAlignmentMap } from './ResizerLegacy/utils';
|
|
37
37
|
export { wrapperStyle } from './ResizerLegacy/styled';
|
|
38
38
|
export { panelTextInput } from './PanelTextInput/styles';
|
|
@@ -9,5 +9,5 @@ export { textColorPalette } from './ColorPalette/Palettes/textColorPalette';
|
|
|
9
9
|
export { highlightColorPalette, REMOVE_HIGHLIGHT_COLOR, } from './ColorPalette/Palettes/highlightColorPalette';
|
|
10
10
|
export { backgroundPaletteTooltipMessages, borderPaletteTooltipMessages, chartsColorPaletteTooltipMessages, textPaletteTooltipMessages, } from './ColorPalette/Palettes';
|
|
11
11
|
export { DEFAULT_BORDER_COLOR } from './ColorPalette/Palettes/common';
|
|
12
|
-
export type { PaletteColor, PaletteTooltipMessages
|
|
12
|
+
export type { PaletteColor, PaletteTooltipMessages } from './ColorPalette/Palettes/type';
|
|
13
13
|
export { default as borderColorPalette } from './ColorPalette/Palettes/borderColorPalette';
|
|
@@ -5,7 +5,7 @@ export declare function getPerformanceOptions(view: EditorView): {
|
|
|
5
5
|
samplingRate: number;
|
|
6
6
|
slowThreshold: number;
|
|
7
7
|
};
|
|
8
|
-
export declare function startMeasureReactNodeViewRendered({ nodeTypeName
|
|
8
|
+
export declare function startMeasureReactNodeViewRendered({ nodeTypeName }: {
|
|
9
9
|
nodeTypeName: string;
|
|
10
10
|
}): void;
|
|
11
11
|
export declare function stopMeasureReactNodeViewRendered({ nodeTypeName, dispatchAnalyticsEvent, samplingRate, slowThreshold, }: {
|
|
@@ -12,12 +12,12 @@ export { isPastDate, timestampToIsoFormat, timestampToString, timestampToTaskCon
|
|
|
12
12
|
export type { Date } from './date';
|
|
13
13
|
export { isElementInTableCell, isTextSelection, isLastItemMediaGroup, setNodeSelection, setTextSelection, setAllSelection, setCellSelection, nonNullable, stepAddsOneOf, stepHasSlice, extractSliceFromStep, isValidPosition, isEmptyParagraph, isInLayoutColumn, removeBlockMarks, filterChildrenBetween, } from './editor-core-utils';
|
|
14
14
|
export { withImageLoader } from './imageLoader';
|
|
15
|
-
export type { ImageLoaderProps, ImageLoaderState, ImageStatus
|
|
15
|
+
export type { ImageLoaderProps, ImageLoaderState, ImageStatus } from './imageLoader';
|
|
16
16
|
export { absoluteBreakoutWidth, calcBreakoutWidth, calcWideWidth, breakoutConsts, calculateBreakoutStyles, calcBreakoutWidthPx, getNextBreakoutMode, getTitle, } from './breakout';
|
|
17
17
|
export { findChangedNodesFromTransaction, validNode, validateNodes, isType, isParagraph, isText, isLinkMark, SelectedState, isNodeSelectedOrInRange, isSupportedInParent, isMediaNode, isNodeBeforeMediaNode, } from './nodes';
|
|
18
18
|
export type { Reducer } from './plugin-state-factory';
|
|
19
19
|
export { pluginFactory } from './plugin-state-factory';
|
|
20
|
-
export { getFragmentBackingArray, mapFragment, mapSlice, flatmap, mapChildren
|
|
20
|
+
export { getFragmentBackingArray, mapFragment, mapSlice, flatmap, mapChildren } from './slice';
|
|
21
21
|
export type { FlatMapCallback, MapWithCallback } from './slice';
|
|
22
22
|
export { walkUpTreeUntil, unwrap, removeNestedEmptyEls, containsClassName, closest, closestElement, parsePx, mapElem, maphElem, } from './dom';
|
|
23
23
|
export type { MapCallback } from './dom';
|
|
@@ -25,7 +25,7 @@ export { default as ADFTraversor } from './traversor';
|
|
|
25
25
|
export { analyticsEventKey, getAnalyticsAppearance, getAnalyticsEditorAppearance, getAnalyticsEventSeverity, SEVERITY, getUnsupportedContentLevelData, UNSUPPORTED_CONTENT_LEVEL_SEVERITY, UNSUPPORTED_CONTENT_LEVEL_SEVERITY_THRESHOLD_DEFAULTS, } from './analytics';
|
|
26
26
|
export type { UnsupportedContentTooltipPayload, UnsupportedContentPayload, UnsupportedContentLevelsTracking, } from './analytics';
|
|
27
27
|
export { findAndTrackUnsupportedContentNodes } from './track-unsupported-content';
|
|
28
|
-
export { getDistortedDurationMonitor, measureRender
|
|
28
|
+
export { getDistortedDurationMonitor, measureRender } from './performance/measure-render';
|
|
29
29
|
export { startMeasure, stopMeasure, clearMeasure } from './performance/measure';
|
|
30
30
|
export { measureTTI, getTTISeverity, TTI_SEVERITY_THRESHOLD_DEFAULTS, TTI_FROM_INVOCATION_SEVERITY_THRESHOLD_DEFAULTS, } from './performance/measure-tti';
|
|
31
31
|
export { isPerformanceAPIAvailable, isPerformanceObserverAvailable, } from './performance/is-performance-api-available';
|
|
@@ -43,7 +43,7 @@ export { getPerformanceOptions, startMeasureReactNodeViewRendered, stopMeasureRe
|
|
|
43
43
|
export type { UserBrowserExtensionResults } from './browser-extensions';
|
|
44
44
|
export { sniffUserBrowserExtensions } from './browser-extensions';
|
|
45
45
|
export { RenderCountProfiler, PROFILER_KEY } from './profiler/render-count';
|
|
46
|
-
export { validateADFEntity, validationErrorHandler
|
|
46
|
+
export { validateADFEntity, validationErrorHandler } from './validate-using-spec';
|
|
47
47
|
export { getShallowPropsDifference, getPropsDifference } from './compare-props';
|
|
48
48
|
export type { ShallowPropsDifference, PropsDifference } from './compare-props';
|
|
49
49
|
export { useComponentRenderTracking } from './performance/hooks/use-component-render-tracking';
|
|
@@ -61,11 +61,11 @@ export { sanitizeNodeForPrivacy } from './filter/privacy-filter';
|
|
|
61
61
|
export { canRenderDatasource, getDatasourceType } from './datasource';
|
|
62
62
|
export { filterCommand, isEmptySelectionAtStart, isEmptySelectionAtEnd, insertContentDeleteRange, deleteEmptyParagraphAndMoveBlockUp, insertNewLineWithAnalytics, createNewParagraphAbove, createNewParagraphBelow, createParagraphNear, walkNextNode, walkPrevNode, } from './commands';
|
|
63
63
|
export type { WalkNode } from './commands';
|
|
64
|
-
export { GUTTER_SELECTOR, GUTTER_SIZE_IN_PX, GUTTER_SIZE_MOBILE_IN_PX
|
|
64
|
+
export { GUTTER_SELECTOR, GUTTER_SIZE_IN_PX, GUTTER_SIZE_MOBILE_IN_PX } from './scroll-gutter';
|
|
65
65
|
export { getTimeSince } from './performance/get-performance-timing';
|
|
66
66
|
export { countNodes } from './count-nodes';
|
|
67
67
|
export declare function shallowEqual(obj1?: any, obj2?: any): boolean;
|
|
68
|
-
export { inputRuleWithAnalytics, createWrappingJoinRule, createRule
|
|
68
|
+
export { inputRuleWithAnalytics, createWrappingJoinRule, createRule } from './input-rules';
|
|
69
69
|
export declare function isSelectionInsideLastNodeInDocument(selection: Selection): boolean;
|
|
70
70
|
export declare const isInListItem: (state: EditorState) => boolean;
|
|
71
71
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { getMarksByOrder, getValidContent, getValidDocument, getValidMark, getValidNode, getValidUnknownNode, isSameMark, isSubSupType, markOrder, ADFStages, } from './utils/validator';
|
|
2
|
-
export type { ADDoc, ADFStage, ADMark, ADMarkSimple, ADNode
|
|
2
|
+
export type { ADDoc, ADFStage, ADMark, ADMarkSimple, ADNode } from './utils/validator';
|