@atlaskit/editor-common 81.1.5 → 81.2.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 +21 -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/mark/commands.js +64 -15
- package/dist/cjs/mark/index.js +6 -0
- 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/mark/commands.js +54 -1
- package/dist/es2019/mark/index.js +1 -1
- 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/mark/commands.js +61 -14
- package/dist/esm/mark/index.js +1 -1
- 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/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/commands.d.ts +5 -0
- package/dist/types/mark/index.d.ts +2 -2
- 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 +1 -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/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/commands.d.ts +5 -0
- package/dist/types-ts4.5/mark/index.d.ts +2 -2
- 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 +1 -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 +7 -6
- package/report.api.md +6 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange
|
|
1
|
+
export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange } from './types';
|
|
2
2
|
export type { Extension, ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionHandler, ExtensionHandlers, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleNode, ExtensionModuleNodes, ExtensionModules, ExtensionParams, ExtensionProvider, ExtensionQuickInsertModule, ExtensionType, ExtensionToolbarButton, ContextualToolbar, ToolbarItem, Icon, MaybeADFEntity, MenuItem, MenuItemMap, UpdateExtension, Parameters, ParametersWithDuplicateFields, BooleanField, CustomField, CustomFieldResolver, UserFieldContext, UserField, UserFieldContextProvider, ColorField, DateField, DateRangeField, DateRangeResult, EnumField, EnumCheckboxField, EnumRadioField, EnumSelectField, ExpandField, FieldDefinition, DynamicFieldDefinitions, Fieldset, GroupingField, NativeField, NestedFieldDefinition, NumberField, Option, StringField, StringOneLineField, StringMultilineField, TabGroupField, TabField, FieldHandlerLink, OnSaveCallback, ExtensionAPI, TransformBefore, TransformAfter, ReferenceEntity, MultiBodiedExtensionActions, ParametersGetter, AsyncParametersGetter, } from './types';
|
|
3
3
|
export { getExtensionKeyAndNodeKey, resolveImport } from './manifest-helpers';
|
|
4
4
|
export { default as DefaultExtensionProvider } from './default-extension-provider';
|
|
@@ -2,7 +2,7 @@ export type { ExtensionParams, ExtensionHandler, UpdateExtension, Extension, Ext
|
|
|
2
2
|
export type { ExtensionProvider } from './extension-provider';
|
|
3
3
|
export type { ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleAutoConvert, ExtensionModuleNode, ExtensionModuleNodes, ExtensionModuleType, ExtensionModules, ExtensionQuickInsertModule, ExtensionType, CustomFieldResolver, UserFieldContextProvider, Icon, MaybeADFEntity, Deserializer, Serializer, DynamicFieldDefinitions, } from './extension-manifest';
|
|
4
4
|
export type { ContextualToolbar, ToolbarItem, ExtensionToolbarButton, } from './extension-manifest-toolbar-item';
|
|
5
|
-
export type { Parameters, ParametersWithDuplicateFields
|
|
5
|
+
export type { Parameters, ParametersWithDuplicateFields } from './extension-parameters';
|
|
6
6
|
export type { MenuItem, MenuItemMap } from './utils';
|
|
7
|
-
export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange
|
|
7
|
+
export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange } from './field-definitions';
|
|
8
8
|
export type { BooleanField, CustomField, ColorField, DateField, DateRangeField, DateRangeResult, EnumField, EnumCheckboxField, EnumRadioField, EnumSelectField, ExpandField, FieldDefinition, Fieldset, GroupingField, NativeField, NestedFieldDefinition, NumberField, Option, StringField, StringOneLineField, StringMultilineField, TabGroupField, TabField, UserField, UserFieldContext, FieldHandlerLink, } from './field-definitions';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { generateDynamicGuidelines } from './dynamicGuideline';
|
|
2
|
-
export { createFixedGuidelinesFromLengths, createGuidesFromLengths
|
|
2
|
+
export { createFixedGuidelinesFromLengths, createGuidesFromLengths } from './fixedGuideline';
|
|
3
3
|
export { generateDefaultGuidelines } from './defaultGuideline';
|
|
4
4
|
export { getGuidelinesWithHighlights } from './updateGuideline';
|
|
5
|
-
export { MEDIA_DYNAMIC_GUIDELINE_PREFIX, INNER_GRID_GUIDELINE_PREFIX
|
|
5
|
+
export { MEDIA_DYNAMIC_GUIDELINE_PREFIX, INNER_GRID_GUIDELINE_PREFIX } from './constants';
|
|
6
6
|
export type { WidthTypes, Position, GuidelineStyles, GuidelineConfig, GuidelineContainerRect, GuidelinePluginState, GuidelinePluginOptions, DisplayGuideline, DisplayGrid, VerticalPosition, HorizontalPosition, RelativeGuides, GuidelineSnap, GuidelineSnapsReference, GuidelineTypes, } from './types';
|
|
7
7
|
export { getGuidelineSnaps, findClosestSnap } from './snapping';
|
|
8
8
|
export { isVerticalPosition, getMediaSingleDimensions, getContainerWidthOrFullEditorWidth, getGuidelineTypeFromKey, } from './utils';
|
|
9
|
-
export { getRelativeGuideSnaps, getRelativeGuidelines
|
|
9
|
+
export { getRelativeGuideSnaps, getRelativeGuidelines } from './relativeGuideline';
|
|
@@ -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;
|
|
@@ -243,6 +243,7 @@ declare const _default: {
|
|
|
243
243
|
'fabric.editor.info': string;
|
|
244
244
|
'fabric.editor.infoPanel': string;
|
|
245
245
|
'fabric.editor.infoPanel.description': string;
|
|
246
|
+
'fabric.editor.inlineConfigureLink': string;
|
|
246
247
|
'fabric.editor.inlineDescription': string;
|
|
247
248
|
'fabric.editor.inlineOverlay': string;
|
|
248
249
|
'fabric.editor.inlineTitle': string;
|
|
@@ -243,6 +243,7 @@ declare const _default: {
|
|
|
243
243
|
'fabric.editor.info': string;
|
|
244
244
|
'fabric.editor.infoPanel': string;
|
|
245
245
|
'fabric.editor.infoPanel.description': string;
|
|
246
|
+
'fabric.editor.inlineConfigureLink': string;
|
|
246
247
|
'fabric.editor.inlineDescription': string;
|
|
247
248
|
'fabric.editor.inlineOverlay': string;
|
|
248
249
|
'fabric.editor.inlineTitle': string;
|
|
@@ -243,6 +243,7 @@ declare const _default: {
|
|
|
243
243
|
'fabric.editor.info': string;
|
|
244
244
|
'fabric.editor.infoPanel': string;
|
|
245
245
|
'fabric.editor.infoPanel.description': string;
|
|
246
|
+
'fabric.editor.inlineConfigureLink': string;
|
|
246
247
|
'fabric.editor.inlineDescription': string;
|
|
247
248
|
'fabric.editor.inlineOverlay': string;
|
|
248
249
|
'fabric.editor.inlineTitle': 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;
|
|
@@ -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 {};
|
|
@@ -5,6 +5,11 @@ export declare function filterChildrenBetween(doc: PMNode, from: number, to: num
|
|
|
5
5
|
node: PMNode;
|
|
6
6
|
pos: number;
|
|
7
7
|
}[];
|
|
8
|
+
export declare function transformNonTextNodesToText(from: number, to: number, tr: Transaction): void;
|
|
9
|
+
/**
|
|
10
|
+
* @private
|
|
11
|
+
* @deprecated Use {@link transformNonTextNodesToText} instead.
|
|
12
|
+
*/
|
|
8
13
|
export declare const transformSmartCharsMentionsAndEmojis: (from: number, to: number, tr: Transaction) => void;
|
|
9
14
|
export declare const applyMarkOnRange: (from: number, to: number, removeMark: boolean, mark: Mark, tr: Transaction) => Transaction;
|
|
10
15
|
export declare const entireSelectionContainsMark: (mark: Mark | MarkType, doc: PMNode, fromPos: number, toPos: number) => boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { transformSmartCharsMentionsAndEmojis, applyMarkOnRange, filterChildrenBetween, toggleMark, removeMark, entireSelectionContainsMark, } from './commands';
|
|
2
|
-
export { anyMarkActive, isMarkAllowedInRange, isMarkExcluded
|
|
1
|
+
export { transformSmartCharsMentionsAndEmojis, transformNonTextNodesToText, applyMarkOnRange, filterChildrenBetween, toggleMark, removeMark, entireSelectionContainsMark, } from './commands';
|
|
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,6 +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
|
|
3
|
+
import type { INPUT_METHOD } from '../analytics/types/enums';
|
|
4
4
|
import type { TypeAheadItem } from '../types/type-ahead';
|
|
5
5
|
export type QuickInsertActionInsert = (node?: Node | Record<string, any> | string, opts?: {
|
|
6
6
|
selectInlineNode?: boolean;
|
|
@@ -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 {};
|