@atlaskit/smart-card 26.34.2 → 26.34.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 +6 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RedesignedInlineCard/ForbiddenView/index.js +11 -4
- package/dist/cjs/view/RedesignedInlineCard/index.js +8 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RedesignedInlineCard/ForbiddenView/index.js +11 -4
- package/dist/es2019/view/RedesignedInlineCard/index.js +8 -2
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RedesignedInlineCard/ForbiddenView/index.js +11 -4
- package/dist/esm/view/RedesignedInlineCard/index.js +8 -2
- package/package.json +1 -1
- package/dist/types-ts4.5/__fixtures__/atlas-project.d.ts +0 -3
- package/dist/types-ts4.5/__fixtures__/bitbucket-pull-request.d.ts +0 -73
- package/dist/types-ts4.5/__fixtures__/confluence-blog.d.ts +0 -49
- package/dist/types-ts4.5/__fixtures__/confluence-page.d.ts +0 -49
- package/dist/types-ts4.5/__fixtures__/confluence-space.d.ts +0 -36
- package/dist/types-ts4.5/__fixtures__/confluence-template.d.ts +0 -31
- package/dist/types-ts4.5/__fixtures__/figma.d.ts +0 -43
- package/dist/types-ts4.5/__fixtures__/flexible-ui-data-context.d.ts +0 -3
- package/dist/types-ts4.5/__fixtures__/jira-roadmap.d.ts +0 -35
- package/dist/types-ts4.5/__fixtures__/jira-task.d.ts +0 -78
- package/dist/types-ts4.5/__fixtures__/jira-timeline.d.ts +0 -35
- package/dist/types-ts4.5/__fixtures__/youtube-video.d.ts +0 -44
- package/dist/types-ts4.5/__tests_external__/index.d.ts +0 -6
- package/dist/types-ts4.5/__tests_external__/page-objects/BaseCard.d.ts +0 -16
- package/dist/types-ts4.5/__tests_external__/page-objects/BlockCard.d.ts +0 -6
- package/dist/types-ts4.5/__tests_external__/page-objects/EmbedCard.d.ts +0 -6
- package/dist/types-ts4.5/__tests_external__/page-objects/InlineCard.d.ts +0 -6
- package/dist/types-ts4.5/__tests_external__/test-cases/card.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/test-cases/embed.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/test-cases/inline.d.ts +0 -3
- package/dist/types-ts4.5/__tests_external__/test-cases/types.d.ts +0 -5
- package/dist/types-ts4.5/classNames.d.ts +0 -11
- package/dist/types-ts4.5/client/index.d.ts +0 -1
- package/dist/types-ts4.5/constants.d.ts +0 -219
- package/dist/types-ts4.5/extractors/action/extract-lozenge-action-items.d.ts +0 -4
- package/dist/types-ts4.5/extractors/block/index.d.ts +0 -10
- package/dist/types-ts4.5/extractors/block/types.d.ts +0 -12
- package/dist/types-ts4.5/extractors/common/__mocks__/jsonld.d.ts +0 -40
- package/dist/types-ts4.5/extractors/common/__mocks__/withIntl.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/actions/extractActions.d.ts +0 -5
- package/dist/types-ts4.5/extractors/common/actions/extractPreviewAction.d.ts +0 -10
- package/dist/types-ts4.5/extractors/common/byline/extractByline.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/context/extractAccessContext.d.ts +0 -12
- package/dist/types-ts4.5/extractors/common/context/index.d.ts +0 -1
- package/dist/types-ts4.5/extractors/common/detail/extractAttachmentCount.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/detail/extractCommentCount.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/detail/extractDownloadUrl.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/detail/extractProgrammingLanguage.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/detail/extractSubscriberCount.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/detail/index.d.ts +0 -9
- package/dist/types-ts4.5/extractors/common/detail/types.d.ts +0 -5
- package/dist/types-ts4.5/extractors/common/hostname/extractHostname.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/icon/extractFileFormat.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/icon/extractIcon.d.ts +0 -14
- package/dist/types-ts4.5/extractors/common/icon/extractIconFromDocument.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/icon/extractIconFromTask.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/icon/index.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/icon/priority.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/lozenge/extractLozenge.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/lozenge/extractState.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/lozenge/extractTag.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/lozenge/extractTaskStatus.d.ts +0 -3
- package/dist/types-ts4.5/extractors/common/lozenge/extractTaskType.d.ts +0 -7
- package/dist/types-ts4.5/extractors/common/lozenge/index.d.ts +0 -5
- package/dist/types-ts4.5/extractors/common/lozenge/types.d.ts +0 -13
- package/dist/types-ts4.5/extractors/common/lozenge/utils.d.ts +0 -4
- package/dist/types-ts4.5/extractors/common/meta/extractIsSupportTheming.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/meta/extractIsTrusted.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/primitives/extractSummary.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/primitives/extractTitleTextColor.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/primitives/extractVisitUrl.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/primitives/index.d.ts +0 -2
- package/dist/types-ts4.5/extractors/common/title-prefix/extractTitlePrefix.d.ts +0 -5
- package/dist/types-ts4.5/extractors/common/title-prefix/index.d.ts +0 -1
- package/dist/types-ts4.5/extractors/constants.d.ts +0 -13
- package/dist/types-ts4.5/extractors/embed/index.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/actions/extract-download-action.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/actions/extract-follow-action.d.ts +0 -5
- package/dist/types-ts4.5/extractors/flexible/actions/extract-preview-action.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/actions/extract-view-action.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/collaboratorGroup/index.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/extract-preview.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/extract-priority.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/extract-server-action.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/extract-state.d.ts +0 -5
- package/dist/types-ts4.5/extractors/flexible/icon/extract-document-type-icon.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/icon/extract-file-formatIcon.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/icon/extract-icon-renderer.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/icon/extract-jira-task-icon.d.ts +0 -3
- package/dist/types-ts4.5/extractors/flexible/icon/extract-jsonld-data-icon.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/icon/extract-provider-icon.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/icon/extract-url-icon.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/icon/index.d.ts +0 -17
- package/dist/types-ts4.5/extractors/flexible/icon/types.d.ts +0 -6
- package/dist/types-ts4.5/extractors/flexible/index.d.ts +0 -4
- package/dist/types-ts4.5/extractors/flexible/latest-commit/index.d.ts +0 -2
- package/dist/types-ts4.5/extractors/flexible/utils.d.ts +0 -24
- package/dist/types-ts4.5/extractors/hover/extractMetadata.d.ts +0 -5
- package/dist/types-ts4.5/extractors/index.d.ts +0 -14
- package/dist/types-ts4.5/extractors/inline/index.d.ts +0 -6
- package/dist/types-ts4.5/hooks.d.ts +0 -2
- package/dist/types-ts4.5/hoverCard.d.ts +0 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -100
- package/dist/types-ts4.5/i18n/da.d.ts +0 -100
- package/dist/types-ts4.5/i18n/de.d.ts +0 -100
- package/dist/types-ts4.5/i18n/en.d.ts +0 -113
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -113
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -113
- package/dist/types-ts4.5/i18n/es.d.ts +0 -100
- package/dist/types-ts4.5/i18n/et.d.ts +0 -94
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -100
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -100
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -100
- package/dist/types-ts4.5/i18n/index.d.ts +0 -35
- package/dist/types-ts4.5/i18n/is.d.ts +0 -70
- package/dist/types-ts4.5/i18n/it.d.ts +0 -100
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -100
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -100
- package/dist/types-ts4.5/i18n/languages.d.ts +0 -27
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -100
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -100
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -100
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -100
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -94
- package/dist/types-ts4.5/i18n/ro.d.ts +0 -70
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -100
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -94
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -100
- package/dist/types-ts4.5/i18n/th.d.ts +0 -100
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -100
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -100
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -100
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -100
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -100
- package/dist/types-ts4.5/in-product.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -23
- package/dist/types-ts4.5/linkUrl.d.ts +0 -2
- package/dist/types-ts4.5/messages.d.ts +0 -8
- package/dist/types-ts4.5/model/invoke-handler.d.ts +0 -3
- package/dist/types-ts4.5/model/invoke-opts.d.ts +0 -17
- package/dist/types-ts4.5/ssr.d.ts +0 -6
- package/dist/types-ts4.5/state/actions/constants.d.ts +0 -6
- package/dist/types-ts4.5/state/actions/index.d.ts +0 -11
- package/dist/types-ts4.5/state/actions/types.d.ts +0 -2
- package/dist/types-ts4.5/state/analytics/index.d.ts +0 -3
- package/dist/types-ts4.5/state/analytics/types.d.ts +0 -9
- package/dist/types-ts4.5/state/analytics/ufoExperiences.d.ts +0 -7
- package/dist/types-ts4.5/state/analytics/useDispatchAnalytics.d.ts +0 -11
- package/dist/types-ts4.5/state/analytics/useLinkClicked.d.ts +0 -8
- package/dist/types-ts4.5/state/analytics/useSmartLinkAnalytics.d.ts +0 -292
- package/dist/types-ts4.5/state/config/index.d.ts +0 -2
- package/dist/types-ts4.5/state/flexible-ui-context/index.d.ts +0 -21
- package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +0 -273
- package/dist/types-ts4.5/state/flexible-ui-context/utils.d.ts +0 -6
- package/dist/types-ts4.5/state/helpers.d.ts +0 -19
- package/dist/types-ts4.5/state/hooks/index.d.ts +0 -2
- package/dist/types-ts4.5/state/hooks/use-invoke/index.d.ts +0 -3
- package/dist/types-ts4.5/state/hooks/use-invoke/types.d.ts +0 -48
- package/dist/types-ts4.5/state/hooks/use-invoke/utils.d.ts +0 -4
- package/dist/types-ts4.5/state/hooks/use-invoke-client-action/index.d.ts +0 -6
- package/dist/types-ts4.5/state/hooks/use-invoke-client-action/types.d.ts +0 -30
- package/dist/types-ts4.5/state/hooks/use-resolve/index.d.ts +0 -2
- package/dist/types-ts4.5/state/hooks/usePrefetch.d.ts +0 -1
- package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +0 -77
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +0 -52
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkReload.d.ts +0 -22
- package/dist/types-ts4.5/state/index.d.ts +0 -5
- package/dist/types-ts4.5/state/reducers/types.d.ts +0 -4
- package/dist/types-ts4.5/state/renderers/index.d.ts +0 -2
- package/dist/types-ts4.5/state/store/index.d.ts +0 -3
- package/dist/types-ts4.5/state/types.d.ts +0 -1
- package/dist/types-ts4.5/types.d.ts +0 -20
- package/dist/types-ts4.5/utils/actions/create-invoke-request.d.ts +0 -3
- package/dist/types-ts4.5/utils/actions/create-status-update-request.d.ts +0 -4
- package/dist/types-ts4.5/utils/analytics/LinkAnalyticsContext.d.ts +0 -17
- package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +0 -14
- package/dist/types-ts4.5/utils/analytics/__mocks__/analytics.d.ts +0 -2
- package/dist/types-ts4.5/utils/analytics/analytics.d.ts +0 -62
- package/dist/types-ts4.5/utils/analytics/click.d.ts +0 -26
- package/dist/types-ts4.5/utils/analytics/index.d.ts +0 -4
- package/dist/types-ts4.5/utils/analytics/types.d.ts +0 -136
- package/dist/types-ts4.5/utils/flexible.d.ts +0 -7
- package/dist/types-ts4.5/utils/index.d.ts +0 -25
- package/dist/types-ts4.5/utils/intl-utils/index.d.ts +0 -3
- package/dist/types-ts4.5/utils/jsonld.d.ts +0 -4
- package/dist/types-ts4.5/utils/mocks.d.ts +0 -145
- package/dist/types-ts4.5/utils/performance.d.ts +0 -8
- package/dist/types-ts4.5/utils/test-utils.d.ts +0 -4
- package/dist/types-ts4.5/utils/token.d.ts +0 -21
- package/dist/types-ts4.5/utils/types.d.ts +0 -14
- package/dist/types-ts4.5/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/actions/DownloadAction.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/actions/ForbiddenAction.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/actions/PreviewAction.d.ts +0 -27
- package/dist/types-ts4.5/view/BlockCard/actions/RetryAction.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/actions/ViewAction.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/AuthorizeAction.d.ts +0 -9
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/ForbiddenAction.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/actions/flexible/RetryAction.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/components/Action.d.ts +0 -13
- package/dist/types-ts4.5/view/BlockCard/components/ActionIcon.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/ActionList.d.ts +0 -7
- package/dist/types-ts4.5/view/BlockCard/components/CollaboratorList.d.ts +0 -15
- package/dist/types-ts4.5/view/BlockCard/components/Content.d.ts +0 -9
- package/dist/types-ts4.5/view/BlockCard/components/ContentFooter.d.ts +0 -9
- package/dist/types-ts4.5/view/BlockCard/components/ContentHeader.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/components/Emoji.d.ts +0 -7
- package/dist/types-ts4.5/view/BlockCard/components/Frame.d.ts +0 -16
- package/dist/types-ts4.5/view/BlockCard/components/Link.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/components/Name.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/Provider.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/components/Thumbnail.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/components/UnresolvedText.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/components/flexible/footer/index.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/flexible/footer/types.d.ts +0 -5
- package/dist/types-ts4.5/view/BlockCard/index.d.ts +0 -15
- package/dist/types-ts4.5/view/BlockCard/types.d.ts +0 -27
- package/dist/types-ts4.5/view/BlockCard/utils/handlers.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/views/ErroredView.d.ts +0 -14
- package/dist/types-ts4.5/view/BlockCard/views/ForbiddenView.d.ts +0 -23
- package/dist/types-ts4.5/view/BlockCard/views/NotFoundView.d.ts +0 -17
- package/dist/types-ts4.5/view/BlockCard/views/ResolvedView.d.ts +0 -36
- package/dist/types-ts4.5/view/BlockCard/views/ResolvingView.d.ts +0 -9
- package/dist/types-ts4.5/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleErroredView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleForbiddenView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleForbiddenViewOld.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleNotFoundView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleResolvedView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +0 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/BlockCard/views/flexible/types.d.ts +0 -83
- package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/index.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +0 -4
- package/dist/types-ts4.5/view/Card/index.d.ts +0 -5
- package/dist/types-ts4.5/view/Card/types.d.ts +0 -84
- package/dist/types-ts4.5/view/CardWithData/component.d.ts +0 -5
- package/dist/types-ts4.5/view/CardWithData/loader.d.ts +0 -9
- package/dist/types-ts4.5/view/CardWithData/types.d.ts +0 -15
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyFallback.d.ts +0 -4
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/index.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/component.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/loader.d.ts +0 -3
- package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +0 -38
- package/dist/types-ts4.5/view/EmbedCard/EmbedResizeMessageListener.d.ts +0 -15
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +0 -26
- package/dist/types-ts4.5/view/EmbedCard/components/Frame.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedCard/components/IframeDwellTracker.d.ts +0 -8
- package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +0 -94
- package/dist/types-ts4.5/view/EmbedCard/constants.d.ts +0 -3
- package/dist/types-ts4.5/view/EmbedCard/index.d.ts +0 -3
- package/dist/types-ts4.5/view/EmbedCard/types.d.ts +0 -52
- package/dist/types-ts4.5/view/EmbedCard/utils.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedCard/views/ForbiddenView.d.ts +0 -17
- package/dist/types-ts4.5/view/EmbedCard/views/NotFoundView.d.ts +0 -15
- package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +0 -34
- package/dist/types-ts4.5/view/EmbedCard/views/UnauthorisedView.d.ts +0 -19
- package/dist/types-ts4.5/view/EmbedCard/views/UnresolvedView.d.ts +0 -22
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/types.d.ts +0 -8
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/types.d.ts +0 -7
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/types.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/types.d.ts +0 -25
- package/dist/types-ts4.5/view/EmbedModal/components/analytics/index.d.ts +0 -5
- package/dist/types-ts4.5/view/EmbedModal/components/analytics/types.d.ts +0 -7
- package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +0 -5
- package/dist/types-ts4.5/view/EmbedModal/components/embed-content/types.d.ts +0 -6
- package/dist/types-ts4.5/view/EmbedModal/components/error-boundary/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/types.d.ts +0 -9
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/styled.d.ts +0 -4
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/types.d.ts +0 -11
- package/dist/types-ts4.5/view/EmbedModal/constants.d.ts +0 -2
- package/dist/types-ts4.5/view/EmbedModal/index.d.ts +0 -21
- package/dist/types-ts4.5/view/EmbedModal/types.d.ts +0 -29
- package/dist/types-ts4.5/view/EmbedModal/utils.d.ts +0 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/types.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +0 -9
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +0 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/download-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/download-action/types.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/index.d.ts +0 -13
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/preview-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/preview-action/types.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/server-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/server-action/types.d.ts +0 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/types.d.ts +0 -64
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/view-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/view-action/types.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/index.d.ts +0 -42
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/utils.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/types.d.ts +0 -37
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/block/index.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/index.d.ts +0 -15
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/types.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/types.d.ts +0 -15
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/index.d.ts +0 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +0 -26
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/types.d.ts +0 -27
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +0 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/index.d.ts +0 -16
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +0 -9
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/types.d.ts +0 -97
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +0 -437
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/utils.d.ts +0 -14
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +0 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/types.d.ts +0 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +0 -16
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/types.d.ts +0 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/container/index.d.ts +0 -16
- package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/types.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/container/types.d.ts +0 -23
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/atlaskit-badge/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/atlaskit-badge/types.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/avatar-group/index.d.ts +0 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/avatar-group/types.d.ts +0 -29
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/badge/index.d.ts +0 -18
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/badge/types.d.ts +0 -17
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/date-time/index.d.ts +0 -13
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/date-time/types.d.ts +0 -16
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/icon/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/icon/types.d.ts +0 -27
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +0 -179
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/link/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/link/types.d.ts +0 -39
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/styled.d.ts +0 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/types.d.ts +0 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-analytics.d.ts +0 -21
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.d.ts +0 -35
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/types.d.ts +0 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.d.ts +0 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/type.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.d.ts +0 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/types.d.ts +0 -15
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/types.d.ts +0 -18
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media/types.d.ts +0 -18
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/index.d.ts +0 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/types.d.ts +0 -13
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/text/index.d.ts +0 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/text/types.d.ts +0 -17
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/types.d.ts +0 -24
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/utils.d.ts +0 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/types.d.ts +0 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +0 -20
- package/dist/types-ts4.5/view/FlexibleCard/index.d.ts +0 -10
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +0 -169
- package/dist/types-ts4.5/view/FlexibleCard/utils.d.ts +0 -6
- package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +0 -5
- package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +0 -3
- package/dist/types-ts4.5/view/HoverCard/components/HoverCardContent.d.ts +0 -7
- package/dist/types-ts4.5/view/HoverCard/components/ImagePreview.d.ts +0 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/index.d.ts +0 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/styled.d.ts +0 -3
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/types.d.ts +0 -13
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/index.d.ts +0 -7
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/styled.d.ts +0 -3
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/types.d.ts +0 -13
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/index.d.ts +0 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/types.d.ts +0 -6
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/index.d.ts +0 -4
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/styled.d.ts +0 -3
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/types.d.ts +0 -30
- package/dist/types-ts4.5/view/HoverCard/index.d.ts +0 -14
- package/dist/types-ts4.5/view/HoverCard/styled.d.ts +0 -11
- package/dist/types-ts4.5/view/HoverCard/types.d.ts +0 -98
- package/dist/types-ts4.5/view/HoverCard/utils.d.ts +0 -3
- package/dist/types-ts4.5/view/InlineCard/ErroredView/index.d.ts +0 -21
- package/dist/types-ts4.5/view/InlineCard/ForbiddenView/index.d.ts +0 -28
- package/dist/types-ts4.5/view/InlineCard/Frame/index.d.ts +0 -15
- package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +0 -15
- package/dist/types-ts4.5/view/InlineCard/Icon.d.ts +0 -12
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/index.d.ts +0 -28
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -40
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +0 -32
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +0 -17
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled.d.ts +0 -9
- package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/index.d.ts +0 -31
- package/dist/types-ts4.5/view/InlineCard/index.d.ts +0 -9
- package/dist/types-ts4.5/view/InlineCard/styled.d.ts +0 -17
- package/dist/types-ts4.5/view/InlineCard/types.d.ts +0 -25
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.d.ts +0 -10
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +0 -14
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/styled.d.ts +0 -1
- package/dist/types-ts4.5/view/LinkUrl/index.d.ts +0 -6
- package/dist/types-ts4.5/view/LinkUrl/types.d.ts +0 -13
- package/dist/types-ts4.5/view/LinkView/index.d.ts +0 -8
- package/dist/types-ts4.5/view/RedesignedInlineCard/ErroredView/index.d.ts +0 -24
- package/dist/types-ts4.5/view/RedesignedInlineCard/ForbiddenView/index.d.ts +0 -31
- package/dist/types-ts4.5/view/RedesignedInlineCard/Frame/index.d.ts +0 -15
- package/dist/types-ts4.5/view/RedesignedInlineCard/Frame/styled.d.ts +0 -15
- package/dist/types-ts4.5/view/RedesignedInlineCard/Icon.d.ts +0 -12
- package/dist/types-ts4.5/view/RedesignedInlineCard/IconAndTitleLayout/index.d.ts +0 -28
- package/dist/types-ts4.5/view/RedesignedInlineCard/IconAndTitleLayout/styled.d.ts +0 -36
- package/dist/types-ts4.5/view/RedesignedInlineCard/ResolvedView/index.d.ts +0 -32
- package/dist/types-ts4.5/view/RedesignedInlineCard/ResolvingView/index.d.ts +0 -17
- package/dist/types-ts4.5/view/RedesignedInlineCard/ResolvingView/styled.d.ts +0 -9
- package/dist/types-ts4.5/view/RedesignedInlineCard/UnauthorisedView/index.d.ts +0 -32
- package/dist/types-ts4.5/view/RedesignedInlineCard/index.d.ts +0 -9
- package/dist/types-ts4.5/view/RedesignedInlineCard/styled.d.ts +0 -17
- package/dist/types-ts4.5/view/RedesignedInlineCard/types.d.ts +0 -25
- package/dist/types-ts4.5/view/RedesignedInlineCard/utils/withFrameStyleControl.d.ts +0 -9
- package/dist/types-ts4.5/view/SmartLinkEvents/useSmartLinkEvents.d.ts +0 -2
- package/dist/types-ts4.5/view/common/Byline.d.ts +0 -10
- package/dist/types-ts4.5/view/common/Icon.d.ts +0 -12
- package/dist/types-ts4.5/view/common/Metadata.d.ts +0 -10
- package/dist/types-ts4.5/view/common/MetadataList.d.ts +0 -9
- package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +0 -26
- package/dist/types-ts4.5/view/common/utils.d.ts +0 -5
- package/dist/types-ts4.5/view/types.d.ts +0 -33
- package/tmp/api-report-tmp.d.ts +0 -1002
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 26.34.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41344) [`b2772a33471`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2772a33471) - [ux] Added forbidden state to redesigned inline card
|
|
8
|
+
|
|
3
9
|
## 26.34.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
22
22
|
var context = exports.context = {
|
|
23
23
|
componentName: 'smart-cards',
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "26.34.
|
|
25
|
+
packageVersion: "26.34.3"
|
|
26
26
|
};
|
|
27
27
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
28
28
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -18,7 +18,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
|
|
|
18
18
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
19
19
|
var PACKAGE_DATA = {
|
|
20
20
|
packageName: "@atlaskit/smart-card",
|
|
21
|
-
packageVersion: "26.34.
|
|
21
|
+
packageVersion: "26.34.3",
|
|
22
22
|
componentName: 'linkUrl'
|
|
23
23
|
};
|
|
24
24
|
var Link = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -66,10 +66,13 @@ var InlineCardForbiddenView = exports.InlineCardForbiddenView = /*#__PURE__*/fun
|
|
|
66
66
|
var _this$props3;
|
|
67
67
|
if ((_this$props3 = _this.props) !== null && _this$props3 !== void 0 && (_this$props3 = _this$props3.requestAccessContext) !== null && _this$props3 !== void 0 && _this$props3.callToActionMessageKey) {
|
|
68
68
|
var callToActionMessageKey = _this.props.requestAccessContext.callToActionMessageKey;
|
|
69
|
+
var values = (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.cross-join') ? {
|
|
70
|
+
product: _this.props.context
|
|
71
|
+
} : {
|
|
72
|
+
context: _this.props.context
|
|
73
|
+
};
|
|
69
74
|
return /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages[callToActionMessageKey], {
|
|
70
|
-
values:
|
|
71
|
-
context: _this.props.context
|
|
72
|
-
}
|
|
75
|
+
values: values
|
|
73
76
|
}));
|
|
74
77
|
}
|
|
75
78
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.invalid_permissions, function (formattedMessage) {
|
|
@@ -77,15 +80,19 @@ var InlineCardForbiddenView = exports.InlineCardForbiddenView = /*#__PURE__*/fun
|
|
|
77
80
|
}));
|
|
78
81
|
});
|
|
79
82
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "renderActionButton", function () {
|
|
83
|
+
var _this$props$requestAc;
|
|
80
84
|
var onAuthorise = _this.props.onAuthorise;
|
|
81
85
|
var ActionButton = (0, _withFrameStyleControl.default)(_customThemeButton.default, _this.frameRef);
|
|
86
|
+
var accessType = (_this$props$requestAc = _this.props.requestAccessContext) === null || _this$props$requestAc === void 0 ? void 0 : _this$props$requestAc.accessType;
|
|
87
|
+
var isButtonDisabled = (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.cross-join') && accessType === 'PENDING_REQUEST_EXISTS';
|
|
82
88
|
if (_this.state.hasRequestAccessContextMessage) {
|
|
83
89
|
return /*#__PURE__*/_react.default.createElement(ActionButton, {
|
|
84
90
|
spacing: "none",
|
|
85
91
|
onClick: _this.handleRetry,
|
|
86
92
|
component: _styled.IconStyledButton,
|
|
87
93
|
testId: "button-connect-other-account",
|
|
88
|
-
role: "button"
|
|
94
|
+
role: "button",
|
|
95
|
+
isDisabled: isButtonDisabled
|
|
89
96
|
}, _this.renderForbiddenAccessMessage());
|
|
90
97
|
}
|
|
91
98
|
if (onAuthorise) {
|
|
@@ -40,6 +40,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
40
40
|
var _jsonld = require("../../utils/jsonld");
|
|
41
41
|
var _inline = require("../../extractors/inline");
|
|
42
42
|
var _context = require("../../extractors/common/context");
|
|
43
|
+
var _extractAccessContext = require("../../extractors/common/context/extractAccessContext");
|
|
43
44
|
var _LinkView = require("../LinkView");
|
|
44
45
|
var _ErroredView = require("./ErroredView");
|
|
45
46
|
var _ForbiddenView = require("./ForbiddenView");
|
|
@@ -49,8 +50,9 @@ var _UnauthorisedView = require("./UnauthorisedView");
|
|
|
49
50
|
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
50
51
|
var _linkProvider = require("@atlaskit/link-provider");
|
|
51
52
|
var _helpers = require("../../state/helpers");
|
|
53
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
52
54
|
var InlineCard = exports.InlineCard = function InlineCard(_ref) {
|
|
53
|
-
var _details$meta;
|
|
55
|
+
var _details$meta, _providerForbidden$te;
|
|
54
56
|
var analytics = _ref.analytics,
|
|
55
57
|
id = _ref.id,
|
|
56
58
|
url = _ref.url,
|
|
@@ -132,7 +134,11 @@ var InlineCard = exports.InlineCard = function InlineCard(_ref) {
|
|
|
132
134
|
}
|
|
133
135
|
var providerForbidden = (0, _linkExtractors.extractProvider)(cardDetails);
|
|
134
136
|
var cardMetadata = (_details$meta = details === null || details === void 0 ? void 0 : details.meta) !== null && _details$meta !== void 0 ? _details$meta : (0, _jsonld.getForbiddenJsonLd)().meta;
|
|
135
|
-
var requestAccessContext = (0,
|
|
137
|
+
var requestAccessContext = (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.cross-join') ? (0, _extractAccessContext.extractRequestAccessContextImproved)({
|
|
138
|
+
jsonLd: cardMetadata,
|
|
139
|
+
url: url,
|
|
140
|
+
product: (_providerForbidden$te = providerForbidden === null || providerForbidden === void 0 ? void 0 : providerForbidden.text) !== null && _providerForbidden$te !== void 0 ? _providerForbidden$te : ''
|
|
141
|
+
}) : (0, _context.extractRequestAccessContext)({
|
|
136
142
|
jsonLd: cardMetadata,
|
|
137
143
|
url: url,
|
|
138
144
|
context: providerForbidden === null || providerForbidden === void 0 ? void 0 : providerForbidden.text
|
|
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export const context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "26.34.
|
|
7
|
+
packageVersion: "26.34.3"
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -8,7 +8,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
8
8
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
9
9
|
const PACKAGE_DATA = {
|
|
10
10
|
packageName: "@atlaskit/smart-card",
|
|
11
|
-
packageVersion: "26.34.
|
|
11
|
+
packageVersion: "26.34.3",
|
|
12
12
|
componentName: 'linkUrl'
|
|
13
13
|
};
|
|
14
14
|
const Link = withLinkClickedEvent('a');
|
|
@@ -48,10 +48,13 @@ export class InlineCardForbiddenView extends React.Component {
|
|
|
48
48
|
const {
|
|
49
49
|
callToActionMessageKey
|
|
50
50
|
} = this.props.requestAccessContext;
|
|
51
|
+
const values = getBooleanFF('platform.linking-platform.smart-card.cross-join') ? {
|
|
52
|
+
product: this.props.context
|
|
53
|
+
} : {
|
|
54
|
+
context: this.props.context
|
|
55
|
+
};
|
|
51
56
|
return /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages[callToActionMessageKey], {
|
|
52
|
-
values:
|
|
53
|
-
context: this.props.context
|
|
54
|
-
}
|
|
57
|
+
values: values
|
|
55
58
|
}));
|
|
56
59
|
}
|
|
57
60
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormattedMessage, messages.invalid_permissions, formattedMessage => {
|
|
@@ -59,17 +62,21 @@ export class InlineCardForbiddenView extends React.Component {
|
|
|
59
62
|
}));
|
|
60
63
|
});
|
|
61
64
|
_defineProperty(this, "renderActionButton", () => {
|
|
65
|
+
var _this$props$requestAc2;
|
|
62
66
|
const {
|
|
63
67
|
onAuthorise
|
|
64
68
|
} = this.props;
|
|
65
69
|
const ActionButton = withFrameStyleControl(Button, this.frameRef);
|
|
70
|
+
const accessType = (_this$props$requestAc2 = this.props.requestAccessContext) === null || _this$props$requestAc2 === void 0 ? void 0 : _this$props$requestAc2.accessType;
|
|
71
|
+
const isButtonDisabled = getBooleanFF('platform.linking-platform.smart-card.cross-join') && accessType === 'PENDING_REQUEST_EXISTS';
|
|
66
72
|
if (this.state.hasRequestAccessContextMessage) {
|
|
67
73
|
return /*#__PURE__*/React.createElement(ActionButton, {
|
|
68
74
|
spacing: "none",
|
|
69
75
|
onClick: this.handleRetry,
|
|
70
76
|
component: IconStyledButton,
|
|
71
77
|
testId: "button-connect-other-account",
|
|
72
|
-
role: "button"
|
|
78
|
+
role: "button",
|
|
79
|
+
isDisabled: isButtonDisabled
|
|
73
80
|
}, this.renderForbiddenAccessMessage());
|
|
74
81
|
}
|
|
75
82
|
if (onAuthorise) {
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { getEmptyJsonLd, getForbiddenJsonLd } from '../../utils/jsonld';
|
|
4
4
|
import { extractInlineProps } from '../../extractors/inline';
|
|
5
5
|
import { extractRequestAccessContext } from '../../extractors/common/context';
|
|
6
|
+
import { extractRequestAccessContextImproved } from '../../extractors/common/context/extractAccessContext';
|
|
6
7
|
import { CardLinkView } from '../LinkView';
|
|
7
8
|
import { InlineCardErroredView } from './ErroredView';
|
|
8
9
|
import { InlineCardForbiddenView } from './ForbiddenView';
|
|
@@ -12,6 +13,7 @@ import { InlineCardUnauthorizedView } from './UnauthorisedView';
|
|
|
12
13
|
import { extractProvider } from '@atlaskit/link-extractors';
|
|
13
14
|
import { useFeatureFlag } from '@atlaskit/link-provider';
|
|
14
15
|
import { getExtensionKey } from '../../state/helpers';
|
|
16
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
15
17
|
export { InlineCardResolvedView, InlineCardResolvingView, InlineCardErroredView, InlineCardForbiddenView, InlineCardUnauthorizedView };
|
|
16
18
|
export const InlineCard = ({
|
|
17
19
|
analytics,
|
|
@@ -30,7 +32,7 @@ export const InlineCard = ({
|
|
|
30
32
|
showAuthTooltip,
|
|
31
33
|
showServerActions
|
|
32
34
|
}) => {
|
|
33
|
-
var _details$meta;
|
|
35
|
+
var _details$meta, _providerForbidden$te;
|
|
34
36
|
const {
|
|
35
37
|
status,
|
|
36
38
|
details
|
|
@@ -99,7 +101,11 @@ export const InlineCard = ({
|
|
|
99
101
|
}
|
|
100
102
|
const providerForbidden = extractProvider(cardDetails);
|
|
101
103
|
const cardMetadata = (_details$meta = details === null || details === void 0 ? void 0 : details.meta) !== null && _details$meta !== void 0 ? _details$meta : getForbiddenJsonLd().meta;
|
|
102
|
-
const requestAccessContext =
|
|
104
|
+
const requestAccessContext = getBooleanFF('platform.linking-platform.smart-card.cross-join') ? extractRequestAccessContextImproved({
|
|
105
|
+
jsonLd: cardMetadata,
|
|
106
|
+
url,
|
|
107
|
+
product: (_providerForbidden$te = providerForbidden === null || providerForbidden === void 0 ? void 0 : providerForbidden.text) !== null && _providerForbidden$te !== void 0 ? _providerForbidden$te : ''
|
|
108
|
+
}) : extractRequestAccessContext({
|
|
103
109
|
jsonLd: cardMetadata,
|
|
104
110
|
url,
|
|
105
111
|
context: providerForbidden === null || providerForbidden === void 0 ? void 0 : providerForbidden.text
|
|
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
15
15
|
export var context = {
|
|
16
16
|
componentName: 'smart-cards',
|
|
17
17
|
packageName: "@atlaskit/smart-card",
|
|
18
|
-
packageVersion: "26.34.
|
|
18
|
+
packageVersion: "26.34.3"
|
|
19
19
|
};
|
|
20
20
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
21
21
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -11,7 +11,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
11
11
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
var PACKAGE_DATA = {
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "26.34.
|
|
14
|
+
packageVersion: "26.34.3",
|
|
15
15
|
componentName: 'linkUrl'
|
|
16
16
|
};
|
|
17
17
|
var Link = withLinkClickedEvent('a');
|
|
@@ -59,10 +59,13 @@ export var InlineCardForbiddenView = /*#__PURE__*/function (_React$Component) {
|
|
|
59
59
|
var _this$props3;
|
|
60
60
|
if ((_this$props3 = _this.props) !== null && _this$props3 !== void 0 && (_this$props3 = _this$props3.requestAccessContext) !== null && _this$props3 !== void 0 && _this$props3.callToActionMessageKey) {
|
|
61
61
|
var callToActionMessageKey = _this.props.requestAccessContext.callToActionMessageKey;
|
|
62
|
+
var values = getBooleanFF('platform.linking-platform.smart-card.cross-join') ? {
|
|
63
|
+
product: _this.props.context
|
|
64
|
+
} : {
|
|
65
|
+
context: _this.props.context
|
|
66
|
+
};
|
|
62
67
|
return /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages[callToActionMessageKey], {
|
|
63
|
-
values:
|
|
64
|
-
context: _this.props.context
|
|
65
|
-
}
|
|
68
|
+
values: values
|
|
66
69
|
}));
|
|
67
70
|
}
|
|
68
71
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormattedMessage, messages.invalid_permissions, function (formattedMessage) {
|
|
@@ -70,15 +73,19 @@ export var InlineCardForbiddenView = /*#__PURE__*/function (_React$Component) {
|
|
|
70
73
|
}));
|
|
71
74
|
});
|
|
72
75
|
_defineProperty(_assertThisInitialized(_this), "renderActionButton", function () {
|
|
76
|
+
var _this$props$requestAc;
|
|
73
77
|
var onAuthorise = _this.props.onAuthorise;
|
|
74
78
|
var ActionButton = withFrameStyleControl(Button, _this.frameRef);
|
|
79
|
+
var accessType = (_this$props$requestAc = _this.props.requestAccessContext) === null || _this$props$requestAc === void 0 ? void 0 : _this$props$requestAc.accessType;
|
|
80
|
+
var isButtonDisabled = getBooleanFF('platform.linking-platform.smart-card.cross-join') && accessType === 'PENDING_REQUEST_EXISTS';
|
|
75
81
|
if (_this.state.hasRequestAccessContextMessage) {
|
|
76
82
|
return /*#__PURE__*/React.createElement(ActionButton, {
|
|
77
83
|
spacing: "none",
|
|
78
84
|
onClick: _this.handleRetry,
|
|
79
85
|
component: IconStyledButton,
|
|
80
86
|
testId: "button-connect-other-account",
|
|
81
|
-
role: "button"
|
|
87
|
+
role: "button",
|
|
88
|
+
isDisabled: isButtonDisabled
|
|
82
89
|
}, _this.renderForbiddenAccessMessage());
|
|
83
90
|
}
|
|
84
91
|
if (onAuthorise) {
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { getEmptyJsonLd, getForbiddenJsonLd } from '../../utils/jsonld';
|
|
4
4
|
import { extractInlineProps } from '../../extractors/inline';
|
|
5
5
|
import { extractRequestAccessContext } from '../../extractors/common/context';
|
|
6
|
+
import { extractRequestAccessContextImproved } from '../../extractors/common/context/extractAccessContext';
|
|
6
7
|
import { CardLinkView } from '../LinkView';
|
|
7
8
|
import { InlineCardErroredView } from './ErroredView';
|
|
8
9
|
import { InlineCardForbiddenView } from './ForbiddenView';
|
|
@@ -12,9 +13,10 @@ import { InlineCardUnauthorizedView } from './UnauthorisedView';
|
|
|
12
13
|
import { extractProvider } from '@atlaskit/link-extractors';
|
|
13
14
|
import { useFeatureFlag } from '@atlaskit/link-provider';
|
|
14
15
|
import { getExtensionKey } from '../../state/helpers';
|
|
16
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
15
17
|
export { InlineCardResolvedView, InlineCardResolvingView, InlineCardErroredView, InlineCardForbiddenView, InlineCardUnauthorizedView };
|
|
16
18
|
export var InlineCard = function InlineCard(_ref) {
|
|
17
|
-
var _details$meta;
|
|
19
|
+
var _details$meta, _providerForbidden$te;
|
|
18
20
|
var analytics = _ref.analytics,
|
|
19
21
|
id = _ref.id,
|
|
20
22
|
url = _ref.url,
|
|
@@ -96,7 +98,11 @@ export var InlineCard = function InlineCard(_ref) {
|
|
|
96
98
|
}
|
|
97
99
|
var providerForbidden = extractProvider(cardDetails);
|
|
98
100
|
var cardMetadata = (_details$meta = details === null || details === void 0 ? void 0 : details.meta) !== null && _details$meta !== void 0 ? _details$meta : getForbiddenJsonLd().meta;
|
|
99
|
-
var requestAccessContext =
|
|
101
|
+
var requestAccessContext = getBooleanFF('platform.linking-platform.smart-card.cross-join') ? extractRequestAccessContextImproved({
|
|
102
|
+
jsonLd: cardMetadata,
|
|
103
|
+
url: url,
|
|
104
|
+
product: (_providerForbidden$te = providerForbidden === null || providerForbidden === void 0 ? void 0 : providerForbidden.text) !== null && _providerForbidden$te !== void 0 ? _providerForbidden$te : ''
|
|
105
|
+
}) : extractRequestAccessContext({
|
|
100
106
|
jsonLd: cardMetadata,
|
|
101
107
|
url: url,
|
|
102
108
|
context: providerForbidden === null || providerForbidden === void 0 ? void 0 : providerForbidden.text
|
package/package.json
CHANGED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
meta: {
|
|
3
|
-
visibility: string;
|
|
4
|
-
access: string;
|
|
5
|
-
resourceType: string;
|
|
6
|
-
key: string;
|
|
7
|
-
};
|
|
8
|
-
data: {
|
|
9
|
-
'@id': string;
|
|
10
|
-
'@context': {
|
|
11
|
-
'@vocab': string;
|
|
12
|
-
atlassian: string;
|
|
13
|
-
schema: string;
|
|
14
|
-
};
|
|
15
|
-
'@type': string[];
|
|
16
|
-
url: string;
|
|
17
|
-
attributedTo: {
|
|
18
|
-
'@type': string;
|
|
19
|
-
name: string;
|
|
20
|
-
icon: string;
|
|
21
|
-
};
|
|
22
|
-
'schema:dateCreated': string;
|
|
23
|
-
generator: {
|
|
24
|
-
'@type': string;
|
|
25
|
-
name: string;
|
|
26
|
-
icon: {
|
|
27
|
-
'@type': string;
|
|
28
|
-
url: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
icon: {
|
|
32
|
-
'@type': string;
|
|
33
|
-
url: string;
|
|
34
|
-
};
|
|
35
|
-
name: string;
|
|
36
|
-
summary: string;
|
|
37
|
-
'atlassian:mergeSource': {
|
|
38
|
-
'@type': string;
|
|
39
|
-
href: string;
|
|
40
|
-
name: string;
|
|
41
|
-
};
|
|
42
|
-
'atlassian:mergeDestination': {
|
|
43
|
-
'@type': string;
|
|
44
|
-
href: string;
|
|
45
|
-
name: string;
|
|
46
|
-
};
|
|
47
|
-
updated: string;
|
|
48
|
-
'atlassian:internalId': string;
|
|
49
|
-
'atlassian:isMerged': boolean;
|
|
50
|
-
'atlassian:state': string;
|
|
51
|
-
'atlassian:reviewer': {
|
|
52
|
-
'@type': string;
|
|
53
|
-
name: string;
|
|
54
|
-
icon: string;
|
|
55
|
-
}[];
|
|
56
|
-
'atlassian:updatedBy': {
|
|
57
|
-
'@type': string;
|
|
58
|
-
name: string;
|
|
59
|
-
icon: string;
|
|
60
|
-
};
|
|
61
|
-
audience: {
|
|
62
|
-
'@type': string;
|
|
63
|
-
name: string;
|
|
64
|
-
icon: string;
|
|
65
|
-
}[];
|
|
66
|
-
context: {
|
|
67
|
-
'@type': string;
|
|
68
|
-
name: string;
|
|
69
|
-
url: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
export default _default;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
meta: {
|
|
3
|
-
auth: never[];
|
|
4
|
-
definitionId: string;
|
|
5
|
-
visibility: string;
|
|
6
|
-
access: string;
|
|
7
|
-
resourceType: string;
|
|
8
|
-
key: string;
|
|
9
|
-
};
|
|
10
|
-
data: {
|
|
11
|
-
'@context': {
|
|
12
|
-
'@vocab': string;
|
|
13
|
-
atlassian: string;
|
|
14
|
-
schema: string;
|
|
15
|
-
};
|
|
16
|
-
generator: {
|
|
17
|
-
'@type': string;
|
|
18
|
-
'@id': string;
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
'@type': string[];
|
|
22
|
-
url: string;
|
|
23
|
-
name: string;
|
|
24
|
-
'atlassian:state': string;
|
|
25
|
-
summary: string;
|
|
26
|
-
'schema:commentCount': number;
|
|
27
|
-
'atlassian:subscriberCount': number;
|
|
28
|
-
'atlassian:titlePrefix': {
|
|
29
|
-
text: string;
|
|
30
|
-
'@type': string;
|
|
31
|
-
};
|
|
32
|
-
'atlassian:attributedTo': {
|
|
33
|
-
'@type': string;
|
|
34
|
-
name: string;
|
|
35
|
-
icon: string;
|
|
36
|
-
};
|
|
37
|
-
'atlassian:ownedBy': {
|
|
38
|
-
'@type': string;
|
|
39
|
-
name: string;
|
|
40
|
-
icon: string;
|
|
41
|
-
};
|
|
42
|
-
preview: {
|
|
43
|
-
'@type': string;
|
|
44
|
-
href: string;
|
|
45
|
-
'atlassian:supportedPlatforms': string[];
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export default _default;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
meta: {
|
|
3
|
-
auth: never[];
|
|
4
|
-
definitionId: string;
|
|
5
|
-
visibility: string;
|
|
6
|
-
access: string;
|
|
7
|
-
resourceType: string;
|
|
8
|
-
key: string;
|
|
9
|
-
};
|
|
10
|
-
data: {
|
|
11
|
-
'@context': {
|
|
12
|
-
'@vocab': string;
|
|
13
|
-
atlassian: string;
|
|
14
|
-
schema: string;
|
|
15
|
-
};
|
|
16
|
-
generator: {
|
|
17
|
-
'@type': string;
|
|
18
|
-
'@id': string;
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
'@type': string[];
|
|
22
|
-
url: string;
|
|
23
|
-
name: string;
|
|
24
|
-
'atlassian:state': string;
|
|
25
|
-
summary: string;
|
|
26
|
-
'schema:commentCount': number;
|
|
27
|
-
'atlassian:subscriberCount': number;
|
|
28
|
-
'atlassian:titlePrefix': {
|
|
29
|
-
text: string;
|
|
30
|
-
'@type': string;
|
|
31
|
-
};
|
|
32
|
-
'atlassian:attributedTo': {
|
|
33
|
-
'@type': string;
|
|
34
|
-
name: string;
|
|
35
|
-
icon: string;
|
|
36
|
-
};
|
|
37
|
-
'atlassian:ownedBy': {
|
|
38
|
-
'@type': string;
|
|
39
|
-
name: string;
|
|
40
|
-
icon: string;
|
|
41
|
-
};
|
|
42
|
-
preview: {
|
|
43
|
-
'@type': string;
|
|
44
|
-
href: string;
|
|
45
|
-
'atlassian:supportedPlatforms': string[];
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
meta: {
|
|
3
|
-
auth: never[];
|
|
4
|
-
definitionId: string;
|
|
5
|
-
visibility: string;
|
|
6
|
-
access: string;
|
|
7
|
-
resourceType: string;
|
|
8
|
-
key: string;
|
|
9
|
-
};
|
|
10
|
-
data: {
|
|
11
|
-
'@context': {
|
|
12
|
-
'@vocab': string;
|
|
13
|
-
atlassian: string;
|
|
14
|
-
schema: string;
|
|
15
|
-
};
|
|
16
|
-
generator: {
|
|
17
|
-
'@type': string;
|
|
18
|
-
'@id': string;
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
'@type': string[];
|
|
22
|
-
url: string;
|
|
23
|
-
icon: {
|
|
24
|
-
'@type': string;
|
|
25
|
-
url: string;
|
|
26
|
-
};
|
|
27
|
-
name: string;
|
|
28
|
-
'atlassian:state': string;
|
|
29
|
-
summary: string;
|
|
30
|
-
'atlassian:titlePrefix': {
|
|
31
|
-
text: string;
|
|
32
|
-
'@type': string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export default _default;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
data: {
|
|
3
|
-
'@context': {
|
|
4
|
-
'@vocab': string;
|
|
5
|
-
atlassian: string;
|
|
6
|
-
schema: string;
|
|
7
|
-
};
|
|
8
|
-
'@type': string[];
|
|
9
|
-
generator: {
|
|
10
|
-
'@id': string;
|
|
11
|
-
'@type': string;
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
icon: undefined;
|
|
15
|
-
name: string;
|
|
16
|
-
summary: string;
|
|
17
|
-
'atlassian:titlePrefix': {
|
|
18
|
-
'@type': string;
|
|
19
|
-
text: string;
|
|
20
|
-
};
|
|
21
|
-
url: string;
|
|
22
|
-
};
|
|
23
|
-
meta: {
|
|
24
|
-
access: string;
|
|
25
|
-
auth: never[];
|
|
26
|
-
definitionId: string;
|
|
27
|
-
resourceType: string;
|
|
28
|
-
visibility: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export default _default;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
meta: {
|
|
3
|
-
access: string;
|
|
4
|
-
visibility: string;
|
|
5
|
-
auth: {
|
|
6
|
-
key: string;
|
|
7
|
-
displayName: string;
|
|
8
|
-
url: string;
|
|
9
|
-
}[];
|
|
10
|
-
definitionId: string;
|
|
11
|
-
key: string;
|
|
12
|
-
resourceType: string;
|
|
13
|
-
version: string;
|
|
14
|
-
};
|
|
15
|
-
data: {
|
|
16
|
-
url: string;
|
|
17
|
-
'@context': {
|
|
18
|
-
'@vocab': string;
|
|
19
|
-
atlassian: string;
|
|
20
|
-
schema: string;
|
|
21
|
-
};
|
|
22
|
-
'@type': string;
|
|
23
|
-
name: string;
|
|
24
|
-
updated: string;
|
|
25
|
-
image: {
|
|
26
|
-
'@type': string;
|
|
27
|
-
url: string;
|
|
28
|
-
};
|
|
29
|
-
generator: {
|
|
30
|
-
'@type': string;
|
|
31
|
-
name: string;
|
|
32
|
-
icon: {
|
|
33
|
-
'@type': string;
|
|
34
|
-
url: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
preview: {
|
|
38
|
-
'@type': string;
|
|
39
|
-
href: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export default _default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
meta: {
|
|
3
|
-
auth: never[];
|
|
4
|
-
definitionId: string;
|
|
5
|
-
visibility: string;
|
|
6
|
-
access: string;
|
|
7
|
-
resourceType: string;
|
|
8
|
-
key: string;
|
|
9
|
-
};
|
|
10
|
-
data: {
|
|
11
|
-
'@context': {
|
|
12
|
-
'@vocab': string;
|
|
13
|
-
atlassian: string;
|
|
14
|
-
schema: string;
|
|
15
|
-
};
|
|
16
|
-
generator: {
|
|
17
|
-
'@type': string;
|
|
18
|
-
'@id': string;
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
'@type': string[];
|
|
22
|
-
url: string;
|
|
23
|
-
name: string;
|
|
24
|
-
summary: string;
|
|
25
|
-
icon: {
|
|
26
|
-
'@type': string;
|
|
27
|
-
url: string;
|
|
28
|
-
};
|
|
29
|
-
preview: {
|
|
30
|
-
href: string;
|
|
31
|
-
'atlassian:supportedPlatforms': string[];
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export default _default;
|