@atlaskit/smart-card 26.1.2 → 26.1.3
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 +7 -0
- package/client/package.json +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/utils.js +4 -3
- package/dist/cjs/view/FlexibleCard/components/container/index.js +3 -0
- package/dist/cjs/view/FlexibleCard/components/elements/utils.js +4 -3
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/utils.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/container/index.js +3 -0
- package/dist/es2019/view/FlexibleCard/components/elements/utils.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/utils.js +2 -1
- package/dist/esm/view/FlexibleCard/components/container/index.js +3 -0
- package/dist/esm/view/FlexibleCard/components/elements/utils.js +2 -1
- package/dist/types/__tests_external__/page-objects/BaseCard.d.ts +2 -0
- package/dist/types/extractors/block/index.d.ts +3 -2
- package/dist/types/extractors/common/detail/extractAttachmentCount.d.ts +1 -1
- package/dist/types/extractors/common/detail/extractCommentCount.d.ts +1 -1
- package/dist/types/extractors/common/detail/extractProgrammingLanguage.d.ts +1 -1
- package/dist/types/extractors/common/detail/extractSubscriberCount.d.ts +1 -1
- package/dist/types/extractors/common/icon/extractIcon.d.ts +1 -1
- package/dist/types/extractors/common/icon/extractIconFromDocument.d.ts +1 -1
- package/dist/types/extractors/common/icon/priority.d.ts +1 -1
- package/dist/types/extractors/common/lozenge/extractLozengeText.d.ts +1 -1
- package/dist/types/extractors/common/lozenge/types.d.ts +4 -4
- package/dist/types/extractors/common/meta/extractIsSupportTheming.d.ts +1 -1
- package/dist/types/extractors/common/meta/extractIsTrusted.d.ts +1 -1
- package/dist/types/extractors/common/title-prefix/extractTitlePrefix.d.ts +1 -1
- package/dist/types/extractors/embed/index.d.ts +2 -2
- package/dist/types/extractors/flexible/collaboratorGroup/index.d.ts +1 -1
- package/dist/types/extractors/flexible/extract-server-action.d.ts +1 -1
- package/dist/types/extractors/flexible/extract-state.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-document-type-icon.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-file-formatIcon.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-icon-renderer.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-jira-task-icon.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-provider-icon.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-url-icon.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/index.d.ts +2 -2
- package/dist/types/extractors/flexible/icon/types.d.ts +1 -1
- package/dist/types/extractors/inline/index.d.ts +1 -1
- package/dist/types/i18n/cs.d.ts +6 -6
- package/dist/types/i18n/da.d.ts +6 -6
- package/dist/types/i18n/de.d.ts +6 -6
- package/dist/types/i18n/en.d.ts +6 -6
- package/dist/types/i18n/en_GB.d.ts +6 -6
- package/dist/types/i18n/en_ZZ.d.ts +6 -6
- package/dist/types/i18n/es.d.ts +6 -6
- package/dist/types/i18n/et.d.ts +6 -6
- package/dist/types/i18n/fi.d.ts +6 -6
- package/dist/types/i18n/fr.d.ts +6 -6
- package/dist/types/i18n/hu.d.ts +6 -6
- package/dist/types/i18n/it.d.ts +6 -6
- package/dist/types/i18n/ja.d.ts +6 -6
- package/dist/types/i18n/ko.d.ts +6 -6
- package/dist/types/i18n/nb.d.ts +6 -6
- package/dist/types/i18n/nl.d.ts +6 -6
- package/dist/types/i18n/pl.d.ts +6 -6
- package/dist/types/i18n/pt_BR.d.ts +6 -6
- package/dist/types/i18n/pt_PT.d.ts +6 -6
- package/dist/types/i18n/ru.d.ts +6 -6
- package/dist/types/i18n/sk.d.ts +6 -6
- package/dist/types/i18n/sv.d.ts +6 -6
- package/dist/types/i18n/th.d.ts +6 -6
- package/dist/types/i18n/tr.d.ts +6 -6
- package/dist/types/i18n/uk.d.ts +6 -6
- package/dist/types/i18n/vi.d.ts +6 -6
- package/dist/types/i18n/zh.d.ts +6 -6
- package/dist/types/i18n/zh_TW.d.ts +6 -6
- package/dist/types/index.d.ts +1 -1
- package/dist/types/messages.d.ts +3 -3
- package/dist/types/model/invoke-handler.d.ts +1 -1
- package/dist/types/model/invoke-opts.d.ts +4 -4
- package/dist/types/ssr.d.ts +1 -1
- package/dist/types/state/analytics/ufoExperiences.d.ts +4 -4
- package/dist/types/state/analytics/useDispatchAnalytics.d.ts +1 -1
- package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +2 -2
- package/dist/types/state/flexible-ui-context/types.d.ts +7 -7
- package/dist/types/state/flexible-ui-context/utils.d.ts +1 -1
- package/dist/types/state/helpers.d.ts +8 -8
- package/dist/types/state/hooks/use-invoke/index.d.ts +2 -2
- package/dist/types/state/hooks/use-invoke/types.d.ts +3 -3
- package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +1 -1
- package/dist/types/state/reducers/types.d.ts +2 -2
- package/dist/types/types.d.ts +3 -3
- package/dist/types/utils/analytics/analytics.d.ts +1 -1
- package/dist/types/utils/analytics/click.d.ts +4 -10
- package/dist/types/utils/analytics/types.d.ts +26 -26
- package/dist/types/utils/test-utils.d.ts +1 -1
- package/dist/types/utils/types.d.ts +6 -6
- package/dist/types/view/BlockCard/actions/PreviewAction.d.ts +1 -1
- package/dist/types/view/BlockCard/actions/flexible/AuthorizeAction.d.ts +1 -1
- package/dist/types/view/BlockCard/actions/flexible/ForbiddenAction.d.ts +1 -1
- package/dist/types/view/BlockCard/components/Action.d.ts +1 -1
- package/dist/types/view/BlockCard/components/flexible/footer/types.d.ts +1 -1
- package/dist/types/view/BlockCard/types.d.ts +1 -1
- package/dist/types/view/BlockCard/utils/handlers.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/types.d.ts +1 -1
- package/dist/types/view/Card/types.d.ts +3 -3
- package/dist/types/view/CardWithUrl/types.d.ts +1 -1
- package/dist/types/view/EmbedCard/types.d.ts +4 -4
- package/dist/types/view/EmbedModal/components/analytics/types.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/embed-content/types.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/link-info-button/types.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/types.d.ts +1 -1
- package/dist/types/view/EmbedModal/types.d.ts +2 -2
- package/dist/types/view/EmbedModal/utils.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-button/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/download-action/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/preview-action/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/view-action/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-group/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/element-group/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/preview-block/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/title-block/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +37 -37
- package/dist/types/view/FlexibleCard/components/blocks/utils.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/image-icon/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/lozenge-action-error/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/lozenge-action-item/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/type.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/container/layered-link/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/container/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/avatar-group/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/badge/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/date-time/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/icon/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/link/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/lozenge/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/media/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/text/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/utils.d.ts +2 -2
- package/dist/types/view/FlexibleCard/types.d.ts +4 -4
- package/dist/types/view/FlexibleCard/utils.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/resolved/types.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/resolving/types.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/unauthorised/types.d.ts +1 -1
- package/dist/types/view/HoverCard/types.d.ts +4 -4
- package/dist/types/view/HoverCard/utils.d.ts +1 -1
- package/dist/types/view/InlineCard/types.d.ts +1 -1
- package/dist/types/view/LinkUrl/types.d.ts +1 -1
- package/dist/types/view/common/UnauthorisedViewContent.d.ts +1 -1
- package/dist/types/view/types.d.ts +4 -4
- package/hooks/package.json +2 -2
- package/hover-card/package.json +2 -2
- package/in-product/package.json +2 -2
- package/link-url/package.json +2 -2
- package/package.json +12 -4
- package/report.api.md +4 -4
- package/ssr/package.json +2 -2
- package/tmp/api-report-tmp.d.ts +1 -1
- package/types/package.json +2 -2
- package/dist/types-ts4.0/__fixtures__/bitbucket-pull-request.d.ts +0 -73
- package/dist/types-ts4.0/__fixtures__/confluence-blog.d.ts +0 -49
- package/dist/types-ts4.0/__fixtures__/confluence-page.d.ts +0 -49
- package/dist/types-ts4.0/__fixtures__/confluence-space.d.ts +0 -36
- package/dist/types-ts4.0/__fixtures__/confluence-template.d.ts +0 -31
- package/dist/types-ts4.0/__fixtures__/figma.d.ts +0 -43
- package/dist/types-ts4.0/__fixtures__/flexible-ui-data-context.d.ts +0 -3
- package/dist/types-ts4.0/__fixtures__/jira-roadmap.d.ts +0 -35
- package/dist/types-ts4.0/__fixtures__/jira-task.d.ts +0 -78
- package/dist/types-ts4.0/__fixtures__/youtube-video.d.ts +0 -44
- package/dist/types-ts4.0/__tests_external__/index.d.ts +0 -6
- package/dist/types-ts4.0/__tests_external__/page-objects/BaseCard.d.ts +0 -16
- package/dist/types-ts4.0/__tests_external__/page-objects/BlockCard.d.ts +0 -6
- package/dist/types-ts4.0/__tests_external__/page-objects/EmbedCard.d.ts +0 -6
- package/dist/types-ts4.0/__tests_external__/page-objects/InlineCard.d.ts +0 -6
- package/dist/types-ts4.0/__tests_external__/test-cases/card.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/test-cases/embed.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/test-cases/inline.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/test-cases/types.d.ts +0 -5
- package/dist/types-ts4.0/classNames.d.ts +0 -11
- package/dist/types-ts4.0/client/index.d.ts +0 -1
- package/dist/types-ts4.0/constants.d.ts +0 -210
- package/dist/types-ts4.0/extractors/action/extract-lozenge-action-items.d.ts +0 -4
- package/dist/types-ts4.0/extractors/block/index.d.ts +0 -9
- package/dist/types-ts4.0/extractors/block/types.d.ts +0 -12
- package/dist/types-ts4.0/extractors/common/__mocks__/jsonld.d.ts +0 -38
- package/dist/types-ts4.0/extractors/common/__mocks__/withIntl.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/actions/extractActions.d.ts +0 -5
- package/dist/types-ts4.0/extractors/common/actions/extractPreviewAction.d.ts +0 -10
- package/dist/types-ts4.0/extractors/common/byline/extractByline.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/context/extractAccessContext.d.ts +0 -7
- package/dist/types-ts4.0/extractors/common/context/index.d.ts +0 -1
- package/dist/types-ts4.0/extractors/common/detail/extractAttachmentCount.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/detail/extractCommentCount.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/detail/extractDownloadUrl.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/detail/extractProgrammingLanguage.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/detail/extractSubscriberCount.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/detail/index.d.ts +0 -9
- package/dist/types-ts4.0/extractors/common/detail/types.d.ts +0 -5
- package/dist/types-ts4.0/extractors/common/icon/extractFileFormat.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/icon/extractIcon.d.ts +0 -14
- package/dist/types-ts4.0/extractors/common/icon/extractIconFromDocument.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/icon/extractIconFromTask.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/icon/index.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/icon/priority.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/lozenge/extractLozenge.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/lozenge/extractLozengeText.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/lozenge/extractState.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/lozenge/extractTag.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/lozenge/extractTaskStatus.d.ts +0 -3
- package/dist/types-ts4.0/extractors/common/lozenge/extractTaskType.d.ts +0 -7
- package/dist/types-ts4.0/extractors/common/lozenge/index.d.ts +0 -5
- package/dist/types-ts4.0/extractors/common/lozenge/types.d.ts +0 -10
- package/dist/types-ts4.0/extractors/common/lozenge/utils.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/meta/extractIsSupportTheming.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/meta/extractIsTrusted.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/primitives/extractSummary.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/primitives/extractTitleTextColor.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/primitives/extractVisitUrl.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/primitives/index.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/title-prefix/extractTitlePrefix.d.ts +0 -5
- package/dist/types-ts4.0/extractors/common/title-prefix/index.d.ts +0 -1
- package/dist/types-ts4.0/extractors/constants.d.ts +0 -13
- package/dist/types-ts4.0/extractors/embed/index.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/actions/extract-download-action.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/actions/extract-preview-action.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/actions/extract-view-action.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/collaboratorGroup/index.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/extract-preview.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/extract-priority.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/extract-server-action.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/extract-state.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/extract-document-type-icon.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/icon/extract-file-formatIcon.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/icon/extract-icon-renderer.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/extract-jira-task-icon.d.ts +0 -3
- package/dist/types-ts4.0/extractors/flexible/icon/extract-jsonld-data-icon.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/extract-provider-icon.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/extract-url-icon.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/icon/index.d.ts +0 -17
- package/dist/types-ts4.0/extractors/flexible/icon/types.d.ts +0 -6
- package/dist/types-ts4.0/extractors/flexible/index.d.ts +0 -4
- package/dist/types-ts4.0/extractors/flexible/latest-commit/index.d.ts +0 -2
- package/dist/types-ts4.0/extractors/flexible/utils.d.ts +0 -17
- package/dist/types-ts4.0/extractors/hover/extractMetadata.d.ts +0 -3
- package/dist/types-ts4.0/extractors/index.d.ts +0 -14
- package/dist/types-ts4.0/extractors/inline/index.d.ts +0 -6
- package/dist/types-ts4.0/hooks.d.ts +0 -2
- package/dist/types-ts4.0/hoverCard.d.ts +0 -2
- package/dist/types-ts4.0/i18n/cs.d.ts +0 -84
- package/dist/types-ts4.0/i18n/da.d.ts +0 -84
- package/dist/types-ts4.0/i18n/de.d.ts +0 -84
- package/dist/types-ts4.0/i18n/en.d.ts +0 -88
- package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -88
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -38
- package/dist/types-ts4.0/i18n/es.d.ts +0 -84
- package/dist/types-ts4.0/i18n/et.d.ts +0 -94
- package/dist/types-ts4.0/i18n/fi.d.ts +0 -83
- package/dist/types-ts4.0/i18n/fr.d.ts +0 -84
- package/dist/types-ts4.0/i18n/hu.d.ts +0 -84
- package/dist/types-ts4.0/i18n/index.d.ts +0 -35
- package/dist/types-ts4.0/i18n/is.d.ts +0 -70
- package/dist/types-ts4.0/i18n/it.d.ts +0 -84
- package/dist/types-ts4.0/i18n/ja.d.ts +0 -84
- package/dist/types-ts4.0/i18n/ko.d.ts +0 -84
- package/dist/types-ts4.0/i18n/languages.d.ts +0 -27
- package/dist/types-ts4.0/i18n/nb.d.ts +0 -84
- package/dist/types-ts4.0/i18n/nl.d.ts +0 -84
- package/dist/types-ts4.0/i18n/pl.d.ts +0 -84
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -84
- package/dist/types-ts4.0/i18n/pt_PT.d.ts +0 -94
- package/dist/types-ts4.0/i18n/ro.d.ts +0 -70
- package/dist/types-ts4.0/i18n/ru.d.ts +0 -84
- package/dist/types-ts4.0/i18n/sk.d.ts +0 -94
- package/dist/types-ts4.0/i18n/sv.d.ts +0 -84
- package/dist/types-ts4.0/i18n/th.d.ts +0 -84
- package/dist/types-ts4.0/i18n/tr.d.ts +0 -84
- package/dist/types-ts4.0/i18n/uk.d.ts +0 -84
- package/dist/types-ts4.0/i18n/vi.d.ts +0 -84
- package/dist/types-ts4.0/i18n/zh.d.ts +0 -84
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -84
- package/dist/types-ts4.0/in-product.d.ts +0 -1
- package/dist/types-ts4.0/index.d.ts +0 -23
- package/dist/types-ts4.0/linkUrl.d.ts +0 -2
- package/dist/types-ts4.0/messages.d.ts +0 -8
- package/dist/types-ts4.0/model/invoke-handler.d.ts +0 -3
- package/dist/types-ts4.0/model/invoke-opts.d.ts +0 -17
- package/dist/types-ts4.0/ssr.d.ts +0 -6
- package/dist/types-ts4.0/state/actions/constants.d.ts +0 -6
- package/dist/types-ts4.0/state/actions/index.d.ts +0 -11
- package/dist/types-ts4.0/state/actions/types.d.ts +0 -2
- package/dist/types-ts4.0/state/analytics/index.d.ts +0 -3
- package/dist/types-ts4.0/state/analytics/types.d.ts +0 -9
- package/dist/types-ts4.0/state/analytics/ufoExperiences.d.ts +0 -7
- package/dist/types-ts4.0/state/analytics/useDispatchAnalytics.d.ts +0 -11
- package/dist/types-ts4.0/state/analytics/useMouseDownEvent.d.ts +0 -3
- package/dist/types-ts4.0/state/analytics/useSmartLinkAnalytics.d.ts +0 -284
- package/dist/types-ts4.0/state/config/index.d.ts +0 -2
- package/dist/types-ts4.0/state/flexible-ui-context/index.d.ts +0 -131
- package/dist/types-ts4.0/state/flexible-ui-context/types.d.ts +0 -219
- package/dist/types-ts4.0/state/flexible-ui-context/utils.d.ts +0 -6
- package/dist/types-ts4.0/state/helpers.d.ts +0 -16
- package/dist/types-ts4.0/state/hooks/index.d.ts +0 -2
- package/dist/types-ts4.0/state/hooks/use-invoke/index.d.ts +0 -9
- package/dist/types-ts4.0/state/hooks/use-invoke/types.d.ts +0 -34
- package/dist/types-ts4.0/state/hooks/use-resolve/index.d.ts +0 -2
- package/dist/types-ts4.0/state/hooks/usePrefetch.d.ts +0 -1
- package/dist/types-ts4.0/state/hooks/useSmartLink.d.ts +0 -75
- package/dist/types-ts4.0/state/hooks-external/useSmartLinkActions.d.ts +0 -56
- package/dist/types-ts4.0/state/hooks-external/useSmartLinkReload.d.ts +0 -22
- package/dist/types-ts4.0/state/index.d.ts +0 -5
- package/dist/types-ts4.0/state/reducers/types.d.ts +0 -4
- package/dist/types-ts4.0/state/renderers/index.d.ts +0 -2
- package/dist/types-ts4.0/state/store/index.d.ts +0 -3
- package/dist/types-ts4.0/state/types.d.ts +0 -1
- package/dist/types-ts4.0/types.d.ts +0 -20
- package/dist/types-ts4.0/utils/actions/create-status-update-request.d.ts +0 -4
- package/dist/types-ts4.0/utils/analytics/__mocks__/analytics.d.ts +0 -2
- package/dist/types-ts4.0/utils/analytics/analytics.d.ts +0 -53
- package/dist/types-ts4.0/utils/analytics/click.d.ts +0 -22
- package/dist/types-ts4.0/utils/analytics/index.d.ts +0 -4
- package/dist/types-ts4.0/utils/analytics/types.d.ts +0 -130
- package/dist/types-ts4.0/utils/flexible.d.ts +0 -7
- package/dist/types-ts4.0/utils/index.d.ts +0 -23
- package/dist/types-ts4.0/utils/jsonld.d.ts +0 -4
- package/dist/types-ts4.0/utils/mocks.d.ts +0 -97
- package/dist/types-ts4.0/utils/performance.d.ts +0 -8
- package/dist/types-ts4.0/utils/test-utils.d.ts +0 -4
- package/dist/types-ts4.0/utils/token.d.ts +0 -16
- package/dist/types-ts4.0/utils/types.d.ts +0 -14
- package/dist/types-ts4.0/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
- package/dist/types-ts4.0/view/BlockCard/actions/DownloadAction.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/actions/ForbiddenAction.d.ts +0 -2
- package/dist/types-ts4.0/view/BlockCard/actions/PreviewAction.d.ts +0 -31
- package/dist/types-ts4.0/view/BlockCard/actions/RetryAction.d.ts +0 -2
- package/dist/types-ts4.0/view/BlockCard/actions/ViewAction.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/actions/flexible/AuthorizeAction.d.ts +0 -9
- package/dist/types-ts4.0/view/BlockCard/actions/flexible/ForbiddenAction.d.ts +0 -11
- package/dist/types-ts4.0/view/BlockCard/actions/flexible/RetryAction.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/components/Action.d.ts +0 -13
- package/dist/types-ts4.0/view/BlockCard/components/ActionIcon.d.ts +0 -12
- package/dist/types-ts4.0/view/BlockCard/components/ActionList.d.ts +0 -7
- package/dist/types-ts4.0/view/BlockCard/components/CollaboratorList.d.ts +0 -15
- package/dist/types-ts4.0/view/BlockCard/components/Content.d.ts +0 -9
- package/dist/types-ts4.0/view/BlockCard/components/ContentFooter.d.ts +0 -9
- package/dist/types-ts4.0/view/BlockCard/components/ContentHeader.d.ts +0 -10
- package/dist/types-ts4.0/view/BlockCard/components/Emoji.d.ts +0 -7
- package/dist/types-ts4.0/view/BlockCard/components/Frame.d.ts +0 -16
- package/dist/types-ts4.0/view/BlockCard/components/Link.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/components/Name.d.ts +0 -12
- package/dist/types-ts4.0/view/BlockCard/components/Provider.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/components/Thumbnail.d.ts +0 -10
- package/dist/types-ts4.0/view/BlockCard/components/UnresolvedText.d.ts +0 -8
- package/dist/types-ts4.0/view/BlockCard/components/flexible/footer/index.d.ts +0 -12
- package/dist/types-ts4.0/view/BlockCard/components/flexible/footer/types.d.ts +0 -5
- package/dist/types-ts4.0/view/BlockCard/index.d.ts +0 -15
- package/dist/types-ts4.0/view/BlockCard/types.d.ts +0 -27
- package/dist/types-ts4.0/view/BlockCard/utils/handlers.d.ts +0 -2
- package/dist/types-ts4.0/view/BlockCard/views/ErroredView.d.ts +0 -14
- package/dist/types-ts4.0/view/BlockCard/views/ForbiddenView.d.ts +0 -23
- package/dist/types-ts4.0/view/BlockCard/views/NotFoundView.d.ts +0 -17
- package/dist/types-ts4.0/view/BlockCard/views/ResolvedView.d.ts +0 -36
- package/dist/types-ts4.0/view/BlockCard/views/ResolvingView.d.ts +0 -9
- package/dist/types-ts4.0/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
- package/dist/types-ts4.0/view/BlockCard/views/flexible/FlexibleErroredView.d.ts +0 -10
- package/dist/types-ts4.0/view/BlockCard/views/flexible/FlexibleForbiddenView.d.ts +0 -11
- package/dist/types-ts4.0/view/BlockCard/views/flexible/FlexibleNotFoundView.d.ts +0 -10
- package/dist/types-ts4.0/view/BlockCard/views/flexible/FlexibleResolvedView.d.ts +0 -9
- package/dist/types-ts4.0/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +0 -11
- package/dist/types-ts4.0/view/BlockCard/views/flexible/types.d.ts +0 -73
- package/dist/types-ts4.0/view/Card/index.d.ts +0 -5
- package/dist/types-ts4.0/view/Card/types.d.ts +0 -63
- package/dist/types-ts4.0/view/CardWithData/component.d.ts +0 -5
- package/dist/types-ts4.0/view/CardWithData/loader.d.ts +0 -9
- package/dist/types-ts4.0/view/CardWithData/types.d.ts +0 -15
- package/dist/types-ts4.0/view/CardWithUrl/component-lazy/LazyFallback.d.ts +0 -4
- package/dist/types-ts4.0/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/component-lazy/index.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/component.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/loader.d.ts +0 -3
- package/dist/types-ts4.0/view/CardWithUrl/types.d.ts +0 -38
- package/dist/types-ts4.0/view/EmbedCard/EmbedResizeMessageListener.d.ts +0 -15
- package/dist/types-ts4.0/view/EmbedCard/components/ExpandedFrame.d.ts +0 -26
- package/dist/types-ts4.0/view/EmbedCard/components/Frame.d.ts +0 -9
- package/dist/types-ts4.0/view/EmbedCard/components/IframeDwellTracker.d.ts +0 -8
- package/dist/types-ts4.0/view/EmbedCard/components/ImageIcon.d.ts +0 -9
- package/dist/types-ts4.0/view/EmbedCard/components/styled.d.ts +0 -95
- package/dist/types-ts4.0/view/EmbedCard/constants.d.ts +0 -3
- package/dist/types-ts4.0/view/EmbedCard/index.d.ts +0 -3
- package/dist/types-ts4.0/view/EmbedCard/types.d.ts +0 -52
- package/dist/types-ts4.0/view/EmbedCard/views/ErroredView.d.ts +0 -9
- package/dist/types-ts4.0/view/EmbedCard/views/ForbiddenView.d.ts +0 -13
- package/dist/types-ts4.0/view/EmbedCard/views/NotFoundView.d.ts +0 -11
- package/dist/types-ts4.0/view/EmbedCard/views/ResolvedView.d.ts +0 -34
- package/dist/types-ts4.0/view/EmbedCard/views/UnauthorisedView.d.ts +0 -15
- package/dist/types-ts4.0/view/EmbedCard/views/UnresolvedView.d.ts +0 -18
- package/dist/types-ts4.0/view/EmbedModal/components/analytics/index.d.ts +0 -5
- package/dist/types-ts4.0/view/EmbedModal/components/analytics/types.d.ts +0 -6
- package/dist/types-ts4.0/view/EmbedModal/components/embed-content/index.d.ts +0 -5
- package/dist/types-ts4.0/view/EmbedModal/components/embed-content/types.d.ts +0 -6
- package/dist/types-ts4.0/view/EmbedModal/components/error-boundary/index.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/index.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/link-info-button/index.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/link-info-button/types.d.ts +0 -9
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/styled.d.ts +0 -4
- package/dist/types-ts4.0/view/EmbedModal/components/link-info/types.d.ts +0 -13
- package/dist/types-ts4.0/view/EmbedModal/constants.d.ts +0 -2
- package/dist/types-ts4.0/view/EmbedModal/index.d.ts +0 -23
- package/dist/types-ts4.0/view/EmbedModal/types.d.ts +0 -31
- package/dist/types-ts4.0/view/EmbedModal/utils.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-button/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-button/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +0 -7
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/download-action/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/download-action/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/index.d.ts +0 -13
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/preview-action/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/preview-action/types.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/types.d.ts +0 -48
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/view-action/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/view-action/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/index.d.ts +0 -41
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/utils.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/action-group/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/action-group/types.d.ts +0 -37
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/block/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/element-group/index.d.ts +0 -15
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/element-group/types.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/footer-block/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/footer-block/types.d.ts +0 -15
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/index.d.ts +0 -6
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +0 -26
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/preview-block/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/preview-block/types.d.ts +0 -23
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/index.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +0 -9
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/title-block/types.d.ts +0 -92
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/types.d.ts +0 -367
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/utils.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +0 -6
- package/dist/types-ts4.0/view/FlexibleCard/components/common/image-icon/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/common/image-icon/types.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +0 -5
- package/dist/types-ts4.0/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/error-boundary/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/lozenge-action-error/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/lozenge-action-error/styled.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/lozenge-action-error/types.d.ts +0 -35
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/lozenge-action-item/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/lozenge-action-item/types.d.ts +0 -6
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/index.d.ts +0 -4
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/lozenge-action-trigger/type.d.ts +0 -8
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/styled.d.ts +0 -3
- package/dist/types-ts4.0/view/FlexibleCard/components/common/lozenge-action/types.d.ts +0 -15
- package/dist/types-ts4.0/view/FlexibleCard/components/container/index.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/container/layered-link/index.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/container/layered-link/types.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/container/types.d.ts +0 -23
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/avatar-group/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/avatar-group/types.d.ts +0 -21
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/badge/index.d.ts +0 -18
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/badge/types.d.ts +0 -17
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/date-time/index.d.ts +0 -12
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/date-time/types.d.ts +0 -16
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/icon/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/icon/types.d.ts +0 -27
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/index.d.ts +0 -145
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/link/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/link/types.d.ts +0 -39
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/lozenge/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/lozenge/types.d.ts +0 -23
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/media/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/media/types.d.ts +0 -18
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/text/index.d.ts +0 -11
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/text/types.d.ts +0 -17
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/types.d.ts +0 -24
- package/dist/types-ts4.0/view/FlexibleCard/components/elements/utils.d.ts +0 -3
- package/dist/types-ts4.0/view/FlexibleCard/components/types.d.ts +0 -6
- package/dist/types-ts4.0/view/FlexibleCard/components/utils.d.ts +0 -15
- package/dist/types-ts4.0/view/FlexibleCard/index.d.ts +0 -10
- package/dist/types-ts4.0/view/FlexibleCard/types.d.ts +0 -144
- package/dist/types-ts4.0/view/FlexibleCard/utils.d.ts +0 -6
- package/dist/types-ts4.0/view/HoverCard/components/HoverCardComponent.d.ts +0 -3
- package/dist/types-ts4.0/view/HoverCard/components/HoverCardContent.d.ts +0 -9
- package/dist/types-ts4.0/view/HoverCard/components/SnippetOrPreview.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/components/views/resolved/index.d.ts +0 -7
- package/dist/types-ts4.0/view/HoverCard/components/views/resolved/styled.d.ts +0 -3
- package/dist/types-ts4.0/view/HoverCard/components/views/resolved/types.d.ts +0 -13
- package/dist/types-ts4.0/view/HoverCard/components/views/resolving/index.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/components/views/resolving/styled.d.ts +0 -2
- package/dist/types-ts4.0/view/HoverCard/components/views/resolving/types.d.ts +0 -6
- package/dist/types-ts4.0/view/HoverCard/components/views/unauthorised/index.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/components/views/unauthorised/styled.d.ts +0 -3
- package/dist/types-ts4.0/view/HoverCard/components/views/unauthorised/types.d.ts +0 -30
- package/dist/types-ts4.0/view/HoverCard/index.d.ts +0 -3
- package/dist/types-ts4.0/view/HoverCard/styled.d.ts +0 -9
- package/dist/types-ts4.0/view/HoverCard/types.d.ts +0 -75
- package/dist/types-ts4.0/view/HoverCard/utils.d.ts +0 -5
- package/dist/types-ts4.0/view/InlineCard/ErroredView/index.d.ts +0 -21
- package/dist/types-ts4.0/view/InlineCard/ForbiddenView/index.d.ts +0 -28
- package/dist/types-ts4.0/view/InlineCard/Frame/index.d.ts +0 -15
- package/dist/types-ts4.0/view/InlineCard/Frame/styled.d.ts +0 -15
- package/dist/types-ts4.0/view/InlineCard/Icon.d.ts +0 -12
- package/dist/types-ts4.0/view/InlineCard/IconAndTitleLayout/index.d.ts +0 -28
- package/dist/types-ts4.0/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -40
- package/dist/types-ts4.0/view/InlineCard/ResolvedView/index.d.ts +0 -32
- package/dist/types-ts4.0/view/InlineCard/ResolvingView/index.d.ts +0 -17
- package/dist/types-ts4.0/view/InlineCard/ResolvingView/styled.d.ts +0 -9
- package/dist/types-ts4.0/view/InlineCard/UnauthorisedView/index.d.ts +0 -31
- package/dist/types-ts4.0/view/InlineCard/index.d.ts +0 -9
- package/dist/types-ts4.0/view/InlineCard/styled.d.ts +0 -17
- package/dist/types-ts4.0/view/InlineCard/types.d.ts +0 -25
- package/dist/types-ts4.0/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.d.ts +0 -9
- package/dist/types-ts4.0/view/LinkUrl/LinkWarningModal/index.d.ts +0 -13
- package/dist/types-ts4.0/view/LinkUrl/index.d.ts +0 -6
- package/dist/types-ts4.0/view/LinkUrl/types.d.ts +0 -13
- package/dist/types-ts4.0/view/LinkView/index.d.ts +0 -8
- package/dist/types-ts4.0/view/SmartLinkEvents/useSmartLinkEvents.d.ts +0 -2
- package/dist/types-ts4.0/view/common/Byline.d.ts +0 -10
- package/dist/types-ts4.0/view/common/Icon.d.ts +0 -12
- package/dist/types-ts4.0/view/common/Metadata.d.ts +0 -10
- package/dist/types-ts4.0/view/common/MetadataList.d.ts +0 -9
- package/dist/types-ts4.0/view/common/UnauthorisedViewContent.d.ts +0 -26
- package/dist/types-ts4.0/view/common/utils.d.ts +0 -5
- package/dist/types-ts4.0/view/types.d.ts +0 -29
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { JsonLd } from 'json-ld-types';
|
|
2
|
-
import { CardType, CardStore } from '@atlaskit/linking-common';
|
|
3
|
-
import { DestinationProduct, DestinationSubproduct } from '../utils/analytics/types';
|
|
4
|
-
export declare const getByDefinitionId: (definitionId: string | undefined, store: CardStore) => string[];
|
|
5
|
-
export declare const getClickUrl: (url: string, jsonLd?: JsonLd.Response<JsonLd.Data.BaseData> | undefined) => string;
|
|
6
|
-
export declare const getDefinitionId: (details?: JsonLd.Response<JsonLd.Data.BaseData> | undefined) => string | undefined;
|
|
7
|
-
export declare const getExtensionKey: (details?: JsonLd.Response<JsonLd.Data.BaseData> | undefined) => string | undefined;
|
|
8
|
-
export declare const getResourceType: (details?: JsonLd.Response<JsonLd.Data.BaseData> | undefined) => string | undefined;
|
|
9
|
-
export declare const getProduct: (details?: JsonLd.Response<JsonLd.Data.BaseData> | undefined) => DestinationProduct | string | undefined;
|
|
10
|
-
export declare const getSubproduct: (details?: JsonLd.Response<JsonLd.Data.BaseData> | undefined) => DestinationSubproduct | string | undefined;
|
|
11
|
-
export declare const getServices: (details?: JsonLd.Response<JsonLd.Data.BaseData> | undefined) => JsonLd.Primitives.AuthService[];
|
|
12
|
-
export declare const hasResolved: (details?: JsonLd.Response<JsonLd.Data.BaseData> | undefined) => boolean | undefined;
|
|
13
|
-
export declare const isAccessible: ({ meta: { access } }: JsonLd.Response) => boolean;
|
|
14
|
-
export declare const isVisible: ({ meta: { visibility } }: JsonLd.Response) => boolean;
|
|
15
|
-
export declare const getStatus: ({ meta }: JsonLd.Response) => CardType;
|
|
16
|
-
export declare const isFinalState: (status: CardType) => boolean;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
|
|
2
|
-
import { AnalyticsFacade } from '../../../state/analytics';
|
|
3
|
-
declare type InvokeRequestTracker = {
|
|
4
|
-
started?: AnalyticsFacade['track']['smartLinkQuickActionStarted'];
|
|
5
|
-
success?: AnalyticsFacade['track']['smartLinkQuickActionSuccess'];
|
|
6
|
-
failed?: AnalyticsFacade['track']['smartLinkQuickActionFailed'];
|
|
7
|
-
};
|
|
8
|
-
declare const useInvoke: ({ failed, started, success }?: InvokeRequestTracker) => (req: InvokeRequest, cb?: Function | undefined) => Promise<any>;
|
|
9
|
-
export default useInvoke;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
|
|
2
|
-
import { PreviewActionData } from '../../flexible-ui-context/types';
|
|
3
|
-
/**
|
|
4
|
-
* Additional details for invoke function that may be required for component
|
|
5
|
-
*/
|
|
6
|
-
export declare type CardDetails = {
|
|
7
|
-
/**
|
|
8
|
-
* An identifier for Smart Link analytics
|
|
9
|
-
*/
|
|
10
|
-
id?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The URL of the Smart Link
|
|
13
|
-
*/
|
|
14
|
-
url?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Preview Modal information. If present, will be used to render an embed modal on an error link click
|
|
17
|
-
*/
|
|
18
|
-
previewData?: PreviewActionData | null;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Invoke request with additional details for the component
|
|
22
|
-
*/
|
|
23
|
-
export declare type InvokeRequestWithCardDetails = InvokeRequest & {
|
|
24
|
-
details?: CardDetails;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* CRUD invoke requests for the component that support server actions
|
|
28
|
-
*/
|
|
29
|
-
export declare type InvokeActions = {
|
|
30
|
-
create?: InvokeRequest;
|
|
31
|
-
read?: InvokeRequest;
|
|
32
|
-
update?: InvokeRequestWithCardDetails;
|
|
33
|
-
delete?: InvokeRequest;
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function usePrefetch(url: string): () => Promise<void>;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { AnalyticsHandler } from '../../utils/types';
|
|
2
|
-
export declare function useSmartLink(id: string, url: string,
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
|
|
5
|
-
* Avoid prop drilling analytics handlers. Continue passing a handler for now if there's already one in place.
|
|
6
|
-
*/
|
|
7
|
-
dispatchAnalytics?: AnalyticsHandler): {
|
|
8
|
-
state: import("@atlaskit/linking-common").CardState;
|
|
9
|
-
actions: {
|
|
10
|
-
register: () => Promise<void>;
|
|
11
|
-
reload: () => void;
|
|
12
|
-
authorize: (appearance: import("../../view/Card/types").CardInnerAppearance) => void;
|
|
13
|
-
invoke: (opts: import("../../model/invoke-opts").InvokeClientOpts | import("../../model/invoke-opts").InvokeServerOpts, appearance: import("../../view/Card/types").CardInnerAppearance) => Promise<void | import("json-ld-types").JsonLd.Response<import("json-ld-types").JsonLd.Data.BaseData>>;
|
|
14
|
-
loadMetadata: () => Promise<void> | undefined;
|
|
15
|
-
};
|
|
16
|
-
config: (import("@atlaskit/link-provider").CardProviderCacheOpts & import("@atlaskit/link-provider").CardAuthFlowOpts) | undefined;
|
|
17
|
-
analytics: {
|
|
18
|
-
ui: {
|
|
19
|
-
authEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiAuthEventProps) => void;
|
|
20
|
-
authAlternateAccountEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiAuthAlternateAccountEventProps) => void;
|
|
21
|
-
buttonClickedEvent: (data: Partial<import("../../utils/types").AnalyticsPayload> & {
|
|
22
|
-
actionSubjectId: string;
|
|
23
|
-
}) => void;
|
|
24
|
-
cardClickedEvent: ({ id, display, status, definitionId, extensionKey, isModifierKeyPressed, location, destinationProduct, destinationSubproduct, actionSubjectId, }: import("../../utils/analytics/types").UiCardClickedEventProps) => void;
|
|
25
|
-
iframeDwelledEvent: ({ id, display, status, definitionId, extensionKey, location, destinationProduct, destinationSubproduct, dwellTime, dwellPercentVisible, }: import("../../utils/analytics/types").UiIframeDwelledEventProps) => void;
|
|
26
|
-
iframeFocusedEvent: ({ id, display, status, definitionId, extensionKey, location, destinationProduct, destinationSubproduct, }: import("../../utils/analytics/types").UiIframeFocusedEventProps) => void;
|
|
27
|
-
actionClickedEvent: ({ id, actionType, display, invokeType, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiActionClickedEventProps) => void;
|
|
28
|
-
hoverCardOpenLinkClickedEvent: ({ previewDisplay, definitionId, extensionKey, destinationProduct, destinationSubproduct, location, previewInvokeMethod, }: import("../../utils/analytics/types").UiHoverCardOpenLinkClickedEventProps) => void;
|
|
29
|
-
closedAuthEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiClosedAuthEventProps) => void;
|
|
30
|
-
modalClosedEvent: (data: Partial<import("../../utils/types").AnalyticsPayload> & {
|
|
31
|
-
actionSubjectId: string;
|
|
32
|
-
}) => void;
|
|
33
|
-
renderSuccessEvent: ({ display, status, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiRenderSuccessEventProps) => void;
|
|
34
|
-
renderFailedEvent: ({ display, id, error, errorInfo, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiRenderFailedEventProps) => void;
|
|
35
|
-
hoverCardViewedEvent: ({ previewDisplay, previewInvokeMethod, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, status, }: import("../../utils/analytics/types").UiHoverCardViewedEventProps) => void;
|
|
36
|
-
hoverCardDismissedEvent: ({ id, previewDisplay, hoverTime, previewInvokeMethod, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, status, }: import("../../utils/analytics/types").UiHoverCardDismissedEventProps) => void;
|
|
37
|
-
learnMoreClickedEvent: () => void;
|
|
38
|
-
smartLinkLozengeActionClickedEvent: () => void;
|
|
39
|
-
smartLinkLozengeActionListItemClickedEvent: () => void;
|
|
40
|
-
smartLinkLozengeActionErrorOpenPreviewClickedEvent: () => void;
|
|
41
|
-
};
|
|
42
|
-
operational: {
|
|
43
|
-
invokeSucceededEvent: ({ id, actionType, display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").InvokeSucceededEventProps) => void;
|
|
44
|
-
invokeFailedEvent: ({ id, actionType, display, reason, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").InvokeFailedEventProps) => void;
|
|
45
|
-
connectSucceededEvent: ({ id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").ConnectSucceededEventProps) => void;
|
|
46
|
-
connectFailedEvent: ({ id, reason, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").ConnectFailedEventProps) => void;
|
|
47
|
-
instrument: ({ id, status, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, error, }: import("../../utils/analytics/types").InstrumentEventProps) => void;
|
|
48
|
-
chunkloadFailedEvent: ({ display, error, errorInfo, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiRenderFailedEventProps) => void;
|
|
49
|
-
};
|
|
50
|
-
track: {
|
|
51
|
-
appAccountConnected: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
|
|
52
|
-
appAccountAuthStarted: ({ extensionKey, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
|
|
53
|
-
linkUpdated: (props: import("../../utils/analytics/types").CommonEventProps & {
|
|
54
|
-
[key: string]: any;
|
|
55
|
-
}) => void;
|
|
56
|
-
smartLinkQuickActionStarted: (props: {
|
|
57
|
-
smartLinkActionType: import("@atlaskit/linking-types").SmartLinkActionType;
|
|
58
|
-
}) => void;
|
|
59
|
-
smartLinkQuickActionSuccess: (props: {
|
|
60
|
-
smartLinkActionType: import("@atlaskit/linking-types").SmartLinkActionType;
|
|
61
|
-
}) => void;
|
|
62
|
-
smartLinkQuickActionFailed: (props: {
|
|
63
|
-
smartLinkActionType: import("@atlaskit/linking-types").SmartLinkActionType;
|
|
64
|
-
}) => void;
|
|
65
|
-
};
|
|
66
|
-
screen: {
|
|
67
|
-
authPopupEvent: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
|
|
68
|
-
modalViewedEvent: (data: Partial<import("../../utils/types").AnalyticsPayload> & {
|
|
69
|
-
name: "embedPreviewModal";
|
|
70
|
-
}) => void;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
renderers: import("@atlaskit/link-provider").CardProviderRenderers | undefined;
|
|
74
|
-
error: Error | null;
|
|
75
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { JsonLd } from 'json-ld-types';
|
|
3
|
-
import type { AnalyticsHandler, AnalyticsOrigin } from '../../utils/types';
|
|
4
|
-
import type { CardInnerAppearance } from '../../view/Card/types';
|
|
5
|
-
declare type ExperimentInvokeOpts = {
|
|
6
|
-
isReloadRequired?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export interface LinkAction {
|
|
9
|
-
/**
|
|
10
|
-
* Unique ID for the action.
|
|
11
|
-
* @example `delete-action`
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* Text to render for the action.
|
|
16
|
-
* @description Use this in tooltips and UI.
|
|
17
|
-
* @example `Delete`.
|
|
18
|
-
*/
|
|
19
|
-
text: React.ReactNode;
|
|
20
|
-
/**
|
|
21
|
-
* Promise to invoke on triggering this action.
|
|
22
|
-
* @example Clicking on `Delete` leading to deletion of content.
|
|
23
|
-
*/
|
|
24
|
-
invoke: (opts?: ExperimentInvokeOpts) => Promise<any>;
|
|
25
|
-
}
|
|
26
|
-
export interface UseSmartLinkActionsOpts {
|
|
27
|
-
/**
|
|
28
|
-
* Smart Link URL for which actions will be invoked.
|
|
29
|
-
* @example https://start.atlassian.com
|
|
30
|
-
*/
|
|
31
|
-
url: string;
|
|
32
|
-
/**
|
|
33
|
-
* Appearance under which these actions will be invoked.
|
|
34
|
-
* @example `block` for card views.
|
|
35
|
-
*/
|
|
36
|
-
appearance: CardInnerAppearance;
|
|
37
|
-
/**
|
|
38
|
-
* Callback for sending analytics events.
|
|
39
|
-
* @description Accepts an analytics payload and fires it to a system.
|
|
40
|
-
*
|
|
41
|
-
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
|
|
42
|
-
* Overriding the analytics dispatch method is deprecated. Please omit this property.
|
|
43
|
-
*/
|
|
44
|
-
analyticsHandler?: AnalyticsHandler;
|
|
45
|
-
/**
|
|
46
|
-
* Platform on which actions are being invoked.
|
|
47
|
-
* @default 'web'
|
|
48
|
-
*/
|
|
49
|
-
platform?: JsonLd.Primitives.Platforms;
|
|
50
|
-
/**
|
|
51
|
-
* Smart link origin that the action being invoked from.
|
|
52
|
-
*/
|
|
53
|
-
origin?: AnalyticsOrigin;
|
|
54
|
-
}
|
|
55
|
-
export declare function useSmartLinkActions({ url, appearance, analyticsHandler, platform, origin, }: UseSmartLinkActionsOpts): LinkAction[];
|
|
56
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { AnalyticsHandler } from '../../utils/types';
|
|
2
|
-
export interface UseSmartLinkReloadOpts {
|
|
3
|
-
/**
|
|
4
|
-
* Smart Link URL for which the reload will be invoked.
|
|
5
|
-
* @example https://start.atlassian.com
|
|
6
|
-
*/
|
|
7
|
-
url: string;
|
|
8
|
-
/**
|
|
9
|
-
* Callback for sending analytics events.
|
|
10
|
-
* @description Accepts an analytics payload and fires it to a system.
|
|
11
|
-
*
|
|
12
|
-
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
|
|
13
|
-
* Overriding the analytics dispatch method is deprecated. Please omit this property.
|
|
14
|
-
*/
|
|
15
|
-
analyticsHandler?: AnalyticsHandler;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Exposes a programmatic way to reload the data being used to render a Smart Link.
|
|
19
|
-
* @param
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
export declare function useSmartLinkReload({ url, analyticsHandler, }: UseSmartLinkReloadOpts): () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { SmartCardContext, SmartCardProvider, useSmartLinkContext, } from '@atlaskit/link-provider';
|
|
2
|
-
export type { CardContext, ProviderProps } from '@atlaskit/link-provider';
|
|
3
|
-
export type { CardType } from '@atlaskit/linking-common';
|
|
4
|
-
export { useSmartLink, usePrefetch } from './hooks';
|
|
5
|
-
export { useSmartLinkAnalytics } from './analytics';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Reducer } from 'react';
|
|
2
|
-
import { CardAction, CardActionType } from '@atlaskit/linking-common';
|
|
3
|
-
export declare type CardReducerMap<StateType, ActionType> = Record<CardActionType, CardReducer<StateType, ActionType>>;
|
|
4
|
-
export declare type CardReducer<StateType, ActionType> = Reducer<StateType, CardAction<ActionType>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { CardStore, CardState } from '@atlaskit/linking-common';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { JsonLd } from 'json-ld-types';
|
|
2
|
-
import { RequestAccessMessageKey } from './messages';
|
|
3
|
-
export type { CardContext } from '@atlaskit/link-provider';
|
|
4
|
-
import { AccessContext } from './view/types';
|
|
5
|
-
import { ActionProps } from './view/BlockCard/components/Action';
|
|
6
|
-
export declare type ResolveResponse = JsonLd.Response;
|
|
7
|
-
export type { ProviderProps, CardType } from './state';
|
|
8
|
-
export type { CardProps, CardAppearance, CardPlatform, } from './view/Card/types';
|
|
9
|
-
export interface RequestAccessContextProps extends AccessContext {
|
|
10
|
-
action?: ActionProps;
|
|
11
|
-
callToActionMessageKey?: RequestAccessMessageKey;
|
|
12
|
-
descriptiveMessageKey?: RequestAccessMessageKey;
|
|
13
|
-
}
|
|
14
|
-
export declare type InlinePreloaderStyle = 'on-left-with-skeleton' | 'on-right-without-skeleton';
|
|
15
|
-
export declare type LozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'new' | 'moved';
|
|
16
|
-
export interface LozengeProps {
|
|
17
|
-
text: string;
|
|
18
|
-
appearance?: LozengeColor;
|
|
19
|
-
isBold?: boolean;
|
|
20
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
|
|
2
|
-
import { StatusUpdateActionPayload } from '@atlaskit/linking-types/smart-link-actions';
|
|
3
|
-
declare const createStatusUpdateRequest: (request: InvokeRequest, id: string) => InvokeRequest<StatusUpdateActionPayload>;
|
|
4
|
-
export default createStatusUpdateRequest;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
-
import { AnalyticsPayload } from '../types';
|
|
3
|
-
import { CardInnerAppearance } from '../../view/Card/types';
|
|
4
|
-
import { CommonEventProps, ConnectFailedEventProps, ConnectSucceededEventProps, InvokeFailedEventProps, InvokeSucceededEventProps, ResolvedEventProps, ScreenAuthPopupEventProps, TrackAppAccountConnectedProps, UiActionClickedEventProps, UiAuthAlternateAccountEventProps, UiAuthEventProps, UiCardClickedEventProps, UiClosedAuthEventProps, UiHoverCardDismissedEventProps, UiHoverCardOpenLinkClickedEventProps, UiHoverCardViewedEventProps, UiIframeDwelledEventProps, UiIframeFocusedEventProps, UiRenderFailedEventProps, UiRenderSuccessEventProps, UnresolvedEventProps } from './types';
|
|
5
|
-
import { SmartLinkActionType } from '@atlaskit/linking-types';
|
|
6
|
-
export declare const ANALYTICS_CHANNEL = "media";
|
|
7
|
-
export declare const context: {
|
|
8
|
-
componentName: string;
|
|
9
|
-
packageName: any;
|
|
10
|
-
packageVersion: any;
|
|
11
|
-
};
|
|
12
|
-
export declare class SmartLinkEvents {
|
|
13
|
-
insertSmartLink(url: string, type: CardInnerAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): void;
|
|
14
|
-
}
|
|
15
|
-
export declare const fireSmartLinkEvent: (payload: AnalyticsPayload, createAnalyticsEvent?: CreateUIAnalyticsEvent | undefined) => void;
|
|
16
|
-
export declare const resolvedEvent: (props: ResolvedEventProps) => AnalyticsPayload;
|
|
17
|
-
export declare const unresolvedEvent: ({ id, definitionId, extensionKey, resourceType, destinationSubproduct, destinationProduct, error, status, location, }: UnresolvedEventProps) => AnalyticsPayload;
|
|
18
|
-
export declare const invokeSucceededEvent: ({ id, actionType, display, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, }: InvokeSucceededEventProps) => AnalyticsPayload;
|
|
19
|
-
export declare const invokeFailedEvent: ({ id, actionType, display, reason, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, }: InvokeFailedEventProps) => AnalyticsPayload;
|
|
20
|
-
export declare const connectSucceededEvent: ({ definitionId, extensionKey, destinationProduct, destinationSubproduct, location, }: ConnectSucceededEventProps) => AnalyticsPayload;
|
|
21
|
-
export declare const connectFailedEvent: ({ definitionId, extensionKey, destinationProduct, destinationSubproduct, location, reason, }: ConnectFailedEventProps) => AnalyticsPayload;
|
|
22
|
-
export declare const trackAppAccountConnected: ({ definitionId, extensionKey, destinationProduct, destinationSubproduct, location, }: TrackAppAccountConnectedProps) => AnalyticsPayload;
|
|
23
|
-
export declare const trackAppAccountAuthStarted: ({ extensionKey, location, }: TrackAppAccountConnectedProps) => AnalyticsPayload;
|
|
24
|
-
export declare const trackLinkUpdated: ({ actionSubjectId, ...attributes }: CommonEventProps & {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}) => AnalyticsPayload;
|
|
27
|
-
export declare const trackSmartLinkQuickActionStarted: ({ smartLinkActionType, ...attributes }: CommonEventProps & {
|
|
28
|
-
smartLinkActionType: SmartLinkActionType;
|
|
29
|
-
}) => AnalyticsPayload;
|
|
30
|
-
export declare const trackSmartLinkQuickActionSuccess: ({ smartLinkActionType, ...attributes }: CommonEventProps & {
|
|
31
|
-
smartLinkActionType: SmartLinkActionType;
|
|
32
|
-
}) => AnalyticsPayload;
|
|
33
|
-
export declare const trackSmartLinkQuickActionFailed: ({ smartLinkActionType, ...attributes }: CommonEventProps & {
|
|
34
|
-
smartLinkActionType: SmartLinkActionType;
|
|
35
|
-
}) => AnalyticsPayload;
|
|
36
|
-
export declare const uiAuthEvent: ({ definitionId, extensionKey, destinationProduct, destinationSubproduct, location, display, }: UiAuthEventProps) => AnalyticsPayload;
|
|
37
|
-
export declare const uiAuthAlternateAccountEvent: ({ definitionId, extensionKey, destinationProduct, destinationSubproduct, location, display, }: UiAuthAlternateAccountEventProps) => AnalyticsPayload;
|
|
38
|
-
export declare const uiCardClickedEvent: ({ id, display, status, definitionId, extensionKey, isModifierKeyPressed, location, destinationProduct, destinationSubproduct, actionSubjectId, }: UiCardClickedEventProps) => AnalyticsPayload;
|
|
39
|
-
export declare const uiIframeDwelledEvent: ({ id, display, status, definitionId, extensionKey, location, destinationProduct, destinationSubproduct, dwellTime, dwellPercentVisible, }: UiIframeDwelledEventProps) => AnalyticsPayload;
|
|
40
|
-
export declare const uiIframeFocusedEvent: ({ id, display, status, definitionId, extensionKey, location, destinationProduct, destinationSubproduct, }: UiIframeFocusedEventProps) => AnalyticsPayload;
|
|
41
|
-
export declare const uiActionClickedEvent: ({ id, actionType, extensionKey, display, definitionId, destinationProduct, destinationSubproduct, location, }: UiActionClickedEventProps) => AnalyticsPayload;
|
|
42
|
-
export declare const uiClosedAuthEvent: ({ display, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, }: UiClosedAuthEventProps) => AnalyticsPayload;
|
|
43
|
-
export declare const screenAuthPopupEvent: ({ extensionKey, definitionId, destinationProduct, destinationSubproduct, location, }: ScreenAuthPopupEventProps) => AnalyticsPayload;
|
|
44
|
-
export declare const uiRenderSuccessEvent: ({ display, status, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, }: UiRenderSuccessEventProps) => AnalyticsPayload;
|
|
45
|
-
export declare const uiRenderFailedEvent: ({ display, error, errorInfo, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, }: UiRenderFailedEventProps) => AnalyticsPayload;
|
|
46
|
-
export declare const uiHoverCardViewedEvent: ({ id, previewDisplay, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, previewInvokeMethod, status, }: UiHoverCardViewedEventProps) => AnalyticsPayload;
|
|
47
|
-
export declare const uiHoverCardDismissedEvent: ({ id, previewDisplay, hoverTime, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, previewInvokeMethod, status, }: UiHoverCardDismissedEventProps) => AnalyticsPayload;
|
|
48
|
-
export declare const uiHoverCardOpenLinkClickedEvent: ({ id, previewDisplay, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, previewInvokeMethod, }: UiHoverCardOpenLinkClickedEventProps) => AnalyticsPayload;
|
|
49
|
-
export declare const uiLearnMoreLinkClickedEvent: () => AnalyticsPayload;
|
|
50
|
-
export declare const chunkloadFailedEvent: ({ display, error, errorInfo, extensionKey, definitionId, destinationProduct, destinationSubproduct, location, }: UiRenderFailedEventProps) => AnalyticsPayload;
|
|
51
|
-
export declare const uiSmartLinkStatusLozengeButtonClicked: () => AnalyticsPayload;
|
|
52
|
-
export declare const uiSmartLinkStatusListItemButtonClicked: () => AnalyticsPayload;
|
|
53
|
-
export declare const uiSmartLinkStatusOpenPreviewButtonClicked: () => AnalyticsPayload;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AnalyticsEventPayload, UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { GasPayload } from '@atlaskit/analytics-gas-types';
|
|
4
|
-
import { ClickOutcome, ClickType, UiLinkClickedEventProps } from './types';
|
|
5
|
-
import { AnalyticsPayload } from '../types';
|
|
6
|
-
export declare const buttonMap: Map<number | undefined, "left" | "right" | "none" | "middle">;
|
|
7
|
-
export declare const getKeys: (e: React.MouseEvent) => ("meta" | "alt" | "shift" | "ctrl")[];
|
|
8
|
-
export declare function getLinkClickOutcome(e: React.MouseEvent, clickType: ClickType): ClickOutcome;
|
|
9
|
-
export declare const createLinkClickedPayload: (event: React.MouseEvent) => AnalyticsPayload | undefined;
|
|
10
|
-
declare type DeepPartial<T> = T extends object ? {
|
|
11
|
-
[P in keyof T]?: DeepPartial<T[P]>;
|
|
12
|
-
} : T;
|
|
13
|
-
export declare const fireLinkClickedEvent: (createAnalyticsEvent: (payload: AnalyticsEventPayload) => UIAnalyticsEvent) => (event: React.MouseEvent, overrides?: {
|
|
14
|
-
[x: string]: any;
|
|
15
|
-
attributes?: {
|
|
16
|
-
clickType?: ClickType | undefined;
|
|
17
|
-
clickOutcome?: ClickOutcome | undefined;
|
|
18
|
-
keysHeld?: ("meta" | "alt" | "shift" | "ctrl" | undefined)[] | undefined;
|
|
19
|
-
defaultPrevented?: boolean | undefined;
|
|
20
|
-
} | undefined;
|
|
21
|
-
} | undefined) => void;
|
|
22
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AnalyticsPayload } from '../types';
|
|
2
|
-
import { InstrumentEventProps } from './types';
|
|
3
|
-
export { ANALYTICS_CHANNEL, context, fireSmartLinkEvent, resolvedEvent, unresolvedEvent, invokeSucceededEvent, invokeFailedEvent, chunkloadFailedEvent, connectSucceededEvent, connectFailedEvent, trackAppAccountAuthStarted, trackAppAccountConnected, uiAuthEvent, uiAuthAlternateAccountEvent, uiCardClickedEvent, uiActionClickedEvent, uiClosedAuthEvent, screenAuthPopupEvent, uiRenderSuccessEvent, uiRenderFailedEvent, uiHoverCardViewedEvent, uiHoverCardDismissedEvent, uiHoverCardOpenLinkClickedEvent, uiLearnMoreLinkClickedEvent, uiIframeDwelledEvent, uiSmartLinkStatusLozengeButtonClicked, uiSmartLinkStatusListItemButtonClicked, uiSmartLinkStatusOpenPreviewButtonClicked, } from './analytics';
|
|
4
|
-
export declare const instrumentEvent: ({ id, status, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, error, }: InstrumentEventProps) => AnalyticsPayload | undefined;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { APIError, CardType } from '@atlaskit/linking-common';
|
|
2
|
-
import { PreviewDisplay, PreviewInvokeMethod } from '../../view/HoverCard/types';
|
|
3
|
-
import { ErrorInfo } from 'react';
|
|
4
|
-
import { CardInnerAppearance } from '../../view/Card/types';
|
|
5
|
-
import { InvokeType } from '../../model/invoke-opts';
|
|
6
|
-
export declare type DestinationProduct = 'jira' | 'confluence' | 'bitbucket' | 'trello';
|
|
7
|
-
export declare type DestinationSubproduct = 'core' | 'software' | 'servicedesk';
|
|
8
|
-
export interface CommonEventProps {
|
|
9
|
-
id?: string;
|
|
10
|
-
definitionId?: string;
|
|
11
|
-
extensionKey?: string;
|
|
12
|
-
resourceType?: string;
|
|
13
|
-
destinatinoObjectType?: string;
|
|
14
|
-
destinationSubproduct?: DestinationSubproduct | string;
|
|
15
|
-
destinationProduct?: DestinationProduct | string;
|
|
16
|
-
location?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare type ResolvedEventProps = CommonEventProps & {
|
|
19
|
-
id: string;
|
|
20
|
-
};
|
|
21
|
-
export declare type UnresolvedEventProps = CommonEventProps & {
|
|
22
|
-
id: string;
|
|
23
|
-
status: string;
|
|
24
|
-
error?: APIError;
|
|
25
|
-
};
|
|
26
|
-
export declare type InvokeSucceededEventProps = CommonEventProps & {
|
|
27
|
-
id: string;
|
|
28
|
-
actionType: string;
|
|
29
|
-
display: CardInnerAppearance;
|
|
30
|
-
};
|
|
31
|
-
export declare type InvokeFailedEventProps = CommonEventProps & {
|
|
32
|
-
id: string;
|
|
33
|
-
actionType: string;
|
|
34
|
-
display: CardInnerAppearance;
|
|
35
|
-
reason: string;
|
|
36
|
-
};
|
|
37
|
-
export declare type ConnectSucceededEventProps = CommonEventProps & {
|
|
38
|
-
id?: string;
|
|
39
|
-
};
|
|
40
|
-
export declare type ConnectFailedEventProps = CommonEventProps & {
|
|
41
|
-
id?: string;
|
|
42
|
-
reason?: string;
|
|
43
|
-
};
|
|
44
|
-
export declare type TrackAppAccountConnectedProps = CommonEventProps;
|
|
45
|
-
export declare type UiAuthEventProps = CommonEventProps & {
|
|
46
|
-
display: CardInnerAppearance;
|
|
47
|
-
};
|
|
48
|
-
export declare type UiAuthAlternateAccountEventProps = CommonEventProps & {
|
|
49
|
-
display: CardInnerAppearance;
|
|
50
|
-
};
|
|
51
|
-
export declare type UiCardClickedEventProps = CommonEventProps & {
|
|
52
|
-
id: string;
|
|
53
|
-
display: CardInnerAppearance;
|
|
54
|
-
status: CardType;
|
|
55
|
-
isModifierKeyPressed?: boolean;
|
|
56
|
-
actionSubjectId?: string;
|
|
57
|
-
};
|
|
58
|
-
export declare type UiIframeDwelledEventProps = CommonEventProps & {
|
|
59
|
-
id: string;
|
|
60
|
-
display: CardInnerAppearance;
|
|
61
|
-
status: CardType;
|
|
62
|
-
dwellTime: number;
|
|
63
|
-
dwellPercentVisible: number;
|
|
64
|
-
};
|
|
65
|
-
export declare type UiIframeFocusedEventProps = CommonEventProps & {
|
|
66
|
-
id: string;
|
|
67
|
-
display: CardInnerAppearance;
|
|
68
|
-
status: CardType;
|
|
69
|
-
};
|
|
70
|
-
export declare type UiActionClickedEventProps = CommonEventProps & {
|
|
71
|
-
id: string;
|
|
72
|
-
display: CardInnerAppearance;
|
|
73
|
-
actionType: string;
|
|
74
|
-
invokeType?: InvokeType;
|
|
75
|
-
};
|
|
76
|
-
export declare type ScreenAuthPopupEventProps = CommonEventProps;
|
|
77
|
-
export declare type UiClosedAuthEventProps = CommonEventProps & {
|
|
78
|
-
display: CardInnerAppearance;
|
|
79
|
-
};
|
|
80
|
-
export declare type UiRenderSuccessEventProps = CommonEventProps & {
|
|
81
|
-
display: CardInnerAppearance;
|
|
82
|
-
status: CardType;
|
|
83
|
-
};
|
|
84
|
-
export declare type UiRenderFailedEventProps = CommonEventProps & {
|
|
85
|
-
display: CardInnerAppearance;
|
|
86
|
-
error: Error;
|
|
87
|
-
errorInfo: ErrorInfo;
|
|
88
|
-
};
|
|
89
|
-
export declare type UiHoverCardViewedEventProps = CommonEventProps & {
|
|
90
|
-
previewDisplay: PreviewDisplay;
|
|
91
|
-
previewInvokeMethod?: PreviewInvokeMethod;
|
|
92
|
-
status: CardType;
|
|
93
|
-
};
|
|
94
|
-
export declare type UiHoverCardDismissedEventProps = CommonEventProps & {
|
|
95
|
-
previewDisplay: PreviewDisplay;
|
|
96
|
-
hoverTime: number;
|
|
97
|
-
previewInvokeMethod?: PreviewInvokeMethod;
|
|
98
|
-
status: CardType;
|
|
99
|
-
};
|
|
100
|
-
export declare type UiHoverCardOpenLinkClickedEventProps = CommonEventProps & {
|
|
101
|
-
previewDisplay: PreviewDisplay;
|
|
102
|
-
previewInvokeMethod?: PreviewInvokeMethod;
|
|
103
|
-
};
|
|
104
|
-
export declare type InstrumentEventProps = CommonEventProps & {
|
|
105
|
-
error?: APIError;
|
|
106
|
-
status: CardType;
|
|
107
|
-
id: string;
|
|
108
|
-
};
|
|
109
|
-
export declare type ClickType = 'left' | 'middle' | 'right' | 'keyboard' | 'none';
|
|
110
|
-
export declare type ClickOutcome = 'prevented' | 'clickThrough' | 'clickThroughNewTabOrWindow' | 'contextMenu' | 'alt' | 'contentEditable' | 'unknown';
|
|
111
|
-
export declare type UiLinkClickedEventProps = {
|
|
112
|
-
/**
|
|
113
|
-
* Whether the click occurred with the left, middle or right mouse button
|
|
114
|
-
*/
|
|
115
|
-
clickType: ClickType;
|
|
116
|
-
/**
|
|
117
|
-
* The user outcome for clicking the link as far as can be reasonably be determined
|
|
118
|
-
* This ignores any programmatic cancellation of the outcome (ie e.preventDefault()) and
|
|
119
|
-
* thus this represents the user intent, not necessarily the actual outcome
|
|
120
|
-
*/
|
|
121
|
-
clickOutcome: ClickOutcome;
|
|
122
|
-
/**
|
|
123
|
-
* The keys held by the user at the time of clicking the link (which influence `clickOutcome`)
|
|
124
|
-
*/
|
|
125
|
-
keysHeld: ('alt' | 'ctrl' | 'meta' | 'shift')[];
|
|
126
|
-
/**
|
|
127
|
-
* Whether the browser's default behaviour was prevented programmatically
|
|
128
|
-
*/
|
|
129
|
-
defaultPrevented: boolean;
|
|
130
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const isFlexibleUiCard: (children?: React.ReactNode) => boolean;
|
|
3
|
-
export declare const isFlexibleUiBlock: (node: React.ReactNode) => boolean;
|
|
4
|
-
export declare const isFlexibleUiElement: (node: React.ReactNode) => boolean;
|
|
5
|
-
export declare const isFlexibleUiTitleBlock: (node: React.ReactNode) => boolean;
|
|
6
|
-
export declare const isFlexibleUiPreviewBlock: (node: React.ReactNode) => boolean;
|
|
7
|
-
export declare const isFlexibleUiFooterBlock: (node: React.ReactNode) => boolean;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CardProps } from '../view/Card';
|
|
3
|
-
export declare const isCardWithData: (props: CardProps) => boolean;
|
|
4
|
-
export declare const isSpecialEvent: (evt: React.MouseEvent | React.KeyboardEvent) => boolean;
|
|
5
|
-
export declare const isIframe: () => boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Meta key = cmd on mac, windows key on windows
|
|
8
|
-
* Ctrl key on mac by default triggers a right click instead of left click
|
|
9
|
-
* Ctrl key on Windows has the same behaviour of cmd key of mac (open in new tab)
|
|
10
|
-
*
|
|
11
|
-
* `isSpecialKey` on a mouse event on mac with default behaviour should be equivalent to opening in new tab
|
|
12
|
-
* On Windows it will be equivalent to opening a new tab, unless its the Window key that is held
|
|
13
|
-
* in which case typically only a standard clickthrough will occur, this is likely a small portion of events
|
|
14
|
-
*/
|
|
15
|
-
export declare const isSpecialKey: (event: React.MouseEvent | React.KeyboardEvent) => boolean;
|
|
16
|
-
export declare const isSpecialClick: (event: React.MouseEvent) => boolean;
|
|
17
|
-
export declare const getIconForFileType: (fileMimeType: string) => React.ReactNode | undefined;
|
|
18
|
-
export declare const getLabelForFileType: (fileMimeType: string) => React.ReactNode | undefined;
|
|
19
|
-
export declare const getIframeSandboxAttribute: (isTrusted: boolean) => "allow-downloads allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts" | undefined;
|
|
20
|
-
export declare const handleOnClick: (handler: Function) => (e: React.BaseSyntheticEvent) => void;
|
|
21
|
-
export declare const isIntersectionObserverSupported: () => boolean;
|
|
22
|
-
export declare const sleep: (ms: number) => Promise<void>;
|
|
23
|
-
export declare const importWithRetry: <T>(importFn: () => Promise<T>, retries?: number, interval?: number) => Promise<T>;
|