@atlaskit/smart-card 40.8.0 → 40.8.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/CardWithUrl/component.js +4 -2
- package/dist/cjs/view/EmbedCard/components/ErrorFrame.compiled.css +1 -1
- package/dist/cjs/view/EmbedCard/components/ErrorFrame.js +2 -2
- package/dist/cjs/view/EmbedCard/components/Frame.compiled.css +1 -1
- package/dist/cjs/view/EmbedCard/components/Frame.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/CardWithUrl/component.js +4 -2
- package/dist/es2019/view/EmbedCard/components/ErrorFrame.compiled.css +1 -1
- package/dist/es2019/view/EmbedCard/components/ErrorFrame.js +2 -2
- package/dist/es2019/view/EmbedCard/components/Frame.compiled.css +1 -1
- package/dist/es2019/view/EmbedCard/components/Frame.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/CardWithUrl/component.js +4 -2
- package/dist/esm/view/EmbedCard/components/ErrorFrame.compiled.css +1 -1
- package/dist/esm/view/EmbedCard/components/ErrorFrame.js +2 -2
- package/dist/esm/view/EmbedCard/components/Frame.compiled.css +1 -1
- package/dist/esm/view/EmbedCard/components/Frame.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/__fixtures__/atlas-project.d.ts +1 -1
- package/dist/types/__fixtures__/dropbox-file.d.ts +1 -1
- package/dist/types/common/analytics/generated/create-event-payload.d.ts +1 -1
- package/dist/types/common/analytics/generated/use-analytics-events.d.ts +2 -1
- package/dist/types/common/ui/icons/angle-brackets-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/audio-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/blog-icon.d.ts +2 -3
- package/dist/types/common/ui/icons/chart-bar-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/file-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/folder-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/generic-error-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/image-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/list-bullet-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/live-document-icon.d.ts +2 -3
- package/dist/types/common/ui/icons/page-icon.d.ts +0 -1
- package/dist/types/common/ui/icons/utils.d.ts +2 -2
- package/dist/types/common/ui/icons/video-icon.d.ts +0 -1
- package/dist/types/extractors/common/context/extractAccessContext.d.ts +1 -1
- package/dist/types/extractors/flexible/actions/extract-ai-summary-action.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/index.d.ts +8 -9
- package/dist/types/state/analytics/useLinkClicked.d.ts +11 -3
- package/dist/types/state/config/index.d.ts +1 -1
- package/dist/types/state/flexible-ui-context/index.d.ts +0 -1
- package/dist/types/state/flexible-ui-context/types.d.ts +0 -1
- package/dist/types/state/hooks/useSmartLink.d.ts +1 -1
- package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +0 -1
- package/dist/types/state/renderers/index.d.ts +1 -1
- package/dist/types/utils/__mocks__/shouldSample.d.ts +0 -1
- package/dist/types/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
- package/dist/types/utils/analytics/click.d.ts +2 -2
- package/dist/types/utils/mocks.d.ts +7 -7
- package/dist/types/view/BlockCard/types.d.ts +0 -1
- package/dist/types/view/BlockCard/views/ErroredView.d.ts +0 -1
- package/dist/types/view/BlockCard/views/ForbiddenView.d.ts +0 -1
- package/dist/types/view/BlockCard/views/NotFoundView.d.ts +0 -1
- package/dist/types/view/BlockCard/views/ResolvedView.d.ts +0 -1
- package/dist/types/view/BlockCard/views/UnauthorisedView.d.ts +0 -1
- package/dist/types/view/BlockCard/views/unresolved-view/index.d.ts +0 -1
- package/dist/types/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.d.ts +0 -1
- package/dist/types/view/Card/index.d.ts +1 -1
- package/dist/types/view/Card/types.d.ts +0 -1
- package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +0 -1
- package/dist/types/view/EmbedCard/components/IFrame.d.ts +1 -1
- package/dist/types/view/EmbedCard/components/styled.d.ts +0 -1
- package/dist/types/view/EmbedCard/views/ErroredView.d.ts +0 -1
- package/dist/types/view/EmbedCard/views/unresolved-view/index.d.ts +0 -1
- package/dist/types/view/EmbedModal/components/embed-content/index.d.ts +0 -1
- package/dist/types/view/EmbedModal/components/link-info/index.d.ts +0 -1
- package/dist/types/view/EmbedModal/components/link-info/link-info-button/types.d.ts +0 -1
- package/dist/types/view/EmbedModal/index.d.ts +2 -21
- package/dist/types/view/FlexibleCard/components/actions/action/action-button/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +2 -8
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-block/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/blocks/action-group/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/block/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/element-group/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/resolved/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/title-block/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/common/ai-summary/ai-event-error-viewed.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/common/image-icon/types.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/container/layered-link/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/container/layered-link/types.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/applied-to-components-count-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/assigned-to-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/assigned-to-group-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/attachment-count-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/author-group-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/checklist-progress-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/collaborator-group-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/comment-count-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-atlaskit-badge-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +7 -7
- package/dist/types/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +1 -2
- package/dist/types/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +12 -13
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/type.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/types.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/created-by-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/created-on-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/due-on-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/latest-commit-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/link-icon-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/location-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/media-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/modified-by-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/modified-on-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/owned-by-group-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/priority-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/programming-language-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/provider-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/react-count-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/read-time-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/sent-on-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/snippet-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/source-branch-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/state-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/story-points-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/sub-tasks-progress-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/subscriber-count-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/target-branch-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/team-member-count-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/title-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/user-attributes-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/view-count-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/components/elements/vote-count-element/index.d.ts +0 -1
- package/dist/types/view/FlexibleCard/types.d.ts +0 -1
- package/dist/types/view/HoverCard/components/ContentContainer.d.ts +0 -1
- package/dist/types/view/HoverCard/components/views/forbidden/index.d.ts +0 -1
- package/dist/types/view/HoverCard/components/views/resolved/index.d.ts +0 -1
- package/dist/types/view/HoverCard/components/views/resolving/index.d.ts +0 -1
- package/dist/types/view/HoverCard/components/views/unauthorised/index.d.ts +0 -1
- package/dist/types/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -1
- package/dist/types/view/InlineCard/common/action-button/index.d.ts +0 -1
- package/dist/types/view/InlineCard/common/inline-lozenge/index.d.ts +0 -1
- package/dist/types/view/LinkUrl/LinkWarningModal/index.d.ts +0 -1
- package/dist/types/view/LinkUrl/types.d.ts +0 -1
- package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +0 -1
- package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +0 -1
- package/dist/types/view/RelatedLinksModal/components/related-link-item/index.d.ts +0 -1
- package/dist/types/view/RelatedLinksModal/components/related-links-list/index.d.ts +0 -1
- package/dist/types/view/RelatedLinksModal/views/errored/error-svg/index.d.ts +0 -1
- package/dist/types/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.d.ts +0 -1
- package/dist/types/view/RelatedLinksModal/views/resolving/index.d.ts +0 -1
- package/dist/types/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.d.ts +0 -1
- package/dist/types/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +0 -1
- package/dist/types/view/common/ai-prism/ai-glowing-border/index.d.ts +0 -1
- package/dist/types/view/common/ai-prism/index.d.ts +0 -1
- package/dist/types/view/common/ai-summary/index.d.ts +0 -1
- package/dist/types/view/common/render-svg.d.ts +0 -1
- package/dist/types/view/types.d.ts +0 -1
- package/dist/types-ts4.5/__fixtures__/atlas-project.d.ts +1 -1
- package/dist/types-ts4.5/__fixtures__/dropbox-file.d.ts +1 -1
- package/dist/types-ts4.5/common/analytics/generated/create-event-payload.d.ts +1 -1
- package/dist/types-ts4.5/common/analytics/generated/use-analytics-events.d.ts +2 -1
- package/dist/types-ts4.5/common/ui/icons/angle-brackets-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/audio-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/blog-icon.d.ts +2 -3
- package/dist/types-ts4.5/common/ui/icons/chart-bar-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/file-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/folder-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/generic-error-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/image-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/list-bullet-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/live-document-icon.d.ts +2 -3
- package/dist/types-ts4.5/common/ui/icons/page-icon.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/icons/utils.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/icons/video-icon.d.ts +0 -1
- package/dist/types-ts4.5/extractors/common/context/extractAccessContext.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/actions/extract-ai-summary-action.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/icon/index.d.ts +8 -9
- package/dist/types-ts4.5/state/analytics/useLinkClicked.d.ts +11 -3
- package/dist/types-ts4.5/state/config/index.d.ts +1 -1
- package/dist/types-ts4.5/state/flexible-ui-context/index.d.ts +0 -1
- package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +0 -1
- package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +0 -1
- package/dist/types-ts4.5/state/renderers/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/__mocks__/shouldSample.d.ts +0 -1
- package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
- package/dist/types-ts4.5/utils/analytics/click.d.ts +2 -2
- package/dist/types-ts4.5/utils/mocks.d.ts +7 -7
- package/dist/types-ts4.5/view/BlockCard/types.d.ts +0 -1
- package/dist/types-ts4.5/view/BlockCard/views/ErroredView.d.ts +0 -1
- package/dist/types-ts4.5/view/BlockCard/views/ForbiddenView.d.ts +0 -1
- package/dist/types-ts4.5/view/BlockCard/views/NotFoundView.d.ts +0 -1
- package/dist/types-ts4.5/view/BlockCard/views/ResolvedView.d.ts +0 -1
- package/dist/types-ts4.5/view/BlockCard/views/UnauthorisedView.d.ts +0 -1
- package/dist/types-ts4.5/view/BlockCard/views/unresolved-view/index.d.ts +0 -1
- package/dist/types-ts4.5/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.d.ts +0 -1
- package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
- package/dist/types-ts4.5/view/Card/types.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedCard/components/IFrame.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/index.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/index.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/types.d.ts +0 -1
- package/dist/types-ts4.5/view/EmbedModal/index.d.ts +2 -25
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +2 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/block/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/resolved/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/ai-summary/ai-event-error-viewed.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/types.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/types.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/applied-to-components-count-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/assigned-to-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/assigned-to-group-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/attachment-count-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/author-group-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/checklist-progress-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/collaborator-group-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/comment-count-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-atlaskit-badge-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +7 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +1 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +12 -13
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/type.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/types.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/created-by-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/created-on-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/due-on-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/latest-commit-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/link-icon-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/location-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/modified-by-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/modified-on-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-group-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/priority-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/programming-language-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/provider-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/react-count-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/read-time-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/sent-on-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/snippet-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/source-branch-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/state-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/story-points-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/sub-tasks-progress-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/subscriber-count-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/target-branch-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/team-member-count-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/title-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/user-attributes-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/view-count-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/vote-count-element/index.d.ts +0 -1
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +0 -1
- package/dist/types-ts4.5/view/HoverCard/components/ContentContainer.d.ts +0 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/index.d.ts +0 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/index.d.ts +0 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/index.d.ts +0 -1
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/index.d.ts +0 -1
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -1
- package/dist/types-ts4.5/view/InlineCard/common/action-button/index.d.ts +0 -1
- package/dist/types-ts4.5/view/InlineCard/common/inline-lozenge/index.d.ts +0 -1
- package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +0 -1
- package/dist/types-ts4.5/view/LinkUrl/types.d.ts +0 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +0 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +0 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/index.d.ts +0 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/related-links-list/index.d.ts +0 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/index.d.ts +0 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.d.ts +0 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/views/resolving/index.d.ts +0 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.d.ts +0 -1
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +0 -1
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/index.d.ts +0 -1
- package/dist/types-ts4.5/view/common/ai-prism/index.d.ts +0 -1
- package/dist/types-ts4.5/view/common/ai-summary/index.d.ts +0 -1
- package/dist/types-ts4.5/view/common/render-svg.d.ts +0 -1
- package/dist/types-ts4.5/view/types.d.ts +0 -1
- package/package.json +2 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type HoverCardResolvedProps } from './types';
|
|
3
2
|
declare const HoverCardResolvedView: ({ cardState, extensionKey, flexibleCardProps, isAISummaryEnabled, onActionClick, titleBlockProps, id, }: HoverCardResolvedProps) => JSX.Element;
|
|
4
3
|
export default HoverCardResolvedView;
|
|
@@ -27,5 +27,5 @@ type EventPayload<K extends EventKey> = {
|
|
|
27
27
|
actionSubjectId?: string;
|
|
28
28
|
attributes?: AnalyticsEventAttributes[K];
|
|
29
29
|
};
|
|
30
|
-
declare const createEventPayload: <K extends
|
|
30
|
+
declare const createEventPayload: <K extends EventKey>(eventKey: K, ...[attributes]: EventPayloadAttributes<K>) => ScreenEventPayload<K> | EventPayload<K>;
|
|
31
31
|
export default createEventPayload;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { EventKey } from './analytics.types';
|
|
1
2
|
export declare const useAnalyticsEvents: () => {
|
|
2
|
-
fireEvent: <K extends
|
|
3
|
+
fireEvent: <K extends EventKey>(eventKey: K, ...params: undefined extends import("./analytics.types").AnalyticsEventAttributes[K] ? [
|
|
3
4
|
param?: import("./analytics.types").AnalyticsEventAttributes[K] | undefined
|
|
4
5
|
] : [
|
|
5
6
|
param: import("./analytics.types").AnalyticsEventAttributes[K]
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const BlogIconWithColor: import("react").FC<{
|
|
3
2
|
label: string;
|
|
4
|
-
testId?: string
|
|
3
|
+
testId?: string;
|
|
5
4
|
} & {
|
|
6
|
-
size?: import("../../..").SmartLinkSize
|
|
5
|
+
size?: import("../../..").SmartLinkSize;
|
|
7
6
|
}>;
|
|
8
7
|
export default BlogIconWithColor;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const LiveDocumentIconWithColor: import("react").FC<{
|
|
3
2
|
label: string;
|
|
4
|
-
testId?: string
|
|
3
|
+
testId?: string;
|
|
5
4
|
} & {
|
|
6
|
-
size?: import("../../..").SmartLinkSize
|
|
5
|
+
size?: import("../../..").SmartLinkSize;
|
|
7
6
|
}>;
|
|
8
7
|
export default LiveDocumentIconWithColor;
|
|
@@ -2,7 +2,7 @@ import React, { type ComponentPropsWithoutRef, type ComponentType } from 'react'
|
|
|
2
2
|
import { IconTile } from '@atlaskit/icon';
|
|
3
3
|
import { SmartLinkSize } from '../../../constants';
|
|
4
4
|
import type { AtlaskitIconTileProps } from './types';
|
|
5
|
-
export declare const transformSmartLinkSizeToIconTileSize: (size?: SmartLinkSize) => "
|
|
5
|
+
export declare const transformSmartLinkSizeToIconTileSize: (size?: SmartLinkSize) => "24" | "16";
|
|
6
6
|
type IconProps = {
|
|
7
7
|
label: string;
|
|
8
8
|
testId?: string;
|
|
@@ -11,5 +11,5 @@ export declare const renderIconPerSize: (IconSmall: ComponentType<IconProps>, Ic
|
|
|
11
11
|
size?: SmartLinkSize;
|
|
12
12
|
}>;
|
|
13
13
|
type IconTileProps = ComponentPropsWithoutRef<typeof IconTile>;
|
|
14
|
-
export declare const renderIconTile: (Icon: IconTileProps[
|
|
14
|
+
export declare const renderIconTile: (Icon: IconTileProps["icon"], appearance: IconTileProps["appearance"], LegacyIcon?: ComponentType<AtlaskitIconTileProps>) => React.FC<AtlaskitIconTileProps>;
|
|
15
15
|
export {};
|
|
@@ -5,5 +5,5 @@ export declare const extractRequestAccessContextImproved: ({ jsonLd, url, produc
|
|
|
5
5
|
jsonLd: JsonLd.Meta.BaseMeta;
|
|
6
6
|
url: string;
|
|
7
7
|
product: string;
|
|
8
|
-
createAnalyticsEvent?: CreateUIAnalyticsEvent
|
|
8
|
+
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
9
9
|
}) => RequestAccessContextProps;
|
|
@@ -2,4 +2,4 @@ import { type JsonLd } from '@atlaskit/json-ld-types';
|
|
|
2
2
|
import { type AISummaryActionData } from '../../../state/flexible-ui-context/types';
|
|
3
3
|
import { type AISummaryConfig } from '../../../state/hooks/use-ai-summary-config/types';
|
|
4
4
|
import { type CardActionOptions } from '../../../view/Card/types';
|
|
5
|
-
export declare const extractAISummaryAction: (response: JsonLd.Response, url?: string, actionOptions?: CardActionOptions, aiSummaryConfig?: Pick<AISummaryConfig,
|
|
5
|
+
export declare const extractAISummaryAction: (response: JsonLd.Response, url?: string, actionOptions?: CardActionOptions, aiSummaryConfig?: Pick<AISummaryConfig, "isAdminHubAIEnabled">) => AISummaryActionData | undefined;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type JsonLd } from '@atlaskit/json-ld-types';
|
|
3
2
|
import { type CardProviderRenderers } from '@atlaskit/link-provider';
|
|
4
3
|
import type { SmartLinkResponse } from '@atlaskit/linking-types';
|
|
5
4
|
import { IconType, SmartLinkStatus } from '../../../constants';
|
|
6
5
|
export declare const extractLinkIcon: (response: JsonLd.Response, renderers?: CardProviderRenderers) => {
|
|
7
|
-
render: (() =>
|
|
8
|
-
icon?: IconType
|
|
9
|
-
label?: string
|
|
10
|
-
url?: string
|
|
6
|
+
render: (() => React.ReactNode) | undefined;
|
|
7
|
+
icon?: IconType;
|
|
8
|
+
label?: string;
|
|
9
|
+
url?: string;
|
|
11
10
|
};
|
|
12
11
|
export declare const extractErrorIcon: (response?: JsonLd.Response, status?: SmartLinkStatus) => {
|
|
13
12
|
icon: IconType | undefined;
|
|
@@ -20,10 +19,10 @@ export declare const extractErrorIcon: (response?: JsonLd.Response, status?: Sma
|
|
|
20
19
|
* Should be moved to link-extractors when jsonLd is deprecated
|
|
21
20
|
*/
|
|
22
21
|
export declare const extractSmartLinkIcon: (response?: SmartLinkResponse, renderers?: CardProviderRenderers) => {
|
|
23
|
-
render: (() =>
|
|
24
|
-
icon?: IconType
|
|
25
|
-
label?: string
|
|
26
|
-
url?: string
|
|
22
|
+
render: (() => React.ReactNode) | undefined;
|
|
23
|
+
icon?: IconType;
|
|
24
|
+
label?: string;
|
|
25
|
+
url?: string;
|
|
27
26
|
} | {
|
|
28
27
|
url: string | undefined;
|
|
29
28
|
label: string | undefined;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import type { LinkProps } from '@atlaskit/link';
|
|
2
2
|
export declare enum ClickButton {
|
|
3
3
|
Left = 0,
|
|
4
4
|
Middle = 1,
|
|
5
5
|
Right = 2
|
|
6
6
|
}
|
|
7
|
-
export declare const useLinkClicked: <T extends
|
|
8
|
-
|
|
7
|
+
export declare const useLinkClicked: <T extends Exclude<LinkProps["onClick"], undefined>>(
|
|
8
|
+
/**
|
|
9
|
+
* Handler to
|
|
10
|
+
*/
|
|
11
|
+
handler?: T,
|
|
12
|
+
/**
|
|
13
|
+
* Filter which mouse events should trigger the link clicked event
|
|
14
|
+
*/
|
|
15
|
+
predicate?: (event: React.MouseEvent) => boolean) => (...args: Parameters<T>) => void;
|
|
16
|
+
export declare const useMouseDownEvent: <T extends React.MouseEventHandler>(onMouseDown?: T) => (...args: Parameters<T>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type CardContext } from '@atlaskit/link-provider';
|
|
2
|
-
export declare const useSmartLinkConfig: () => CardContext[
|
|
2
|
+
export declare const useSmartLinkConfig: () => CardContext["config"] | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type LinkPerson } from '@atlaskit/link-extractors';
|
|
3
2
|
import { type ActionName, type IconType, type InternalActionName, type MediaType } from '../../constants';
|
|
4
3
|
import { type LinkLozenge } from '../../extractors/common/lozenge/types';
|
|
@@ -4,7 +4,7 @@ export declare function useSmartLink(id: string, url: string): {
|
|
|
4
4
|
register: () => Promise<void>;
|
|
5
5
|
reload: () => void;
|
|
6
6
|
authorize: (appearance: import("../../view/Card/types").CardInnerAppearance) => void;
|
|
7
|
-
invoke: (opts: import("../../model/invoke-opts").InvokeClientOpts | import("../../model/invoke-opts").InvokeServerOpts, appearance: import("../../view/Card/types").CardInnerAppearance) => Promise<
|
|
7
|
+
invoke: (opts: import("../../model/invoke-opts").InvokeClientOpts | import("../../model/invoke-opts").InvokeServerOpts, appearance: import("../../view/Card/types").CardInnerAppearance) => Promise<import("@atlaskit/json-ld-types").JsonLd.Response | void>;
|
|
8
8
|
loadMetadata: () => Promise<void> | undefined;
|
|
9
9
|
};
|
|
10
10
|
config: import("@atlaskit/link-provider").CardAuthFlowOpts | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type CardContext } from '@atlaskit/link-provider';
|
|
2
|
-
export declare const useSmartLinkRenderers: () => CardContext[
|
|
2
|
+
export declare const useSmartLinkRenderers: () => CardContext["renderers"] | undefined;
|
|
@@ -19,7 +19,7 @@ type SmartLinkAnalyticsContextType = {
|
|
|
19
19
|
* Provides an analytics context data to supply attributes to events based on a URL
|
|
20
20
|
* and the link state in the store
|
|
21
21
|
*/
|
|
22
|
-
export declare const useSmartLinkAnalyticsContext: ({ display, id, source, url, }: Exclude<SmartLinkAnalyticsContextProps,
|
|
22
|
+
export declare const useSmartLinkAnalyticsContext: ({ display, id, source, url, }: Exclude<SmartLinkAnalyticsContextProps, "children">) => SmartLinkAnalyticsContextType | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Provides an analytics context to supply attributes to events based on a URL
|
|
25
25
|
* and the link state in the store
|
|
@@ -11,9 +11,9 @@ export declare const createLinkClickedPayload: (event: React.MouseEvent) => Anal
|
|
|
11
11
|
type DeepPartial<T> = T extends object ? {
|
|
12
12
|
[P in keyof T]?: DeepPartial<T[P]>;
|
|
13
13
|
} : T;
|
|
14
|
-
export declare const fireLinkClickedEvent: (createAnalyticsEvent: (payload: AnalyticsEventPayload) => UIAnalyticsEvent) => (event: React.MouseEvent, overrides?: DeepPartial<Omit<GasPayload,
|
|
14
|
+
export declare const fireLinkClickedEvent: (createAnalyticsEvent: (payload: AnalyticsEventPayload) => UIAnalyticsEvent) => ((event: React.MouseEvent, overrides?: DeepPartial<Omit<GasPayload, "attributes"> & {
|
|
15
15
|
attributes: UiLinkClickedEventProps;
|
|
16
|
-
}>) => void;
|
|
16
|
+
}>) => void);
|
|
17
17
|
export declare function withLinkClickedEvent<Component extends Extract<React.ElementType, 'a'> | React.ComponentType<LinkProps>>(WrappedComponent: Component): {
|
|
18
18
|
(props: LinkProps): React.ReactElement<LinkProps, string | React.JSXElementConstructor<any>>;
|
|
19
19
|
displayName: string;
|