@atlaskit/smart-card 40.13.0 → 40.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/i18n/en.js +5 -0
- package/dist/cjs/i18n/en_GB.js +5 -0
- package/dist/cjs/i18n/en_ZZ.js +5 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/index.js +3 -0
- package/dist/cjs/view/BlockCard/views/utils/index.js +1 -1
- package/dist/cjs/view/EmbedCard/index.js +3 -0
- package/dist/cjs/view/InlineCard/index.js +3 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/i18n/en.js +5 -0
- package/dist/es2019/i18n/en_GB.js +5 -0
- package/dist/es2019/i18n/en_ZZ.js +5 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/index.js +2 -0
- package/dist/es2019/view/BlockCard/views/utils/index.js +1 -1
- package/dist/es2019/view/EmbedCard/index.js +2 -0
- package/dist/es2019/view/InlineCard/index.js +2 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/i18n/en.js +5 -0
- package/dist/esm/i18n/en_GB.js +5 -0
- package/dist/esm/i18n/en_ZZ.js +5 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/index.js +2 -0
- package/dist/esm/view/BlockCard/views/utils/index.js +1 -1
- package/dist/esm/view/EmbedCard/index.js +2 -0
- package/dist/esm/view/InlineCard/index.js +2 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/extractors/action/extract-invoke-preview-action.d.ts +5 -5
- package/dist/types/extractors/common/actions/types.d.ts +2 -2
- package/dist/types/extractors/common/context/extractAccessContext.d.ts +2 -2
- package/dist/types/extractors/common/icon/extractIcon.d.ts +4 -4
- package/dist/types/extractors/common/icon/prioritiseIcon.d.ts +6 -6
- package/dist/types/extractors/common/lozenge/extractTaskType.d.ts +1 -1
- package/dist/types/extractors/common/lozenge/types.d.ts +1 -1
- package/dist/types/extractors/flexible/actions/index.d.ts +6 -6
- package/dist/types/extractors/flexible/extract-state.d.ts +2 -2
- package/dist/types/extractors/index.d.ts +3 -3
- package/dist/types/i18n/en.d.ts +5 -0
- package/dist/types/i18n/en_GB.d.ts +5 -0
- package/dist/types/i18n/en_ZZ.d.ts +5 -0
- package/dist/types/model/invoke-opts.d.ts +2 -2
- package/dist/types/ssr.d.ts +1 -1
- package/dist/types/state/flexible-ui-context/types.d.ts +105 -105
- package/dist/types/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +38 -38
- package/dist/types/state/hooks/use-ai-summary-config/types.d.ts +1 -1
- package/dist/types/state/hooks/use-invoke/types.d.ts +1 -1
- package/dist/types/state/hooks/useSmartLink.d.ts +2 -2
- package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +14 -14
- package/dist/types/state/modal/types.d.ts +4 -4
- package/dist/types/types.d.ts +2 -2
- package/dist/types/utils/analytics/LinkAnalyticsContext.d.ts +2 -2
- package/dist/types/utils/analytics/SmartLinkAnalyticsContext.d.ts +3 -3
- package/dist/types/utils/analytics/types.d.ts +6 -6
- package/dist/types/view/BlockCard/types.d.ts +11 -11
- package/dist/types/view/BlockCard/views/utils/index.d.ts +1 -1
- package/dist/types/view/Card/types.d.ts +19 -19
- package/dist/types/view/CardWithUrl/types.d.ts +22 -22
- package/dist/types/view/EmbedCard/components/ErrorFrame.d.ts +4 -4
- package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +22 -22
- package/dist/types/view/EmbedCard/components/Frame.d.ts +2 -2
- package/dist/types/view/EmbedCard/components/IFrame.d.ts +1 -1
- package/dist/types/view/EmbedCard/components/IframeDwellTracker.d.ts +1 -1
- package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +2 -2
- package/dist/types/view/EmbedCard/components/styled.d.ts +7 -7
- package/dist/types/view/EmbedCard/types.d.ts +13 -13
- package/dist/types/view/EmbedCard/useEmbedResolvePostMessageListener.d.ts +1 -1
- package/dist/types/view/EmbedCard/views/ErroredView.d.ts +2 -2
- package/dist/types/view/EmbedCard/views/ResolvedView.d.ts +20 -20
- package/dist/types/view/EmbedCard/views/forbidden-view/types.d.ts +1 -1
- package/dist/types/view/EmbedCard/views/not-found-view/types.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/embed-content/types.d.ts +1 -1
- package/dist/types/view/EmbedModal/components/link-info/types.d.ts +1 -1
- package/dist/types/view/EmbedModal/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/action-button/types.d.ts +3 -3
- package/dist/types/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/types.d.ts +40 -40
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +10 -10
- 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-modal/main.d.ts +6 -6
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +8 -8
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/action-group/types.d.ts +13 -13
- package/dist/types/view/FlexibleCard/components/blocks/element-group/types.d.ts +11 -11
- package/dist/types/view/FlexibleCard/components/blocks/footer-block/types.d.ts +4 -4
- package/dist/types/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/preview-block/types.d.ts +4 -4
- package/dist/types/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +8 -8
- package/dist/types/view/FlexibleCard/components/blocks/title-block/types.d.ts +35 -35
- package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +45 -45
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/image-icon/types.d.ts +5 -5
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +4 -4
- package/dist/types/view/FlexibleCard/components/container/hover-card-control/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +8 -8
- package/dist/types/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +12 -12
- package/dist/types/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +8 -8
- package/dist/types/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +19 -19
- package/dist/types/view/FlexibleCard/components/elements/common/base-link-element/index.d.ts +10 -10
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/types.d.ts +4 -4
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +9 -9
- package/dist/types/view/FlexibleCard/components/elements/index.d.ts +4 -4
- package/dist/types/view/FlexibleCard/components/elements/media-element/index.d.ts +6 -6
- package/dist/types/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/preview-element/index.d.ts +4 -4
- package/dist/types/view/FlexibleCard/types.d.ts +41 -41
- package/dist/types/view/HoverCard/components/views/resolved/types.d.ts +3 -3
- package/dist/types/view/HoverCard/types.d.ts +26 -26
- package/dist/types/view/InlineCard/ErroredView/index.d.ts +7 -7
- package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +10 -10
- package/dist/types/view/InlineCard/Frame/index.d.ts +6 -6
- package/dist/types/view/InlineCard/Frame/styled.d.ts +3 -3
- package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +8 -8
- package/dist/types/view/InlineCard/ResolvedView/index.d.ts +15 -15
- package/dist/types/view/InlineCard/ResolvingView/index.d.ts +6 -6
- package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +14 -14
- package/dist/types/view/InlineCard/types.d.ts +11 -11
- package/dist/types/view/LinkUrl/types.d.ts +2 -2
- package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +2 -2
- package/dist/types/view/RelatedLinksModal/components/types.d.ts +10 -10
- package/dist/types/view/RelatedLinksModal/types.d.ts +5 -5
- package/dist/types/view/common/Icon.d.ts +3 -3
- package/dist/types/view/common/UnauthorisedViewContent.d.ts +5 -5
- package/dist/types/view/common/ai-prism/ai-glowing-border/types.d.ts +7 -7
- package/dist/types/view/common/ai-prism/types.d.ts +1 -1
- package/dist/types/view/common/ai-summary/types.d.ts +6 -6
- package/dist/types/view/common/render-svg.d.ts +2 -2
- package/dist/types/view/types.d.ts +6 -6
- package/dist/types-ts4.5/extractors/action/extract-invoke-preview-action.d.ts +5 -5
- package/dist/types-ts4.5/extractors/common/actions/types.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/context/extractAccessContext.d.ts +2 -2
- package/dist/types-ts4.5/extractors/common/icon/extractIcon.d.ts +4 -4
- package/dist/types-ts4.5/extractors/common/icon/prioritiseIcon.d.ts +6 -6
- package/dist/types-ts4.5/extractors/common/lozenge/extractTaskType.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/lozenge/types.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/actions/index.d.ts +6 -6
- package/dist/types-ts4.5/extractors/flexible/extract-state.d.ts +2 -2
- package/dist/types-ts4.5/extractors/index.d.ts +3 -3
- package/dist/types-ts4.5/i18n/en.d.ts +5 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +5 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +5 -0
- package/dist/types-ts4.5/model/invoke-opts.d.ts +2 -2
- package/dist/types-ts4.5/ssr.d.ts +1 -1
- package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +105 -105
- package/dist/types-ts4.5/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +38 -38
- package/dist/types-ts4.5/state/hooks/use-ai-summary-config/types.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-invoke/types.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +2 -2
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +14 -14
- package/dist/types-ts4.5/state/modal/types.d.ts +4 -4
- package/dist/types-ts4.5/types.d.ts +2 -2
- package/dist/types-ts4.5/utils/analytics/LinkAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +3 -3
- package/dist/types-ts4.5/utils/analytics/types.d.ts +6 -6
- package/dist/types-ts4.5/view/BlockCard/types.d.ts +11 -11
- package/dist/types-ts4.5/view/BlockCard/views/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/view/Card/types.d.ts +19 -19
- package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +22 -22
- package/dist/types-ts4.5/view/EmbedCard/components/ErrorFrame.d.ts +4 -4
- package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +22 -22
- package/dist/types-ts4.5/view/EmbedCard/components/Frame.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/components/IFrame.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/IframeDwellTracker.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +7 -7
- package/dist/types-ts4.5/view/EmbedCard/types.d.ts +13 -13
- package/dist/types-ts4.5/view/EmbedCard/useEmbedResolvePostMessageListener.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +20 -20
- package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/types.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/types.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/embed-content/types.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/types.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/types.d.ts +3 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/types.d.ts +40 -40
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +10 -10
- 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-modal/main.d.ts +6 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +8 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +1 -1
- 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/action-group/types.d.ts +13 -13
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/types.d.ts +11 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/types.d.ts +4 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/types.d.ts +4 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +8 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/types.d.ts +35 -35
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +45 -45
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/types.d.ts +5 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +4 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/types.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +8 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +12 -12
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +8 -8
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +19 -19
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-link-element/index.d.ts +10 -10
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/types.d.ts +4 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +9 -9
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +4 -4
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/media-element/index.d.ts +6 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview-element/index.d.ts +4 -4
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +41 -41
- package/dist/types-ts4.5/view/HoverCard/components/views/resolved/types.d.ts +3 -3
- package/dist/types-ts4.5/view/HoverCard/types.d.ts +26 -26
- package/dist/types-ts4.5/view/InlineCard/ErroredView/index.d.ts +7 -7
- package/dist/types-ts4.5/view/InlineCard/ForbiddenView/index.d.ts +10 -10
- package/dist/types-ts4.5/view/InlineCard/Frame/index.d.ts +6 -6
- package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +3 -3
- package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/index.d.ts +8 -8
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +15 -15
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +6 -6
- package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/index.d.ts +14 -14
- package/dist/types-ts4.5/view/InlineCard/types.d.ts +11 -11
- package/dist/types-ts4.5/view/LinkUrl/types.d.ts +2 -2
- package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +2 -2
- package/dist/types-ts4.5/view/RelatedLinksModal/components/types.d.ts +10 -10
- package/dist/types-ts4.5/view/RelatedLinksModal/types.d.ts +5 -5
- package/dist/types-ts4.5/view/common/Icon.d.ts +3 -3
- package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +5 -5
- package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/types.d.ts +7 -7
- package/dist/types-ts4.5/view/common/ai-prism/types.d.ts +1 -1
- package/dist/types-ts4.5/view/common/ai-summary/types.d.ts +6 -6
- package/dist/types-ts4.5/view/common/render-svg.d.ts +2 -2
- package/dist/types-ts4.5/view/types.d.ts +6 -6
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 40.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0ca3392f36fca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ca3392f36fca) -
|
|
8
|
+
[ux] Updating feature-flag reference to passionfruit_ask_smart_links_enabled_afm for Passionfruit
|
|
9
|
+
Smart Links
|
|
10
|
+
|
|
11
|
+
## 40.13.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`1b7d48c39ae03`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b7d48c39ae03) -
|
|
16
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 40.13.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -63,7 +63,9 @@ var _default = exports.default = {
|
|
|
63
63
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
64
64
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
65
65
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
66
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
66
67
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
68
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
67
69
|
'fabric.linking.continue': 'Continue',
|
|
68
70
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
69
71
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -102,6 +104,7 @@ var _default = exports.default = {
|
|
|
102
104
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
103
105
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
104
106
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
107
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
105
108
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
106
109
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
107
110
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -122,6 +125,8 @@ var _default = exports.default = {
|
|
|
122
125
|
'fabric.linking.preview_improved': 'Open preview',
|
|
123
126
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
124
127
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
128
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
129
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
125
130
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
126
131
|
'fabric.linking.priority_critical': 'Critical',
|
|
127
132
|
'fabric.linking.priority_high': 'High',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -63,7 +63,9 @@ var _default = exports.default = {
|
|
|
63
63
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
64
64
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
65
65
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
66
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
66
67
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
68
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
67
69
|
'fabric.linking.continue': 'Continue',
|
|
68
70
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
69
71
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -102,6 +104,7 @@ var _default = exports.default = {
|
|
|
102
104
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
103
105
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
104
106
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
107
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
105
108
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
106
109
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
107
110
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -122,6 +125,8 @@ var _default = exports.default = {
|
|
|
122
125
|
'fabric.linking.preview_improved': 'Open preview',
|
|
123
126
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
124
127
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
128
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
129
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
125
130
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
126
131
|
'fabric.linking.priority_critical': 'Critical',
|
|
127
132
|
'fabric.linking.priority_high': 'High',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -63,7 +63,9 @@ var _default = exports.default = {
|
|
|
63
63
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
64
64
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
65
65
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
66
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
66
67
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
68
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
67
69
|
'fabric.linking.continue': 'Continue',
|
|
68
70
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
69
71
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -102,6 +104,7 @@ var _default = exports.default = {
|
|
|
102
104
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
103
105
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
104
106
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
107
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
105
108
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
106
109
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
107
110
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -122,6 +125,8 @@ var _default = exports.default = {
|
|
|
122
125
|
'fabric.linking.preview_improved': 'Open preview',
|
|
123
126
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
124
127
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
128
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
129
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
125
130
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
126
131
|
'fabric.linking.priority_critical': 'Critical',
|
|
127
132
|
'fabric.linking.priority_high': 'High',
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "40.
|
|
14
|
+
packageVersion: "40.13.1"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -18,6 +18,9 @@ var _ForbiddenView = _interopRequireDefault(require("./views/ForbiddenView"));
|
|
|
18
18
|
var _NotFoundView = _interopRequireDefault(require("./views/NotFoundView"));
|
|
19
19
|
var _ResolvedView = _interopRequireDefault(require("./views/ResolvedView"));
|
|
20
20
|
var _UnauthorisedView = _interopRequireDefault(require("./views/UnauthorisedView"));
|
|
21
|
+
// TODO: Package Owner - please fix:
|
|
22
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
23
|
+
|
|
21
24
|
var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
|
|
22
25
|
var children = _ref.children;
|
|
23
26
|
return (0, _platformFeatureFlags.fg)('platform_renderer_blindspots') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
|
|
@@ -75,7 +75,7 @@ var getSimulatedBetterMetadata = exports.getSimulatedBetterMetadata = function g
|
|
|
75
75
|
}].concat(baseBottomMetaData)
|
|
76
76
|
};
|
|
77
77
|
case 'integration-passionfruit-object-provider':
|
|
78
|
-
if ((0, _platformFeatureFlags.fg)('
|
|
78
|
+
if ((0, _platformFeatureFlags.fg)('passionfruit_ask_smart_links_enabled_afm')) {
|
|
79
79
|
return {
|
|
80
80
|
titleMetadata: defaultTitleMetadata,
|
|
81
81
|
topMetadata: (0, _utils.extractOwnedBy)(data) ? [{
|
|
@@ -24,6 +24,9 @@ var _forbiddenView = _interopRequireDefault(require("./views/forbidden-view"));
|
|
|
24
24
|
var _notFoundView = _interopRequireDefault(require("./views/not-found-view"));
|
|
25
25
|
var _ResolvedView3 = require("./views/ResolvedView");
|
|
26
26
|
var _unauthorizedView = _interopRequireDefault(require("./views/unauthorized-view"));
|
|
27
|
+
// TODO: Package Owner - please fix:
|
|
28
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
29
|
+
|
|
27
30
|
var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
|
|
28
31
|
var children = _ref.children;
|
|
29
32
|
return (0, _platformFeatureFlags.fg)('platform_renderer_blindspots') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
|
|
@@ -54,6 +54,9 @@ var _ResolvedView = require("./ResolvedView");
|
|
|
54
54
|
var _ResolvingView = require("./ResolvingView");
|
|
55
55
|
var _UnauthorisedView = require("./UnauthorisedView");
|
|
56
56
|
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); }
|
|
57
|
+
// TODO: Package Owner - please fix:
|
|
58
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
59
|
+
|
|
57
60
|
var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
|
|
58
61
|
var children = _ref.children;
|
|
59
62
|
return (0, _platformFeatureFlags.fg)('platform_renderer_blindspots') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "40.
|
|
22
|
+
packageVersion: "40.13.1",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -57,7 +57,9 @@ export default {
|
|
|
57
57
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
58
58
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
59
59
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
60
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
60
61
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
62
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
61
63
|
'fabric.linking.continue': 'Continue',
|
|
62
64
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
63
65
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -96,6 +98,7 @@ export default {
|
|
|
96
98
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
97
99
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
98
100
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
101
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
99
102
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
100
103
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
101
104
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -116,6 +119,8 @@ export default {
|
|
|
116
119
|
'fabric.linking.preview_improved': 'Open preview',
|
|
117
120
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
118
121
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
122
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
123
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
119
124
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
120
125
|
'fabric.linking.priority_critical': 'Critical',
|
|
121
126
|
'fabric.linking.priority_high': 'High',
|
|
@@ -57,7 +57,9 @@ export default {
|
|
|
57
57
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
58
58
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
59
59
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
60
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
60
61
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
62
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
61
63
|
'fabric.linking.continue': 'Continue',
|
|
62
64
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
63
65
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -96,6 +98,7 @@ export default {
|
|
|
96
98
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
97
99
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
98
100
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
101
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
99
102
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
100
103
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
101
104
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -116,6 +119,8 @@ export default {
|
|
|
116
119
|
'fabric.linking.preview_improved': 'Open preview',
|
|
117
120
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
118
121
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
122
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
123
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
119
124
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
120
125
|
'fabric.linking.priority_critical': 'Critical',
|
|
121
126
|
'fabric.linking.priority_high': 'High',
|
|
@@ -57,7 +57,9 @@ export default {
|
|
|
57
57
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
58
58
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
59
59
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
60
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
60
61
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
62
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
61
63
|
'fabric.linking.continue': 'Continue',
|
|
62
64
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
63
65
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -96,6 +98,7 @@ export default {
|
|
|
96
98
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
97
99
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
98
100
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
101
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
99
102
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
100
103
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
101
104
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -116,6 +119,8 @@ export default {
|
|
|
116
119
|
'fabric.linking.preview_improved': 'Open preview',
|
|
117
120
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
118
121
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
122
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
123
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
119
124
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
120
125
|
'fabric.linking.priority_critical': 'Critical',
|
|
121
126
|
'fabric.linking.priority_high': 'High',
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "40.
|
|
5
|
+
packageVersion: "40.13.1"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
// TODO: Package Owner - please fix:
|
|
5
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
4
6
|
import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
|
|
5
7
|
import { useControlDataExportConfig } from '../../state/hooks/use-control-data-export-config';
|
|
6
8
|
import { getIsDataExportEnabled } from '../../utils/should-data-export';
|
|
@@ -69,7 +69,7 @@ export const getSimulatedBetterMetadata = cardDetails => {
|
|
|
69
69
|
}, ...baseBottomMetaData]
|
|
70
70
|
};
|
|
71
71
|
case 'integration-passionfruit-object-provider':
|
|
72
|
-
if (fg('
|
|
72
|
+
if (fg('passionfruit_ask_smart_links_enabled_afm')) {
|
|
73
73
|
return {
|
|
74
74
|
titleMetadata: defaultTitleMetadata,
|
|
75
75
|
topMetadata: extractOwnedBy(data) ? [{
|
|
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
// TODO: Package Owner - please fix:
|
|
6
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
5
7
|
import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
|
|
6
8
|
import { extractRequestAccessContextImproved } from '../../extractors/common/context/extractAccessContext';
|
|
7
9
|
import { extractEmbedProps } from '../../extractors/embed';
|
|
@@ -3,6 +3,8 @@ import React, { useEffect } from 'react';
|
|
|
3
3
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
4
4
|
import { extractSmartLinkProvider } from '@atlaskit/link-extractors';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
// TODO: Package Owner - please fix:
|
|
7
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
6
8
|
import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
|
|
7
9
|
import { SmartLinkStatus } from '../../constants';
|
|
8
10
|
import { extractRequestAccessContextImproved } from '../../extractors/common/context/extractAccessContext';
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "40.
|
|
12
|
+
packageVersion: "40.13.1",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const Anchor = withLinkClickedEvent('a');
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -57,7 +57,9 @@ export default {
|
|
|
57
57
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
58
58
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
59
59
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
60
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
60
61
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
62
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
61
63
|
'fabric.linking.continue': 'Continue',
|
|
62
64
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
63
65
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -96,6 +98,7 @@ export default {
|
|
|
96
98
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
97
99
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
98
100
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
101
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
99
102
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
100
103
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
101
104
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -116,6 +119,8 @@ export default {
|
|
|
116
119
|
'fabric.linking.preview_improved': 'Open preview',
|
|
117
120
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
118
121
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
122
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
123
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
119
124
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
120
125
|
'fabric.linking.priority_critical': 'Critical',
|
|
121
126
|
'fabric.linking.priority_high': 'High',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -57,7 +57,9 @@ export default {
|
|
|
57
57
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
58
58
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
59
59
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
60
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
60
61
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
62
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
61
63
|
'fabric.linking.continue': 'Continue',
|
|
62
64
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
63
65
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -96,6 +98,7 @@ export default {
|
|
|
96
98
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
97
99
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
98
100
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
101
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
99
102
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
100
103
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
101
104
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -116,6 +119,8 @@ export default {
|
|
|
116
119
|
'fabric.linking.preview_improved': 'Open preview',
|
|
117
120
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
118
121
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
122
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
123
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
119
124
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
120
125
|
'fabric.linking.priority_critical': 'Critical',
|
|
121
126
|
'fabric.linking.priority_high': 'High',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -57,7 +57,9 @@ export default {
|
|
|
57
57
|
'fabric.linking.connect_to': 'Connect to {name}',
|
|
58
58
|
'fabric.linking.connect_unauthorised_account_action': 'Connect to {context}',
|
|
59
59
|
'fabric.linking.connect_unauthorised_account_description': 'Connect your {context} account to collaborate on work across Atlassian products.',
|
|
60
|
+
'fabric.linking.connect_unauthorised_account_description-appify': 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
60
61
|
'fabric.linking.connect_unauthorised_account_description_no_provider': 'Connect your account to collaborate on work across Atlassian products.',
|
|
62
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': 'Connect your account to collaborate on work across Atlassian apps.',
|
|
61
63
|
'fabric.linking.continue': 'Continue',
|
|
62
64
|
'fabric.linking.copied_summary_action_description': 'Copied summary to clipboard',
|
|
63
65
|
'fabric.linking.copied_url_to_clipboard': 'Copied!',
|
|
@@ -96,6 +98,7 @@ export default {
|
|
|
96
98
|
'fabric.linking.join_to_view': 'Join {context} to view this issue',
|
|
97
99
|
'fabric.linking.join_to_view-issue-term-refresh': 'Join {context} to view this work item',
|
|
98
100
|
'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
|
|
101
|
+
'fabric.linking.learn_more_about_connecting_account-appify': 'Learn more about connecting your account to Atlassian apps.',
|
|
99
102
|
'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
|
|
100
103
|
'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
101
104
|
'fabric.linking.loading': 'Loading...',
|
|
@@ -116,6 +119,8 @@ export default {
|
|
|
116
119
|
'fabric.linking.preview_improved': 'Open preview',
|
|
117
120
|
'fabric.linking.preview_max_size': 'View full screen',
|
|
118
121
|
'fabric.linking.preview_min_size': 'Close full screen',
|
|
122
|
+
'fabric.linking.preview_modal': 'Open preview modal',
|
|
123
|
+
'fabric.linking.preview_panel': 'Open preview panel',
|
|
119
124
|
'fabric.linking.priority_blocker': 'Blocker',
|
|
120
125
|
'fabric.linking.priority_critical': 'Critical',
|
|
121
126
|
'fabric.linking.priority_high': 'High',
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "40.
|
|
7
|
+
packageVersion: "40.13.1"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
// TODO: Package Owner - please fix:
|
|
5
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
4
6
|
import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
|
|
5
7
|
import { useControlDataExportConfig } from '../../state/hooks/use-control-data-export-config';
|
|
6
8
|
import { getIsDataExportEnabled } from '../../utils/should-data-export';
|
|
@@ -69,7 +69,7 @@ export var getSimulatedBetterMetadata = function getSimulatedBetterMetadata(card
|
|
|
69
69
|
}].concat(baseBottomMetaData)
|
|
70
70
|
};
|
|
71
71
|
case 'integration-passionfruit-object-provider':
|
|
72
|
-
if (fg('
|
|
72
|
+
if (fg('passionfruit_ask_smart_links_enabled_afm')) {
|
|
73
73
|
return {
|
|
74
74
|
titleMetadata: defaultTitleMetadata,
|
|
75
75
|
topMetadata: extractOwnedBy(data) ? [{
|
|
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
// TODO: Package Owner - please fix:
|
|
6
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
5
7
|
import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
|
|
6
8
|
import { extractRequestAccessContextImproved } from '../../extractors/common/context/extractAccessContext';
|
|
7
9
|
import { extractEmbedProps } from '../../extractors/embed';
|
|
@@ -3,6 +3,8 @@ import React, { useEffect } from 'react';
|
|
|
3
3
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
4
4
|
import { extractSmartLinkProvider } from '@atlaskit/link-extractors';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
// TODO: Package Owner - please fix:
|
|
7
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
6
8
|
import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
|
|
7
9
|
import { SmartLinkStatus } from '../../constants';
|
|
8
10
|
import { extractRequestAccessContextImproved } from '../../extractors/common/context/extractAccessContext';
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "40.
|
|
15
|
+
packageVersion: "40.13.1",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var Anchor = withLinkClickedEvent('a');
|
|
@@ -5,21 +5,21 @@ import { type EmbedModalProps } from '../../view/EmbedModal/types';
|
|
|
5
5
|
import { type ExtractClientActionsParam } from './types';
|
|
6
6
|
export type ExtractInvokePreviewActionParam = ExtractClientActionsParam & {
|
|
7
7
|
fireEvent?: FireEventFunction;
|
|
8
|
-
onClose?: EmbedModalProps['onClose'];
|
|
9
|
-
origin?: AnalyticsOrigin;
|
|
10
8
|
isPreviewPanelAvailable?: (params: {
|
|
11
9
|
ari: string;
|
|
12
10
|
}) => boolean;
|
|
11
|
+
onClose?: EmbedModalProps['onClose'];
|
|
13
12
|
openPreviewPanel?: (params: {
|
|
14
13
|
ari: string;
|
|
15
|
-
url: string;
|
|
16
|
-
name: string;
|
|
17
14
|
iconUrl: string | undefined;
|
|
15
|
+
name: string;
|
|
16
|
+
url: string;
|
|
18
17
|
}) => void;
|
|
18
|
+
origin?: AnalyticsOrigin;
|
|
19
19
|
};
|
|
20
20
|
type ExtractInvokePreviewActionReturn = {
|
|
21
|
-
invokeAction: InvokeClientActionProps;
|
|
22
21
|
hasPreviewPanel?: boolean;
|
|
22
|
+
invokeAction: InvokeClientActionProps;
|
|
23
23
|
};
|
|
24
24
|
export declare const extractInvokePreviewAction: (param: ExtractInvokePreviewActionParam) => ExtractInvokePreviewActionReturn | undefined;
|
|
25
25
|
export {};
|
|
@@ -2,9 +2,9 @@ import { type JsonLd } from '@atlaskit/json-ld-types';
|
|
|
2
2
|
import { type AnalyticsOrigin } from '../../../utils/types';
|
|
3
3
|
import { type CardActionOptions, type CardInnerAppearance } from '../../../view/Card/types';
|
|
4
4
|
export type ExtractActionsProps = {
|
|
5
|
-
response: JsonLd.Response;
|
|
6
5
|
actionOptions?: CardActionOptions;
|
|
7
6
|
extensionKey?: string;
|
|
8
|
-
source?: CardInnerAppearance;
|
|
9
7
|
origin?: AnalyticsOrigin;
|
|
8
|
+
response: JsonLd.Response;
|
|
9
|
+
source?: CardInnerAppearance;
|
|
10
10
|
};
|
|
@@ -2,8 +2,8 @@ import { type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
|
2
2
|
import { type JsonLd } from '@atlaskit/json-ld-types';
|
|
3
3
|
import { type RequestAccessContextProps } from '../../../view/types';
|
|
4
4
|
export declare const extractRequestAccessContextImproved: ({ jsonLd, url, product, createAnalyticsEvent, }: {
|
|
5
|
+
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
5
6
|
jsonLd: JsonLd.Meta.BaseMeta;
|
|
6
|
-
url: string;
|
|
7
7
|
product: string;
|
|
8
|
-
|
|
8
|
+
url: string;
|
|
9
9
|
}) => RequestAccessContextProps;
|
|
@@ -4,12 +4,12 @@ import { type LinkProvider } from '@atlaskit/link-extractors';
|
|
|
4
4
|
import { type LinkTaskType } from '../lozenge/extractTaskType';
|
|
5
5
|
export type IconPriority = 'type' | 'provider';
|
|
6
6
|
export interface IconOpts {
|
|
7
|
-
title?: string;
|
|
8
|
-
provider?: LinkProvider;
|
|
9
7
|
fileFormat?: string;
|
|
10
|
-
taskType?: LinkTaskType;
|
|
11
|
-
priority?: IconPriority;
|
|
12
8
|
icon?: string;
|
|
9
|
+
priority?: IconPriority;
|
|
10
|
+
provider?: LinkProvider;
|
|
13
11
|
showIconLabel?: boolean;
|
|
12
|
+
taskType?: LinkTaskType;
|
|
13
|
+
title?: string;
|
|
14
14
|
}
|
|
15
15
|
export declare const extractIcon: (jsonLd: JsonLd.Data.BaseData, priority?: IconPriority, showIconLabel?: boolean) => React.ReactNode | undefined;
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
* Options required to prioritise which icon to show
|
|
3
3
|
*/
|
|
4
4
|
export type IconPriorityOpts<T> = {
|
|
5
|
-
/**
|
|
6
|
-
* Icon choice corresponding to the file format (based on MIME type) for the object.
|
|
7
|
-
*/
|
|
8
|
-
fileFormatIcon: T | undefined;
|
|
9
5
|
/**
|
|
10
6
|
* Icon choice corresponding to the document type for the object.
|
|
11
7
|
* @remark Document type icons can be provider-specific. This covers use cases
|
|
@@ -16,14 +12,18 @@ export type IconPriorityOpts<T> = {
|
|
|
16
12
|
*/
|
|
17
13
|
documentTypeIcon: T | undefined;
|
|
18
14
|
/**
|
|
19
|
-
*
|
|
15
|
+
* Icon choice corresponding to the file format (based on MIME type) for the object.
|
|
20
16
|
*/
|
|
21
|
-
|
|
17
|
+
fileFormatIcon: T | undefined;
|
|
22
18
|
/**
|
|
23
19
|
* The icon choice extracted from the generator object (provider) of the
|
|
24
20
|
* JSON-LD data object.
|
|
25
21
|
*/
|
|
26
22
|
providerIcon: T | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The icon choice extracted from the icon property of the JSON-LD data object.
|
|
25
|
+
*/
|
|
26
|
+
urlIcon: T | undefined;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* Reusable priority function for choosing which icon to show.
|
|
@@ -6,9 +6,9 @@ export type AccentShortName = 'blue' | 'gray' | 'green' | 'lime' | 'magenta' | '
|
|
|
6
6
|
export type LinkLozengeInvokeActions = InvokeActions;
|
|
7
7
|
export interface LinkLozenge {
|
|
8
8
|
action?: LinkLozengeInvokeActions;
|
|
9
|
-
text: string;
|
|
10
9
|
appearance?: LinkLozengeColor;
|
|
11
10
|
style?: AtlaskitLozengeProps['style'];
|
|
11
|
+
text: string;
|
|
12
12
|
}
|
|
13
13
|
export type LinkDocumentState = 'archived' | 'draft' | 'current';
|
|
14
14
|
export type LinkPullRequestState = 'open' | 'merged' | 'declined' | 'closed';
|