@atlaskit/editor-common 70.1.3 → 70.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 +40 -0
- package/dist/cjs/react-node-view/index.js +19 -17
- package/dist/cjs/styles/index.js +12 -0
- package/dist/cjs/styles/shared/code-block.js +5 -3
- package/dist/cjs/styles/shared/lists.js +4 -2
- package/dist/cjs/styles/shared/table.js +1 -1
- package/dist/cjs/types/copy-button.js +5 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +2 -2
- package/dist/cjs/ui/IntlProviderIfMissingWrapper/index.js +33 -0
- package/dist/cjs/ui/Popup/index.js +2 -2
- package/dist/cjs/ui/PortalProvider/index.js +62 -47
- package/dist/cjs/ui/index.js +8 -0
- package/dist/cjs/utils/breakout.js +53 -2
- package/dist/cjs/utils/collab.js +22 -0
- package/dist/cjs/utils/dom.js +16 -0
- package/dist/cjs/utils/get-performance-options.js +70 -0
- package/dist/cjs/utils/index.js +57 -1
- package/dist/cjs/utils/outdated-browsers.js +41 -0
- package/dist/cjs/utils/referentiality.js +49 -0
- package/dist/cjs/utils/sendLogs.js +19 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/with-plugin-state/index.js +61 -54
- package/dist/es2019/react-node-view/index.js +19 -24
- package/dist/es2019/styles/index.js +2 -2
- package/dist/es2019/styles/shared/code-block.js +13 -1
- package/dist/es2019/styles/shared/lists.js +2 -1
- package/dist/es2019/styles/shared/table.js +4 -2
- package/dist/es2019/types/copy-button.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +17 -15
- package/dist/es2019/ui/IntlProviderIfMissingWrapper/index.js +18 -0
- package/dist/es2019/ui/Popup/index.js +2 -1
- package/dist/es2019/ui/PortalProvider/index.js +33 -14
- package/dist/es2019/ui/index.js +2 -1
- package/dist/es2019/utils/breakout.js +47 -1
- package/dist/es2019/utils/collab.js +13 -0
- package/dist/es2019/utils/dom.js +16 -0
- package/dist/es2019/utils/get-performance-options.js +57 -0
- package/dist/es2019/utils/index.js +6 -2
- package/dist/es2019/utils/outdated-browsers.js +32 -0
- package/dist/es2019/utils/referentiality.js +34 -0
- package/dist/es2019/utils/sendLogs.js +8 -0
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/with-plugin-state/index.js +55 -52
- package/dist/esm/react-node-view/index.js +19 -22
- package/dist/esm/styles/index.js +2 -2
- package/dist/esm/styles/shared/code-block.js +4 -3
- package/dist/esm/styles/shared/lists.js +2 -1
- package/dist/esm/styles/shared/table.js +1 -1
- package/dist/esm/types/copy-button.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +2 -2
- package/dist/esm/ui/IntlProviderIfMissingWrapper/index.js +19 -0
- package/dist/esm/ui/Popup/index.js +2 -2
- package/dist/esm/ui/PortalProvider/index.js +59 -48
- package/dist/esm/ui/index.js +2 -1
- package/dist/esm/utils/breakout.js +46 -1
- package/dist/esm/utils/collab.js +13 -0
- package/dist/esm/utils/dom.js +16 -0
- package/dist/esm/utils/get-performance-options.js +55 -0
- package/dist/esm/utils/index.js +6 -2
- package/dist/esm/utils/outdated-browsers.js +32 -0
- package/dist/esm/utils/referentiality.js +40 -0
- package/dist/esm/utils/sendLogs.js +10 -0
- package/dist/esm/version.json +1 -1
- package/dist/esm/with-plugin-state/index.js +59 -54
- package/dist/types/analytics/types/events.d.ts +1 -0
- package/dist/types/extensions/types/extension-handler.d.ts +1 -0
- package/dist/types/styles/index.d.ts +2 -2
- package/dist/types/styles/shared/code-block.d.ts +1 -0
- package/dist/types/styles/shared/lists.d.ts +1 -0
- package/dist/types/types/copy-button.d.ts +20 -0
- package/dist/types/types/editor-actions.d.ts +1 -0
- package/dist/types/types/editor-container-width.d.ts +14 -0
- package/dist/types/types/feature-flags.d.ts +0 -6
- package/dist/types/types/floating-toolbar.d.ts +23 -2
- package/dist/types/types/index.d.ts +2 -1
- package/dist/types/ui/IntlProviderIfMissingWrapper/index.d.ts +6 -0
- package/dist/types/ui/Popup/index.d.ts +1 -0
- package/dist/types/ui/PortalProvider/index.d.ts +2 -1
- package/dist/types/ui/index.d.ts +1 -0
- package/dist/types/utils/breakout.d.ts +25 -0
- package/dist/types/utils/collab.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +15 -1
- package/dist/types/utils/get-performance-options.d.ts +18 -0
- package/dist/types/utils/getModeFromTheme.d.ts +1 -1
- package/dist/types/utils/index.d.ts +5 -1
- package/dist/types/utils/outdated-browsers.d.ts +1 -0
- package/dist/types/utils/referentiality.d.ts +3 -0
- package/dist/types/utils/sendLogs.d.ts +1 -0
- package/dist/types/with-plugin-state/index.d.ts +4 -2
- package/package.json +12 -17
- package/report.api.md +7 -3
- package/dist/types-ts4.0/__tests_external__/cases/fundamentals/collection.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/index.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/types.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/types.d.ts +0 -7
- package/dist/types-ts4.0/__tests_external__/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/page-objects/Editor.d.ts +0 -9
- package/dist/types-ts4.0/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -40
- package/dist/types-ts4.0/__tests_external__/page-objects/Renderer.d.ts +0 -6
- package/dist/types-ts4.0/analytics/api.d.ts +0 -5
- package/dist/types-ts4.0/analytics/index.d.ts +0 -3
- package/dist/types-ts4.0/analytics/types/avatar.d.ts +0 -5
- package/dist/types-ts4.0/analytics/types/block.d.ts +0 -3
- package/dist/types-ts4.0/analytics/types/config-panel-events.d.ts +0 -17
- package/dist/types-ts4.0/analytics/types/cut-copy-events.d.ts +0 -12
- package/dist/types-ts4.0/analytics/types/date-events.d.ts +0 -17
- package/dist/types-ts4.0/analytics/types/dispatch-analytics-event.d.ts +0 -2
- package/dist/types-ts4.0/analytics/types/element-browser-events.d.ts +0 -11
- package/dist/types-ts4.0/analytics/types/enums.d.ts +0 -314
- package/dist/types-ts4.0/analytics/types/events.d.ts +0 -126
- package/dist/types-ts4.0/analytics/types/experimental-events.d.ts +0 -17
- package/dist/types-ts4.0/analytics/types/extension-events.d.ts +0 -37
- package/dist/types-ts4.0/analytics/types/find-replace-events.d.ts +0 -23
- package/dist/types-ts4.0/analytics/types/format-events.d.ts +0 -49
- package/dist/types-ts4.0/analytics/types/general-events.d.ts +0 -179
- package/dist/types-ts4.0/analytics/types/index.d.ts +0 -34
- package/dist/types-ts4.0/analytics/types/inline-comment-events.d.ts +0 -17
- package/dist/types-ts4.0/analytics/types/insert-events.d.ts +0 -128
- package/dist/types-ts4.0/analytics/types/link-tool-bar-events.d.ts +0 -76
- package/dist/types-ts4.0/analytics/types/list-events.d.ts +0 -52
- package/dist/types-ts4.0/analytics/types/media-events.d.ts +0 -16
- package/dist/types-ts4.0/analytics/types/node-events.d.ts +0 -56
- package/dist/types-ts4.0/analytics/types/paste-events.d.ts +0 -39
- package/dist/types-ts4.0/analytics/types/performance-report.d.ts +0 -24
- package/dist/types-ts4.0/analytics/types/referentiality-events.d.ts +0 -9
- package/dist/types-ts4.0/analytics/types/selection-events.d.ts +0 -18
- package/dist/types-ts4.0/analytics/types/smart-links.d.ts +0 -13
- package/dist/types-ts4.0/analytics/types/substitute-events.d.ts +0 -26
- package/dist/types-ts4.0/analytics/types/table-events.d.ts +0 -102
- package/dist/types-ts4.0/analytics/types/toolbar-button.d.ts +0 -22
- package/dist/types-ts4.0/analytics/types/type-ahead.d.ts +0 -27
- package/dist/types-ts4.0/analytics/types/utils.d.ts +0 -46
- package/dist/types-ts4.0/card/cardOptions.d.ts +0 -9
- package/dist/types-ts4.0/card/index.d.ts +0 -1
- package/dist/types-ts4.0/collab/types.d.ts +0 -82
- package/dist/types-ts4.0/collab.d.ts +0 -1
- package/dist/types-ts4.0/core-utils/index.d.ts +0 -1
- package/dist/types-ts4.0/core-utils/inside.d.ts +0 -2
- package/dist/types-ts4.0/emoji.d.ts +0 -3
- package/dist/types-ts4.0/event-dispatcher/index.d.ts +0 -19
- package/dist/types-ts4.0/extensions/combine-extension-providers.d.ts +0 -7
- package/dist/types-ts4.0/extensions/default-extension-provider.d.ts +0 -17
- package/dist/types-ts4.0/extensions/extension-fields-helpers.d.ts +0 -10
- package/dist/types-ts4.0/extensions/extension-handlers.d.ts +0 -13
- package/dist/types-ts4.0/extensions/index.d.ts +0 -8
- package/dist/types-ts4.0/extensions/manifest-helpers.d.ts +0 -8
- package/dist/types-ts4.0/extensions/module-helpers.d.ts +0 -11
- package/dist/types-ts4.0/extensions/types/extension-handler.d.ts +0 -39
- package/dist/types-ts4.0/extensions/types/extension-manifest-common.d.ts +0 -8
- package/dist/types-ts4.0/extensions/types/extension-manifest-toolbar-item.d.ts +0 -45
- package/dist/types-ts4.0/extensions/types/extension-manifest.d.ts +0 -101
- package/dist/types-ts4.0/extensions/types/extension-parameters.d.ts +0 -5
- package/dist/types-ts4.0/extensions/types/extension-provider.d.ts +0 -8
- package/dist/types-ts4.0/extensions/types/field-definitions.d.ts +0 -171
- package/dist/types-ts4.0/extensions/types/index.d.ts +0 -8
- package/dist/types-ts4.0/extensions/types/utils.d.ts +0 -18
- package/dist/types-ts4.0/extensions.d.ts +0 -2
- package/dist/types-ts4.0/i18n/cs.d.ts +0 -100
- package/dist/types-ts4.0/i18n/da.d.ts +0 -100
- package/dist/types-ts4.0/i18n/de.d.ts +0 -100
- package/dist/types-ts4.0/i18n/en.d.ts +0 -100
- package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -100
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -100
- package/dist/types-ts4.0/i18n/es.d.ts +0 -100
- package/dist/types-ts4.0/i18n/et.d.ts +0 -8
- package/dist/types-ts4.0/i18n/fi.d.ts +0 -100
- package/dist/types-ts4.0/i18n/fr.d.ts +0 -100
- package/dist/types-ts4.0/i18n/hu.d.ts +0 -100
- package/dist/types-ts4.0/i18n/index.d.ts +0 -31
- package/dist/types-ts4.0/i18n/it.d.ts +0 -100
- package/dist/types-ts4.0/i18n/ja.d.ts +0 -100
- package/dist/types-ts4.0/i18n/ko.d.ts +0 -100
- package/dist/types-ts4.0/i18n/nb.d.ts +0 -100
- package/dist/types-ts4.0/i18n/nl.d.ts +0 -100
- package/dist/types-ts4.0/i18n/pl.d.ts +0 -100
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -100
- package/dist/types-ts4.0/i18n/pt_PT.d.ts +0 -8
- package/dist/types-ts4.0/i18n/ru.d.ts +0 -100
- package/dist/types-ts4.0/i18n/sk.d.ts +0 -8
- package/dist/types-ts4.0/i18n/sv.d.ts +0 -100
- package/dist/types-ts4.0/i18n/th.d.ts +0 -100
- package/dist/types-ts4.0/i18n/tr.d.ts +0 -100
- package/dist/types-ts4.0/i18n/uk.d.ts +0 -100
- package/dist/types-ts4.0/i18n/vi.d.ts +0 -100
- package/dist/types-ts4.0/i18n/zh.d.ts +0 -100
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -100
- package/dist/types-ts4.0/icons/index.d.ts +0 -9
- package/dist/types-ts4.0/icons/shared/PanelErrorIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/PanelInfoIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/PanelNoteIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/PanelSuccessIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/PanelWarningIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/table.d.ts +0 -2
- package/dist/types-ts4.0/in-product.d.ts +0 -1
- package/dist/types-ts4.0/index.d.ts +0 -1
- package/dist/types-ts4.0/keymaps/consts.d.ts +0 -12
- package/dist/types-ts4.0/keymaps/index.d.ts +0 -89
- package/dist/types-ts4.0/mention.d.ts +0 -2
- package/dist/types-ts4.0/messages/codeBidiWarning.d.ts +0 -11
- package/dist/types-ts4.0/messages/codeBlockCopyButton.d.ts +0 -12
- package/dist/types-ts4.0/messages/index.d.ts +0 -128
- package/dist/types-ts4.0/messages/insert-block.d.ts +0 -167
- package/dist/types-ts4.0/messages/link.d.ts +0 -7
- package/dist/types-ts4.0/messages/unsupportedContent.d.ts +0 -17
- package/dist/types-ts4.0/node-width/index.d.ts +0 -7
- package/dist/types-ts4.0/normalize-feature-flags.d.ts +0 -20
- package/dist/types-ts4.0/panel.d.ts +0 -1
- package/dist/types-ts4.0/provider-factory/autoformatting-provider.d.ts +0 -9
- package/dist/types-ts4.0/provider-factory/card-provider.d.ts +0 -7
- package/dist/types-ts4.0/provider-factory/context-identifier-provider.d.ts +0 -6
- package/dist/types-ts4.0/provider-factory/context.d.ts +0 -6
- package/dist/types-ts4.0/provider-factory/image-upload-provider.d.ts +0 -6
- package/dist/types-ts4.0/provider-factory/macro-provider.d.ts +0 -25
- package/dist/types-ts4.0/provider-factory/media-provider.d.ts +0 -15
- package/dist/types-ts4.0/provider-factory/profile-card-provider.d.ts +0 -6
- package/dist/types-ts4.0/provider-factory/provider-factory.d.ts +0 -17
- package/dist/types-ts4.0/provider-factory/quick-insert-provider.d.ts +0 -24
- package/dist/types-ts4.0/provider-factory/search-provider.d.ts +0 -12
- package/dist/types-ts4.0/provider-factory/types.d.ts +0 -37
- package/dist/types-ts4.0/provider-factory/with-providers.d.ts +0 -18
- package/dist/types-ts4.0/provider-factory.d.ts +0 -13
- package/dist/types-ts4.0/provider-helpers/combine-providers.d.ts +0 -9
- package/dist/types-ts4.0/provider-helpers/index.d.ts +0 -1
- package/dist/types-ts4.0/provider-helpers/promise-helpers.d.ts +0 -32
- package/dist/types-ts4.0/react-node-view/index.d.ts +0 -52
- package/dist/types-ts4.0/react-node-view/types.d.ts +0 -12
- package/dist/types-ts4.0/safe-plugin/index.d.ts +0 -6
- package/dist/types-ts4.0/selection/gap-cursor/selection.d.ts +0 -40
- package/dist/types-ts4.0/selection/gap-cursor/utils/index.d.ts +0 -2
- package/dist/types-ts4.0/selection/gap-cursor/utils/is-ignored.d.ts +0 -2
- package/dist/types-ts4.0/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -2
- package/dist/types-ts4.0/selection/index.d.ts +0 -5
- package/dist/types-ts4.0/selection/types.d.ts +0 -26
- package/dist/types-ts4.0/selection/utils.d.ts +0 -4
- package/dist/types-ts4.0/styles/index.d.ts +0 -23
- package/dist/types-ts4.0/styles/shared/annotation.d.ts +0 -12
- package/dist/types-ts4.0/styles/shared/block-marks.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/blockquote.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/code-block.d.ts +0 -10
- package/dist/types-ts4.0/styles/shared/code-mark.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/column-layout.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/date.d.ts +0 -5
- package/dist/types-ts4.0/styles/shared/emoji.d.ts +0 -7
- package/dist/types-ts4.0/styles/shared/extension.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/headings.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/indentation.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/layout.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/link.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/lists.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/media-single.d.ts +0 -3
- package/dist/types-ts4.0/styles/shared/mention.d.ts +0 -3
- package/dist/types-ts4.0/styles/shared/panel.d.ts +0 -84
- package/dist/types-ts4.0/styles/shared/paragraph.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/rule.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/shadow.d.ts +0 -15
- package/dist/types-ts4.0/styles/shared/smart-card.d.ts +0 -7
- package/dist/types-ts4.0/styles/shared/status.d.ts +0 -4
- package/dist/types-ts4.0/styles/shared/table.d.ts +0 -28
- package/dist/types-ts4.0/styles/shared/task-decision.d.ts +0 -4
- package/dist/types-ts4.0/styles/shared/text-color.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/whitespace.d.ts +0 -2
- package/dist/types-ts4.0/transforms/expand.d.ts +0 -5
- package/dist/types-ts4.0/transforms/extension.d.ts +0 -6
- package/dist/types-ts4.0/transforms/index.d.ts +0 -3
- package/dist/types-ts4.0/transforms/layout.d.ts +0 -15
- package/dist/types-ts4.0/type-ahead/index.d.ts +0 -12
- package/dist/types-ts4.0/types/annotation/emitter.d.ts +0 -33
- package/dist/types-ts4.0/types/annotation/index.d.ts +0 -84
- package/dist/types-ts4.0/types/collab.d.ts +0 -8
- package/dist/types-ts4.0/types/command.d.ts +0 -5
- package/dist/types-ts4.0/types/context-panel.d.ts +0 -3
- package/dist/types-ts4.0/types/editor-actions.d.ts +0 -19
- package/dist/types-ts4.0/types/editor-appearance.d.ts +0 -1
- package/dist/types-ts4.0/types/editor-container-width.d.ts +0 -6
- package/dist/types-ts4.0/types/editor-plugin.d.ts +0 -61
- package/dist/types-ts4.0/types/editor-react-context.d.ts +0 -6
- package/dist/types-ts4.0/types/empty-state-handler.d.ts +0 -7
- package/dist/types-ts4.0/types/feature-flags.d.ts +0 -350
- package/dist/types-ts4.0/types/floating-toolbar.d.ts +0 -189
- package/dist/types-ts4.0/types/index.d.ts +0 -33
- package/dist/types-ts4.0/types/plugin-factory.d.ts +0 -27
- package/dist/types-ts4.0/types/prosemirror-config.d.ts +0 -14
- package/dist/types-ts4.0/types/quick-insert.d.ts +0 -26
- package/dist/types-ts4.0/types/supported-browsers.d.ts +0 -15
- package/dist/types-ts4.0/types/toolbar.d.ts +0 -30
- package/dist/types-ts4.0/types/type-ahead.d.ts +0 -64
- package/dist/types-ts4.0/types/ui-components.d.ts +0 -22
- package/dist/types-ts4.0/ufo/experience-store.d.ts +0 -33
- package/dist/types-ts4.0/ufo/index.d.ts +0 -1
- package/dist/types-ts4.0/ui/BaseTheme/index.d.ts +0 -15
- package/dist/types-ts4.0/ui/Caption/index.d.ts +0 -19
- package/dist/types-ts4.0/ui/Caption/messages.d.ts +0 -7
- package/dist/types-ts4.0/ui/DropList/index.d.ts +0 -19
- package/dist/types-ts4.0/ui/Emoji/index.d.ts +0 -20
- package/dist/types-ts4.0/ui/ErrorBoundary/index.d.ts +0 -24
- package/dist/types-ts4.0/ui/EventHandlers/index.d.ts +0 -36
- package/dist/types-ts4.0/ui/Expand/index.d.ts +0 -43
- package/dist/types-ts4.0/ui/IntlErrorBoundary/index.d.ts +0 -15
- package/dist/types-ts4.0/ui/Layer/index.d.ts +0 -47
- package/dist/types-ts4.0/ui/Layer/internal/helpers.d.ts +0 -5
- package/dist/types-ts4.0/ui/MediaSingle/grid.d.ts +0 -10
- package/dist/types-ts4.0/ui/MediaSingle/index.d.ts +0 -24
- package/dist/types-ts4.0/ui/MediaSingle/link.d.ts +0 -1
- package/dist/types-ts4.0/ui/MediaSingle/styled.d.ts +0 -43
- package/dist/types-ts4.0/ui/Mention/index.d.ts +0 -21
- package/dist/types-ts4.0/ui/Mention/mention-with-profilecard.d.ts +0 -15
- package/dist/types-ts4.0/ui/Mention/mention-with-providers.d.ts +0 -22
- package/dist/types-ts4.0/ui/Mention/types.d.ts +0 -2
- package/dist/types-ts4.0/ui/Messages/index.d.ts +0 -11
- package/dist/types-ts4.0/ui/OverflowShadow/index.d.ts +0 -103
- package/dist/types-ts4.0/ui/OverflowShadow/shadowObserver.d.ts +0 -27
- package/dist/types-ts4.0/ui/Popup/index.d.ts +0 -63
- package/dist/types-ts4.0/ui/Popup/utils.d.ts +0 -42
- package/dist/types-ts4.0/ui/PortalProvider/PortalProviderThemesProvider.d.ts +0 -6
- package/dist/types-ts4.0/ui/PortalProvider/index.d.ts +0 -50
- package/dist/types-ts4.0/ui/UnsupportedBlock/index.d.ts +0 -14
- package/dist/types-ts4.0/ui/UnsupportedInline/index.d.ts +0 -14
- package/dist/types-ts4.0/ui/WidthProvider/index.d.ts +0 -29
- package/dist/types-ts4.0/ui/WithCreateAnalyticsEvent/index.d.ts +0 -6
- package/dist/types-ts4.0/ui/clear-next-sibling-margin-top.d.ts +0 -2
- package/dist/types-ts4.0/ui/index.d.ts +0 -25
- package/dist/types-ts4.0/ui/unsupported-content-helper.d.ts +0 -3
- package/dist/types-ts4.0/ui/with-outer-listeners.d.ts +0 -8
- package/dist/types-ts4.0/ui-color/ColorPalette/Color/index.d.ts +0 -19
- package/dist/types-ts4.0/ui-color/ColorPalette/Color/styles.d.ts +0 -4
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +0 -3
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/common.d.ts +0 -2
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +0 -2
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/index.d.ts +0 -2
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +0 -113
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/panelBackgroundPalette.d.ts +0 -4
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +0 -3
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/type.d.ts +0 -8
- package/dist/types-ts4.0/ui-color/ColorPalette/index.d.ts +0 -15
- package/dist/types-ts4.0/ui-color/ColorPalette/styles.d.ts +0 -1
- package/dist/types-ts4.0/ui-color/index.d.ts +0 -9
- package/dist/types-ts4.0/ui-menu/Dropdown/index.d.ts +0 -35
- package/dist/types-ts4.0/ui-menu/DropdownMenu/index.d.ts +0 -19
- package/dist/types-ts4.0/ui-menu/DropdownMenu/types.d.ts +0 -46
- package/dist/types-ts4.0/ui-menu/ToolbarButton/index.d.ts +0 -53
- package/dist/types-ts4.0/ui-menu/ToolbarButton/styles.d.ts +0 -4
- package/dist/types-ts4.0/ui-menu/index.d.ts +0 -5
- package/dist/types-ts4.0/ui-react/ReactEditorViewContext.d.ts +0 -8
- package/dist/types-ts4.0/ui-react/index.d.ts +0 -2
- package/dist/types-ts4.0/ui-react/with-react-editor-view-outer-listeners.d.ts +0 -9
- package/dist/types-ts4.0/utils/analytics.d.ts +0 -48
- package/dist/types-ts4.0/utils/annotation/index.d.ts +0 -8
- package/dist/types-ts4.0/utils/breakout.d.ts +0 -10
- package/dist/types-ts4.0/utils/browser-extensions.d.ts +0 -43
- package/dist/types-ts4.0/utils/browser.d.ts +0 -4
- package/dist/types-ts4.0/utils/compare-props.d.ts +0 -32
- package/dist/types-ts4.0/utils/compareNodes.d.ts +0 -31
- package/dist/types-ts4.0/utils/compose.d.ts +0 -30
- package/dist/types-ts4.0/utils/date.d.ts +0 -18
- package/dist/types-ts4.0/utils/dom.d.ts +0 -26
- package/dist/types-ts4.0/utils/editor-core-utils.d.ts +0 -24
- package/dist/types-ts4.0/utils/error-reporter.d.ts +0 -13
- package/dist/types-ts4.0/utils/extension-handler.d.ts +0 -2
- package/dist/types-ts4.0/utils/getModeFromTheme.d.ts +0 -1
- package/dist/types-ts4.0/utils/imageLoader.d.ts +0 -14
- package/dist/types-ts4.0/utils/index.d.ts +0 -45
- package/dist/types-ts4.0/utils/is-text-input.d.ts +0 -2
- package/dist/types-ts4.0/utils/macro.d.ts +0 -10
- package/dist/types-ts4.0/utils/nodes.d.ts +0 -35
- package/dist/types-ts4.0/utils/performance/hooks/use-component-render-tracking/index.d.ts +0 -19
- package/dist/types-ts4.0/utils/performance/is-performance-api-available.d.ts +0 -3
- package/dist/types-ts4.0/utils/performance/measure-render.d.ts +0 -41
- package/dist/types-ts4.0/utils/performance/measure-tti.d.ts +0 -14
- package/dist/types-ts4.0/utils/performance/measure.d.ts +0 -3
- package/dist/types-ts4.0/utils/performance/navigation.d.ts +0 -1
- package/dist/types-ts4.0/utils/plugin-state-factory.d.ts +0 -16
- package/dist/types-ts4.0/utils/profiler/render-count.d.ts +0 -50
- package/dist/types-ts4.0/utils/should-force-tracking.d.ts +0 -1
- package/dist/types-ts4.0/utils/slice.d.ts +0 -11
- package/dist/types-ts4.0/utils/table.d.ts +0 -4
- package/dist/types-ts4.0/utils/track-unsupported-content.d.ts +0 -8
- package/dist/types-ts4.0/utils/traversor.d.ts +0 -9
- package/dist/types-ts4.0/utils/types.d.ts +0 -2
- package/dist/types-ts4.0/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +0 -57
- package/dist/types-ts4.0/utils/validate-using-spec.d.ts +0 -19
- package/dist/types-ts4.0/utils/validator.d.ts +0 -42
- package/dist/types-ts4.0/utils/whitespace.d.ts +0 -2
- package/dist/types-ts4.0/validator.d.ts +0 -2
- package/dist/types-ts4.0/with-plugin-state/index.d.ts +0 -86
- package/dist/types-ts4.0/with-plugin-state/types.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "70.1
|
|
3
|
+
"version": "70.2.1",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,14 +12,6 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.0 <4.5": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.0/*",
|
|
19
|
-
"dist/types-ts4.0/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"sideEffects": false,
|
|
24
16
|
"atlaskit:src": "src/index.ts",
|
|
25
17
|
"atlassian": {
|
|
@@ -71,7 +63,7 @@
|
|
|
71
63
|
"@atlaskit/analytics-namespaced-context": "^6.5.0",
|
|
72
64
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
73
65
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
74
|
-
"@atlaskit/button": "^16.
|
|
66
|
+
"@atlaskit/button": "^16.4.0",
|
|
75
67
|
"@atlaskit/code": "^14.4.0",
|
|
76
68
|
"@atlaskit/codemod-utils": "^4.1.0",
|
|
77
69
|
"@atlaskit/editor-json-transformer": "^8.8.0",
|
|
@@ -79,17 +71,17 @@
|
|
|
79
71
|
"@atlaskit/emoji": "^66.0.0",
|
|
80
72
|
"@atlaskit/icon": "^21.11.0",
|
|
81
73
|
"@atlaskit/in-product-testing": "^0.1.0",
|
|
82
|
-
"@atlaskit/media-card": "^74.
|
|
83
|
-
"@atlaskit/media-client": "^18.
|
|
74
|
+
"@atlaskit/media-card": "^74.2.0",
|
|
75
|
+
"@atlaskit/media-client": "^18.1.0",
|
|
84
76
|
"@atlaskit/media-picker": "^64.0.0",
|
|
85
77
|
"@atlaskit/mention": "^21.0.0",
|
|
86
|
-
"@atlaskit/menu": "^1.
|
|
78
|
+
"@atlaskit/menu": "^1.4.0",
|
|
87
79
|
"@atlaskit/profilecard": "^17.2.0",
|
|
88
|
-
"@atlaskit/smart-card": "^23.
|
|
80
|
+
"@atlaskit/smart-card": "^23.4.0",
|
|
89
81
|
"@atlaskit/smart-user-picker": "^6.0.0",
|
|
90
82
|
"@atlaskit/task-decision": "^17.5.0",
|
|
91
83
|
"@atlaskit/theme": "^12.2.0",
|
|
92
|
-
"@atlaskit/tokens": "^0.
|
|
84
|
+
"@atlaskit/tokens": "^0.11.0",
|
|
93
85
|
"@atlaskit/tooltip": "^17.6.0",
|
|
94
86
|
"@atlaskit/ufo": "^0.1.0",
|
|
95
87
|
"@atlaskit/width-detector": "^4.0.0",
|
|
@@ -123,7 +115,7 @@
|
|
|
123
115
|
"@atlaskit/editor-json-transformer": "^8.8.0",
|
|
124
116
|
"@atlaskit/editor-test-helpers": "^17.2.0",
|
|
125
117
|
"@atlaskit/media-core": "^34.0.0",
|
|
126
|
-
"@atlaskit/util-data-test": "^17.
|
|
118
|
+
"@atlaskit/util-data-test": "^17.6.0",
|
|
127
119
|
"@atlaskit/visual-regression": "*",
|
|
128
120
|
"@atlaskit/webdriver-runner": "*",
|
|
129
121
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -145,7 +137,10 @@
|
|
|
145
137
|
},
|
|
146
138
|
"@repo/internal": {
|
|
147
139
|
"deprecation": "no-deprecated-imports",
|
|
148
|
-
"theming": "tokens"
|
|
140
|
+
"theming": "tokens",
|
|
141
|
+
"styling": [
|
|
142
|
+
"emotion"
|
|
143
|
+
]
|
|
149
144
|
}
|
|
150
145
|
},
|
|
151
146
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
package/report.api.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-common"
|
|
1
|
+
## API Report File for "@atlaskit/editor-common"
|
|
2
2
|
|
|
3
|
-
> Do not edit this file.
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
<!--
|
|
6
|
+
Generated API Report version: 2.0
|
|
7
|
+
-->
|
|
4
8
|
|
|
5
9
|
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
6
10
|
|
|
7
11
|
```ts
|
|
8
|
-
|
|
12
|
+
// (No @packageDocumentation comment for this package)
|
|
9
13
|
```
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { InProductTestCase } from '@atlaskit/in-product-testing';
|
|
2
|
-
import { SmartLinkTestCaseOpts } from '../types';
|
|
3
|
-
export declare const editBlockSmartLinkTitleTestCase: ({ ui, url, }: SmartLinkTestCaseOpts) => InProductTestCase;
|
|
4
|
-
export declare const editBlockSmartLinkUrlTestCase: ({ ui, url, }: SmartLinkTestCaseOpts) => InProductTestCase;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { InProductTestCase } from '@atlaskit/in-product-testing';
|
|
2
|
-
import { SmartLinkTestCaseOpts } from '../types';
|
|
3
|
-
export declare const editEmbedSmartLinkTitleTestCase: ({ ui, url, }: SmartLinkTestCaseOpts) => InProductTestCase;
|
|
4
|
-
export declare const editEmbedSmartLinkUrlTestCase: ({ ui, url, }: SmartLinkTestCaseOpts) => InProductTestCase;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { InProductTestCase } from '@atlaskit/in-product-testing';
|
|
2
|
-
import { SmartLinkTestCaseOpts } from '../types';
|
|
3
|
-
export declare const editInlineSmartLinkTitleTestCase: ({ ui, url, }: SmartLinkTestCaseOpts) => InProductTestCase;
|
|
4
|
-
export declare const editInlineSmartLinkUrlTestCase: ({ ui, url, }: SmartLinkTestCaseOpts) => InProductTestCase;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { EditorPageObject } from './page-objects/Editor';
|
|
2
|
-
export { fundamentalsTestCollection } from './cases/fundamentals/collection';
|
|
3
|
-
export { inlineSmartLinksTestCollection, blockSmartLinksTestCollection, embedSmartLinksTestCollection, blueLinksTestCollection, } from './cases/smart-links';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
|
|
3
|
-
import { EditorTestCaseOpts } from '../cases/types';
|
|
4
|
-
import { RendererPageObject } from './Renderer';
|
|
5
|
-
export declare class EditorPageObject extends InProductTestPageObject {
|
|
6
|
-
getEditorArea(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
7
|
-
getTitleArea(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
8
|
-
publish(opts: EditorTestCaseOpts['ui']): RendererPageObject;
|
|
9
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { CypressType, InProductTestPageObject } from '@atlaskit/in-product-testing';
|
|
3
|
-
import { CardAppearance } from '@atlaskit/smart-card';
|
|
4
|
-
import { EditorPageObject } from './Editor';
|
|
5
|
-
export declare class EditorSmartLinkPageObject extends InProductTestPageObject {
|
|
6
|
-
protected cy: CypressType;
|
|
7
|
-
private editor;
|
|
8
|
-
constructor(cy: CypressType, editor: EditorPageObject);
|
|
9
|
-
testIds: {
|
|
10
|
-
viewSwitcher: string;
|
|
11
|
-
displayUrlOption: string;
|
|
12
|
-
displayInlineOption: string;
|
|
13
|
-
displayCardOption: string;
|
|
14
|
-
displayEmbedOption: string;
|
|
15
|
-
linkUrl: string;
|
|
16
|
-
linkLabel: string;
|
|
17
|
-
};
|
|
18
|
-
ariaLabels: {
|
|
19
|
-
editLink: string;
|
|
20
|
-
deleteLink: string;
|
|
21
|
-
unlinkLink: string;
|
|
22
|
-
};
|
|
23
|
-
private getViewSwitcher;
|
|
24
|
-
openViewSwitcher(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
25
|
-
private getViewSwitcherOption;
|
|
26
|
-
selectViewSwitcherOption(type?: CardAppearance | 'url'): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
27
|
-
insertSmartLinkByTyping(url: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
28
|
-
switchAfterInsert(type?: CardAppearance | 'url'): void;
|
|
29
|
-
private getSmartLink;
|
|
30
|
-
getEditLinkButton(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
31
|
-
openEditLinkMenu(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
32
|
-
changeLinkLabel(title: string, type?: CardAppearance | 'url'): void;
|
|
33
|
-
changeLinkUrl(url: string, type?: CardAppearance | 'url'): void;
|
|
34
|
-
private typeIntoLabelField;
|
|
35
|
-
private typeIntoUrlField;
|
|
36
|
-
deleteSmartLink(type?: CardAppearance | 'url'): void;
|
|
37
|
-
private clickDeleteIcon;
|
|
38
|
-
unlink(type?: CardAppearance | 'url'): void;
|
|
39
|
-
private clickUnlinkIcon;
|
|
40
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
|
|
3
|
-
export declare class RendererPageObject extends InProductTestPageObject {
|
|
4
|
-
getContent(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
5
|
-
expectContentReady(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
6
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, BROWSER_FREEZE_INTERACTION_TYPE, CONTENT_COMPONENT, DELETE_DIRECTION, EVENT_TYPE, FLOATING_CONTROLS_TITLE, FULL_WIDTH_MODE, GAP_CURSOR_POSITION, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LAYOUT_TYPE, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, LIST_TEXT_SCENARIOS, MODE, PLATFORMS, PUNC, PasteContents, PasteSources, PasteTypes, RESOLVE_METHOD, SELECTION_TYPE, SELECTION_POSITION, SMART_LINK_TYPE, SYMBOL, SmartLinkNodeContexts, TABLE_ACTION, TABLE_BREAKOUT, TARGET_SELECTION_SOURCE, TOOLBAR_ACTION_SUBJECT_ID, TRIGGER_METHOD, USER_CONTEXT, } from './types';
|
|
2
|
-
export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, AnnotationAEP, AnnotationAEPAttributes, AnnotationActionType, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, CaptionTrackAction, ColorPickerAEP, CommonListAnalyticsAttributes, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, DismissedCreateLinkInlineDialogAEP, DispatchAnalyticsEvent, EditLinkToolbarAEP, EnteredTextLinkSearchInputAEP, ErrorEventAttributes, ErrorEventPayload, ExperimentalEventPayload, ExtensionEventPayload, ExtensionType, FeatureExposureAEP, FormatEventPayload, GeneralEventPayload, HighlightedSearchResultsAEP, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, InsertSmartLinkAEP, ListEventPayload, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, NodeCount, NodeEventPayload, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, PluginMethodReport, PluginPerformanceReportData, PluginsReport, QuickSearchPerfAEP, RecentActivitiesPerfAEP, SelectAllAEP, SelectCellAEP, SelectNodeAEP, SelectRangeAEP, SelectedSearchResultsAEP, SelectionEventPayload, SelectionJson, ShownPostQuerySearchResultsAEP, ShownPreQuerySearchResultsAEP, SimplifiedNode, SmartLinkNodeContext, SubstituteEventPayload, TableEventPayload, TextColorSelectedAEP, TextColorSelectedAttr, TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, ToolbarEventPayload, TransactionEventPayload, TypeAheadPayload, UfoSessionCompletePayloadAEP, UnlinkToolbarAEP, ViewedCreateLinkInlineDialogAEP, FireAnalyticsCallback, } from './types';
|
|
3
|
-
export type { EditorAnalyticsAPI } from './api';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import { UIAEP } from './utils';
|
|
3
|
-
declare type AvatarButtonViewedAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AVATAR_GROUP_PLUGIN, {}, undefined>;
|
|
4
|
-
export declare type AvatarEventPayload = AvatarButtonViewedAEP;
|
|
5
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
-
import { UIAEP } from './utils';
|
|
3
|
-
declare type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
|
|
4
|
-
declare type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {}, undefined>;
|
|
5
|
-
declare type ConfigPanelCrashedAEP = UIAEP<ACTION.ERRORED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
|
|
6
|
-
product: string;
|
|
7
|
-
browserInfo: string;
|
|
8
|
-
extensionKey: string;
|
|
9
|
-
fields: string;
|
|
10
|
-
error: string;
|
|
11
|
-
errorInfo?: {
|
|
12
|
-
componentStack: string;
|
|
13
|
-
};
|
|
14
|
-
errorStack?: string;
|
|
15
|
-
}, undefined>;
|
|
16
|
-
export declare type ConfigPanelEventPayload = OpenAEP | CloseAEP | ConfigPanelCrashedAEP;
|
|
17
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
-
import { TrackAEP } from './utils';
|
|
3
|
-
declare type CopyAEP = TrackAEP<ACTION.COPIED, ACTION_SUBJECT.DOCUMENT, undefined, {
|
|
4
|
-
content: string[];
|
|
5
|
-
inputMethod?: string;
|
|
6
|
-
nodeType?: string;
|
|
7
|
-
}, undefined>;
|
|
8
|
-
declare type CutAEP = TrackAEP<ACTION.CUT, ACTION_SUBJECT.DOCUMENT, undefined, {
|
|
9
|
-
content: string[];
|
|
10
|
-
}, undefined>;
|
|
11
|
-
export declare type CutCopyEventPayload = CutAEP | CopyAEP;
|
|
12
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
-
import { TrackAEP } from './utils';
|
|
3
|
-
declare type TypeDateStartedAEP = TrackAEP<ACTION.TYPING_STARTED, ACTION_SUBJECT.DATE, undefined, undefined, undefined>;
|
|
4
|
-
declare type TypeDateFinishedAEP = TrackAEP<ACTION.TYPING_FINISHED, ACTION_SUBJECT.DATE, undefined, undefined, undefined>;
|
|
5
|
-
declare type IncrementDateSegmentAEP = TrackAEP<ACTION.INCREMENTED, ACTION_SUBJECT.DATE_SEGMENT, undefined, {
|
|
6
|
-
dateSegment: ACTION_SUBJECT_ID.DATE_DAY | ACTION_SUBJECT_ID.DATE_MONTH | ACTION_SUBJECT_ID.DATE_YEAR;
|
|
7
|
-
}, undefined>;
|
|
8
|
-
declare type DecrementDateSegmentAEP = TrackAEP<ACTION.DECREMENTED, ACTION_SUBJECT.DATE_SEGMENT, undefined, {
|
|
9
|
-
dateSegment: ACTION_SUBJECT_ID.DATE_DAY | ACTION_SUBJECT_ID.DATE_MONTH | ACTION_SUBJECT_ID.DATE_YEAR;
|
|
10
|
-
}, undefined>;
|
|
11
|
-
declare type CommitDateAEP = TrackAEP<ACTION.COMMITTED, ACTION_SUBJECT.DATE, undefined, {
|
|
12
|
-
commitMethod: INPUT_METHOD.PICKER | INPUT_METHOD.BLUR | INPUT_METHOD.KEYBOARD;
|
|
13
|
-
isValid: true | false;
|
|
14
|
-
isToday: true | false;
|
|
15
|
-
}, undefined>;
|
|
16
|
-
export declare type DateEventPayload = TypeDateStartedAEP | TypeDateFinishedAEP | IncrementDateSegmentAEP | DecrementDateSegmentAEP | CommitDateAEP;
|
|
17
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import { TrackAEP, UIAEP } from './utils';
|
|
3
|
-
declare type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.ELEMENT_BROWSER, undefined, {
|
|
4
|
-
mode: 'full' | 'inline';
|
|
5
|
-
}, undefined>;
|
|
6
|
-
declare type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.ELEMENT_BROWSER, undefined, {
|
|
7
|
-
mode: 'full' | 'inline';
|
|
8
|
-
}, undefined>;
|
|
9
|
-
declare type ClickedElementBrowserCategory = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.BUTTON_CATEGORY, any, undefined>;
|
|
10
|
-
export declare type ElementBrowserEventPayload = OpenAEP | CloseAEP | ClickedElementBrowserCategory;
|
|
11
|
-
export {};
|