@atlaskit/smart-card 43.32.0 → 44.0.1
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 +36 -0
- package/analytics.spec.yaml +18 -1
- package/dist/cjs/messages.js +2 -2
- package/dist/cjs/state/hooks/use-ai-summary/index.js +2 -2
- package/dist/cjs/state/hooks/use-resolve-hyperlink/index.js +2 -3
- package/dist/cjs/utils/actions/to-action.js +2 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/actions/AuthorizeAction.js +3 -3
- package/dist/cjs/view/BlockCard/actions/ForbiddenAction.js +2 -2
- package/dist/cjs/view/BlockCard/actions/RetryAction.js +2 -2
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +2 -2
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +2 -2
- package/dist/cjs/view/BlockCard/views/UnauthorisedView.js +2 -2
- package/dist/cjs/view/Card/index.js +3 -3
- package/dist/cjs/view/CardWithUrl/component.js +4 -4
- package/dist/cjs/view/EmbedCard/views/ErroredView.js +3 -3
- package/dist/cjs/view/EmbedCard/views/forbidden-view/index.js +4 -4
- package/dist/cjs/view/EmbedCard/views/not-found-view/index.js +3 -3
- package/dist/cjs/view/EmbedCard/views/not-found-view/not-found-svg/index.js +2 -2
- package/dist/cjs/view/EmbedCard/views/unauthorized-view/index.js +7 -7
- package/dist/cjs/view/EmbedModal/components/link-info/index.js +6 -6
- package/dist/cjs/view/EmbedModal/components/link-info/link-info-button/index.js +2 -2
- package/dist/cjs/view/EmbedModal/index.js +26 -3
- package/dist/cjs/view/EmbedModal/utils.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +5 -5
- package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/utils.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +6 -6
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.js +6 -6
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/index.js +6 -6
- package/dist/cjs/view/FlexibleCard/components/actions/copy-link-action/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/custom-unresolved-action/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/delete-action/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/download-action/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/edit-action/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/follow-action/index.js +5 -5
- package/dist/cjs/view/FlexibleCard/components/actions/preview-action/index.js +5 -5
- package/dist/cjs/view/FlexibleCard/components/actions/rovo-chat-action/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/unresolved-action/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/action-group/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/elements/applied-to-components-count-element/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/utils.js +2 -2
- package/dist/cjs/view/HoverCard/components/views/forbidden/index.js +3 -3
- package/dist/cjs/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +6 -6
- package/dist/cjs/view/HoverCard/components/views/unauthorised/index.js +3 -3
- package/dist/cjs/view/InlineCard/ErroredView/index.js +2 -2
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +3 -3
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +2 -2
- package/dist/cjs/view/LinkUrl/HyperlinkResolver/index.js +2 -2
- package/dist/cjs/view/LinkUrl/HyperlinkResolver/unauthorize-view.js +2 -2
- package/dist/cjs/view/LinkUrl/LinkWarningModal/index.js +7 -7
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +3 -3
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +3 -3
- package/dist/cjs/view/RelatedLinksModal/views/errored/index.js +3 -3
- package/dist/cjs/view/RelatedLinksModal/views/unavailable/index.js +3 -3
- package/dist/cjs/view/common/UnauthorisedViewContent.js +4 -4
- package/dist/cjs/view/common/access/ForbiddenAction.js +2 -2
- package/dist/cjs/view/common/ai-summary/ai-footer/index.js +2 -2
- package/dist/cjs/view/common/intl-provider/index.js +2 -2
- package/dist/es2019/messages.js +1 -1
- package/dist/es2019/state/hooks/use-ai-summary/index.js +1 -1
- package/dist/es2019/state/hooks/use-resolve-hyperlink/index.js +2 -3
- package/dist/es2019/utils/actions/to-action.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/actions/AuthorizeAction.js +1 -1
- package/dist/es2019/view/BlockCard/actions/ForbiddenAction.js +1 -1
- package/dist/es2019/view/BlockCard/actions/RetryAction.js +1 -1
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/es2019/view/BlockCard/views/UnauthorisedView.js +1 -1
- package/dist/es2019/view/Card/index.js +1 -1
- package/dist/es2019/view/CardWithUrl/component.js +4 -4
- package/dist/es2019/view/EmbedCard/views/ErroredView.js +1 -1
- package/dist/es2019/view/EmbedCard/views/forbidden-view/index.js +1 -1
- package/dist/es2019/view/EmbedCard/views/not-found-view/index.js +1 -1
- package/dist/es2019/view/EmbedCard/views/not-found-view/not-found-svg/index.js +1 -1
- package/dist/es2019/view/EmbedCard/views/unauthorized-view/index.js +1 -1
- package/dist/es2019/view/EmbedModal/components/link-info/index.js +1 -1
- package/dist/es2019/view/EmbedModal/components/link-info/link-info-button/index.js +1 -1
- package/dist/es2019/view/EmbedModal/index.js +26 -3
- package/dist/es2019/view/EmbedModal/utils.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/utils.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/copy-link-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/custom-unresolved-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/delete-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/download-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/edit-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/follow-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/preview-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/rovo-chat-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/unresolved-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-group/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/applied-to-components-count-element/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/utils.js +1 -1
- package/dist/es2019/view/HoverCard/components/views/forbidden/index.js +1 -1
- package/dist/es2019/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +1 -1
- package/dist/es2019/view/HoverCard/components/views/unauthorised/index.js +1 -1
- package/dist/es2019/view/InlineCard/ErroredView/index.js +1 -1
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +1 -1
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +1 -1
- package/dist/es2019/view/LinkUrl/HyperlinkResolver/index.js +1 -1
- package/dist/es2019/view/LinkUrl/HyperlinkResolver/unauthorize-view.js +1 -1
- package/dist/es2019/view/LinkUrl/LinkWarningModal/index.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/views/errored/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/views/unavailable/index.js +1 -1
- package/dist/es2019/view/common/UnauthorisedViewContent.js +1 -1
- package/dist/es2019/view/common/access/ForbiddenAction.js +1 -1
- package/dist/es2019/view/common/ai-summary/ai-footer/index.js +1 -1
- package/dist/es2019/view/common/intl-provider/index.js +1 -1
- package/dist/esm/messages.js +1 -1
- package/dist/esm/state/hooks/use-ai-summary/index.js +1 -1
- package/dist/esm/state/hooks/use-resolve-hyperlink/index.js +2 -3
- package/dist/esm/utils/actions/to-action.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/actions/AuthorizeAction.js +1 -1
- package/dist/esm/view/BlockCard/actions/ForbiddenAction.js +1 -1
- package/dist/esm/view/BlockCard/actions/RetryAction.js +1 -1
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/esm/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/esm/view/BlockCard/views/UnauthorisedView.js +1 -1
- package/dist/esm/view/Card/index.js +1 -1
- package/dist/esm/view/CardWithUrl/component.js +4 -4
- package/dist/esm/view/EmbedCard/views/ErroredView.js +1 -1
- package/dist/esm/view/EmbedCard/views/forbidden-view/index.js +1 -1
- package/dist/esm/view/EmbedCard/views/not-found-view/index.js +1 -1
- package/dist/esm/view/EmbedCard/views/not-found-view/not-found-svg/index.js +1 -1
- package/dist/esm/view/EmbedCard/views/unauthorized-view/index.js +1 -1
- package/dist/esm/view/EmbedModal/components/link-info/index.js +1 -1
- package/dist/esm/view/EmbedModal/components/link-info/link-info-button/index.js +1 -1
- package/dist/esm/view/EmbedModal/index.js +26 -3
- package/dist/esm/view/EmbedModal/utils.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/utils.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/copy-link-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/custom-unresolved-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/delete-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/download-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/edit-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/follow-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/preview-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/rovo-chat-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/unresolved-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-group/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/applied-to-components-count-element/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/utils.js +1 -1
- package/dist/esm/view/HoverCard/components/views/forbidden/index.js +1 -1
- package/dist/esm/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +1 -1
- package/dist/esm/view/HoverCard/components/views/unauthorised/index.js +1 -1
- package/dist/esm/view/InlineCard/ErroredView/index.js +1 -1
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +1 -1
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +1 -1
- package/dist/esm/view/LinkUrl/HyperlinkResolver/index.js +1 -1
- package/dist/esm/view/LinkUrl/HyperlinkResolver/unauthorize-view.js +1 -1
- package/dist/esm/view/LinkUrl/LinkWarningModal/index.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/views/errored/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/views/unavailable/index.js +1 -1
- package/dist/esm/view/common/UnauthorisedViewContent.js +1 -1
- package/dist/esm/view/common/access/ForbiddenAction.js +1 -1
- package/dist/esm/view/common/ai-summary/ai-footer/index.js +1 -1
- package/dist/esm/view/common/intl-provider/index.js +1 -1
- package/dist/types/common/analytics/generated/analytics.types.d.ts +8 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/state/hooks/use-resolve-hyperlink/index.d.ts +3 -3
- package/dist/types/utils/actions/to-action.d.ts +1 -1
- package/dist/types/utils/ai-summary.d.ts +1 -1
- package/dist/types/utils/intl-utils/index.d.ts +1 -1
- package/dist/types/view/Card/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/link-info-button/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/follow-action/utils.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/utils.d.ts +1 -1
- package/dist/types/view/FlexibleCard/types.d.ts +1 -1
- package/dist/types/view/LinkUrl/LinkWarningModal/index.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/components/types.d.ts +1 -1
- package/dist/types/view/common/access/ForbiddenAction.d.ts +1 -1
- package/dist/types/view/common/intl-provider/index.d.ts +1 -1
- package/dist/types-ts4.5/common/analytics/generated/analytics.types.d.ts +8 -0
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-resolve-hyperlink/index.d.ts +3 -3
- package/dist/types-ts4.5/utils/actions/to-action.d.ts +1 -1
- package/dist/types-ts4.5/utils/ai-summary.d.ts +1 -1
- package/dist/types-ts4.5/utils/intl-utils/index.d.ts +1 -1
- package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/utils.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +1 -1
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/types.d.ts +1 -1
- package/dist/types-ts4.5/view/common/access/ForbiddenAction.d.ts +1 -1
- package/dist/types-ts4.5/view/common/intl-provider/index.d.ts +1 -1
- package/package.json +5 -8
- package/report.api.md +4 -4
|
@@ -198,6 +198,11 @@ export type SmartLinkClickedAttributesType = {
|
|
|
198
198
|
definitionId: string | null;
|
|
199
199
|
isModifierKeyPressed: boolean | null;
|
|
200
200
|
};
|
|
201
|
+
export type SmartLinkVisitedAttributesType = {
|
|
202
|
+
id: string;
|
|
203
|
+
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview';
|
|
204
|
+
definitionId: string | null;
|
|
205
|
+
};
|
|
201
206
|
export type SmartLinkClickedTitleGoToLinkAttributesType = {
|
|
202
207
|
id: string;
|
|
203
208
|
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview';
|
|
@@ -382,6 +387,9 @@ export type AnalyticsEventAttributes = {
|
|
|
382
387
|
/**
|
|
383
388
|
* fires an event that represents when a user clicks on a Smart Link. */
|
|
384
389
|
'ui.smartLink.clicked': SmartLinkClickedAttributesType;
|
|
390
|
+
/**
|
|
391
|
+
* fires an event that represents when a user visits a Smart Link target. */
|
|
392
|
+
'ui.smartLink.visited': SmartLinkVisitedAttributesType;
|
|
385
393
|
/**
|
|
386
394
|
* fires an event that represents when a user clicks on a Smart Link. */
|
|
387
395
|
'ui.smartLink.clicked.titleGoToLink': SmartLinkClickedTitleGoToLinkAttributesType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type MessageDescriptor } from 'react-intl
|
|
1
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
|
|
3
3
|
export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement';
|
|
4
4
|
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | RovoChatActionMessageKey;
|
|
@@ -5,13 +5,13 @@ import type { CardInnerAppearance } from '../../../view/Card/types';
|
|
|
5
5
|
declare const useResolveHyperlink: ({ href, }: {
|
|
6
6
|
href: string;
|
|
7
7
|
}) => {
|
|
8
|
-
state: CardState;
|
|
9
8
|
actions: {
|
|
10
|
-
register: () => Promise<void>;
|
|
11
|
-
reload: () => void;
|
|
12
9
|
authorize: (appearance: CardInnerAppearance) => void;
|
|
13
10
|
invoke: (opts: InvokeClientOpts | InvokeServerOpts, appearance: CardInnerAppearance) => Promise<JsonLd.Response | void>;
|
|
14
11
|
loadMetadata: () => Promise<void> | undefined;
|
|
12
|
+
register: () => Promise<void>;
|
|
13
|
+
reload: () => void;
|
|
15
14
|
};
|
|
15
|
+
state: CardState;
|
|
16
16
|
};
|
|
17
17
|
export default useResolveHyperlink;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type MessageDescriptor } from 'react-intl
|
|
2
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
3
3
|
import { type InvokeClientActionHandler, type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
4
4
|
export declare const toAction: (action: InvokeClientActionProps, invokeClientAction: InvokeClientActionHandler, message: MessageDescriptor, id: string) => {
|
|
5
5
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MessageDescriptor } from 'react-intl
|
|
1
|
+
import type { MessageDescriptor } from 'react-intl';
|
|
2
2
|
import type { JsonLd } from '@atlaskit/json-ld-types';
|
|
3
3
|
export declare const getIsAISummaryEnabled: (isAdminHubAIEnabled?: boolean, response?: JsonLd.Response) => boolean;
|
|
4
4
|
export declare const getAISummaryErrorMessage: (error?: string) => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type MessageDescriptor } from 'react-intl
|
|
1
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
import { type MessageKey } from '../../messages';
|
|
3
3
|
export declare const toMessage: (defaultMessage: MessageDescriptor, key?: MessageKey) => MessageDescriptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import { type WithAnalyticsEventsProps, type WithContextProps } from '@atlaskit/analytics-next';
|
|
4
4
|
import { type CardAppearance, type CardPlatform, type CardProps } from './types';
|
|
5
5
|
export declare const Card: React.ForwardRefExoticComponent<Omit<Omit<Omit<CardProps & WrappedComponentProps, 'intl'> & {
|
package/dist/types-ts4.5/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type MessageDescriptor } from 'react-intl
|
|
2
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
3
3
|
import { type Prettify } from '@atlaskit/linking-common';
|
|
4
4
|
import { SmartLinkStatus } from '../../../../../constants';
|
|
5
5
|
export type AccessType = 'DIRECT_ACCESS' | 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DENIED_REQUEST_EXISTS' | 'ACCESS_EXISTS' | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { MessageDescriptor } from 'react-intl
|
|
1
|
+
import type { MessageDescriptor } from 'react-intl';
|
|
2
2
|
export declare const getFollowActionErrorMessage: (isProject?: boolean, isFollow?: boolean) => MessageDescriptor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MessageDescriptor } from 'react-intl
|
|
1
|
+
import type { MessageDescriptor } from 'react-intl';
|
|
2
2
|
import { type InvokeClientActionProps } from '../../../../../../../../state/hooks/use-invoke-client-action/types';
|
|
3
3
|
import { type MessageProps } from '../../../../../types';
|
|
4
4
|
export type LozengeActionErrorProps = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { type MessageDescriptor } from 'react-intl
|
|
6
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
7
7
|
import type { Prettify } from '@atlaskit/linking-common';
|
|
8
8
|
import { type BaseTextElementProps } from '../common';
|
|
9
9
|
type AccessType = 'DIRECT_ACCESS' | 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DENIED_REQUEST_EXISTS';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import { type MessageDescriptor } from 'react-intl
|
|
2
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
3
3
|
export type AnchorTarget = '_blank' | '_self' | '_top' | '_parent';
|
|
4
4
|
export type MessageProps = {
|
|
5
5
|
descriptor: MessageDescriptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type IntlShape, type MessageDescriptor } from 'react-intl
|
|
2
|
+
import { type IntlShape, type MessageDescriptor } from 'react-intl';
|
|
3
3
|
import { type Spacing } from '@atlaskit/button';
|
|
4
4
|
import type { Space } from '@atlaskit/primitives/compiled';
|
|
5
5
|
import { SmartLinkSize } from '../../../constants';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type MessageDescriptor } from 'react-intl
|
|
1
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
import { type CardProviderRenderers } from '@atlaskit/link-provider';
|
|
3
3
|
import { type CardState, type ProductType } from '@atlaskit/linking-common';
|
|
4
4
|
import { type SmartLinkResponse } from '@atlaskit/linking-types';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import type { ComponentType, FC } from 'react';
|
|
6
|
-
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl
|
|
6
|
+
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl';
|
|
7
7
|
export type LinkWarningModalProps = {
|
|
8
8
|
isOpen: boolean;
|
|
9
9
|
onClose: () => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type MessageDescriptor } from 'react-intl
|
|
1
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
import { type ActionProps } from '../../types';
|
|
3
3
|
export declare const ForbiddenAction: (handler: () => void, id?: string, message?: MessageDescriptor, values?: {}) => ActionProps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "44.0.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/link-analytics": "^11.0.0",
|
|
62
62
|
"@atlaskit/link-client-extension": "^6.0.0",
|
|
63
63
|
"@atlaskit/link-extractors": "^2.4.0",
|
|
64
|
-
"@atlaskit/link-test-helpers": "^
|
|
64
|
+
"@atlaskit/link-test-helpers": "^10.0.0",
|
|
65
65
|
"@atlaskit/linking-common": "^9.11.0",
|
|
66
66
|
"@atlaskit/linking-types": "^14.2.0",
|
|
67
67
|
"@atlaskit/logo": "^20.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@atlaskit/textfield": "^8.3.0",
|
|
84
84
|
"@atlaskit/theme": "^23.0.0",
|
|
85
85
|
"@atlaskit/tile": "^1.0.0",
|
|
86
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
86
|
+
"@atlaskit/tmp-editor-statsig": "^61.0.0",
|
|
87
87
|
"@atlaskit/tokens": "^13.0.0",
|
|
88
88
|
"@atlaskit/tooltip": "^21.1.0",
|
|
89
89
|
"@atlaskit/ufo": "^0.4.0",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@atlaskit/link-provider": "^4.3.0",
|
|
106
106
|
"react": "^18.2.0",
|
|
107
107
|
"react-dom": "^18.2.0",
|
|
108
|
-
"react-intl
|
|
108
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@af/integration-testing": "workspace:^",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"react-ace": "^6.1.0",
|
|
142
142
|
"react-beautiful-dnd": "^12.2.0",
|
|
143
143
|
"react-dom": "^18.2.0",
|
|
144
|
-
"react-intl
|
|
144
|
+
"react-intl": "^6.6.2",
|
|
145
145
|
"react-test-renderer": "^18.2.0",
|
|
146
146
|
"ts-jest": "^29.2.2",
|
|
147
147
|
"xhr-mock": "^2.4.0"
|
|
@@ -219,9 +219,6 @@
|
|
|
219
219
|
"platform_navx_flex_card_status_dropdown_a11y_fix": {
|
|
220
220
|
"type": "boolean"
|
|
221
221
|
},
|
|
222
|
-
"platform_navx_lp_invalid_url_error": {
|
|
223
|
-
"type": "boolean"
|
|
224
|
-
},
|
|
225
222
|
"platform_navx_send_context_to_ugs_for_rel_links": {
|
|
226
223
|
"type": "boolean"
|
|
227
224
|
},
|
package/report.api.md
CHANGED
|
@@ -37,7 +37,7 @@ import { ErrorInfo } from 'react';
|
|
|
37
37
|
import { GasPayload } from '@atlaskit/analytics-gas-types';
|
|
38
38
|
import { InlineCardAdf } from '@atlaskit/linking-common';
|
|
39
39
|
import { JsonLd } from '@atlaskit/json-ld-types';
|
|
40
|
-
import { MessageDescriptor } from 'react-intl
|
|
40
|
+
import { MessageDescriptor } from 'react-intl';
|
|
41
41
|
import { SmartCardProvider as Provider } from '@atlaskit/link-provider';
|
|
42
42
|
import { ProviderProps } from '@atlaskit/link-provider';
|
|
43
43
|
import { default as React_2 } from 'react';
|
|
@@ -48,8 +48,8 @@ import { SmartCardContext } from '@atlaskit/link-provider';
|
|
|
48
48
|
import { SmartLinkActionType } from '@atlaskit/linking-types';
|
|
49
49
|
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
50
50
|
import { WithContextProps } from '@atlaskit/analytics-next';
|
|
51
|
-
import { WithIntlProps } from 'react-intl
|
|
52
|
-
import { WrappedComponentProps } from 'react-intl
|
|
51
|
+
import { WithIntlProps } from 'react-intl';
|
|
52
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
53
53
|
|
|
54
54
|
// @public (undocumented)
|
|
55
55
|
export type ActionItem = CustomActionItem | NamedActionItem | NamedDataActionItem;
|
|
@@ -1345,7 +1345,7 @@ type VoteCount = {
|
|
|
1345
1345
|
"@atlaskit/link-provider": "^1.6.4",
|
|
1346
1346
|
"react": "^16.8.0",
|
|
1347
1347
|
"react-dom": "^16.8.0",
|
|
1348
|
-
"react-intl
|
|
1348
|
+
"react-intl": "npm:react-intl@^5.18.1"
|
|
1349
1349
|
}
|
|
1350
1350
|
```
|
|
1351
1351
|
|