@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 40.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#199353](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/199353)
|
|
8
|
+
[`f2d4ca35574b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2d4ca35574b8) -
|
|
9
|
+
Internal changes to how border radius values are applied. No visual change.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 40.8.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#198800](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/198800)
|
|
17
|
+
[`047d4af3e57cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/047d4af3e57cf) -
|
|
18
|
+
Update channel and eventName in attributes for firing events for 3P Workflows team
|
|
19
|
+
|
|
3
20
|
## 40.8.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "40.
|
|
14
|
+
packageVersion: "40.8.1"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -102,13 +102,15 @@ function Component(_ref) {
|
|
|
102
102
|
actionSubject: 'smartLink',
|
|
103
103
|
actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
|
|
104
104
|
eventType: 'ui',
|
|
105
|
-
attributes: {
|
|
105
|
+
attributes: {
|
|
106
|
+
eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows'
|
|
107
|
+
},
|
|
106
108
|
nonPrivacySafeAttributes: {
|
|
107
109
|
sourceURL: sourceURL,
|
|
108
110
|
thirdPartyARI: ari
|
|
109
111
|
}
|
|
110
112
|
});
|
|
111
|
-
smartlinkClickAnalyticsEvent.fire();
|
|
113
|
+
smartlinkClickAnalyticsEvent.fire('media');
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
}
|
|
@@ -37,7 +37,7 @@ var ExpandedFrame = exports.ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
37
37
|
"data-testid": testId
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
39
39
|
,
|
|
40
|
-
className: (0, _runtime.ax)(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3uh3c _d0altlke", isFluidHeight ? "_1tkeidpf" : "_1tke68cl", isSelected ? "
|
|
40
|
+
className: (0, _runtime.ax)(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3uh3c _d0altlke", isFluidHeight ? "_1tkeidpf" : "_1tke68cl", isSelected ? "_2rkosqtm _1h6d7a2i _1dqonqa1 _189eyh40" : "_2rko1lya _1h6d1j28 _1dqonqa1 _189eyh40", "_1reo15vq _18m915vq _1bah1yb4 _16qs1mq7", className]),
|
|
41
41
|
"data-trello-do-not-use-override": testId,
|
|
42
42
|
style: {
|
|
43
43
|
"--_1irqcwi": (0, _runtime.ix)("var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N20A, ")")),
|
|
@@ -63,7 +63,7 @@ var CompactFrame = exports.CompactFrame = function CompactFrame(_ref2) {
|
|
|
63
63
|
"data-testid": testId
|
|
64
64
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
65
65
|
,
|
|
66
|
-
className: (0, _runtime.ax)(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3bfnf", isSelected && "
|
|
66
|
+
className: (0, _runtime.ax)(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3bfnf", isSelected && "_2rkosqtm _1h6d7a2i _1dqonqa1 _189eyh40", !isSelected && "_2rko1lya", "_1bah1h6o _4cvr1h6o _bfhkkq2v", inheritDimensions ? "_4t3i1osq" : "_4t3i1ylp", "_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bsb1osq", className]),
|
|
67
67
|
style: {
|
|
68
68
|
"--_6j4ewu": (0, _runtime.ix)("var(--ds-background-neutral-hovered, ".concat(_colors.N30A, ")")),
|
|
69
69
|
"--_d9gj9p": (0, _runtime.ix)("var(--ds-border-selected, ".concat(_colors.B200, ")")),
|
|
@@ -124,6 +124,6 @@ var Frame = exports.Frame = /*#__PURE__*/_react.default.forwardRef(function (_re
|
|
|
124
124
|
},
|
|
125
125
|
sandbox: (0, _utils.getIframeSandboxAttribute)(isTrusted),
|
|
126
126
|
title: title,
|
|
127
|
-
className: (0, _runtime.ax)(["_19itidpf _1reo15vq _18m915vq
|
|
127
|
+
className: (0, _runtime.ax)(["_19itidpf _1reo15vq _18m915vq _2rkosqtm _154iidpf _1ltvidpf _1bsb1osq _4t3i1osq _kqswh2mm"])
|
|
128
128
|
}));
|
|
129
129
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}._16qs10kv{box-shadow:var(--_zsb6fb)}
|
|
3
3
|
._1e0c116y{display:inline-flex}
|
|
4
4
|
._1o511hrf{animation-fill-mode:both}
|
|
5
5
|
._1pgl1trn{animation-timing-function:cubic-bezier(.5,0,0,1)}
|
package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js
CHANGED
|
@@ -59,7 +59,7 @@ var FeatureDiscovery = function FeatureDiscovery(_ref) {
|
|
|
59
59
|
if (!discovered) {
|
|
60
60
|
return /*#__PURE__*/React.createElement("span", {
|
|
61
61
|
"data-testid": "".concat(testId, "-discovery"),
|
|
62
|
-
className: (0, _runtime.ax)(["
|
|
62
|
+
className: (0, _runtime.ax)(["_2rkosqtm _1e0c116y _16qs10kv _j7hq8j16 _5sagymdr _1pgl1trn _ju251doz _1o511hrf _tip8cs5v"]),
|
|
63
63
|
style: {
|
|
64
64
|
"--_zsb6fb": (0, _runtime.ix)("0 0 0 0 ".concat("var(--ds-border-discovery, #8270DB)"))
|
|
65
65
|
}
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "40.
|
|
22
|
+
packageVersion: "40.8.1",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "40.
|
|
5
|
+
packageVersion: "40.8.1"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -95,13 +95,15 @@ function Component({
|
|
|
95
95
|
actionSubject: 'smartLink',
|
|
96
96
|
actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
|
|
97
97
|
eventType: 'ui',
|
|
98
|
-
attributes: {
|
|
98
|
+
attributes: {
|
|
99
|
+
eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows'
|
|
100
|
+
},
|
|
99
101
|
nonPrivacySafeAttributes: {
|
|
100
102
|
sourceURL: sourceURL,
|
|
101
103
|
thirdPartyARI: ari
|
|
102
104
|
}
|
|
103
105
|
});
|
|
104
|
-
smartlinkClickAnalyticsEvent.fire();
|
|
106
|
+
smartlinkClickAnalyticsEvent.fire('media');
|
|
105
107
|
}
|
|
106
108
|
}
|
|
107
109
|
}
|
|
@@ -28,7 +28,7 @@ export const ExpandedFrame = ({
|
|
|
28
28
|
"data-testid": testId
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
30
30
|
,
|
|
31
|
-
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3h3i3 _d0altlke", isFluidHeight ? "_1tkeidpf" : "_1tke68cl", isSelected ? "
|
|
31
|
+
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3h3i3 _d0altlke", isFluidHeight ? "_1tkeidpf" : "_1tke68cl", isSelected ? "_2rkosqtm _1h6d1can _1dqonqa1 _189eyh40" : "_2rko1lya _1h6d1j28 _1dqonqa1 _189eyh40", "_1reo15vq _18m915vq _1bah1yb4 _16qsy59s", className]),
|
|
32
32
|
"data-trello-do-not-use-override": testId
|
|
33
33
|
}, children);
|
|
34
34
|
};
|
|
@@ -50,6 +50,6 @@ export const CompactFrame = ({
|
|
|
50
50
|
"data-testid": testId
|
|
51
51
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
52
52
|
,
|
|
53
|
-
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr317ks", isSelected && "
|
|
53
|
+
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr317ks", isSelected && "_2rkosqtm _1h6d1can _1dqonqa1 _189eyh40", !isSelected && "_2rko1lya", "_1bah1h6o _4cvr1h6o _bfhk1j54", inheritDimensions ? "_4t3i1osq" : "_4t3i1ylp", "_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bsb1osq", className])
|
|
54
54
|
}, children);
|
|
55
55
|
};
|
|
@@ -96,6 +96,6 @@ export const Frame = /*#__PURE__*/React.forwardRef(({
|
|
|
96
96
|
},
|
|
97
97
|
sandbox: getIframeSandboxAttribute(isTrusted),
|
|
98
98
|
title: title,
|
|
99
|
-
className: ax(["_19itidpf _1reo15vq _18m915vq
|
|
99
|
+
className: ax(["_19itidpf _1reo15vq _18m915vq _2rkosqtm _154iidpf _1ltvidpf _1bsb1osq _4t3i1osq _kqswh2mm"])
|
|
100
100
|
}));
|
|
101
101
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}._16qslqk2{box-shadow:0 0 0 0 var(--ds-border-discovery,#8270db)}
|
|
3
3
|
._1e0c116y{display:inline-flex}
|
|
4
4
|
._1o511hrf{animation-fill-mode:both}
|
|
5
5
|
._1pgl1trn{animation-timing-function:cubic-bezier(.5,0,0,1)}
|
package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js
CHANGED
|
@@ -50,7 +50,7 @@ const FeatureDiscovery = ({
|
|
|
50
50
|
if (!discovered) {
|
|
51
51
|
return /*#__PURE__*/React.createElement("span", {
|
|
52
52
|
"data-testid": `${testId}-discovery`,
|
|
53
|
-
className: ax(["
|
|
53
|
+
className: ax(["_2rkosqtm _1e0c116y _16qslqk2 _j7hq8j16 _5sagymdr _1pgl1trn _ju251doz _1o511hrf _tip8cs5v"])
|
|
54
54
|
}, children);
|
|
55
55
|
}
|
|
56
56
|
}, [children, discovered, testId]);
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "40.
|
|
12
|
+
packageVersion: "40.8.1",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "40.
|
|
7
|
+
packageVersion: "40.8.1"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -93,13 +93,15 @@ function Component(_ref) {
|
|
|
93
93
|
actionSubject: 'smartLink',
|
|
94
94
|
actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
|
|
95
95
|
eventType: 'ui',
|
|
96
|
-
attributes: {
|
|
96
|
+
attributes: {
|
|
97
|
+
eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows'
|
|
98
|
+
},
|
|
97
99
|
nonPrivacySafeAttributes: {
|
|
98
100
|
sourceURL: sourceURL,
|
|
99
101
|
thirdPartyARI: ari
|
|
100
102
|
}
|
|
101
103
|
});
|
|
102
|
-
smartlinkClickAnalyticsEvent.fire();
|
|
104
|
+
smartlinkClickAnalyticsEvent.fire('media');
|
|
103
105
|
}
|
|
104
106
|
}
|
|
105
107
|
}
|
|
@@ -30,7 +30,7 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
30
30
|
"data-testid": testId
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
32
32
|
,
|
|
33
|
-
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3uh3c _d0altlke", isFluidHeight ? "_1tkeidpf" : "_1tke68cl", isSelected ? "
|
|
33
|
+
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3uh3c _d0altlke", isFluidHeight ? "_1tkeidpf" : "_1tke68cl", isSelected ? "_2rkosqtm _1h6d7a2i _1dqonqa1 _189eyh40" : "_2rko1lya _1h6d1j28 _1dqonqa1 _189eyh40", "_1reo15vq _18m915vq _1bah1yb4 _16qs1mq7", className]),
|
|
34
34
|
"data-trello-do-not-use-override": testId,
|
|
35
35
|
style: {
|
|
36
36
|
"--_1irqcwi": ix("var(--ds-background-neutral-subtle-hovered, ".concat(N20A, ")")),
|
|
@@ -56,7 +56,7 @@ export var CompactFrame = function CompactFrame(_ref2) {
|
|
|
56
56
|
"data-testid": testId
|
|
57
57
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
58
58
|
,
|
|
59
|
-
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3bfnf", isSelected && "
|
|
59
|
+
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3bfnf", isSelected && "_2rkosqtm _1h6d7a2i _1dqonqa1 _189eyh40", !isSelected && "_2rko1lya", "_1bah1h6o _4cvr1h6o _bfhkkq2v", inheritDimensions ? "_4t3i1osq" : "_4t3i1ylp", "_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bsb1osq", className]),
|
|
60
60
|
style: {
|
|
61
61
|
"--_6j4ewu": ix("var(--ds-background-neutral-hovered, ".concat(N30A, ")")),
|
|
62
62
|
"--_d9gj9p": ix("var(--ds-border-selected, ".concat(B200, ")")),
|
|
@@ -115,6 +115,6 @@ export var Frame = /*#__PURE__*/React.forwardRef(function (_ref, iframeRef) {
|
|
|
115
115
|
},
|
|
116
116
|
sandbox: getIframeSandboxAttribute(isTrusted),
|
|
117
117
|
title: title,
|
|
118
|
-
className: ax(["_19itidpf _1reo15vq _18m915vq
|
|
118
|
+
className: ax(["_19itidpf _1reo15vq _18m915vq _2rkosqtm _154iidpf _1ltvidpf _1bsb1osq _4t3i1osq _kqswh2mm"])
|
|
119
119
|
}));
|
|
120
120
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}._16qs10kv{box-shadow:var(--_zsb6fb)}
|
|
3
3
|
._1e0c116y{display:inline-flex}
|
|
4
4
|
._1o511hrf{animation-fill-mode:both}
|
|
5
5
|
._1pgl1trn{animation-timing-function:cubic-bezier(.5,0,0,1)}
|
package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js
CHANGED
|
@@ -51,7 +51,7 @@ var FeatureDiscovery = function FeatureDiscovery(_ref) {
|
|
|
51
51
|
if (!discovered) {
|
|
52
52
|
return /*#__PURE__*/React.createElement("span", {
|
|
53
53
|
"data-testid": "".concat(testId, "-discovery"),
|
|
54
|
-
className: ax(["
|
|
54
|
+
className: ax(["_2rkosqtm _1e0c116y _16qs10kv _j7hq8j16 _5sagymdr _1pgl1trn _ju251doz _1o511hrf _tip8cs5v"]),
|
|
55
55
|
style: {
|
|
56
56
|
"--_zsb6fb": ix("0 0 0 0 ".concat("var(--ds-border-discovery, #8270DB)"))
|
|
57
57
|
}
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "40.
|
|
15
|
+
packageVersion: "40.8.1",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var Anchor = withLinkClickedEvent('a');
|
|
@@ -23,5 +23,5 @@ type EventPayload<K extends EventKey> = {
|
|
|
23
23
|
actionSubjectId?: string;
|
|
24
24
|
attributes?: AnalyticsEventAttributes[K];
|
|
25
25
|
};
|
|
26
|
-
declare const createEventPayload: <K extends
|
|
26
|
+
declare const createEventPayload: <K extends EventKey>(eventKey: K, ...[attributes]: EventPayloadAttributes<K>) => ScreenEventPayload<K> | EventPayload<K>;
|
|
27
27
|
export default createEventPayload;
|
|
@@ -1,3 +1,4 @@
|
|
|
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] ? [param?: import("./analytics.types").AnalyticsEventAttributes[K] | undefined] : [param: import("./analytics.types").AnalyticsEventAttributes[K]]) => void;
|
|
3
4
|
};
|
|
@@ -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;
|