@atlaskit/smart-card 34.10.1 → 34.10.3
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/extractors/common/icon/extractIconFromDocument.js +61 -7
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +5 -2
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +2 -1
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +4 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.compiled.css +1 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +3 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.compiled.css +6 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.js +11 -2
- package/dist/cjs/view/FlexibleCard/components/container/index.compiled.css +23 -1
- package/dist/cjs/view/FlexibleCard/components/container/index.js +72 -6
- package/dist/cjs/view/FlexibleCard/components/elements/badge/index.compiled.css +2 -0
- package/dist/cjs/view/FlexibleCard/components/elements/badge/index.js +3 -2
- package/dist/cjs/view/FlexibleCard/components/elements/date-time/index.compiled.css +2 -0
- package/dist/cjs/view/FlexibleCard/components/elements/date-time/index.js +3 -1
- package/dist/cjs/view/FlexibleCard/components/elements/snippet-element/index.js +4 -1
- package/dist/cjs/view/FlexibleCard/components/elements/text/index.compiled.css +2 -0
- package/dist/cjs/view/FlexibleCard/components/elements/text/index.js +3 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/common/ai-summary/index.compiled.css +2 -0
- package/dist/cjs/view/common/ai-summary/index.js +2 -1
- package/dist/es2019/extractors/common/icon/extractIconFromDocument.js +61 -6
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +5 -2
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +2 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +4 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.compiled.css +1 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +3 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.compiled.css +6 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.js +11 -2
- package/dist/es2019/view/FlexibleCard/components/container/index.compiled.css +23 -1
- package/dist/es2019/view/FlexibleCard/components/container/index.js +71 -6
- package/dist/es2019/view/FlexibleCard/components/elements/badge/index.compiled.css +2 -0
- package/dist/es2019/view/FlexibleCard/components/elements/badge/index.js +3 -2
- package/dist/es2019/view/FlexibleCard/components/elements/date-time/index.compiled.css +2 -0
- package/dist/es2019/view/FlexibleCard/components/elements/date-time/index.js +3 -1
- package/dist/es2019/view/FlexibleCard/components/elements/snippet-element/index.js +4 -1
- package/dist/es2019/view/FlexibleCard/components/elements/text/index.compiled.css +2 -0
- package/dist/es2019/view/FlexibleCard/components/elements/text/index.js +3 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/common/ai-summary/index.compiled.css +2 -0
- package/dist/es2019/view/common/ai-summary/index.js +2 -1
- package/dist/esm/extractors/common/icon/extractIconFromDocument.js +61 -6
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +5 -2
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +2 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +4 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.compiled.css +1 -0
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +3 -1
- package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.compiled.css +6 -1
- package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.js +11 -2
- package/dist/esm/view/FlexibleCard/components/container/index.compiled.css +23 -1
- package/dist/esm/view/FlexibleCard/components/container/index.js +72 -6
- package/dist/esm/view/FlexibleCard/components/elements/badge/index.compiled.css +2 -0
- package/dist/esm/view/FlexibleCard/components/elements/badge/index.js +3 -2
- package/dist/esm/view/FlexibleCard/components/elements/date-time/index.compiled.css +2 -0
- package/dist/esm/view/FlexibleCard/components/elements/date-time/index.js +3 -1
- package/dist/esm/view/FlexibleCard/components/elements/snippet-element/index.js +4 -1
- package/dist/esm/view/FlexibleCard/components/elements/text/index.compiled.css +2 -0
- package/dist/esm/view/FlexibleCard/components/elements/text/index.js +3 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/common/ai-summary/index.compiled.css +2 -0
- package/dist/esm/view/common/ai-summary/index.js +2 -1
- package/dist/types/extractors/common/__mocks__/withIntl.d.ts +1 -1
- package/dist/types/ssr.d.ts +2 -2
- package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +1 -1
- package/dist/types/state/modal/index.d.ts +1 -1
- package/dist/types/utils/actions/to-action.d.ts +2 -2
- package/dist/types/utils/analytics/LinkAnalyticsContext.d.ts +1 -1
- package/dist/types/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
- package/dist/types/utils/test-utils.d.ts +2 -2
- package/dist/types/view/BlockCard/index.d.ts +2 -2
- package/dist/types/view/BlockCard/views/ResolvedViewOld.d.ts +2 -2
- package/dist/types/view/BlockCard/views/unresolved-view/UnresolvedViewOld.d.ts +2 -2
- package/dist/types/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +2 -2
- package/dist/types/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +2 -2
- package/dist/types/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
- package/dist/types/view/CardWithUrl/component-lazy/index.d.ts +2 -2
- package/dist/types/view/CardWithUrl/component.d.ts +2 -2
- package/dist/types/view/CardWithUrl/loader.d.ts +1 -1
- package/dist/types/view/EmbedCard/components/IFrame.d.ts +1 -1
- package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +1 -1
- package/dist/types/view/EmbedCard/components/styledOld.d.ts +17 -17
- package/dist/types/view/EmbedCard/views/forbidden-view/forbidden-svg/index.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/forbidden-view/index.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/not-found-view/index.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/not-found-view/not-found-svg/index.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.d.ts +2 -2
- package/dist/types/view/EmbedModal/components/analytics/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -2
- package/dist/types/view/EmbedModal/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/server-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/boolean-prompt/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/number-prompt/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/paragraph-prompt/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/select-prompt/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/text-prompt/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/body/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/empty-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/error-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/manual-triggers-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/delete-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/download-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/edit-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/follow-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/preview-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/view-related-links-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/resolved/AISummaryBlockResolvedViewOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/resolved/FooterBlockResolvedViewOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/metadata-block/MetadataBlockOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/common/motion-wrapper/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/container/hover-card-control/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/preview/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/utils.d.ts +2 -2
- package/dist/types/view/FlexibleCard/index.d.ts +2 -2
- package/dist/types/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
- package/dist/types/view/HoverCard/components/HoverCardContentOld.d.ts +2 -2
- package/dist/types/view/HoverCard/components/ImagePreview.d.ts +2 -2
- package/dist/types/view/HoverCard/components/ImagePreviewOld.d.ts +2 -2
- package/dist/types/view/HoverCard/components/views/forbidden/HoverCardForbiddenViewOld.d.ts +2 -2
- package/dist/types/view/HoverCard/components/views/resolved/HoverCardResolvedViewOld.d.ts +2 -2
- package/dist/types/view/HoverCard/components/views/unauthorised/HoverCardUnauthorisedViewOld.d.ts +2 -2
- package/dist/types/view/HoverCard/index.d.ts +3 -3
- package/dist/types/view/InlineCard/ErroredView/InlineCardErroredViewOld.d.ts +2 -2
- package/dist/types/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.d.ts +3 -3
- package/dist/types/view/InlineCard/Frame/styled-emotion.d.ts +2 -2
- package/dist/types/view/InlineCard/Icon-emotion.d.ts +3 -3
- package/dist/types/view/InlineCard/Icon.d.ts +1 -1
- package/dist/types/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.d.ts +1 -1
- package/dist/types/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +9 -9
- package/dist/types/view/InlineCard/ResolvedView/index.d.ts +2 -2
- package/dist/types/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.d.ts +1 -1
- package/dist/types/view/InlineCard/ResolvingView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/ResolvingView/styled-emotion.d.ts +1 -1
- package/dist/types/view/InlineCard/index.d.ts +2 -2
- package/dist/types/view/InlineCard/styled-emotion.d.ts +3 -3
- package/dist/types/view/InlineCard/utils/withFrameStyleControl.d.ts +1 -1
- package/dist/types/view/LinkView/index.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/components/EmptyStateOld.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/index.d.ts +2 -2
- package/dist/types/view/RelatedLinksModal/views/errored/index.d.ts +2 -2
- package/dist/types/view/RelatedLinksModal/views/resolved/index.d.ts +2 -2
- package/dist/types/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.d.ts +2 -2
- package/dist/types/view/RelatedLinksModal/views/unavailable/index.d.ts +2 -2
- package/dist/types/view/common/UnauthorisedViewContent.d.ts +2 -2
- package/dist/types/view/common/ai-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/__mocks__/withIntl.d.ts +1 -1
- package/dist/types-ts4.5/ssr.d.ts +2 -2
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +1 -1
- package/dist/types-ts4.5/state/modal/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/actions/to-action.d.ts +2 -2
- package/dist/types-ts4.5/utils/analytics/LinkAnalyticsContext.d.ts +1 -1
- package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
- package/dist/types-ts4.5/utils/test-utils.d.ts +2 -2
- package/dist/types-ts4.5/view/BlockCard/index.d.ts +2 -2
- package/dist/types-ts4.5/view/BlockCard/views/ResolvedViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/BlockCard/views/unresolved-view/UnresolvedViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithUrl/component-lazy/index.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithUrl/component.d.ts +2 -2
- package/dist/types-ts4.5/view/CardWithUrl/loader.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/IFrame.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/styledOld.d.ts +17 -17
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/forbidden-svg/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/not-found-svg/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedModal/components/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedModal/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/server-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/boolean-prompt/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/number-prompt/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/paragraph-prompt/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/select-prompt/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/text-prompt/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/body/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/empty-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/error-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/manual-triggers-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/delete-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/download-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/edit-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/preview-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/view-related-links-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/resolved/AISummaryBlockResolvedViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/resolved/FooterBlockResolvedViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/MetadataBlockOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/common/motion-wrapper/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/index.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/HoverCardContentOld.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/ImagePreview.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/ImagePreviewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/HoverCardForbiddenViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/HoverCardResolvedViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/HoverCardUnauthorisedViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/HoverCard/index.d.ts +3 -3
- package/dist/types-ts4.5/view/InlineCard/ErroredView/InlineCardErroredViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.d.ts +3 -3
- package/dist/types-ts4.5/view/InlineCard/Frame/styled-emotion.d.ts +2 -2
- package/dist/types-ts4.5/view/InlineCard/Icon-emotion.d.ts +3 -3
- package/dist/types-ts4.5/view/InlineCard/Icon.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +9 -9
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +2 -2
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled-emotion.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/index.d.ts +2 -2
- package/dist/types-ts4.5/view/InlineCard/styled-emotion.d.ts +3 -3
- package/dist/types-ts4.5/view/InlineCard/utils/withFrameStyleControl.d.ts +1 -1
- package/dist/types-ts4.5/view/LinkView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyStateOld.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/index.d.ts +2 -2
- package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/index.d.ts +2 -2
- package/dist/types-ts4.5/view/RelatedLinksModal/views/resolved/index.d.ts +2 -2
- package/dist/types-ts4.5/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.d.ts +2 -2
- package/dist/types-ts4.5/view/RelatedLinksModal/views/unavailable/index.d.ts +2 -2
- package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +2 -2
- package/dist/types-ts4.5/view/common/ai-icon/index.d.ts +2 -2
- package/package.json +5 -5
|
@@ -1,14 +1,69 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import DocumentIconOld from '@atlaskit/icon-file-type/glyph/document/16';
|
|
3
|
+
import FileIconOld from '@atlaskit/icon-file-type/glyph/generic/16';
|
|
4
|
+
import PresentationIconOld from '@atlaskit/icon-file-type/glyph/presentation/16';
|
|
5
|
+
import SpreadsheetIconOld from '@atlaskit/icon-file-type/glyph/spreadsheet/16';
|
|
6
6
|
import LiveDocumentIcon from '@atlaskit/icon-lab/core/page-live-doc';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import BlogIconOld from '@atlaskit/icon-object/glyph/blog/16';
|
|
8
|
+
import DocumentFilledIconNew from '@atlaskit/icon/core/migration/file--document-filled';
|
|
9
|
+
import DocumentFilledIconOld from '@atlaskit/icon/core/migration/page--document-filled';
|
|
9
10
|
import { isConfluenceGenerator } from '@atlaskit/link-extractors';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
+
import BlogIconNew from '../../../common/ui/icons/blog-icon';
|
|
13
|
+
import PresentationIconNew from '../../../common/ui/icons/chart-bar-icon';
|
|
14
|
+
import FileIconNew from '../../../common/ui/icons/file-icon';
|
|
15
|
+
import SpreadsheetIconNew from '../../../common/ui/icons/list-bullet-icon';
|
|
16
|
+
import DocumentIconNew from '../../../common/ui/icons/page-icon';
|
|
10
17
|
import { getIconForFileType } from '../../../utils';
|
|
11
18
|
import { prioritiseIcon } from './prioritiseIcon';
|
|
19
|
+
|
|
20
|
+
// TODO Delete this and rename BlogIconNew to BlogIcon when cleaning platform-smart-card-icon-migration
|
|
21
|
+
var BlogIcon = function BlogIcon(props) {
|
|
22
|
+
if (fg('platform-smart-card-icon-migration')) {
|
|
23
|
+
return /*#__PURE__*/React.createElement(BlogIconNew, props);
|
|
24
|
+
}
|
|
25
|
+
return /*#__PURE__*/React.createElement(BlogIconOld, props);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// TODO Delete this and rename FileIconNew to FileIcon when cleaning platform-smart-card-icon-migration
|
|
29
|
+
var FileIcon = function FileIcon(props) {
|
|
30
|
+
if (fg('platform-smart-card-icon-migration')) {
|
|
31
|
+
return /*#__PURE__*/React.createElement(FileIconNew, props);
|
|
32
|
+
}
|
|
33
|
+
return /*#__PURE__*/React.createElement(FileIconOld, props);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
// TODO Delete this and rename DocumentIconNew to DocumentIcon when cleaning platform-smart-card-icon-migration
|
|
37
|
+
var DocumentIcon = function DocumentIcon(props) {
|
|
38
|
+
if (fg('platform-smart-card-icon-migration')) {
|
|
39
|
+
return /*#__PURE__*/React.createElement(DocumentIconNew, props);
|
|
40
|
+
}
|
|
41
|
+
return /*#__PURE__*/React.createElement(DocumentIconOld, props);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
// TODO Delete this and rename PresentationIconNew to PresentationIcon when cleaning platform-smart-card-icon-migration
|
|
45
|
+
var PresentationIcon = function PresentationIcon(props) {
|
|
46
|
+
if (fg('platform-smart-card-icon-migration')) {
|
|
47
|
+
return /*#__PURE__*/React.createElement(PresentationIconNew, props);
|
|
48
|
+
}
|
|
49
|
+
return /*#__PURE__*/React.createElement(PresentationIconOld, props);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
// TODO Delete this and rename SpreadsheetIconNew to SpreadsheetIcon when cleaning platform-smart-card-icon-migration
|
|
53
|
+
var SpreadsheetIcon = function SpreadsheetIcon(props) {
|
|
54
|
+
if (fg('platform-smart-card-icon-migration')) {
|
|
55
|
+
return /*#__PURE__*/React.createElement(SpreadsheetIconNew, props);
|
|
56
|
+
}
|
|
57
|
+
return /*#__PURE__*/React.createElement(SpreadsheetIconOld, props);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
// TODO Delete this and rename DocumentFilledIconNew to DocumentFilledIcon when cleaning platform-smart-card-icon-migration
|
|
61
|
+
var DocumentFilledIcon = function DocumentFilledIcon(props) {
|
|
62
|
+
if (fg('platform-smart-card-icon-migration')) {
|
|
63
|
+
return /*#__PURE__*/React.createElement(DocumentFilledIconNew, props);
|
|
64
|
+
}
|
|
65
|
+
return /*#__PURE__*/React.createElement(DocumentFilledIconOld, props);
|
|
66
|
+
};
|
|
12
67
|
/**
|
|
13
68
|
* Extracts an icon for a document pbject
|
|
14
69
|
*
|
|
@@ -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: "34.10.
|
|
7
|
+
packageVersion: "34.10.3"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -21,8 +21,11 @@ var iconSizeStyleMap = {
|
|
|
21
21
|
'1rem': "_16jlidpf _1o9zidpf _i0dl1wug _4t3i1j6v _1tke1j6v _c71l1j6v _1bsb1j6v _1ul91j6v _p12f1j6v _i2i3idpf _uhasidpf _5jw9idpf _7wy9idpf _bna71j6v _1xjx1j6v _17521j6v _qci81j6v _15iz1j6v _erub1j6v _19l31j6v _1pr21j6v _1u5t1j6v _mezj1j6v _e2oo1j6v _w8l51j6v _1rg21j6v _q7cv1j6v _xwbj1j6v _rtys1j6v _b8nk1j6v _4x201j6v",
|
|
22
22
|
'20px': "_16jlidpf _1o9zidpf _i0dl1wug _4t3igktf _1tkegktf _c71lgktf _1bsbgktf _1ul9gktf _p12fgktf _i2i3idpf _uhasidpf _5jw9idpf _7wy9idpf _bna7gktf _1xjxgktf _1752gktf _qci8gktf _15izgktf _erubgktf _19l3gktf _1pr2gktf _1u5tgktf _mezjgktf _e2oogktf _w8l5gktf _1rg2gktf _q7cvgktf _xwbjgktf _rtysgktf _b8nkgktf _4x20gktf"
|
|
23
23
|
};
|
|
24
|
+
|
|
25
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
26
|
+
var stackItemIconStylesOld = null;
|
|
27
|
+
var stackItemIconStylesCompiled = null;
|
|
24
28
|
var stackItemIconStyles = null;
|
|
25
|
-
var newStackItemIconStyles = null;
|
|
26
29
|
var iconStyleMap = {
|
|
27
30
|
true: "_syaz2oi6",
|
|
28
31
|
false: "_syazwdcn"
|
|
@@ -41,7 +44,7 @@ var ActionIconNew = function ActionIconNew(_ref) {
|
|
|
41
44
|
}
|
|
42
45
|
return /*#__PURE__*/React.createElement("span", {
|
|
43
46
|
"data-testid": "".concat(testId, "-icon"),
|
|
44
|
-
className: ax([iconStyleMap[isDisabled ? 'true' : 'false'], "_1e0c1o8l"])
|
|
47
|
+
className: ax([iconStyleMap[isDisabled ? 'true' : 'false'], fg('platform-linking-visual-refresh-v1') ? "_1e0c116y" : "_1e0c1o8l"])
|
|
45
48
|
}, icon);
|
|
46
49
|
};
|
|
47
50
|
var ActionIcon = function ActionIcon(props) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
._kkk2n7od{all:unset}.
|
|
2
|
+
._kkk2n7od{all:unset}._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
3
4
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
4
5
|
._1bsb1osq{width:100%}
|
|
5
6
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js
CHANGED
|
@@ -14,6 +14,9 @@ var styles = {
|
|
|
14
14
|
button: "_kkk2n7od _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _irr3166n _1di61dty",
|
|
15
15
|
content: "_11c8qk37 _syaz1fxt"
|
|
16
16
|
};
|
|
17
|
+
var contentStyles = {
|
|
18
|
+
content: "_11c81vlj _syaz1fxt"
|
|
19
|
+
};
|
|
17
20
|
var ActionButtonNew = function ActionButtonNew(_ref) {
|
|
18
21
|
var content = _ref.content,
|
|
19
22
|
iconOption = _ref.icon,
|
|
@@ -51,7 +54,7 @@ var ActionButtonNew = function ActionButtonNew(_ref) {
|
|
|
51
54
|
grow: "fill",
|
|
52
55
|
space: space
|
|
53
56
|
}, icon, /*#__PURE__*/React.createElement(Box, {
|
|
54
|
-
xcss: styles.content
|
|
57
|
+
xcss: fg('platform-linking-visual-refresh-v1') ? contentStyles.content : styles.content
|
|
55
58
|
}, content)));
|
|
56
59
|
};
|
|
57
60
|
var ActionButton = function ActionButton(props) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
._16jlkb7n{flex-grow:1}
|
|
2
2
|
._18u01ivi{margin-left:calc(var(--container-gap-left)*-1)}
|
|
3
|
+
._1bsb129b{width:calc(100% + var(--container-gap-left) + var(--container-gap-right))}
|
|
3
4
|
._1bsb1osq{width:100%}
|
|
4
5
|
._1e0c1txw{display:flex}
|
|
5
6
|
._2hwxc10g{margin-right:calc(var(--container-gap-right)*-1)}
|
|
@@ -11,6 +11,8 @@ import { useFlexibleUiContext, useFlexibleUiOptionContext } from '../../../../..
|
|
|
11
11
|
import * as Actions from '../../actions';
|
|
12
12
|
import { ActionFooter } from './action-footer';
|
|
13
13
|
import ActionBlockOld from './ActionBlockOld';
|
|
14
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
15
|
+
var ignoreContainerPaddingStylesOld = null;
|
|
14
16
|
var ignoreContainerPaddingStyles = null;
|
|
15
17
|
var DEFAULT_SORT_ORDER = ['PreviewAction', 'CopyLinkAction', 'AISummaryAction'];
|
|
16
18
|
var sort = function sort(a, b) {
|
|
@@ -100,7 +102,7 @@ var ActionBlockNew = function ActionBlockNew(_ref) {
|
|
|
100
102
|
return actions ? /*#__PURE__*/React.createElement("div", {
|
|
101
103
|
ref: blockRef,
|
|
102
104
|
"data-testid": testId,
|
|
103
|
-
className: ax(["_1e0c1txw _2lx21bp4 _vchhusvi _16jlkb7n _1bsb1osq _18u01ivi _2hwxc10g"])
|
|
105
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_1e0c1txw _2lx21bp4 _vchhusvi _16jlkb7n _1bsb129b _18u01ivi _2hwxc10g" : "_1e0c1txw _2lx21bp4 _vchhusvi _16jlkb7n _1bsb1osq _18u01ivi _2hwxc10g"])
|
|
104
106
|
}, actions, /*#__PURE__*/React.createElement(ActionFooter, {
|
|
105
107
|
message: message,
|
|
106
108
|
testId: testId
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
._zulp147b{gap:var(--ds-space-250,1.25rem)}
|
|
3
|
+
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
3
4
|
._zulp1e9d{gap:var(--ds-space-200,1rem)}
|
|
4
5
|
._zulpcxkx{gap:var(--ds-space-100,.5rem)}
|
|
5
|
-
._zulppdf9{gap:var(--ds-space-050,.25rem)}
|
|
6
|
+
._zulppdf9{gap:var(--ds-space-050,.25rem)}
|
|
7
|
+
._zulppxbi{gap:var(--ds-space-200,1pc)}
|
|
8
|
+
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
9
|
+
._zulpv47k{gap:var(--ds-space-250,20px)}._16jlkb7n{flex-grow:1}
|
|
6
10
|
._18m915vq{overflow-y:hidden}
|
|
7
11
|
._1aaynkob >div, ._15tynkob >span{vertical-align:middle}
|
|
8
12
|
._1bah1y6m{justify-content:flex-start}
|
|
@@ -44,6 +48,7 @@
|
|
|
44
48
|
._s7n4nkob{vertical-align:middle}
|
|
45
49
|
._sudp1e54{-webkit-box-orient:vertical}
|
|
46
50
|
._vwz41j6v{line-height:1rem}
|
|
51
|
+
._vwz47vkz{line-height:1pc}
|
|
47
52
|
._y3gn1e5h{text-align:left}
|
|
48
53
|
._y3gnusic{text-align:right}
|
|
49
54
|
@supports not (-webkit-line-clamp:1){._102k1k8s{max-height:1.5rem}._102k1m1q{max-height:1.75rem}}
|
|
@@ -11,12 +11,20 @@ var alignmentStyleMap = {
|
|
|
11
11
|
right: "_1dthh9n0 _r291h9n0 _1bahesu3 _y3gnusic",
|
|
12
12
|
left: "_1dthv2br _r291v2br _1bah1y6m _y3gn1e5h"
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
16
|
+
var baseStyleBySizeOld = {
|
|
15
17
|
xlarge: "_zulp147b _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz41j6v",
|
|
16
18
|
large: "_zulp1e9d _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz41j6v",
|
|
17
19
|
medium: "_zulpcxkx _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz41j6v",
|
|
18
20
|
small: "_zulppdf9 _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz41j6v"
|
|
19
21
|
};
|
|
22
|
+
var baseStyleBySize = {
|
|
23
|
+
xlarge: "_zulpv47k _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz47vkz",
|
|
24
|
+
large: "_zulppxbi _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz47vkz",
|
|
25
|
+
medium: "_zulpu2gc _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz47vkz",
|
|
26
|
+
small: "_zulp1b66 _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz47vkz"
|
|
27
|
+
};
|
|
20
28
|
var baseStyleByDirection = {
|
|
21
29
|
horizontal: "_2lx2vrvc _4cvr1h6o",
|
|
22
30
|
vertical: "_2lx21bp4 _4cvr1y6m"
|
|
@@ -73,12 +81,13 @@ var ElementGroupNew = function ElementGroupNew(_ref) {
|
|
|
73
81
|
_ref$position = _ref.position,
|
|
74
82
|
position = _ref$position === void 0 ? SmartLinkPosition.Center : _ref$position,
|
|
75
83
|
className = _ref.className;
|
|
84
|
+
var isHorizontal = direction === SmartLinkDirection.Horizontal;
|
|
76
85
|
return /*#__PURE__*/React.createElement("div", {
|
|
77
86
|
"data-smart-element-group": true,
|
|
78
87
|
"data-testid": testId
|
|
79
88
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
80
89
|
,
|
|
81
|
-
className: ax([baseStyleBySize[size], baseStyleByDirection[direction], "_fiawglyw _1ouwidpf _f6ju1ns9", alignmentStyleMap[align], "_1ul99by0", widthStyle[width],
|
|
90
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? baseStyleBySize[size] : baseStyleBySizeOld[size], baseStyleByDirection[direction], "_fiawglyw _1ouwidpf _f6ju1ns9", alignmentStyleMap[align], "_1ul99by0", widthStyle[width], isHorizontal && "_1reo15vq _18m915vq _1e0c1ule _s7n4nkob _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _1aaynkob _15tynkob _1iu61nu9 _166k1nu9 _1div1nu9 _bmfb1nu9", isHorizontal && horizontalStyleByHeight[size], isHorizontal && align === SmartLinkAlignment.Left && gapStylesLeft[size], isHorizontal && align === SmartLinkAlignment.Right && gapStylesRight[size], positionStyle[position], className])
|
|
82
91
|
}, renderChildren(children, size));
|
|
83
92
|
};
|
|
84
93
|
var ElementGroup = function ElementGroup(props) {
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
._19itn8v0{border:var(--_vzvmm2)}
|
|
3
|
+
._19itpp12{border:var(--_18x9sjc)}
|
|
3
4
|
._1yt418y6{padding:var(--_1xumd0e)}
|
|
5
|
+
._2rkob7nn{border-radius:var(--ds-border-radius-300,9pt)}
|
|
4
6
|
._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
|
|
7
|
+
._zulp1bpf{gap:var(--ds-space-100,8px) 0}
|
|
5
8
|
._zulp1jvo{gap:1.25rem 0}
|
|
6
9
|
._zulp1qos{gap:.5rem 0}
|
|
7
10
|
._zulpfzsm{gap:.25rem 0}
|
|
8
|
-
._zulph3jc{gap:1rem 0}
|
|
11
|
+
._zulph3jc{gap:1rem 0}
|
|
12
|
+
._zulpr2fv{gap:var(--ds-space-250,20px) 0}
|
|
13
|
+
._zulpswc3{gap:var(--ds-space-050,4px) 0}
|
|
14
|
+
._zulpzu5n{gap:var(--ds-space-200,1pc) 0}._18u0v77o{margin-left:var(--ds-space-025,2px)}
|
|
9
15
|
._19bv15sf{padding-left:calc(var(--preview-block-width) + 1.25rem)}
|
|
16
|
+
._19bv16ru{padding-left:calc(var(--preview-block-width) + var(--ds-space-250, 20px))}
|
|
17
|
+
._19bv1g7w{padding-left:calc(var(--preview-block-width) + var(--ds-space-200, 1pc))}
|
|
10
18
|
._19bv1ltm{padding-left:calc(var(--preview-block-width) + .25rem)}
|
|
19
|
+
._19bv1ugb{padding-left:calc(var(--preview-block-width) + var(--ds-space-050, 4px))}
|
|
11
20
|
._19bvf557{padding-left:calc(var(--preview-block-width) + 1rem)}
|
|
21
|
+
._19bvlbes{padding-left:calc(var(--preview-block-width) + var(--ds-space-100, 8px))}
|
|
12
22
|
._19bvqox2{padding-left:calc(var(--preview-block-width) + .5rem)}
|
|
13
23
|
._19pkv77o{margin-top:var(--ds-space-025,2px)}
|
|
14
24
|
._1e0c1txw{display:flex}
|
|
@@ -16,11 +26,15 @@
|
|
|
16
26
|
._1reo15vq{overflow-x:hidden}
|
|
17
27
|
._1t4ckb7n .has-action, ._1nxdkb7n a, ._xnbykb7n button{z-index:1}
|
|
18
28
|
._1ul9idpf{min-width:0}
|
|
29
|
+
._1yob1b66{--container-gap-right:var(--ds-space-050,4px)}
|
|
30
|
+
._1yob1eak{--container-gap-right:var(--ds-space-200,16px)}
|
|
19
31
|
._1yob1j6v{--container-gap-right:1rem}
|
|
20
32
|
._1yob1k92{--container-gap-right:1.25rem}
|
|
21
33
|
._1yob1kwk{--container-gap-right:.5rem}
|
|
22
34
|
._1yob1wow{--container-gap-right:var(--_12k13bg)}
|
|
23
35
|
._1yob6mu8{--container-gap-right:.25rem}
|
|
36
|
+
._1yobu2gc{--container-gap-right:var(--ds-space-100,8px)}
|
|
37
|
+
._1yobv47k{--container-gap-right:var(--ds-space-250,20px)}
|
|
24
38
|
._2hwxv77o{margin-right:var(--ds-space-025,2px)}
|
|
25
39
|
._2lx21bp4{flex-direction:column}
|
|
26
40
|
._bfhkhp5a{background-color:var(--ds-surface-raised,#fff)}
|
|
@@ -30,12 +44,20 @@
|
|
|
30
44
|
._otyrv77o{margin-bottom:var(--ds-space-025,2px)}
|
|
31
45
|
._r37x1r5k{--preview-block-width:30%}
|
|
32
46
|
._u5f315sf{padding-right:calc(var(--preview-block-width) + 1.25rem)}
|
|
47
|
+
._u5f316ru{padding-right:calc(var(--preview-block-width) + var(--ds-space-250, 20px))}
|
|
48
|
+
._u5f31g7w{padding-right:calc(var(--preview-block-width) + var(--ds-space-200, 1pc))}
|
|
33
49
|
._u5f31ltm{padding-right:calc(var(--preview-block-width) + .25rem)}
|
|
50
|
+
._u5f31ugb{padding-right:calc(var(--preview-block-width) + var(--ds-space-050, 4px))}
|
|
34
51
|
._u5f3f557{padding-right:calc(var(--preview-block-width) + 1rem)}
|
|
52
|
+
._u5f3lbes{padding-right:calc(var(--preview-block-width) + var(--ds-space-100, 8px))}
|
|
35
53
|
._u5f3qox2{padding-right:calc(var(--preview-block-width) + .5rem)}
|
|
36
54
|
._y5vk167t{--container-gap-left:var(--_73mooq)}
|
|
55
|
+
._y5vk1b66{--container-gap-left:var(--ds-space-050,4px)}
|
|
56
|
+
._y5vk1eak{--container-gap-left:var(--ds-space-200,16px)}
|
|
37
57
|
._y5vk1j6v{--container-gap-left:1rem}
|
|
38
58
|
._y5vk1k92{--container-gap-left:1.25rem}
|
|
39
59
|
._y5vk1kwk{--container-gap-left:.5rem}
|
|
40
60
|
._y5vk6mu8{--container-gap-left:.25rem}
|
|
61
|
+
._y5vku2gc{--container-gap-left:var(--ds-space-100,8px)}
|
|
62
|
+
._y5vkv47k{--container-gap-left:var(--ds-space-250,20px)}
|
|
41
63
|
._1v7y1i6y .has-action:focus, ._ufn21i6y a:focus{outline-offset:var(--ds-space-negative-025,-2px)}
|
|
@@ -85,15 +85,29 @@ var getLayeredLink = function getLayeredLink(testId, context, children, onClick)
|
|
|
85
85
|
});
|
|
86
86
|
};
|
|
87
87
|
var baseStyleCommon = null;
|
|
88
|
-
|
|
88
|
+
|
|
89
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
90
|
+
var backgroundStyleOld = null;
|
|
91
|
+
var backgroundStyles = null;
|
|
92
|
+
|
|
93
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
94
|
+
var elevationStylesOld = null;
|
|
89
95
|
var elevationStyles = null;
|
|
90
96
|
var clickableContainerStyles = null;
|
|
91
|
-
|
|
97
|
+
|
|
98
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
99
|
+
var gapStyleMapOld = {
|
|
92
100
|
xlarge: "_zulp1jvo",
|
|
93
101
|
large: "_zulph3jc",
|
|
94
102
|
medium: "_zulp1qos",
|
|
95
103
|
small: "_zulpfzsm"
|
|
96
104
|
};
|
|
105
|
+
var gapStyleMap = {
|
|
106
|
+
xlarge: "_zulpr2fv",
|
|
107
|
+
large: "_zulpzu5n",
|
|
108
|
+
medium: "_zulp1bpf",
|
|
109
|
+
small: "_zulpswc3"
|
|
110
|
+
};
|
|
97
111
|
|
|
98
112
|
/**
|
|
99
113
|
* Get container padding based on smart link size
|
|
@@ -101,6 +115,19 @@ var gapStyleMap = {
|
|
|
101
115
|
* at view/FlexibleCard/components/utils.tsx
|
|
102
116
|
*/
|
|
103
117
|
var getPadding = function getPadding(size) {
|
|
118
|
+
if (fg('platform-linking-visual-refresh-v1')) {
|
|
119
|
+
switch (size) {
|
|
120
|
+
case SmartLinkSize.XLarge:
|
|
121
|
+
return "var(--ds-space-300, 24px)";
|
|
122
|
+
case SmartLinkSize.Large:
|
|
123
|
+
return "var(--ds-space-250, 20px)";
|
|
124
|
+
case SmartLinkSize.Medium:
|
|
125
|
+
return "var(--ds-space-200, 16px)";
|
|
126
|
+
case SmartLinkSize.Small:
|
|
127
|
+
default:
|
|
128
|
+
return "var(--ds-space-100, 8px)";
|
|
129
|
+
}
|
|
130
|
+
}
|
|
104
131
|
switch (size) {
|
|
105
132
|
case SmartLinkSize.XLarge:
|
|
106
133
|
return '1.5rem';
|
|
@@ -114,6 +141,19 @@ var getPadding = function getPadding(size) {
|
|
|
114
141
|
}
|
|
115
142
|
};
|
|
116
143
|
var getGap = function getGap(size) {
|
|
144
|
+
if (fg('platform-linking-visual-refresh-v1')) {
|
|
145
|
+
switch (size) {
|
|
146
|
+
case SmartLinkSize.XLarge:
|
|
147
|
+
return "var(--ds-space-250, 1.25rem)";
|
|
148
|
+
case SmartLinkSize.Large:
|
|
149
|
+
return "var(--ds-space-200, 1rem)";
|
|
150
|
+
case SmartLinkSize.Medium:
|
|
151
|
+
return "var(--ds-space-100, .5rem)";
|
|
152
|
+
case SmartLinkSize.Small:
|
|
153
|
+
default:
|
|
154
|
+
return "var(--ds-space-050, .25rem)";
|
|
155
|
+
}
|
|
156
|
+
}
|
|
117
157
|
switch (size) {
|
|
118
158
|
case SmartLinkSize.XLarge:
|
|
119
159
|
return '1.25rem';
|
|
@@ -126,18 +166,34 @@ var getGap = function getGap(size) {
|
|
|
126
166
|
return '.25rem';
|
|
127
167
|
}
|
|
128
168
|
};
|
|
129
|
-
|
|
169
|
+
|
|
170
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
171
|
+
var previewOnLeftStyleMapOld = {
|
|
130
172
|
xlarge: "_19bv15sf _y5vk1k92",
|
|
131
173
|
large: "_19bvf557 _y5vk1j6v",
|
|
132
174
|
medium: "_19bvqox2 _y5vk1kwk",
|
|
133
175
|
small: "_19bv1ltm _y5vk6mu8"
|
|
134
176
|
};
|
|
135
|
-
var
|
|
177
|
+
var previewOnLeftStyleMap = {
|
|
178
|
+
xlarge: "_19bv16ru _y5vkv47k",
|
|
179
|
+
large: "_19bv1g7w _y5vk1eak",
|
|
180
|
+
medium: "_19bvlbes _y5vku2gc",
|
|
181
|
+
small: "_19bv1ugb _y5vk1b66"
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
185
|
+
var previewOnRightStyleMapOld = {
|
|
136
186
|
xlarge: "_u5f315sf _1yob1k92",
|
|
137
187
|
large: "_u5f3f557 _1yob1j6v",
|
|
138
188
|
medium: "_u5f3qox2 _1yob1kwk",
|
|
139
189
|
small: "_u5f31ltm _1yob6mu8"
|
|
140
190
|
};
|
|
191
|
+
var previewOnRightStyleMap = {
|
|
192
|
+
xlarge: "_u5f316ru _1yobv47k",
|
|
193
|
+
large: "_u5f31g7w _1yob1eak",
|
|
194
|
+
medium: "_u5f3lbes _1yobu2gc",
|
|
195
|
+
small: "_u5f31ugb _1yob1b66"
|
|
196
|
+
};
|
|
141
197
|
|
|
142
198
|
/**
|
|
143
199
|
* A container is a hidden component that build the Flexible Smart Link.
|
|
@@ -181,10 +237,20 @@ var ContainerNew = function ContainerNew(_ref3) {
|
|
|
181
237
|
// unresolved link (unauthorized, forbidden, not found, etc.)
|
|
182
238
|
var canShowAuthTooltip = showHoverPreview && status === 'unauthorized' && retry !== undefined;
|
|
183
239
|
var containerPaddingStyles = null;
|
|
184
|
-
var container = /*#__PURE__*/React.createElement("div", {
|
|
240
|
+
var container = fg('platform-linking-visual-refresh-v1') ? /*#__PURE__*/React.createElement("div", {
|
|
241
|
+
"data-smart-link-container": true,
|
|
242
|
+
"data-testid": testId,
|
|
243
|
+
className: ax(["_1e0c1txw _2lx21bp4 _1ul9idpf _1reo15vq _kqswh2mm _1pcmkb7n _1v7y1i6y _ufn21i6y", gapStyleMap[size], !hideBackground && "_bfhkhp5a", "_1yt418y6 _jb7v18y6 _y5vk167t _1yob1wow _r37x1r5k", previewOnLeft && previewOnLeftStyleMap[size], previewOnRight && previewOnRightStyleMap[size], !hideElevation && "_19itpp12 _2rkob7nn _19pkv77o _2hwxv77o _otyrv77o _18u0v77o", clickableContainer && "_nqwih2mm _18ywh2mm _1nq3h2mm _1t4ckb7n _1nxdkb7n _xnbykb7n"]),
|
|
244
|
+
style: {
|
|
245
|
+
"--_1xumd0e": ix(padding),
|
|
246
|
+
"--_73mooq": ix(previewOnLeft ? gap : padding),
|
|
247
|
+
"--_12k13bg": ix(previewOnRight ? gap : padding),
|
|
248
|
+
"--_18x9sjc": ix("1px solid ".concat("var(--ds-border, #091E4224)"))
|
|
249
|
+
}
|
|
250
|
+
}, clickableContainer ? getLayeredLink(testId, context, children, onClick) : null, renderChildren(children, size, theme, status, retry, onClick)) : /*#__PURE__*/React.createElement("div", {
|
|
185
251
|
"data-smart-link-container": true,
|
|
186
252
|
"data-testid": testId,
|
|
187
|
-
className: ax(["_1e0c1txw _2lx21bp4 _1ul9idpf _1reo15vq _kqswh2mm _1pcmkb7n _1v7y1i6y _ufn21i6y",
|
|
253
|
+
className: ax(["_1e0c1txw _2lx21bp4 _1ul9idpf _1reo15vq _kqswh2mm _1pcmkb7n _1v7y1i6y _ufn21i6y", gapStyleMapOld[size], !hideBackground && "_bfhkhp5a", "_1yt418y6 _jb7v18y6 _y5vk167t _1yob1wow _r37x1r5k", previewOnLeft && previewOnLeftStyleMapOld[size], previewOnRight && previewOnRightStyleMapOld[size], !hideElevation && "_19itn8v0 _2rkopd34 _19pkv77o _2hwxv77o _otyrv77o _18u0v77o", clickableContainer && "_nqwih2mm _18ywh2mm _1nq3h2mm _1t4ckb7n _1nxdkb7n _xnbykb7n"]),
|
|
188
254
|
style: {
|
|
189
255
|
"--_1xumd0e": ix(padding),
|
|
190
256
|
"--_73mooq": ix(previewOnLeft ? gap : padding),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
1
2
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
3
|
._16jlidpf{flex-grow:0}
|
|
3
4
|
._19bv1xvx{padding-left:var(--ds-space-025,.125rem)}
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
._rtys1j6v img, ._b8nk1j6v span, ._4x201j6v svg{max-width:1rem}
|
|
26
27
|
._s7n4nkob{vertical-align:middle}
|
|
27
28
|
._syaz131l{color:var(--ds-text-subtlest,#626f86)}
|
|
29
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
28
30
|
._syaz1oju{color:var(--ds-icon-subtle,#626f86)}
|
|
29
31
|
._uhasidpf svg{padding-right:0}
|
|
30
32
|
._vwz4idpf{line-height:0}
|
|
@@ -15,8 +15,9 @@ import { getFormattedMessage } from '../../utils';
|
|
|
15
15
|
import BadgeOld from './BadgeOld';
|
|
16
16
|
var badgeStyles = null;
|
|
17
17
|
var iconStyles = null;
|
|
18
|
-
// ${getIconSizeStyles('1rem')}
|
|
19
18
|
|
|
19
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
20
|
+
var labelStylesOld = null;
|
|
20
21
|
var labelStyles = null;
|
|
21
22
|
var messageMapper = (_messageMapper = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_messageMapper, IconType.PriorityBlocker, messages.priority_blocker), IconType.PriorityCritical, messages.priority_critical), IconType.PriorityHigh, messages.priority_high), IconType.PriorityHighest, messages.priority_highest), IconType.PriorityLow, messages.priority_low), IconType.PriorityLowest, messages.priority_lowest), IconType.PriorityMajor, messages.priority_major), IconType.PriorityMedium, messages.priority_medium), IconType.PriorityMinor, messages.priority_minor), IconType.PriorityTrivial, messages.priority_trivial), _defineProperty(_messageMapper, IconType.PriorityUndefined, messages.priority_undefined));
|
|
22
23
|
var getFormattedMessageFromIcon = function getFormattedMessageFromIcon(icon) {
|
|
@@ -87,7 +88,7 @@ var BadgeNew = function BadgeNew(_ref) {
|
|
|
87
88
|
className: ax(["_16jlidpf _1o9zidpf _i0dl1wug _syaz1oju _vwz4idpf _s7n4nkob _4t3i1j6v _1tke1j6v _c71l1j6v _1bsb1j6v _1ul91j6v _p12f1j6v _i2i3idpf _uhasidpf _5jw9idpf _7wy9idpf _bna71j6v _1xjx1j6v _17521j6v _qci81j6v _15iz1j6v _erub1j6v _19l31j6v _1pr21j6v _1u5t1j6v _mezj1j6v _e2oo1j6v _w8l51j6v _1rg21j6v _q7cv1j6v _xwbj1j6v _rtys1j6v _b8nk1j6v _4x201j6v _1jtnidpf _13t3idpf _rm9uidpf _rtqbnkob _e4kmnkob _z239nkob"])
|
|
88
89
|
}, badgeIcon), /*#__PURE__*/React.createElement("span", {
|
|
89
90
|
"data-testid": "".concat(testId, "-label"),
|
|
90
|
-
className: ax(["_11c8qk37 _syaz131l _19bv1xvx _s7n4nkob"])
|
|
91
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81vlj _syaz1gjq _19bv1xvx _s7n4nkob" : "_11c8qk37 _syaz131l _19bv1xvx _s7n4nkob"])
|
|
91
92
|
}, formattedMessageOrLabel));
|
|
92
93
|
};
|
|
93
94
|
var Badge = function Badge(props) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
1
2
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
3
|
._18m915vq{overflow-y:hidden}
|
|
3
4
|
._1bto1l2s{text-overflow:ellipsis}
|
|
@@ -7,4 +8,5 @@
|
|
|
7
8
|
._1yyjkb7n{-webkit-line-clamp:1}
|
|
8
9
|
._sudp1e54{-webkit-box-orient:vertical}
|
|
9
10
|
._syaz131l{color:var(--ds-text-subtlest,#626f86)}
|
|
11
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
10
12
|
@supports not (-webkit-line-clamp:1){._102k1j6v{max-height:1rem}}
|
|
@@ -8,6 +8,8 @@ import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
9
|
import { messages } from '../../../../../messages';
|
|
10
10
|
import DateTimeOld from './DateTimeOld';
|
|
11
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
12
|
+
var stylesOld = null;
|
|
11
13
|
var styles = null;
|
|
12
14
|
var typeToDescriptorMap = {
|
|
13
15
|
created: {
|
|
@@ -72,7 +74,7 @@ var DateTimeNew = function DateTimeNew(_ref) {
|
|
|
72
74
|
"data-testid": testId
|
|
73
75
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
74
76
|
,
|
|
75
|
-
className: ax(["_11c8qk37 _1reo15vq _18m915vq _syaz131l _1e0ccj1k _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k1j6v", className])
|
|
77
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81vlj _1reo15vq _18m915vq _syaz1gjq _1e0ccj1k _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k1j6v" : "_11c8qk37 _1reo15vq _18m915vq _syaz131l _1e0ccj1k _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k1j6v", className])
|
|
76
78
|
}, text ? "".concat(text, " ").concat(context) : /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, typeToDescriptorMap[type][typeVariant], {
|
|
77
79
|
values: {
|
|
78
80
|
context: context
|
|
@@ -11,6 +11,9 @@ import { FlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
|
11
11
|
import Text from '../text';
|
|
12
12
|
import SnippetElementOld from './SnippetElementOld';
|
|
13
13
|
var SNIPPET_DEFAULT_MAX_LINES = 3;
|
|
14
|
+
|
|
15
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
16
|
+
var snippetBaseStyleOld = null;
|
|
14
17
|
var snippetBaseStyle = null;
|
|
15
18
|
var SnippetElementNew = function SnippetElementNew() {
|
|
16
19
|
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -24,7 +27,7 @@ var SnippetElementNew = function SnippetElementNew() {
|
|
|
24
27
|
content: overrideContent !== null && overrideContent !== void 0 ? overrideContent : context === null || context === void 0 ? void 0 : context.snippet,
|
|
25
28
|
maxLines: maxLines,
|
|
26
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
27
|
-
className: ax(["_syaz1fxt _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className])
|
|
30
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_syaz1fxt _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv" : "_syaz1fxt _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className])
|
|
28
31
|
}, props));
|
|
29
32
|
};
|
|
30
33
|
var SnippetElement = function SnippetElement() {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
1
2
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
3
|
._18m915vq{overflow-y:hidden}
|
|
3
4
|
._1bto1l2s{text-overflow:ellipsis}
|
|
@@ -8,4 +9,5 @@
|
|
|
8
9
|
._o5724jg8{white-space:normal}
|
|
9
10
|
._sudp1e54{-webkit-box-orient:vertical}
|
|
10
11
|
._syaz131l{color:var(--ds-text-subtlest,#626f86)}
|
|
12
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
11
13
|
@supports not (-webkit-line-clamp:1){._102klxil{max-height:var(--_ohw86c)}}
|
|
@@ -5,6 +5,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
6
|
import { getFormattedMessage } from '../../utils';
|
|
7
7
|
import TextOld from './TextOld';
|
|
8
|
+
// TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
|
|
9
|
+
var baseStyleOld = null;
|
|
8
10
|
var baseStyle = null;
|
|
9
11
|
|
|
10
12
|
/**
|
|
@@ -33,7 +35,7 @@ var TextNew = function TextNew(_ref) {
|
|
|
33
35
|
"data-testid": testId
|
|
34
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
35
37
|
,
|
|
36
|
-
className: ax(["_11c8qk37 _1reo15vq _18m915vq _syaz131l _o5724jg8 _1e0ccj1k _1bto1l2s _1nmz1hna _sudp1e54", "_1yyjr31u _102klxil", className]),
|
|
38
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81vlj _1reo15vq _18m915vq _syaz1gjq _o5724jg8 _1e0ccj1k _1bto1l2s _1nmz1hna _sudp1e54" : "_11c8qk37 _1reo15vq _18m915vq _syaz131l _o5724jg8 _1e0ccj1k _1bto1l2s _1nmz1hna _sudp1e54", "_1yyjr31u _102klxil", className]),
|
|
37
39
|
style: {
|
|
38
40
|
"--_1erfju8": ix(maxLines),
|
|
39
41
|
"--_ohw86c": ix("calc(".concat(maxLines, " * 1rem)"))
|
|
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
13
13
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
14
14
|
var PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/smart-card",
|
|
16
|
-
packageVersion: "34.10.
|
|
16
|
+
packageVersion: "34.10.3",
|
|
17
17
|
componentName: 'linkUrl'
|
|
18
18
|
};
|
|
19
19
|
var Anchor = withLinkClickedEvent('a');
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
1
2
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
3
|
._181u1kdv{-webkit-user-select:text}
|
|
3
4
|
._1nmz1hna{word-break:break-word}
|
|
4
5
|
._1rkw1kdv{-moz-user-select:text}
|
|
5
6
|
._o5724jg8{white-space:normal}
|
|
6
7
|
._slp31hna{word-wrap:break-word}
|
|
8
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
7
9
|
._te171kdv{-ms-user-select:text}
|
|
8
10
|
._uizt1kdv{-webkit-user-select:text;-ms-user-select:text;user-select:text}
|
|
@@ -11,6 +11,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
11
11
|
import AISummaryOld from './AISummaryOld';
|
|
12
12
|
import UList from './ulist';
|
|
13
13
|
var AISummaryCSSStyles = null;
|
|
14
|
+
var baseStyle = null;
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* A component to render a response from AI in markdown text.
|
|
@@ -32,7 +33,7 @@ var AISummaryNew = function AISummaryNew(_ref) {
|
|
|
32
33
|
"data-testid": testId
|
|
33
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
34
35
|
,
|
|
35
|
-
className: ax(["_11c8qk37 _slp31hna _1nmz1hna _o5724jg8 _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className]),
|
|
36
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81vlj _syaz1gjq _slp31hna _1nmz1hna _o5724jg8 _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv" : "_11c8qk37 _slp31hna _1nmz1hna _o5724jg8 _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className]),
|
|
36
37
|
children: content,
|
|
37
38
|
options: {
|
|
38
39
|
forceWrapper: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const withIntl: (child: React.ReactNode) => JSX.Element;
|
|
2
|
+
export declare const withIntl: (child: React.ReactNode) => React.JSX.Element;
|
package/dist/types/ssr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { CardProps } from './types';
|
|
3
3
|
export type CardSSRProps = CardProps & {
|
|
4
4
|
url: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const CardSSR: (props: CardSSRProps) => JSX.Element;
|
|
6
|
+
export declare const CardSSR: (props: CardSSRProps) => React.JSX.Element;
|
|
@@ -47,6 +47,6 @@ export interface UseSmartLinkActionsOpts {
|
|
|
47
47
|
}
|
|
48
48
|
export declare function useSmartLinkActions({ url, appearance, origin, actionOptions, }: UseSmartLinkActionsOpts): {
|
|
49
49
|
id: string;
|
|
50
|
-
text: JSX.Element;
|
|
50
|
+
text: import("react").JSX.Element;
|
|
51
51
|
invoke: () => Promise<void>;
|
|
52
52
|
}[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type SmartLinkModalAPI, type SmartLinkModalProviderProps } from './types';
|
|
3
3
|
export declare const SmartLinkModalContext: React.Context<SmartLinkModalAPI>;
|
|
4
|
-
export declare const SmartLinkModalProvider: ({ children }: SmartLinkModalProviderProps) => JSX.Element;
|
|
4
|
+
export declare const SmartLinkModalProvider: ({ children }: SmartLinkModalProviderProps) => React.JSX.Element;
|
|
5
5
|
/**
|
|
6
6
|
* Open (lazy load) modal
|
|
7
7
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
3
3
|
import { type InvokeClientActionHandler, type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
4
4
|
export declare const toAction: (action: InvokeClientActionProps, invokeClientAction: InvokeClientActionHandler, message: MessageDescriptor, id: string) => {
|
|
5
5
|
id: string;
|
|
6
|
-
text: JSX.Element;
|
|
6
|
+
text: React.JSX.Element;
|
|
7
7
|
invoke: () => Promise<void>;
|
|
8
8
|
};
|