@atlaskit/smart-card 26.42.9 → 26.42.11
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 +2 -1
- package/dist/cjs/messages.js +7 -2
- package/dist/cjs/state/helpers.js +4 -1
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/components/Action.js +5 -8
- package/dist/cjs/view/BlockCard/components/ActionList.js +9 -11
- package/dist/cjs/view/BlockCard/components/CollaboratorList.js +2 -5
- package/dist/cjs/view/BlockCard/components/Content.js +1 -4
- package/dist/cjs/view/BlockCard/components/ContentFooter.js +1 -4
- package/dist/cjs/view/BlockCard/components/ContentHeader.js +1 -4
- package/dist/cjs/view/BlockCard/components/Emoji.js +2 -5
- package/dist/cjs/view/BlockCard/components/Frame.js +5 -6
- package/dist/cjs/view/BlockCard/components/Link.js +1 -4
- package/dist/cjs/view/BlockCard/components/Name.js +1 -4
- package/dist/cjs/view/BlockCard/components/Provider.js +3 -6
- package/dist/cjs/view/BlockCard/components/Thumbnail.js +5 -6
- package/dist/cjs/view/BlockCard/components/UnresolvedText.js +1 -4
- package/dist/cjs/view/BlockCard/index.js +16 -19
- package/dist/cjs/view/BlockCard/views/ErroredView.js +11 -12
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +9 -12
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +10 -11
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +13 -16
- package/dist/cjs/view/BlockCard/views/ResolvingView.js +4 -7
- package/dist/cjs/view/BlockCard/views/UnauthorizedView.js +9 -10
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +7 -6
- package/dist/cjs/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.js +2 -5
- package/dist/cjs/view/CardWithData/component.js +1 -1
- package/dist/cjs/view/CardWithUrl/component.js +2 -2
- package/dist/cjs/view/EmbedCard/components/Frame.js +12 -15
- package/dist/cjs/view/EmbedCard/components/IframeDwellTracker.js +0 -2
- package/dist/cjs/view/EmbedCard/index.js +4 -1
- package/dist/cjs/view/EmbedCard/views/ErroredView.js +5 -8
- package/dist/cjs/view/EmbedCard/views/ResolvedView.js +9 -12
- package/dist/cjs/view/EmbedCard/views/UnauthorisedView.js +4 -2
- package/dist/cjs/view/EmbedCard/views/UnresolvedView.js +8 -10
- package/dist/cjs/view/EmbedCard/views/unauthorized-view/index.js +4 -2
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +11 -14
- package/dist/cjs/view/EmbedModal/components/embed-content/index.js +1 -2
- package/dist/cjs/view/EmbedModal/components/link-info/index.js +24 -27
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.js +4 -5
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +3 -6
- package/dist/cjs/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +3 -5
- package/dist/cjs/view/FlexibleCard/components/blocks/action-group/index.js +8 -9
- package/dist/cjs/view/FlexibleCard/components/blocks/block/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/index.js +1 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +2 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +2 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +2 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.js +5 -6
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.js +3 -5
- package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +3 -6
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/container/index.js +3 -4
- package/dist/cjs/view/FlexibleCard/components/container/layered-link/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/elements/atlaskit-badge/index.js +2 -3
- package/dist/cjs/view/FlexibleCard/components/elements/avatar-group/index.js +2 -3
- package/dist/cjs/view/FlexibleCard/components/elements/badge/index.js +5 -6
- package/dist/cjs/view/FlexibleCard/components/elements/date-time/index.js +2 -3
- package/dist/cjs/view/FlexibleCard/components/elements/icon/index.js +4 -5
- package/dist/cjs/view/FlexibleCard/components/elements/link/index.js +3 -4
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/index.js +3 -4
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/index.js +7 -10
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.js +22 -34
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +13 -14
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.js +31 -0
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +10 -12
- package/dist/cjs/view/FlexibleCard/components/elements/media/index.js +2 -3
- package/dist/cjs/view/FlexibleCard/components/elements/preview/index.js +1 -3
- package/dist/cjs/view/FlexibleCard/components/elements/snippet-element/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/elements/text/index.js +1 -2
- package/dist/cjs/view/HoverCard/components/CustomPopupContainer.js +1 -3
- package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +26 -29
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +16 -19
- package/dist/cjs/view/HoverCard/components/views/resolving/index.js +12 -15
- package/dist/cjs/view/HoverCard/components/views/unauthorised/index.js +3 -0
- package/dist/cjs/view/HoverCard/index.js +6 -9
- package/dist/cjs/view/InlineCard/types.js +5 -0
- package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/utils/withFrameStyleControl.js +1 -0
- package/dist/cjs/view/LinkUrl/LinkWarningModal/index.js +9 -12
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/LinkView/index.js +1 -1
- package/dist/cjs/view/common/Byline.js +1 -4
- package/dist/cjs/view/common/Icon.js +4 -5
- package/dist/cjs/view/common/Metadata.js +4 -7
- package/dist/cjs/view/common/MetadataList.js +2 -5
- package/dist/cjs/view/common/UnauthorisedViewContent.js +4 -2
- package/dist/es2019/constants.js +1 -0
- package/dist/es2019/messages.js +7 -2
- package/dist/es2019/state/helpers.js +2 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/components/Action.js +3 -5
- package/dist/es2019/view/BlockCard/components/ActionList.js +8 -10
- package/dist/es2019/view/BlockCard/components/CollaboratorList.js +2 -4
- package/dist/es2019/view/BlockCard/components/Content.js +1 -3
- package/dist/es2019/view/BlockCard/components/ContentFooter.js +1 -3
- package/dist/es2019/view/BlockCard/components/ContentHeader.js +1 -3
- package/dist/es2019/view/BlockCard/components/Emoji.js +1 -3
- package/dist/es2019/view/BlockCard/components/Frame.js +3 -5
- package/dist/es2019/view/BlockCard/components/Link.js +1 -3
- package/dist/es2019/view/BlockCard/components/Name.js +1 -3
- package/dist/es2019/view/BlockCard/components/Provider.js +3 -5
- package/dist/es2019/view/BlockCard/components/Thumbnail.js +4 -6
- package/dist/es2019/view/BlockCard/components/UnresolvedText.js +1 -3
- package/dist/es2019/view/BlockCard/index.js +16 -19
- package/dist/es2019/view/BlockCard/views/ErroredView.js +8 -10
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +9 -11
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +8 -10
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +13 -15
- package/dist/es2019/view/BlockCard/views/ResolvingView.js +4 -6
- package/dist/es2019/view/BlockCard/views/UnauthorizedView.js +8 -10
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +9 -8
- package/dist/es2019/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.js +2 -4
- package/dist/es2019/view/CardWithData/component.js +1 -1
- package/dist/es2019/view/CardWithUrl/component.js +2 -2
- package/dist/es2019/view/EmbedCard/components/Frame.js +2 -4
- package/dist/es2019/view/EmbedCard/components/IframeDwellTracker.js +0 -1
- package/dist/es2019/view/EmbedCard/index.js +5 -2
- package/dist/es2019/view/EmbedCard/views/ErroredView.js +5 -7
- package/dist/es2019/view/EmbedCard/views/ResolvedView.js +4 -6
- package/dist/es2019/view/EmbedCard/views/UnauthorisedView.js +4 -2
- package/dist/es2019/view/EmbedCard/views/UnresolvedView.js +9 -10
- package/dist/es2019/view/EmbedCard/views/unauthorized-view/index.js +3 -1
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +8 -10
- package/dist/es2019/view/EmbedModal/components/embed-content/index.js +2 -4
- package/dist/es2019/view/EmbedModal/components/link-info/index.js +20 -22
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +5 -6
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +2 -3
- package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +3 -5
- package/dist/es2019/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +1 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/action-group/index.js +9 -10
- package/dist/es2019/view/FlexibleCard/components/blocks/block/index.js +2 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.js +2 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/index.js +1 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +3 -4
- package/dist/es2019/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +2 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +2 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.js +6 -7
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.js +3 -5
- package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +3 -5
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.js +2 -3
- package/dist/es2019/view/FlexibleCard/components/container/index.js +4 -5
- package/dist/es2019/view/FlexibleCard/components/container/layered-link/index.js +2 -3
- package/dist/es2019/view/FlexibleCard/components/elements/atlaskit-badge/index.js +3 -4
- package/dist/es2019/view/FlexibleCard/components/elements/avatar-group/index.js +3 -4
- package/dist/es2019/view/FlexibleCard/components/elements/badge/index.js +6 -7
- package/dist/es2019/view/FlexibleCard/components/elements/date-time/index.js +3 -4
- package/dist/es2019/view/FlexibleCard/components/elements/icon/index.js +5 -6
- package/dist/es2019/view/FlexibleCard/components/elements/link/index.js +4 -5
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/index.js +4 -5
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/index.js +1 -3
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.js +10 -16
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +8 -10
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.js +20 -0
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +5 -7
- package/dist/es2019/view/FlexibleCard/components/elements/media/index.js +3 -4
- package/dist/es2019/view/FlexibleCard/components/elements/preview/index.js +1 -3
- package/dist/es2019/view/FlexibleCard/components/elements/snippet-element/index.js +2 -3
- package/dist/es2019/view/FlexibleCard/components/elements/text/index.js +2 -3
- package/dist/es2019/view/HoverCard/components/CustomPopupContainer.js +1 -3
- package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +5 -7
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +7 -9
- package/dist/es2019/view/HoverCard/components/views/resolving/index.js +11 -13
- package/dist/es2019/view/HoverCard/components/views/unauthorised/index.js +3 -0
- package/dist/es2019/view/HoverCard/index.js +4 -6
- package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/utils/withFrameStyleControl.js +1 -0
- package/dist/es2019/view/LinkUrl/LinkWarningModal/index.js +9 -11
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/LinkView/index.js +1 -1
- package/dist/es2019/view/common/Byline.js +1 -3
- package/dist/es2019/view/common/Icon.js +5 -6
- package/dist/es2019/view/common/Metadata.js +4 -6
- package/dist/es2019/view/common/MetadataList.js +2 -4
- package/dist/es2019/view/common/UnauthorisedViewContent.js +5 -3
- package/dist/esm/constants.js +1 -0
- package/dist/esm/messages.js +7 -2
- package/dist/esm/state/helpers.js +3 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/components/Action.js +3 -5
- package/dist/esm/view/BlockCard/components/ActionList.js +9 -11
- package/dist/esm/view/BlockCard/components/CollaboratorList.js +2 -4
- package/dist/esm/view/BlockCard/components/Content.js +1 -3
- package/dist/esm/view/BlockCard/components/ContentFooter.js +1 -3
- package/dist/esm/view/BlockCard/components/ContentHeader.js +1 -3
- package/dist/esm/view/BlockCard/components/Emoji.js +1 -3
- package/dist/esm/view/BlockCard/components/Frame.js +3 -5
- package/dist/esm/view/BlockCard/components/Link.js +1 -3
- package/dist/esm/view/BlockCard/components/Name.js +1 -3
- package/dist/esm/view/BlockCard/components/Provider.js +3 -5
- package/dist/esm/view/BlockCard/components/Thumbnail.js +4 -6
- package/dist/esm/view/BlockCard/components/UnresolvedText.js +1 -3
- package/dist/esm/view/BlockCard/index.js +16 -19
- package/dist/esm/view/BlockCard/views/ErroredView.js +8 -10
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +9 -11
- package/dist/esm/view/BlockCard/views/NotFoundView.js +8 -10
- package/dist/esm/view/BlockCard/views/ResolvedView.js +13 -15
- package/dist/esm/view/BlockCard/views/ResolvingView.js +4 -6
- package/dist/esm/view/BlockCard/views/UnauthorizedView.js +8 -10
- package/dist/esm/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +9 -8
- package/dist/esm/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.js +2 -4
- package/dist/esm/view/CardWithData/component.js +1 -1
- package/dist/esm/view/CardWithUrl/component.js +2 -2
- package/dist/esm/view/EmbedCard/components/Frame.js +2 -4
- package/dist/esm/view/EmbedCard/components/IframeDwellTracker.js +0 -1
- package/dist/esm/view/EmbedCard/index.js +5 -2
- package/dist/esm/view/EmbedCard/views/ErroredView.js +5 -7
- package/dist/esm/view/EmbedCard/views/ResolvedView.js +4 -6
- package/dist/esm/view/EmbedCard/views/UnauthorisedView.js +4 -2
- package/dist/esm/view/EmbedCard/views/UnresolvedView.js +9 -10
- package/dist/esm/view/EmbedCard/views/unauthorized-view/index.js +4 -2
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +8 -10
- package/dist/esm/view/EmbedModal/components/embed-content/index.js +2 -4
- package/dist/esm/view/EmbedModal/components/link-info/index.js +20 -22
- package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +5 -6
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +2 -3
- package/dist/esm/view/FlexibleCard/components/actions/action/index.js +3 -5
- package/dist/esm/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +1 -3
- package/dist/esm/view/FlexibleCard/components/blocks/action-group/index.js +9 -10
- package/dist/esm/view/FlexibleCard/components/blocks/block/index.js +2 -3
- package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.js +2 -3
- package/dist/esm/view/FlexibleCard/components/blocks/preview-block/index.js +1 -3
- package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +3 -4
- package/dist/esm/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +2 -0
- package/dist/esm/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +2 -0
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.js +6 -7
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.js +3 -5
- package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +3 -5
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.js +2 -3
- package/dist/esm/view/FlexibleCard/components/container/index.js +4 -5
- package/dist/esm/view/FlexibleCard/components/container/layered-link/index.js +2 -3
- package/dist/esm/view/FlexibleCard/components/elements/atlaskit-badge/index.js +3 -4
- package/dist/esm/view/FlexibleCard/components/elements/avatar-group/index.js +3 -4
- package/dist/esm/view/FlexibleCard/components/elements/badge/index.js +6 -7
- package/dist/esm/view/FlexibleCard/components/elements/date-time/index.js +3 -4
- package/dist/esm/view/FlexibleCard/components/elements/icon/index.js +5 -6
- package/dist/esm/view/FlexibleCard/components/elements/link/index.js +4 -5
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/index.js +4 -5
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/feature-discovery/index.js +1 -3
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.js +10 -18
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +8 -10
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.js +24 -0
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/types.js +1 -0
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +5 -7
- package/dist/esm/view/FlexibleCard/components/elements/media/index.js +3 -4
- package/dist/esm/view/FlexibleCard/components/elements/preview/index.js +1 -3
- package/dist/esm/view/FlexibleCard/components/elements/snippet-element/index.js +2 -3
- package/dist/esm/view/FlexibleCard/components/elements/text/index.js +2 -3
- package/dist/esm/view/HoverCard/components/CustomPopupContainer.js +1 -3
- package/dist/esm/view/HoverCard/components/HoverCardComponent.js +5 -7
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +7 -9
- package/dist/esm/view/HoverCard/components/views/resolving/index.js +11 -13
- package/dist/esm/view/HoverCard/components/views/unauthorised/index.js +3 -0
- package/dist/esm/view/HoverCard/index.js +4 -6
- package/dist/esm/view/InlineCard/types.js +1 -0
- package/dist/esm/view/{RedesignedInlineCard → InlineCard}/utils/withFrameStyleControl.js +1 -0
- package/dist/esm/view/LinkUrl/LinkWarningModal/index.js +9 -11
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/LinkView/index.js +1 -1
- package/dist/esm/view/common/Byline.js +1 -3
- package/dist/esm/view/common/Icon.js +5 -6
- package/dist/esm/view/common/Metadata.js +4 -6
- package/dist/esm/view/common/MetadataList.js +2 -4
- package/dist/esm/view/common/UnauthorisedViewContent.js +5 -3
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/extractors/inline/index.d.ts +1 -1
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/state/helpers.d.ts +1 -0
- package/dist/types/view/EmbedCard/views/UnauthorisedView.d.ts +1 -0
- package/dist/types/view/EmbedCard/views/unauthorized-view/types.d.ts +1 -0
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.d.ts +4 -0
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/types.d.ts +7 -0
- package/dist/types/view/LinkView/index.d.ts +1 -1
- package/dist/types/view/common/UnauthorisedViewContent.d.ts +6 -1
- package/dist/types-ts4.5/constants.d.ts +1 -0
- package/dist/types-ts4.5/extractors/inline/index.d.ts +1 -1
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/dist/types-ts4.5/state/helpers.d.ts +1 -0
- package/dist/types-ts4.5/view/EmbedCard/views/UnauthorisedView.d.ts +1 -0
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/types.d.ts +1 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.d.ts +4 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/types.d.ts +7 -0
- package/dist/types-ts4.5/view/LinkView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +6 -1
- package/package.json +1 -1
- /package/dist/cjs/view/{RedesignedInlineCard → FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group}/types.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/ErroredView/index.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/ForbiddenView/index.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/Frame/index.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/Frame/styled.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/Icon.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/index.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/styled.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/ResolvedView/index.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/ResolvingView/index.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/ResolvingView/styled.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/UnauthorisedView/index.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/index.js +0 -0
- /package/dist/cjs/view/{RedesignedInlineCard → InlineCard}/styled.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group}/types.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/ErroredView/index.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/ForbiddenView/index.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/Frame/index.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/Frame/styled.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/Icon.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/index.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/styled.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/ResolvedView/index.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/ResolvingView/index.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/ResolvingView/styled.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/UnauthorisedView/index.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/index.js +0 -0
- /package/dist/es2019/view/{RedesignedInlineCard → InlineCard}/styled.js +0 -0
- /package/dist/{esm/view/RedesignedInlineCard → es2019/view/InlineCard}/types.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/ErroredView/index.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/ForbiddenView/index.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/Frame/index.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/Frame/styled.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/Icon.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/index.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/styled.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/ResolvedView/index.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/ResolvingView/index.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/ResolvingView/styled.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/UnauthorisedView/index.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/index.js +0 -0
- /package/dist/esm/view/{RedesignedInlineCard → InlineCard}/styled.js +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/ErroredView/index.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/ForbiddenView/index.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/Frame/index.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/Frame/styled.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/Icon.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/index.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/styled.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/ResolvedView/index.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/ResolvingView/index.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/ResolvingView/styled.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/UnauthorisedView/index.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/index.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/styled.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/types.d.ts +0 -0
- /package/dist/types/view/{RedesignedInlineCard → InlineCard}/utils/withFrameStyleControl.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/ErroredView/index.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/ForbiddenView/index.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/Frame/index.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/Frame/styled.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/Icon.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/index.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/IconAndTitleLayout/styled.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/ResolvedView/index.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/ResolvingView/index.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/ResolvingView/styled.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/UnauthorisedView/index.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/index.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/styled.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/types.d.ts +0 -0
- /package/dist/types-ts4.5/view/{RedesignedInlineCard → InlineCard}/utils/withFrameStyleControl.d.ts +0 -0
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
1
|
import Lozenge from '@atlaskit/lozenge';
|
|
4
2
|
import { Frame } from '../components/Frame';
|
|
5
3
|
import { Thumbnail } from '../components/Thumbnail';
|
|
@@ -54,11 +52,11 @@ export var ResolvedView = function ResolvedView(_ref) {
|
|
|
54
52
|
testId = _ref$testId === void 0 ? 'block-card-resolved-view' : _ref$testId,
|
|
55
53
|
_ref$showActions = _ref.showActions,
|
|
56
54
|
showActions = _ref$showActions === void 0 ? true : _ref$showActions;
|
|
57
|
-
var resolvedMetadata = details.length > 0 ?
|
|
55
|
+
var resolvedMetadata = details.length > 0 ? /*#__PURE__*/React.createElement(MetadataList, {
|
|
58
56
|
testId: testId ? "".concat(testId, "-meta") : undefined,
|
|
59
57
|
items: details
|
|
60
58
|
}) : undefined;
|
|
61
|
-
var resolvedByline =
|
|
59
|
+
var resolvedByline = /*#__PURE__*/React.createElement(Byline, {
|
|
62
60
|
testId: testId ? "".concat(testId, "-by") : undefined,
|
|
63
61
|
className: blockCardResolvedViewByClassName
|
|
64
62
|
}, byline);
|
|
@@ -66,44 +64,44 @@ export var ResolvedView = function ResolvedView(_ref) {
|
|
|
66
64
|
return handleClickCommon(event, onClick);
|
|
67
65
|
};
|
|
68
66
|
var hasActions = showActions && actions.length > 0;
|
|
69
|
-
return
|
|
67
|
+
return /*#__PURE__*/React.createElement(Frame, {
|
|
70
68
|
isSelected: isSelected,
|
|
71
69
|
testId: testId,
|
|
72
70
|
className: blockCardResolvedViewClassName
|
|
73
|
-
},
|
|
71
|
+
}, /*#__PURE__*/React.createElement(Content, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
74
72
|
css: {
|
|
75
73
|
display: 'flex',
|
|
76
74
|
justifyContent: 'space-between',
|
|
77
75
|
alignItems: 'flex-start'
|
|
78
76
|
}
|
|
79
|
-
},
|
|
77
|
+
}, /*#__PURE__*/React.createElement(ContentHeader, {
|
|
80
78
|
onClick: handleClick,
|
|
81
79
|
link: link
|
|
82
|
-
}, titlePrefix ?
|
|
80
|
+
}, titlePrefix ? /*#__PURE__*/React.createElement(Emoji, {
|
|
83
81
|
emoji: titlePrefix
|
|
84
|
-
}) :
|
|
82
|
+
}) : /*#__PURE__*/React.createElement(Icon, icon), /*#__PURE__*/React.createElement(Name, {
|
|
85
83
|
name: title,
|
|
86
84
|
textColor: titleTextColor
|
|
87
|
-
}), lozenge &&
|
|
85
|
+
}), lozenge && /*#__PURE__*/React.createElement(LozengeBlockWrapper, {
|
|
88
86
|
css: {
|
|
89
87
|
height: gs(2.5),
|
|
90
88
|
display: 'flex',
|
|
91
89
|
alignItems: 'center',
|
|
92
90
|
justifyContent: 'center'
|
|
93
91
|
}
|
|
94
|
-
},
|
|
92
|
+
}, /*#__PURE__*/React.createElement(Lozenge, lozenge, lozenge.text))), /*#__PURE__*/React.createElement(CollaboratorList, {
|
|
95
93
|
items: users,
|
|
96
94
|
handleAvatarClick: handleAvatarClick,
|
|
97
95
|
handleMoreAvatarsClick: handleMoreAvatarsClick,
|
|
98
96
|
testId: testId ? "".concat(testId, "-collaborator-list") : undefined
|
|
99
|
-
})), resolvedByline, resolvedMetadata),
|
|
97
|
+
})), resolvedByline, resolvedMetadata), /*#__PURE__*/React.createElement(ContentFooter, {
|
|
100
98
|
hasSpaceBetween: hasActions
|
|
101
|
-
},
|
|
99
|
+
}, /*#__PURE__*/React.createElement(Provider, {
|
|
102
100
|
name: context.text,
|
|
103
101
|
icon: context.icon
|
|
104
|
-
}), hasActions &&
|
|
102
|
+
}), hasActions && /*#__PURE__*/React.createElement(ActionList, {
|
|
105
103
|
items: actions
|
|
106
|
-
}))), thumbnail ?
|
|
104
|
+
}))), thumbnail ? /*#__PURE__*/React.createElement(Thumbnail, {
|
|
107
105
|
src: thumbnail,
|
|
108
106
|
testId: testId ? "".concat(testId, "-thumb") : undefined
|
|
109
107
|
}) : null);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
1
|
import DocumentFilledIcon from '@atlaskit/icon/glyph/document-filled';
|
|
4
2
|
import { N50, N90 } from '@atlaskit/theme/colors';
|
|
5
3
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
@@ -14,21 +12,21 @@ export var ResolvingView = function ResolvingView(_ref) {
|
|
|
14
12
|
_ref$testId = _ref.testId,
|
|
15
13
|
testId = _ref$testId === void 0 ? 'block-card-resolving-view' : _ref$testId,
|
|
16
14
|
inheritDimensions = _ref.inheritDimensions;
|
|
17
|
-
return
|
|
15
|
+
return /*#__PURE__*/React.createElement(Frame, {
|
|
18
16
|
inheritDimensions: inheritDimensions,
|
|
19
17
|
compact: true,
|
|
20
18
|
isSelected: isSelected,
|
|
21
19
|
testId: testId,
|
|
22
20
|
className: blockCardResolvingViewClassName
|
|
23
|
-
},
|
|
21
|
+
}, /*#__PURE__*/React.createElement(DocumentFilledIcon, {
|
|
24
22
|
size: "small",
|
|
25
23
|
primaryColor: "var(--ds-icon-subtle, ".concat(N50, ")"),
|
|
26
24
|
label: "document-icon"
|
|
27
|
-
}),
|
|
25
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
28
26
|
css: {
|
|
29
27
|
fontSize: "".concat(fontSize(), "px"),
|
|
30
28
|
color: "var(--ds-text-subtlest, ".concat(N90, ")"),
|
|
31
29
|
marginLeft: gs(0.5)
|
|
32
30
|
}
|
|
33
|
-
},
|
|
31
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.loading)));
|
|
34
32
|
};
|
|
@@ -2,8 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
/** @jsx jsx */
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
8
6
|
import { Frame } from '../components/Frame';
|
|
9
7
|
import { Provider } from '../components/Provider';
|
|
@@ -36,29 +34,29 @@ export var UnauthorizedView = function UnauthorizedView(_ref) {
|
|
|
36
34
|
var handleClick = function handleClick(event) {
|
|
37
35
|
return handleClickCommon(event, onClick);
|
|
38
36
|
};
|
|
39
|
-
return
|
|
37
|
+
return /*#__PURE__*/React.createElement(Frame, {
|
|
40
38
|
isSelected: isSelected,
|
|
41
39
|
testId: testId,
|
|
42
40
|
isFluidHeight: true
|
|
43
|
-
},
|
|
41
|
+
}, /*#__PURE__*/React.createElement(Content, {
|
|
44
42
|
isCompact: true
|
|
45
|
-
},
|
|
43
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ContentHeader, {
|
|
46
44
|
onClick: handleClick,
|
|
47
45
|
link: link
|
|
48
|
-
},
|
|
46
|
+
}, /*#__PURE__*/React.createElement(Link, {
|
|
49
47
|
url: link,
|
|
50
48
|
testId: testId
|
|
51
|
-
})),
|
|
49
|
+
})), /*#__PURE__*/React.createElement(Byline, {
|
|
52
50
|
testId: testId ? "".concat(testId, "-byline") : undefined,
|
|
53
|
-
text:
|
|
51
|
+
text: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, textBylineProps, {
|
|
54
52
|
values: {
|
|
55
53
|
context: context.text
|
|
56
54
|
}
|
|
57
55
|
}))
|
|
58
|
-
})),
|
|
56
|
+
})), /*#__PURE__*/React.createElement(ContentFooter, null, /*#__PURE__*/React.createElement(Provider, {
|
|
59
57
|
name: context.text,
|
|
60
58
|
icon: context.icon
|
|
61
|
-
}), showActions &&
|
|
59
|
+
}), showActions && /*#__PURE__*/React.createElement(ActionList, {
|
|
62
60
|
items: actions
|
|
63
61
|
}))));
|
|
64
62
|
};
|
|
@@ -3,11 +3,10 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
4
4
|
var _excluded = ["testId"];
|
|
5
5
|
var _templateObject;
|
|
6
|
-
|
|
7
|
-
import { css, jsx } from '@emotion/react';
|
|
6
|
+
import { css } from '@emotion/react';
|
|
8
7
|
import { useCallback, useMemo } from 'react';
|
|
9
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
|
-
import { getExtensionKey } from '../../../../state/helpers';
|
|
9
|
+
import { getExtensionKey, hasAuthScopeOverrides } from '../../../../state/helpers';
|
|
11
10
|
import { AuthorizeAction } from '../../actions/flexible/AuthorizeAction';
|
|
12
11
|
import { extractProvider } from '@atlaskit/link-extractors';
|
|
13
12
|
import UnauthorisedViewContent from '../../../common/UnauthorisedViewContent';
|
|
@@ -34,6 +33,7 @@ var FlexibleUnauthorisedView = function FlexibleUnauthorisedView(_ref) {
|
|
|
34
33
|
var extensionKey = (_getExtensionKey = getExtensionKey(cardState === null || cardState === void 0 ? void 0 : cardState.details)) !== null && _getExtensionKey !== void 0 ? _getExtensionKey : '';
|
|
35
34
|
var data = (_cardState$details = cardState.details) === null || _cardState$details === void 0 ? void 0 : _cardState$details.data;
|
|
36
35
|
var providerName = (_extractProvider = extractProvider(data)) === null || _extractProvider === void 0 ? void 0 : _extractProvider.text;
|
|
36
|
+
var isProductIntegrationSupported = hasAuthScopeOverrides(cardState === null || cardState === void 0 ? void 0 : cardState.details);
|
|
37
37
|
var handleAuthorize = useCallback(function () {
|
|
38
38
|
if (onAuthorize) {
|
|
39
39
|
analytics === null || analytics === void 0 || analytics.track.appAccountAuthStarted({
|
|
@@ -43,23 +43,24 @@ var FlexibleUnauthorisedView = function FlexibleUnauthorisedView(_ref) {
|
|
|
43
43
|
}
|
|
44
44
|
}, [onAuthorize, extensionKey, analytics === null || analytics === void 0 ? void 0 : analytics.track]);
|
|
45
45
|
var content = useMemo(function () {
|
|
46
|
-
return onAuthorize ?
|
|
46
|
+
return onAuthorize ? /*#__PURE__*/React.createElement(UnauthorisedViewContent, {
|
|
47
47
|
providerName: providerName,
|
|
48
|
+
isProductIntegrationSupported: isProductIntegrationSupported,
|
|
48
49
|
analytics: analytics,
|
|
49
50
|
testId: testId
|
|
50
|
-
}) :
|
|
51
|
+
}) : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages[providerName ? 'unauthorised_account_description' : 'unauthorised_account_description_no_provider'], {
|
|
51
52
|
values: {
|
|
52
53
|
context: providerName
|
|
53
54
|
}
|
|
54
55
|
}));
|
|
55
|
-
}, [analytics, onAuthorize, providerName, testId]);
|
|
56
|
+
}, [analytics, isProductIntegrationSupported, onAuthorize, providerName, testId]);
|
|
56
57
|
var actions = useMemo(function () {
|
|
57
58
|
return onAuthorize ? [AuthorizeAction(handleAuthorize, providerName)] : [];
|
|
58
59
|
}, [handleAuthorize, onAuthorize, providerName]);
|
|
59
|
-
return
|
|
60
|
+
return /*#__PURE__*/React.createElement(UnresolvedView, _extends({}, props, {
|
|
60
61
|
actions: actions,
|
|
61
62
|
testId: testId
|
|
62
|
-
}),
|
|
63
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
63
64
|
css: contentStyles,
|
|
64
65
|
"data-testid": "".concat(testId, "-content")
|
|
65
66
|
}, content));
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
1
|
import { flexibleBlockCardStyle } from '../styled';
|
|
4
2
|
export var withFlexibleUIBlockCardStyle = function withFlexibleUIBlockCardStyle(FlexibleBlockCardView) {
|
|
5
3
|
return function (props) {
|
|
6
|
-
return
|
|
4
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
7
5
|
css: flexibleBlockCardStyle
|
|
8
|
-
},
|
|
6
|
+
}, /*#__PURE__*/React.createElement(FlexibleBlockCardView, props));
|
|
9
7
|
};
|
|
10
8
|
};
|
|
@@ -10,7 +10,7 @@ import React from 'react';
|
|
|
10
10
|
import { getEmptyJsonLd } from '../../utils/jsonld';
|
|
11
11
|
import { extractInlineProps } from '../../extractors/inline';
|
|
12
12
|
import { extractBlockProps } from '../../extractors/block';
|
|
13
|
-
import { InlineCardResolvedView } from '../
|
|
13
|
+
import { InlineCardResolvedView } from '../InlineCard/ResolvedView';
|
|
14
14
|
import { BlockCardResolvedView } from '../BlockCard';
|
|
15
15
|
export var CardWithDataContent = /*#__PURE__*/function (_React$Component) {
|
|
16
16
|
_inherits(CardWithDataContent, _React$Component);
|
|
@@ -6,7 +6,7 @@ import * as measure from '../../utils/performance';
|
|
|
6
6
|
import { getDefinitionId, getServices, isFinalState, getClickUrl, getResourceType, getExtensionKey, getSubproduct, getProduct, getCanBeDatasource } from '../../state/helpers';
|
|
7
7
|
import { useSmartLink } from '../../state';
|
|
8
8
|
import { BlockCard } from '../BlockCard';
|
|
9
|
-
import { InlineCard
|
|
9
|
+
import { InlineCard } from '../InlineCard';
|
|
10
10
|
import { EmbedCard } from '../EmbedCard';
|
|
11
11
|
import { isFlexibleUiCard } from '../../utils/flexible';
|
|
12
12
|
import FlexibleCard from '../FlexibleCard';
|
|
@@ -214,7 +214,7 @@ function Component(_ref) {
|
|
|
214
214
|
showAuthTooltip: showAuthTooltip,
|
|
215
215
|
showServerActions: showServerActions
|
|
216
216
|
};
|
|
217
|
-
return /*#__PURE__*/React.createElement(
|
|
217
|
+
return /*#__PURE__*/React.createElement(InlineCard, inlineProps);
|
|
218
218
|
case 'block':
|
|
219
219
|
return /*#__PURE__*/React.createElement(BlockCard, {
|
|
220
220
|
id: id,
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
-
/** @jsx jsx */
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
2
|
import React, { useEffect, useState, useRef } from 'react';
|
|
5
3
|
import { di } from 'react-magnetic-di';
|
|
6
4
|
import { getIframeSandboxAttribute } from '../../../utils';
|
|
@@ -87,13 +85,13 @@ export var Frame = /*#__PURE__*/React.forwardRef(function (_ref, iframeRef) {
|
|
|
87
85
|
if (!url) {
|
|
88
86
|
return null;
|
|
89
87
|
}
|
|
90
|
-
return
|
|
88
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IframeDwellTracker, {
|
|
91
89
|
isIframeLoaded: isIframeLoaded,
|
|
92
90
|
isMouseOver: isMouseOver,
|
|
93
91
|
isWindowFocused: isWindowFocused,
|
|
94
92
|
iframePercentVisible: percentVisible,
|
|
95
93
|
onIframeDwell: onIframeDwell
|
|
96
|
-
}),
|
|
94
|
+
}), /*#__PURE__*/React.createElement(IFrame, {
|
|
97
95
|
childRef: mergedRef,
|
|
98
96
|
src: url,
|
|
99
97
|
"data-testid": "".concat(testId, "-frame"),
|
|
@@ -6,10 +6,10 @@ import { extractEmbedProps } from '../../extractors/embed';
|
|
|
6
6
|
import { getEmptyJsonLd, getForbiddenJsonLd } from '../../utils/jsonld';
|
|
7
7
|
import { extractInlineProps } from '../../extractors/inline';
|
|
8
8
|
import { extractBlockProps } from '../../extractors/block';
|
|
9
|
-
import { getExtensionKey } from '../../state/helpers';
|
|
9
|
+
import { getExtensionKey, hasAuthScopeOverrides } from '../../state/helpers';
|
|
10
10
|
import { extractRequestAccessContext } from '../../extractors/common/context';
|
|
11
11
|
import { BlockCardResolvedView, BlockCardResolvingView } from '../BlockCard';
|
|
12
|
-
import { InlineCardResolvedView } from '../
|
|
12
|
+
import { InlineCardResolvedView } from '../InlineCard/ResolvedView';
|
|
13
13
|
import { EmbedCardForbiddenView } from './views/ForbiddenView';
|
|
14
14
|
import { EmbedCardNotFoundView } from './views/NotFoundView';
|
|
15
15
|
import { EmbedCardResolvedView } from './views/ResolvedView';
|
|
@@ -47,6 +47,7 @@ export var EmbedCard = /*#__PURE__*/React.forwardRef(function (_ref, iframeRef)
|
|
|
47
47
|
var data = details && details.data || getEmptyJsonLd();
|
|
48
48
|
var meta = details && details.meta;
|
|
49
49
|
var extensionKey = getExtensionKey(details);
|
|
50
|
+
var isProductIntegrationSupported = hasAuthScopeOverrides(details);
|
|
50
51
|
switch (status) {
|
|
51
52
|
case 'pending':
|
|
52
53
|
case 'resolving':
|
|
@@ -112,6 +113,7 @@ export var EmbedCard = /*#__PURE__*/React.forwardRef(function (_ref, iframeRef)
|
|
|
112
113
|
analytics: analytics,
|
|
113
114
|
context: unauthorisedViewProps.context,
|
|
114
115
|
extensionKey: extensionKey,
|
|
116
|
+
isProductIntegrationSupported: isProductIntegrationSupported,
|
|
115
117
|
inheritDimensions: inheritDimensions,
|
|
116
118
|
isSelected: isSelected,
|
|
117
119
|
onAuthorize: handleAuthorize,
|
|
@@ -127,6 +129,7 @@ export var EmbedCard = /*#__PURE__*/React.forwardRef(function (_ref, iframeRef)
|
|
|
127
129
|
onClick: handleFrameClick,
|
|
128
130
|
analytics: analytics,
|
|
129
131
|
extensionKey: extensionKey,
|
|
132
|
+
isProductIntegrationSupported: isProductIntegrationSupported,
|
|
130
133
|
testId: testId
|
|
131
134
|
}));
|
|
132
135
|
case 'forbidden':
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
1
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
4
2
|
import ErrorIcon from '@atlaskit/icon/glyph/error';
|
|
5
3
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
@@ -15,16 +13,16 @@ export var EmbedCardErroredView = function EmbedCardErroredView(_ref) {
|
|
|
15
13
|
_ref$testId = _ref.testId,
|
|
16
14
|
testId = _ref$testId === void 0 ? 'embed-card-errored-view' : _ref$testId,
|
|
17
15
|
inheritDimensions = _ref.inheritDimensions;
|
|
18
|
-
return
|
|
16
|
+
return /*#__PURE__*/React.createElement(Frame, {
|
|
19
17
|
inheritDimensions: inheritDimensions,
|
|
20
18
|
compact: true,
|
|
21
19
|
isSelected: isSelected,
|
|
22
20
|
testId: testId
|
|
23
|
-
},
|
|
21
|
+
}, /*#__PURE__*/React.createElement(ErrorIcon, {
|
|
24
22
|
size: "small",
|
|
25
23
|
primaryColor: "var(--ds-icon-danger, ".concat(R300, ")"),
|
|
26
24
|
label: "error-icon"
|
|
27
|
-
}),
|
|
25
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
28
26
|
css: {
|
|
29
27
|
fontSize: "".concat(fontSize(), "px"),
|
|
30
28
|
marginLeft: gs(0.5),
|
|
@@ -37,10 +35,10 @@ export var EmbedCardErroredView = function EmbedCardErroredView(_ref) {
|
|
|
37
35
|
// Fallback options.
|
|
38
36
|
maxHeight: gs(3)
|
|
39
37
|
}
|
|
40
|
-
},
|
|
38
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.could_not_load_link)), /*#__PURE__*/React.createElement(Button, {
|
|
41
39
|
testId: "err-view-retry",
|
|
42
40
|
appearance: "link",
|
|
43
41
|
spacing: "none",
|
|
44
42
|
onClick: onRetry
|
|
45
|
-
},
|
|
43
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.try_again)));
|
|
46
44
|
};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import LinkGlyph from '@atlaskit/icon/glyph/link';
|
|
5
3
|
import { ExpandedFrame } from '../components/ExpandedFrame';
|
|
@@ -26,7 +24,7 @@ export var EmbedCardResolvedView = /*#__PURE__*/React.forwardRef(function (_ref,
|
|
|
26
24
|
var src = typeof iconFromContext === 'string' ? iconFromContext : undefined;
|
|
27
25
|
var text = title || (context === null || context === void 0 ? void 0 : context.text);
|
|
28
26
|
var linkGlyph = React.useMemo(function () {
|
|
29
|
-
return
|
|
27
|
+
return /*#__PURE__*/React.createElement(LinkGlyph, {
|
|
30
28
|
label: "icon",
|
|
31
29
|
size: "small",
|
|
32
30
|
testId: "embed-card-fallback-icon"
|
|
@@ -36,7 +34,7 @@ export var EmbedCardResolvedView = /*#__PURE__*/React.forwardRef(function (_ref,
|
|
|
36
34
|
if ( /*#__PURE__*/React.isValidElement(iconFromContext)) {
|
|
37
35
|
return iconFromContext;
|
|
38
36
|
}
|
|
39
|
-
return
|
|
37
|
+
return /*#__PURE__*/React.createElement(ImageIcon, {
|
|
40
38
|
src: src,
|
|
41
39
|
default: linkGlyph
|
|
42
40
|
});
|
|
@@ -47,7 +45,7 @@ export var EmbedCardResolvedView = /*#__PURE__*/React.forwardRef(function (_ref,
|
|
|
47
45
|
if (previewUrl && isSupportTheming && colorMode) {
|
|
48
46
|
previewUrl = "".concat(previewUrl).concat(previewUrl.includes('?') ? '&' : '?', "themeMode=").concat(colorMode);
|
|
49
47
|
}
|
|
50
|
-
return
|
|
48
|
+
return /*#__PURE__*/React.createElement(ExpandedFrame, {
|
|
51
49
|
isSelected: isSelected,
|
|
52
50
|
isFrameVisible: isFrameVisible,
|
|
53
51
|
frameStyle: frameStyle,
|
|
@@ -57,7 +55,7 @@ export var EmbedCardResolvedView = /*#__PURE__*/React.forwardRef(function (_ref,
|
|
|
57
55
|
text: text,
|
|
58
56
|
onClick: onClick,
|
|
59
57
|
inheritDimensions: inheritDimensions
|
|
60
|
-
},
|
|
58
|
+
}, /*#__PURE__*/React.createElement(Frame, {
|
|
61
59
|
url: previewUrl,
|
|
62
60
|
isTrusted: isTrusted,
|
|
63
61
|
testId: testId,
|
|
@@ -19,7 +19,8 @@ export var EmbedCardUnauthorisedView = function EmbedCardUnauthorisedView(_ref)
|
|
|
19
19
|
onAuthorise = _ref.onAuthorise,
|
|
20
20
|
inheritDimensions = _ref.inheritDimensions,
|
|
21
21
|
onClick = _ref.onClick,
|
|
22
|
-
extensionKey = _ref.extensionKey
|
|
22
|
+
extensionKey = _ref.extensionKey,
|
|
23
|
+
isProductIntegrationSupported = _ref.isProductIntegrationSupported;
|
|
23
24
|
var icon = context && context.icon && /*#__PURE__*/React.createElement(ImageIcon, {
|
|
24
25
|
src: typeof context.icon === 'string' ? context.icon : undefined
|
|
25
26
|
});
|
|
@@ -50,6 +51,7 @@ export var EmbedCardUnauthorisedView = function EmbedCardUnauthorisedView(_ref)
|
|
|
50
51
|
}, /*#__PURE__*/React.createElement(UnauthorisedViewContent, {
|
|
51
52
|
analytics: analytics,
|
|
52
53
|
providerName: context === null || context === void 0 ? void 0 : context.text,
|
|
54
|
+
isProductIntegrationSupported: isProductIntegrationSupported,
|
|
53
55
|
testId: testId
|
|
54
56
|
}));
|
|
55
57
|
}
|
|
@@ -60,7 +62,7 @@ export var EmbedCardUnauthorisedView = function EmbedCardUnauthorisedView(_ref)
|
|
|
60
62
|
testId: testId,
|
|
61
63
|
title: context !== null && context !== void 0 && context.text ? 'unauthorised_account_name' : 'unauthorised_account_name_no_provider'
|
|
62
64
|
});
|
|
63
|
-
}, [analytics, context, handleOnAuthorizeClick, onAuthorise, testId]);
|
|
65
|
+
}, [analytics, context, handleOnAuthorizeClick, isProductIntegrationSupported, onAuthorise, testId]);
|
|
64
66
|
return /*#__PURE__*/React.createElement(ExpandedFrame, {
|
|
65
67
|
href: link,
|
|
66
68
|
icon: icon,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
|
-
|
|
4
|
-
import { jsx } from '@emotion/react';
|
|
3
|
+
|
|
5
4
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
6
5
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
7
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
@@ -20,7 +19,7 @@ export var EmbedCardUnresolvedView = function EmbedCardUnresolvedView(_ref) {
|
|
|
20
19
|
onClick = _ref.onClick,
|
|
21
20
|
testId = _ref.testId,
|
|
22
21
|
children = _ref.children;
|
|
23
|
-
return
|
|
22
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
24
23
|
css: {
|
|
25
24
|
display: 'flex',
|
|
26
25
|
flexDirection: 'column',
|
|
@@ -30,14 +29,14 @@ export var EmbedCardUnresolvedView = function EmbedCardUnresolvedView(_ref) {
|
|
|
30
29
|
paddingBottom: gridSize(6)
|
|
31
30
|
},
|
|
32
31
|
"data-testid": "".concat(testId, "-unresolved-container")
|
|
33
|
-
},
|
|
32
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
34
33
|
src: image,
|
|
35
34
|
css: {
|
|
36
35
|
height: gridSize(14),
|
|
37
36
|
marginBottom: gridSize(4)
|
|
38
37
|
},
|
|
39
38
|
"data-testid": "".concat(testId, "-unresolved-image")
|
|
40
|
-
}),
|
|
39
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
41
40
|
css: {
|
|
42
41
|
fontSize: gridSize(2.5),
|
|
43
42
|
marginBottom: gridSize(1.5),
|
|
@@ -45,11 +44,11 @@ export var EmbedCardUnresolvedView = function EmbedCardUnresolvedView(_ref) {
|
|
|
45
44
|
textAlign: 'center'
|
|
46
45
|
},
|
|
47
46
|
"data-testid": "".concat(testId, "-unresolved-title")
|
|
48
|
-
},
|
|
47
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages[title], {
|
|
49
48
|
values: {
|
|
50
49
|
context: context
|
|
51
50
|
}
|
|
52
|
-
}))),
|
|
51
|
+
}))), /*#__PURE__*/React.createElement("span", {
|
|
53
52
|
css: {
|
|
54
53
|
fontSize: fontSize(),
|
|
55
54
|
marginBottom: gridSize(2.5),
|
|
@@ -58,15 +57,15 @@ export var EmbedCardUnresolvedView = function EmbedCardUnresolvedView(_ref) {
|
|
|
58
57
|
lineHeight: gridSize(3)
|
|
59
58
|
},
|
|
60
59
|
"data-testid": "".concat(testId, "-unresolved-description")
|
|
61
|
-
}, children !== null && children !== void 0 ? children :
|
|
60
|
+
}, children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages[description], {
|
|
62
61
|
values: {
|
|
63
62
|
context: context
|
|
64
63
|
}
|
|
65
|
-
}))), button &&
|
|
64
|
+
}))), button && /*#__PURE__*/React.createElement(Button, {
|
|
66
65
|
testId: "button-".concat(button.testId || testId),
|
|
67
66
|
appearance: button.appearance,
|
|
68
67
|
onClick: onClick
|
|
69
|
-
},
|
|
68
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages[button.text], {
|
|
70
69
|
values: {
|
|
71
70
|
context: context
|
|
72
71
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["analytics", "context", "extensionKey", "onAuthorize", "testId"];
|
|
3
|
+
var _excluded = ["analytics", "context", "extensionKey", "isProductIntegrationSupported", "onAuthorize", "testId"];
|
|
4
4
|
import Button from '@atlaskit/button';
|
|
5
5
|
import React, { useCallback, useMemo } from 'react';
|
|
6
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
@@ -14,6 +14,7 @@ var UnauthorizedView = function UnauthorizedView(_ref) {
|
|
|
14
14
|
var analytics = _ref.analytics,
|
|
15
15
|
context = _ref.context,
|
|
16
16
|
extensionKey = _ref.extensionKey,
|
|
17
|
+
isProductIntegrationSupported = _ref.isProductIntegrationSupported,
|
|
17
18
|
onAuthorize = _ref.onAuthorize,
|
|
18
19
|
_ref$testId = _ref.testId,
|
|
19
20
|
testId = _ref$testId === void 0 ? 'embed-card-unauthorized-view' : _ref$testId,
|
|
@@ -45,6 +46,7 @@ var UnauthorizedView = function UnauthorizedView(_ref) {
|
|
|
45
46
|
description: /*#__PURE__*/React.createElement(UnauthorisedViewContent, {
|
|
46
47
|
analytics: analytics,
|
|
47
48
|
providerName: context === null || context === void 0 ? void 0 : context.text,
|
|
49
|
+
isProductIntegrationSupported: isProductIntegrationSupported,
|
|
48
50
|
testId: testId
|
|
49
51
|
}),
|
|
50
52
|
button: /*#__PURE__*/React.createElement(Button, {
|
|
@@ -79,7 +81,7 @@ var UnauthorizedView = function UnauthorizedView(_ref) {
|
|
|
79
81
|
title: /*#__PURE__*/React.createElement(FormattedMessage, messages.unauthorised_account_name_no_provider),
|
|
80
82
|
description: /*#__PURE__*/React.createElement(FormattedMessage, messages.unauthorised_account_description_no_provider)
|
|
81
83
|
};
|
|
82
|
-
}, [analytics, context === null || context === void 0 ? void 0 : context.text, handleOnAuthorizeClick, onAuthorize, testId]);
|
|
84
|
+
}, [analytics, context === null || context === void 0 ? void 0 : context.text, handleOnAuthorizeClick, isProductIntegrationSupported, onAuthorize, testId]);
|
|
83
85
|
return /*#__PURE__*/React.createElement(UnresolvedView, _extends({}, unresolvedViewProps, content, {
|
|
84
86
|
icon: context === null || context === void 0 ? void 0 : context.icon,
|
|
85
87
|
image: (_context$image = context === null || context === void 0 ? void 0 : context.image) !== null && _context$image !== void 0 ? _context$image : getUnresolvedEmbedCardImage('unauthorized'),
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
1
|
import LinkGlyph from '@atlaskit/icon/glyph/link';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
2
|
import React, { useMemo } from 'react';
|
|
5
3
|
import { ExpandedFrame } from '../../components/ExpandedFrame';
|
|
6
4
|
import { ImageIcon } from '../../components/ImageIcon';
|
|
@@ -21,16 +19,16 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
21
19
|
if ( /*#__PURE__*/React.isValidElement(iconUrlOrElement)) {
|
|
22
20
|
return iconUrlOrElement;
|
|
23
21
|
}
|
|
24
|
-
return
|
|
22
|
+
return /*#__PURE__*/React.createElement(ImageIcon, {
|
|
25
23
|
src: typeof iconUrlOrElement === 'string' ? iconUrlOrElement : undefined,
|
|
26
|
-
default:
|
|
24
|
+
default: /*#__PURE__*/React.createElement(LinkGlyph, {
|
|
27
25
|
label: "icon",
|
|
28
26
|
size: "small",
|
|
29
27
|
testId: "embed-card-fallback-icon"
|
|
30
28
|
})
|
|
31
29
|
});
|
|
32
30
|
}, [iconUrlOrElement]);
|
|
33
|
-
return
|
|
31
|
+
return /*#__PURE__*/React.createElement(ExpandedFrame, {
|
|
34
32
|
allowScrollBar: true,
|
|
35
33
|
frameStyle: "show",
|
|
36
34
|
href: url,
|
|
@@ -40,19 +38,19 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
40
38
|
onClick: onClick,
|
|
41
39
|
testId: testId,
|
|
42
40
|
text: text
|
|
43
|
-
},
|
|
41
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
44
42
|
css: containerStyles,
|
|
45
43
|
"data-testid": "".concat(testId, "-unresolved-container")
|
|
46
|
-
},
|
|
44
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47
45
|
css: contentStyles
|
|
48
|
-
},
|
|
46
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
49
47
|
css: imageStyles,
|
|
50
48
|
"data-testid": "".concat(testId, "-unresolved-image"),
|
|
51
49
|
src: image
|
|
52
|
-
}),
|
|
50
|
+
}), /*#__PURE__*/React.createElement("h2", {
|
|
53
51
|
css: titleStyles,
|
|
54
52
|
"data-testid": "".concat(testId, "-unresolved-title")
|
|
55
|
-
}, title),
|
|
53
|
+
}, title), /*#__PURE__*/React.createElement("span", {
|
|
56
54
|
css: descriptionStyles,
|
|
57
55
|
"data-testid": "".concat(testId, "-unresolved-description")
|
|
58
56
|
}, description), button)));
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject;
|
|
3
|
-
/** @jsx jsx */
|
|
4
|
-
|
|
5
3
|
import { di } from 'react-magnetic-di';
|
|
6
|
-
import { css
|
|
4
|
+
import { css } from '@emotion/react';
|
|
7
5
|
import { getIframeSandboxAttribute } from '../../../../utils';
|
|
8
6
|
import { IFrame } from '../../../EmbedCard/components/IFrame';
|
|
9
7
|
var iframeCss = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n height: calc(100vh - 208px);\n"])));
|
|
@@ -21,6 +19,6 @@ var EmbedContent = function EmbedContent(_ref) {
|
|
|
21
19
|
src: src,
|
|
22
20
|
'data-testid': "".concat(testId, "-embed")
|
|
23
21
|
};
|
|
24
|
-
return
|
|
22
|
+
return /*#__PURE__*/React.createElement(IFrame, props);
|
|
25
23
|
};
|
|
26
24
|
export default EmbedContent;
|