@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
|
@@ -11,87 +11,87 @@ import { type AtlaskitBadgeProps } from './atlaskit-badge/types';
|
|
|
11
11
|
* Creates a AssignedTo text element using the data from AssignedTo in the Flexible UI Context.
|
|
12
12
|
* @see Text
|
|
13
13
|
*/
|
|
14
|
-
export declare const AssignedTo: import("react").
|
|
14
|
+
export declare const AssignedTo: import("react").ComponentType<TextProps>;
|
|
15
15
|
/**
|
|
16
16
|
* An AvatarGroup element using the data from AssignedToGroup in the Flexible UI Context.
|
|
17
17
|
* @see AvatarGroup
|
|
18
18
|
*/
|
|
19
|
-
export declare const AssignedToGroup: import("react").
|
|
19
|
+
export declare const AssignedToGroup: import("react").ComponentType<AvatarGroupProps>;
|
|
20
20
|
/**
|
|
21
21
|
* Creates a AttachmentCount Badge element using the data from AttachmentCount in the Flexible UI Context.
|
|
22
22
|
* @see Badge
|
|
23
23
|
*/
|
|
24
|
-
export declare const AttachmentCount: import("react").
|
|
24
|
+
export declare const AttachmentCount: import("react").ComponentType<BadgeProps>;
|
|
25
25
|
/**
|
|
26
26
|
* An AvatarGroup element using the data from AuthorGroup in the Flexible UI Context.
|
|
27
27
|
* @see AvatarGroup
|
|
28
28
|
*/
|
|
29
|
-
export declare const AuthorGroup: import("react").
|
|
29
|
+
export declare const AuthorGroup: import("react").ComponentType<AvatarGroupProps>;
|
|
30
30
|
/**
|
|
31
31
|
* Creates a Checklist Badge element using the data from ChecklistProgress in the Flexible UI Context.
|
|
32
32
|
* @see Badge
|
|
33
33
|
*/
|
|
34
|
-
export declare const ChecklistProgress: import("react").
|
|
34
|
+
export declare const ChecklistProgress: import("react").ComponentType<BadgeProps>;
|
|
35
35
|
/**
|
|
36
36
|
* An AvatarGroup element using the data from CollaboratorGroup in the Flexible UI Context.
|
|
37
37
|
* @see AvatarGroup
|
|
38
38
|
*/
|
|
39
|
-
export declare const CollaboratorGroup: import("react").
|
|
39
|
+
export declare const CollaboratorGroup: import("react").ComponentType<AvatarGroupProps>;
|
|
40
40
|
/**
|
|
41
41
|
* Creates a CommentCount Badge element using the data from CommentCount in the Flexible UI Context.
|
|
42
42
|
* @see Badge
|
|
43
43
|
*/
|
|
44
|
-
export declare const CommentCount: import("react").
|
|
44
|
+
export declare const CommentCount: import("react").ComponentType<BadgeProps>;
|
|
45
45
|
/**
|
|
46
46
|
* Creates a CreatedOn DateTime element using the data from CreatedOn in the Flexible UI Context.
|
|
47
47
|
* @see DateTime
|
|
48
48
|
*/
|
|
49
|
-
export declare const CreatedOn: import("react").
|
|
49
|
+
export declare const CreatedOn: import("react").ComponentType<DateTimeProps>;
|
|
50
50
|
/**
|
|
51
51
|
* Creates a CreatedBy text element using the data from CreatedBy in the Flexible UI Context.
|
|
52
52
|
* @see Text
|
|
53
53
|
*/
|
|
54
|
-
export declare const CreatedBy: import("react").
|
|
54
|
+
export declare const CreatedBy: import("react").ComponentType<TextProps>;
|
|
55
55
|
/**
|
|
56
56
|
* Creates a DueOn Lozenge element using the data from dueOn in the Flexible UI Context.
|
|
57
57
|
* @see Lozenge
|
|
58
58
|
*/
|
|
59
|
-
export declare const DueOn: import("react").
|
|
59
|
+
export declare const DueOn: import("react").ComponentType<LozengeProps>;
|
|
60
60
|
/**
|
|
61
61
|
* Creates an element that contains Last Commit hash
|
|
62
62
|
*/
|
|
63
|
-
export declare const LatestCommit: import("react").
|
|
63
|
+
export declare const LatestCommit: import("react").ComponentType<BadgeProps>;
|
|
64
64
|
/**
|
|
65
65
|
* Creates a LinkIcon Icon element using the data from LinkIcon in the Flexible UI Context.
|
|
66
66
|
* @see Icon
|
|
67
67
|
*/
|
|
68
|
-
export declare const LinkIcon: import("react").
|
|
68
|
+
export declare const LinkIcon: import("react").ComponentType<IconProps>;
|
|
69
69
|
/**
|
|
70
70
|
* Creates a Location Link element.
|
|
71
71
|
* This represents the location or container of the resource.
|
|
72
72
|
* @see Link
|
|
73
73
|
*/
|
|
74
|
-
export declare const Location: import("react").
|
|
74
|
+
export declare const Location: import("react").ComponentType<LinkProps>;
|
|
75
75
|
/**
|
|
76
76
|
* Creates a ModifiedBy Text element using the data from ModifiedBy in the Flexible UI Context.
|
|
77
77
|
* @see Text
|
|
78
78
|
*/
|
|
79
|
-
export declare const ModifiedBy: import("react").
|
|
79
|
+
export declare const ModifiedBy: import("react").ComponentType<TextProps>;
|
|
80
80
|
/**
|
|
81
81
|
* Creates a ModifiedOn DateTime element using the data from ModifiedOn in the Flexible UI Context.
|
|
82
82
|
* @see DateTime
|
|
83
83
|
*/
|
|
84
|
-
export declare const ModifiedOn: import("react").
|
|
84
|
+
export declare const ModifiedOn: import("react").ComponentType<DateTimeProps>;
|
|
85
85
|
/**
|
|
86
86
|
* Creates a OwnedBy text element using the data from OwnedBy in the Flexible UI Context.
|
|
87
87
|
* @see Text
|
|
88
88
|
*/
|
|
89
|
-
export declare const OwnedBy: import("react").
|
|
89
|
+
export declare const OwnedBy: import("react").ComponentType<TextProps>;
|
|
90
90
|
/**
|
|
91
91
|
* An AvatarGroup element using the data from OwnedByGroup in the Flexible UI Context.
|
|
92
92
|
* @see AvatarGroup
|
|
93
93
|
*/
|
|
94
|
-
export declare const OwnedByGroup: import("react").
|
|
94
|
+
export declare const OwnedByGroup: import("react").ComponentType<AvatarGroupProps>;
|
|
95
95
|
/**
|
|
96
96
|
* Creates a Preview element using the data from Preview in the Flexible UI Context.
|
|
97
97
|
* @see Preview
|
|
@@ -101,31 +101,31 @@ export { default as Preview } from './preview';
|
|
|
101
101
|
* Creates a Priority Badge element using the data from Priority in the Flexible UI Context.
|
|
102
102
|
* @see Badge
|
|
103
103
|
*/
|
|
104
|
-
export declare const Priority: import("react").
|
|
104
|
+
export declare const Priority: import("react").ComponentType<BadgeProps>;
|
|
105
105
|
/**
|
|
106
106
|
* Creates a ProgrammingLanguage Badge element using the data from ProgrammingLanguage in the Flexible UI Context.
|
|
107
107
|
* @see Badge
|
|
108
108
|
*/
|
|
109
|
-
export declare const ProgrammingLanguage: import("react").
|
|
109
|
+
export declare const ProgrammingLanguage: import("react").ComponentType<BadgeProps>;
|
|
110
110
|
/**
|
|
111
111
|
* Creates a Provider Badge element using the data from Provider in the Flexible UI Context.
|
|
112
112
|
* @see Badge
|
|
113
113
|
*/
|
|
114
|
-
export declare const Provider: import("react").
|
|
114
|
+
export declare const Provider: import("react").ComponentType<BadgeProps>;
|
|
115
115
|
/**
|
|
116
116
|
* Creates a ReactCount Badge element using the data from ReactCount in the Flexible UI Context.
|
|
117
117
|
* @see Badge
|
|
118
118
|
*/
|
|
119
|
-
export declare const ReactCount: import("react").
|
|
119
|
+
export declare const ReactCount: import("react").ComponentType<BadgeProps>;
|
|
120
120
|
/**
|
|
121
121
|
* Creates a ReadTime Text element using the data from readTime in the Flexible UI Context
|
|
122
122
|
*/
|
|
123
|
-
export declare const ReadTime: import("react").
|
|
123
|
+
export declare const ReadTime: import("react").ComponentType<TextProps>;
|
|
124
124
|
/**
|
|
125
125
|
* Creates a SentOn DateTime element using the data from SentOn in the Flexible UI Context.
|
|
126
126
|
* @see DateTime
|
|
127
127
|
*/
|
|
128
|
-
export declare const SentOn: import("react").
|
|
128
|
+
export declare const SentOn: import("react").ComponentType<DateTimeProps>;
|
|
129
129
|
/**
|
|
130
130
|
* Creates a Snippet element using the data from Snippet in the Flexible UI Context.
|
|
131
131
|
* @see Text
|
|
@@ -135,45 +135,45 @@ export { default as Snippet } from './snippet-element';
|
|
|
135
135
|
* Creates a SourceBranch Text element using the data from sourceBranch in the Flexible UI Context.
|
|
136
136
|
* @see Text
|
|
137
137
|
*/
|
|
138
|
-
export declare const SourceBranch: import("react").
|
|
138
|
+
export declare const SourceBranch: import("react").ComponentType<TextProps>;
|
|
139
139
|
/**
|
|
140
140
|
* Creates a State Lozenge element using the data from State in the Flexible UI Context.
|
|
141
141
|
* @see Lozenge
|
|
142
142
|
*/
|
|
143
|
-
export declare const State: import("react").
|
|
143
|
+
export declare const State: import("react").ComponentType<LozengeProps>;
|
|
144
144
|
/**
|
|
145
145
|
* Creates a SubscriberCount Badge element using the data from SubscriberCount in the Flexible UI Context.
|
|
146
146
|
* @see Badge
|
|
147
147
|
*/
|
|
148
|
-
export declare const SubscriberCount: import("react").
|
|
148
|
+
export declare const SubscriberCount: import("react").ComponentType<BadgeProps>;
|
|
149
149
|
/**
|
|
150
150
|
* Create a SubTasks Badge element using the data from subTasks in the Flexible UI Context.
|
|
151
151
|
* @see Badge
|
|
152
152
|
*/
|
|
153
|
-
export declare const SubTasksProgress: import("react").
|
|
153
|
+
export declare const SubTasksProgress: import("react").ComponentType<BadgeProps>;
|
|
154
154
|
/**
|
|
155
155
|
* Create a StoryPoints Badge element using the data from storyPoints in the Flexible UI Context.
|
|
156
156
|
* @see AtlaskitBadge
|
|
157
157
|
*/
|
|
158
|
-
export declare const StoryPoints: import("react").
|
|
158
|
+
export declare const StoryPoints: import("react").ComponentType<AtlaskitBadgeProps>;
|
|
159
159
|
/**
|
|
160
160
|
* Creates a TargetBranch Text element using the data from targetBranch in the Flexible UI Context.
|
|
161
161
|
* @see Text
|
|
162
162
|
*/
|
|
163
|
-
export declare const TargetBranch: import("react").
|
|
163
|
+
export declare const TargetBranch: import("react").ComponentType<TextProps>;
|
|
164
164
|
/**
|
|
165
165
|
* Creates a Title Link element using the data from Title in the Flexible UI Context.
|
|
166
166
|
* This represents the main link text within the Smart Link.
|
|
167
167
|
* @see Link
|
|
168
168
|
*/
|
|
169
|
-
export declare const Title: import("react").
|
|
169
|
+
export declare const Title: import("react").ComponentType<LinkProps>;
|
|
170
170
|
/**
|
|
171
171
|
* Creates a ViewCount Badge element using the data from ViewCount in the Flexible UI Context.
|
|
172
172
|
* @see Badge
|
|
173
173
|
*/
|
|
174
|
-
export declare const ViewCount: import("react").
|
|
174
|
+
export declare const ViewCount: import("react").ComponentType<BadgeProps>;
|
|
175
175
|
/**
|
|
176
176
|
* Creates a VoteCount Badge element using the data from VoteCount in the Flexible UI Context.
|
|
177
177
|
* @see Badge
|
|
178
178
|
*/
|
|
179
|
-
export declare const VoteCount: import("react").
|
|
179
|
+
export declare const VoteCount: import("react").ComponentType<BadgeProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
3
2
|
import { type LinkProps } from './types';
|
|
4
3
|
/**
|
|
5
4
|
* A base element that represent an anchor.
|
|
@@ -7,5 +6,5 @@ import { type LinkProps } from './types';
|
|
|
7
6
|
* @param {LinkProps} LinkProps - The props necessary for the Link element.
|
|
8
7
|
* @see LinkIcon
|
|
9
8
|
*/
|
|
10
|
-
declare const Link:
|
|
9
|
+
declare const Link: ({ hideTooltip, maxLines, name, overrideCss, size, testId, text, theme, url, onClick, target, }: LinkProps) => jsx.JSX.Element;
|
|
11
10
|
export default Link;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
3
|
import type { LozengeProps } from './types';
|
|
4
4
|
/**
|
|
5
5
|
* A base element that displays a Lozenge.
|
|
@@ -7,5 +7,5 @@ import type { LozengeProps } from './types';
|
|
|
7
7
|
* @param {LozengeProps} LozengeProps - The props necessary for the Lozenge element.
|
|
8
8
|
* @see State
|
|
9
9
|
*/
|
|
10
|
-
declare const Lozenge:
|
|
10
|
+
declare const Lozenge: ({ action, appearance, name, overrideCss, style, text, testId, }: LozengeProps) => jsx.JSX.Element | null;
|
|
11
11
|
export default Lozenge;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentType
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
2
|
import type { LozengeActionProps } from '../types';
|
|
3
|
-
declare const withErrorBoundary: (Component: ComponentType<LozengeActionProps>) =>
|
|
3
|
+
declare const withErrorBoundary: (Component: ComponentType<LozengeActionProps>) => (props: LozengeActionProps) => 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 { LozengeActionErrorProps } from './types';
|
|
3
|
-
declare const LozengeActionError:
|
|
4
|
+
declare const LozengeActionError: ({ errorMessage, testId, maxLineNumber, url, previewData, }: LozengeActionErrorProps) => jsx.JSX.Element;
|
|
4
5
|
export default LozengeActionError;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { LozengeActionItemProps } from './types';
|
|
3
|
-
declare const LozengeActionItem:
|
|
3
|
+
declare const LozengeActionItem: ({ appearance, id, onClick, testId, text }: LozengeActionItemProps) => JSX.Element;
|
|
4
4
|
export default LozengeActionItem;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import type { LozengeActionItemsGroupProps } from './types';
|
|
3
|
-
declare const LozengeActionItemsGroup:
|
|
4
|
+
declare const LozengeActionItemsGroup: ({ items, testId, onClick }: LozengeActionItemsGroupProps) => jsx.JSX.Element;
|
|
4
5
|
export default LozengeActionItemsGroup;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { type LozengeActionTriggerProps } from './type';
|
|
3
|
-
declare const LozengeActionTrigger:
|
|
4
|
+
declare const LozengeActionTrigger: ({ appearance, isOpen, testId, text, triggerRef, ...props }: LozengeActionTriggerProps) => jsx.JSX.Element;
|
|
4
5
|
export default LozengeActionTrigger;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
3
|
import { type MediaProps } from './types';
|
|
4
4
|
/**
|
|
5
5
|
* A base element that displays a Media.
|
|
@@ -7,5 +7,5 @@ import { type MediaProps } from './types';
|
|
|
7
7
|
* @param {MediaProps} MediaProps - The props necessary for the Media element.
|
|
8
8
|
* @see Preview
|
|
9
9
|
*/
|
|
10
|
-
declare const Media:
|
|
10
|
+
declare const Media: ({ name, overrideCss, testId, type, url, onLoad, onError, }: MediaProps) => jsx.JSX.Element | null;
|
|
11
11
|
export default Media;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
3
2
|
import { type PreviewProps } from './types';
|
|
4
|
-
declare const Preview:
|
|
3
|
+
declare const Preview: (props: PreviewProps) => jsx.JSX.Element | null;
|
|
5
4
|
export default Preview;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { type TextProps } from '../text/types';
|
|
3
|
-
declare const SnippetElement:
|
|
4
|
+
declare const SnippetElement: ({ content: overrideContent, maxLines, overrideCss, ...props }?: TextProps) => jsx.JSX.Element;
|
|
4
5
|
export default SnippetElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
3
|
import { type TextProps } from './types';
|
|
4
4
|
/**
|
|
5
5
|
* A base element that displays some Text.
|
|
@@ -7,5 +7,5 @@ import { type TextProps } from './types';
|
|
|
7
7
|
* @param {TextProps} TextProps - The props necessary for the Text element.
|
|
8
8
|
* @see Title
|
|
9
9
|
*/
|
|
10
|
-
declare const Text:
|
|
10
|
+
declare const Text: ({ content, maxLines, message, name, overrideCss, testId, }: TextProps) => jsx.JSX.Element | null;
|
|
11
11
|
export default Text;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type FlexibleCardProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* This represents a Flexible Card: a link represented by a card with metadata.
|
|
@@ -6,5 +6,5 @@ import { type FlexibleCardProps } from './types';
|
|
|
6
6
|
* Note: TitleBlock is mandatory for a Flexible Card to render.
|
|
7
7
|
* @see Container
|
|
8
8
|
*/
|
|
9
|
-
declare const FlexibleCard:
|
|
9
|
+
declare const FlexibleCard: ({ analytics, appearance, cardState, children, id, onAuthorize, onClick, onError, onResolve, renderers, showAuthTooltip, showHoverPreview, hoverPreviewOptions, actionOptions, testId, ui, url, }: FlexibleCardProps) => JSX.Element;
|
|
10
10
|
export default FlexibleCard;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import { type HoverCardComponentProps } from '../types';
|
|
3
|
-
export declare const HoverCardComponent:
|
|
3
|
+
export declare const HoverCardComponent: ({ children, url, id, analyticsHandler, canOpen, closeOnChildClick, hidePreviewButton, showServerActions, actionOptions: actionOptionsProp, allowEventPropagation, zIndex, noFadeDelay, hoverPreviewOptions, }: HoverCardComponentProps) => jsx.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type ImagePreviewProps } from '../types';
|
|
3
|
-
declare const ImagePreview:
|
|
3
|
+
declare const ImagePreview: ({ data, fallbackElementHeight }: ImagePreviewProps) => JSX.Element | null;
|
|
4
4
|
export default ImagePreview;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type HoverCardForbiddenProps } from './types';
|
|
3
|
-
declare const HoverCardForbiddenView:
|
|
3
|
+
declare const HoverCardForbiddenView: ({ flexibleCardProps, testId, }: HoverCardForbiddenProps) => JSX.Element | null;
|
|
4
4
|
export default HoverCardForbiddenView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type HoverCardResolvedProps } from './types';
|
|
3
|
-
declare const HoverCardResolvedView:
|
|
3
|
+
declare const HoverCardResolvedView: ({ analytics, cardState, extensionKey, flexibleCardProps, isAISummaryEnabled, onActionClick, titleBlockProps, }: HoverCardResolvedProps) => JSX.Element;
|
|
4
4
|
export default HoverCardResolvedView;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { type HoverCardLoadingViewProps } from './types';
|
|
3
|
-
declare const HoverCardLoadingView:
|
|
4
|
+
declare const HoverCardLoadingView: ({ titleBlockProps }: HoverCardLoadingViewProps) => jsx.JSX.Element;
|
|
4
5
|
export default HoverCardLoadingView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type HoverCardUnauthorisedProps } from './types';
|
|
3
|
-
declare const HoverCardUnauthorisedView:
|
|
3
|
+
declare const HoverCardUnauthorisedView: ({ analytics, extensionKey, id, flexibleCardProps, testId, url, }: HoverCardUnauthorisedProps) => JSX.Element;
|
|
4
4
|
export default HoverCardUnauthorisedView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type InlineCardProps } from './types';
|
|
3
3
|
import { InlineCardErroredView } from './ErroredView';
|
|
4
4
|
import { InlineCardForbiddenView } from './ForbiddenView';
|
|
@@ -6,4 +6,4 @@ import { InlineCardResolvedView } from './ResolvedView';
|
|
|
6
6
|
import { InlineCardResolvingView } from './ResolvingView';
|
|
7
7
|
import { InlineCardUnauthorizedView } from './UnauthorisedView';
|
|
8
8
|
export { InlineCardResolvedView, InlineCardResolvingView, InlineCardErroredView, InlineCardForbiddenView, InlineCardUnauthorizedView, };
|
|
9
|
-
export declare const InlineCard:
|
|
9
|
+
export declare const InlineCard: ({ analytics, id, url, cardState, handleAuthorize, handleFrameClick, isSelected, isHovered, renderers, onResolve, onError, testId, inlinePreloaderStyle, showHoverPreview, hoverPreviewOptions, showAuthTooltip, actionOptions, }: InlineCardProps) => JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
1
|
+
/// <reference types="react" />
|
|
3
2
|
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
3
|
interface LinkWarningModalProps {
|
|
5
4
|
isOpen: boolean;
|
|
@@ -8,7 +7,7 @@ interface LinkWarningModalProps {
|
|
|
8
7
|
unsafeLinkText: string | null;
|
|
9
8
|
url: string | null;
|
|
10
9
|
}
|
|
11
|
-
declare const _default:
|
|
12
|
-
WrappedComponent:
|
|
10
|
+
declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<LinkWarningModalProps & WrappedComponentProps>> & {
|
|
11
|
+
WrappedComponent: import("react").ComponentType<LinkWarningModalProps & WrappedComponentProps>;
|
|
13
12
|
};
|
|
14
13
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { type SVGProps } from '@atlaskit/icon/types';
|
|
3
4
|
/**
|
|
4
5
|
* this icon is theme agnostic, no need for tokens
|
|
5
6
|
*/
|
|
6
|
-
declare const AIIconLoading:
|
|
7
|
+
declare const AIIconLoading: (props: SVGProps) => jsx.JSX.Element;
|
|
7
8
|
export default AIIconLoading;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import type { AnimatedSvgContainerProps } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* The bulk of this file is originally from
|
|
5
6
|
* https://bitbucket.org/atlassian/barrel/src/master/ui/platform/ui-kit/ai
|
|
6
7
|
* with modifications.
|
|
7
8
|
*/
|
|
8
|
-
declare const AnimatedSvgContainer:
|
|
9
|
+
declare const AnimatedSvgContainer: ({ palette, isMoving, isGlowing, additionalCss, }: AnimatedSvgContainerProps) => jsx.JSX.Element;
|
|
9
10
|
export default AnimatedSvgContainer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import type { AIGlowingBorderProps } from './types';
|
|
3
4
|
export declare const borderContentStyles: import("@emotion/react").SerializedStyles;
|
|
4
5
|
/**
|
|
@@ -6,5 +7,5 @@ export declare const borderContentStyles: import("@emotion/react").SerializedSty
|
|
|
6
7
|
* https://bitbucket.org/atlassian/barrel/src/master/ui/platform/ui-kit/ai
|
|
7
8
|
* with modifications.
|
|
8
9
|
*/
|
|
9
|
-
declare const AIGlowingBorder:
|
|
10
|
+
declare const AIGlowingBorder: ({ children, palette, isMoving, isGlowing, testId, additionalCss, }: AIGlowingBorderProps) => jsx.JSX.Element;
|
|
10
11
|
export default AIGlowingBorder;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
2
|
import { type MarkdownToJSX } from 'markdown-to-jsx';
|
|
4
|
-
import { type SerializedStyles } from '@emotion/react';
|
|
3
|
+
import { type SerializedStyles, jsx } from '@emotion/react';
|
|
5
4
|
type AISummaryProps = {
|
|
6
5
|
content?: string;
|
|
7
6
|
showIcon?: boolean;
|
|
@@ -22,5 +21,5 @@ type AISummaryProps = {
|
|
|
22
21
|
* @internal
|
|
23
22
|
* @param {AISummaryProps} AISummaryProps
|
|
24
23
|
*/
|
|
25
|
-
declare const AISummary:
|
|
24
|
+
declare const AISummary: ({ content, showIcon, iconComponent, overrideCss, testId, minHeight, }: AISummaryProps) => jsx.JSX.Element | null;
|
|
26
25
|
export default AISummary;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
declare const UList: ({ children, ...props }: React.HTMLAttributes<HTMLUListElement>) => jsx.JSX.Element;
|
|
4
5
|
export default UList;
|
|
@@ -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;
|
package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts
CHANGED
|
@@ -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;
|