@atlaskit/smart-card 23.2.0 → 23.3.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 +13 -0
- package/dist/cjs/constants.js +4 -2
- package/dist/cjs/messages.js +15 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/{BlockCard/utils → EmbedCard}/constants.js +4 -4
- package/dist/cjs/view/EmbedCard/views/ForbiddenView.js +1 -1
- package/dist/cjs/view/EmbedCard/views/NotFoundView.js +1 -1
- package/dist/cjs/view/EmbedCard/views/UnauthorisedView.js +23 -5
- package/dist/cjs/view/EmbedCard/views/UnresolvedView.js +9 -5
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/index.js +6 -1
- package/dist/es2019/constants.js +2 -0
- package/dist/es2019/messages.js +15 -0
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/{BlockCard/utils → EmbedCard}/constants.js +2 -2
- package/dist/es2019/view/EmbedCard/views/ForbiddenView.js +1 -1
- package/dist/es2019/view/EmbedCard/views/NotFoundView.js +1 -1
- package/dist/es2019/view/EmbedCard/views/UnauthorisedView.js +19 -5
- package/dist/es2019/view/EmbedCard/views/UnresolvedView.js +9 -5
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/index.js +5 -0
- package/dist/esm/constants.js +2 -0
- package/dist/esm/messages.js +15 -0
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/{BlockCard/utils → EmbedCard}/constants.js +2 -2
- package/dist/esm/view/EmbedCard/views/ForbiddenView.js +1 -1
- package/dist/esm/view/EmbedCard/views/NotFoundView.js +1 -1
- package/dist/esm/view/EmbedCard/views/UnauthorisedView.js +19 -5
- package/dist/esm/view/EmbedCard/views/UnresolvedView.js +9 -5
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/index.js +6 -1
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/view/{BlockCard/utils → EmbedCard}/constants.d.ts +1 -1
- package/dist/types/view/EmbedCard/types.d.ts +1 -0
- package/dist/types/view/FlexibleCard/components/blocks/title-block/types.d.ts +6 -0
- package/package.json +2 -10
- package/report.api.md +1 -0
- package/tmp/api-report-tmp.d.ts +1 -0
- package/dist/types-ts4.0/__fixtures__/flexible-ui-data-context.d.ts +0 -3
- 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 -187
- 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 -234
- package/dist/types-ts4.0/extractors/common/__mocks__/render.d.ts +0 -2
- package/dist/types-ts4.0/extractors/common/actions/extractActions.d.ts +0 -4
- package/dist/types-ts4.0/extractors/common/actions/extractPreviewAction.d.ts +0 -9
- 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/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 -8
- package/dist/types-ts4.0/extractors/common/lozenge/utils.d.ts +0 -4
- 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 -12
- package/dist/types-ts4.0/extractors/embed/index.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/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 -5
- 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 -13
- 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/i18n/cs.d.ts +0 -71
- package/dist/types-ts4.0/i18n/da.d.ts +0 -71
- package/dist/types-ts4.0/i18n/de.d.ts +0 -71
- package/dist/types-ts4.0/i18n/en.d.ts +0 -71
- package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -71
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -38
- package/dist/types-ts4.0/i18n/es.d.ts +0 -71
- package/dist/types-ts4.0/i18n/et.d.ts +0 -94
- package/dist/types-ts4.0/i18n/fi.d.ts +0 -71
- package/dist/types-ts4.0/i18n/fr.d.ts +0 -71
- package/dist/types-ts4.0/i18n/hu.d.ts +0 -71
- 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 -71
- package/dist/types-ts4.0/i18n/ja.d.ts +0 -71
- package/dist/types-ts4.0/i18n/ko.d.ts +0 -71
- package/dist/types-ts4.0/i18n/languages.d.ts +0 -27
- package/dist/types-ts4.0/i18n/nb.d.ts +0 -71
- package/dist/types-ts4.0/i18n/nl.d.ts +0 -71
- package/dist/types-ts4.0/i18n/pl.d.ts +0 -71
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -71
- 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 -71
- package/dist/types-ts4.0/i18n/sk.d.ts +0 -94
- package/dist/types-ts4.0/i18n/sv.d.ts +0 -71
- package/dist/types-ts4.0/i18n/th.d.ts +0 -71
- package/dist/types-ts4.0/i18n/tr.d.ts +0 -71
- package/dist/types-ts4.0/i18n/uk.d.ts +0 -71
- package/dist/types-ts4.0/i18n/vi.d.ts +0 -71
- package/dist/types-ts4.0/i18n/zh.d.ts +0 -71
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -71
- package/dist/types-ts4.0/in-product.d.ts +0 -1
- package/dist/types-ts4.0/index.d.ts +0 -22
- 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 -12
- 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/useSmartLinkAnalytics.d.ts +0 -195
- 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 -8
- package/dist/types-ts4.0/state/flexible-ui-context/types.d.ts +0 -165
- 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/usePrefetch.d.ts +0 -1
- package/dist/types-ts4.0/state/hooks/useSmartLink.d.ts +0 -50
- package/dist/types-ts4.0/state/hooks-external/useSmartLinkActions.d.ts +0 -49
- package/dist/types-ts4.0/state/hooks-external/useSmartLinkReload.d.ts +0 -19
- 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/analytics/__mocks__/analytics.d.ts +0 -2
- package/dist/types-ts4.0/utils/analytics/analytics.d.ts +0 -32
- package/dist/types-ts4.0/utils/analytics/index.d.ts +0 -4
- package/dist/types-ts4.0/utils/analytics/types.d.ts +0 -93
- package/dist/types-ts4.0/utils/flexible.d.ts +0 -5
- package/dist/types-ts4.0/utils/index.d.ts +0 -12
- package/dist/types-ts4.0/utils/jsonld.d.ts +0 -3
- package/dist/types-ts4.0/utils/mocks.d.ts +0 -75
- 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 -30
- 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/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/index.d.ts +0 -14
- package/dist/types-ts4.0/view/BlockCard/types.d.ts +0 -25
- package/dist/types-ts4.0/view/BlockCard/utils/constants.d.ts +0 -3
- 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 -34
- 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/Card/index.d.ts +0 -5
- package/dist/types-ts4.0/view/Card/types.d.ts +0 -37
- 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 -29
- package/dist/types-ts4.0/view/EmbedCard/EmbedResizeMessageListener.d.ts +0 -15
- package/dist/types-ts4.0/view/EmbedCard/components/ExpandedFrame.d.ts +0 -23
- package/dist/types-ts4.0/view/EmbedCard/components/Frame.d.ts +0 -7
- 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 -45
- package/dist/types-ts4.0/view/EmbedCard/index.d.ts +0 -3
- package/dist/types-ts4.0/view/EmbedCard/types.d.ts +0 -46
- 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 -27
- package/dist/types-ts4.0/view/EmbedCard/views/UnauthorisedView.d.ts +0 -12
- 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 -4
- package/dist/types-ts4.0/view/EmbedModal/types.d.ts +0 -31
- 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/index.d.ts +0 -13
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/action/types.d.ts +0 -48
- package/dist/types-ts4.0/view/FlexibleCard/components/actions/index.d.ts +0 -20
- 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/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 -10
- 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 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/index.d.ts +0 -5
- 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 -10
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/preview-block/types.d.ts +0 -8
- 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 -86
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/types.d.ts +0 -300
- package/dist/types-ts4.0/view/FlexibleCard/components/blocks/utils.d.ts +0 -13
- 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 -7
- 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/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 -25
- 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 -129
- 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 -35
- 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 -13
- 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 -17
- 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 -113
- package/dist/types-ts4.0/view/FlexibleCard/utils.d.ts +0 -7
- package/dist/types-ts4.0/view/HoverCard/components/HoverCardComponent.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/components/HoverCardContent.d.ts +0 -9
- package/dist/types-ts4.0/view/HoverCard/components/HoverCardLoadingView.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/components/SnippetOrPreview.d.ts +0 -4
- package/dist/types-ts4.0/view/HoverCard/index.d.ts +0 -3
- package/dist/types-ts4.0/view/HoverCard/styled.d.ts +0 -12
- package/dist/types-ts4.0/view/HoverCard/types.d.ts +0 -45
- package/dist/types-ts4.0/view/HoverCard/utils.d.ts +0 -3
- 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 -25
- package/dist/types-ts4.0/view/InlineCard/Frame/index.d.ts +0 -16
- package/dist/types-ts4.0/view/InlineCard/Frame/styled.d.ts +0 -8
- package/dist/types-ts4.0/view/InlineCard/Icon.d.ts +0 -4
- package/dist/types-ts4.0/view/InlineCard/IconAndTitleLayout/index.d.ts +0 -19
- package/dist/types-ts4.0/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -13
- package/dist/types-ts4.0/view/InlineCard/ResolvedView/index.d.ts +0 -30
- package/dist/types-ts4.0/view/InlineCard/ResolvingView/index.d.ts +0 -18
- package/dist/types-ts4.0/view/InlineCard/ResolvingView/styled.d.ts +0 -14
- package/dist/types-ts4.0/view/InlineCard/UnauthorisedView/index.d.ts +0 -20
- package/dist/types-ts4.0/view/InlineCard/index.d.ts +0 -9
- package/dist/types-ts4.0/view/InlineCard/styled.d.ts +0 -9
- package/dist/types-ts4.0/view/InlineCard/types.d.ts +0 -21
- 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/__mocks__/intersection-observer.d.ts +0 -26
- package/dist/types-ts4.0/view/__mocks__/intersection-observer.mock.d.ts +0 -12
- package/dist/types-ts4.0/view/common/Byline.d.ts +0 -10
- package/dist/types-ts4.0/view/common/Icon.d.ts +0 -11
- 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/utils.d.ts +0 -5
- package/dist/types-ts4.0/view/types.d.ts +0 -29
|
@@ -29,6 +29,7 @@ export interface WithShowControlMethodProp {
|
|
|
29
29
|
}
|
|
30
30
|
export interface ContextViewModel {
|
|
31
31
|
icon?: ReactNode;
|
|
32
|
+
image?: string;
|
|
32
33
|
text: string;
|
|
33
34
|
}
|
|
34
35
|
export declare type AccessTypes = 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DIRECT_ACCESS' | 'DENIED_REQUEST_EXISTS' | 'APPROVED_REQUEST_EXISTS' | 'ACCESS_EXISTS';
|
|
@@ -55,6 +55,12 @@ export declare type TitleBlockProps = {
|
|
|
55
55
|
* @internal
|
|
56
56
|
*/
|
|
57
57
|
retry?: RetryOptions;
|
|
58
|
+
/**
|
|
59
|
+
* This option determins whenever we show any of the links and messages on the right side of the block,
|
|
60
|
+
* like "connect to preview" or "Can't find link" or "Restricted link, try another account" etc.
|
|
61
|
+
* Default is false.
|
|
62
|
+
*/
|
|
63
|
+
hideRetry?: boolean;
|
|
58
64
|
/**
|
|
59
65
|
* Determines whether TitleBlock will hide actions until the user is hovering
|
|
60
66
|
* over the link.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.3.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,14 +12,6 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.0 <4.5": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.0/*",
|
|
19
|
-
"dist/types-ts4.0/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"sideEffects": false,
|
|
24
16
|
"atlaskit:src": "src/index.ts",
|
|
25
17
|
"atlassian": {
|
|
@@ -41,7 +33,7 @@
|
|
|
41
33
|
"@atlaskit/icon-object": "^6.2.0",
|
|
42
34
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
43
35
|
"@atlaskit/in-product-testing": "^0.1.0",
|
|
44
|
-
"@atlaskit/linking-common": "^1.
|
|
36
|
+
"@atlaskit/linking-common": "^1.12.0",
|
|
45
37
|
"@atlaskit/logo": "^13.10.0",
|
|
46
38
|
"@atlaskit/lozenge": "^11.3.0",
|
|
47
39
|
"@atlaskit/media-common": "^2.17.0",
|
package/report.api.md
CHANGED
|
@@ -786,6 +786,7 @@ type TitleBlockProps = {
|
|
|
786
786
|
position?: SmartLinkPosition;
|
|
787
787
|
onClick?: React_2.EventHandler<React_2.KeyboardEvent | React_2.MouseEvent>;
|
|
788
788
|
retry?: RetryOptions;
|
|
789
|
+
hideRetry?: boolean;
|
|
789
790
|
showActionOnHover?: boolean;
|
|
790
791
|
subtitle?: ElementItem[];
|
|
791
792
|
text?: string;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -672,6 +672,7 @@ type TitleBlockProps = {
|
|
|
672
672
|
position?: SmartLinkPosition;
|
|
673
673
|
onClick?: React_2.EventHandler<React_2.KeyboardEvent | React_2.MouseEvent>;
|
|
674
674
|
retry?: RetryOptions;
|
|
675
|
+
hideRetry?: boolean;
|
|
675
676
|
showActionOnHover?: boolean;
|
|
676
677
|
subtitle?: ElementItem[];
|
|
677
678
|
text?: string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { InlineCardPageObject } from './page-objects/InlineCard';
|
|
2
|
-
export { BlockCardPageObject } from './page-objects/BlockCard';
|
|
3
|
-
export { EmbedCardPageObject } from './page-objects/EmbedCard';
|
|
4
|
-
export { inlineSmartLinkRendersTestCase } from './test-cases/inline';
|
|
5
|
-
export { blockSmartLinkRendersTestCase } from './test-cases/card';
|
|
6
|
-
export { embedSmartLinkRendersTestCase } from './test-cases/embed';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { InProductTestPageObject, CypressType } from '@atlaskit/in-product-testing';
|
|
3
|
-
import { CardType, CardAppearance } from '@atlaskit/linking-common';
|
|
4
|
-
export declare class BaseCardPageObject extends InProductTestPageObject {
|
|
5
|
-
protected cy: CypressType;
|
|
6
|
-
protected appearance: CardAppearance;
|
|
7
|
-
protected constructor(cy: CypressType, appearance: CardAppearance);
|
|
8
|
-
private static CARD_TIMEOUT;
|
|
9
|
-
private _toSelector;
|
|
10
|
-
expectCardReady(numOfCards?: number, status?: CardType): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
11
|
-
expectCardNotExists(status?: CardType): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
12
|
-
findCardNth(nth?: number, status?: CardType): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
13
|
-
assertHrefRendered(url: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
14
|
-
assertHrefNotRendered(url: string): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
15
|
-
click(status?: CardType): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { contentFooterClassName } from './view/BlockCard/components/ContentFooter';
|
|
2
|
-
export { metadataListClassName } from './view/common/MetadataList';
|
|
3
|
-
export { blockCardResolvingViewClassName } from './view/BlockCard/views/ResolvingView';
|
|
4
|
-
export { blockCardResolvedViewClassName, blockCardResolvedViewByClassName, } from './view/BlockCard/views/ResolvedView';
|
|
5
|
-
export { blockCardForbiddenViewClassName, blockCardForbiddenViewLinkClassName, } from './view/BlockCard/views/ForbiddenView';
|
|
6
|
-
export { blockCardIconImageClassName } from './view/common/Icon';
|
|
7
|
-
export { blockCardContentClassName } from './view/BlockCard/components/Content';
|
|
8
|
-
export { blockCardContentHeaderClassName } from './view/BlockCard/components/ContentHeader';
|
|
9
|
-
export { blockCardContentHeaderNameClassName } from './view/BlockCard/components/Name';
|
|
10
|
-
export { blockCardNotFoundViewClassName } from './view/BlockCard/views/NotFoundView';
|
|
11
|
-
export { blockCardErroredViewClassName } from './view/BlockCard/views/ErroredView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CardClient as default } from '@atlaskit/link-provider';
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The alignment of Flexible UI component.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum SmartLinkAlignment {
|
|
5
|
-
Left = "left",
|
|
6
|
-
Right = "right"
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* The direction of Flexible UI components. It establish the main-axis
|
|
10
|
-
* or how the child components laid out inside the parent component.
|
|
11
|
-
* Similar to flex's flex-direction concept.
|
|
12
|
-
*/
|
|
13
|
-
export declare enum SmartLinkDirection {
|
|
14
|
-
Horizontal = "horizontal",
|
|
15
|
-
Vertical = "vertical"
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* The positioning of the component within the parent component.
|
|
19
|
-
* Similar to flex's align-items or align-self concept.
|
|
20
|
-
*/
|
|
21
|
-
export declare enum SmartLinkPosition {
|
|
22
|
-
Top = "top",
|
|
23
|
-
Center = "center"
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* The sizing options of the Flexible UI component. Every component
|
|
27
|
-
* has or inherits the sizing props. Implementation varies
|
|
28
|
-
* as per component.
|
|
29
|
-
*/
|
|
30
|
-
export declare enum SmartLinkSize {
|
|
31
|
-
XLarge = "xlarge",
|
|
32
|
-
Large = "large",
|
|
33
|
-
Medium = "medium",
|
|
34
|
-
Small = "small"
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Smart Links link request status
|
|
38
|
-
*/
|
|
39
|
-
export declare enum SmartLinkStatus {
|
|
40
|
-
Pending = "pending",
|
|
41
|
-
Resolving = "resolving",
|
|
42
|
-
Resolved = "resolved",
|
|
43
|
-
Forbidden = "forbidden",
|
|
44
|
-
Errored = "errored",
|
|
45
|
-
NotFound = "not_found",
|
|
46
|
-
Unauthorized = "unauthorized",
|
|
47
|
-
Fallback = "fallback"
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Flexible UI theme available on the Card level.
|
|
51
|
-
* This determine the styling of the link.
|
|
52
|
-
*/
|
|
53
|
-
export declare enum SmartLinkTheme {
|
|
54
|
-
Black = "black",
|
|
55
|
-
Link = "link"
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Determines whether the container size will fit to the content
|
|
59
|
-
* or expand to the available width or the parent component.
|
|
60
|
-
* Similar to flex's flex-grow concept.
|
|
61
|
-
*/
|
|
62
|
-
export declare enum SmartLinkWidth {
|
|
63
|
-
FitToContent = "fit-to-content",
|
|
64
|
-
Flexible = "flexible"
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Flexible UI element name - each reflecting the link data its represented.
|
|
68
|
-
* When adding an element...
|
|
69
|
-
* 1) Create base element if it doesn't already exist.
|
|
70
|
-
* Base element are inside src/view/FlexibleCard/components/elements.
|
|
71
|
-
* E.g. Badge, DateTime, Icon, Lozenge, etc.
|
|
72
|
-
* 2) Update FlexibleUiContext with the new prop for data representing
|
|
73
|
-
* the element, preferably with the same name as the element itself.
|
|
74
|
-
* (src/state/flexible-ui-context/types.ts)
|
|
75
|
-
* 3) Update Flexible UI extractor (src/extractors/flexible/index.ts)
|
|
76
|
-
* 4) Set base element and data mapping
|
|
77
|
-
* (src/view/FlexibleCard/components/elements/utils.tsx)
|
|
78
|
-
* 5) Create element. (src/view/FlexibleCard/components/elements/index.ts)
|
|
79
|
-
* 6) Update element ElementDisplaySchema for inline/block display
|
|
80
|
-
* (src/view/FlexibleCard/components/blocks/utils.tsx)
|
|
81
|
-
*/
|
|
82
|
-
export declare enum ElementName {
|
|
83
|
-
AttachmentCount = "AttachmentCount",
|
|
84
|
-
AuthorGroup = "AuthorGroup",
|
|
85
|
-
CollaboratorGroup = "CollaboratorGroup",
|
|
86
|
-
CommentCount = "CommentCount",
|
|
87
|
-
CreatedBy = "CreatedBy",
|
|
88
|
-
CreatedOn = "CreatedOn",
|
|
89
|
-
DueOn = "DueOn",
|
|
90
|
-
LinkIcon = "LinkIcon",
|
|
91
|
-
ModifiedBy = "ModifiedBy",
|
|
92
|
-
ModifiedOn = "ModifiedOn",
|
|
93
|
-
Preview = "Preview",
|
|
94
|
-
Priority = "Priority",
|
|
95
|
-
ProgrammingLanguage = "ProgrammingLanguage",
|
|
96
|
-
Provider = "Provider",
|
|
97
|
-
ReactCount = "ReactCount",
|
|
98
|
-
Snippet = "Snippet",
|
|
99
|
-
SourceBranch = "SourceBranch",
|
|
100
|
-
State = "State",
|
|
101
|
-
SubscriberCount = "SubscriberCount",
|
|
102
|
-
TargetBranch = "TargetBranch",
|
|
103
|
-
Title = "Title",
|
|
104
|
-
ViewCount = "ViewCount",
|
|
105
|
-
VoteCount = "VoteCount",
|
|
106
|
-
LatestCommit = "LatestCommit"
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Flexible UI action (button)
|
|
110
|
-
*/
|
|
111
|
-
export declare enum ActionName {
|
|
112
|
-
DeleteAction = "DeleteAction",
|
|
113
|
-
EditAction = "EditAction",
|
|
114
|
-
CustomAction = "CustomAction"
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Flexible UI icons - each mapped to AK icons.
|
|
118
|
-
*/
|
|
119
|
-
export declare enum IconType {
|
|
120
|
-
Archive = "FileType:Archive",
|
|
121
|
-
Audio = "FileType:Audio",
|
|
122
|
-
Blog = "FileType:Blog",
|
|
123
|
-
Code = "FileType:Code",
|
|
124
|
-
Document = "FileType:Document",
|
|
125
|
-
Executable = "FileType:Executable",
|
|
126
|
-
File = "FileType:File",
|
|
127
|
-
Folder = "FileType:Folder",
|
|
128
|
-
Generic = "FileType:Generic",
|
|
129
|
-
GIF = "FileType:GIF",
|
|
130
|
-
GoogleDocs = "FileType:GoogleDocs",
|
|
131
|
-
GoogleForms = "FileType:GoogleForms",
|
|
132
|
-
GoogleSheets = "FileType:GoogleSheets",
|
|
133
|
-
GoogleSlides = "FileType:GoogleSlides",
|
|
134
|
-
Image = "FileType.Image",
|
|
135
|
-
MSExcel = "FileType:Excel",
|
|
136
|
-
MSPowerpoint = "FileType:Powerpoint",
|
|
137
|
-
MSWord = "FileType:WordDocument",
|
|
138
|
-
PDF = "FileType:PDF",
|
|
139
|
-
Presentation = "FileType:Presentation",
|
|
140
|
-
Sketch = "FileType:Sketch",
|
|
141
|
-
Spreadsheet = "FileType:Spreadsheet",
|
|
142
|
-
Template = "FileType:Template",
|
|
143
|
-
Video = "FileType:Video",
|
|
144
|
-
Branch = "BitBucket:Branch",
|
|
145
|
-
Commit = "BitBucket:Commit",
|
|
146
|
-
Project = "BitBucket:Project",
|
|
147
|
-
PullRequest = "BitBucket:PullRequest",
|
|
148
|
-
Repo = "BitBucket:Repo",
|
|
149
|
-
Bug = "Jira:Bug",
|
|
150
|
-
Change = "Jira:Change",
|
|
151
|
-
Epic = "Jira:Epic",
|
|
152
|
-
Incident = "Jira:Incident",
|
|
153
|
-
Problem = "Jira:Problem",
|
|
154
|
-
ServiceRequest = "Jira:ServiceRequest",
|
|
155
|
-
Story = "Jira:Story",
|
|
156
|
-
SubTask = "Jira:SubTask",
|
|
157
|
-
Task = "Jira:Task",
|
|
158
|
-
Confluence = "Provider:Confluence",
|
|
159
|
-
Jira = "Provider:Jira",
|
|
160
|
-
Default = "Default",
|
|
161
|
-
Error = "Default:Error",
|
|
162
|
-
Forbidden = "Default:Forbidden",
|
|
163
|
-
Attachment = "Badge:Attachment",
|
|
164
|
-
Comment = "Badge:Comment",
|
|
165
|
-
View = "Badge:View",
|
|
166
|
-
React = "Badge:React",
|
|
167
|
-
Vote = "Badge:Vote",
|
|
168
|
-
PriorityBlocker = "Badge:PriorityBlocker",
|
|
169
|
-
PriorityCritical = "Badge:PriorityCritical",
|
|
170
|
-
PriorityHigh = "Badge:PriorityHigh",
|
|
171
|
-
PriorityHighest = "Badge:PriorityHighest",
|
|
172
|
-
PriorityLow = "Badge:PriorityLow",
|
|
173
|
-
PriorityLowest = "Badge:PriorityLowest",
|
|
174
|
-
PriorityMajor = "Badge:PriorityMajor",
|
|
175
|
-
PriorityMedium = "Badge:PriorityMedium",
|
|
176
|
-
PriorityMinor = "Badge:PriorityMinor",
|
|
177
|
-
PriorityTrivial = "Badge:PriorityTrivial",
|
|
178
|
-
PriorityUndefined = "Badge:PriorityUndefined",
|
|
179
|
-
ProgrammingLanguage = "Badge:ProgrammingLanguage",
|
|
180
|
-
Subscriber = "Badge:Subscriber"
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Type for Flexible UI's Media element
|
|
184
|
-
*/
|
|
185
|
-
export declare enum MediaType {
|
|
186
|
-
Image = "image"
|
|
187
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JsonLd } from 'json-ld-types';
|
|
2
|
-
import { CardProviderRenderers } from '@atlaskit/link-provider';
|
|
3
|
-
import { LinkPerson } from '@atlaskit/linking-common/extractors';
|
|
4
|
-
import { ExtractBlockOpts } from './types';
|
|
5
|
-
import { BlockCardResolvedViewProps } from '../../view/BlockCard';
|
|
6
|
-
import { ActionProps } from '../../view/BlockCard/components/Action';
|
|
7
|
-
export declare const extractBlockActions: (props: BlockCardResolvedViewProps, jsonLd: JsonLd.Data.BaseData, opts?: ExtractBlockOpts | undefined, platform?: JsonLd.Primitives.Platforms | undefined) => ActionProps[];
|
|
8
|
-
export declare const extractBlockUsers: (jsonLd: JsonLd.Data.BaseData) => LinkPerson[] | undefined;
|
|
9
|
-
export declare const extractBlockProps: (jsonLd: JsonLd.Data.BaseData, meta?: JsonLd.Meta.BaseMeta | undefined, opts?: ExtractBlockOpts | undefined, renderers?: CardProviderRenderers | undefined, platform?: JsonLd.Primitives.Platforms | undefined) => BlockCardResolvedViewProps;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InvokeHandler } from '../../model/invoke-handler';
|
|
2
|
-
import { AnalyticsFacade } from '../../state/analytics';
|
|
3
|
-
import { CardInnerAppearance } from '../../view/Card/types';
|
|
4
|
-
import { AnalyticsOrigin } from '../../utils/types';
|
|
5
|
-
export interface ExtractBlockOpts {
|
|
6
|
-
handleInvoke: InvokeHandler;
|
|
7
|
-
analytics: AnalyticsFacade;
|
|
8
|
-
origin?: AnalyticsOrigin;
|
|
9
|
-
extensionKey?: string;
|
|
10
|
-
source?: CardInnerAppearance;
|
|
11
|
-
testId?: string;
|
|
12
|
-
}
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import { JsonLd } from 'json-ld-types';
|
|
2
|
-
export declare const TEST_URL = "https://my.url.com";
|
|
3
|
-
export declare const TEST_VISIT_URL = "https://visit.url.com";
|
|
4
|
-
export declare const TEST_NAME = "my name";
|
|
5
|
-
export declare const TEST_STRING = "foo";
|
|
6
|
-
export declare const TEST_PREFIX = "some-mock-prefix";
|
|
7
|
-
export declare const TEST_EMOJI = "\"emoji-id\"";
|
|
8
|
-
export declare const TEST_EMOJI_SANITIZED = "emoji-id";
|
|
9
|
-
export declare const TEST_LINK: JsonLd.Primitives.Link;
|
|
10
|
-
export declare const TEST_ARRAY: JsonLd.Primitives.Link[];
|
|
11
|
-
export declare const TEST_OBJECT: JsonLd.Primitives.Object;
|
|
12
|
-
export declare const TEST_PERSON: JsonLd.Primitives.Person;
|
|
13
|
-
export declare const TEST_IMAGE: JsonLd.Primitives.Image;
|
|
14
|
-
export declare const TEST_IMAGE_WITH_LINK: JsonLd.Primitives.Image;
|
|
15
|
-
export declare const TEST_TITLE_EMOJI: JsonLd.Data.BaseData['atlassian:titlePrefix'];
|
|
16
|
-
export declare const TEST_BASE_DATA: JsonLd.Data.BaseData;
|
|
17
|
-
export declare const TEST_DATA_WITH_EMOJI: JsonLd.Data.BaseData;
|
|
18
|
-
export declare const TEST_DATA_WITH_NO_PREFIX: JsonLd.Data.BaseData;
|
|
19
|
-
export declare const TEST_PROJECT: JsonLd.Data.Project;
|
|
20
|
-
export declare const TEST_PULL_REQUEST: JsonLd.Data.SourceCodePullRequest;
|
|
21
|
-
export declare const TEST_TASK: JsonLd.Data.Task;
|
|
22
|
-
export declare const TEST_META_DATA: JsonLd.Meta.BaseMeta;
|
|
23
|
-
export declare const TEST_DOCUMENT: JsonLd.Data.Document;
|
|
24
|
-
export declare const TEST_CURRENT_DOCUMENT: JsonLd.Data.Document;
|
|
25
|
-
export declare const TEST_DOWNLOAD_ACTION: JsonLd.Data.BaseData['schema:potentialAction'];
|
|
26
|
-
export declare const TEST_UNDEFINED_LINK: JsonLd.Data.UndefinedLinkDocument;
|
|
27
|
-
export declare const TEST_ASSIGN_ACTION: JsonLd.Data.BaseData['schema:potentialAction'];
|
|
28
|
-
export declare const TEST_NO_ID_ACTION: JsonLd.Data.BaseData['schema:potentialAction'];
|
|
29
|
-
export declare const TEST_DOCUMENT_WITH_ACTIONS: {
|
|
30
|
-
'schema:potentialAction': any[];
|
|
31
|
-
'@type': "Collection" | "Document" | "schema:BlogPosting" | "schema:TextDigitalDocument" | "schema:DigitalDocument" | "schema:PresentationDigitalDocument" | "schema:SpreadsheetDigitalDocument" | "atlassian:UndefinedLink" | ("Object" | "Document")[] | (JsonLd.Data.DocumentChildType | JsonLd.Data.DocumentParentType)[] | ("Document" | "schema:DigitalDocument")[];
|
|
32
|
-
'schema:fileFormat'?: string | undefined;
|
|
33
|
-
'atlassian:fileSize'?: number | undefined;
|
|
34
|
-
'schema:commentCount'?: number | undefined;
|
|
35
|
-
'atlassian:isDeleted'?: boolean | undefined;
|
|
36
|
-
'atlassian:attachmentCount'?: number | undefined;
|
|
37
|
-
'atlassian:dateViewed'?: string | undefined;
|
|
38
|
-
'atlassian:reactCount'?: number | undefined;
|
|
39
|
-
'atlassian:state'?: string | JsonLd.Primitives.Object<any> | undefined;
|
|
40
|
-
'atlassian:viewCount'?: number | undefined;
|
|
41
|
-
'atlassian:voteCount'?: number | undefined;
|
|
42
|
-
'@context': JsonLd.Primitives.Context;
|
|
43
|
-
'atlassian:downloadUrl'?: string | undefined;
|
|
44
|
-
'atlassian:visitUrl'?: string | undefined;
|
|
45
|
-
'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
|
|
46
|
-
'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
|
|
47
|
-
'schema:dateCreated'?: string | undefined;
|
|
48
|
-
'@id'?: string | undefined;
|
|
49
|
-
attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
50
|
-
attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
|
|
51
|
-
actor?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
52
|
-
}> | undefined;
|
|
53
|
-
audience?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
54
|
-
bcc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
55
|
-
bto?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
56
|
-
cc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
57
|
-
context?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
58
|
-
generator?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
59
|
-
icon?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
60
|
-
image?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
61
|
-
inReplyTo?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
62
|
-
location?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
63
|
-
oneOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
64
|
-
anyOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
65
|
-
closed?: boolean | JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
66
|
-
preview?: string | ((JsonLd.Primitives.Object<any> | JsonLd.Primitives.LinkModel) & JsonLd.Primitives.PreviewExtension) | undefined;
|
|
67
|
-
replies?: JsonLd.Primitives.Collection<any> | undefined;
|
|
68
|
-
tag?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
69
|
-
to?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
70
|
-
url?: JsonLd.Primitives.Property<JsonLd.Primitives.Link> | undefined;
|
|
71
|
-
content?: string | undefined;
|
|
72
|
-
contentMap?: Record<string, string> | undefined;
|
|
73
|
-
name?: string | undefined;
|
|
74
|
-
nameMap?: Record<string, string> | undefined;
|
|
75
|
-
duration?: string | undefined;
|
|
76
|
-
mediaType?: string | undefined;
|
|
77
|
-
endTime?: string | undefined;
|
|
78
|
-
published?: string | undefined;
|
|
79
|
-
startTime?: string | undefined;
|
|
80
|
-
summary?: string | undefined;
|
|
81
|
-
summaryMap?: Record<string, string> | undefined;
|
|
82
|
-
updated?: string | undefined;
|
|
83
|
-
};
|
|
84
|
-
export declare const PREVIEW: JsonLd.Data.BaseData['preview'];
|
|
85
|
-
export declare const TEST_DOCUMENT_WITH_PREVIEW: {
|
|
86
|
-
preview: JsonLd.Primitives.LinkModel & JsonLd.Primitives.PreviewExtension;
|
|
87
|
-
'@type': "Collection" | "Document" | "schema:BlogPosting" | "schema:TextDigitalDocument" | "schema:DigitalDocument" | "schema:PresentationDigitalDocument" | "schema:SpreadsheetDigitalDocument" | "atlassian:UndefinedLink" | ("Object" | "Document")[] | (JsonLd.Data.DocumentChildType | JsonLd.Data.DocumentParentType)[] | ("Document" | "schema:DigitalDocument")[];
|
|
88
|
-
'schema:fileFormat'?: string | undefined;
|
|
89
|
-
'atlassian:fileSize'?: number | undefined;
|
|
90
|
-
'schema:commentCount'?: number | undefined;
|
|
91
|
-
'atlassian:isDeleted'?: boolean | undefined;
|
|
92
|
-
'schema:potentialAction'?: JsonLd.Primitives.Property<JsonLd.Data.DocumentAction> | undefined;
|
|
93
|
-
'atlassian:attachmentCount'?: number | undefined;
|
|
94
|
-
'atlassian:dateViewed'?: string | undefined;
|
|
95
|
-
'atlassian:reactCount'?: number | undefined;
|
|
96
|
-
'atlassian:state'?: string | JsonLd.Primitives.Object<any> | undefined;
|
|
97
|
-
'atlassian:viewCount'?: number | undefined;
|
|
98
|
-
'atlassian:voteCount'?: number | undefined;
|
|
99
|
-
'@context': JsonLd.Primitives.Context;
|
|
100
|
-
'atlassian:downloadUrl'?: string | undefined;
|
|
101
|
-
'atlassian:visitUrl'?: string | undefined;
|
|
102
|
-
'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
|
|
103
|
-
'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
|
|
104
|
-
'schema:dateCreated'?: string | undefined;
|
|
105
|
-
'@id'?: string | undefined;
|
|
106
|
-
attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
107
|
-
attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
|
|
108
|
-
actor?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
109
|
-
}> | undefined;
|
|
110
|
-
audience?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
111
|
-
bcc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
112
|
-
bto?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
113
|
-
cc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
114
|
-
context?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
115
|
-
generator?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
116
|
-
icon?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
117
|
-
image?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
118
|
-
inReplyTo?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
119
|
-
location?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
120
|
-
oneOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
121
|
-
anyOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
122
|
-
closed?: boolean | JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
123
|
-
replies?: JsonLd.Primitives.Collection<any> | undefined;
|
|
124
|
-
tag?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
125
|
-
to?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
126
|
-
url?: JsonLd.Primitives.Property<JsonLd.Primitives.Link> | undefined;
|
|
127
|
-
content?: string | undefined;
|
|
128
|
-
contentMap?: Record<string, string> | undefined;
|
|
129
|
-
name?: string | undefined;
|
|
130
|
-
nameMap?: Record<string, string> | undefined;
|
|
131
|
-
duration?: string | undefined;
|
|
132
|
-
mediaType?: string | undefined;
|
|
133
|
-
endTime?: string | undefined;
|
|
134
|
-
published?: string | undefined;
|
|
135
|
-
startTime?: string | undefined;
|
|
136
|
-
summary?: string | undefined;
|
|
137
|
-
summaryMap?: Record<string, string> | undefined;
|
|
138
|
-
updated?: string | undefined;
|
|
139
|
-
};
|
|
140
|
-
export declare const TEST_DATA_WITH_LATEST_COMMIT_OBJ: {
|
|
141
|
-
'atlassian:latestCommit': {
|
|
142
|
-
'@type': string;
|
|
143
|
-
name: string;
|
|
144
|
-
};
|
|
145
|
-
'@context': JsonLd.Primitives.Context;
|
|
146
|
-
'@type': JsonLd.Primitives.Property<JsonLd.Primitives.ObjectType>;
|
|
147
|
-
'schema:potentialAction'?: import("schema-dts").AssignAction | import("schema-dts").CommentAction | import("schema-dts").DeleteAction | import("schema-dts").ReplyAction | import("schema-dts").ShareAction | import("schema-dts").SubscribeAction | import("schema-dts").WatchAction | import("schema-dts").DownloadAction | import("schema-dts").ViewAction | (import("schema-dts").AssignAction | import("schema-dts").CommentAction | import("schema-dts").DeleteAction | import("schema-dts").ReplyAction | import("schema-dts").ShareAction | import("schema-dts").SubscribeAction | import("schema-dts").WatchAction | import("schema-dts").DownloadAction | import("schema-dts").ViewAction)[] | undefined;
|
|
148
|
-
'atlassian:downloadUrl'?: string | undefined;
|
|
149
|
-
'atlassian:visitUrl'?: string | undefined;
|
|
150
|
-
'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
|
|
151
|
-
'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
|
|
152
|
-
'schema:dateCreated'?: string | undefined;
|
|
153
|
-
'@id'?: string | undefined;
|
|
154
|
-
attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
155
|
-
attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
|
|
156
|
-
actor?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
157
|
-
}> | undefined;
|
|
158
|
-
audience?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
159
|
-
bcc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
160
|
-
bto?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
161
|
-
cc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
162
|
-
context?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
163
|
-
generator?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
164
|
-
icon?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
165
|
-
image?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
166
|
-
inReplyTo?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
167
|
-
location?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
168
|
-
oneOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
169
|
-
anyOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
170
|
-
closed?: boolean | JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
171
|
-
preview?: string | ((JsonLd.Primitives.Object<any> | JsonLd.Primitives.LinkModel) & JsonLd.Primitives.PreviewExtension) | undefined;
|
|
172
|
-
replies?: JsonLd.Primitives.Collection<any> | undefined;
|
|
173
|
-
tag?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
174
|
-
to?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
175
|
-
url?: JsonLd.Primitives.Property<JsonLd.Primitives.Link> | undefined;
|
|
176
|
-
content?: string | undefined;
|
|
177
|
-
contentMap?: Record<string, string> | undefined;
|
|
178
|
-
name?: string | undefined;
|
|
179
|
-
nameMap?: Record<string, string> | undefined;
|
|
180
|
-
duration?: string | undefined;
|
|
181
|
-
mediaType?: string | undefined;
|
|
182
|
-
endTime?: string | undefined;
|
|
183
|
-
published?: string | undefined;
|
|
184
|
-
startTime?: string | undefined;
|
|
185
|
-
summary?: string | undefined;
|
|
186
|
-
summaryMap?: Record<string, string> | undefined;
|
|
187
|
-
updated?: string | undefined;
|
|
188
|
-
};
|
|
189
|
-
export declare const TEST_DATA_WITH_LATEST_COMMIT_TEXT: {
|
|
190
|
-
'atlassian:latestCommit': string;
|
|
191
|
-
'@context': JsonLd.Primitives.Context;
|
|
192
|
-
'@type': JsonLd.Primitives.Property<JsonLd.Primitives.ObjectType>;
|
|
193
|
-
'schema:potentialAction'?: import("schema-dts").AssignAction | import("schema-dts").CommentAction | import("schema-dts").DeleteAction | import("schema-dts").ReplyAction | import("schema-dts").ShareAction | import("schema-dts").SubscribeAction | import("schema-dts").WatchAction | import("schema-dts").DownloadAction | import("schema-dts").ViewAction | (import("schema-dts").AssignAction | import("schema-dts").CommentAction | import("schema-dts").DeleteAction | import("schema-dts").ReplyAction | import("schema-dts").ShareAction | import("schema-dts").SubscribeAction | import("schema-dts").WatchAction | import("schema-dts").DownloadAction | import("schema-dts").ViewAction)[] | undefined;
|
|
194
|
-
'atlassian:downloadUrl'?: string | undefined;
|
|
195
|
-
'atlassian:visitUrl'?: string | undefined;
|
|
196
|
-
'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
|
|
197
|
-
'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
|
|
198
|
-
'schema:dateCreated'?: string | undefined;
|
|
199
|
-
'@id'?: string | undefined;
|
|
200
|
-
attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
201
|
-
attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
|
|
202
|
-
actor?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
203
|
-
}> | undefined;
|
|
204
|
-
audience?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
205
|
-
bcc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
206
|
-
bto?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
207
|
-
cc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
208
|
-
context?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
209
|
-
generator?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
210
|
-
icon?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
211
|
-
image?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
212
|
-
inReplyTo?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
213
|
-
location?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
214
|
-
oneOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
215
|
-
anyOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
216
|
-
closed?: boolean | JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
217
|
-
preview?: string | ((JsonLd.Primitives.Object<any> | JsonLd.Primitives.LinkModel) & JsonLd.Primitives.PreviewExtension) | undefined;
|
|
218
|
-
replies?: JsonLd.Primitives.Collection<any> | undefined;
|
|
219
|
-
tag?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
220
|
-
to?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
221
|
-
url?: JsonLd.Primitives.Property<JsonLd.Primitives.Link> | undefined;
|
|
222
|
-
content?: string | undefined;
|
|
223
|
-
contentMap?: Record<string, string> | undefined;
|
|
224
|
-
name?: string | undefined;
|
|
225
|
-
nameMap?: Record<string, string> | undefined;
|
|
226
|
-
duration?: string | undefined;
|
|
227
|
-
mediaType?: string | undefined;
|
|
228
|
-
endTime?: string | undefined;
|
|
229
|
-
published?: string | undefined;
|
|
230
|
-
startTime?: string | undefined;
|
|
231
|
-
summary?: string | undefined;
|
|
232
|
-
summaryMap?: Record<string, string> | undefined;
|
|
233
|
-
updated?: string | undefined;
|
|
234
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { JsonLd } from 'json-ld-types';
|
|
2
|
-
import { InvokeHandler } from '../../../model/invoke-handler';
|
|
3
|
-
import { ActionProps } from '../../../view/BlockCard/components/Action';
|
|
4
|
-
export declare function extractActions(jsonLd: JsonLd.Data.BaseData, handler: InvokeHandler): ActionProps[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { JsonLd } from 'json-ld-types';
|
|
2
|
-
import { CardPlatform } from '../../../view/Card/types';
|
|
3
|
-
import { BlockCardResolvedViewProps } from '../../../view/BlockCard';
|
|
4
|
-
import { ExtractBlockOpts } from '../../block/types';
|
|
5
|
-
export declare const extractPreviewAction: ({ extensionKey, viewProps, jsonLd, handleInvoke, testId, platform, origin, source, analytics, }: ExtractBlockOpts & {
|
|
6
|
-
viewProps: BlockCardResolvedViewProps;
|
|
7
|
-
jsonLd: JsonLd.Data.BaseData;
|
|
8
|
-
platform?: JsonLd.Primitives.Platforms | undefined;
|
|
9
|
-
}) => import("../../../view/BlockCard/components/Action").ActionProps | undefined;
|