@atlaskit/smart-card 36.2.5 → 36.2.7
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/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/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +3 -2
- 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 +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.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 +30 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -1
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +7 -1
- package/dist/cjs/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.js +8 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +4 -2
- package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.compiled.css +13 -1
- package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.js +14 -4
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.compiled.css +2 -1
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +20 -6
- package/dist/cjs/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.js +18 -0
- package/dist/cjs/view/RelatedLinksModal/views/resolved/index.js +17 -4
- package/dist/cjs/view/RelatedLinksModal/views/unavailable/index.js +12 -1
- package/dist/cjs/view/common/render-svg.compiled.css +3 -0
- package/dist/cjs/view/common/render-svg.js +32 -0
- 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/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +3 -2
- 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 +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.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 +30 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -1
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +7 -1
- package/dist/es2019/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.js +8 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +4 -2
- package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.compiled.css +13 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.js +11 -4
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.compiled.css +2 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +17 -6
- package/dist/es2019/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.js +11 -0
- package/dist/es2019/view/RelatedLinksModal/views/resolved/index.js +13 -4
- package/dist/es2019/view/RelatedLinksModal/views/unavailable/index.js +10 -1
- package/dist/es2019/view/common/render-svg.compiled.css +3 -0
- package/dist/es2019/view/common/render-svg.js +23 -0
- 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/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +3 -2
- 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 +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.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 +30 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -1
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +7 -1
- package/dist/esm/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.js +8 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +4 -2
- package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.compiled.css +13 -1
- package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.js +14 -4
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.compiled.css +2 -1
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +20 -6
- package/dist/esm/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.js +11 -0
- package/dist/esm/view/RelatedLinksModal/views/resolved/index.js +17 -4
- package/dist/esm/view/RelatedLinksModal/views/unavailable/index.js +12 -1
- package/dist/esm/view/common/render-svg.compiled.css +3 -0
- package/dist/esm/view/common/render-svg.js +22 -0
- 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/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/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.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/RelatedLinksModal/components/related-link-item/index.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/components/related-links-list/index.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/components/types.d.ts +4 -0
- package/dist/types/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.d.ts +3 -0
- package/dist/types/view/common/render-svg.d.ts +16 -0
- 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/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/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/tr.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/RelatedLinksModal/components/related-link-item/index.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/related-links-list/index.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/types.d.ts +4 -0
- package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.d.ts +3 -0
- package/dist/types-ts4.5/view/common/render-svg.d.ts +16 -0
- package/package.json +15 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 36.2.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 36.2.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#137717](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/137717)
|
|
14
|
+
[`0730ec7855b00`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0730ec7855b00) -
|
|
15
|
+
While showing link mismatch warning Ignore query/path differences between URLs inside href and
|
|
16
|
+
text of a link if both have same origin as current document url
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 36.2.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/i18n/cs.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Aktualizováno: {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Aktualizováno: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Další akce',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Další informace o tomto požadavku',
|
|
107
108
|
'fabric.linking.no_access_title': 'Chcete-li si zobrazit tento obsah, připojte se k produktu {product}',
|
|
108
109
|
'fabric.linking.not_found_description': 'Stránka neexistuje nebo se po přidání tohoto odkazu mohla změnit.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Tuto stránku {product} vám nemůžeme zobrazit',
|
package/dist/cjs/i18n/da.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Opdateret {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Opdateret: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Flere handlinger',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Flere oplysninger om denne sag',
|
|
107
108
|
'fabric.linking.no_access_title': 'Deltag i {product} for at se dette indhold',
|
|
108
109
|
'fabric.linking.not_found_description': 'Siden findes ikke, eller den kan være ændret, efter at linket blev tilføjet.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Vi kan ikke vise dig denne {product}-side',
|
package/dist/cjs/i18n/de.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Aktualisiert am: {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Aktualisiert: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Weitere Aktionen',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Weitere Informationen zu diesem Vorgang',
|
|
107
108
|
'fabric.linking.no_access_title': 'Treten Sie {product} bei, um diesen Inhalt anzuzeigen',
|
|
108
109
|
'fabric.linking.not_found_description': 'Die Seite existiert nicht oder sie hat sich möglicherweise geändert, nachdem dieser Link hinzugefügt wurde.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Diese {product}-Seite kann nicht angezeigt werden',
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Updated on {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Updated {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'More actions',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'More information about this work item',
|
|
107
108
|
'fabric.linking.no_access_title': 'Join {product} to view this content',
|
|
108
109
|
'fabric.linking.not_found_description': "The page doesn't exist or it may have changed after this link was added.",
|
|
109
110
|
'fabric.linking.not_found_title': "We can't show you this {product} page",
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Updated on {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Updated {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'More actions',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'More information about this work item',
|
|
107
108
|
'fabric.linking.no_access_title': 'Join {product} to view this content',
|
|
108
109
|
'fabric.linking.not_found_description': "The page doesn't exist or it may have changed after this link was added.",
|
|
109
110
|
'fabric.linking.not_found_title': "We can't show you this {product} page",
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Updated on {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Updated {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'More actions',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'More information about this work item',
|
|
107
108
|
'fabric.linking.no_access_title': 'Join {product} to view this content',
|
|
108
109
|
'fabric.linking.not_found_description': "The page doesn't exist or it may have changed after this link was added.",
|
|
109
110
|
'fabric.linking.not_found_title': "We can't show you this {product} page",
|
package/dist/cjs/i18n/es.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Fecha de actualización: {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Fecha de actualización: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Más acciones',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Más información sobre esta actividad',
|
|
107
108
|
'fabric.linking.no_access_title': 'Únete a {product} para ver este contenido',
|
|
108
109
|
'fabric.linking.not_found_description': 'La página no existe o puede haberse cambiado después de añadir este enlace.',
|
|
109
110
|
'fabric.linking.not_found_title': 'No podemos mostrarte esta página de {product}',
|
package/dist/cjs/i18n/fi.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Päivitetty {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Päivitetty {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Lisää toimintoja',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Lisätietoja tästä työtehtävästä',
|
|
107
108
|
'fabric.linking.no_access_title': 'Näytä tämä sisältö liittymällä {product}-palveluun',
|
|
108
109
|
'fabric.linking.not_found_description': 'Sivua ei ole olemassa, tai sitä on saatettu muuttaa tämän linkin lisäämisen jälkeen.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Tätä {product}-sivua ei voida näyttää',
|
package/dist/cjs/i18n/fr.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Mise à jour : {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Mise à jour : {context}',
|
|
106
106
|
'fabric.linking.more_actions': "Plus d'actions",
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'En savoir plus sur ce ticket',
|
|
107
108
|
'fabric.linking.no_access_title': 'Rejoignez {product} pour voir ce contenu',
|
|
108
109
|
'fabric.linking.not_found_description': "La page n'existe pas ou elle a peut-être changé après l'ajout de ce lien.",
|
|
109
110
|
'fabric.linking.not_found_title': "Impossible d'afficher cette page {product}",
|
package/dist/cjs/i18n/hu.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Frissítve ekkor: {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Frissítve: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'További műveletek',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'További információ erről az ügyről',
|
|
107
108
|
'fabric.linking.no_access_title': 'A tartalom megtekintéséhez csatlakozz: {product}',
|
|
108
109
|
'fabric.linking.not_found_description': 'Az oldal nem létezik, vagy módosították a link hozzáadása óta.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Nem tudjuk megjeleníteni ezt a(z) {product}-oldalt',
|
package/dist/cjs/i18n/it.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Aggiornato il {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Aggiornamento: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Altre azioni',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Ulteriori informazioni su questo ticket',
|
|
107
108
|
'fabric.linking.no_access_title': 'Unisciti a {product} per visualizzare questo contenuto',
|
|
108
109
|
'fabric.linking.not_found_description': "La pagina non esiste o potrebbe essere stata spostata dopo l'aggiunta di questo link.",
|
|
109
110
|
'fabric.linking.not_found_title': 'Non possiamo mostrarti questa pagina {product}',
|
package/dist/cjs/i18n/ja.js
CHANGED
|
@@ -96,7 +96,7 @@ var _default = exports.default = {
|
|
|
96
96
|
'fabric.linking.invalid_permissions': '制限付きコンテンツ',
|
|
97
97
|
'fabric.linking.invalid_permissions_description': 'このプレビューを表示するには、アクセスをリクエストするか別のアカウントで試してください。',
|
|
98
98
|
'fabric.linking.join_to_view': '{context}に参加してこの課題を見る',
|
|
99
|
-
'fabric.linking.join_to_view-issue-term-refresh': '{context}に参加してこの作業項目を見る',
|
|
99
|
+
'fabric.linking.join_to_view-issue-term-refresh': '{context} に参加してこの作業項目を見る',
|
|
100
100
|
'fabric.linking.learn_more_about_connecting_account': 'アカウントをアトラシアン製品に接続する方法をご確認ください。',
|
|
101
101
|
'fabric.linking.learn_more_about_smart_links': 'スマート リンクの詳細',
|
|
102
102
|
'fabric.linking.link_safety_warning_message': 'リンク {unsafeLinkText} をクリックすると別のサイトが開きます。<a>実際のリンク先</a>',
|
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': '更新日: {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': '更新日: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'その他のアクション',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'この作業項目に関する詳細情報',
|
|
107
108
|
'fabric.linking.no_access_title': '{product} に参加してこのコンテンツを閲覧する',
|
|
108
109
|
'fabric.linking.not_found_description': 'ページが存在しないか、このリンクの追加後に変更された可能性があります。',
|
|
109
110
|
'fabric.linking.not_found_title': 'この {product} のページは表示できません',
|
|
@@ -145,7 +146,7 @@ var _default = exports.default = {
|
|
|
145
146
|
'fabric.linking.request_access_pending_description': '{hostname} へのアクセス権のリクエストは管理者の承認待ちです。',
|
|
146
147
|
'fabric.linking.request_access_pending_title': '{product} へのアクセス権は保留中です',
|
|
147
148
|
'fabric.linking.request_access_to_view': 'この課題を表示するには、{context}へのアクセスをリクエストします。',
|
|
148
|
-
'fabric.linking.request_access_to_view-issue-term-refresh': 'この作業項目を表示するには、{context}へのアクセスをリクエストします。',
|
|
149
|
+
'fabric.linking.request_access_to_view-issue-term-refresh': 'この作業項目を表示するには、{context} へのアクセスをリクエストします。',
|
|
149
150
|
'fabric.linking.request_denied': 'アクセス リクエストが拒否されました。',
|
|
150
151
|
'fabric.linking.request_denied_description': '{hostname} の {product} ページを閲覧するリクエストが管理者によって承認されませんでした。',
|
|
151
152
|
'fabric.linking.restricted_link': '制限されているリンクです、別のアカウントをお試しください。',
|
package/dist/cjs/i18n/ko.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': '{context}에 업데이트',
|
|
105
105
|
'fabric.linking.modified_on_relative': '{context}에 업데이트',
|
|
106
106
|
'fabric.linking.more_actions': '추가 작업',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': '이 업무 항목에 대한 추가 정보',
|
|
107
108
|
'fabric.linking.no_access_title': '{product}에 참여하여 이 콘텐츠 보기',
|
|
108
109
|
'fabric.linking.not_found_description': '페이지가 존재하지 않거나 이 링크를 추가한 후 변경되었을 수 있습니다.',
|
|
109
110
|
'fabric.linking.not_found_title': '{product} 페이지를 표시할 수 없습니다',
|
package/dist/cjs/i18n/nb.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Oppdatert {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Oppdatert {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Flere handlinger',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Mer informasjon om denne arbeidsoppgaven',
|
|
107
108
|
'fabric.linking.no_access_title': 'Bli med i {product} for å se dette innholdet',
|
|
108
109
|
'fabric.linking.not_found_description': 'Siden finnes ikke, eller den kan ha blitt endret siden denne koblingen ble lagt til.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Vi kan ikke vise deg denne {product}-siden',
|
package/dist/cjs/i18n/nl.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Bijgewerkt op {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Bijgewerkt: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Meer acties',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Meer informatie over dit werkitem',
|
|
107
108
|
'fabric.linking.no_access_title': 'Word lid van {product} om deze inhoud te bekijken',
|
|
108
109
|
'fabric.linking.not_found_description': 'Deze pagina bestaat niet of is mogelijk gewijzigd nadat deze link is toegevoegd.',
|
|
109
110
|
'fabric.linking.not_found_title': 'We kunnen deze {product}-pagina niet weergeven',
|
package/dist/cjs/i18n/pl.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Zaktualizowano {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Zaktualizowano {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Więcej czynności',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Więcej informacji o tym zgłoszeniu',
|
|
107
108
|
'fabric.linking.no_access_title': 'Dołącz do {product}, aby wyświetlić tę treść',
|
|
108
109
|
'fabric.linking.not_found_description': 'Strona nie istnieje lub mogła ulec zmianie po dodaniu tego łącza.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Nie można wyświetlić tej strony {product}',
|
package/dist/cjs/i18n/pt_BR.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Atualizado em {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Atualizado em {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Mais ações',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Mais informações sobre este ticket',
|
|
107
108
|
'fabric.linking.no_access_title': 'Entre no {product} para ver este conteúdo',
|
|
108
109
|
'fabric.linking.not_found_description': 'A página não existe ou pode ter sido alterada depois que esse link foi adicionado.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Não é possível exibir esta página {product}',
|
package/dist/cjs/i18n/ru.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Обновлено {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Обновлено: {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Другие действия',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Дополнительные сведения о задаче',
|
|
107
108
|
'fabric.linking.no_access_title': 'Присоединитесь к {product}, чтобы просмотреть контент',
|
|
108
109
|
'fabric.linking.not_found_description': 'Страница не существует или была изменена после добавления ссылки.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Невозможно показать эту страницу {product}',
|
package/dist/cjs/i18n/sv.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Uppdaterades {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Uppdaterades {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Fler åtgärder',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Mer information om arbetsuppgiften',
|
|
107
108
|
'fabric.linking.no_access_title': 'Anslut till {product} för att visa innehållet',
|
|
108
109
|
'fabric.linking.not_found_description': 'Sidan finns inte eller så har den ändrats efter att den här länken lades till.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Vi kan inte visa dig den här {product}-sidan.',
|
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'อัปเดตแล้วเมื่อ {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'อัปเดต {context} แล้ว',
|
|
106
106
|
'fabric.linking.more_actions': 'การดำเนินการเพิ่มเติม',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'ข้อมูลเพิ่มเติมเกี่ยวกับตั๋วนี้',
|
|
107
108
|
'fabric.linking.no_access_title': 'เข้าร่วม {product} เพื่อดูเนื้อหานี้',
|
|
108
109
|
'fabric.linking.not_found_description': 'หน้าข้อมูลนี้ไม่มีอยู่ หรืออาจมีการเปลี่ยนแปลงหลังจากมีการเพิ่มลิงก์นี้',
|
|
109
110
|
'fabric.linking.not_found_title': 'เราไม่สามารถแสดงหน้า {product} นี้ให้คุณดูได้',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': '{context} tarihinde güncellendi',
|
|
105
105
|
'fabric.linking.modified_on_relative': '{context} güncellendi',
|
|
106
106
|
'fabric.linking.more_actions': 'Daha fazla işlem',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Bu bilet hakkında daha fazla bilgi',
|
|
107
108
|
'fabric.linking.no_access_title': 'Bu içeriği görüntülemek için {product} ürününe katılın',
|
|
108
109
|
'fabric.linking.not_found_description': 'Bu sayfa mevcut değil veya bu bağlantı eklendikten sonra değişmiş olabilir.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Bu {product} sayfası gösterilemiyor',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Оновлено {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Оновлено {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Інші дії',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Докладніше про цей елемент завдання',
|
|
107
108
|
'fabric.linking.no_access_title': 'Приєднайтеся до {product}, щоб переглянути цей вміст',
|
|
108
109
|
'fabric.linking.not_found_description': 'Сторінка не існує або, можливо, змінилася після додавання цього посилання.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Не вдається відобразити цю сторінку {product}',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': 'Đã cập nhật trên {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': 'Đã cập nhật {context}',
|
|
106
106
|
'fabric.linking.more_actions': 'Hành động khác',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': 'Thông tin khác về hạng mục công việc này',
|
|
107
108
|
'fabric.linking.no_access_title': 'Tham gia {product} để xem nội dung này',
|
|
108
109
|
'fabric.linking.not_found_description': 'Trang này không tồn tại hoặc có thể đã thay đổi sau khi liên kết này được thêm vào.',
|
|
109
110
|
'fabric.linking.not_found_title': 'Chúng tôi không thể hiển thị cho bạn trang {product} này',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': '更新时间:{context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': '更新时间:{context}',
|
|
106
106
|
'fabric.linking.more_actions': '更多操作',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': '有关此工作项的更多信息',
|
|
107
108
|
'fabric.linking.no_access_title': '加入 {product} 即可查看此内容',
|
|
108
109
|
'fabric.linking.not_found_description': '该页面不存在或者在添加此链接后可能已发生更改。',
|
|
109
110
|
'fabric.linking.not_found_title': '无法显示此 {product} 页面',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -104,6 +104,7 @@ var _default = exports.default = {
|
|
|
104
104
|
'fabric.linking.modified_on_absolute': '更新於 {context}',
|
|
105
105
|
'fabric.linking.modified_on_relative': '更新時間:{context}',
|
|
106
106
|
'fabric.linking.more_actions': '更多動作',
|
|
107
|
+
'fabric.linking.more_information_about_this_work_item': '深入了解此工作項目',
|
|
107
108
|
'fabric.linking.no_access_title': '加入 {product} 以檢視此內容',
|
|
108
109
|
'fabric.linking.not_found_description': '該頁面不存在,或在新增此連結後可能已變更。',
|
|
109
110
|
'fabric.linking.not_found_title': '我們無法向您顯示此 {product} 頁面',
|
package/dist/cjs/messages.js
CHANGED
|
@@ -706,16 +706,31 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
706
706
|
defaultMessage: 'Recent links',
|
|
707
707
|
description: 'Shown as the title for the related links modal'
|
|
708
708
|
},
|
|
709
|
+
related_links_modal_title_v2: {
|
|
710
|
+
id: 'fabric.linking.related_links_modal_title_v2',
|
|
711
|
+
defaultMessage: 'Related links',
|
|
712
|
+
description: 'Shown as the title for the related links modal'
|
|
713
|
+
},
|
|
709
714
|
related_links_view_related_urls: {
|
|
710
715
|
id: 'fabric.linking.related_links_view_related_urls',
|
|
711
716
|
defaultMessage: 'View recent links',
|
|
712
717
|
description: 'Action to view related links to the given resource'
|
|
713
718
|
},
|
|
719
|
+
related_links_view_related_links: {
|
|
720
|
+
id: 'fabric.linking.related_links_view_related_links',
|
|
721
|
+
defaultMessage: 'View related links',
|
|
722
|
+
description: 'Action to view related links to the given resource'
|
|
723
|
+
},
|
|
714
724
|
related_links_found_in: {
|
|
715
725
|
id: 'fabric.linking.related_links_found_in',
|
|
716
726
|
defaultMessage: 'Found In',
|
|
717
727
|
description: 'Informs the user of the resources are found in the given url'
|
|
718
728
|
},
|
|
729
|
+
related_links_found_in_v2: {
|
|
730
|
+
id: 'fabric.linking.related_links_found_in_v2',
|
|
731
|
+
defaultMessage: 'Found in',
|
|
732
|
+
description: 'Informs the user of the resources are found in the given url'
|
|
733
|
+
},
|
|
719
734
|
related_links_not_found: {
|
|
720
735
|
id: 'fabric.linking.related_links_not_found',
|
|
721
736
|
defaultMessage: "We didn't find any links to show here.",
|
|
@@ -726,16 +741,31 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
726
741
|
defaultMessage: 'Includes Links To',
|
|
727
742
|
description: 'Informs the user of the resources the url links to'
|
|
728
743
|
},
|
|
744
|
+
related_links_includes_links_to_v2: {
|
|
745
|
+
id: 'fabric.linking.related_links_includes_links_to_v2',
|
|
746
|
+
defaultMessage: 'Includes links to',
|
|
747
|
+
description: 'Informs the user of the resources the url links to'
|
|
748
|
+
},
|
|
729
749
|
related_links_modal_error_header: {
|
|
730
750
|
id: 'fabric.linking.related_links_modal_error_header',
|
|
731
751
|
defaultMessage: 'Something went wrong',
|
|
732
752
|
description: 'Title for related links error'
|
|
733
753
|
},
|
|
754
|
+
related_links_modal_unavailable_title: {
|
|
755
|
+
id: 'fabric.linking.related_links_modal_unavailable_title',
|
|
756
|
+
defaultMessage: "We couldn't find any related links",
|
|
757
|
+
description: 'Title for related links error'
|
|
758
|
+
},
|
|
734
759
|
related_links_modal_error_message: {
|
|
735
760
|
id: 'fabric.linking.related_links_modal_error_message',
|
|
736
761
|
defaultMessage: 'We ran into an issue trying to load recent links. Check your connection or refresh to try again.',
|
|
737
762
|
description: 'Informs the user that there was a problem loading related links'
|
|
738
763
|
},
|
|
764
|
+
related_links_modal_unavailable_description: {
|
|
765
|
+
id: 'fabric.linking.related_links_modal_unavailable_description',
|
|
766
|
+
defaultMessage: 'We continuously review and add related links for updated pages or other content types',
|
|
767
|
+
description: 'Informs the user that there was a problem loading related links'
|
|
768
|
+
},
|
|
739
769
|
related_links_modal_unavailable_header: {
|
|
740
770
|
id: 'fabric.linking.related_links_modal_unavailable_header',
|
|
741
771
|
defaultMessage: 'No recent links',
|
|
@@ -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: "36.2.
|
|
14
|
+
packageVersion: "36.2.7"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -10,6 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _reactIntlNext = require("react-intl-next");
|
|
13
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
14
|
var _useAnalyticsEvents2 = require("../../../../../common/analytics/generated/use-analytics-events");
|
|
14
15
|
var _messages = require("../../../../../messages");
|
|
15
16
|
var _flexibleUiContext = require("../../../../../state/flexible-ui-context");
|
|
@@ -48,7 +49,7 @@ var ViewRelatedLinksAction = function ViewRelatedLinksAction(_ref) {
|
|
|
48
49
|
onClickCallback === null || onClickCallback === void 0 || onClickCallback();
|
|
49
50
|
}, [actionData === null || actionData === void 0 ? void 0 : actionData.ari, fireEvent, modal, onClickCallback]);
|
|
50
51
|
return actionData ? /*#__PURE__*/_react.default.createElement(_action.default, (0, _extends2.default)({
|
|
51
|
-
content: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.related_links_view_related_urls),
|
|
52
|
+
content: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? _messages.messages.related_links_view_related_links : _messages.messages.related_links_view_related_urls),
|
|
52
53
|
icon: /*#__PURE__*/_react.default.createElement(_relatedLinksActionIcon.default, null),
|
|
53
54
|
onClick: onClick,
|
|
54
55
|
testId: "smart-action-view-related-links-action",
|
|
@@ -10,7 +10,9 @@ exports.default = void 0;
|
|
|
10
10
|
require("./index.compiled.css");
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _clock = _interopRequireDefault(require("@atlaskit/icon/core/clock"));
|
|
13
14
|
var _childIssues = _interopRequireDefault(require("@atlaskit/icon/core/migration/child-issues"));
|
|
15
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
18
|
var rotateSvg = null;
|
|
@@ -19,7 +21,11 @@ var rotateSvg = null;
|
|
|
19
21
|
* ChildIssuesIcon but 180 degrees rotated
|
|
20
22
|
*/
|
|
21
23
|
var RelatedLinksActionIcon = function RelatedLinksActionIcon() {
|
|
22
|
-
return /*#__PURE__*/React.createElement(
|
|
24
|
+
return (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? /*#__PURE__*/React.createElement(_clock.default, {
|
|
25
|
+
color: "currentColor",
|
|
26
|
+
spacing: "spacious",
|
|
27
|
+
label: "View related links..."
|
|
28
|
+
}) : /*#__PURE__*/React.createElement("span", {
|
|
23
29
|
className: (0, _runtime.ax)(["_t9ec1sub _1e0c1o8l"])
|
|
24
30
|
}, /*#__PURE__*/React.createElement(_childIssues.default, {
|
|
25
31
|
color: "currentColor",
|
|
@@ -9,6 +9,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
11
11
|
var _url = require("@atlaskit/linking-common/url");
|
|
12
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
13
|
var _analytics = require("../../../../utils/analytics");
|
|
13
14
|
var toUrl = function toUrl(url, base) {
|
|
14
15
|
try {
|
|
@@ -79,6 +80,13 @@ var useLinkWarningModal = exports.useLinkWarningModal = function useLinkWarningM
|
|
|
79
80
|
if (!hrefUrl || !linkTextUrl) {
|
|
80
81
|
return true;
|
|
81
82
|
}
|
|
83
|
+
if ((0, _platformFeatureFlags.fg)('do-not-show-link-mismatch-warning-for-same-origin')) {
|
|
84
|
+
var currentAtlassianProductOrigin = window.location.origin;
|
|
85
|
+
var isSafeToIgnoreNonOriginDifferences = (hrefUrl === null || hrefUrl === void 0 ? void 0 : hrefUrl.origin) === currentAtlassianProductOrigin && (linkTextUrl === null || linkTextUrl === void 0 ? void 0 : linkTextUrl.origin) === currentAtlassianProductOrigin;
|
|
86
|
+
if (isSafeToIgnoreNonOriginDifferences) {
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
82
90
|
var httpProtocols = ['http:', 'https:'];
|
|
83
91
|
var areProtocolsEquivalent;
|
|
84
92
|
if (httpProtocols.includes(linkTextUrl.protocol) && httpProtocols.includes(hrefUrl.protocol)) {
|
|
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
20
20
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
21
21
|
var PACKAGE_DATA = {
|
|
22
22
|
packageName: "@atlaskit/smart-card",
|
|
23
|
-
packageVersion: "36.2.
|
|
23
|
+
packageVersion: "36.2.7",
|
|
24
24
|
componentName: 'linkUrl'
|
|
25
25
|
};
|
|
26
26
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -14,6 +14,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _reactIntlNext = require("react-intl-next");
|
|
15
15
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
16
16
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
17
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
19
|
var _useAnalyticsEvents2 = require("../../../common/analytics/generated/use-analytics-events");
|
|
19
20
|
var _messages = require("../../../messages");
|
|
@@ -48,8 +49,9 @@ var RelatedLinksBaseModal = function RelatedLinksBaseModal(_ref) {
|
|
|
48
49
|
width: fixedWidth,
|
|
49
50
|
autoFocus: false,
|
|
50
51
|
shouldReturnFocus: false,
|
|
51
|
-
onOpenComplete: openCompleteHandler
|
|
52
|
-
|
|
52
|
+
onOpenComplete: openCompleteHandler,
|
|
53
|
+
height: (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? '504px' : undefined
|
|
54
|
+
}, /*#__PURE__*/React.createElement(_modalDialog.ModalHeader, null, /*#__PURE__*/React.createElement(_modalDialog.ModalTitle, null, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? _messages.messages.related_links_modal_title_v2 : _messages.messages.related_links_modal_title))), /*#__PURE__*/React.createElement(_modalDialog.ModalBody, null, (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? children : /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
53
55
|
xcss: styles.box
|
|
54
56
|
}, children)), /*#__PURE__*/React.createElement(_modalDialog.ModalFooter, null, /*#__PURE__*/React.createElement(_new.default, {
|
|
55
57
|
appearance: "primary",
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._zulputpp{gap:var(--ds-space-150,9pt)}
|
|
4
|
+
._18zrpxbi{padding-inline:var(--ds-space-200,1pc)}
|
|
5
|
+
._195gmgjw{margin-inline:var(--ds-space-negative-200,-1pc)}
|
|
6
|
+
._1kl71vrj{border-left:2px solid transparent}
|
|
7
|
+
._1kl7nmxp{border-left:var(--_nu2mv8)}
|
|
8
|
+
._bfhkfg4m{background-color:var(--ds-background-selected,#e9f2ff)}
|
|
4
9
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
5
10
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
6
11
|
._8vu4iti9:hover{border-radius:var(--ds-border-radius-100,4px)}._10swu2gc:hover{padding-inline:var(--ds-space-100,8px)}
|
|
7
12
|
._1mxox0bf:hover{margin-inline:var(--ds-space-negative-100,-8px)}
|
|
8
|
-
.
|
|
13
|
+
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
14
|
+
._irr31d5g:hover{background-color:var(--ds-background-input-hovered,#f7f8f9)}
|
|
15
|
+
._irr3i1yw:hover{background-color:var(--ds-background-selected-hovered,#cce0ff)}
|
|
16
|
+
._1di619ru:active{background-color:var(--ds-background-selected-pressed,#85b8ff)}
|
|
17
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
18
|
+
._1ohyglyw:active{outline-style:none}
|
|
19
|
+
._1q5t1r31:active{outline-color:currentColor}
|
|
20
|
+
._1r9x1o36:active{outline-width:medium}
|
|
@@ -9,15 +9,21 @@ exports.default = void 0;
|
|
|
9
9
|
require("./index.compiled.css");
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
13
|
var _constants = require("../../../../constants");
|
|
13
14
|
var _index = require("../../../../index");
|
|
14
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
|
+
var hoverStyleOld = null;
|
|
16
18
|
var hoverStyle = null;
|
|
19
|
+
var baseStyle = null;
|
|
20
|
+
var selectedStyle = null;
|
|
17
21
|
var relatedLinkItemStyles = null;
|
|
18
22
|
var RelatedLinkItem = function RelatedLinkItem(_ref) {
|
|
19
23
|
var url = _ref.url,
|
|
20
|
-
testId = _ref.testId
|
|
24
|
+
testId = _ref.testId,
|
|
25
|
+
isSelected = _ref.isSelected,
|
|
26
|
+
onFocus = _ref.onFocus;
|
|
21
27
|
var subtitle = [{
|
|
22
28
|
name: _index.ElementName.Provider,
|
|
23
29
|
hideIcon: true
|
|
@@ -28,11 +34,15 @@ var RelatedLinkItem = function RelatedLinkItem(_ref) {
|
|
|
28
34
|
hideBackground: true,
|
|
29
35
|
theme: _index.SmartLinkTheme.Black,
|
|
30
36
|
clickableContainer: true,
|
|
31
|
-
size: _index.SmartLinkSize.Large
|
|
37
|
+
size: (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? _index.SmartLinkSize.Medium : _index.SmartLinkSize.Large
|
|
32
38
|
};
|
|
33
39
|
return /*#__PURE__*/React.createElement("div", {
|
|
34
40
|
"data-testId": testId,
|
|
35
|
-
|
|
41
|
+
onFocus: onFocus,
|
|
42
|
+
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') && "_195gmgjw _18zrpxbi _1kl71vrj", (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? "_irr3166n _1di61dty" : "_8vu4iti9 _1mxox0bf _10swu2gc _irr31d5g", isSelected && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') && "_1kl7nmxp _bfhkfg4m _irr3i1yw _1q5t1r31 _1ohyglyw _1r9x1o36 _1di619ru"]),
|
|
43
|
+
style: {
|
|
44
|
+
"--_nu2mv8": (0, _runtime.ix)("2px solid ".concat("var(--ds-border-selected, #0C66E4)"))
|
|
45
|
+
}
|
|
36
46
|
}, /*#__PURE__*/React.createElement(_index.Card, {
|
|
37
47
|
appearance: "block",
|
|
38
48
|
ui: ui,
|
|
@@ -40,7 +50,7 @@ var RelatedLinkItem = function RelatedLinkItem(_ref) {
|
|
|
40
50
|
}, /*#__PURE__*/React.createElement(_index.TitleBlock, {
|
|
41
51
|
maxLines: 1,
|
|
42
52
|
hideTitleTooltip: true,
|
|
43
|
-
position: _index.SmartLinkPosition.Center,
|
|
53
|
+
position: (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? _index.SmartLinkPosition.Top : _index.SmartLinkPosition.Center,
|
|
44
54
|
subtitle: subtitle,
|
|
45
55
|
anchorTarget: "_blank",
|
|
46
56
|
size: ui.size,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._1rjcu2gc{padding-block:var(--ds-space-100,8px)}
|
|
4
|
-
._1q511b66{padding-block-start:var(--ds-space-050,4px)}
|
|
4
|
+
._1q511b66{padding-block-start:var(--ds-space-050,4px)}
|
|
5
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
@@ -11,29 +11,43 @@ require("./index.compiled.css");
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
15
16
|
var _messages = require("../../../../messages");
|
|
16
17
|
var _relatedLinkItem = _interopRequireDefault(require("../related-link-item"));
|
|
17
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
19
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
20
|
var styles = {
|
|
20
|
-
|
|
21
|
+
sectionTitleOld: "_11c81vhk _1q511b66",
|
|
22
|
+
sectionTitle: "_11c81vhk _syaz1gjq _1q511b66",
|
|
21
23
|
boxStyle: "_11c81o8v _1rjcu2gc"
|
|
22
24
|
};
|
|
23
25
|
var RelatedLinksList = function RelatedLinksList(_ref) {
|
|
24
26
|
var urls = _ref.urls,
|
|
25
27
|
title = _ref.title,
|
|
26
|
-
testId = _ref.testId
|
|
28
|
+
testId = _ref.testId,
|
|
29
|
+
selected = _ref.selected,
|
|
30
|
+
handleSelectedUpdate = _ref.handleSelectedUpdate;
|
|
31
|
+
var TitleWrapper = function TitleWrapper(_ref2) {
|
|
32
|
+
var children = _ref2.children;
|
|
33
|
+
return (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ? /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
34
|
+
xcss: styles.sectionTitle
|
|
35
|
+
}, children) : /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
36
|
+
xcss: styles.sectionTitleOld
|
|
37
|
+
}, children);
|
|
38
|
+
};
|
|
27
39
|
return /*#__PURE__*/React.createElement(_compiled.Stack, {
|
|
28
40
|
testId: testId
|
|
29
|
-
}, /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
30
|
-
xcss: styles.sectionTitle
|
|
31
|
-
}, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, title)), urls.length > 0 && /*#__PURE__*/React.createElement(_compiled.Box, null, urls.map(function (url, idx) {
|
|
41
|
+
}, /*#__PURE__*/React.createElement(TitleWrapper, null, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, title)), urls.length > 0 && /*#__PURE__*/React.createElement(_compiled.Box, null, urls.map(function (url, idx) {
|
|
32
42
|
return /*#__PURE__*/React.createElement(_compiled.Stack, {
|
|
33
43
|
key: "".concat(idx, "-").concat(url)
|
|
34
44
|
}, /*#__PURE__*/React.createElement(_relatedLinkItem.default, {
|
|
35
45
|
url: url,
|
|
36
|
-
testId: "".concat(testId, "-item-").concat(idx)
|
|
46
|
+
testId: "".concat(testId, "-item-").concat(idx),
|
|
47
|
+
isSelected: selected === "".concat(idx, "-").concat(url),
|
|
48
|
+
onFocus: function onFocus() {
|
|
49
|
+
return handleSelectedUpdate && handleSelectedUpdate("".concat(idx, "-").concat(url));
|
|
50
|
+
}
|
|
37
51
|
}));
|
|
38
52
|
})), urls.length === 0 && /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
39
53
|
xcss: styles.boxStyle
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.SpotSearchNoResult = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _renderSvg = require("../../../../../common/render-svg");
|
|
11
|
+
var _dark = _interopRequireDefault(require("./assets/dark.svg"));
|
|
12
|
+
var _light = _interopRequireDefault(require("./assets/light.svg"));
|
|
13
|
+
var SpotSearchNoResult = exports.SpotSearchNoResult = function SpotSearchNoResult(props) {
|
|
14
|
+
return /*#__PURE__*/_react.default.createElement(_renderSvg.RenderSVG, (0, _extends2.default)({
|
|
15
|
+
src: _light.default,
|
|
16
|
+
srcDark: _dark.default
|
|
17
|
+
}, props));
|
|
18
|
+
};
|