@atlaskit/smart-card 27.9.1 → 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 +8 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- 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/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/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 +2 -2
- package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +2 -2
- 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 +2 -2
- package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +2 -2
- 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 +1 -1
|
@@ -7,12 +7,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
10
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
12
11
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
13
12
|
var _reactIntlNext = require("react-intl-next");
|
|
14
13
|
var _styled = require("./styled");
|
|
15
|
-
var
|
|
14
|
+
var _react = require("@emotion/react");
|
|
16
15
|
var _messages = require("../../../messages");
|
|
17
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -27,33 +26,33 @@ var WarningModal = function WarningModal(props) {
|
|
|
27
26
|
onClose = props.onClose,
|
|
28
27
|
onContinue = props.onContinue,
|
|
29
28
|
intl = props.intl;
|
|
30
|
-
var content = (0,
|
|
29
|
+
var content = (0, _react.jsx)(_modalDialog.ModalTransition, null, isOpen && (0, _react.jsx)(_modalDialog.default, {
|
|
31
30
|
onClose: onClose,
|
|
32
31
|
testId: "link-with-safety-warning"
|
|
33
|
-
}, (0,
|
|
32
|
+
}, (0, _react.jsx)(_modalDialog.ModalHeader, null, (0, _react.jsx)(_modalDialog.ModalTitle, {
|
|
34
33
|
appearance: "warning"
|
|
35
|
-
}, (0,
|
|
34
|
+
}, (0, _react.jsx)(_reactIntlNext.FormattedMessage, _messages.messages.check_this_link))), (0, _react.jsx)(_modalDialog.ModalBody, null, (0, _react.jsx)("div", {
|
|
36
35
|
css: _styled.breakWordsCss
|
|
37
|
-
}, url && unsafeLinkText && (0,
|
|
36
|
+
}, url && unsafeLinkText && (0, _react.jsx)(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.link_safety_warning_message, {
|
|
38
37
|
values: {
|
|
39
38
|
unsafeLinkText: unsafeLinkText,
|
|
40
39
|
a: function a() {
|
|
41
|
-
return (0,
|
|
40
|
+
return (0, _react.jsx)("a", {
|
|
42
41
|
href: url,
|
|
43
42
|
target: "_blank",
|
|
44
43
|
rel: "noopener noreferrer"
|
|
45
44
|
}, url);
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
|
-
})))), (0,
|
|
47
|
+
})))), (0, _react.jsx)(_modalDialog.ModalFooter, null, (0, _react.jsx)(_standardButton.default, {
|
|
49
48
|
appearance: "subtle",
|
|
50
49
|
onClick: onClose
|
|
51
|
-
}, (0,
|
|
50
|
+
}, (0, _react.jsx)(_reactIntlNext.FormattedMessage, _messages.messages.go_back)), (0, _react.jsx)(_standardButton.default, {
|
|
52
51
|
appearance: "warning",
|
|
53
52
|
onClick: onContinue,
|
|
54
53
|
autoFocus: true
|
|
55
|
-
}, (0,
|
|
56
|
-
return intl ? content : (0,
|
|
54
|
+
}, (0, _react.jsx)(_reactIntlNext.FormattedMessage, _messages.messages.continue)))));
|
|
55
|
+
return intl ? content : (0, _react.jsx)(_reactIntlNext.IntlProvider, {
|
|
57
56
|
locale: "en"
|
|
58
57
|
}, content);
|
|
59
58
|
};
|
|
@@ -17,7 +17,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
|
|
|
17
17
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
18
18
|
var PACKAGE_DATA = {
|
|
19
19
|
packageName: "@atlaskit/smart-card",
|
|
20
|
-
packageVersion: "27.9.
|
|
20
|
+
packageVersion: "27.9.2",
|
|
21
21
|
componentName: 'linkUrl'
|
|
22
22
|
};
|
|
23
23
|
var Link = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -20,8 +20,8 @@ var emptyStateStyles = (0, _primitives.xcss)({
|
|
|
20
20
|
textAlign: 'center'
|
|
21
21
|
});
|
|
22
22
|
var descriptionStyles = (0, _primitives.xcss)({
|
|
23
|
-
marginTop:
|
|
24
|
-
marginBottom:
|
|
23
|
+
marginTop: 'space.0',
|
|
24
|
+
marginBottom: 'space.300',
|
|
25
25
|
color: 'color.text'
|
|
26
26
|
});
|
|
27
27
|
var EmptyState = exports.EmptyState = function EmptyState(_ref) {
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
7
|
var _react = require("@emotion/react");
|
|
9
|
-
var _react2 =
|
|
8
|
+
var _react2 = require("react");
|
|
10
9
|
var _constants = require("../constants");
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
10
|
/** @jsx jsx */
|
|
14
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
12
|
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.borderContentStyles = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
|
-
var _react2 = _interopRequireDefault(require("react"));
|
|
10
9
|
var _animatedSvgContainer = _interopRequireDefault(require("./animated-svg-container"));
|
|
11
10
|
var _constants = require("../constants");
|
|
12
11
|
/** @jsx jsx */
|
|
@@ -5,9 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
8
|
var _markdownToJsx = _interopRequireDefault(require("markdown-to-jsx"));
|
|
10
|
-
var
|
|
9
|
+
var _react = require("@emotion/react");
|
|
11
10
|
var _aiStateIndicator = _interopRequireDefault(require("../../FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator"));
|
|
12
11
|
var _ulist = _interopRequireDefault(require("./ulist"));
|
|
13
12
|
/** @jsx jsx */
|
|
@@ -15,13 +14,13 @@ var _ulist = _interopRequireDefault(require("./ulist"));
|
|
|
15
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
15
|
|
|
17
16
|
var AITooltipIcon = function AITooltipIcon() {
|
|
18
|
-
return (0,
|
|
17
|
+
return (0, _react.jsx)(_aiStateIndicator.default, {
|
|
19
18
|
appearance: "icon-only",
|
|
20
19
|
state: "done",
|
|
21
20
|
testId: "ai-tooltip"
|
|
22
21
|
});
|
|
23
22
|
};
|
|
24
|
-
var AISummaryCSSStyles = (0,
|
|
23
|
+
var AISummaryCSSStyles = (0, _react.css)({
|
|
25
24
|
fontSize: '0.75rem',
|
|
26
25
|
lineHeight: '1rem',
|
|
27
26
|
wordWrap: 'break-word',
|
|
@@ -52,7 +51,7 @@ var AISummary = function AISummary(_ref) {
|
|
|
52
51
|
if (!content && minHeight === 0) {
|
|
53
52
|
return null;
|
|
54
53
|
}
|
|
55
|
-
return (0,
|
|
54
|
+
return (0, _react.jsx)(_markdownToJsx.default, {
|
|
56
55
|
"data-testid": testId,
|
|
57
56
|
css: [AISummaryCSSStyles, overrideCss],
|
|
58
57
|
children: showIcon ? "".concat(content, " <Icon />") : content,
|
|
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export const context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "27.9.
|
|
7
|
+
packageVersion: "27.9.2"
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import VidFullScreenOnIcon from '@atlaskit/icon/glyph/vid-full-screen-on';
|
|
3
3
|
import MediaServicesActualSizeIcon from '@atlaskit/icon/glyph/media-services/actual-size';
|
|
4
|
-
import {
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
5
|
import React, { useCallback } from 'react';
|
|
6
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
7
|
import { ActionName } from '../../../../../constants';
|
|
@@ -11,8 +11,8 @@ import useInvokeClientAction from '../../../../../state/hooks/use-invoke-client-
|
|
|
11
11
|
import { openEmbedModalWithFlexibleUiIcon } from '../../utils';
|
|
12
12
|
import Action from '../action';
|
|
13
13
|
const getIconFF = () => {
|
|
14
|
-
if (
|
|
15
|
-
if (
|
|
14
|
+
if (fg('platform.linking-platform.smart-card.hover-card-action-redesign')) {
|
|
15
|
+
if (fg('platform.linking-platform.smart-card.action-icon-redesign')) {
|
|
16
16
|
return MediaServicesActualSizeIcon;
|
|
17
17
|
}
|
|
18
18
|
}
|
package/dist/es2019/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js
CHANGED
|
@@ -2,7 +2,7 @@ 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
|
|
5
|
+
import { useCallback } from 'react';
|
|
6
6
|
import * as Actions from '../../../actions';
|
|
7
7
|
const ActionGroupItem = ({
|
|
8
8
|
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';
|
|
@@ -57,7 +57,7 @@ const AIStateDone = ({
|
|
|
57
57
|
size: "small",
|
|
58
58
|
testId: `${testId}-done-icon`
|
|
59
59
|
});
|
|
60
|
-
const title =
|
|
60
|
+
const title = fg('platform.linking-platform.smart-card.hover-card-ai-summaries-release-stable') ? jsx(Box, {
|
|
61
61
|
testId: `${testId}-done-message`
|
|
62
62
|
}, jsx(FormattedMessage, messages.ai_summarized)) : jsx(React.Fragment, null, jsx(Box, {
|
|
63
63
|
testId: `${testId}-done-message`
|
package/dist/es2019/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';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
-
import React from 'react';
|
|
4
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
4
|
import { jsx } from '@emotion/react';
|
|
6
5
|
import { SmartLinkStatus } from '../../../../../constants';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
-
import
|
|
3
|
+
import { useCallback, useEffect, useState } from 'react';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { MediaPlacement } from '../../../../../../constants';
|
|
@@ -11,7 +11,7 @@ const MINIMUM_MAX_LINES = 1;
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents a SnippetBlock, which is used to display longer form text content, like descriptions.
|
|
13
13
|
* @public
|
|
14
|
-
* @param {
|
|
14
|
+
* @param {SnippetBlockProps} SnippetBlockProps
|
|
15
15
|
* @see Block
|
|
16
16
|
*/
|
|
17
17
|
const SnippetBlock = ({
|
|
@@ -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 { 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';
|
|
@@ -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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
-
import
|
|
3
|
+
import { useContext } from 'react';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import { FlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
@@ -2,7 +2,7 @@ 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 { css, jsx } from '@emotion/react';
|
|
5
|
-
import
|
|
5
|
+
import { useContext } from 'react';
|
|
6
6
|
import { FlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
7
7
|
import Text from '../text';
|
|
8
8
|
const 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';
|
|
@@ -7,7 +7,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
|
|
|
7
7
|
import LinkWarningModal from './LinkWarningModal';
|
|
8
8
|
const PACKAGE_DATA = {
|
|
9
9
|
packageName: "@atlaskit/smart-card",
|
|
10
|
-
packageVersion: "27.9.
|
|
10
|
+
packageVersion: "27.9.2",
|
|
11
11
|
componentName: 'linkUrl'
|
|
12
12
|
};
|
|
13
13
|
const Link = withLinkClickedEvent('a');
|
|
@@ -13,8 +13,8 @@ const emptyStateStyles = xcss({
|
|
|
13
13
|
textAlign: 'center'
|
|
14
14
|
});
|
|
15
15
|
const descriptionStyles = xcss({
|
|
16
|
-
marginTop:
|
|
17
|
-
marginBottom:
|
|
16
|
+
marginTop: 'space.0',
|
|
17
|
+
marginBottom: 'space.300',
|
|
18
18
|
color: 'color.text'
|
|
19
19
|
});
|
|
20
20
|
export const EmptyState = ({
|
|
@@ -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
|
let namespaceUUID = 0;
|
|
7
7
|
const 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
|
const borderContainerStyles = css({
|
|
@@ -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";
|
|
@@ -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';
|