@atlaskit/smart-card 39.0.0 → 39.2.0
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 +20 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +1 -2
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +1 -2
- package/dist/cjs/view/BlockCard/views/ResolvedView.compiled.css +1 -6
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +2 -9
- package/dist/cjs/view/BlockCard/views/UnauthorisedView.compiled.css +0 -2
- package/dist/cjs/view/BlockCard/views/UnauthorisedView.js +1 -3
- package/dist/cjs/view/BlockCard/views/unresolved-view/index.compiled.css +0 -2
- package/dist/cjs/view/BlockCard/views/unresolved-view/index.js +3 -6
- package/dist/cjs/view/EmbedCard/components/ExpandedFrame.js +35 -109
- package/dist/cjs/view/EmbedCard/components/styled.compiled.css +3 -83
- package/dist/cjs/view/EmbedCard/components/styled.js +12 -176
- package/dist/cjs/view/EmbedModal/components/link-info/index.compiled.css +2 -20
- package/dist/cjs/view/EmbedModal/components/link-info/index.js +4 -6
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.js +4 -8
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +0 -2
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +2 -9
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +1 -3
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +2 -7
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -4
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +7 -27
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.compiled.css +0 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +1 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/action-group/index.compiled.css +0 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-group/index.js +1 -4
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/index.js +3 -5
- package/dist/cjs/view/FlexibleCard/components/blocks/block/index.compiled.css +1 -14
- package/dist/cjs/view/FlexibleCard/components/blocks/block/index.js +1 -12
- package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.compiled.css +1 -8
- package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.js +1 -19
- package/dist/cjs/view/FlexibleCard/components/blocks/footer-block/resolved/index.compiled.css +0 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +4 -6
- package/dist/cjs/view/FlexibleCard/components/blocks/metadata-block/index.compiled.css +1 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/metadata-block/index.js +3 -9
- package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/container/index.compiled.css +0 -22
- package/dist/cjs/view/FlexibleCard/components/container/index.js +10 -77
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-atlaskit-badge-element/index.js +3 -7
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.js +3 -5
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-badge-element/index.compiled.css +1 -27
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-badge-element/index.js +1 -57
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +1 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -3
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-icon-element/index.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/index.compiled.css +1 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/index.js +3 -5
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +0 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -3
- package/dist/cjs/view/FlexibleCard/components/elements/snippet-element/index.js +1 -5
- package/dist/cjs/view/HoverCard/components/ImagePreview.js +1 -2
- package/dist/cjs/view/HoverCard/components/views/forbidden/index.compiled.css +0 -1
- package/dist/cjs/view/HoverCard/components/views/forbidden/index.js +4 -8
- package/dist/cjs/view/HoverCard/components/views/resolved/index.compiled.css +1 -11
- package/dist/cjs/view/HoverCard/components/views/resolved/index.js +3 -11
- package/dist/cjs/view/HoverCard/components/views/unauthorised/index.compiled.css +1 -4
- package/dist/cjs/view/HoverCard/components/views/unauthorised/index.js +3 -7
- package/dist/cjs/view/InlineCard/ErroredView/index.js +6 -44
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +19 -58
- package/dist/cjs/view/InlineCard/Frame/styled.compiled.css +1 -3
- package/dist/cjs/view/InlineCard/Frame/styled.js +4 -8
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +0 -1
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +38 -132
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.compiled.css +1 -34
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.js +3 -155
- package/dist/cjs/view/InlineCard/ResolvingView/index.js +3 -12
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +5 -38
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/common/UnauthorisedViewContent.js +1 -15
- package/dist/cjs/view/common/ai-summary/index.compiled.css +0 -1
- package/dist/cjs/view/common/ai-summary/index.js +1 -3
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +1 -2
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +1 -2
- package/dist/es2019/view/BlockCard/views/ResolvedView.compiled.css +1 -6
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +2 -9
- package/dist/es2019/view/BlockCard/views/UnauthorisedView.compiled.css +0 -2
- package/dist/es2019/view/BlockCard/views/UnauthorisedView.js +1 -3
- package/dist/es2019/view/BlockCard/views/unresolved-view/index.compiled.css +0 -2
- package/dist/es2019/view/BlockCard/views/unresolved-view/index.js +3 -6
- package/dist/es2019/view/EmbedCard/components/ExpandedFrame.js +37 -111
- package/dist/es2019/view/EmbedCard/components/styled.compiled.css +3 -83
- package/dist/es2019/view/EmbedCard/components/styled.js +1 -166
- package/dist/es2019/view/EmbedModal/components/link-info/index.compiled.css +2 -20
- package/dist/es2019/view/EmbedModal/components/link-info/index.js +4 -6
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +4 -8
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +0 -2
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +2 -9
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +1 -3
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +2 -7
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -4
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +7 -27
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.compiled.css +0 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +1 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/action-group/index.compiled.css +0 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-group/index.js +1 -4
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/index.js +3 -5
- package/dist/es2019/view/FlexibleCard/components/blocks/block/index.compiled.css +1 -14
- package/dist/es2019/view/FlexibleCard/components/blocks/block/index.js +1 -13
- package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.compiled.css +1 -8
- package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.js +1 -19
- package/dist/es2019/view/FlexibleCard/components/blocks/footer-block/resolved/index.compiled.css +0 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +4 -6
- package/dist/es2019/view/FlexibleCard/components/blocks/metadata-block/index.compiled.css +1 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/metadata-block/index.js +3 -9
- package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -2
- package/dist/es2019/view/FlexibleCard/components/container/index.compiled.css +0 -22
- package/dist/es2019/view/FlexibleCard/components/container/index.js +10 -76
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-atlaskit-badge-element/index.js +3 -8
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.js +3 -7
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-badge-element/index.compiled.css +1 -27
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-badge-element/index.js +2 -58
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +1 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -3
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-icon-element/index.js +2 -4
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/index.compiled.css +1 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/index.js +3 -6
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +0 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -3
- package/dist/es2019/view/FlexibleCard/components/elements/snippet-element/index.js +1 -5
- package/dist/es2019/view/HoverCard/components/ImagePreview.js +1 -2
- package/dist/es2019/view/HoverCard/components/views/forbidden/index.compiled.css +0 -1
- package/dist/es2019/view/HoverCard/components/views/forbidden/index.js +4 -8
- package/dist/es2019/view/HoverCard/components/views/resolved/index.compiled.css +1 -11
- package/dist/es2019/view/HoverCard/components/views/resolved/index.js +3 -11
- package/dist/es2019/view/HoverCard/components/views/unauthorised/index.compiled.css +1 -4
- package/dist/es2019/view/HoverCard/components/views/unauthorised/index.js +3 -7
- package/dist/es2019/view/InlineCard/ErroredView/index.js +6 -44
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +20 -59
- package/dist/es2019/view/InlineCard/Frame/styled.compiled.css +1 -3
- package/dist/es2019/view/InlineCard/Frame/styled.js +4 -8
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +0 -1
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +18 -110
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.compiled.css +1 -34
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.js +0 -172
- package/dist/es2019/view/InlineCard/ResolvingView/index.js +3 -12
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +5 -38
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/common/UnauthorisedViewContent.js +1 -15
- package/dist/es2019/view/common/ai-summary/index.compiled.css +0 -1
- package/dist/es2019/view/common/ai-summary/index.js +1 -3
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +1 -2
- package/dist/esm/view/BlockCard/views/NotFoundView.js +1 -2
- package/dist/esm/view/BlockCard/views/ResolvedView.compiled.css +1 -6
- package/dist/esm/view/BlockCard/views/ResolvedView.js +2 -9
- package/dist/esm/view/BlockCard/views/UnauthorisedView.compiled.css +0 -2
- package/dist/esm/view/BlockCard/views/UnauthorisedView.js +1 -3
- package/dist/esm/view/BlockCard/views/unresolved-view/index.compiled.css +0 -2
- package/dist/esm/view/BlockCard/views/unresolved-view/index.js +3 -6
- package/dist/esm/view/EmbedCard/components/ExpandedFrame.js +37 -111
- package/dist/esm/view/EmbedCard/components/styled.compiled.css +3 -83
- package/dist/esm/view/EmbedCard/components/styled.js +12 -176
- package/dist/esm/view/EmbedModal/components/link-info/index.compiled.css +2 -20
- package/dist/esm/view/EmbedModal/components/link-info/index.js +4 -6
- package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +4 -8
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +0 -2
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +2 -9
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +1 -3
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +2 -7
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -4
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +7 -27
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.compiled.css +0 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +1 -3
- package/dist/esm/view/FlexibleCard/components/blocks/action-group/index.compiled.css +0 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-group/index.js +1 -4
- package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +2 -2
- package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/index.js +3 -5
- package/dist/esm/view/FlexibleCard/components/blocks/block/index.compiled.css +1 -14
- package/dist/esm/view/FlexibleCard/components/blocks/block/index.js +1 -13
- package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.compiled.css +1 -8
- package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.js +1 -19
- package/dist/esm/view/FlexibleCard/components/blocks/footer-block/resolved/index.compiled.css +0 -1
- package/dist/esm/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +4 -6
- package/dist/esm/view/FlexibleCard/components/blocks/metadata-block/index.compiled.css +1 -3
- package/dist/esm/view/FlexibleCard/components/blocks/metadata-block/index.js +3 -9
- package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -2
- package/dist/esm/view/FlexibleCard/components/container/index.compiled.css +0 -22
- package/dist/esm/view/FlexibleCard/components/container/index.js +10 -77
- package/dist/esm/view/FlexibleCard/components/elements/common/base-atlaskit-badge-element/index.js +3 -7
- package/dist/esm/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.js +3 -5
- package/dist/esm/view/FlexibleCard/components/elements/common/base-badge-element/index.compiled.css +1 -27
- package/dist/esm/view/FlexibleCard/components/elements/common/base-badge-element/index.js +1 -57
- package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +1 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -3
- package/dist/esm/view/FlexibleCard/components/elements/common/base-icon-element/index.js +3 -3
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/index.compiled.css +1 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/index.js +3 -5
- package/dist/esm/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +0 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -3
- package/dist/esm/view/FlexibleCard/components/elements/snippet-element/index.js +1 -5
- package/dist/esm/view/HoverCard/components/ImagePreview.js +1 -2
- package/dist/esm/view/HoverCard/components/views/forbidden/index.compiled.css +0 -1
- package/dist/esm/view/HoverCard/components/views/forbidden/index.js +4 -8
- package/dist/esm/view/HoverCard/components/views/resolved/index.compiled.css +1 -11
- package/dist/esm/view/HoverCard/components/views/resolved/index.js +3 -11
- package/dist/esm/view/HoverCard/components/views/unauthorised/index.compiled.css +1 -4
- package/dist/esm/view/HoverCard/components/views/unauthorised/index.js +3 -7
- package/dist/esm/view/InlineCard/ErroredView/index.js +6 -44
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +20 -59
- package/dist/esm/view/InlineCard/Frame/styled.compiled.css +1 -3
- package/dist/esm/view/InlineCard/Frame/styled.js +4 -8
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +0 -1
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +40 -134
- package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.compiled.css +1 -34
- package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.js +2 -154
- package/dist/esm/view/InlineCard/ResolvingView/index.js +3 -12
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +5 -38
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/common/UnauthorisedViewContent.js +1 -15
- package/dist/esm/view/common/ai-summary/index.compiled.css +0 -1
- package/dist/esm/view/common/ai-summary/index.js +1 -3
- package/dist/types/common/ui/icons/types.d.ts +2 -2
- package/dist/types/state/flexible-ui-context/index.d.ts +1 -1
- package/dist/types/view/EmbedCard/components/styled.d.ts +0 -7
- package/dist/types/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-link-element/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/index.d.ts +1 -1
- package/dist/types/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -8
- package/dist/types-ts4.5/common/ui/icons/types.d.ts +2 -2
- package/dist/types-ts4.5/state/flexible-ui-context/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +0 -7
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-link-element/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -8
- package/package.json +4 -7
- package/dist/cjs/view/InlineCard/ErroredView/index.compiled.css +0 -1
- package/dist/cjs/view/InlineCard/ResolvingView/styled.compiled.css +0 -5
- package/dist/cjs/view/InlineCard/ResolvingView/styled.js +0 -34
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.compiled.css +0 -1
- package/dist/cjs/view/InlineCard/styled.compiled.css +0 -21
- package/dist/cjs/view/InlineCard/styled.js +0 -35
- package/dist/es2019/view/InlineCard/ErroredView/index.compiled.css +0 -1
- package/dist/es2019/view/InlineCard/ResolvingView/styled.compiled.css +0 -5
- package/dist/es2019/view/InlineCard/ResolvingView/styled.js +0 -24
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.compiled.css +0 -1
- package/dist/es2019/view/InlineCard/styled.compiled.css +0 -21
- package/dist/es2019/view/InlineCard/styled.js +0 -24
- package/dist/esm/view/InlineCard/ErroredView/index.compiled.css +0 -1
- package/dist/esm/view/InlineCard/ResolvingView/styled.compiled.css +0 -5
- package/dist/esm/view/InlineCard/ResolvingView/styled.js +0 -26
- package/dist/esm/view/InlineCard/UnauthorisedView/index.compiled.css +0 -1
- package/dist/esm/view/InlineCard/styled.compiled.css +0 -21
- package/dist/esm/view/InlineCard/styled.js +0 -26
- package/dist/types/view/InlineCard/ResolvingView/styled.d.ts +0 -2
- package/dist/types/view/InlineCard/styled.d.ts +0 -2
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled.d.ts +0 -2
- package/dist/types-ts4.5/view/InlineCard/styled.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 39.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#182230](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/182230)
|
|
8
|
+
[`f11dd07fddad7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f11dd07fddad7) -
|
|
9
|
+
[ux] EDM-11898 cleaning up platform-linking-visual-refresh-v1
|
|
10
|
+
|
|
11
|
+
## 39.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#175869](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175869)
|
|
16
|
+
[`e7f822af7edc1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e7f822af7edc1) -
|
|
17
|
+
Updated usages of deprecated icons with replacement icons
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 39.0.0
|
|
4
24
|
|
|
5
25
|
### Major 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: "
|
|
14
|
+
packageVersion: "39.1.0"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -19,7 +19,6 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
19
19
|
var _lockLocked = _interopRequireDefault(require("@atlaskit/icon/core/lock-locked"));
|
|
20
20
|
var _lock = _interopRequireDefault(require("@atlaskit/icon/glyph/lock"));
|
|
21
21
|
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
22
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
23
22
|
var _extractAccessContext = require("../../../extractors/common/context/extractAccessContext");
|
|
24
23
|
var _extractHostname = _interopRequireDefault(require("../../../extractors/common/hostname/extractHostname"));
|
|
25
24
|
var _messages = require("../../../messages");
|
|
@@ -103,7 +102,7 @@ var ForbiddenView = function ForbiddenView(_ref) {
|
|
|
103
102
|
descriptor: (0, _intlUtils.toMessage)(_messages.messages.invalid_permissions_description, requestAccessContext === null || requestAccessContext === void 0 ? void 0 : requestAccessContext.descriptiveMessageKey),
|
|
104
103
|
values: messageContext
|
|
105
104
|
},
|
|
106
|
-
className: (0, _runtime.ax)([
|
|
105
|
+
className: (0, _runtime.ax)(["_syaz1fxt"])
|
|
107
106
|
}));
|
|
108
107
|
};
|
|
109
108
|
var _default = exports.default = (0, _withFlexibleUIBlockCardStyle.withFlexibleUIBlockCardStyle)(ForbiddenView);
|
|
@@ -17,7 +17,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
17
17
|
var _lockLocked = _interopRequireDefault(require("@atlaskit/icon/core/lock-locked"));
|
|
18
18
|
var _lock = _interopRequireDefault(require("@atlaskit/icon/glyph/lock"));
|
|
19
19
|
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
20
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
20
|
var _messages = require("../../../messages");
|
|
22
21
|
var _baseTextElement = _interopRequireDefault(require("../../FlexibleCard/components/elements/common/base-text-element"));
|
|
23
22
|
var _unresolvedView = _interopRequireDefault(require("./unresolved-view"));
|
|
@@ -66,7 +65,7 @@ var NotFoundView = function NotFoundView(_ref) {
|
|
|
66
65
|
message: description,
|
|
67
66
|
testId: "".concat(testId, "-message"),
|
|
68
67
|
maxLines: 3,
|
|
69
|
-
className: (0, _runtime.ax)([
|
|
68
|
+
className: (0, _runtime.ax)(["_syaz1fxt"])
|
|
70
69
|
}));
|
|
71
70
|
};
|
|
72
71
|
var _default = exports.default = (0, _withFlexibleUIBlockCardStyle.withFlexibleUIBlockCardStyle)(NotFoundView);
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
._zulpcxkx{gap:var(--ds-space-100,.5rem)}
|
|
3
2
|
._zulpu2gc{gap:var(--ds-space-100,8px)}._13mh1pd9 [data-smart-element=Title]{font-weight:var(--ds-font-weight-semibold,600)}
|
|
4
3
|
._1bah1yb4{justify-content:space-between}
|
|
5
4
|
._1e0c1txw{display:flex}
|
|
6
|
-
._1sxbcxkx span[data-smart-element-avatar-group]>ul{margin-right:var(--ds-space-100,.5rem)}
|
|
7
5
|
._1wpz1fhb{align-self:stretch}
|
|
8
6
|
._2yhz14q2 [data-smart-element=Title]{color:var(--ds-link,#0c66e4)}
|
|
9
7
|
._4cvresu3{align-items:flex-end}
|
|
10
8
|
._4t3i1k8s{height:1.5rem}
|
|
11
|
-
._4t3i1osq{height:100%}
|
|
12
|
-
._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
|
|
13
|
-
._i8d01j6v [data-smart-element-group]{line-height:1rem}
|
|
14
|
-
._wwyvidpf span[data-smart-element-avatar-group]>ul{padding-left:0}
|
|
9
|
+
._4t3i1osq{height:100%}
|
|
@@ -21,12 +21,9 @@ var _blocks = require("../../FlexibleCard/components/blocks");
|
|
|
21
21
|
var _utils = require("./utils");
|
|
22
22
|
var _withFlexibleUIBlockCardStyle = require("./utils/withFlexibleUIBlockCardStyle");
|
|
23
23
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
24
|
-
var titleBlockCssOld = null;
|
|
25
24
|
var titleBlockCss = null;
|
|
26
|
-
var footerBlockCssOld = null;
|
|
27
25
|
var footerBlockCss = null;
|
|
28
26
|
var footerBlockSafariStyles = null;
|
|
29
|
-
var metadataBlockCssOld = null;
|
|
30
27
|
|
|
31
28
|
/**
|
|
32
29
|
* This view represents a Block card that has an 'Resolved' status.
|
|
@@ -102,21 +99,17 @@ var ResolvedView = function ResolvedView(_ref) {
|
|
|
102
99
|
CompetitorPrompt: CompetitorPrompt,
|
|
103
100
|
url: url,
|
|
104
101
|
hideIconLoadingSkeleton: hideIconLoadingSkeleton,
|
|
105
|
-
className: (0, _runtime.ax)([
|
|
102
|
+
className: (0, _runtime.ax)(["_zulpu2gc _13mh1pd9 _2yhz14q2"])
|
|
106
103
|
})), /*#__PURE__*/React.createElement(_blocks.MetadataBlock, (0, _extends2.default)({
|
|
107
104
|
primary: topMetadata,
|
|
108
105
|
maxLines: 1
|
|
109
106
|
}, (0, _platformFeatureFlags.fg)('platform-linking-flexible-card-context') ? undefined : {
|
|
110
107
|
status: _constants.SmartLinkStatus.Resolved
|
|
111
|
-
}, {
|
|
112
|
-
className: (0, _runtime.ax)([!(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_wwyvidpf _1sxbcxkx _i8d01j6v"])
|
|
113
108
|
})), /*#__PURE__*/React.createElement(_blocks.SnippetBlock, null), /*#__PURE__*/React.createElement(_blocks.MetadataBlock, (0, _extends2.default)({
|
|
114
109
|
primary: bottomMetadata,
|
|
115
110
|
maxLines: 1
|
|
116
111
|
}, (0, _platformFeatureFlags.fg)('platform-linking-flexible-card-context') ? undefined : {
|
|
117
112
|
status: _constants.SmartLinkStatus.Resolved
|
|
118
|
-
}, {
|
|
119
|
-
className: (0, _runtime.ax)([!(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_wwyvidpf _1sxbcxkx _i8d01j6v"])
|
|
120
113
|
})), !isPreviewBlockErrored ? /*#__PURE__*/React.createElement(_blocks.PreviewBlock, (0, _extends2.default)({}, _utils.PreviewBlockOptions, {
|
|
121
114
|
onError: function onError() {
|
|
122
115
|
setIsPreviewBlockErrored(true);
|
|
@@ -128,7 +121,7 @@ var ResolvedView = function ResolvedView(_ref) {
|
|
|
128
121
|
}, (0, _platformFeatureFlags.fg)('platform-linking-flexible-card-context') ? undefined : {
|
|
129
122
|
status: _constants.SmartLinkStatus.Resolved
|
|
130
123
|
}, {
|
|
131
|
-
className: (0, _runtime.ax)([
|
|
124
|
+
className: (0, _runtime.ax)(["_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb", safari && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') && "_4t3i1osq"])
|
|
132
125
|
})));
|
|
133
126
|
};
|
|
134
127
|
var _default = exports.default = (0, _withFlexibleUIBlockCardStyle.withFlexibleUIBlockCardStyle)(ResolvedView);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._19pkcxkx{margin-top:var(--ds-space-100,.5rem)}
|
|
3
2
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
4
|
-
._syaz131l{color:var(--ds-text-subtlest,#626f86)}
|
|
5
3
|
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
@@ -15,7 +15,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
15
15
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
16
16
|
var _reactIntlNext = require("react-intl-next");
|
|
17
17
|
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
18
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
18
|
var _useAnalyticsEvents2 = require("../../../common/analytics/generated/use-analytics-events");
|
|
20
19
|
var _messages = require("../../../messages");
|
|
21
20
|
var _helpers = require("../../../state/helpers");
|
|
@@ -25,7 +24,6 @@ var _unresolvedView = _interopRequireDefault(require("./unresolved-view"));
|
|
|
25
24
|
var _withFlexibleUIBlockCardStyle = require("./utils/withFlexibleUIBlockCardStyle");
|
|
26
25
|
var _excluded = ["testId"];
|
|
27
26
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
28
|
-
var contentStylesOld = null;
|
|
29
27
|
var contentStyles = null;
|
|
30
28
|
|
|
31
29
|
/**
|
|
@@ -71,7 +69,7 @@ var UnauthorisedView = function UnauthorisedView(_ref) {
|
|
|
71
69
|
testId: testId
|
|
72
70
|
}), /*#__PURE__*/React.createElement("div", {
|
|
73
71
|
"data-testid": "".concat(testId, "-content"),
|
|
74
|
-
className: (0, _runtime.ax)([
|
|
72
|
+
className: (0, _runtime.ax)(["_11c8dcr7 _syaz1fxt _19pku2gc"])
|
|
75
73
|
}, content));
|
|
76
74
|
};
|
|
77
75
|
var _default = exports.default = (0, _withFlexibleUIBlockCardStyle.withFlexibleUIBlockCardStyle)(UnauthorisedView);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
3
|
-
._zulp1f3t{gap:var(--ds-space-100,.5em)}
|
|
4
3
|
._zulpu2gc{gap:var(--ds-space-100,8px)}._13mh1pd9 [data-smart-element=Title]{font-weight:var(--ds-font-weight-semibold,600)}
|
|
5
4
|
._1bah1yb4{justify-content:space-between}
|
|
6
5
|
._1e0c1txw{display:flex}
|
|
@@ -11,5 +10,4 @@
|
|
|
11
10
|
._4t3i1k8s{height:1.5rem}
|
|
12
11
|
._4t3i1osq{height:100%}
|
|
13
12
|
._7yjtidpf >div{margin-top:0}
|
|
14
|
-
._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
|
|
15
13
|
._ngc01fxt >div{color:var(--ds-text,#172b4d)}
|
|
@@ -18,11 +18,8 @@ var _FlexibleCard = _interopRequireDefault(require("../../../FlexibleCard"));
|
|
|
18
18
|
var _blocks = require("../../../FlexibleCard/components/blocks");
|
|
19
19
|
var _utils = require("../utils");
|
|
20
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
21
|
-
var customBlockStylesOld = null;
|
|
22
21
|
var customBlockStyles = null;
|
|
23
|
-
var titleBlockCssOld = null;
|
|
24
22
|
var titleBlockCss = null;
|
|
25
|
-
var footerBlockCssOld = null;
|
|
26
23
|
var footerBlockCss = null;
|
|
27
24
|
var footerBlockSafariStyles = null;
|
|
28
25
|
var UnresolvedView = function UnresolvedView(_ref) {
|
|
@@ -60,11 +57,11 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
60
57
|
}, (0, _platformFeatureFlags.fg)('platform-linking-flexible-card-context') ? undefined : {
|
|
61
58
|
status: cardState.status
|
|
62
59
|
}, {
|
|
63
|
-
className: (0, _runtime.ax)([
|
|
60
|
+
className: (0, _runtime.ax)(["_zulpu2gc _13mh1pd9 _2yhz14q2"])
|
|
64
61
|
})), /*#__PURE__*/React.createElement(_blocks.CustomBlock, (0, _extends2.default)({}, (0, _platformFeatureFlags.fg)('platform-linking-flexible-card-context') ? undefined : {
|
|
65
62
|
status: cardState.status
|
|
66
63
|
}, {
|
|
67
|
-
className: (0, _runtime.ax)([
|
|
64
|
+
className: (0, _runtime.ax)(["_zulp1b66 _1e0c1txw _4cvr1y6m _1wpz1fhb _7yjtidpf _ngc01fxt"])
|
|
68
65
|
}), children), showPreview && /*#__PURE__*/React.createElement(_blocks.PreviewBlock, (0, _extends2.default)({}, _utils.PreviewBlockOptions, (0, _platformFeatureFlags.fg)('platform-linking-flexible-card-context') ? undefined : {
|
|
69
66
|
status: cardState.status
|
|
70
67
|
})), /*#__PURE__*/React.createElement(_blocks.InternalFooterBlock, (0, _extends2.default)({
|
|
@@ -73,7 +70,7 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
73
70
|
}, (0, _platformFeatureFlags.fg)('platform-linking-flexible-card-context') ? undefined : {
|
|
74
71
|
status: cardState.status
|
|
75
72
|
}, {
|
|
76
|
-
className: (0, _runtime.ax)([
|
|
73
|
+
className: (0, _runtime.ax)(["_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb", safari && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') && "_4t3i1osq"])
|
|
77
74
|
})));
|
|
78
75
|
};
|
|
79
76
|
var _default = exports.default = UnresolvedView;
|
|
@@ -52,126 +52,52 @@ var ExpandedFrame = exports.ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
52
52
|
linkType: "embed"
|
|
53
53
|
}) : null;
|
|
54
54
|
var renderHeader = function renderHeader() {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}, text)))), CompetitorPromptComponent);
|
|
73
|
-
}
|
|
74
|
-
return (
|
|
75
|
-
/*#__PURE__*/
|
|
76
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
77
|
-
React.createElement(_styled.HeaderOldVisualRefresh, {
|
|
78
|
-
className: "embed-header",
|
|
79
|
-
frameStyle: frameStyle
|
|
80
|
-
}, /*#__PURE__*/React.createElement(_styled.IconWrapperOldVisualRefresh, {
|
|
81
|
-
isPlaceholder: isPlaceholder
|
|
82
|
-
}, !isPlaceholder && icon), /*#__PURE__*/React.createElement(_styled.TooltipWrapperOldVisualRefresh, null, /*#__PURE__*/React.createElement(_tooltip.default, {
|
|
83
|
-
content: text,
|
|
84
|
-
hideTooltipOnMouseDown: true
|
|
85
|
-
}, /*#__PURE__*/React.createElement(_styled.TextWrapperOldVisualRefresh, {
|
|
86
|
-
isPlaceholder: isPlaceholder
|
|
87
|
-
}, !isPlaceholder &&
|
|
88
|
-
/*#__PURE__*/
|
|
89
|
-
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
90
|
-
React.createElement("a", {
|
|
91
|
-
href: href,
|
|
92
|
-
onClick: handleClick,
|
|
93
|
-
onMouseDown: handleMouseDown
|
|
94
|
-
}, text)))))
|
|
95
|
-
);
|
|
55
|
+
return frameStyle !== 'hide' && /*#__PURE__*/React.createElement("div", {
|
|
56
|
+
className: (0, _runtime.ax)([styles.header, "embed-header"])
|
|
57
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
58
|
+
className: (0, _runtime.ax)([styles.leftSection])
|
|
59
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
60
|
+
className: (0, _runtime.ax)([styles.headerIcon])
|
|
61
|
+
}, icon), /*#__PURE__*/React.createElement("div", {
|
|
62
|
+
className: (0, _runtime.ax)([styles.tooltipWrapper])
|
|
63
|
+
}, !isPlaceholder && /*#__PURE__*/React.createElement(_tooltip.default, {
|
|
64
|
+
content: text,
|
|
65
|
+
hideTooltipOnMouseDown: true
|
|
66
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
67
|
+
href: href,
|
|
68
|
+
onClick: handleClick,
|
|
69
|
+
onMouseDown: handleMouseDown,
|
|
70
|
+
className: (0, _runtime.ax)([styles.headerAnchor])
|
|
71
|
+
}, text)))), CompetitorPromptComponent);
|
|
96
72
|
};
|
|
97
73
|
var interactive = isInteractive();
|
|
98
74
|
var showBackgroundAlways = frameStyle === 'show' || isSelected && frameStyle !== 'hide';
|
|
99
75
|
var showBackgroundOnHover = interactive && frameStyle !== 'hide';
|
|
100
76
|
var renderContent = function renderContent() {
|
|
101
|
-
|
|
102
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
103
|
-
"data-testid": "embed-content-wrapper",
|
|
104
|
-
// This fixes an issue with input fields in cross domain iframes (ie. databases and jira fields from different domains)
|
|
105
|
-
// See: HOT-107830
|
|
106
|
-
contentEditable: false,
|
|
107
|
-
className: (0, _runtime.ax)([styles.contentStyle, setOverflow && allowScrollBar && styles.contentOverflowAuto, interactive && !showBackgroundAlways && !showBackgroundOnHover && styles.contentInteractiveActiveBorder])
|
|
108
|
-
}, children);
|
|
109
|
-
}
|
|
110
|
-
return /*#__PURE__*/React.createElement(_styled.ContentOldVisualRefresh, {
|
|
77
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
111
78
|
"data-testid": "embed-content-wrapper",
|
|
112
|
-
allowScrollBar: allowScrollBar,
|
|
113
|
-
removeOverflow: !setOverflow,
|
|
114
|
-
isInteractive: isInteractive(),
|
|
115
|
-
frameStyle: frameStyle
|
|
116
79
|
// This fixes an issue with input fields in cross domain iframes (ie. databases and jira fields from different domains)
|
|
117
80
|
// See: HOT-107830
|
|
118
|
-
,
|
|
119
|
-
|
|
120
|
-
suppressContentEditableWarning: true
|
|
81
|
+
contentEditable: false,
|
|
82
|
+
className: (0, _runtime.ax)([styles.contentStyle, setOverflow && allowScrollBar && styles.contentOverflowAuto, interactive && !showBackgroundAlways && !showBackgroundOnHover && styles.contentInteractiveActiveBorder])
|
|
121
83
|
}, children);
|
|
122
84
|
};
|
|
123
|
-
|
|
124
|
-
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
125
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
126
|
-
className: (0, _runtime.ax)([styles.linkWrapper, inheritDimensions && styles.linkWrapperInheritDimensions, isSelected && frameStyle !== 'hide' && styles.linkWrapperSelected, showBackgroundAlways && styles.linkWrapperBorderAndBackground, showBackgroundOnHover && !showBackgroundAlways && styles.linkWrapperInteractiveNotHidden, _styled.className]),
|
|
127
|
-
style: {
|
|
128
|
-
minWidth: minWidth ? "".concat(minWidth, "px") : '',
|
|
129
|
-
maxWidth: maxWidth ? "".concat(maxWidth, "px") : ''
|
|
130
|
-
},
|
|
131
|
-
"data-testid": testId,
|
|
132
|
-
"data-trello-do-not-use-override": testId
|
|
133
|
-
// Due to limitations of testing library, we can't assert ::after
|
|
134
|
-
,
|
|
135
|
-
"data-is-selected": isSelected
|
|
136
|
-
}, (isPlaceholder || !href) && {
|
|
137
|
-
'data-wrapper-type': 'default',
|
|
138
|
-
'data-is-interactive': isInteractive()
|
|
139
|
-
}), renderHeader(), renderContent());
|
|
140
|
-
}
|
|
141
|
-
if (!isPlaceholder && href) {
|
|
142
|
-
return /*#__PURE__*/React.createElement(_styled.LinkWrapperOldVisualRefresh
|
|
85
|
+
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
143
86
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
144
|
-
,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
} else {
|
|
159
|
-
return /*#__PURE__*/React.createElement(_styled.WrapperOldVisualRefresh
|
|
160
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
161
|
-
, {
|
|
162
|
-
className: _styled.className,
|
|
163
|
-
isInteractive: isInteractive(),
|
|
164
|
-
isSelected: isSelected,
|
|
165
|
-
minWidth: minWidth,
|
|
166
|
-
frameStyle: frameStyle,
|
|
167
|
-
maxWidth: maxWidth,
|
|
168
|
-
"data-testid": testId,
|
|
169
|
-
"data-trello-do-not-use-override": testId,
|
|
170
|
-
"data-is-selected": isSelected,
|
|
171
|
-
"data-wrapper-type": "default",
|
|
172
|
-
"data-is-interactive": isInteractive()
|
|
173
|
-
}, renderHeader(), renderContent());
|
|
174
|
-
}
|
|
87
|
+
className: (0, _runtime.ax)([styles.linkWrapper, inheritDimensions && styles.linkWrapperInheritDimensions, isSelected && frameStyle !== 'hide' && styles.linkWrapperSelected, showBackgroundAlways && styles.linkWrapperBorderAndBackground, showBackgroundOnHover && !showBackgroundAlways && styles.linkWrapperInteractiveNotHidden, _styled.className]),
|
|
88
|
+
style: {
|
|
89
|
+
minWidth: minWidth ? "".concat(minWidth, "px") : '',
|
|
90
|
+
maxWidth: maxWidth ? "".concat(maxWidth, "px") : ''
|
|
91
|
+
},
|
|
92
|
+
"data-testid": testId,
|
|
93
|
+
"data-trello-do-not-use-override": testId
|
|
94
|
+
// Due to limitations of testing library, we can't assert ::after
|
|
95
|
+
,
|
|
96
|
+
"data-is-selected": isSelected
|
|
97
|
+
}, (isPlaceholder || !href) && {
|
|
98
|
+
'data-wrapper-type': 'default',
|
|
99
|
+
'data-is-interactive': isInteractive()
|
|
100
|
+
}), renderHeader(), renderContent());
|
|
175
101
|
};
|
|
176
102
|
var styles = {
|
|
177
103
|
linkWrapper: "_zulpu2gc _kqswh2mm _1e0c1txw _2lx21bp4 _4t3ik5xz _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _uiztglyw _qc5o94zs _14mj1crf _aetrb3bt _18postnw _15l2idpf _32rxidpf _1x88idpf _19doidpf _1hfk1j28 _1bqqidpf _u94kidpf _1ifiidpf",
|
|
@@ -1,95 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
3
|
-
._18s81xf9{margin:0 var(--ds-space-100,8px) var(--ds-space-100,8px)}
|
|
4
|
-
._19ith6cr{border:1px solid var(--ds-border,#dfe1e6)}
|
|
5
|
-
._1u3rh6cr:hover:after{border:1px solid var(--ds-border,#dfe1e6)}
|
|
6
|
-
._1yt4h8dc{padding:0 var(--ds-space-100,8px)}
|
|
7
|
-
._2rko1sit{border-radius:var(--ds-border-radius,3px)}
|
|
8
|
-
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
9
|
-
._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
|
|
10
|
-
._eq431kw7:after{border:inherit}
|
|
11
|
-
._eq43h6cr:after{border:1px solid var(--ds-border,#dfe1e6)}
|
|
12
|
-
._qc5o94zs:after{transition:background .3s,box-shadow .3s}
|
|
13
|
-
._v56414ba{transition:box-shadow .3s}
|
|
14
|
-
._v5641y8x{transition:background .3s}
|
|
15
|
-
._v564ojwh{transition:opacity .3s cubic-bezier(.15,1,.3,1)}
|
|
16
|
-
._154ixy5q{top:var(--ds-space-400,2pc)}
|
|
17
|
-
._18m915vq{overflow-y:hidden}
|
|
18
|
-
._18m91wug{overflow-y:auto}
|
|
19
|
-
._18postnw:after{position:absolute}
|
|
20
|
-
._18u01wug{margin-left:auto}
|
|
1
|
+
|
|
2
|
+
._2rko1sit{border-radius:var(--ds-border-radius,3px)}._18m915vq{overflow-y:hidden}
|
|
21
3
|
._18u0utpp{margin-left:var(--ds-space-150,9pt)}
|
|
22
|
-
._19do1kw7:after{left:inherit}
|
|
23
|
-
._19doidpf:after{left:0}
|
|
24
|
-
._19dox0bf:after{left:var(--ds-space-negative-100,-8px)}
|
|
25
|
-
._19pk19bv{margin-top:10px}
|
|
26
4
|
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
27
|
-
._19pkidpf{margin-top:0}
|
|
28
5
|
._1aaxusic{float:right}
|
|
29
|
-
._1bsb176v{width:125px}
|
|
30
6
|
._1bsb17ym{width:var(--_rcxkve)}
|
|
31
|
-
._1bsb1osq{width:100%}
|
|
32
|
-
._1bsb7vkz{width:1pc}
|
|
33
7
|
._1bsbckbl{width:3pc}
|
|
34
|
-
._1bsbwgg2{width:calc(100% - var(--ds-space-200, 1pc) - 2px)}
|
|
35
|
-
._1bto1l2s{text-overflow:ellipsis}
|
|
36
|
-
._1e0c116y{display:inline-flex}
|
|
37
|
-
._1e0c1txw{display:flex}
|
|
38
|
-
._1g4jidpf >.embed-preview>div{margin-bottom:0}
|
|
39
|
-
._1hfk1kw7:after{background-color:inherit}
|
|
40
|
-
._1hfkhp5a:after{background-color:var(--ds-surface-raised,#fff)}
|
|
41
|
-
._1ifiidpf .embed-header{opacity:0}
|
|
42
|
-
._1ifikb7n .embed-header{opacity:1}
|
|
43
8
|
._1itk2pcs{background-image:var(--_13orr8u)}
|
|
44
9
|
._1lrw1dfr{background-size:cover}
|
|
45
|
-
._1pbykb7n{z-index:1}
|
|
46
|
-
._1qdg1rgy:after{height:calc(100% + var(--ds-space-100, 8px))}
|
|
47
10
|
._1reo15vq{overflow-x:hidden}
|
|
48
|
-
._1reo1wug{overflow-x:auto}
|
|
49
|
-
._1ul91pd6{min-width:var(--_10q0298)}
|
|
50
|
-
._2hwx1b66{margin-right:var(--ds-space-050,4px)}
|
|
51
|
-
._2hwx1wug{margin-right:auto}
|
|
52
11
|
._2hwxidpf{margin-right:0}
|
|
53
|
-
._2lx21bp4{flex-direction:column}
|
|
54
|
-
._4cvr1h6o{align-items:center}
|
|
55
12
|
._4t3i17ym{height:var(--_rcxkve)}
|
|
56
|
-
._4t3i1crf{height:9pt}
|
|
57
|
-
._4t3i1j2a{height:calc(100% - var(--ds-space-400, 2pc))}
|
|
58
|
-
._4t3i1osq{height:100%}
|
|
59
|
-
._4t3i7vkz{height:1pc}
|
|
60
13
|
._4t3ickbl{height:3pc}
|
|
61
|
-
._4t3ik5xz{height:27pc}
|
|
62
|
-
._4t3izwfg{height:2pc}
|
|
63
|
-
._4tpuhp5a:hover:after{background-color:var(--ds-surface-raised,#fff)}
|
|
64
|
-
._631ousvi:after{box-sizing:border-box}
|
|
65
|
-
._6syz1kw7:after{cursor:inherit}
|
|
66
|
-
._6syztlke:after{cursor:pointer}
|
|
67
|
-
._8x3u1kw7:after{box-shadow:inherit}
|
|
68
|
-
._8x3umqxb:after{box-shadow:0 0 0 3px var(--ds-border-selected,#4c9aff)}
|
|
69
|
-
._aetrb3bt:after{content:""}
|
|
70
|
-
._bfhkhp5a{background-color:var(--ds-surface-raised,#fff)}
|
|
71
14
|
._bfhkqrzy{background-color:var(--ds-skeleton,#ebecf0)}
|
|
72
|
-
.
|
|
73
|
-
._hlq8idpf >.embed-preview>div{margin-top:0}
|
|
74
|
-
._jk3p1wug >.embed-preview>div{margin-left:auto}
|
|
75
|
-
._kqswh2mm{position:relative}
|
|
76
|
-
._kqswstnw{position:absolute}
|
|
77
|
-
._o5721q9c{white-space:nowrap}
|
|
78
|
-
._otyridpf{margin-bottom:0}
|
|
79
|
-
._otyrutpp{margin-bottom:var(--ds-space-150,9pt)}
|
|
80
|
-
._p12f1ayu{max-width:var(--_1et2rhb)}
|
|
81
|
-
._rd9b1wug >.embed-preview>div{margin-right:auto}
|
|
82
|
-
._syaz1rc1{color:var(--ds-text-subtlest,#5e6c84)}
|
|
83
|
-
._syazqjbk{color:var(--ds-icon,#5e6c84)}
|
|
84
|
-
._tzy4idpf{opacity:0}
|
|
85
|
-
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
86
|
-
._vchhusvi{box-sizing:border-box}
|
|
87
|
-
._vwz44jg8{line-height:normal}
|
|
88
|
-
._x148idpf:hover .embed-header{opacity:0}
|
|
89
|
-
._x148kb7n:hover .embed-header{opacity:1}
|
|
90
|
-
._z0ai1osq:after{width:100%}
|
|
91
|
-
._z0aie9lw:after{width:calc(100% + var(--ds-space-200, 1pc))}
|
|
92
|
-
._1bnxglyw:hover{text-decoration-line:none}
|
|
93
|
-
._9oik1r31:hover{text-decoration-color:currentColor}
|
|
94
|
-
._jf4cnqa1:hover{text-decoration-style:solid}
|
|
95
|
-
._1di629zg:active{background-color:var(--ds-background-selected,#deebff)}
|
|
15
|
+
._otyrutpp{margin-bottom:var(--ds-space-150,9pt)}
|