@atlaskit/smart-card 40.0.1 → 40.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 +16 -0
- package/dist/cjs/extractors/embed/index.js +3 -4
- package/dist/cjs/extractors/flexible/index.js +3 -4
- package/dist/cjs/extractors/inline/index.js +3 -9
- package/dist/cjs/i18n/cs.js +1 -0
- package/dist/cjs/i18n/da.js +1 -0
- package/dist/cjs/i18n/de.js +1 -0
- package/dist/cjs/i18n/en.js +1 -0
- package/dist/cjs/i18n/en_GB.js +1 -0
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/i18n/es.js +1 -0
- package/dist/cjs/i18n/fi.js +1 -0
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +1 -0
- package/dist/cjs/i18n/ko.js +1 -0
- package/dist/cjs/i18n/nb.js +1 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +2 -1
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sl.js +1 -0
- package/dist/cjs/i18n/sr_RS.js +1 -0
- package/dist/cjs/i18n/sr_YR.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/uk.js +1 -0
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +1 -0
- package/dist/cjs/i18n/zh_TW.js +1 -0
- package/dist/cjs/messages.js +0 -35
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +7 -7
- package/dist/cjs/view/BlockCard/views/unresolved-view/index.js +6 -8
- package/dist/cjs/view/EmbedCard/components/ImageIcon.js +1 -2
- package/dist/cjs/view/EmbedCard/views/ResolvedView.js +5 -9
- package/dist/cjs/view/FlexibleCard/components/actions/unresolved-action/index.compiled.css +1 -0
- package/dist/cjs/view/FlexibleCard/components/actions/unresolved-action/index.js +6 -2
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +3 -21
- package/dist/cjs/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +6 -7
- package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-icon-element/index.js +5 -9
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +12 -64
- package/dist/cjs/view/FlexibleCard/components/elements/link-icon-element/index.js +1 -9
- package/dist/cjs/view/FlexibleCard/external.js +2 -2
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +1 -2
- package/dist/cjs/view/InlineCard/ResolvedView/index.js +3 -5
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +2 -10
- package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.compiled.css +0 -4
- package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.js +3 -5
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +3 -10
- package/dist/cjs/view/RelatedLinksModal/views/errored/index.js +4 -10
- package/dist/cjs/view/RelatedLinksModal/views/resolved/index.js +2 -3
- package/dist/cjs/view/RelatedLinksModal/views/unavailable/index.js +1 -9
- package/dist/es2019/extractors/embed/index.js +1 -3
- package/dist/es2019/extractors/flexible/index.js +1 -3
- package/dist/es2019/extractors/inline/index.js +1 -4
- package/dist/es2019/i18n/cs.js +1 -0
- package/dist/es2019/i18n/da.js +1 -0
- package/dist/es2019/i18n/de.js +1 -0
- package/dist/es2019/i18n/en.js +1 -0
- package/dist/es2019/i18n/en_GB.js +1 -0
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/i18n/es.js +1 -0
- package/dist/es2019/i18n/fi.js +1 -0
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +1 -0
- package/dist/es2019/i18n/ko.js +1 -0
- package/dist/es2019/i18n/nb.js +1 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +2 -1
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sl.js +1 -0
- package/dist/es2019/i18n/sr_RS.js +1 -0
- package/dist/es2019/i18n/sr_YR.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/uk.js +1 -0
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +1 -0
- package/dist/es2019/i18n/zh_TW.js +1 -0
- package/dist/es2019/messages.js +0 -35
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +4 -4
- package/dist/es2019/view/BlockCard/views/unresolved-view/index.js +3 -5
- package/dist/es2019/view/EmbedCard/components/ImageIcon.js +1 -2
- package/dist/es2019/view/EmbedCard/views/ResolvedView.js +5 -9
- package/dist/es2019/view/FlexibleCard/components/actions/unresolved-action/index.compiled.css +1 -0
- package/dist/es2019/view/FlexibleCard/components/actions/unresolved-action/index.js +5 -2
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/index.js +1 -2
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +3 -19
- package/dist/es2019/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +3 -4
- package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-icon-element/index.js +8 -13
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +1 -39
- package/dist/es2019/view/FlexibleCard/components/elements/link-icon-element/index.js +1 -8
- package/dist/es2019/view/FlexibleCard/external.js +1 -1
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +1 -2
- package/dist/es2019/view/InlineCard/ResolvedView/index.js +4 -6
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +2 -10
- package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.compiled.css +0 -4
- package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.js +3 -5
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +3 -9
- package/dist/es2019/view/RelatedLinksModal/views/errored/index.js +4 -8
- package/dist/es2019/view/RelatedLinksModal/views/resolved/index.js +2 -3
- package/dist/es2019/view/RelatedLinksModal/views/unavailable/index.js +1 -7
- package/dist/esm/extractors/embed/index.js +3 -4
- package/dist/esm/extractors/flexible/index.js +3 -4
- package/dist/esm/extractors/inline/index.js +3 -8
- package/dist/esm/i18n/cs.js +1 -0
- package/dist/esm/i18n/da.js +1 -0
- package/dist/esm/i18n/de.js +1 -0
- package/dist/esm/i18n/en.js +1 -0
- package/dist/esm/i18n/en_GB.js +1 -0
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/i18n/es.js +1 -0
- package/dist/esm/i18n/fi.js +1 -0
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +1 -0
- package/dist/esm/i18n/ko.js +1 -0
- package/dist/esm/i18n/nb.js +1 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +2 -1
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sl.js +1 -0
- package/dist/esm/i18n/sr_RS.js +1 -0
- package/dist/esm/i18n/sr_YR.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/uk.js +1 -0
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +1 -0
- package/dist/esm/i18n/zh_TW.js +1 -0
- package/dist/esm/messages.js +0 -35
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/ResolvedView.js +7 -7
- package/dist/esm/view/BlockCard/views/unresolved-view/index.js +6 -8
- package/dist/esm/view/EmbedCard/components/ImageIcon.js +1 -2
- package/dist/esm/view/EmbedCard/views/ResolvedView.js +5 -9
- package/dist/esm/view/FlexibleCard/components/actions/unresolved-action/index.compiled.css +1 -0
- package/dist/esm/view/FlexibleCard/components/actions/unresolved-action/index.js +6 -2
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/index.js +1 -2
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +3 -19
- package/dist/esm/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +6 -7
- package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +2 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-icon-element/index.js +5 -9
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +12 -64
- package/dist/esm/view/FlexibleCard/components/elements/link-icon-element/index.js +1 -9
- package/dist/esm/view/FlexibleCard/external.js +2 -2
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +1 -2
- package/dist/esm/view/InlineCard/ResolvedView/index.js +3 -5
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +2 -10
- package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.compiled.css +0 -4
- package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.js +3 -5
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +3 -10
- package/dist/esm/view/RelatedLinksModal/views/errored/index.js +4 -10
- package/dist/esm/view/RelatedLinksModal/views/resolved/index.js +2 -3
- package/dist/esm/view/RelatedLinksModal/views/unavailable/index.js +1 -9
- package/dist/types/i18n/cs.d.ts +1 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/en.d.ts +1 -0
- package/dist/types/i18n/en_GB.d.ts +1 -0
- package/dist/types/i18n/en_ZZ.d.ts +1 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ja.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +1 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sl.d.ts +1 -0
- package/dist/types/i18n/sr_RS.d.ts +1 -0
- package/dist/types/i18n/sr_YR.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +1 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +2 -1
- package/dist/types/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.d.ts +2 -5
- package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/external.d.ts +3 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +1 -0
- package/dist/types-ts4.5/i18n/da.d.ts +1 -0
- package/dist/types-ts4.5/i18n/de.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
- package/dist/types-ts4.5/i18n/es.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -0
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +2 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.d.ts +2 -5
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/external.d.ts +3 -1
- package/package.json +2 -5
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.compiled.css +0 -2
- package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +0 -1
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.compiled.css +0 -2
- package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +0 -1
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.compiled.css +0 -2
- package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +0 -1
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Otevřít požadavek v Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Otevřít odkaz na nové kartě',
|
|
107
107
|
'fabric.linking.owned_by': 'Vlastník: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Od autora {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Vaše žádost o přístup čeká na vyřízení.',
|
|
109
110
|
'fabric.linking.preview_close': 'Zavřít náhled',
|
|
110
111
|
'fabric.linking.preview_description': 'Otevřít náhled tohoto odkazu na celé obrazovce',
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Åbn sag i Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Åbn link i en ny fane',
|
|
107
107
|
'fabric.linking.owned_by': 'Ejet af {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Af {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Din anmodning om adgang afventer behandling',
|
|
109
110
|
'fabric.linking.preview_close': 'Luk forhåndsvisning',
|
|
110
111
|
'fabric.linking.preview_description': 'Åbn en forhåndsvisning i fuld skærm af dette link',
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Vorgang in Jira öffnen',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Link in neuer Registerkarte öffnen',
|
|
107
107
|
'fabric.linking.owned_by': 'Besitzer: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Von {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Ihre Zugriffsanfrage ist ausstehend.',
|
|
109
110
|
'fabric.linking.preview_close': 'Vorschau beenden',
|
|
110
111
|
'fabric.linking.preview_description': 'Es wird eine Vorschau dieses Links im Vollbildmodus geöffnet.',
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Open work item in Jira',
|
|
107
107
|
'fabric.linking.open_link_in_a_new_tab': 'Open link in a new tab',
|
|
108
108
|
'fabric.linking.owned_by': 'Owned by {context}',
|
|
109
|
+
'fabric.linking.owned_by_override': 'By {context}',
|
|
109
110
|
'fabric.linking.pending_request': 'Your access request is pending',
|
|
110
111
|
'fabric.linking.preview_close': 'Close preview',
|
|
111
112
|
'fabric.linking.preview_description': 'Open a full screen preview of this link',
|
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Open work item in Jira',
|
|
107
107
|
'fabric.linking.open_link_in_a_new_tab': 'Open link in a new tab',
|
|
108
108
|
'fabric.linking.owned_by': 'Owned by {context}',
|
|
109
|
+
'fabric.linking.owned_by_override': 'By {context}',
|
|
109
110
|
'fabric.linking.pending_request': 'Your access request is pending',
|
|
110
111
|
'fabric.linking.preview_close': 'Close preview',
|
|
111
112
|
'fabric.linking.preview_description': 'Open a full screen preview of this link',
|
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Open work item in Jira',
|
|
107
107
|
'fabric.linking.open_link_in_a_new_tab': 'Open link in a new tab',
|
|
108
108
|
'fabric.linking.owned_by': 'Owned by {context}',
|
|
109
|
+
'fabric.linking.owned_by_override': 'By {context}',
|
|
109
110
|
'fabric.linking.pending_request': 'Your access request is pending',
|
|
110
111
|
'fabric.linking.preview_close': 'Close preview',
|
|
111
112
|
'fabric.linking.preview_description': 'Open a full screen preview of this link',
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Abrir actividad en Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Abrir enlace en una nueva pestaña',
|
|
107
107
|
'fabric.linking.owned_by': 'Propiedad de {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'De {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Tu solicitud de acceso está pendiente',
|
|
109
110
|
'fabric.linking.preview_close': 'Cerrar vista previa',
|
|
110
111
|
'fabric.linking.preview_description': 'Abre una vista previa a pantalla completa de este enlace',
|
package/dist/es2019/i18n/fi.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Avaa työtehtävä Jirassa',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Avaa linkki uudessa välilehdessä',
|
|
107
107
|
'fabric.linking.owned_by': 'Omistaja: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Tekijä: {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Käyttöoikeuspyyntösi on vireillä',
|
|
109
110
|
'fabric.linking.preview_close': 'Sulje esikatselu',
|
|
110
111
|
'fabric.linking.preview_description': 'Avaa tämän linkin koko näytön esikatselu',
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Ouvrir le ticket dans Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Ouvrir le lien dans un nouvel onglet',
|
|
107
107
|
'fabric.linking.owned_by': 'Propriétaire : {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Par {context}',
|
|
108
109
|
'fabric.linking.pending_request': "Votre demande d'accès est en attente",
|
|
109
110
|
'fabric.linking.preview_close': "Fermer l'aperçu",
|
|
110
111
|
'fabric.linking.preview_description': 'Ouvrez un aperçu en plein écran de ce lien',
|
package/dist/es2019/i18n/hr.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Otvori radni predmet u Jiri',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Otvori poveznicu na novoj kartici',
|
|
107
107
|
'fabric.linking.owned_by': 'U vlasništvu {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Prema {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Tvoj zahtjev za pristup je na čekanju',
|
|
109
110
|
'fabric.linking.preview_close': 'Zatvori pregled',
|
|
110
111
|
'fabric.linking.preview_description': 'Otvori pregled preko cijelog zaslona ove poveznice',
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Ügy megnyitása a Jirában',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Link megnyitása új lapon',
|
|
107
107
|
'fabric.linking.owned_by': 'Tulajdonos: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': '{context} által',
|
|
108
109
|
'fabric.linking.pending_request': 'A hozzáférési kérelmed függőben van',
|
|
109
110
|
'fabric.linking.preview_close': 'Előnézet bezárása',
|
|
110
111
|
'fabric.linking.preview_description': 'A link teljes képernyős előnézetének megnyitása',
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Apri il ticket in Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Apri link in una nuova scheda',
|
|
107
107
|
'fabric.linking.owned_by': 'Di proprietà di {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Di {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'La tua richiesta di accesso è in sospeso',
|
|
109
110
|
'fabric.linking.preview_close': "Chiudi l'anteprima",
|
|
110
111
|
'fabric.linking.preview_description': "Apri un'anteprima a schermo intero di questo link",
|
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Jira で作業項目を開く',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'リンクを新しいタブで開く',
|
|
107
107
|
'fabric.linking.owned_by': '所有者: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': '所有者: {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'アクセス リクエストは保留中です。',
|
|
109
110
|
'fabric.linking.preview_close': 'プレビューを閉じる',
|
|
110
111
|
'fabric.linking.preview_description': 'このリンクの全画面プレビューを開きます',
|
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Jira에서 업무 항목 열기',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': '새 탭에서 링크 열기',
|
|
107
107
|
'fabric.linking.owned_by': '소유자: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': '담당자 {context}',
|
|
108
109
|
'fabric.linking.pending_request': '액세스 요청이 보류 중입니다',
|
|
109
110
|
'fabric.linking.preview_close': '미리 보기 닫기',
|
|
110
111
|
'fabric.linking.preview_description': '이 링크의 전체 화면 미리 보기를 엽니다',
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Åpne arbeidsoppgaven i Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Åpne kobling i en ny fane',
|
|
107
107
|
'fabric.linking.owned_by': 'Eid av {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Fra {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Avventer svar på forespørselen din om tilgang',
|
|
109
110
|
'fabric.linking.preview_close': 'Lukk forhåndsvisning',
|
|
110
111
|
'fabric.linking.preview_description': 'Åpne en forhåndsvisning av denne koblingen i fullskjerm',
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Open werkitem in Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Open de link in een nieuw tabblad',
|
|
107
107
|
'fabric.linking.owned_by': 'Eigendom van {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Door {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Je toegangsaanvraag wordt behandeld.',
|
|
109
110
|
'fabric.linking.preview_close': 'Voorbeeldweergave sluiten',
|
|
110
111
|
'fabric.linking.preview_description': 'Open een voorvertoning in volledig scherm van deze link',
|
package/dist/es2019/i18n/pl.js
CHANGED
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
'fabric.linking.ai_summary_error_acceptable_use_violation': 'Nie możemy pokazać wyników tego podsumowania, ponieważ jest to sprzeczne z <a>zasadami dopuszczalnego użytkowania Atlassian</a>.',
|
|
34
34
|
'fabric.linking.ai_summary_error_exceeding_context_length_error': 'Atlassian Intelligence nie może teraz wygenerować podsumowania, ponieważ jest zbyt dużo treści do podsumowania.',
|
|
35
35
|
'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence (AI) nie odpowiada. Spróbuj ponownie później lub <a>sprawdź status AI</a>.',
|
|
36
|
-
'fabric.linking.ai_summary_error_hipaa_content_detected': 'Atlassian Intelligence nie może przetworzyć Twojego
|
|
36
|
+
'fabric.linking.ai_summary_error_hipaa_content_detected': 'Atlassian Intelligence nie może przetworzyć Twojego wniosku, ponieważ treść zawiera łącza do zawartości podlegających ograniczeniom przepisów HIPAA.',
|
|
37
37
|
'fabric.linking.assigned_to': 'Przypisano do {context}',
|
|
38
38
|
'fabric.linking.automation-action.confluence.page.modal.description': 'Zastosuj automatyzacje do <b>{name}</b>.{br}Opcje dostępne do wyboru są kontrolowane przez administratorów Confluence i przestrzeni.',
|
|
39
39
|
'fabric.linking.automation-action.confluence.page.modal.title': 'Automatyzacje stron',
|
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Otwórz zgłoszenie w systemie Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Otwórz łącze na nowej karcie',
|
|
107
107
|
'fabric.linking.owned_by': 'Właściciel: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Autor: {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Twój wniosek o dostęp oczekuje na rozpatrzenie',
|
|
109
110
|
'fabric.linking.preview_close': 'Zamknij podgląd',
|
|
110
111
|
'fabric.linking.preview_description': 'Otwórz podgląd tego łącza na pełnym ekranie',
|
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Abrir ticket no Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Abrir link em uma nova guia',
|
|
107
107
|
'fabric.linking.owned_by': 'Pertence a {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Por {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'A solicitação de acesso está pendente',
|
|
109
110
|
'fabric.linking.preview_close': 'Fechar pré-visualização',
|
|
110
111
|
'fabric.linking.preview_description': 'Abre uma pré-visualização em tela cheia deste link',
|
package/dist/es2019/i18n/ru.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Открыть задачу в Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Открыть ссылку в новой вкладке',
|
|
107
107
|
'fabric.linking.owned_by': 'Владелец: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Ответственный: {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Ваш запрос на доступ ожидает рассмотрения',
|
|
109
110
|
'fabric.linking.preview_close': 'Закрыть предварительный просмотр',
|
|
110
111
|
'fabric.linking.preview_description': 'Предварительный просмотр ссылки в полноэкранном режиме',
|
package/dist/es2019/i18n/sl.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Odpri delovni element v storitvi Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Odpri povezavo na novem zavihku',
|
|
107
107
|
'fabric.linking.owned_by': 'V lasti {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Imetnik: {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Vaša zahteva za dostop je v teku',
|
|
109
110
|
'fabric.linking.preview_close': 'Zapri predogled',
|
|
110
111
|
'fabric.linking.preview_description': 'Odpre celozaslonski predogled te povezave',
|
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Otvori radnu stavku u usluzi Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Otvori link na novoj kartici',
|
|
107
107
|
'fabric.linking.owned_by': 'Vlasnik: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': '{context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Vaš zahtev za pristup je na čekanju',
|
|
109
110
|
'fabric.linking.preview_close': 'Zatvori pregled',
|
|
110
111
|
'fabric.linking.preview_description': 'Otvorite pregled preko celog ekrana za ovaj link',
|
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Отвори радну ставку у услузи Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Отвори линк на новој картици',
|
|
107
107
|
'fabric.linking.owned_by': 'Власник: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': '{context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Ваш захтев за приступ је на чекању',
|
|
109
110
|
'fabric.linking.preview_close': 'Затвори преглед',
|
|
110
111
|
'fabric.linking.preview_description': 'Отворите преглед преко целог екрана за овај линк',
|
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Öppna arbetsuppgiften i Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Öppna länk i en ny flik',
|
|
107
107
|
'fabric.linking.owned_by': 'Ägs av {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Av {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Din åtkomstförfrågan väntar på svar',
|
|
109
110
|
'fabric.linking.preview_close': 'Stäng förhandsvisning',
|
|
110
111
|
'fabric.linking.preview_description': 'Öppna en förhandsvisning av länken i helskärm',
|
package/dist/es2019/i18n/th.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'ตั๋วที่เปิดอยู่ใน Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'เปิดลิงก์ในแถบใหม่',
|
|
107
107
|
'fabric.linking.owned_by': 'เจ้าของคือ {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'โดย {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'คำขอการเข้าถึงของคุณกำลังรอดำเนินการ',
|
|
109
110
|
'fabric.linking.preview_close': 'ปิดการแสดงตัวอย่าง',
|
|
110
111
|
'fabric.linking.preview_description': 'เปิดตัวอย่างแบบเต็มหน้าจอของลิงก์นี้',
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Відкрити елемент завдання в Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Відкрити посилання в новій вкладці',
|
|
107
107
|
'fabric.linking.owned_by': 'Власник: {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Від {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Запит на надання доступу в очікуванні',
|
|
109
110
|
'fabric.linking.preview_close': 'Закрити вікно попереднього перегляду',
|
|
110
111
|
'fabric.linking.preview_description': 'Відкрийте посилання в повноекранному режимі для попереднього перегляду',
|
package/dist/es2019/i18n/vi.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Mở hạng mục công việc trong Jira',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': 'Mở liên kết trong tab mới',
|
|
107
107
|
'fabric.linking.owned_by': 'Sở hữu bởi {context}',
|
|
108
|
+
'fabric.linking.owned_by_override': 'Của {context}',
|
|
108
109
|
'fabric.linking.pending_request': 'Đang chờ xử lý yêu cầu quyền truy cập của bạn',
|
|
109
110
|
'fabric.linking.preview_close': 'Đóng bản xem trước',
|
|
110
111
|
'fabric.linking.preview_description': 'Mở bản xem trước toàn màn hình của liên kết này',
|
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': '在 Jira 中打开工作项',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': '在新选项卡中打开链接',
|
|
107
107
|
'fabric.linking.owned_by': '负责人:{context}',
|
|
108
|
+
'fabric.linking.owned_by_override': '作者:{context}',
|
|
108
109
|
'fabric.linking.pending_request': '您的访问请求正等待处理',
|
|
109
110
|
'fabric.linking.preview_close': '关闭预览',
|
|
110
111
|
'fabric.linking.preview_description': '打开此链接的全屏预览',
|
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Jira 中的待處理工作項目',
|
|
106
106
|
'fabric.linking.open_link_in_a_new_tab': '在新分頁中開啟連結',
|
|
107
107
|
'fabric.linking.owned_by': '負責人:{context}',
|
|
108
|
+
'fabric.linking.owned_by_override': '作者:{context}',
|
|
108
109
|
'fabric.linking.pending_request': '您的存取要求擱置中',
|
|
109
110
|
'fabric.linking.preview_close': '關閉預覽',
|
|
110
111
|
'fabric.linking.preview_description': '開啟此連結的全螢幕預覽',
|
package/dist/es2019/messages.js
CHANGED
|
@@ -701,11 +701,6 @@ export const messages = defineMessages({
|
|
|
701
701
|
},
|
|
702
702
|
related_links_modal_title: {
|
|
703
703
|
id: 'fabric.linking.related_links_modal_title',
|
|
704
|
-
defaultMessage: 'Recent links',
|
|
705
|
-
description: 'Shown as the title for the related links modal'
|
|
706
|
-
},
|
|
707
|
-
related_links_modal_title_v2: {
|
|
708
|
-
id: 'fabric.linking.related_links_modal_title_v2',
|
|
709
704
|
defaultMessage: 'Related links',
|
|
710
705
|
description: 'Shown as the title for the related links modal'
|
|
711
706
|
},
|
|
@@ -721,11 +716,6 @@ export const messages = defineMessages({
|
|
|
721
716
|
},
|
|
722
717
|
related_links_found_in: {
|
|
723
718
|
id: 'fabric.linking.related_links_found_in',
|
|
724
|
-
defaultMessage: 'Found In',
|
|
725
|
-
description: 'Informs the user of the resources are found in the given url'
|
|
726
|
-
},
|
|
727
|
-
related_links_found_in_v2: {
|
|
728
|
-
id: 'fabric.linking.related_links_found_in_v2',
|
|
729
719
|
defaultMessage: 'Found in',
|
|
730
720
|
description: 'Informs the user of the resources are found in the given url'
|
|
731
721
|
},
|
|
@@ -736,19 +726,9 @@ export const messages = defineMessages({
|
|
|
736
726
|
},
|
|
737
727
|
related_links_includes_links_to: {
|
|
738
728
|
id: 'fabric.linking.related_links_includes_links_to',
|
|
739
|
-
defaultMessage: 'Includes Links To',
|
|
740
|
-
description: 'Informs the user of the resources the url links to'
|
|
741
|
-
},
|
|
742
|
-
related_links_includes_links_to_v2: {
|
|
743
|
-
id: 'fabric.linking.related_links_includes_links_to_v2',
|
|
744
729
|
defaultMessage: 'Includes links to',
|
|
745
730
|
description: 'Informs the user of the resources the url links to'
|
|
746
731
|
},
|
|
747
|
-
related_links_modal_error_header: {
|
|
748
|
-
id: 'fabric.linking.related_links_modal_error_header',
|
|
749
|
-
defaultMessage: 'Something went wrong',
|
|
750
|
-
description: 'Title for related links error'
|
|
751
|
-
},
|
|
752
732
|
related_links_modal_error_title: {
|
|
753
733
|
id: 'fabric.linking.related_links_modal_error_title',
|
|
754
734
|
defaultMessage: `We're having trouble loading related links`,
|
|
@@ -759,11 +739,6 @@ export const messages = defineMessages({
|
|
|
759
739
|
defaultMessage: `We couldn't find any related links`,
|
|
760
740
|
description: 'Title for related links error'
|
|
761
741
|
},
|
|
762
|
-
related_links_modal_error_message: {
|
|
763
|
-
id: 'fabric.linking.related_links_modal_error_message',
|
|
764
|
-
defaultMessage: 'We ran into an issue trying to load recent links. Check your connection or refresh to try again.',
|
|
765
|
-
description: 'Informs the user that there was a problem loading related links'
|
|
766
|
-
},
|
|
767
742
|
related_links_modal_error_description: {
|
|
768
743
|
id: 'fabric.linking.related_links_modal_error_description',
|
|
769
744
|
defaultMessage: 'Check your connection or refresh the page to try again',
|
|
@@ -774,16 +749,6 @@ export const messages = defineMessages({
|
|
|
774
749
|
defaultMessage: 'We continuously review and add related links for updated pages or other content types',
|
|
775
750
|
description: 'Informs the user that there was a problem loading related links'
|
|
776
751
|
},
|
|
777
|
-
related_links_modal_unavailable_header: {
|
|
778
|
-
id: 'fabric.linking.related_links_modal_unavailable_header',
|
|
779
|
-
defaultMessage: 'No recent links',
|
|
780
|
-
description: 'Title for related links being unavailable'
|
|
781
|
-
},
|
|
782
|
-
related_links_modal_unavailable_message: {
|
|
783
|
-
id: 'fabric.linking.related_links_modal_unavailable_message',
|
|
784
|
-
defaultMessage: "We didn't find any links to show here. We continuously review and add recent links for updated pages or other content types.",
|
|
785
|
-
description: 'Informs the user that related links were not found but may be available in the future'
|
|
786
|
-
},
|
|
787
752
|
join_to_viewIssueTermRefresh: {
|
|
788
753
|
id: 'fabric.linking.join_to_view-issue-term-refresh',
|
|
789
754
|
defaultMessage: 'Join {context} to view this work item',
|
|
@@ -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.1.0"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -32,11 +32,11 @@ const ResolvedView = ({
|
|
|
32
32
|
hideIconLoadingSkeleton
|
|
33
33
|
}) => {
|
|
34
34
|
const [isPreviewBlockErrored, setIsPreviewBlockErrored] = useState(false);
|
|
35
|
+
|
|
36
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
35
37
|
const {
|
|
36
38
|
safari = false
|
|
37
|
-
} =
|
|
38
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
39
|
-
useMemo(() => browser(), []) : {};
|
|
39
|
+
} = useMemo(() => browser(), []);
|
|
40
40
|
useEffect(() => {
|
|
41
41
|
setIsPreviewBlockErrored(false);
|
|
42
42
|
}, [url, cardState]);
|
|
@@ -92,7 +92,7 @@ const ResolvedView = ({
|
|
|
92
92
|
}
|
|
93
93
|
})) : null, /*#__PURE__*/React.createElement(FooterBlock, {
|
|
94
94
|
actions: footerActions,
|
|
95
|
-
className: ax(["_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb", safari &&
|
|
95
|
+
className: ax(["_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb", safari && "_4t3i1osq"])
|
|
96
96
|
}));
|
|
97
97
|
};
|
|
98
98
|
export default withFlexibleUIBlockCardStyle(ResolvedView);
|
|
@@ -5,7 +5,6 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useMemo } from 'react';
|
|
7
7
|
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import FlexibleCard from '../../../FlexibleCard';
|
|
10
9
|
import { CustomBlock, InternalFooterBlock, PreviewBlock, TitleBlock } from '../../../FlexibleCard/components/blocks';
|
|
11
10
|
import { FlexibleCardUiOptions, PreviewBlockOptions, titleBlockOptions } from '../utils';
|
|
@@ -25,11 +24,10 @@ const UnresolvedView = ({
|
|
|
25
24
|
title,
|
|
26
25
|
url
|
|
27
26
|
}) => {
|
|
27
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
28
28
|
const {
|
|
29
29
|
safari = false
|
|
30
|
-
} =
|
|
31
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
32
|
-
useMemo(() => browser(), []) : {};
|
|
30
|
+
} = useMemo(() => browser(), []);
|
|
33
31
|
return /*#__PURE__*/React.createElement(FlexibleCard, {
|
|
34
32
|
appearance: "block",
|
|
35
33
|
cardState: cardState,
|
|
@@ -49,7 +47,7 @@ const UnresolvedView = ({
|
|
|
49
47
|
}, children), showPreview && /*#__PURE__*/React.createElement(PreviewBlock, PreviewBlockOptions), /*#__PURE__*/React.createElement(InternalFooterBlock, {
|
|
50
48
|
actions: actions,
|
|
51
49
|
testId: "smart-block-card-footer",
|
|
52
|
-
className: ax(["_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb", safari &&
|
|
50
|
+
className: ax(["_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb", safari && "_4t3i1osq"])
|
|
53
51
|
}));
|
|
54
52
|
};
|
|
55
53
|
export default UnresolvedView;
|
|
@@ -3,7 +3,6 @@ import "./ImageIcon.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import ImageLoader from 'react-render-image';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
import { Image } from './styled';
|
|
8
7
|
const styles = {
|
|
9
8
|
roundedImage: "_2rko14q2"
|
|
@@ -23,7 +22,7 @@ export const ImageIcon = ({
|
|
|
23
22
|
const LoadedImageComponent = /*#__PURE__*/React.createElement(Image
|
|
24
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
25
24
|
, {
|
|
26
|
-
className: ax([appearance === 'round' &&
|
|
25
|
+
className: ax([appearance === 'round' && styles.roundedImage, "smart-link-icon"]),
|
|
27
26
|
src: src,
|
|
28
27
|
alt: alt,
|
|
29
28
|
size: size,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import LinkGlyph from '@atlaskit/icon/core/migration/link';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
3
|
import { useThemeObserver } from '@atlaskit/tokens';
|
|
6
4
|
import { getPreviewUrlWithTheme, isProfileType } from '../../../utils';
|
|
7
5
|
import { ExpandedFrame } from '../components/ExpandedFrame';
|
|
@@ -33,18 +31,16 @@ export const EmbedCardResolvedView = /*#__PURE__*/React.forwardRef(({
|
|
|
33
31
|
testId: "embed-card-fallback-icon",
|
|
34
32
|
color: "currentColor"
|
|
35
33
|
}), []);
|
|
36
|
-
const profileType = isProfileType(type) && fg('platform-linking-visual-refresh-v2');
|
|
37
34
|
let icon = React.useMemo(() => {
|
|
38
35
|
if ( /*#__PURE__*/React.isValidElement(iconFromContext)) {
|
|
39
36
|
return iconFromContext;
|
|
40
37
|
}
|
|
41
|
-
return /*#__PURE__*/React.createElement(ImageIcon,
|
|
38
|
+
return /*#__PURE__*/React.createElement(ImageIcon, {
|
|
42
39
|
src: src,
|
|
43
|
-
default: linkGlyph
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}, [iconFromContext, src, linkGlyph, profileType]);
|
|
40
|
+
default: linkGlyph,
|
|
41
|
+
appearance: isProfileType(type) ? 'round' : 'square'
|
|
42
|
+
});
|
|
43
|
+
}, [iconFromContext, src, linkGlyph, type]);
|
|
48
44
|
const themeState = useThemeObserver();
|
|
49
45
|
let previewUrl = preview === null || preview === void 0 ? void 0 : preview.src;
|
|
50
46
|
if (previewUrl && isSupportTheming) {
|
|
@@ -4,15 +4,18 @@ import "./index.compiled.css";
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
|
+
import { cx } from '@atlaskit/css';
|
|
7
8
|
import { Box, Pressable } from '@atlaskit/primitives/compiled';
|
|
8
9
|
import { InternalActionName } from '../../../../../constants';
|
|
9
10
|
import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
10
11
|
const styles = {
|
|
11
12
|
button: "_1e0c1bgi",
|
|
13
|
+
padding: "_18zrutpp",
|
|
12
14
|
message: "_1rjcze3t _18zrze3t"
|
|
13
15
|
};
|
|
14
16
|
const UnresolvedAction = ({
|
|
15
|
-
testId = 'unresolved-action'
|
|
17
|
+
testId = 'unresolved-action',
|
|
18
|
+
hasPadding = false
|
|
16
19
|
}) => {
|
|
17
20
|
var _context$actions;
|
|
18
21
|
const context = useFlexibleUiContext();
|
|
@@ -29,7 +32,7 @@ const UnresolvedAction = ({
|
|
|
29
32
|
const message = /*#__PURE__*/React.createElement(Box, {
|
|
30
33
|
testId: `${testId}-errored-view-message`,
|
|
31
34
|
tabIndex: hasAction ? 0 : undefined,
|
|
32
|
-
xcss: styles.message
|
|
35
|
+
xcss: cx(styles.message, hasPadding && styles.padding)
|
|
33
36
|
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, descriptor, {
|
|
34
37
|
values: values
|
|
35
38
|
})));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { lazy, useCallback } from 'react';
|
|
3
3
|
import { FormattedMessage } from 'react-intl-next';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { useAnalyticsEvents } from '../../../../../common/analytics/generated/use-analytics-events';
|
|
6
5
|
import { messages } from '../../../../../messages';
|
|
7
6
|
import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
|
|
@@ -33,7 +32,7 @@ const ViewRelatedLinksAction = ({
|
|
|
33
32
|
onClickCallback === null || onClickCallback === void 0 ? void 0 : onClickCallback();
|
|
34
33
|
}, [actionData === null || actionData === void 0 ? void 0 : actionData.ari, fireEvent, modal, onClickCallback]);
|
|
35
34
|
return actionData ? /*#__PURE__*/React.createElement(Action, _extends({
|
|
36
|
-
content: /*#__PURE__*/React.createElement(FormattedMessage,
|
|
35
|
+
content: /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_view_related_links),
|
|
37
36
|
icon: /*#__PURE__*/React.createElement(RelatedLinksActionIcon, null),
|
|
38
37
|
onClick: onClick,
|
|
39
38
|
testId: "smart-action-view-related-links-action",
|
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import "./index.compiled.css";
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { ax, ix } from "@compiled/react/runtime";
|
|
1
|
+
import React from 'react';
|
|
5
2
|
import ClockIcon from '@atlaskit/icon/core/clock';
|
|
6
|
-
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
-
const rotateSvg = null;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* ChildIssuesIcon but 180 degrees rotated
|
|
12
|
-
*/
|
|
13
|
-
const RelatedLinksActionIcon = () => fg('platform-linking-visual-refresh-v2') ? /*#__PURE__*/React.createElement(ClockIcon, {
|
|
3
|
+
const RelatedLinksActionIcon = () => /*#__PURE__*/React.createElement(ClockIcon, {
|
|
14
4
|
color: "currentColor",
|
|
15
5
|
spacing: "spacious",
|
|
16
6
|
label: "View related links..."
|
|
17
|
-
})
|
|
18
|
-
className: ax(["_t9ec1sub _1e0c1o8l"])
|
|
19
|
-
}, /*#__PURE__*/React.createElement(ChildIssuesIcon, {
|
|
20
|
-
color: "currentColor",
|
|
21
|
-
spacing: "spacious",
|
|
22
|
-
label: "View recent links..."
|
|
23
|
-
}));
|
|
7
|
+
});
|
|
24
8
|
export default RelatedLinksActionIcon;
|
|
@@ -5,7 +5,6 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useCallback, useMemo } from 'react';
|
|
7
7
|
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { SmartLinkAlignment, SmartLinkDirection, SmartLinkSize, SmartLinkWidth } from '../../../../../../constants';
|
|
10
9
|
import { useFlexibleUiContext } from '../../../../../../state/flexible-ui-context';
|
|
11
10
|
import { Provider } from '../../../elements';
|
|
@@ -28,11 +27,11 @@ const FooterBlockResolvedView = props => {
|
|
|
28
27
|
var _filterActionItems;
|
|
29
28
|
return ((_filterActionItems = filterActionItems(actions, context)) === null || _filterActionItems === void 0 ? void 0 : _filterActionItems.length) > 0;
|
|
30
29
|
}, [actions, context]);
|
|
30
|
+
|
|
31
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
31
32
|
const {
|
|
32
33
|
safari = false
|
|
33
|
-
} =
|
|
34
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
35
|
-
useMemo(() => browser(), []) : {};
|
|
34
|
+
} = useMemo(() => browser(), []);
|
|
36
35
|
const onDropdownOpenChange = useCallback(isOpen => {
|
|
37
36
|
if (onActionMenuOpenChange) {
|
|
38
37
|
onActionMenuOpenChange({
|
|
@@ -39,7 +39,7 @@ const ImageIcon = ({
|
|
|
39
39
|
height
|
|
40
40
|
},
|
|
41
41
|
onError: () => setHasImageErrored(true),
|
|
42
|
-
className: ax([appearance === 'round' &&
|
|
42
|
+
className: ax([appearance === 'round' && styles.roundImg])
|
|
43
43
|
});
|
|
44
44
|
} else {
|
|
45
45
|
return /*#__PURE__*/React.createElement(ImageLoader, {
|
|
@@ -57,7 +57,7 @@ const ImageIcon = ({
|
|
|
57
57
|
width,
|
|
58
58
|
height
|
|
59
59
|
},
|
|
60
|
-
className: ax([appearance === 'round' &&
|
|
60
|
+
className: ax([appearance === 'round' && styles.roundImg])
|
|
61
61
|
}),
|
|
62
62
|
errored: defaultIcon,
|
|
63
63
|
onError: onError,
|