@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
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from 'react';
|
|
2
|
-
import { OpenChangedEvent } from '../../ui/DropList';
|
|
3
|
-
export interface Props {
|
|
4
|
-
mountTo?: HTMLElement;
|
|
5
|
-
boundariesElement?: HTMLElement;
|
|
6
|
-
scrollableElement?: HTMLElement;
|
|
7
|
-
trigger: React.ReactElement<any>;
|
|
8
|
-
isOpen?: boolean;
|
|
9
|
-
onOpenChange?: (attrs: OpenChangedEvent) => void;
|
|
10
|
-
fitWidth?: number;
|
|
11
|
-
fitHeight?: number;
|
|
12
|
-
zIndex?: number;
|
|
13
|
-
}
|
|
14
|
-
export interface State {
|
|
15
|
-
target?: HTMLElement;
|
|
16
|
-
popupPlacement: [
|
|
17
|
-
string,
|
|
18
|
-
string
|
|
19
|
-
];
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Wrapper around @atlaskit/droplist which uses Popup and Portal to render
|
|
23
|
-
* droplist outside of "overflow: hidden" containers when needed.
|
|
24
|
-
*
|
|
25
|
-
* Also it controls popper's placement.
|
|
26
|
-
*/
|
|
27
|
-
export declare class Dropdown extends PureComponent<Props, State> {
|
|
28
|
-
constructor(props: Props);
|
|
29
|
-
private handleRef;
|
|
30
|
-
private updatePopupPlacement;
|
|
31
|
-
private renderDropdown;
|
|
32
|
-
render(): JSX.Element;
|
|
33
|
-
}
|
|
34
|
-
declare const DropdownWithOuterListeners: React.FC<Props & import("../../ui-react/with-react-editor-view-outer-listeners").WithOutsideClickProps>;
|
|
35
|
-
export default DropdownWithOuterListeners;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { PureComponent } from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
|
-
import { Props, State } from './types';
|
|
5
|
-
export type { MenuItem } from './types';
|
|
6
|
-
/**
|
|
7
|
-
* Wrapper around @atlaskit/droplist which uses Popup and Portal to render
|
|
8
|
-
* dropdown-menu outside of "overflow: hidden" containers when needed.
|
|
9
|
-
*
|
|
10
|
-
* Also it controls popper's placement.
|
|
11
|
-
*/
|
|
12
|
-
export default class DropdownMenuWrapper extends PureComponent<Props, State> {
|
|
13
|
-
state: State;
|
|
14
|
-
private handleRef;
|
|
15
|
-
private updatePopupPlacement;
|
|
16
|
-
private handleClose;
|
|
17
|
-
private renderDropdownMenu;
|
|
18
|
-
render(): jsx.JSX.Element;
|
|
19
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EditorActionsOptions as EditorActions } from '../../types';
|
|
3
|
-
export interface Props {
|
|
4
|
-
mountTo?: HTMLElement;
|
|
5
|
-
boundariesElement?: HTMLElement;
|
|
6
|
-
scrollableElement?: HTMLElement;
|
|
7
|
-
isOpen?: boolean;
|
|
8
|
-
onOpenChange?: (attrs: any) => void;
|
|
9
|
-
onItemActivated?: (attrs: any) => void;
|
|
10
|
-
onMouseEnter?: (attrs: any) => void;
|
|
11
|
-
onMouseLeave?: (attrs: any) => void;
|
|
12
|
-
fitWidth?: number;
|
|
13
|
-
fitHeight?: number;
|
|
14
|
-
offset?: Array<number>;
|
|
15
|
-
zIndex?: number;
|
|
16
|
-
items: Array<{
|
|
17
|
-
items: MenuItem[];
|
|
18
|
-
}>;
|
|
19
|
-
shouldUseDefaultRole?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface MenuItem {
|
|
22
|
-
key?: string;
|
|
23
|
-
content: string | React.ReactChild | React.ReactFragment;
|
|
24
|
-
value: {
|
|
25
|
-
name: string;
|
|
26
|
-
};
|
|
27
|
-
shortcut?: string;
|
|
28
|
-
elemBefore?: React.ReactElement<any>;
|
|
29
|
-
elemAfter?: React.ReactElement<any>;
|
|
30
|
-
tooltipDescription?: string;
|
|
31
|
-
tooltipPosition?: string;
|
|
32
|
-
isActive?: boolean;
|
|
33
|
-
isDisabled?: boolean;
|
|
34
|
-
handleRef?: any;
|
|
35
|
-
className?: string;
|
|
36
|
-
'aria-label'?: React.AriaAttributes['aria-label'];
|
|
37
|
-
'aria-haspopup'?: React.AriaAttributes['aria-haspopup'];
|
|
38
|
-
onClick?: (editorActions: EditorActions) => void;
|
|
39
|
-
}
|
|
40
|
-
export interface State {
|
|
41
|
-
target?: HTMLElement;
|
|
42
|
-
popupPlacement: [
|
|
43
|
-
string,
|
|
44
|
-
string
|
|
45
|
-
];
|
|
46
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonProps } from '@atlaskit/button/types';
|
|
4
|
-
import { PositionType } from '@atlaskit/tooltip';
|
|
5
|
-
import { TOOLBAR_ACTION_SUBJECT_ID } from '../../analytics';
|
|
6
|
-
import { MenuItem } from '../DropdownMenu/types';
|
|
7
|
-
export declare const TOOLBAR_BUTTON: typeof TOOLBAR_ACTION_SUBJECT_ID;
|
|
8
|
-
export declare type Props = {
|
|
9
|
-
buttonId?: TOOLBAR_ACTION_SUBJECT_ID;
|
|
10
|
-
className?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
hideTooltip?: boolean;
|
|
13
|
-
href?: string;
|
|
14
|
-
iconAfter?: React.ReactElement<any>;
|
|
15
|
-
iconBefore?: React.ReactElement<any>;
|
|
16
|
-
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
17
|
-
onItemClick?: (item: MenuItem) => void;
|
|
18
|
-
selected?: boolean;
|
|
19
|
-
spacing?: 'default' | 'compact' | 'none';
|
|
20
|
-
target?: string;
|
|
21
|
-
title?: React.ReactNode;
|
|
22
|
-
titlePosition?: PositionType;
|
|
23
|
-
item?: MenuItem;
|
|
24
|
-
testId?: string;
|
|
25
|
-
'aria-label'?: React.AriaAttributes['aria-label'];
|
|
26
|
-
'aria-expanded'?: React.AriaAttributes['aria-expanded'];
|
|
27
|
-
'aria-haspopup'?: React.AriaAttributes['aria-haspopup'];
|
|
28
|
-
'aria-pressed'?: React.AriaAttributes['aria-pressed'];
|
|
29
|
-
} & Pick<ButtonProps, 'aria-label' | 'children'>;
|
|
30
|
-
export declare type ToolbarButtonRef = HTMLElement;
|
|
31
|
-
declare const ToolbarButton: React.ForwardRefExoticComponent<{
|
|
32
|
-
buttonId?: TOOLBAR_ACTION_SUBJECT_ID | undefined;
|
|
33
|
-
className?: string | undefined;
|
|
34
|
-
disabled?: boolean | undefined;
|
|
35
|
-
hideTooltip?: boolean | undefined;
|
|
36
|
-
href?: string | undefined;
|
|
37
|
-
iconAfter?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
38
|
-
iconBefore?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
39
|
-
onClick?: ((event: React.MouseEvent<HTMLElement>) => void) | undefined;
|
|
40
|
-
onItemClick?: ((item: MenuItem) => void) | undefined;
|
|
41
|
-
selected?: boolean | undefined;
|
|
42
|
-
spacing?: "none" | "default" | "compact" | undefined;
|
|
43
|
-
target?: string | undefined;
|
|
44
|
-
title?: React.ReactNode;
|
|
45
|
-
titlePosition?: PositionType | undefined;
|
|
46
|
-
item?: MenuItem | undefined;
|
|
47
|
-
testId?: string | undefined;
|
|
48
|
-
'aria-label'?: React.AriaAttributes['aria-label'];
|
|
49
|
-
'aria-expanded'?: React.AriaAttributes['aria-expanded'];
|
|
50
|
-
'aria-haspopup'?: React.AriaAttributes['aria-haspopup'];
|
|
51
|
-
'aria-pressed'?: React.AriaAttributes['aria-pressed'];
|
|
52
|
-
} & Pick<ButtonProps, "children" | "aria-label"> & React.RefAttributes<HTMLElement>>;
|
|
53
|
-
export default ToolbarButton;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as DropdownMenu } from '../ui-menu/DropdownMenu';
|
|
2
|
-
export type { MenuItem } from '../ui-menu/DropdownMenu';
|
|
3
|
-
export { default as ToolbarButton, TOOLBAR_BUTTON, } from '../ui-menu/ToolbarButton';
|
|
4
|
-
export type { ToolbarButtonRef } from '../ui-menu/ToolbarButton';
|
|
5
|
-
export { default as Dropdown } from './Dropdown';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EditorView } from 'prosemirror-view';
|
|
3
|
-
declare type ReactEditorViewContextProps = {
|
|
4
|
-
editorView?: EditorView;
|
|
5
|
-
editorRef?: React.RefObject<HTMLDivElement>;
|
|
6
|
-
};
|
|
7
|
-
declare const ReactEditorViewContext: React.Context<ReactEditorViewContextProps>;
|
|
8
|
-
export default ReactEditorViewContext;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { ComponentClass, StatelessComponent } from 'react';
|
|
2
|
-
declare type SimpleEventHandler<T> = (event: T) => void;
|
|
3
|
-
export interface WithOutsideClickProps {
|
|
4
|
-
handleClickOutside?: SimpleEventHandler<MouseEvent>;
|
|
5
|
-
handleEscapeKeydown?: SimpleEventHandler<KeyboardEvent>;
|
|
6
|
-
handleEnterKeydown?: SimpleEventHandler<KeyboardEvent>;
|
|
7
|
-
}
|
|
8
|
-
export default function withReactEditorViewOuterListeners<P>(Component: ComponentClass<P> | StatelessComponent<P>): React.FC<P & WithOutsideClickProps>;
|
|
9
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { EDITOR_APPEARANCE_CONTEXT } from '@atlaskit/analytics-namespaced-context';
|
|
2
|
-
export declare const getAnalyticsAppearance: (appearance?: string | undefined) => EDITOR_APPEARANCE_CONTEXT | undefined;
|
|
3
|
-
export declare const getAnalyticsEventSeverity: (duration: number, normalThreshold: number, degradedThreshold: number) => SEVERITY;
|
|
4
|
-
export declare enum SEVERITY {
|
|
5
|
-
NORMAL = "normal",
|
|
6
|
-
DEGRADED = "degraded",
|
|
7
|
-
BLOCKING = "blocking"
|
|
8
|
-
}
|
|
9
|
-
export { UNSUPPORTED_CONTENT_LEVEL_SEVERITY, getUnsupportedContentLevelData, UNSUPPORTED_CONTENT_LEVEL_SEVERITY_THRESHOLD_DEFAULTS, } from './unsupportedContent/get-unsupported-content-level-data';
|
|
10
|
-
export type { UnsupportedContentLevelsTracking } from './unsupportedContent/get-unsupported-content-level-data';
|
|
11
|
-
export declare enum EVENT_TYPE {
|
|
12
|
-
TRACK = "track",
|
|
13
|
-
UI = "ui"
|
|
14
|
-
}
|
|
15
|
-
export declare enum ACTION {
|
|
16
|
-
UNSUPPORTED_CONTENT_ENCOUNTERED = "unsupportedContentEncountered",
|
|
17
|
-
UNSUPPORTED_TOOLTIP_VIEWED = "viewed"
|
|
18
|
-
}
|
|
19
|
-
export declare enum ACTION_SUBJECT {
|
|
20
|
-
DOCUMENT = "document",
|
|
21
|
-
TOOLTIP = "tooltip"
|
|
22
|
-
}
|
|
23
|
-
export declare enum ACTION_SUBJECT_ID {
|
|
24
|
-
UNSUPPORTED_BLOCK = "unsupportedBlock",
|
|
25
|
-
UNSUPPORTED_INLINE = "unsupportedInline",
|
|
26
|
-
UNSUPPORTED_MARK = "unsupportedMark",
|
|
27
|
-
UNSUPPORTED_ERROR = "unsupportedUnhandled",
|
|
28
|
-
UNSUPPORTED_NODE_ATTRIBUTE = "unsupportedNodeAttribute",
|
|
29
|
-
ON_UNSUPPORTED_INLINE = "onUnsupportedInline",
|
|
30
|
-
ON_UNSUPPORTED_BLOCK = "onUnsupportedBlock"
|
|
31
|
-
}
|
|
32
|
-
declare type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
|
|
33
|
-
action: Action;
|
|
34
|
-
actionSubject: ActionSubject;
|
|
35
|
-
actionSubjectId?: ActionSubjectID;
|
|
36
|
-
attributes?: Attributes;
|
|
37
|
-
eventType: EventType;
|
|
38
|
-
};
|
|
39
|
-
declare type TrackAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, EVENT_TYPE.TRACK>;
|
|
40
|
-
declare type UnsupportedContentEncounteredAEP = TrackAEP<ACTION.UNSUPPORTED_CONTENT_ENCOUNTERED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID, {
|
|
41
|
-
unsupportedNode: Record<string, any>;
|
|
42
|
-
errorCode?: String;
|
|
43
|
-
}>;
|
|
44
|
-
export declare type UnsupportedContentPayload = UnsupportedContentEncounteredAEP;
|
|
45
|
-
export declare type UnsupportedContentTooltipPayload = AEP<ACTION.UNSUPPORTED_TOOLTIP_VIEWED, ACTION_SUBJECT.TOOLTIP, ACTION_SUBJECT_ID.ON_UNSUPPORTED_BLOCK | ACTION_SUBJECT_ID.ON_UNSUPPORTED_INLINE, {
|
|
46
|
-
unsupportedNodeType: string | undefined;
|
|
47
|
-
}, EVENT_TYPE.UI>;
|
|
48
|
-
export declare const analyticsEventKey = "EDITOR_ANALYTICS_EVENT";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Node as PMNode, Schema } from 'prosemirror-model';
|
|
2
|
-
declare type Range = {
|
|
3
|
-
from: number;
|
|
4
|
-
to: number;
|
|
5
|
-
};
|
|
6
|
-
export declare const canApplyAnnotationOnRange: (rangeSelection: Range, doc: PMNode, schema: Schema) => boolean;
|
|
7
|
-
export declare const getAnnotationIdsFromRange: (rangeSelection: Range, doc: PMNode, schema: Schema) => string[];
|
|
8
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Variables required to construct a context for breakout ssr inline script.
|
|
3
|
-
*
|
|
4
|
-
* TODO: Clean this up after: https://product-fabric.atlassian.net/browse/ED-8942
|
|
5
|
-
*/
|
|
6
|
-
declare const breakoutConsts: any;
|
|
7
|
-
export declare const absoluteBreakoutWidth: (layout: 'full-width' | 'wide' | string, containerWidth: number) => any;
|
|
8
|
-
export { breakoutConsts };
|
|
9
|
-
export declare const calcWideWidth: any;
|
|
10
|
-
export declare const calcBreakoutWidth: any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
declare type UserBrowserExtension = 'grammarly';
|
|
2
|
-
export declare type UserBrowserExtensionResults = UserBrowserExtension[];
|
|
3
|
-
declare type BaseOptions = {
|
|
4
|
-
extensions: UserBrowserExtension[];
|
|
5
|
-
};
|
|
6
|
-
declare type AsyncOptions = BaseOptions & {
|
|
7
|
-
async: true;
|
|
8
|
-
asyncTimeoutMs: number;
|
|
9
|
-
};
|
|
10
|
-
declare type SyncOptions = BaseOptions & {
|
|
11
|
-
async?: false;
|
|
12
|
-
asyncTimeoutMs?: never;
|
|
13
|
-
};
|
|
14
|
-
declare type Options = BaseOptions & (SyncOptions | AsyncOptions);
|
|
15
|
-
/**
|
|
16
|
-
* Call this to return a list (or a Promise of a list) of detected browser extensions.
|
|
17
|
-
*
|
|
18
|
-
* This function supports a **synchronous** and **asynchronous** mode through options. You
|
|
19
|
-
* must pass a list of the browser extension names you want to target for detection.
|
|
20
|
-
* Only UserBrowserExtension extensions are supported, other target names will be silently
|
|
21
|
-
* ignored.
|
|
22
|
-
*
|
|
23
|
-
* If the async option is enabled, you must also pass a final timeout by when it
|
|
24
|
-
* should stop all detection attempts and return any partially detected extensions.
|
|
25
|
-
*
|
|
26
|
-
* Example usage:
|
|
27
|
-
* ```
|
|
28
|
-
* // synchronously/immediately check for extensions
|
|
29
|
-
* const extensions = sniffUserBrowserExtensions({ extensions: ['grammarly', 'requestly'] });
|
|
30
|
-
* // result will be ['grammarly'] or ['grammarly','requestly'] or ['requestly'] or [];
|
|
31
|
-
*
|
|
32
|
-
* // asynchronously check for extensions up to 30s
|
|
33
|
-
* sniffUserBrowserExtensions({
|
|
34
|
-
* extensions: ['grammarly', 'requestly'],
|
|
35
|
-
* async: true,
|
|
36
|
-
* asyncTimeoutMs: 30000,
|
|
37
|
-
* }).then(extensions => {
|
|
38
|
-
* // result will be ['grammarly'] or ['grammarly','requestly'] or ['requestly'] or [];
|
|
39
|
-
* })
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
export declare function sniffUserBrowserExtensions<O extends Options>(options: O): O extends AsyncOptions ? Promise<UserBrowserExtensionResults> : UserBrowserExtensionResults;
|
|
43
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare type ChangedData<T> = {
|
|
2
|
-
key: keyof T;
|
|
3
|
-
difference?: any;
|
|
4
|
-
maxDepthReached?: boolean;
|
|
5
|
-
newValue?: any;
|
|
6
|
-
oldValue?: any;
|
|
7
|
-
reactElementChanged?: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare type Changed<T> = Array<ChangedData<T>>;
|
|
10
|
-
export declare type PropsDifference<T> = {
|
|
11
|
-
removed: Array<keyof T>;
|
|
12
|
-
added: Array<keyof T>;
|
|
13
|
-
changed: Changed<T>;
|
|
14
|
-
};
|
|
15
|
-
export declare type ShallowPropsDifference<T> = {
|
|
16
|
-
removed: Array<keyof T>;
|
|
17
|
-
added: Array<keyof T>;
|
|
18
|
-
changed: Array<keyof T>;
|
|
19
|
-
};
|
|
20
|
-
export declare const getKeys: <T>(obj: T) => (keyof T)[];
|
|
21
|
-
export declare const getKeysAddedRemovedCommon: <T>(object1: T, object2: T) => {
|
|
22
|
-
added: (keyof T)[];
|
|
23
|
-
common: (keyof T)[];
|
|
24
|
-
removed: (keyof T)[];
|
|
25
|
-
};
|
|
26
|
-
export declare const serializeValue: <T>(value: T[keyof T]) => string | T[keyof T] | {
|
|
27
|
-
type: string;
|
|
28
|
-
keys: string[];
|
|
29
|
-
} | undefined;
|
|
30
|
-
export declare const getPropsDifference: <T>(object1: T, object2: T, curDepth?: number, maxDepth?: number, keysToIgnore?: (keyof T)[]) => PropsDifference<T>;
|
|
31
|
-
export declare const getShallowPropsDifference: <T>(object1: T, object2: T) => ShallowPropsDifference<T>;
|
|
32
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CardAttributes } from '@atlaskit/adf-schema';
|
|
2
|
-
import { SortOrder } from '../types';
|
|
3
|
-
interface CompareOptions {
|
|
4
|
-
getInlineCardTextFromStore(attrs: CardAttributes): string | null;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Compare 2 prosemirror nodes and check if it's greater, equal or less than the other node
|
|
8
|
-
* based on the sort order.
|
|
9
|
-
*
|
|
10
|
-
* @param {Node} nodeA
|
|
11
|
-
* @param {Node} nodeB
|
|
12
|
-
* @returns {(1 | 0 | -1)}
|
|
13
|
-
*
|
|
14
|
-
* For Ascending order:
|
|
15
|
-
* 1 -> NodeA > NodeB
|
|
16
|
-
* 0 -> NodeA === NodeB
|
|
17
|
-
* -1 -> Node A < NodeB
|
|
18
|
-
* For Descending order:
|
|
19
|
-
* 1 -> NodeA < NodeB
|
|
20
|
-
* 0 -> NodeA === NodeB
|
|
21
|
-
* -1 -> Node A > NodeB
|
|
22
|
-
*
|
|
23
|
-
* If either node is empty:
|
|
24
|
-
* The empty node is always treated as lower priority,
|
|
25
|
-
* irrespective of the order.
|
|
26
|
-
*
|
|
27
|
-
* If no order is provided the method defaults to Ascending order,
|
|
28
|
-
* like a regular JS sort method.
|
|
29
|
-
*/
|
|
30
|
-
export declare const createCompareNodes: (options: CompareOptions, order?: SortOrder) => Function;
|
|
31
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/** Helper type for single arg function */
|
|
2
|
-
declare type Func<A, B> = (a: A) => B;
|
|
3
|
-
/**
|
|
4
|
-
* Compose 1 to n functions.
|
|
5
|
-
* @param func first function
|
|
6
|
-
* @param funcs additional functions
|
|
7
|
-
*/
|
|
8
|
-
export declare function compose<F1 extends Func<any, any>, FN extends Array<Func<any, any>>, R extends FN extends [
|
|
9
|
-
] ? F1 : FN extends [
|
|
10
|
-
Func<infer A, any>
|
|
11
|
-
] ? (a: A) => ReturnType<F1> : FN extends [
|
|
12
|
-
any,
|
|
13
|
-
Func<infer A, any>
|
|
14
|
-
] ? (a: A) => ReturnType<F1> : FN extends [
|
|
15
|
-
any,
|
|
16
|
-
any,
|
|
17
|
-
Func<infer A, any>
|
|
18
|
-
] ? (a: A) => ReturnType<F1> : FN extends [
|
|
19
|
-
any,
|
|
20
|
-
any,
|
|
21
|
-
any,
|
|
22
|
-
Func<infer A, any>
|
|
23
|
-
] ? (a: A) => ReturnType<F1> : FN extends [
|
|
24
|
-
any,
|
|
25
|
-
any,
|
|
26
|
-
any,
|
|
27
|
-
any,
|
|
28
|
-
Func<infer A, any>
|
|
29
|
-
] ? (a: A) => ReturnType<F1> : Func<any, ReturnType<F1>>>(func: F1, ...funcs: FN): R;
|
|
30
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IntlShape } from 'react-intl-next';
|
|
2
|
-
declare enum FORMATS {
|
|
3
|
-
ISO_FORMAT = "YYYY-MM-DD",
|
|
4
|
-
CURRENT_YEAR_FORMAT_WITHOUT_YEAR = "CURRENT_YEAR_FORMAT_WITHOUT_YEAR",
|
|
5
|
-
LOCALIZED_FORMAT = "LOCALIZED_FORMAT"
|
|
6
|
-
}
|
|
7
|
-
export interface Date {
|
|
8
|
-
day: number;
|
|
9
|
-
month: number;
|
|
10
|
-
year: number;
|
|
11
|
-
}
|
|
12
|
-
export declare const timestampToUTCDate: (timestamp: string | number) => Date;
|
|
13
|
-
export declare const todayTimestampInUTC: () => string;
|
|
14
|
-
export declare const timestampToString: (timestamp: string | number, intl: IntlShape | null, pattern?: FORMATS | undefined) => string;
|
|
15
|
-
export declare const timestampToIsoFormat: (timestamp: string | number) => string;
|
|
16
|
-
export declare const isPastDate: (timestamp: string | number) => boolean;
|
|
17
|
-
export declare const timestampToTaskContext: (timestamp: string | number, intl: IntlShape) => string;
|
|
18
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Walks a DOM tree up to the provided `stopElement`, or if falsy before.
|
|
3
|
-
* @param element
|
|
4
|
-
* @param stopElement
|
|
5
|
-
*/
|
|
6
|
-
export declare function walkUpTreeUntil(element: HTMLElement, shouldStop: (element: HTMLElement) => boolean): HTMLElement;
|
|
7
|
-
/**
|
|
8
|
-
* Takes all children out from wrapped el and puts them directly inside
|
|
9
|
-
* the parent el, at the wrapped el's position
|
|
10
|
-
*/
|
|
11
|
-
export declare function unwrap(parent: HTMLElement, wrapped: HTMLElement): void;
|
|
12
|
-
/**
|
|
13
|
-
* Walks up DOM removing elements if they are empty until it finds
|
|
14
|
-
* one that is not
|
|
15
|
-
*/
|
|
16
|
-
export declare function removeNestedEmptyEls(el: HTMLElement): void;
|
|
17
|
-
/**
|
|
18
|
-
* IE11 doesn't support classList to SVGElements
|
|
19
|
-
**/
|
|
20
|
-
export declare const containsClassName: (node: HTMLElement | SVGElement | null, className: string) => boolean;
|
|
21
|
-
export declare function closest(node: HTMLElement | null | undefined, s: string): HTMLElement | null;
|
|
22
|
-
export declare function closestElement(node: HTMLElement | null | undefined, s: string): HTMLElement | null;
|
|
23
|
-
export declare function parsePx(pxStr: string): number | undefined;
|
|
24
|
-
export declare type MapCallback<T, S> = (elem: S, idx: number, parent: Element) => T;
|
|
25
|
-
export declare function mapElem<T>(elem: Element, callback: MapCallback<T, Element>): Array<T>;
|
|
26
|
-
export declare function maphElem<T, U extends HTMLElement>(elem: U, callback: MapCallback<T, U>): Array<T>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Node, NodeType, Slice } from 'prosemirror-model';
|
|
2
|
-
import { EditorState, Selection, TextSelection } from 'prosemirror-state';
|
|
3
|
-
import { Step } from 'prosemirror-transform';
|
|
4
|
-
import { EditorView } from 'prosemirror-view';
|
|
5
|
-
export declare const stepHasSlice: (step: Step) => step is Step<any> & {
|
|
6
|
-
from: number;
|
|
7
|
-
to: number;
|
|
8
|
-
slice: Slice;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Checks whether a given step is adding nodes of given nodeTypes
|
|
12
|
-
*
|
|
13
|
-
* @param step Step to check
|
|
14
|
-
* @param nodeTypes NodeTypes being added
|
|
15
|
-
*/
|
|
16
|
-
export declare function stepAddsOneOf(step: Step, nodeTypes: Set<NodeType>): boolean;
|
|
17
|
-
export declare const extractSliceFromStep: (step: Step) => Slice | null;
|
|
18
|
-
export declare const isTextSelection: (selection: Selection) => selection is TextSelection<any>;
|
|
19
|
-
export declare const isElementInTableCell: (element: HTMLElement | null) => HTMLElement | null;
|
|
20
|
-
export declare const isLastItemMediaGroup: (node: Node) => boolean;
|
|
21
|
-
export declare const setNodeSelection: (view: EditorView, pos: number) => void;
|
|
22
|
-
export declare function setTextSelection(view: EditorView, anchor: number, head?: number): void;
|
|
23
|
-
export declare function nonNullable<T>(value: T): value is NonNullable<T>;
|
|
24
|
-
export declare const isValidPosition: (pos: number, state: EditorState) => boolean;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare type ErrorReporterTags = {
|
|
2
|
-
[key: string]: string;
|
|
3
|
-
};
|
|
4
|
-
export interface ErrorReportingHandler {
|
|
5
|
-
captureMessage: (msg: string, tags?: ErrorReporterTags) => void;
|
|
6
|
-
captureException: (err: Error, tags?: ErrorReporterTags) => void;
|
|
7
|
-
}
|
|
8
|
-
export default class ErrorReporter {
|
|
9
|
-
private handlerStorage;
|
|
10
|
-
captureMessage(msg: string, tags?: ErrorReporterTags): void;
|
|
11
|
-
captureException(err: Error, tags?: ErrorReporterTags): void;
|
|
12
|
-
set handler(handler: ErrorReportingHandler | null);
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getModeFromTheme(theme: string): "dark" | "light";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React, { ComponentType } from 'react';
|
|
2
|
-
export interface ImageLoaderProps {
|
|
3
|
-
url?: string;
|
|
4
|
-
onExternalImageLoaded?: (dimensions: {
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
}) => void;
|
|
8
|
-
imageStatus?: ImageStatus;
|
|
9
|
-
}
|
|
10
|
-
export interface ImageLoaderState {
|
|
11
|
-
imageStatus: ImageStatus;
|
|
12
|
-
}
|
|
13
|
-
export declare type ImageStatus = 'complete' | 'loading' | 'error';
|
|
14
|
-
export declare const withImageLoader: <P extends {}>(Wrapped: React.ComponentType<P & ImageLoaderProps>) => React.ComponentClass<P & ImageLoaderProps, any>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export { canApplyAnnotationOnRange, getAnnotationIdsFromRange, } from './annotation';
|
|
2
|
-
export { getExtensionLozengeData } from './macro';
|
|
3
|
-
export type { Params } from './macro';
|
|
4
|
-
export { default as browser } from './browser';
|
|
5
|
-
export { default as ErrorReporter } from './error-reporter';
|
|
6
|
-
export type { ErrorReportingHandler } from './error-reporter';
|
|
7
|
-
export { isPastDate, timestampToIsoFormat, timestampToString, timestampToTaskContext, timestampToUTCDate, todayTimestampInUTC, } from './date';
|
|
8
|
-
export type { Date } from './date';
|
|
9
|
-
export { isElementInTableCell, isTextSelection, isLastItemMediaGroup, setNodeSelection, setTextSelection, nonNullable, stepAddsOneOf, stepHasSlice, extractSliceFromStep, isValidPosition, } from './editor-core-utils';
|
|
10
|
-
export { withImageLoader } from './imageLoader';
|
|
11
|
-
export type { ImageLoaderProps, ImageLoaderState, ImageStatus, } from './imageLoader';
|
|
12
|
-
export { absoluteBreakoutWidth, calcBreakoutWidth, calcWideWidth, breakoutConsts, } from './breakout';
|
|
13
|
-
export { findChangedNodesFromTransaction, validNode, validateNodes, isType, isParagraph, isText, isLinkMark, SelectedState, isNodeSelectedOrInRange, isSupportedInParent, } from './nodes';
|
|
14
|
-
export type { Reducer } from './plugin-state-factory';
|
|
15
|
-
export { pluginFactory } from './plugin-state-factory';
|
|
16
|
-
export { getFragmentBackingArray, mapFragment, mapSlice, flatmap, mapChildren, } from './slice';
|
|
17
|
-
export type { FlatMapCallback, MapWithCallback } from './slice';
|
|
18
|
-
export { walkUpTreeUntil, unwrap, removeNestedEmptyEls, containsClassName, closest, closestElement, parsePx, mapElem, maphElem, } from './dom';
|
|
19
|
-
export type { MapCallback } from './dom';
|
|
20
|
-
export { default as ADFTraversor } from './traversor';
|
|
21
|
-
export { analyticsEventKey, getAnalyticsAppearance, getAnalyticsEventSeverity, SEVERITY, getUnsupportedContentLevelData, UNSUPPORTED_CONTENT_LEVEL_SEVERITY, UNSUPPORTED_CONTENT_LEVEL_SEVERITY_THRESHOLD_DEFAULTS, } from './analytics';
|
|
22
|
-
export type { UnsupportedContentTooltipPayload, UnsupportedContentPayload, UnsupportedContentLevelsTracking, } from './analytics';
|
|
23
|
-
export { findAndTrackUnsupportedContentNodes } from './track-unsupported-content';
|
|
24
|
-
export { measureRender } from './performance/measure-render';
|
|
25
|
-
export { startMeasure, stopMeasure, clearMeasure } from './performance/measure';
|
|
26
|
-
export { measureTTI, getTTISeverity, TTI_SEVERITY_THRESHOLD_DEFAULTS, TTI_FROM_INVOCATION_SEVERITY_THRESHOLD_DEFAULTS, } from './performance/measure-tti';
|
|
27
|
-
export { isPerformanceAPIAvailable, isPerformanceObserverAvailable, } from './performance/is-performance-api-available';
|
|
28
|
-
export { getResponseEndTime } from './performance/navigation';
|
|
29
|
-
export { getExtensionRenderer } from './extension-handler';
|
|
30
|
-
export { hasMergedCell, calcTableColumnWidths, convertProsemirrorTableNodeToArrayOfRows, } from './table';
|
|
31
|
-
export { createCompareNodes } from './compareNodes';
|
|
32
|
-
export { compose } from './compose';
|
|
33
|
-
export { isTextInput } from './is-text-input';
|
|
34
|
-
export { ZERO_WIDTH_SPACE, ZERO_WIDTH_JOINER } from './whitespace';
|
|
35
|
-
export type { Diff } from './types';
|
|
36
|
-
export { shouldForceTracking } from './should-force-tracking';
|
|
37
|
-
export { getModeFromTheme } from './getModeFromTheme';
|
|
38
|
-
export type { UserBrowserExtensionResults } from './browser-extensions';
|
|
39
|
-
export { sniffUserBrowserExtensions } from './browser-extensions';
|
|
40
|
-
export { RenderCountProfiler } from './profiler/render-count';
|
|
41
|
-
export { validateADFEntity, validationErrorHandler, } from './validate-using-spec';
|
|
42
|
-
export { getShallowPropsDifference, getPropsDifference } from './compare-props';
|
|
43
|
-
export type { ShallowPropsDifference, PropsDifference } from './compare-props';
|
|
44
|
-
export { useComponentRenderTracking } from './performance/hooks/use-component-render-tracking';
|
|
45
|
-
export type { UseComponentRenderTrackingArgs } from './performance/hooks/use-component-render-tracking';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Node as PmNode } from 'prosemirror-model';
|
|
2
|
-
export interface Params {
|
|
3
|
-
node: PmNode;
|
|
4
|
-
type: 'image' | 'icon';
|
|
5
|
-
}
|
|
6
|
-
export declare const getExtensionLozengeData: ({ node, type, }: Params) => {
|
|
7
|
-
url: string;
|
|
8
|
-
width?: number;
|
|
9
|
-
height?: number;
|
|
10
|
-
} | undefined;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Fragment, MarkType, NodeType, Mark as PMMark, Node as PMNode, Schema } from 'prosemirror-model';
|
|
2
|
-
import { EditorState, Transaction } from 'prosemirror-state';
|
|
3
|
-
import { CardAppearance } from '@atlaskit/smart-card';
|
|
4
|
-
/**
|
|
5
|
-
* Finds all top level nodes affected by the transaction
|
|
6
|
-
* Uses from/to positions in transaction's steps to work out which nodes will
|
|
7
|
-
* be changed by the transaction
|
|
8
|
-
*/
|
|
9
|
-
export declare const findChangedNodesFromTransaction: (tr: Transaction) => PMNode[];
|
|
10
|
-
export declare const validNode: (node: PMNode) => boolean;
|
|
11
|
-
/** Validates prosemirror nodes, and returns true only if all nodes are valid */
|
|
12
|
-
export declare const validateNodes: (nodes: PMNode[]) => boolean;
|
|
13
|
-
declare type PMEntities = PMNode | PMMark | null | undefined;
|
|
14
|
-
export declare const isType: (node: PMEntities, type: NodeType | MarkType | undefined) => boolean | null | undefined;
|
|
15
|
-
export declare const isParagraph: (node: PMEntities, schema: Schema) => boolean | null | undefined;
|
|
16
|
-
export declare const isText: (node: PMEntities, schema: Schema) => boolean | null | undefined;
|
|
17
|
-
export declare const isLinkMark: (node: PMEntities, schema: Schema) => boolean | null | undefined;
|
|
18
|
-
export declare enum SelectedState {
|
|
19
|
-
selectedInRange = 0,
|
|
20
|
-
selectedInside = 1
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Returns if the current selection from achor-head is selecting the node.
|
|
24
|
-
* If the node is not selected then null is returned.
|
|
25
|
-
* If the node is selected then an enum is returned that describes weather the node
|
|
26
|
-
* is fully selected by a range or if the "inside" of the node has been selected or clicked.
|
|
27
|
-
*/
|
|
28
|
-
export declare const isNodeSelectedOrInRange: (anchorPosition: number, headPosition: number, nodePosition: number, nodeSize: number) => SelectedState | null;
|
|
29
|
-
/**
|
|
30
|
-
* Checks if a particular node fragment is supported in the parent
|
|
31
|
-
* @param state EditorState
|
|
32
|
-
* @param fragment The fragment to be checked for
|
|
33
|
-
*/
|
|
34
|
-
export declare const isSupportedInParent: (state: EditorState, fragment: Fragment, currentAppearance?: CardAppearance | undefined) => boolean;
|
|
35
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PropsDifference, ShallowPropsDifference } from '../../../compare-props';
|
|
2
|
-
declare type PropsDiff<Props> = ShallowPropsDifference<Props> | PropsDifference<Props>;
|
|
3
|
-
declare type OnRenderCb<Props = undefined> = ({ renderCount, propsDifference, }: {
|
|
4
|
-
renderCount: number;
|
|
5
|
-
propsDifference: PropsDiff<Props> | undefined;
|
|
6
|
-
componentId: string;
|
|
7
|
-
}) => void;
|
|
8
|
-
export declare type UseComponentRenderTrackingArgs<Props = undefined> = {
|
|
9
|
-
onRender: OnRenderCb<Props>;
|
|
10
|
-
propsDiffingOptions?: {
|
|
11
|
-
enabled: boolean;
|
|
12
|
-
props?: Props;
|
|
13
|
-
propsToIgnore?: Array<keyof Props>;
|
|
14
|
-
useShallow?: boolean;
|
|
15
|
-
};
|
|
16
|
-
zeroBasedCount?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare function useComponentRenderTracking<Props = undefined>({ onRender, propsDiffingOptions, zeroBasedCount, }: UseComponentRenderTrackingArgs<Props>): void;
|
|
19
|
-
export {};
|