@atlaskit/editor-common 76.6.0 → 76.8.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 +12 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/selection/gap-cursor/actions.js +92 -0
- package/dist/cjs/selection/gap-cursor/styles.js +17 -0
- package/dist/cjs/selection/index.js +26 -0
- package/dist/cjs/types/insert-block.js +5 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/editor-core-utils.js +16 -1
- package/dist/cjs/utils/index.js +12 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/selection/gap-cursor/actions.js +84 -0
- package/dist/es2019/selection/gap-cursor/styles.js +145 -0
- package/dist/es2019/selection/index.js +2 -0
- package/dist/es2019/types/insert-block.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/editor-core-utils.js +17 -1
- package/dist/es2019/utils/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/selection/gap-cursor/actions.js +87 -0
- package/dist/esm/selection/gap-cursor/styles.js +10 -0
- package/dist/esm/selection/index.js +2 -0
- package/dist/esm/types/insert-block.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/editor-core-utils.js +13 -1
- package/dist/esm/utils/index.js +1 -1
- package/dist/types/selection/gap-cursor/actions.d.ts +11 -0
- package/dist/types/selection/gap-cursor/styles.d.ts +2 -0
- package/dist/types/selection/index.d.ts +3 -1
- package/dist/types/selection/types.d.ts +5 -4
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/insert-block.d.ts +2 -0
- package/dist/types/ui/DropList/index.d.ts +1 -1
- package/dist/types/utils/editor-core-utils.d.ts +7 -4
- package/dist/types/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/collection.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/index.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/types.d.ts +0 -4
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/cases/types.d.ts +0 -7
- package/dist/types-ts4.5/__tests_external__/index.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/page-objects/Editor.d.ts +0 -9
- package/dist/types-ts4.5/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -40
- package/dist/types-ts4.5/__tests_external__/page-objects/Renderer.d.ts +0 -6
- package/dist/types-ts4.5/analytics/analytics-queue.d.ts +0 -10
- package/dist/types-ts4.5/analytics/api.d.ts +0 -5
- package/dist/types-ts4.5/analytics/fire-analytics-event.d.ts +0 -4
- package/dist/types-ts4.5/analytics/index.d.ts +0 -7
- package/dist/types-ts4.5/analytics/linking-utils.d.ts +0 -14
- package/dist/types-ts4.5/analytics/types/avatar.d.ts +0 -5
- package/dist/types-ts4.5/analytics/types/block.d.ts +0 -3
- package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +0 -17
- package/dist/types-ts4.5/analytics/types/cut-copy-events.d.ts +0 -12
- package/dist/types-ts4.5/analytics/types/date-events.d.ts +0 -17
- package/dist/types-ts4.5/analytics/types/dispatch-analytics-event.d.ts +0 -2
- package/dist/types-ts4.5/analytics/types/element-browser-events.d.ts +0 -11
- package/dist/types-ts4.5/analytics/types/enums.d.ts +0 -357
- package/dist/types-ts4.5/analytics/types/events.d.ts +0 -130
- package/dist/types-ts4.5/analytics/types/experimental-events.d.ts +0 -16
- package/dist/types-ts4.5/analytics/types/extension-events.d.ts +0 -37
- package/dist/types-ts4.5/analytics/types/find-replace-events.d.ts +0 -23
- package/dist/types-ts4.5/analytics/types/format-events.d.ts +0 -49
- package/dist/types-ts4.5/analytics/types/general-events.d.ts +0 -182
- package/dist/types-ts4.5/analytics/types/index.d.ts +0 -36
- package/dist/types-ts4.5/analytics/types/inline-comment-events.d.ts +0 -17
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +0 -128
- package/dist/types-ts4.5/analytics/types/link-tool-bar-events.d.ts +0 -76
- package/dist/types-ts4.5/analytics/types/list-events.d.ts +0 -66
- package/dist/types-ts4.5/analytics/types/media-events.d.ts +0 -35
- package/dist/types-ts4.5/analytics/types/node-events.d.ts +0 -56
- package/dist/types-ts4.5/analytics/types/paste-events.d.ts +0 -39
- package/dist/types-ts4.5/analytics/types/performance-report.d.ts +0 -24
- package/dist/types-ts4.5/analytics/types/referentiality-events.d.ts +0 -52
- package/dist/types-ts4.5/analytics/types/selection-events.d.ts +0 -21
- package/dist/types-ts4.5/analytics/types/smart-links.d.ts +0 -14
- package/dist/types-ts4.5/analytics/types/substitute-events.d.ts +0 -26
- package/dist/types-ts4.5/analytics/types/table-events.d.ts +0 -142
- package/dist/types-ts4.5/analytics/types/toolbar-button.d.ts +0 -22
- package/dist/types-ts4.5/analytics/types/type-ahead.d.ts +0 -27
- package/dist/types-ts4.5/analytics/types/utils.d.ts +0 -46
- package/dist/types-ts4.5/analytics/utils.d.ts +0 -3
- package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +0 -16
- package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +0 -11
- package/dist/types-ts4.5/card/cardOptions.d.ts +0 -13
- package/dist/types-ts4.5/card/index.d.ts +0 -7
- package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +0 -5
- package/dist/types-ts4.5/card/types.d.ts +0 -27
- package/dist/types-ts4.5/card/ui/assets/card.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/assets/embed.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/assets/inline.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/assets/url.d.ts +0 -3
- package/dist/types-ts4.5/card/utils.d.ts +0 -18
- package/dist/types-ts4.5/clipboard/index.d.ts +0 -6
- package/dist/types-ts4.5/collab/index.d.ts +0 -379
- package/dist/types-ts4.5/commands/index.d.ts +0 -21
- package/dist/types-ts4.5/commands/insert-block.d.ts +0 -5
- package/dist/types-ts4.5/copy-button/index.d.ts +0 -7
- package/dist/types-ts4.5/core-utils/index.d.ts +0 -1
- package/dist/types-ts4.5/core-utils/inside.d.ts +0 -2
- package/dist/types-ts4.5/editor-analytics/index.d.ts +0 -1
- package/dist/types-ts4.5/editor-analytics/withAnalytics.d.ts +0 -34
- package/dist/types-ts4.5/element-browser/ElementBrowser.d.ts +0 -37
- package/dist/types-ts4.5/element-browser/ViewMore.d.ts +0 -6
- package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +0 -10
- package/dist/types-ts4.5/element-browser/components/ElementBrowserLoader.d.ts +0 -6
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +0 -33
- package/dist/types-ts4.5/element-browser/components/ElementList/EmptyState.d.ts +0 -6
- package/dist/types-ts4.5/element-browser/components/ElementList/NotFoundIllustration.d.ts +0 -2
- package/dist/types-ts4.5/element-browser/components/ElementList/cellSizeAndPositionGetter.d.ts +0 -7
- package/dist/types-ts4.5/element-browser/components/ElementList/utils.d.ts +0 -12
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +0 -18
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +0 -23
- package/dist/types-ts4.5/element-browser/constants.d.ts +0 -19
- package/dist/types-ts4.5/element-browser/hooks/use-container-width.d.ts +0 -33
- package/dist/types-ts4.5/element-browser/hooks/use-focus.d.ts +0 -35
- package/dist/types-ts4.5/element-browser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +0 -72
- package/dist/types-ts4.5/element-browser/index.d.ts +0 -2
- package/dist/types-ts4.5/element-browser/types.d.ts +0 -12
- package/dist/types-ts4.5/emoji.d.ts +0 -3
- package/dist/types-ts4.5/event-dispatcher/index.d.ts +0 -21
- package/dist/types-ts4.5/extensions/combine-extension-providers.d.ts +0 -7
- package/dist/types-ts4.5/extensions/default-extension-provider.d.ts +0 -17
- package/dist/types-ts4.5/extensions/extension-fields-helpers.d.ts +0 -10
- package/dist/types-ts4.5/extensions/extension-handlers.d.ts +0 -13
- package/dist/types-ts4.5/extensions/index.d.ts +0 -8
- package/dist/types-ts4.5/extensions/manifest-helpers.d.ts +0 -9
- package/dist/types-ts4.5/extensions/module-helpers.d.ts +0 -11
- package/dist/types-ts4.5/extensions/types/extension-handler.d.ts +0 -40
- package/dist/types-ts4.5/extensions/types/extension-manifest-common.d.ts +0 -8
- package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +0 -45
- package/dist/types-ts4.5/extensions/types/extension-manifest.d.ts +0 -101
- package/dist/types-ts4.5/extensions/types/extension-parameters.d.ts +0 -5
- package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +0 -8
- package/dist/types-ts4.5/extensions/types/field-definitions.d.ts +0 -171
- package/dist/types-ts4.5/extensions/types/index.d.ts +0 -8
- package/dist/types-ts4.5/extensions/types/utils.d.ts +0 -18
- package/dist/types-ts4.5/extensions.d.ts +0 -2
- package/dist/types-ts4.5/floating-toolbar/index.d.ts +0 -6
- package/dist/types-ts4.5/guideline/constants.d.ts +0 -2
- package/dist/types-ts4.5/guideline/defaultGuideline.d.ts +0 -2
- package/dist/types-ts4.5/guideline/dynamicGuideline.d.ts +0 -6
- package/dist/types-ts4.5/guideline/fixedGuideline.d.ts +0 -32
- package/dist/types-ts4.5/guideline/index.d.ts +0 -9
- package/dist/types-ts4.5/guideline/relativeGuideline.d.ts +0 -8
- package/dist/types-ts4.5/guideline/snapping.d.ts +0 -19
- package/dist/types-ts4.5/guideline/types.d.ts +0 -67
- package/dist/types-ts4.5/guideline/updateGuideline.d.ts +0 -5
- package/dist/types-ts4.5/guideline/utils.d.ts +0 -27
- package/dist/types-ts4.5/hooks/index.d.ts +0 -3
- package/dist/types-ts4.5/hooks/useConstructor.d.ts +0 -9
- package/dist/types-ts4.5/hooks/usePreviousState.d.ts +0 -11
- package/dist/types-ts4.5/hooks/useSharedPluginState.d.ts +0 -68
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -211
- package/dist/types-ts4.5/i18n/da.d.ts +0 -211
- package/dist/types-ts4.5/i18n/de.d.ts +0 -211
- package/dist/types-ts4.5/i18n/en.d.ts +0 -211
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -211
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -211
- package/dist/types-ts4.5/i18n/es.d.ts +0 -211
- package/dist/types-ts4.5/i18n/et.d.ts +0 -8
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -211
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -211
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -211
- package/dist/types-ts4.5/i18n/index.d.ts +0 -32
- package/dist/types-ts4.5/i18n/it.d.ts +0 -211
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -211
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -211
- package/dist/types-ts4.5/i18n/languages.d.ts +0 -35
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -211
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -211
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -211
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -211
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -8
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -211
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -8
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -211
- package/dist/types-ts4.5/i18n/th.d.ts +0 -211
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -211
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -211
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -211
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -211
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -211
- package/dist/types-ts4.5/icons/index.d.ts +0 -10
- package/dist/types-ts4.5/icons/shared/BorderIcon.d.ts +0 -3
- package/dist/types-ts4.5/icons/shared/PanelErrorIcon.d.ts +0 -3
- package/dist/types-ts4.5/icons/shared/PanelInfoIcon.d.ts +0 -3
- package/dist/types-ts4.5/icons/shared/PanelNoteIcon.d.ts +0 -3
- package/dist/types-ts4.5/icons/shared/PanelSuccessIcon.d.ts +0 -3
- package/dist/types-ts4.5/icons/shared/PanelWarningIcon.d.ts +0 -3
- package/dist/types-ts4.5/icons/shared/table.d.ts +0 -2
- package/dist/types-ts4.5/in-product.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -1
- package/dist/types-ts4.5/insert/index.d.ts +0 -26
- package/dist/types-ts4.5/keymaps/consts.d.ts +0 -12
- package/dist/types-ts4.5/keymaps/index.d.ts +0 -97
- package/dist/types-ts4.5/keymaps/keymap.d.ts +0 -11
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +0 -23
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +0 -2
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +0 -115
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +0 -21
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/messages.d.ts +0 -32
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/utils.d.ts +0 -8
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchList.d.ts +0 -20
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +0 -22
- package/dist/types-ts4.5/link/LinkSearch/ToolbarComponents.d.ts +0 -3
- package/dist/types-ts4.5/link/LinkSearch/index.d.ts +0 -59
- package/dist/types-ts4.5/link/LinkSearch/listItemAlts.d.ts +0 -2
- package/dist/types-ts4.5/link/LinkSearch/transformTimeStamp.d.ts +0 -10
- package/dist/types-ts4.5/link/LinkSearch/types.d.ts +0 -49
- package/dist/types-ts4.5/link/LinkSearch/withActivityProvider.d.ts +0 -66
- package/dist/types-ts4.5/link/index.d.ts +0 -16
- package/dist/types-ts4.5/link/types.d.ts +0 -40
- package/dist/types-ts4.5/link/utils.d.ts +0 -3
- package/dist/types-ts4.5/lists/analytics.d.ts +0 -4
- package/dist/types-ts4.5/lists/indentation.d.ts +0 -5
- package/dist/types-ts4.5/lists/index.d.ts +0 -6
- package/dist/types-ts4.5/lists/node.d.ts +0 -18
- package/dist/types-ts4.5/lists/replace-content.d.ts +0 -8
- package/dist/types-ts4.5/lists/selection.d.ts +0 -13
- package/dist/types-ts4.5/mark/commands.d.ts +0 -18
- package/dist/types-ts4.5/mark/index.d.ts +0 -2
- package/dist/types-ts4.5/mark/text-formatting.d.ts +0 -8
- package/dist/types-ts4.5/media-single/constants.d.ts +0 -22
- package/dist/types-ts4.5/media-single/index.d.ts +0 -2
- package/dist/types-ts4.5/media-single/utils.d.ts +0 -92
- package/dist/types-ts4.5/mention.d.ts +0 -2
- package/dist/types-ts4.5/messages/alignment.d.ts +0 -17
- package/dist/types-ts4.5/messages/annotation.d.ts +0 -17
- package/dist/types-ts4.5/messages/block-type.d.ts +0 -152
- package/dist/types-ts4.5/messages/card.d.ts +0 -87
- package/dist/types-ts4.5/messages/codeBidiWarning.d.ts +0 -11
- package/dist/types-ts4.5/messages/codeBlockButton.d.ts +0 -22
- package/dist/types-ts4.5/messages/full-page.d.ts +0 -17
- package/dist/types-ts4.5/messages/index.d.ts +0 -138
- package/dist/types-ts4.5/messages/insert-block.d.ts +0 -172
- package/dist/types-ts4.5/messages/link-toolbar.d.ts +0 -57
- package/dist/types-ts4.5/messages/link.d.ts +0 -7
- package/dist/types-ts4.5/messages/list.d.ts +0 -27
- package/dist/types-ts4.5/messages/media-and-embed-toolbar.d.ts +0 -12
- package/dist/types-ts4.5/messages/toolbar.d.ts +0 -92
- package/dist/types-ts4.5/messages/undo-redo.d.ts +0 -12
- package/dist/types-ts4.5/messages/unsupportedContent.d.ts +0 -17
- package/dist/types-ts4.5/monitoring/error.d.ts +0 -4
- package/dist/types-ts4.5/monitoring/index.d.ts +0 -1
- package/dist/types-ts4.5/node-width/index.d.ts +0 -15
- package/dist/types-ts4.5/normalize-feature-flags.d.ts +0 -27
- package/dist/types-ts4.5/panel.d.ts +0 -1
- package/dist/types-ts4.5/paste/clipboard.d.ts +0 -2
- package/dist/types-ts4.5/paste/index.d.ts +0 -2
- package/dist/types-ts4.5/paste/md-plugins/ignore-list-heading-md-plugin.d.ts +0 -2
- package/dist/types-ts4.5/paste/md-plugins/linkify-md-plugin.d.ts +0 -2
- package/dist/types-ts4.5/paste/md-plugins/newline-md-plugin.d.ts +0 -2
- package/dist/types-ts4.5/paste/md-plugins/paragraph-md-plugin.d.ts +0 -2
- package/dist/types-ts4.5/paste/md.d.ts +0 -2
- package/dist/types-ts4.5/preset/builder.d.ts +0 -36
- package/dist/types-ts4.5/preset/core-plugin.d.ts +0 -22
- package/dist/types-ts4.5/preset/editor-commands.d.ts +0 -21
- package/dist/types-ts4.5/preset/index.d.ts +0 -3
- package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +0 -53
- package/dist/types-ts4.5/provider-factory/autoformatting-provider.d.ts +0 -9
- package/dist/types-ts4.5/provider-factory/card-provider.d.ts +0 -7
- package/dist/types-ts4.5/provider-factory/context-identifier-provider.d.ts +0 -6
- package/dist/types-ts4.5/provider-factory/context.d.ts +0 -6
- package/dist/types-ts4.5/provider-factory/image-upload-provider.d.ts +0 -7
- package/dist/types-ts4.5/provider-factory/macro-provider.d.ts +0 -25
- package/dist/types-ts4.5/provider-factory/media-provider.d.ts +0 -15
- package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +0 -6
- package/dist/types-ts4.5/provider-factory/provider-factory.d.ts +0 -17
- package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +0 -30
- package/dist/types-ts4.5/provider-factory/search-provider.d.ts +0 -12
- package/dist/types-ts4.5/provider-factory/types.d.ts +0 -37
- package/dist/types-ts4.5/provider-factory/with-providers.d.ts +0 -18
- package/dist/types-ts4.5/provider-factory.d.ts +0 -13
- package/dist/types-ts4.5/provider-helpers/combine-providers.d.ts +0 -9
- package/dist/types-ts4.5/provider-helpers/index.d.ts +0 -1
- package/dist/types-ts4.5/provider-helpers/promise-helpers.d.ts +0 -32
- package/dist/types-ts4.5/quick-insert/assets/action.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/code.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/custom-panel.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/datasource-assets-objects.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/datasource-jira-issue.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/date.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/decision.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/divider.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/emoji.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/expand.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/fallback.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/feedback.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/heading1.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/heading2.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/heading3.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/heading4.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/heading5.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/heading6.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/images.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/index.d.ts +0 -32
- package/dist/types-ts4.5/quick-insert/assets/layout.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/link.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/list-number.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/list.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/mention.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/panel-error.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/panel-note.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/panel-success.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/panel-warning.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/panel.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/quote.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/assets/status.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/index.d.ts +0 -2
- package/dist/types-ts4.5/quick-insert/use-icon-themed.d.ts +0 -9
- package/dist/types-ts4.5/quick-insert/utils.d.ts +0 -7
- package/dist/types-ts4.5/react-node-view/getInlineNodeViewProducer.d.ts +0 -20
- package/dist/types-ts4.5/react-node-view/index.d.ts +0 -56
- package/dist/types-ts4.5/react-node-view/types.d.ts +0 -12
- package/dist/types-ts4.5/resizer/Resizer.d.ts +0 -52
- package/dist/types-ts4.5/resizer/index.d.ts +0 -2
- package/dist/types-ts4.5/resizer/types.d.ts +0 -28
- package/dist/types-ts4.5/resizer/utils.d.ts +0 -6
- package/dist/types-ts4.5/safe-plugin/index.d.ts +0 -6
- package/dist/types-ts4.5/selection/gap-cursor/selection.d.ts +0 -41
- package/dist/types-ts4.5/selection/gap-cursor/utils/index.d.ts +0 -2
- package/dist/types-ts4.5/selection/gap-cursor/utils/is-ignored.d.ts +0 -2
- package/dist/types-ts4.5/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -2
- package/dist/types-ts4.5/selection/gap-cursor/utils/setGapCursorSelection.d.ts +0 -3
- package/dist/types-ts4.5/selection/index.d.ts +0 -29
- package/dist/types-ts4.5/selection/types.d.ts +0 -32
- package/dist/types-ts4.5/selection/utils.d.ts +0 -11
- package/dist/types-ts4.5/selection-based-node-view/SelectionBasedNodeView.d.ts +0 -49
- package/dist/types-ts4.5/selection-based-node-view/index.d.ts +0 -1
- package/dist/types-ts4.5/styles/index.d.ts +0 -32
- package/dist/types-ts4.5/styles/shared/annotation.d.ts +0 -12
- package/dist/types-ts4.5/styles/shared/block-marks.d.ts +0 -1
- package/dist/types-ts4.5/styles/shared/blockquote.d.ts +0 -1
- package/dist/types-ts4.5/styles/shared/code-block.d.ts +0 -12
- package/dist/types-ts4.5/styles/shared/code-mark.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/column-layout.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/date.d.ts +0 -5
- package/dist/types-ts4.5/styles/shared/dropdown-menu.d.ts +0 -4
- package/dist/types-ts4.5/styles/shared/embedCard.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/emoji.d.ts +0 -7
- package/dist/types-ts4.5/styles/shared/expand.d.ts +0 -1
- package/dist/types-ts4.5/styles/shared/extension.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/grid.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/headings.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/indentation.d.ts +0 -1
- package/dist/types-ts4.5/styles/shared/layout.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/link.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/lists.d.ts +0 -4
- package/dist/types-ts4.5/styles/shared/media-single.d.ts +0 -3
- package/dist/types-ts4.5/styles/shared/media.d.ts +0 -3
- package/dist/types-ts4.5/styles/shared/mention.d.ts +0 -3
- package/dist/types-ts4.5/styles/shared/panel.d.ts +0 -85
- package/dist/types-ts4.5/styles/shared/paragraph.d.ts +0 -1
- package/dist/types-ts4.5/styles/shared/plugins.d.ts +0 -4
- package/dist/types-ts4.5/styles/shared/resizer.d.ts +0 -9
- package/dist/types-ts4.5/styles/shared/rule.d.ts +0 -2
- package/dist/types-ts4.5/styles/shared/shadow.d.ts +0 -15
- package/dist/types-ts4.5/styles/shared/smart-card.d.ts +0 -8
- package/dist/types-ts4.5/styles/shared/smartCard.d.ts +0 -3
- package/dist/types-ts4.5/styles/shared/status.d.ts +0 -4
- package/dist/types-ts4.5/styles/shared/table.d.ts +0 -35
- package/dist/types-ts4.5/styles/shared/tableCell.d.ts +0 -1
- package/dist/types-ts4.5/styles/shared/task-decision.d.ts +0 -6
- package/dist/types-ts4.5/styles/shared/text-color.d.ts +0 -1
- package/dist/types-ts4.5/styles/shared/unsupported-content.d.ts +0 -5
- package/dist/types-ts4.5/styles/shared/whitespace.d.ts +0 -2
- package/dist/types-ts4.5/transforms/expand.d.ts +0 -5
- package/dist/types-ts4.5/transforms/extension.d.ts +0 -6
- package/dist/types-ts4.5/transforms/index.d.ts +0 -3
- package/dist/types-ts4.5/transforms/layout.d.ts +0 -15
- package/dist/types-ts4.5/type-ahead/index.d.ts +0 -12
- package/dist/types-ts4.5/types/annotation/emitter.d.ts +0 -33
- package/dist/types-ts4.5/types/annotation/index.d.ts +0 -85
- package/dist/types-ts4.5/types/block-type.d.ts +0 -4
- package/dist/types-ts4.5/types/breakout.d.ts +0 -1
- package/dist/types-ts4.5/types/command.d.ts +0 -6
- package/dist/types-ts4.5/types/context-panel.d.ts +0 -3
- package/dist/types-ts4.5/types/copy-button.d.ts +0 -24
- package/dist/types-ts4.5/types/datasource.d.ts +0 -1
- package/dist/types-ts4.5/types/doc-builder.d.ts +0 -26
- package/dist/types-ts4.5/types/editor-actions.d.ts +0 -21
- package/dist/types-ts4.5/types/editor-appearance.d.ts +0 -1
- package/dist/types-ts4.5/types/editor-command.d.ts +0 -5
- package/dist/types-ts4.5/types/editor-container-width.d.ts +0 -19
- package/dist/types-ts4.5/types/editor-plugin.d.ts +0 -92
- package/dist/types-ts4.5/types/editor-public-api.d.ts +0 -4
- package/dist/types-ts4.5/types/editor-react-context.d.ts +0 -6
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +0 -7
- package/dist/types-ts4.5/types/feature-flags.d.ts +0 -311
- package/dist/types-ts4.5/types/floating-toolbar.d.ts +0 -260
- package/dist/types-ts4.5/types/grid.d.ts +0 -1
- package/dist/types-ts4.5/types/hyperlink.d.ts +0 -35
- package/dist/types-ts4.5/types/image-upload-reference-event.d.ts +0 -10
- package/dist/types-ts4.5/types/index.d.ts +0 -51
- package/dist/types-ts4.5/types/input-rules.d.ts +0 -8
- package/dist/types-ts4.5/types/layout.d.ts +0 -6
- package/dist/types-ts4.5/types/next-editor-plugin.d.ts +0 -157
- package/dist/types-ts4.5/types/performance-tracking.d.ts +0 -343
- package/dist/types-ts4.5/types/plugin-factory.d.ts +0 -27
- package/dist/types-ts4.5/types/prosemirror-config.d.ts +0 -14
- package/dist/types-ts4.5/types/quick-insert.d.ts +0 -38
- package/dist/types-ts4.5/types/resizable-media-single.d.ts +0 -15
- package/dist/types-ts4.5/types/selection.d.ts +0 -3
- package/dist/types-ts4.5/types/supported-browsers.d.ts +0 -15
- package/dist/types-ts4.5/types/tables.d.ts +0 -13
- package/dist/types-ts4.5/types/text-formatting.d.ts +0 -36
- package/dist/types-ts4.5/types/toolbar.d.ts +0 -30
- package/dist/types-ts4.5/types/type-ahead.d.ts +0 -72
- package/dist/types-ts4.5/types/ui-components.d.ts +0 -23
- package/dist/types-ts4.5/ufo/experience-store.d.ts +0 -33
- package/dist/types-ts4.5/ufo/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +0 -23
- package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/Caption/index.d.ts +0 -19
- package/dist/types-ts4.5/ui/Caption/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +0 -24
- package/dist/types-ts4.5/ui/DropList/index.d.ts +0 -21
- package/dist/types-ts4.5/ui/Emoji/index.d.ts +0 -22
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +0 -25
- package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +0 -36
- package/dist/types-ts4.5/ui/Expand/index.d.ts +0 -42
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +0 -30
- package/dist/types-ts4.5/ui/FloatingToolbar/Separator.d.ts +0 -4
- package/dist/types-ts4.5/ui/FloatingToolbar/SmallerEditIcon.d.ts +0 -3
- package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +0 -20
- package/dist/types-ts4.5/ui/IntlErrorBoundary/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/IntlProviderIfMissingWrapper/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/Layer/index.d.ts +0 -47
- package/dist/types-ts4.5/ui/Layer/internal/helpers.d.ts +0 -5
- package/dist/types-ts4.5/ui/LinkSearch/const.d.ts +0 -4
- package/dist/types-ts4.5/ui/MediaSingle/grid.d.ts +0 -25
- package/dist/types-ts4.5/ui/MediaSingle/index.d.ts +0 -28
- package/dist/types-ts4.5/ui/MediaSingle/link.d.ts +0 -1
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +0 -57
- package/dist/types-ts4.5/ui/MediaSingle/types.d.ts +0 -12
- package/dist/types-ts4.5/ui/Mention/index.d.ts +0 -21
- package/dist/types-ts4.5/ui/Mention/mention-with-profilecard.d.ts +0 -15
- package/dist/types-ts4.5/ui/Mention/mention-with-providers.d.ts +0 -22
- package/dist/types-ts4.5/ui/Mention/types.d.ts +0 -2
- package/dist/types-ts4.5/ui/Messages/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/OverflowShadow/index.d.ts +0 -103
- package/dist/types-ts4.5/ui/OverflowShadow/shadowObserver.d.ts +0 -27
- package/dist/types-ts4.5/ui/PanelTextInput/index.d.ts +0 -45
- package/dist/types-ts4.5/ui/PanelTextInput/styles.d.ts +0 -2
- package/dist/types-ts4.5/ui/Popup/index.d.ts +0 -85
- package/dist/types-ts4.5/ui/Popup/utils.d.ts +0 -42
- package/dist/types-ts4.5/ui/PortalProvider/PortalProviderThemesProvider.d.ts +0 -6
- package/dist/types-ts4.5/ui/PortalProvider/index.d.ts +0 -51
- package/dist/types-ts4.5/ui/ResizerLegacy/index.d.ts +0 -43
- package/dist/types-ts4.5/ui/ResizerLegacy/styled.d.ts +0 -2
- package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +0 -26
- package/dist/types-ts4.5/ui/ResizerLegacy/utils.d.ts +0 -6
- package/dist/types-ts4.5/ui/Toolbar/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/UnsupportedBlock/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +0 -29
- package/dist/types-ts4.5/ui/WithCreateAnalyticsEvent/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/clear-next-sibling-margin-top.d.ts +0 -2
- package/dist/types-ts4.5/ui/index.d.ts +0 -43
- package/dist/types-ts4.5/ui/unsupported-content-helper.d.ts +0 -3
- package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +0 -8
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +0 -20
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/styles.d.ts +0 -4
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +0 -3
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +0 -3
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/common.d.ts +0 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +0 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/index.d.ts +0 -3
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +0 -123
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.d.ts +0 -1444
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/panelBackgroundPalette.d.ts +0 -4
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +0 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +0 -12
- package/dist/types-ts4.5/ui-color/ColorPalette/index.d.ts +0 -38
- package/dist/types-ts4.5/ui-color/ColorPalette/styles.d.ts +0 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/utils.d.ts +0 -12
- package/dist/types-ts4.5/ui-color/index.d.ts +0 -12
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.d.ts +0 -7
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.d.ts +0 -7
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/index.d.ts +0 -3
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/types.d.ts +0 -36
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +0 -28
- package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +0 -44
- package/dist/types-ts4.5/ui-menu/DropdownContainer/index.d.ts +0 -3
- package/dist/types-ts4.5/ui-menu/DropdownMenu/index.d.ts +0 -22
- package/dist/types-ts4.5/ui-menu/DropdownMenu/types.d.ts +0 -52
- package/dist/types-ts4.5/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +0 -31
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +0 -57
- package/dist/types-ts4.5/ui-menu/ToolbarButton/styles.d.ts +0 -4
- package/dist/types-ts4.5/ui-menu/index.d.ts +0 -11
- package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +0 -8
- package/dist/types-ts4.5/ui-react/index.d.ts +0 -2
- package/dist/types-ts4.5/ui-react/with-react-editor-view-outer-listeners.d.ts +0 -12
- package/dist/types-ts4.5/utils/analytics.d.ts +0 -29
- package/dist/types-ts4.5/utils/annotation/index.d.ts +0 -8
- package/dist/types-ts4.5/utils/breakout.d.ts +0 -50
- package/dist/types-ts4.5/utils/browser-extensions.d.ts +0 -43
- package/dist/types-ts4.5/utils/browser.d.ts +0 -4
- package/dist/types-ts4.5/utils/commands.d.ts +0 -48
- package/dist/types-ts4.5/utils/compare-props.d.ts +0 -32
- package/dist/types-ts4.5/utils/compareNodes.d.ts +0 -49
- package/dist/types-ts4.5/utils/compose.d.ts +0 -30
- package/dist/types-ts4.5/utils/count-nodes.d.ts +0 -8
- package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +0 -15
- package/dist/types-ts4.5/utils/datasource.d.ts +0 -3
- package/dist/types-ts4.5/utils/date.d.ts +0 -18
- package/dist/types-ts4.5/utils/dedupe.d.ts +0 -1
- package/dist/types-ts4.5/utils/document.d.ts +0 -25
- package/dist/types-ts4.5/utils/dom.d.ts +0 -40
- package/dist/types-ts4.5/utils/editor-core-utils.d.ts +0 -34
- package/dist/types-ts4.5/utils/error-reporter.d.ts +0 -13
- package/dist/types-ts4.5/utils/extension-handler.d.ts +0 -2
- package/dist/types-ts4.5/utils/filter/privacy-filter.d.ts +0 -9
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +0 -16
- package/dist/types-ts4.5/utils/getModeFromTheme.d.ts +0 -1
- package/dist/types-ts4.5/utils/grid.d.ts +0 -3
- package/dist/types-ts4.5/utils/hyperlink.d.ts +0 -29
- package/dist/types-ts4.5/utils/imageLoader.d.ts +0 -14
- package/dist/types-ts4.5/utils/index.d.ts +0 -86
- package/dist/types-ts4.5/utils/input-rules.d.ts +0 -16
- package/dist/types-ts4.5/utils/is-text-input.d.ts +0 -2
- package/dist/types-ts4.5/utils/list.d.ts +0 -14
- package/dist/types-ts4.5/utils/macro.d.ts +0 -10
- package/dist/types-ts4.5/utils/nodes.d.ts +0 -52
- package/dist/types-ts4.5/utils/outdated-browsers.d.ts +0 -1
- package/dist/types-ts4.5/utils/performance/get-performance-timing.d.ts +0 -8
- package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +0 -19
- package/dist/types-ts4.5/utils/performance/is-performance-api-available.d.ts +0 -3
- package/dist/types-ts4.5/utils/performance/measure-render.d.ts +0 -52
- package/dist/types-ts4.5/utils/performance/measure-tti.d.ts +0 -14
- package/dist/types-ts4.5/utils/performance/measure.d.ts +0 -3
- package/dist/types-ts4.5/utils/performance/navigation.d.ts +0 -1
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +0 -16
- package/dist/types-ts4.5/utils/profiler/render-count.d.ts +0 -50
- package/dist/types-ts4.5/utils/prosemirror/autojoin.d.ts +0 -13
- package/dist/types-ts4.5/utils/referentiality.d.ts +0 -18
- package/dist/types-ts4.5/utils/rich-media-utils.d.ts +0 -9
- package/dist/types-ts4.5/utils/scroll-gutter.d.ts +0 -3
- package/dist/types-ts4.5/utils/should-force-tracking.d.ts +0 -1
- package/dist/types-ts4.5/utils/slice.d.ts +0 -11
- package/dist/types-ts4.5/utils/table.d.ts +0 -5
- package/dist/types-ts4.5/utils/track-unsupported-content.d.ts +0 -20
- package/dist/types-ts4.5/utils/traversor.d.ts +0 -9
- package/dist/types-ts4.5/utils/types.d.ts +0 -2
- package/dist/types-ts4.5/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +0 -57
- package/dist/types-ts4.5/utils/validate-using-spec.d.ts +0 -19
- package/dist/types-ts4.5/utils/validator.d.ts +0 -42
- package/dist/types-ts4.5/utils/whitespace.d.ts +0 -2
- package/dist/types-ts4.5/utils/wrap-selection-in.d.ts +0 -9
- package/dist/types-ts4.5/validator.d.ts +0 -2
- package/dist/types-ts4.5/with-plugin-state/index.d.ts +0 -108
- package/dist/types-ts4.5/with-plugin-state/types.d.ts +0 -10
- package/tmp/api-report-tmp.d.ts +0 -9
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { fundamentalsTestCollection, blueLinksTestCollection, inlineSmartLinksTestCollection, blockSmartLinksTestCollection, embedSmartLinksTestCollection, EditorPageObject, } from './__tests_external__';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { Fragment, Node } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
export type InsertableContent = Node | Fragment;
|
|
5
|
-
export declare enum LookDirection {
|
|
6
|
-
Before = "before",
|
|
7
|
-
After = "after"
|
|
8
|
-
}
|
|
9
|
-
export declare const normaliseNestedLayout: ({ selection, doc }: EditorState | Transaction, node: Node) => Node;
|
|
10
|
-
export declare const safeInsert: (content: InsertableContent, position?: number) => (tr: Transaction) => Transaction | null;
|
|
11
|
-
/**
|
|
12
|
-
* Method extracted from typeahead plugin to be shared with the element browser on handling element insertion.
|
|
13
|
-
*/
|
|
14
|
-
export declare const insertSelectedItem: (maybeNode?: Node | Object | string | Fragment, opts?: {
|
|
15
|
-
selectInlineNode?: boolean;
|
|
16
|
-
}) => (state: EditorState, tr: Transaction, start: number) => Transaction;
|
|
17
|
-
/**
|
|
18
|
-
* ED-14584: Util to check if the destination node is a paragraph & the
|
|
19
|
-
* content being inserted is a valid child of the grandparent node.
|
|
20
|
-
* In this case, the destination node should split
|
|
21
|
-
*/
|
|
22
|
-
export declare const shouldSplitSelectedNodeOnNodeInsertion: ({ parentNodeType, grandParentNodeType, content, }: {
|
|
23
|
-
parentNodeType: NodeType;
|
|
24
|
-
grandParentNodeType: NodeType;
|
|
25
|
-
content: Node;
|
|
26
|
-
}) => boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const LEFT = 37;
|
|
2
|
-
export declare const RIGHT = 39;
|
|
3
|
-
export declare const UP = 38;
|
|
4
|
-
export declare const DOWN = 40;
|
|
5
|
-
export declare const KEY_0 = 48;
|
|
6
|
-
export declare const KEY_1 = 49;
|
|
7
|
-
export declare const KEY_2 = 50;
|
|
8
|
-
export declare const KEY_3 = 51;
|
|
9
|
-
export declare const KEY_4 = 52;
|
|
10
|
-
export declare const KEY_5 = 53;
|
|
11
|
-
export declare const KEY_6 = 54;
|
|
12
|
-
export declare const HEADING_KEYS: number[];
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
|
-
import type { Command } from '../types/command';
|
|
5
|
-
import type { EditorCommand } from '../types/editor-command';
|
|
6
|
-
export declare const addAltText: Keymap;
|
|
7
|
-
export declare const navToEditorToolbar: Keymap;
|
|
8
|
-
export declare const navToFloatingToolbar: Keymap;
|
|
9
|
-
export declare const toggleBold: Keymap;
|
|
10
|
-
export declare const toggleItalic: Keymap;
|
|
11
|
-
export declare const toggleUnderline: Keymap;
|
|
12
|
-
export declare const toggleStrikethrough: Keymap;
|
|
13
|
-
export declare const toggleSubscript: Keymap;
|
|
14
|
-
export declare const toggleSuperscript: Keymap;
|
|
15
|
-
export declare const toggleCode: Keymap;
|
|
16
|
-
export declare const pastePlainText: Keymap;
|
|
17
|
-
export declare const clearFormatting: Keymap;
|
|
18
|
-
export declare const setNormalText: Keymap;
|
|
19
|
-
export declare const toggleHeading1: Keymap;
|
|
20
|
-
export declare const toggleHeading2: Keymap;
|
|
21
|
-
export declare const toggleHeading3: Keymap;
|
|
22
|
-
export declare const toggleHeading4: Keymap;
|
|
23
|
-
export declare const toggleHeading5: Keymap;
|
|
24
|
-
export declare const toggleHeading6: Keymap;
|
|
25
|
-
export declare const toggleOrderedList: Keymap;
|
|
26
|
-
export declare const ctrlBackSpace: Keymap;
|
|
27
|
-
export declare const toggleBulletList: Keymap;
|
|
28
|
-
export declare const toggleBlockQuote: Keymap;
|
|
29
|
-
export declare const insertNewLine: Keymap;
|
|
30
|
-
export declare const shiftBackspace: Keymap;
|
|
31
|
-
export declare const splitCodeBlock: Keymap;
|
|
32
|
-
export declare const splitListItem: Keymap;
|
|
33
|
-
export declare const insertRule: Keymap;
|
|
34
|
-
export declare const undo: Keymap;
|
|
35
|
-
export declare const moveUp: Keymap;
|
|
36
|
-
export declare const moveDown: Keymap;
|
|
37
|
-
export declare const moveLeft: Keymap;
|
|
38
|
-
export declare const moveRight: Keymap;
|
|
39
|
-
export declare const indentList: Keymap;
|
|
40
|
-
export declare const outdentList: Keymap;
|
|
41
|
-
export declare const redo: Keymap;
|
|
42
|
-
export declare const openHelp: Keymap;
|
|
43
|
-
export declare const addLink: Keymap;
|
|
44
|
-
export declare const addInlineComment: Keymap;
|
|
45
|
-
export declare const submit: Keymap;
|
|
46
|
-
export declare const enter: Keymap;
|
|
47
|
-
export declare const shiftEnter: Keymap;
|
|
48
|
-
export declare const tab: Keymap;
|
|
49
|
-
export declare const indent: Keymap;
|
|
50
|
-
export declare const outdent: Keymap;
|
|
51
|
-
export declare const backspace: Keymap;
|
|
52
|
-
export declare const deleteKey: Keymap;
|
|
53
|
-
export declare const forwardDelete: Keymap;
|
|
54
|
-
export declare const space: Keymap;
|
|
55
|
-
export declare const escape: Keymap;
|
|
56
|
-
export declare const nextCell: Keymap;
|
|
57
|
-
export declare const previousCell: Keymap;
|
|
58
|
-
export declare const shiftTab: Keymap;
|
|
59
|
-
export declare const toggleTable: Keymap;
|
|
60
|
-
export declare const addRowBefore: Keymap;
|
|
61
|
-
export declare const addRowAfter: Keymap;
|
|
62
|
-
export declare const addColumnAfter: Keymap;
|
|
63
|
-
export declare const addColumnBefore: Keymap;
|
|
64
|
-
export declare const cut: Keymap;
|
|
65
|
-
export declare const copy: Keymap;
|
|
66
|
-
export declare const paste: Keymap;
|
|
67
|
-
export declare const altPaste: Keymap;
|
|
68
|
-
export declare const find: Keymap;
|
|
69
|
-
export declare const alignLeft: Keymap;
|
|
70
|
-
export declare const toggleTaskItemCheckbox: Keymap;
|
|
71
|
-
export declare function tooltip(keymap?: Keymap, description?: string): string | undefined;
|
|
72
|
-
export declare const ToolTipContent: React.MemoExoticComponent<({ description, shortcutOverride, keymap, }: {
|
|
73
|
-
description?: string | React.ReactNode;
|
|
74
|
-
keymap?: Keymap | undefined;
|
|
75
|
-
shortcutOverride?: string | undefined;
|
|
76
|
-
}) => jsx.JSX.Element | null>;
|
|
77
|
-
export declare function findKeymapByDescription(description: string): Keymap | undefined;
|
|
78
|
-
export declare function findShortcutByDescription(description: string): string | undefined;
|
|
79
|
-
export declare function findShortcutByKeymap(keymap: Keymap): string | undefined;
|
|
80
|
-
export declare function getAriaKeyshortcuts(keymap: Keymap | string | undefined): string | undefined;
|
|
81
|
-
export declare function makeKeymap(description: string, windows: string, mac: string, common?: string): Keymap;
|
|
82
|
-
export declare function makeKeyMapWithCommon(description: string, common: string): Keymap;
|
|
83
|
-
export interface Keymap {
|
|
84
|
-
description: string;
|
|
85
|
-
windows: string;
|
|
86
|
-
mac: string;
|
|
87
|
-
common?: string;
|
|
88
|
-
}
|
|
89
|
-
export declare function bindKeymapWithCommand(shortcut: string, cmd: Command, keymap: {
|
|
90
|
-
[key: string]: Command;
|
|
91
|
-
}): void;
|
|
92
|
-
export declare function bindKeymapWithEditorCommand(shortcut: string, cmd: EditorCommand, keymap: {
|
|
93
|
-
[key: string]: Command;
|
|
94
|
-
}): void;
|
|
95
|
-
export declare function findKeyMapForBrowser(keyMap: Keymap): string | undefined;
|
|
96
|
-
export { DOWN, HEADING_KEYS, KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, LEFT, RIGHT, UP, } from './consts';
|
|
97
|
-
export { keymap } from './keymap';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SafePlugin } from '../safe-plugin';
|
|
2
|
-
/**
|
|
3
|
-
* A workaround for mostly Cyrillic but should have a positive affect
|
|
4
|
-
* on other languages / layouts. Attempts a similar approach to OS X.
|
|
5
|
-
* @see ED-7310
|
|
6
|
-
* @see https://github.com/ProseMirror/prosemirror/issues/957
|
|
7
|
-
* @param bindings
|
|
8
|
-
*/
|
|
9
|
-
export declare function keymap(bindings: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}): SafePlugin<any>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import { LinkPickerProps } from '@atlaskit/link-picker';
|
|
4
|
-
import type { Command, EditorAppearance } from '../../../types';
|
|
5
|
-
/**
|
|
6
|
-
* Returns a type that matches T but where keys (K) are now optional
|
|
7
|
-
*/
|
|
8
|
-
type OptionalKeys<T extends {}, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
9
|
-
export interface EditorLinkPickerProps extends OptionalKeys<LinkPickerProps, 'onCancel'> {
|
|
10
|
-
view: EditorView;
|
|
11
|
-
/**
|
|
12
|
-
* Used for analytics purposes to describe how the link picker was invoked
|
|
13
|
-
* Should be roughly equivalent to the `inputMethod` analytics value
|
|
14
|
-
*/
|
|
15
|
-
invokeMethod?: string;
|
|
16
|
-
editorAppearance?: EditorAppearance;
|
|
17
|
-
/** Callback to execute on unmount */
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
onEscapeCallback?: Command;
|
|
20
|
-
onClickAwayCallback?: Command;
|
|
21
|
-
}
|
|
22
|
-
export declare const EditorLinkPicker: ({ view, onCancel, invokeMethod, editorAppearance, onClose, onEscapeCallback, onClickAwayCallback, ...restProps }: EditorLinkPickerProps) => JSX.Element;
|
|
23
|
-
export {};
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React, { PureComponent } from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
5
|
-
import { ActivityProvider } from '@atlaskit/activity-provider';
|
|
6
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
7
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
8
|
-
import type { HyperlinkState } from '../../../link';
|
|
9
|
-
import type { SearchProvider } from '../../../provider-factory';
|
|
10
|
-
import type { Command, LinkInputType } from '../../../types';
|
|
11
|
-
import { LinkSearchListItemData } from '../../LinkSearch/types';
|
|
12
|
-
/**
|
|
13
|
-
* Visible only to screenreaders. Use when there is a need
|
|
14
|
-
* to provide more context to a non-sighted user.
|
|
15
|
-
*/
|
|
16
|
-
export declare const visuallyHiddenStyles: import("@emotion/react").SerializedStyles;
|
|
17
|
-
export declare const RECENT_SEARCH_LIST_SIZE = 5;
|
|
18
|
-
export declare const messages: {
|
|
19
|
-
displayText: {
|
|
20
|
-
id: string;
|
|
21
|
-
defaultMessage: string;
|
|
22
|
-
description: string;
|
|
23
|
-
};
|
|
24
|
-
clearText: {
|
|
25
|
-
id: string;
|
|
26
|
-
defaultMessage: string;
|
|
27
|
-
description: string;
|
|
28
|
-
};
|
|
29
|
-
clearLink: {
|
|
30
|
-
id: string;
|
|
31
|
-
defaultMessage: string;
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
|
-
searchLinkAriaDescription: {
|
|
35
|
-
id: string;
|
|
36
|
-
defaultMessage: string;
|
|
37
|
-
description: string;
|
|
38
|
-
};
|
|
39
|
-
searchLinkResults: {
|
|
40
|
-
id: string;
|
|
41
|
-
defaultMessage: string;
|
|
42
|
-
description: string;
|
|
43
|
-
};
|
|
44
|
-
linkAriaLabel: {
|
|
45
|
-
id: string;
|
|
46
|
-
defaultMessage: string;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
interface BaseProps {
|
|
51
|
-
onSubmit?: (href: string, title: string | undefined, displayText: string | undefined, inputMethod: LinkInputType) => void;
|
|
52
|
-
popupsMountPoint?: HTMLElement;
|
|
53
|
-
popupsBoundariesElement?: HTMLElement;
|
|
54
|
-
autoFocus?: boolean;
|
|
55
|
-
activityProvider?: Promise<ActivityProvider>;
|
|
56
|
-
searchProvider?: Promise<SearchProvider>;
|
|
57
|
-
displayUrl?: string;
|
|
58
|
-
pluginState: HyperlinkState;
|
|
59
|
-
view: EditorView;
|
|
60
|
-
onEscapeCallback?: Command;
|
|
61
|
-
onClickAwayCallback?: Command;
|
|
62
|
-
}
|
|
63
|
-
interface DefaultProps {
|
|
64
|
-
displayText: string;
|
|
65
|
-
}
|
|
66
|
-
export type Props = WrappedComponentProps & BaseProps & DefaultProps & WithAnalyticsEventsProps;
|
|
67
|
-
type HyperlinkLinkAddToolbarProps = WrappedComponentProps & BaseProps & Partial<DefaultProps> & WithAnalyticsEventsProps;
|
|
68
|
-
export interface State {
|
|
69
|
-
activityProvider?: ActivityProvider;
|
|
70
|
-
searchProvider?: SearchProvider;
|
|
71
|
-
items: LinkSearchListItemData[];
|
|
72
|
-
selectedIndex: number;
|
|
73
|
-
displayUrl: string;
|
|
74
|
-
isLoading: boolean;
|
|
75
|
-
displayText: string;
|
|
76
|
-
}
|
|
77
|
-
export declare class HyperlinkLinkAddToolbar extends PureComponent<Props, State> {
|
|
78
|
-
private submitted;
|
|
79
|
-
private urlInputContainer;
|
|
80
|
-
private displayTextInputContainer;
|
|
81
|
-
private wrapperRef;
|
|
82
|
-
private handleClearText;
|
|
83
|
-
private handleClearDisplayText;
|
|
84
|
-
private debouncedQuickSearch;
|
|
85
|
-
private fireCustomAnalytics?;
|
|
86
|
-
private quickSearchQueryVersion;
|
|
87
|
-
private analyticSource;
|
|
88
|
-
constructor(props: Props);
|
|
89
|
-
componentDidMount(): Promise<void>;
|
|
90
|
-
componentWillUnmount(): void;
|
|
91
|
-
private getRecentItems;
|
|
92
|
-
private fireAnalytics;
|
|
93
|
-
private loadInitialLinkSearchResult;
|
|
94
|
-
private quickSearch;
|
|
95
|
-
private updateInput;
|
|
96
|
-
private createClearHandler;
|
|
97
|
-
private handleClickOutside;
|
|
98
|
-
private getScreenReaderText;
|
|
99
|
-
render(): jsx.JSX.Element;
|
|
100
|
-
private isUrlPopulatedWithSelectedItem;
|
|
101
|
-
private handleSelected;
|
|
102
|
-
private handleInsert;
|
|
103
|
-
private handleMouseEnterResultItem;
|
|
104
|
-
private handleMouseLeaveResultItem;
|
|
105
|
-
private handleSubmit;
|
|
106
|
-
private handleClearTextKeyDown;
|
|
107
|
-
private handleKeyDown;
|
|
108
|
-
private updateTextInput;
|
|
109
|
-
private handleCancel;
|
|
110
|
-
}
|
|
111
|
-
export declare const HyperlinkLinkAddToolbarWithIntl: React.FC<import("react-intl-next").WithIntlProps<HyperlinkLinkAddToolbarProps>> & {
|
|
112
|
-
WrappedComponent: React.ComponentType<HyperlinkLinkAddToolbarProps>;
|
|
113
|
-
};
|
|
114
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<HyperlinkLinkAddToolbarProps>>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
115
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import type { HyperlinkState } from '../../../link';
|
|
5
|
-
import { ProviderFactory } from '../../../provider-factory';
|
|
6
|
-
import type { Command, FeatureFlags, LinkInputType, LinkPickerOptions } from '../../../types';
|
|
7
|
-
import { EditorLinkPickerProps } from '../EditorLinkPicker';
|
|
8
|
-
export interface HyperlinkAddToolbarProps extends Pick<EditorLinkPickerProps, 'onCancel' | 'invokeMethod' | 'onClose'> {
|
|
9
|
-
view: EditorView;
|
|
10
|
-
providerFactory: ProviderFactory;
|
|
11
|
-
onSubmit: (href: string, title: string | undefined, displayText: string | undefined, inputMethod: LinkInputType, analytic?: UIAnalyticsEvent | null | undefined) => void;
|
|
12
|
-
featureFlags: FeatureFlags;
|
|
13
|
-
linkPickerOptions?: LinkPickerOptions;
|
|
14
|
-
displayText?: string;
|
|
15
|
-
displayUrl?: string;
|
|
16
|
-
onEscapeCallback?: Command;
|
|
17
|
-
onClickAwayCallback?: Command;
|
|
18
|
-
}
|
|
19
|
-
export declare function HyperlinkAddToolbar({ linkPickerOptions, onSubmit, displayText, displayUrl, providerFactory, view, onCancel, invokeMethod, featureFlags, onClose, onEscapeCallback, onClickAwayCallback, hyperlinkPluginState, }: HyperlinkAddToolbarProps & {
|
|
20
|
-
hyperlinkPluginState: HyperlinkState | undefined;
|
|
21
|
-
}): JSX.Element;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const utilMessages: {
|
|
2
|
-
hyperlinkIconIssueLabel: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
hyperlinkIconBugLabel: {
|
|
8
|
-
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
hyperlinkIconStoryLabel: {
|
|
13
|
-
id: string;
|
|
14
|
-
defaultMessage: string;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
hyperlinkIconTaskLabel: {
|
|
18
|
-
id: string;
|
|
19
|
-
defaultMessage: string;
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
|
-
hyperlinkIconPageLabel: {
|
|
23
|
-
id: string;
|
|
24
|
-
defaultMessage: string;
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
hyperlinkIconBlogLabel: {
|
|
28
|
-
id: string;
|
|
29
|
-
defaultMessage: string;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { LinkContentType } from '../../../provider-factory';
|
|
3
|
-
export declare function filterUniqueItems<T>(arr: Array<T>, comparator?: (firstItem: T, secondItem: T) => boolean): Array<T>;
|
|
4
|
-
export declare const mapContentTypeToIcon: {
|
|
5
|
-
[key in LinkContentType]?: React.ReactElement;
|
|
6
|
-
};
|
|
7
|
-
export declare const sha1: (input: string) => string;
|
|
8
|
-
export declare const wordCount: (input: string) => number;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { PureComponent } from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
|
-
import { LinkSearchListItemData } from './types';
|
|
5
|
-
export declare const linkSearchList: import("@emotion/react").SerializedStyles;
|
|
6
|
-
export interface Props {
|
|
7
|
-
items?: LinkSearchListItemData[];
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
selectedIndex: number;
|
|
10
|
-
onSelect: (href: string, text: string) => void;
|
|
11
|
-
onMouseMove?: (objectId: string) => void;
|
|
12
|
-
onMouseEnter?: (objectId: string) => void;
|
|
13
|
-
onMouseLeave?: (objectId: string) => void;
|
|
14
|
-
ariaControls?: string;
|
|
15
|
-
role?: string;
|
|
16
|
-
id?: string;
|
|
17
|
-
}
|
|
18
|
-
export default class LinkSearchList extends PureComponent<Props, {}> {
|
|
19
|
-
render(): jsx.JSX.Element;
|
|
20
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
-
import { LinkSearchListItemData } from './types';
|
|
5
|
-
export declare const container: import("@emotion/react").SerializedStyles;
|
|
6
|
-
export declare const containerSelected: import("@emotion/react").SerializedStyles;
|
|
7
|
-
export declare const nameStyle: import("@emotion/react").SerializedStyles;
|
|
8
|
-
export declare const containerName: import("@emotion/react").SerializedStyles;
|
|
9
|
-
export interface Props {
|
|
10
|
-
item: LinkSearchListItemData;
|
|
11
|
-
selected: boolean;
|
|
12
|
-
onSelect: (href: string, text: string) => void;
|
|
13
|
-
onMouseMove?: (objectId: string) => void;
|
|
14
|
-
onMouseEnter?: (objectId: string) => void;
|
|
15
|
-
onMouseLeave?: (objectId: string) => void;
|
|
16
|
-
id?: string;
|
|
17
|
-
role?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
20
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { RecentSearchProps } from './types';
|
|
3
|
-
import { WithActivityProviderProps } from './withActivityProvider';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
new (props: (import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps) | Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>): {
|
|
6
|
-
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
7
|
-
render(): JSX.Element;
|
|
8
|
-
context: any;
|
|
9
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
10
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
11
|
-
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps> & Readonly<{
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}>;
|
|
14
|
-
state: Readonly<{}>;
|
|
15
|
-
refs: {
|
|
16
|
-
[key: string]: React.ReactInstance;
|
|
17
|
-
};
|
|
18
|
-
componentDidMount?(): void;
|
|
19
|
-
shouldComponentUpdate?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
20
|
-
componentWillUnmount?(): void;
|
|
21
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
22
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, prevState: Readonly<{}>): any;
|
|
23
|
-
componentDidUpdate?(prevProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
24
|
-
componentWillMount?(): void;
|
|
25
|
-
UNSAFE_componentWillMount?(): void;
|
|
26
|
-
componentWillReceiveProps?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextContext: any): void;
|
|
27
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextContext: any): void;
|
|
28
|
-
componentWillUpdate?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
29
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
30
|
-
};
|
|
31
|
-
new (props: import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps, context: any): {
|
|
32
|
-
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
33
|
-
render(): JSX.Element;
|
|
34
|
-
context: any;
|
|
35
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
37
|
-
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps> & Readonly<{
|
|
38
|
-
children?: React.ReactNode;
|
|
39
|
-
}>;
|
|
40
|
-
state: Readonly<{}>;
|
|
41
|
-
refs: {
|
|
42
|
-
[key: string]: React.ReactInstance;
|
|
43
|
-
};
|
|
44
|
-
componentDidMount?(): void;
|
|
45
|
-
shouldComponentUpdate?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
46
|
-
componentWillUnmount?(): void;
|
|
47
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
48
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, prevState: Readonly<{}>): any;
|
|
49
|
-
componentDidUpdate?(prevProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
50
|
-
componentWillMount?(): void;
|
|
51
|
-
UNSAFE_componentWillMount?(): void;
|
|
52
|
-
componentWillReceiveProps?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextContext: any): void;
|
|
53
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextContext: any): void;
|
|
54
|
-
componentWillUpdate?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
55
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
56
|
-
};
|
|
57
|
-
contextType?: React.Context<any> | undefined;
|
|
58
|
-
};
|
|
59
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IntlShape } from 'react-intl-next';
|
|
2
|
-
export declare const transformTimeStamp: (intl: IntlShape, lastViewedDate?: Date, lastUpdatedDate?: Date) => {
|
|
3
|
-
pageAction: string;
|
|
4
|
-
dateString: string;
|
|
5
|
-
timeSince?: undefined;
|
|
6
|
-
} | {
|
|
7
|
-
pageAction: string;
|
|
8
|
-
dateString: string;
|
|
9
|
-
timeSince: string;
|
|
10
|
-
} | undefined;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { KeyboardEvent } from 'react';
|
|
2
|
-
import { ActivityItem, ActivityProvider } from '@atlaskit/activity-provider';
|
|
3
|
-
import { INPUT_METHOD } from '../../analytics';
|
|
4
|
-
export type RecentSearchInputTypes = INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL;
|
|
5
|
-
export interface ChildProps {
|
|
6
|
-
activityProvider: ActivityProvider | null;
|
|
7
|
-
inputProps: {
|
|
8
|
-
onChange(input: string): void;
|
|
9
|
-
onKeyDown(event: KeyboardEvent<any>): void;
|
|
10
|
-
onSubmit(): void;
|
|
11
|
-
value: string;
|
|
12
|
-
};
|
|
13
|
-
currentInputMethod?: RecentSearchInputTypes;
|
|
14
|
-
clearValue(): void;
|
|
15
|
-
renderRecentList(): React.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
export interface RecentSearchSubmitOptions {
|
|
18
|
-
text: string;
|
|
19
|
-
url: string;
|
|
20
|
-
inputMethod: RecentSearchInputTypes;
|
|
21
|
-
}
|
|
22
|
-
export interface RecentSearchProps {
|
|
23
|
-
defaultUrl?: string;
|
|
24
|
-
onSubmit(options: RecentSearchSubmitOptions): void;
|
|
25
|
-
onBlur(options: RecentSearchSubmitOptions): void;
|
|
26
|
-
render(state: ChildProps): React.ReactNode;
|
|
27
|
-
limit?: number;
|
|
28
|
-
}
|
|
29
|
-
export interface RecentSearchState {
|
|
30
|
-
items: Array<ActivityItem>;
|
|
31
|
-
selectedIndex: number;
|
|
32
|
-
isLoading: boolean;
|
|
33
|
-
url: string;
|
|
34
|
-
}
|
|
35
|
-
export type LinkSearchListItemData = {
|
|
36
|
-
objectId: string;
|
|
37
|
-
name: string;
|
|
38
|
-
container: string;
|
|
39
|
-
url: string;
|
|
40
|
-
iconUrl?: string | never;
|
|
41
|
-
icon?: React.ReactChild | never;
|
|
42
|
-
lastViewedDate?: Date;
|
|
43
|
-
lastUpdatedDate?: Date;
|
|
44
|
-
prefetch?: boolean;
|
|
45
|
-
} & ({
|
|
46
|
-
iconUrl: string;
|
|
47
|
-
} | {
|
|
48
|
-
icon: React.ReactChild;
|
|
49
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ActivityProvider } from '@atlaskit/activity-provider';
|
|
3
|
-
import { ProviderFactory } from '../../provider-factory';
|
|
4
|
-
import type { Providers } from '../../provider-factory';
|
|
5
|
-
import type { Diff } from '../../utils';
|
|
6
|
-
export interface ExpandedActivityProviderProps {
|
|
7
|
-
providerFactory: ProviderFactory;
|
|
8
|
-
}
|
|
9
|
-
export interface WithActivityProviderProps {
|
|
10
|
-
activityProvider: ActivityProvider;
|
|
11
|
-
}
|
|
12
|
-
export default function withActivityProvider<Props>(WrappedComponent: React.ComponentType<Props & WithActivityProviderProps>): {
|
|
13
|
-
new (props: (Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps) | Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>): {
|
|
14
|
-
renderNode: (providers: Providers) => JSX.Element;
|
|
15
|
-
render(): JSX.Element;
|
|
16
|
-
context: any;
|
|
17
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
18
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
19
|
-
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps> & Readonly<{
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
}>;
|
|
22
|
-
state: Readonly<{}>;
|
|
23
|
-
refs: {
|
|
24
|
-
[key: string]: React.ReactInstance;
|
|
25
|
-
};
|
|
26
|
-
componentDidMount?(): void;
|
|
27
|
-
shouldComponentUpdate?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
28
|
-
componentWillUnmount?(): void;
|
|
29
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
30
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, prevState: Readonly<{}>): any;
|
|
31
|
-
componentDidUpdate?(prevProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
32
|
-
componentWillMount?(): void;
|
|
33
|
-
UNSAFE_componentWillMount?(): void;
|
|
34
|
-
componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextContext: any): void;
|
|
35
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextContext: any): void;
|
|
36
|
-
componentWillUpdate?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
37
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
38
|
-
};
|
|
39
|
-
new (props: Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps, context: any): {
|
|
40
|
-
renderNode: (providers: Providers) => JSX.Element;
|
|
41
|
-
render(): JSX.Element;
|
|
42
|
-
context: any;
|
|
43
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
44
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
45
|
-
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps> & Readonly<{
|
|
46
|
-
children?: React.ReactNode;
|
|
47
|
-
}>;
|
|
48
|
-
state: Readonly<{}>;
|
|
49
|
-
refs: {
|
|
50
|
-
[key: string]: React.ReactInstance;
|
|
51
|
-
};
|
|
52
|
-
componentDidMount?(): void;
|
|
53
|
-
shouldComponentUpdate?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
54
|
-
componentWillUnmount?(): void;
|
|
55
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
56
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, prevState: Readonly<{}>): any;
|
|
57
|
-
componentDidUpdate?(prevProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
58
|
-
componentWillMount?(): void;
|
|
59
|
-
UNSAFE_componentWillMount?(): void;
|
|
60
|
-
componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextContext: any): void;
|
|
61
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextContext: any): void;
|
|
62
|
-
componentWillUpdate?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
63
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
64
|
-
};
|
|
65
|
-
contextType?: React.Context<any> | undefined;
|
|
66
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { transformTimeStamp } from './LinkSearch/transformTimeStamp';
|
|
2
|
-
export type { LinkSearchListItemData, ChildProps, RecentSearchInputTypes, RecentSearchSubmitOptions, } from './LinkSearch/types';
|
|
3
|
-
export { container, containerWithProvider, inputWrapper, } from './LinkSearch/ToolbarComponents';
|
|
4
|
-
export { default as LinkSearchListItem } from './LinkSearch/LinkSearchListItem';
|
|
5
|
-
export { default as LinkSearchList } from './LinkSearch/LinkSearchList';
|
|
6
|
-
export { default as RecentSearch } from './LinkSearch';
|
|
7
|
-
export type { InsertState, EditInsertedState, EditState, LinkToolbarState, HyperlinkState, } from './types';
|
|
8
|
-
export { InsertStatus, LinkAction } from './types';
|
|
9
|
-
export { EditorLinkPicker } from './LinkPicker/EditorLinkPicker';
|
|
10
|
-
export type { EditorLinkPickerProps } from './LinkPicker/EditorLinkPicker';
|
|
11
|
-
export { HyperlinkAddToolbar } from './LinkPicker/HyperlinkAddToolbar';
|
|
12
|
-
export { default as HyperlinkLinkAddToolbar, HyperlinkLinkAddToolbarWithIntl, RECENT_SEARCH_LIST_SIZE, } from './LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar';
|
|
13
|
-
export type { Props as HyperlinkLinkAddToolbarProps } from './LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar';
|
|
14
|
-
export type { HyperlinkAddToolbarProps } from './LinkPicker/HyperlinkAddToolbar';
|
|
15
|
-
export { sha1 } from './LinkPicker/HyperlinkAddToolbar/utils';
|
|
16
|
-
export { isLinkAtPos, isTextAtPos } from './utils';
|