@atlaskit/smart-card 27.9.0 → 27.9.2
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 +17 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/EmbedCard/components/ExpandedFrame.js +6 -5
- package/dist/cjs/view/EmbedCard/views/ResolvedView.js +2 -1
- package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +5 -2
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +4 -7
- package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +0 -1
- package/dist/cjs/view/FlexibleCard/components/actions/preview-action/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.js +0 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/index.js +2 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -4
- package/dist/cjs/view/FlexibleCard/components/blocks/snippet-block/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.js +8 -9
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.js +4 -5
- package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +4 -5
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.js +4 -6
- package/dist/cjs/view/FlexibleCard/components/container/layered-link/index.js +3 -6
- package/dist/cjs/view/FlexibleCard/components/elements/atlaskit-badge/index.js +4 -5
- package/dist/cjs/view/FlexibleCard/components/elements/avatar-group/index.js +1 -4
- package/dist/cjs/view/FlexibleCard/components/elements/date-time/index.js +4 -5
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/index.js +5 -7
- package/dist/cjs/view/FlexibleCard/components/elements/media/index.js +4 -6
- package/dist/cjs/view/FlexibleCard/components/elements/preview/index.js +1 -4
- package/dist/cjs/view/FlexibleCard/components/elements/snippet-element/index.js +1 -4
- package/dist/cjs/view/FlexibleCard/components/elements/text/index.js +3 -6
- package/dist/cjs/view/HoverCard/components/views/resolving/index.js +0 -1
- package/dist/cjs/view/LinkUrl/LinkWarningModal/index.js +10 -11
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/EmptyState.js +2 -2
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +1 -4
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/index.js +0 -1
- package/dist/cjs/view/common/ai-summary/index.js +4 -5
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/index.js +0 -1
- package/dist/es2019/view/EmbedCard/components/ExpandedFrame.js +6 -6
- package/dist/es2019/view/EmbedCard/views/ResolvedView.js +2 -1
- package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +5 -2
- package/dist/es2019/view/EmbedModal/components/embed-content/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/actions/preview-action/index.js +3 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/snippet-block/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/container/layered-link/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/elements/atlaskit-badge/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/elements/avatar-group/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/date-time/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/elements/media/index.js +0 -1
- package/dist/es2019/view/FlexibleCard/components/elements/preview/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/snippet-element/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/text/index.js +0 -1
- package/dist/es2019/view/HoverCard/components/views/resolving/index.js +0 -1
- package/dist/es2019/view/LinkUrl/LinkWarningModal/index.js +0 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/EmptyState.js +2 -2
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +1 -1
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/index.js +0 -1
- package/dist/es2019/view/common/ai-summary/index.js +0 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/index.js +0 -1
- package/dist/esm/view/EmbedCard/components/ExpandedFrame.js +7 -6
- package/dist/esm/view/EmbedCard/views/ResolvedView.js +2 -1
- package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +5 -2
- package/dist/esm/view/EmbedModal/components/embed-content/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/actions/preview-action/index.js +3 -3
- package/dist/esm/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +2 -2
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/blocks/preview-block/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/snippet-block/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/container/layered-link/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/elements/atlaskit-badge/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/elements/avatar-group/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/date-time/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/elements/media/index.js +0 -1
- package/dist/esm/view/FlexibleCard/components/elements/preview/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/snippet-element/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/text/index.js +0 -1
- package/dist/esm/view/HoverCard/components/views/resolving/index.js +0 -1
- package/dist/esm/view/LinkUrl/LinkWarningModal/index.js +0 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/EmptyState.js +2 -2
- package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +1 -1
- package/dist/esm/view/common/ai-prism/ai-glowing-border/index.js +0 -1
- package/dist/esm/view/common/ai-summary/index.js +0 -1
- package/dist/types/ssr.d.ts +2 -2
- package/dist/types/view/BlockCard/index.d.ts +2 -3
- package/dist/types/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +1 -1
- package/dist/types/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
- package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +19 -3
- package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +2 -2
- package/dist/types/view/EmbedCard/components/styled.d.ts +7 -0
- package/dist/types/view/EmbedCard/views/forbidden-view/index.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/not-found-view/index.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/unresolved-view/index.d.ts +2 -2
- package/dist/types/view/EmbedModal/components/analytics/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/embed-content/index.d.ts +2 -3
- package/dist/types/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/index.d.ts +3 -2
- package/dist/types/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -2
- package/dist/types/view/EmbedModal/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/action-button/index.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/delete-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/download-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/edit-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/preview-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +7 -6
- package/dist/types/view/FlexibleCard/components/blocks/action-group/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/index.d.ts +1 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-container.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-error.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-loading.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.d.ts +3 -2
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/resolved/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/preview-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/errored/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/related-url-item/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolving/index.d.ts +14 -3
- package/dist/types/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/blocks/title-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/container/layered-link/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/atlaskit-badge/index.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/elements/avatar-group/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/date-time/index.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/elements/icon/index.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/elements/index.d.ts +32 -32
- package/dist/types/view/FlexibleCard/components/elements/link/index.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/elements/lozenge/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.d.ts +3 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.d.ts +3 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.d.ts +3 -2
- package/dist/types/view/FlexibleCard/components/elements/media/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/preview/index.d.ts +2 -3
- package/dist/types/view/FlexibleCard/components/elements/snippet-element/index.d.ts +3 -2
- package/dist/types/view/FlexibleCard/components/elements/text/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/utils.d.ts +1 -1
- package/dist/types/view/FlexibleCard/index.d.ts +2 -2
- package/dist/types/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
- package/dist/types/view/HoverCard/components/ImagePreview.d.ts +2 -2
- package/dist/types/view/HoverCard/components/views/forbidden/index.d.ts +2 -2
- package/dist/types/view/HoverCard/components/views/resolved/redesign.d.ts +2 -2
- package/dist/types/view/HoverCard/components/views/resolving/index.d.ts +3 -2
- package/dist/types/view/HoverCard/components/views/unauthorised/index.d.ts +2 -2
- package/dist/types/view/InlineCard/index.d.ts +2 -2
- package/dist/types/view/LinkUrl/LinkWarningModal/index.d.ts +3 -4
- package/dist/types/view/common/ai-icon-loading/index.d.ts +3 -2
- package/dist/types/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +3 -2
- package/dist/types/view/common/ai-prism/ai-glowing-border/index.d.ts +3 -2
- package/dist/types/view/common/ai-summary/index.d.ts +2 -3
- package/dist/types/view/common/ai-summary/ulist.d.ts +2 -1
- package/dist/types-ts4.5/ssr.d.ts +2 -2
- package/dist/types-ts4.5/view/BlockCard/index.d.ts +2 -3
- package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +1 -1
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +19 -3
- package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +7 -0
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedModal/components/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +2 -3
- package/dist/types-ts4.5/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/index.d.ts +3 -2
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedModal/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/index.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/delete-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/download-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/edit-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/preview-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +7 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/index.d.ts +1 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-container.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-error.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-loading.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.d.ts +3 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/resolved/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/errored/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/related-url-item/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolving/index.d.ts +14 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/atlaskit-badge/index.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/avatar-group/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/date-time/index.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/icon/index.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +32 -32
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/link/index.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.d.ts +3 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.d.ts +3 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.d.ts +3 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/index.d.ts +2 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/snippet-element/index.d.ts +3 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/text/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/utils.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/index.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/ImagePreview.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/index.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/redesign.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/index.d.ts +3 -2
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/index.d.ts +2 -2
- package/dist/types-ts4.5/view/InlineCard/index.d.ts +2 -2
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +3 -4
- package/dist/types-ts4.5/view/common/ai-icon-loading/index.d.ts +3 -2
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +3 -2
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/index.d.ts +3 -2
- package/dist/types-ts4.5/view/common/ai-summary/index.d.ts +2 -3
- package/dist/types-ts4.5/view/common/ai-summary/ulist.d.ts +2 -1
- package/package.json +4 -4
|
@@ -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: "27.9.
|
|
18
|
+
packageVersion: "27.9.2"
|
|
19
19
|
};
|
|
20
20
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
21
21
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -3,7 +3,7 @@ import { className, LinkWrapper, Wrapper, Header, IconWrapper, TextWrapper, Tool
|
|
|
3
3
|
import { handleClickCommon } from '../../BlockCard/utils/handlers';
|
|
4
4
|
import { useMouseDownEvent } from '../../../state/analytics/useLinkClicked';
|
|
5
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
|
-
import {
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
7
|
export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
8
8
|
var _ref$isPlaceholder = _ref.isPlaceholder,
|
|
9
9
|
isPlaceholder = _ref$isPlaceholder === void 0 ? false : _ref$isPlaceholder,
|
|
@@ -21,7 +21,9 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
21
21
|
testId = _ref$testId === void 0 ? 'expanded-frame' : _ref$testId,
|
|
22
22
|
inheritDimensions = _ref.inheritDimensions,
|
|
23
23
|
_ref$allowScrollBar = _ref.allowScrollBar,
|
|
24
|
-
allowScrollBar = _ref$allowScrollBar === void 0 ? false : _ref$allowScrollBar
|
|
24
|
+
allowScrollBar = _ref$allowScrollBar === void 0 ? false : _ref$allowScrollBar,
|
|
25
|
+
_ref$setOverflow = _ref.setOverflow,
|
|
26
|
+
setOverflow = _ref$setOverflow === void 0 ? true : _ref$setOverflow;
|
|
25
27
|
var isInteractive = function isInteractive() {
|
|
26
28
|
return !isPlaceholder && (Boolean(href) || Boolean(onClick));
|
|
27
29
|
};
|
|
@@ -29,7 +31,6 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
29
31
|
return handleClickCommon(event, onClick);
|
|
30
32
|
};
|
|
31
33
|
var handleMouseDown = useMouseDownEvent();
|
|
32
|
-
var isFixEmbedCardBlurEnabled = getBooleanFF('platform.linking-platform.smart-card.fix-embed-card-blurring') ? true : false;
|
|
33
34
|
var renderHeaderOld = function renderHeaderOld() {
|
|
34
35
|
return (
|
|
35
36
|
/*#__PURE__*/
|
|
@@ -73,7 +74,7 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
73
74
|
return /*#__PURE__*/React.createElement(Content, {
|
|
74
75
|
"data-testid": "embed-content-wrapper",
|
|
75
76
|
allowScrollBar: allowScrollBar,
|
|
76
|
-
removeOverflow:
|
|
77
|
+
removeOverflow: fg('platform.linking-platform.smart-card.fix-embed-card-blurring') && !setOverflow,
|
|
77
78
|
isInteractive: isInteractive(),
|
|
78
79
|
frameStyle: frameStyle
|
|
79
80
|
// This fixes an issue with input fields in cross domain iframes (ie. databases and jira fields from different domains)
|
|
@@ -99,7 +100,7 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
99
100
|
,
|
|
100
101
|
"data-is-selected": isSelected,
|
|
101
102
|
inheritDimensions: inheritDimensions
|
|
102
|
-
},
|
|
103
|
+
}, fg('platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw') ? renderHeader() : renderHeaderOld(), renderContent());
|
|
103
104
|
} else {
|
|
104
105
|
return /*#__PURE__*/React.createElement(Wrapper
|
|
105
106
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -115,6 +116,6 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
115
116
|
"data-is-selected": isSelected,
|
|
116
117
|
"data-wrapper-type": "default",
|
|
117
118
|
"data-is-interactive": isInteractive()
|
|
118
|
-
},
|
|
119
|
+
}, fg('platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw') ? renderHeader() : renderHeaderOld(), renderContent());
|
|
119
120
|
}
|
|
120
121
|
};
|
|
@@ -55,7 +55,8 @@ export var EmbedCardResolvedView = /*#__PURE__*/React.forwardRef(function (_ref,
|
|
|
55
55
|
icon: icon,
|
|
56
56
|
text: text,
|
|
57
57
|
onClick: onClick,
|
|
58
|
-
inheritDimensions: inheritDimensions
|
|
58
|
+
inheritDimensions: inheritDimensions,
|
|
59
|
+
setOverflow: false
|
|
59
60
|
}, jsx(Frame, {
|
|
60
61
|
url: previewUrl,
|
|
61
62
|
isTrusted: isTrusted,
|
|
@@ -79,8 +79,11 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
79
79
|
"data-testid": imageTestId
|
|
80
80
|
}, imageUrlOrElement);
|
|
81
81
|
}, [imageUrlOrElement, testId]);
|
|
82
|
-
return jsx(ExpandedFrame
|
|
83
|
-
|
|
82
|
+
return jsx(ExpandedFrame
|
|
83
|
+
// Scroll bar must be shown for unresolved views to display the connect account button
|
|
84
|
+
, {
|
|
85
|
+
allowScrollBar: true,
|
|
86
|
+
setOverflow: true
|
|
84
87
|
// EDM-9259: Fix embed frame showing on unresolved views when frameStyle is set to hide.
|
|
85
88
|
// Set fallback to 'show' here to maintain the current behaviour when platform.editor.show-embed-card-frame-renderer is OFF.
|
|
86
89
|
// Remove 'show' on platform.editor.show-embed-card-frame-renderer cleanup as frameStyle will be set to 'show' both in renderer and editor.
|
|
@@ -8,7 +8,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
8
8
|
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; }
|
|
9
9
|
import VidFullScreenOnIcon from '@atlaskit/icon/glyph/vid-full-screen-on';
|
|
10
10
|
import MediaServicesActualSizeIcon from '@atlaskit/icon/glyph/media-services/actual-size';
|
|
11
|
-
import {
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
import React, { useCallback } from 'react';
|
|
13
13
|
import { FormattedMessage } from 'react-intl-next';
|
|
14
14
|
import { ActionName } from '../../../../../constants';
|
|
@@ -18,8 +18,8 @@ import useInvokeClientAction from '../../../../../state/hooks/use-invoke-client-
|
|
|
18
18
|
import { openEmbedModalWithFlexibleUiIcon } from '../../utils';
|
|
19
19
|
import Action from '../action';
|
|
20
20
|
var getIconFF = function getIconFF() {
|
|
21
|
-
if (
|
|
22
|
-
if (
|
|
21
|
+
if (fg('platform.linking-platform.smart-card.hover-card-action-redesign')) {
|
|
22
|
+
if (fg('platform.linking-platform.smart-card.action-icon-redesign')) {
|
|
23
23
|
return MediaServicesActualSizeIcon;
|
|
24
24
|
}
|
|
25
25
|
}
|
package/dist/esm/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js
CHANGED
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
/** @jsx jsx */
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
|
-
import
|
|
10
|
+
import { useCallback } from 'react';
|
|
11
11
|
import * as Actions from '../../../actions';
|
|
12
12
|
var ActionGroupItem = function ActionGroupItem(_ref) {
|
|
13
13
|
var item = _ref.item,
|
|
@@ -7,7 +7,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
7
7
|
import EditorPanelIcon from '@atlaskit/icon/glyph/editor/panel';
|
|
8
8
|
import Lozenge from '@atlaskit/lozenge';
|
|
9
9
|
import { Box, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
10
|
-
import {
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
11
|
import { messages } from '../../../../../../messages';
|
|
12
12
|
import AIIcon from '../../../../../common/ai-icon';
|
|
13
13
|
import AIIndicatorTooltip from './ai-indicator-tooltip';
|
|
@@ -56,7 +56,7 @@ var AIStateDone = function AIStateDone(_ref) {
|
|
|
56
56
|
size: "small",
|
|
57
57
|
testId: "".concat(testId, "-done-icon")
|
|
58
58
|
});
|
|
59
|
-
var title =
|
|
59
|
+
var title = fg('platform.linking-platform.smart-card.hover-card-ai-summaries-release-stable') ? jsx(Box, {
|
|
60
60
|
testId: "".concat(testId, "-done-message")
|
|
61
61
|
}, jsx(FormattedMessage, messages.ai_summarized)) : jsx(React.Fragment, null, jsx(Box, {
|
|
62
62
|
testId: "".concat(testId, "-done-message")
|
package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
import React from 'react';
|
|
5
4
|
import AIStateLoading from './ai-state-loading';
|
|
6
5
|
import AIStateDone from './ai-state-done';
|
|
7
6
|
import AIStateError from './ai-state-error';
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["status", "testId", "overrideUrl"];
|
|
4
4
|
/** @jsx jsx */
|
|
5
|
-
import React from 'react';
|
|
6
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
6
|
import { jsx } from '@emotion/react';
|
|
8
7
|
import { SmartLinkStatus } from '../../../../../constants';
|
|
@@ -5,7 +5,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
5
5
|
var _excluded = ["ignoreContainerPadding", "onError", "overrideCss", "placement", "testId", "overrideUrl"];
|
|
6
6
|
var _templateObject;
|
|
7
7
|
/** @jsx jsx */
|
|
8
|
-
import
|
|
8
|
+
import { useCallback, useEffect, useState } from 'react';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import { MediaPlacement } from '../../../../../../constants';
|
|
@@ -13,7 +13,7 @@ var MINIMUM_MAX_LINES = 1;
|
|
|
13
13
|
/**
|
|
14
14
|
* Represents a SnippetBlock, which is used to display longer form text content, like descriptions.
|
|
15
15
|
* @public
|
|
16
|
-
* @param {
|
|
16
|
+
* @param {SnippetBlockProps} SnippetBlockProps
|
|
17
17
|
* @see Block
|
|
18
18
|
*/
|
|
19
19
|
var SnippetBlock = function SnippetBlock(_ref) {
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["actionGroup", "retry", "position", "testId", "title", "icon", "hideIcon"];
|
|
4
4
|
/** @jsx jsx */
|
|
5
|
-
import React from 'react';
|
|
6
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
7
|
import { css, jsx } from '@emotion/react';
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["actionGroup", "testId", "title", "hideIcon"];
|
|
4
4
|
/** @jsx jsx */
|
|
5
|
-
import React from 'react';
|
|
6
5
|
|
|
7
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
7
|
import { jsx } from '@emotion/react';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
3
|
import { jsx, css } from '@emotion/react';
|
|
5
4
|
import { useMouseDownEvent } from '../../../../../state/analytics/useLinkClicked';
|
|
@@ -5,7 +5,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
5
|
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; }
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
|
|
8
|
-
import
|
|
8
|
+
import { useMemo } from 'react';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import AtlaskitAvatarGroup from '@atlaskit/avatar-group';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
-
import React from 'react';
|
|
4
3
|
import { useIntl, FormattedMessage } from 'react-intl-next';
|
|
5
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
5
|
import { css, jsx } from '@emotion/react';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["overrideUrl"];
|
|
4
4
|
/** @jsx jsx */
|
|
5
|
-
import
|
|
5
|
+
import { useContext } from 'react';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { FlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
@@ -4,7 +4,7 @@ var _excluded = ["content", "maxLines", "overrideCss"];
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
-
import
|
|
7
|
+
import { useContext } from 'react';
|
|
8
8
|
import { FlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
9
9
|
import Text from '../text';
|
|
10
10
|
var SNIPPET_DEFAULT_MAX_LINES = 3;
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
|
-
import React from 'react';
|
|
6
5
|
import LoadingSkeleton from '../../../../FlexibleCard/components/common/loading-skeleton';
|
|
7
6
|
import { CARD_WIDTH_REM } from '../../../styled';
|
|
8
7
|
import { getTitleStyles, loadingViewContainer, skeletonContainer, titleBlockStyles } from './styled';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
-
import React from 'react';
|
|
4
3
|
import Button from '@atlaskit/button/standard-button';
|
|
5
4
|
import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
6
5
|
import { FormattedMessage, IntlProvider, injectIntl } from 'react-intl-next';
|
|
@@ -10,7 +10,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
|
|
|
10
10
|
import LinkWarningModal from './LinkWarningModal';
|
|
11
11
|
var PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "27.9.
|
|
13
|
+
packageVersion: "27.9.2",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
var Link = withLinkClickedEvent('a');
|
|
@@ -13,8 +13,8 @@ var emptyStateStyles = xcss({
|
|
|
13
13
|
textAlign: 'center'
|
|
14
14
|
});
|
|
15
15
|
var descriptionStyles = xcss({
|
|
16
|
-
marginTop:
|
|
17
|
-
marginBottom:
|
|
16
|
+
marginTop: 'space.0',
|
|
17
|
+
marginBottom: 'space.300',
|
|
18
18
|
color: 'color.text'
|
|
19
19
|
});
|
|
20
20
|
export var EmptyState = function EmptyState(_ref) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
3
|
import { css, jsx } from '@emotion/react';
|
|
4
|
-
import
|
|
4
|
+
import { useEffect, useRef } from 'react';
|
|
5
5
|
import { OUTER_BORDER_RADIUS } from '../constants';
|
|
6
6
|
var namespaceUUID = 0;
|
|
7
7
|
var svgStyles = css({
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
3
|
import { css, jsx } from '@emotion/react';
|
|
4
|
-
import React from 'react';
|
|
5
4
|
import AnimatedSvgContainer from './animated-svg-container';
|
|
6
5
|
import { INNER_BORDER_RADIUS } from '../constants';
|
|
7
6
|
var borderContainerStyles = css({
|
package/dist/types/ssr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { CardProps } from './types';
|
|
3
3
|
export type CardSSRProps = CardProps & {
|
|
4
4
|
url: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const CardSSR:
|
|
6
|
+
export declare const CardSSR: (props: CardSSRProps) => JSX.Element;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { type FC } from 'react';
|
|
3
1
|
import { type BlockCardProps } from './types';
|
|
4
2
|
import { AuthorizeAction } from './actions/AuthorizeAction';
|
|
5
3
|
import { ForbiddenAction } from './actions/ForbiddenAction';
|
|
@@ -9,7 +7,8 @@ import { ResolvingView as BlockCardResolvingView } from './views/ResolvingView';
|
|
|
9
7
|
import { UnauthorizedView as BlockCardUnauthorisedView } from './views/UnauthorizedView';
|
|
10
8
|
import { ForbiddenView as BlockCardForbiddenView } from './views/ForbiddenView';
|
|
11
9
|
import { ErroredView as BlockCardErroredView } from './views/ErroredView';
|
|
10
|
+
import { jsx } from '@emotion/react';
|
|
12
11
|
export { default as PreviewAction } from './actions/PreviewAction';
|
|
13
12
|
export type { ResolvedViewProps as BlockCardResolvedViewProps } from './views/ResolvedView';
|
|
14
13
|
export { ForbiddenAction, AuthorizeAction, BlockCardResolvedView, BlockCardResolvingView, BlockCardUnauthorisedView, BlockCardForbiddenView, BlockCardErroredView, BlockCardNotFoundView, };
|
|
15
|
-
export declare const BlockCard:
|
|
14
|
+
export declare const BlockCard: ({ id, url, cardState, authFlow, handleAuthorize, handleErrorRetry, handleFrameClick, handleInvoke, renderers, isSelected, onResolve, onError, testId, platform, analytics, enableFlexibleBlockCard, actionOptions, }: BlockCardProps) => jsx.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/react';
|
|
3
3
|
import { type FlexibleBlockCardProps } from '../types';
|
|
4
|
-
export declare const withFlexibleUIBlockCardStyle: (FlexibleBlockCardView: React.
|
|
4
|
+
export declare const withFlexibleUIBlockCardStyle: (FlexibleBlockCardView: React.ComponentType<FlexibleBlockCardProps>) => (props: FlexibleBlockCardProps) => jsx.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type CardWithUrlContentProps } from '../types';
|
|
3
|
-
export declare const LoadingCardLink:
|
|
3
|
+
export declare const LoadingCardLink: ({ isSelected, url, placeholder }: CardWithUrlContentProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type FrameStyle } from '../types';
|
|
3
3
|
export interface ExpandedFrameProps {
|
|
4
4
|
isPlaceholder?: boolean;
|
|
@@ -18,7 +18,23 @@ export interface ExpandedFrameProps {
|
|
|
18
18
|
testId?: string;
|
|
19
19
|
/** If dimensions of the card are to be inherited from the parent */
|
|
20
20
|
inheritDimensions?: boolean;
|
|
21
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* To enable scrolling in use cases where the content will not have it's own scrollbar.
|
|
23
|
+
*
|
|
24
|
+
* Requires `setOverflow` to be set to true.
|
|
25
|
+
*
|
|
26
|
+
* Always enable this when when the card is not resolved so the connect account button is not hiddden.
|
|
27
|
+
*/
|
|
22
28
|
allowScrollBar?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Should the CSS `overflow` property be set to hidden or auto (clipping or
|
|
31
|
+
* supporting a scroll bar), or left out altogether.
|
|
32
|
+
*
|
|
33
|
+
* Set to true when embed is unresolved to prevent account connection button being unreachable.
|
|
34
|
+
*
|
|
35
|
+
* Set to false when the card is resolved to mitigate blurry embed card issue (EDM-7188).
|
|
36
|
+
* @default true
|
|
37
|
+
*/
|
|
38
|
+
setOverflow?: boolean;
|
|
23
39
|
}
|
|
24
|
-
export declare const ExpandedFrame:
|
|
40
|
+
export declare const ExpandedFrame: ({ isPlaceholder, children, onClick, icon, text, isSelected, frameStyle, href, minWidth, maxWidth, testId, inheritDimensions, allowScrollBar, setOverflow, }: ExpandedFrameProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface ImageIconProps {
|
|
3
3
|
alt?: string;
|
|
4
4
|
size?: number;
|
|
@@ -6,4 +6,4 @@ export interface ImageIconProps {
|
|
|
6
6
|
title?: string;
|
|
7
7
|
default?: React.ReactElement;
|
|
8
8
|
}
|
|
9
|
-
export declare const ImageIcon:
|
|
9
|
+
export declare const ImageIcon: ({ alt, src, size, title, default: defaultIcon, }: ImageIconProps) => JSX.Element | null;
|
|
@@ -45,7 +45,14 @@ export declare const TooltipWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
45
45
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
46
46
|
export interface ContentProps {
|
|
47
47
|
isInteractive: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to show a scroll bar (use overflow: auto) or hide overflow (overflow:hidden).
|
|
50
|
+
* Always set to true for unresolved embeds, otherwise the connect account button may be hidden and unreachable.
|
|
51
|
+
*/
|
|
48
52
|
allowScrollBar: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Remove the overflow: ... CSS property altogether.
|
|
55
|
+
*/
|
|
49
56
|
removeOverflow?: boolean;
|
|
50
57
|
frameStyle?: FrameStyle;
|
|
51
58
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type ForbiddenViewProps } from './types';
|
|
3
|
-
declare const ForbiddenView:
|
|
3
|
+
declare const ForbiddenView: ({ context, onAuthorize, accessContext, testId, ...unresolvedViewProps }: ForbiddenViewProps) => JSX.Element;
|
|
4
4
|
export default ForbiddenView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { NotFoundViewProps } from './types';
|
|
3
|
-
declare const NotFoundView:
|
|
3
|
+
declare const NotFoundView: ({ context, accessContext, testId, ...unresolvedViewProps }: NotFoundViewProps) => JSX.Element;
|
|
4
4
|
export default NotFoundView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type UnauthorizedViewProps } from './types';
|
|
3
|
-
declare const UnauthorizedView:
|
|
3
|
+
declare const UnauthorizedView: ({ analytics, context, extensionKey, isProductIntegrationSupported, onAuthorize, testId, ...unresolvedViewProps }: UnauthorizedViewProps) => JSX.Element;
|
|
4
4
|
export default UnauthorizedView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import type { UnresolvedViewProps } from './types';
|
|
3
|
-
declare const UnresolvedView:
|
|
3
|
+
declare const UnresolvedView: ({ button, description, frameStyle, icon: iconUrlOrElement, image: imageUrlOrElement, inheritDimensions, isSelected, onClick, testId, text, title, url, }: UnresolvedViewProps) => jsx.JSX.Element;
|
|
4
4
|
export default UnresolvedView;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type EmbedModalProps } from '../../types';
|
|
3
3
|
import { type WithAnalytics } from './types';
|
|
4
|
-
declare const withAnalytics: (Component: React.ComponentType<EmbedModalProps>) =>
|
|
4
|
+
declare const withAnalytics: (Component: React.ComponentType<EmbedModalProps>) => (props: EmbedModalProps & WithAnalytics) => JSX.Element;
|
|
5
5
|
export default withAnalytics;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { type FC } from 'react';
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
3
2
|
import { type EmbedProps } from './types';
|
|
4
|
-
declare const EmbedContent:
|
|
3
|
+
declare const EmbedContent: ({ isTrusted, name, src, testId }: EmbedProps) => jsx.JSX.Element;
|
|
5
4
|
export default EmbedContent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type EmbedModalProps } from '../../types';
|
|
3
|
-
declare const withErrorBoundary: (Component: React.ComponentType<EmbedModalProps>) =>
|
|
3
|
+
declare const withErrorBoundary: (Component: React.ComponentType<EmbedModalProps>) => (props: EmbedModalProps) => JSX.Element;
|
|
4
4
|
export default withErrorBoundary;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { type LinkInfoProps } from './types';
|
|
3
|
-
declare const LinkInfo:
|
|
4
|
+
declare const LinkInfo: ({ icon, providerName, onDownloadButtonClick, onResizeButtonClick, onViewButtonClick, size, testId, title, }: LinkInfoProps) => jsx.JSX.Element;
|
|
4
5
|
export default LinkInfo;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type LinkInfoButtonProps } from './types';
|
|
3
|
-
declare const LinkInfoButton:
|
|
3
|
+
declare const LinkInfoButton: ({ content, href, icon, onClick, target, testId }: LinkInfoButtonProps) => JSX.Element;
|
|
4
4
|
export default LinkInfoButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { EmbedModalSize } from './types';
|
|
3
|
-
declare const _default:
|
|
3
|
+
declare const _default: (props: {
|
|
4
4
|
download?: string | undefined;
|
|
5
5
|
icon?: import("../common/Icon").IconProps | undefined;
|
|
6
6
|
iframeName: string;
|
|
@@ -17,5 +17,5 @@ declare const _default: React.FC<{
|
|
|
17
17
|
testId?: string | undefined;
|
|
18
18
|
title?: string | undefined;
|
|
19
19
|
url?: string | undefined;
|
|
20
|
-
} & import("./components/analytics/types").WithAnalytics
|
|
20
|
+
} & import("./components/analytics/types").WithAnalytics) => JSX.Element;
|
|
21
21
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
3
2
|
import { type ActionButtonProps } from './types';
|
|
4
|
-
declare const ActionButton:
|
|
3
|
+
declare const ActionButton: ({ appearance, content, iconAfter, iconBefore, isLoading, onClick, overrideCss, size, testId, tooltipMessage, isDisabled, href, ariaLabel, }: ActionButtonProps) => jsx.JSX.Element;
|
|
5
4
|
export default ActionButton;
|
package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type ActionDropdownItemProps } from './types';
|
|
3
|
-
declare const ActionDropdownItem:
|
|
3
|
+
declare const ActionDropdownItem: ({ content, iconAfter, iconBefore, isLoading, onClick, testId, }: ActionDropdownItemProps) => JSX.Element;
|
|
4
4
|
export default ActionDropdownItem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
3
|
import { type ActionIconProps } from './types';
|
|
4
|
-
declare const ActionIcon:
|
|
4
|
+
declare const ActionIcon: ({ size, testId, icon, isDisabled, asStackItemIcon }: ActionIconProps) => jsx.JSX.Element;
|
|
5
5
|
export default ActionIcon;
|