@atlaskit/smart-card 25.9.2 → 25.9.4
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 +12 -0
- package/dist/cjs/constants.js +70 -70
- package/dist/cjs/extractors/index.js +1 -1
- package/dist/cjs/i18n/cs.js +2 -1
- package/dist/cjs/i18n/da.js +2 -1
- package/dist/cjs/i18n/de.js +2 -1
- package/dist/cjs/i18n/en.js +5 -0
- package/dist/cjs/i18n/en_GB.js +5 -0
- package/dist/cjs/i18n/es.js +2 -1
- package/dist/cjs/i18n/fr.js +2 -1
- package/dist/cjs/i18n/hu.js +2 -1
- package/dist/cjs/i18n/it.js +2 -1
- package/dist/cjs/i18n/ja.js +1 -0
- package/dist/cjs/i18n/ko.js +2 -1
- package/dist/cjs/i18n/nb.js +2 -1
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +2 -1
- package/dist/cjs/i18n/pt_BR.js +2 -1
- package/dist/cjs/i18n/ru.js +2 -1
- package/dist/cjs/i18n/sv.js +2 -1
- package/dist/cjs/i18n/th.js +2 -1
- package/dist/cjs/i18n/tr.js +2 -1
- package/dist/cjs/i18n/uk.js +2 -1
- package/dist/cjs/i18n/vi.js +2 -1
- package/dist/cjs/i18n/zh.js +2 -1
- package/dist/cjs/i18n/zh_TW.js +2 -1
- package/dist/cjs/state/actions/index.js +68 -72
- package/dist/cjs/state/hooks/use-invoke/index.js +13 -16
- package/dist/cjs/state/hooks/use-resolve/index.js +29 -32
- package/dist/cjs/state/hooks/usePrefetch.js +58 -61
- package/dist/cjs/utils/index.js +28 -30
- package/dist/cjs/utils/mocks.js +34 -41
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/BlockCard/actions/DownloadAction.js +16 -19
- package/dist/cjs/view/BlockCard/actions/PreviewAction.js +31 -33
- package/dist/cjs/view/BlockCard/actions/RetryAction.js +9 -12
- package/dist/cjs/view/BlockCard/actions/ViewAction.js +16 -19
- package/dist/cjs/view/CardWithData/loader.js +1 -1
- package/dist/cjs/view/CardWithUrl/loader.js +1 -1
- package/dist/cjs/view/EmbedModal/types.js +4 -4
- package/dist/cjs/view/EmbedModal/utils.js +33 -35
- package/dist/cjs/view/FlexibleCard/components/actions/action/download-action/index.js +33 -36
- package/dist/cjs/view/FlexibleCard/components/actions/action/view-action/index.js +16 -19
- package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +60 -60
- package/dist/cjs/view/FlexibleCard/components/common/lozenge-action/index.js +114 -99
- package/dist/cjs/view/FlexibleCard/components/common/lozenge-action/lozenge-action-item/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/common/lozenge-action/styled.js +1 -1
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +14 -14
- package/dist/es2019/constants.js +63 -63
- package/dist/es2019/i18n/cs.js +2 -1
- package/dist/es2019/i18n/da.js +2 -1
- package/dist/es2019/i18n/de.js +2 -1
- package/dist/es2019/i18n/en.js +5 -0
- package/dist/es2019/i18n/en_GB.js +5 -0
- package/dist/es2019/i18n/es.js +2 -1
- package/dist/es2019/i18n/fr.js +2 -1
- package/dist/es2019/i18n/hu.js +2 -1
- package/dist/es2019/i18n/it.js +2 -1
- package/dist/es2019/i18n/ja.js +1 -0
- package/dist/es2019/i18n/ko.js +2 -1
- package/dist/es2019/i18n/nb.js +2 -1
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +2 -1
- package/dist/es2019/i18n/pt_BR.js +2 -1
- package/dist/es2019/i18n/ru.js +2 -1
- package/dist/es2019/i18n/sv.js +2 -1
- package/dist/es2019/i18n/th.js +2 -1
- package/dist/es2019/i18n/tr.js +2 -1
- package/dist/es2019/i18n/uk.js +2 -1
- package/dist/es2019/i18n/vi.js +2 -1
- package/dist/es2019/i18n/zh.js +2 -1
- package/dist/es2019/i18n/zh_TW.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/EmbedModal/types.js +3 -3
- package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/index.js +19 -5
- package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/lozenge-action-item/index.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/styled.js +3 -0
- package/dist/esm/constants.js +63 -63
- package/dist/esm/extractors/index.js +1 -1
- package/dist/esm/i18n/cs.js +2 -1
- package/dist/esm/i18n/da.js +2 -1
- package/dist/esm/i18n/de.js +2 -1
- package/dist/esm/i18n/en.js +5 -0
- package/dist/esm/i18n/en_GB.js +5 -0
- package/dist/esm/i18n/es.js +2 -1
- package/dist/esm/i18n/fr.js +2 -1
- package/dist/esm/i18n/hu.js +2 -1
- package/dist/esm/i18n/it.js +2 -1
- package/dist/esm/i18n/ja.js +1 -0
- package/dist/esm/i18n/ko.js +2 -1
- package/dist/esm/i18n/nb.js +2 -1
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +2 -1
- package/dist/esm/i18n/pt_BR.js +2 -1
- package/dist/esm/i18n/ru.js +2 -1
- package/dist/esm/i18n/sv.js +2 -1
- package/dist/esm/i18n/th.js +2 -1
- package/dist/esm/i18n/tr.js +2 -1
- package/dist/esm/i18n/uk.js +2 -1
- package/dist/esm/i18n/vi.js +2 -1
- package/dist/esm/i18n/zh.js +2 -1
- package/dist/esm/i18n/zh_TW.js +2 -1
- package/dist/esm/state/actions/index.js +68 -73
- package/dist/esm/state/hooks/use-invoke/index.js +13 -16
- package/dist/esm/state/hooks/use-resolve/index.js +29 -32
- package/dist/esm/state/hooks/usePrefetch.js +58 -61
- package/dist/esm/utils/index.js +28 -31
- package/dist/esm/utils/mocks.js +34 -41
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/BlockCard/actions/DownloadAction.js +16 -19
- package/dist/esm/view/BlockCard/actions/PreviewAction.js +29 -32
- package/dist/esm/view/BlockCard/actions/RetryAction.js +9 -12
- package/dist/esm/view/BlockCard/actions/ViewAction.js +16 -19
- package/dist/esm/view/EmbedModal/types.js +3 -3
- package/dist/esm/view/EmbedModal/utils.js +31 -34
- package/dist/esm/view/FlexibleCard/components/actions/action/download-action/index.js +33 -36
- package/dist/esm/view/FlexibleCard/components/actions/action/view-action/index.js +16 -19
- package/dist/esm/view/FlexibleCard/components/common/lozenge-action/index.js +113 -101
- package/dist/esm/view/FlexibleCard/components/common/lozenge-action/lozenge-action-item/index.js +2 -2
- package/dist/esm/view/FlexibleCard/components/common/lozenge-action/styled.js +1 -1
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +12 -15
- 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 +5 -0
- package/dist/types/i18n/en_GB.d.ts +5 -0
- package/dist/types/i18n/es.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/view/Card/types.d.ts +0 -2
- package/dist/types/view/FlexibleCard/components/common/lozenge-action/lozenge-action-item/types.d.ts +3 -2
- package/package.json +1 -1
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Begrænset indhold',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Anmod om adgang, eller prøv med en anden konto for at se denne forhåndsvisning.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Deltag i {context} for at se denne sag',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Få mere at vide om
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Få mere at vide om intelligente links.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'Linket {unsafeLinkText} fører dig til et andet websted, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Indlæser ...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Opdateret {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Vi kunne ikke finde linket. Kontrollér og rediger URL-adressen, eller indsæt den igen.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Ups. Vi kan ikke finde dette link!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Åbn link i en ny fane',
|
|
51
|
+
'fabric.linking.owned_by': 'Ejet af {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Din anmodning om adgang afventer behandling',
|
|
52
53
|
'fabric.linking.preview': 'Fuldskærmsvisning',
|
|
53
54
|
'fabric.linking.preview_close': 'Luk forhåndsvisning',
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Inhalt mit Beschränkungen',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Bitte senden Sie eine Zugriffsanfrage oder versuchen Sie, die Vorschau über ein anderes Konto anzusehen.',
|
|
41
41
|
'fabric.linking.join_to_view': '{context} beitreten, um diesen Vorgang anzuzeigen',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Mehr über
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Mehr über intelligente Links erfahren',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'Über den Link {unsafeLinkText} gelangen Sie zu einer anderen Site, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Lädt ...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Aktualisiert am: {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Der Link konnte nicht gefunden werden. Überprüfen Sie die URL und versuchen Sie die Bearbeitung oder das Einfügen erneut.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Oh! Diese Verknüpfung konnte nicht gefunden werden!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Link in neuer Registerkarte öffnen',
|
|
51
|
+
'fabric.linking.owned_by': 'Besitzer: {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Ihre Zugriffsanfrage ist ausstehend.',
|
|
52
53
|
'fabric.linking.preview': 'Vollbildansicht',
|
|
53
54
|
'fabric.linking.preview_close': 'Vorschau beenden',
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -47,7 +47,9 @@ export default {
|
|
|
47
47
|
'fabric.linking.more_actions': 'More actions',
|
|
48
48
|
'fabric.linking.not_found_description': "We couldn't find the link. Check the url and try editing or paste again.",
|
|
49
49
|
'fabric.linking.not_found_title': "Uh oh. We can't find this link!",
|
|
50
|
+
'fabric.linking.open_issue_in_jira': 'Open issue in Jira',
|
|
50
51
|
'fabric.linking.open_link_in_a_new_tab': 'Open link in a new tab',
|
|
52
|
+
'fabric.linking.owned_by': 'Owned by {context}',
|
|
51
53
|
'fabric.linking.pending_request': 'Your access request is pending',
|
|
52
54
|
'fabric.linking.preview': 'Full screen view',
|
|
53
55
|
'fabric.linking.preview_close': 'Close preview',
|
|
@@ -76,6 +78,9 @@ export default {
|
|
|
76
78
|
'fabric.linking.save': 'Save',
|
|
77
79
|
'fabric.linking.srclink': 'View in',
|
|
78
80
|
'fabric.linking.srclinkunknown': 'View Original',
|
|
81
|
+
'fabric.linking.status_change_load_error': 'We couldn’t load the statuses and transitions',
|
|
82
|
+
'fabric.linking.status_change_permission_error': 'You don’t have permission to transition this issue.',
|
|
83
|
+
'fabric.linking.status_change_update_error': 'We couldn’t update the status',
|
|
79
84
|
'fabric.linking.try_again': 'Try again',
|
|
80
85
|
'fabric.linking.try_another_account': 'Try another account',
|
|
81
86
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
@@ -47,7 +47,9 @@ export default {
|
|
|
47
47
|
'fabric.linking.more_actions': 'More actions',
|
|
48
48
|
'fabric.linking.not_found_description': "We couldn't find the link. Check the url and try editing or paste again.",
|
|
49
49
|
'fabric.linking.not_found_title': "Uh oh. We can't find this link!",
|
|
50
|
+
'fabric.linking.open_issue_in_jira': 'Open issue in Jira',
|
|
50
51
|
'fabric.linking.open_link_in_a_new_tab': 'Open link in a new tab',
|
|
52
|
+
'fabric.linking.owned_by': 'Owned by {context}',
|
|
51
53
|
'fabric.linking.pending_request': 'Your access request is pending',
|
|
52
54
|
'fabric.linking.preview': 'Full screen view',
|
|
53
55
|
'fabric.linking.preview_close': 'Close preview',
|
|
@@ -76,6 +78,9 @@ export default {
|
|
|
76
78
|
'fabric.linking.save': 'Save',
|
|
77
79
|
'fabric.linking.srclink': 'View in',
|
|
78
80
|
'fabric.linking.srclinkunknown': 'View Original',
|
|
81
|
+
'fabric.linking.status_change_load_error': 'We couldn’t load the statuses and transitions',
|
|
82
|
+
'fabric.linking.status_change_permission_error': 'You don’t have permission to transition this issue.',
|
|
83
|
+
'fabric.linking.status_change_update_error': 'We couldn’t update the status',
|
|
79
84
|
'fabric.linking.try_again': 'Try again',
|
|
80
85
|
'fabric.linking.try_another_account': 'Try another account',
|
|
81
86
|
'fabric.linking.unlink_account': 'Unlink Account',
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Contenido restringido',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Deberás solicitar el acceso o probar con otra cuenta para obtener esta vista previa.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Únete a {context} para ver esta incidencia',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Más información sobre
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Más información sobre los enlaces inteligentes.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'El enlace {unsafeLinkText} te redirige a un sitio diferente, <a>actual link here</a>.',
|
|
44
44
|
'fabric.linking.loading': 'Cargando…',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Fecha de actualización: {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'No hemos encontrado el enlace. Comprueba la URL y prueba a editarla, o pégala de nuevo.',
|
|
49
49
|
'fabric.linking.not_found_title': '¡Vaya! No encontramos este enlace',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Abrir enlace en una nueva pestaña',
|
|
51
|
+
'fabric.linking.owned_by': 'Propiedad de {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Tu solicitud de acceso está pendiente',
|
|
52
53
|
'fabric.linking.preview': 'Vista de pantalla completa',
|
|
53
54
|
'fabric.linking.preview_close': 'Cerrar vista previa',
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Contenu restreint',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': "Vous devrez demander l'accès ou essayer un autre compte pour afficher cet aperçu.",
|
|
41
41
|
'fabric.linking.join_to_view': 'Rejoignez {context} pour consulter ce ticket',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'En savoir plus sur les
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'En savoir plus sur les liens intelligents.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'Le lien {unsafeLinkText} essaie de vous rediriger vers un autre site, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Chargement en cours…',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Mise à jour : {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': "Lien introuvable. Cliquez sur l'URL et essayez de la modifier, ou collez-la de nouveau.",
|
|
49
49
|
'fabric.linking.not_found_title': 'Oups, ce lien est introuvable !',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Ouvrir le lien dans un nouvel onglet',
|
|
51
|
+
'fabric.linking.owned_by': 'Propriétaire : {context}',
|
|
51
52
|
'fabric.linking.pending_request': "Votre demande d'accès est en attente",
|
|
52
53
|
'fabric.linking.preview': 'Affichage plein écran',
|
|
53
54
|
'fabric.linking.preview_close': "Fermer l'aperçu",
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Korlátozott tartalom',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Az előnézet megtekintéséhez hozzáférést kell kérned, vagy másik fiókba kell belépned.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Az ügy megtekintése érdekében csatlakozz ehhez: {context}',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'További információ
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'További információ az okoslinkekről.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'A(z) {unsafeLinkText} link egy másik webhelyre visz: <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Betöltés…',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Frissítve ekkor: {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Nem találtuk meg a linket. Ellenőrizd az URL-címet, és próbáld meg módosítani, vagy másold be újra.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Hoppá. Nem találjuk ezt a linket!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Link megnyitása új lapon',
|
|
51
|
+
'fabric.linking.owned_by': 'Tulajdonos: {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'A hozzáférési kérelmed függőben van',
|
|
52
53
|
'fabric.linking.preview': 'Teljes képernyős nézet',
|
|
53
54
|
'fabric.linking.preview_close': 'Előnézet bezárása',
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Contenuto soggetto a restrizioni',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': "Per visualizzare quest'anteprima devi richiedere l'accesso o provare con un altro account.",
|
|
41
41
|
'fabric.linking.join_to_view': 'Unisciti a {context} per visualizzare questo ticket',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Scopri di più
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Scopri di più sui Link intelligenti.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'Il link {unsafeLinkText} porta a un altro sito, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Caricamento in corso...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Aggiornato il {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': "Non è stato possibile trovare il link. Controlla l'URL e prova a modificarlo o a incollarlo di nuovo.",
|
|
49
49
|
'fabric.linking.not_found_title': 'Errore. Impossibile trovare questo link.',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Apri link in una nuova scheda',
|
|
51
|
+
'fabric.linking.owned_by': 'Di proprietà di {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'La tua richiesta di accesso è in sospeso',
|
|
52
53
|
'fabric.linking.preview': 'Visualizzazione a schermo intero',
|
|
53
54
|
'fabric.linking.preview_close': "Chiudi l'anteprima",
|
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'リンクが見つかりませんでした。URL を確認して編集するか、もう一度貼り付けてください。',
|
|
49
49
|
'fabric.linking.not_found_title': '申し訳ありません。リンクが見つかりません。',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'リンクを新しいタブで開く',
|
|
51
|
+
'fabric.linking.owned_by': '所有者: {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'アクセス リクエストは保留中です。',
|
|
52
53
|
'fabric.linking.preview': '全画面表示',
|
|
53
54
|
'fabric.linking.preview_close': 'プレビューを閉じる',
|
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': '제한된 콘텐츠',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': '이 미리 보기를 확인하려면 액세스를 요청하거나 다른 계정으로 시도해야 합니다.',
|
|
41
41
|
'fabric.linking.join_to_view': '{context}에 참여하여 이 이슈 보기',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': '
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': '스마트 링크에 대해 자세히 알아보세요.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': '{unsafeLinkText} 링크를 클릭하면 다음과 같은 다른 사이트로 이동합니다: <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': '로드 중...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': '{context}에 업데이트',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': '링크를 찾을 수 없습니다. URL을 확인하고 편집하거나 다시 붙여넣으세요.',
|
|
49
49
|
'fabric.linking.not_found_title': '죄송합니다. 이 링크를 찾을 수 없습니다.',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': '새 탭에서 링크 열기',
|
|
51
|
+
'fabric.linking.owned_by': '소유자: {context}',
|
|
51
52
|
'fabric.linking.pending_request': '액세스 요청이 보류 중입니다',
|
|
52
53
|
'fabric.linking.preview': '전체 화면 보기',
|
|
53
54
|
'fabric.linking.preview_close': '미리 보기 닫기',
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Begrenset innhold',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Du må be om tilgang eller prøve en annen konto for kunne se denne forhåndsvisningen.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Bli med {context} for å se denne saken',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Finn ut mer om
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Finn ut mer om smartkoblinger.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': '{unsafeLinkText}-koblingen tar deg til et annet nettsted, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Laster …',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Oppdatert {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Vi finner ikke koblingen. Sjekk URL-en og prøv å redigere den, eller lim inn på nytt.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Oi sann. VI finner ikke denne koblingen.',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Åpne kobling i en ny fane',
|
|
51
|
+
'fabric.linking.owned_by': 'Eid av {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Avventer svar på forespørselen din om tilgang',
|
|
52
53
|
'fabric.linking.preview': 'Fullskjermvisning',
|
|
53
54
|
'fabric.linking.preview_close': 'Lukk forhåndsvisning',
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'We konden de link niet vinden. Controleer de URL en probeer nogmaals te bewerken of plakken.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Oh-oh. We kunnen deze link niet vinden.',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Open de link in een nieuw tabblad',
|
|
51
|
+
'fabric.linking.owned_by': 'Eigendom van {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Je toegangsaanvraag wordt behandeld.',
|
|
52
53
|
'fabric.linking.preview': 'Volledig schermweergave',
|
|
53
54
|
'fabric.linking.preview_close': 'Voorbeeldweergave sluiten',
|
package/dist/es2019/i18n/pl.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Treść objęta ograniczeniami',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Musisz poprosić o dostęp lub spróbować innego konta, aby zobaczyć ten podgląd.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Dołącz do {context}, aby wyświetlić to zgłoszenie',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Dowiedz się więcej o łączach
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Dowiedz się więcej o inteligentnych łączach.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'Łącze {unsafeLinkText} przeniesie Cię do innej witryny, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Ładowanie...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Zaktualizowano {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Nie udało się znaleźć łącza. Sprawdź adres url i spróbuj go edytować lub wkleić ponownie.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Niestety. Nie można znaleźć tego łącza!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Otwórz łącze na nowej karcie',
|
|
51
|
+
'fabric.linking.owned_by': 'Właściciel: {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Twój wniosek o dostęp oczekuje na rozpatrzenie',
|
|
52
53
|
'fabric.linking.preview': 'Widok pełnoekranowy',
|
|
53
54
|
'fabric.linking.preview_close': 'Zamknij podgląd',
|
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Conteúdo restrito',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Você precisa solicitar o acesso ou tentar usar outra conta para poder visualizar.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Entre em {context} para ver esse item',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Saiba mais sobre os
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Saiba mais sobre os links inteligentes.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'O link {unsafeLinkText} acessa um site diferente, <a>link real está aqui</a>',
|
|
44
44
|
'fabric.linking.loading': 'Carregando...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Atualizado em {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Não foi possível encontrar o link. Verifique a URL e tente editar ou colar de novo.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Ah, não! Não foi possível encontrar o link.',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Abrir link em uma nova guia',
|
|
51
|
+
'fabric.linking.owned_by': 'Pertence a {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'A solicitação de acesso está pendente',
|
|
52
53
|
'fabric.linking.preview': 'Visualização em tela cheia',
|
|
53
54
|
'fabric.linking.preview_close': 'Fechar pré-visualização',
|
package/dist/es2019/i18n/ru.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Контент с ограниченным доступом',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Для предварительного просмотра этого элемента запросите право доступа или попробуйте воспользоваться другим аккаунтом.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Для просмотра этой задачи выполните подключение к {context}',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Подробнее
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Подробнее об интеллектуальных ссылках.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'При переходе по ссылке {unsafeLinkText} вы попадете на другой сайт, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Загрузка…',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Обновлено {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Не удалось найти ссылку. Проверьте URL-адрес и попробуйте изменить или вставить еще раз.',
|
|
49
49
|
'fabric.linking.not_found_title': 'К сожалению, не удалось найти эту ссылку.',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Открыть ссылку в новой вкладке',
|
|
51
|
+
'fabric.linking.owned_by': 'Владелец: {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Ваш запрос на доступ ожидает рассмотрения',
|
|
52
53
|
'fabric.linking.preview': 'Полноэкранный режим',
|
|
53
54
|
'fabric.linking.preview_close': 'Закрыть предварительный просмотр',
|
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Begränsat innehåll',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Du måste begära åtkomst eller försöka med ett annat konto för att visa förhandsgranskningen.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Anslut till {context} för att visa ärendet',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Läs mer om
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Läs mer om smarta länkar.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'Länken {unsafeLinkText} tar dig till en annan webbplats, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Läser in ...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Uppdaterades {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Vi kunde inte hitta länken. Kontrollera URL-adressen och försök att redigera eller klistra in igen.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Oj då. Vi kan inte hitta den här länken!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Öppna länk i en ny flik',
|
|
51
|
+
'fabric.linking.owned_by': 'Ägs av {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Din åtkomstförfrågan väntar på svar',
|
|
52
53
|
'fabric.linking.preview': 'Helskärmsvy',
|
|
53
54
|
'fabric.linking.preview_close': 'Stäng förhandsvisning',
|
package/dist/es2019/i18n/th.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'เนื้อหาถูกจำกัด',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'คุณอาจจำเป็นต้องร้องขอสิทธิ์การเข้าถึงหรือลองบัญชีอื่นเพื่อดูการแสดงตัวอย่างนี้',
|
|
41
41
|
'fabric.linking.join_to_view': 'เข้าร่วม {context} เพื่อดูปัญหานี้',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': '
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'เรียนรู้เพิ่มเติมเกี่ยวกับสมาร์ทลิงก์ (ลิงก์อัจฉริยะ)',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'ลิงก์ {unsafeLinkText} จะนำคุณไปยังเว็บไซต์อื่น <a>ลิงก์จริงอยู่ที่นี่</a>',
|
|
44
44
|
'fabric.linking.loading': 'กำลังโหลด...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'อัปเดตแล้วเมื่อ {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'เราไม่พบลิงก์ ตรวจสอบ URL และลองแก้ไขหรือวางอีกครั้ง',
|
|
49
49
|
'fabric.linking.not_found_title': 'โอ๊ะ โอ เราไม่พบลิงก์นี้!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'เปิดลิงก์ในแถบใหม่',
|
|
51
|
+
'fabric.linking.owned_by': 'เจ้าของคือ {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'คำขอการเข้าถึงของคุณกำลังรอดำเนินการ',
|
|
52
53
|
'fabric.linking.preview': 'มุมมองแบบเต็มหน้าจอ',
|
|
53
54
|
'fabric.linking.preview_close': 'ปิดการแสดงตัวอย่าง',
|
package/dist/es2019/i18n/tr.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Kısıtlanmış içerik',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Bu önizlemeyi görüntülemek için erişim izni talep etmeniz veya farklı bir hesap kullanmanız gerekir.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Bu konuyu görüntülemek için {context} ürününe katılın',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': '
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Akıllı Bağlantılar hakkında daha fazla bilgi edinin.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': '{unsafeLinkText} bağlantısı sizi farklı bir siteye (<a>actual link here</a>) yönlendiriyor',
|
|
44
44
|
'fabric.linking.loading': 'Yükleniyor...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': '{context} tarihinde güncellendi',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': "Bağlantıyı bulamadık. URL'yi kontrol edin ve düzenlemeyi veya yeniden yapıştırmayı deneyin.",
|
|
49
49
|
'fabric.linking.not_found_title': 'Hay aksi! Bu bağlantıyı bulamadık!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Bağlantıyı yeni sekmede aç',
|
|
51
|
+
'fabric.linking.owned_by': 'Sahibi: {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Erişim talebiniz beklemede',
|
|
52
53
|
'fabric.linking.preview': 'Tam ekran görünümü',
|
|
53
54
|
'fabric.linking.preview_close': 'Önizlemeyi kapat',
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Вміст із обмеженим доступом',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Надішліть запит на доступ або ввійдіть в інший обліковий запис для попереднього перегляду.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Можна приєднатися до {context}, щоб переглянути цю проблему',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Докладніше про
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Докладніше про смарт-посилання.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'За посиланням {unsafeLinkText} ви перейдете на інший сайт: <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Завантаження...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Оновлено {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Не вдалося знайти посилання. Перевірте URL-адресу й спробуйте її відредагувати або вставити знову.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Ой! Не вдається знайти це посилання.',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Відкрити посилання в новій вкладці',
|
|
51
|
+
'fabric.linking.owned_by': 'Власник: {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Запит на надання доступу в очікуванні',
|
|
52
53
|
'fabric.linking.preview': 'Повноекранне подання',
|
|
53
54
|
'fabric.linking.preview_close': 'Закрити вікно попереднього перегляду',
|
package/dist/es2019/i18n/vi.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': 'Nội dung bị hạn chế',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'Bạn cần có quyền truy cập hoặc thử một tài khoản khác để xem bản xem trước này.',
|
|
41
41
|
'fabric.linking.join_to_view': 'Tham gia {context} để xem vấn đề này',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': 'Tìm hiểu thêm về
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'Tìm hiểu thêm về Liên kết Thông minh.',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'Liên kết {unsafeLinkText} sẽ đưa bạn đến một trang khác, <a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': 'Đang tải...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': 'Đã cập nhật trên {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': 'Chúng tôi không thể tìm thấy đường liên kết này. Hãy kiểm tra url và thử chỉnh sửa hoặc dán lại.',
|
|
49
49
|
'fabric.linking.not_found_title': 'Ôi! Chúng tôi không thể tìm thấy liên kết này!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': 'Mở liên kết trong tab mới',
|
|
51
|
+
'fabric.linking.owned_by': 'Sở hữu bởi {context}',
|
|
51
52
|
'fabric.linking.pending_request': 'Đang chờ xử lý yêu cầu quyền truy cập của bạn',
|
|
52
53
|
'fabric.linking.preview': 'Chế độ xem toàn màn hình',
|
|
53
54
|
'fabric.linking.preview_close': 'Đóng bản xem trước',
|
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': '受限内容',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': '您需要请求访问权限或尝试使用其他帐户来查看此预览。',
|
|
41
41
|
'fabric.linking.join_to_view': '加入{context}以查看此事务',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': '
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': '了解有关智能链接的更多信息。',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': '{unsafeLinkText} 链接会将您带到其他站点,<a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': '正在加载...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': '更新时间:{context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': '未找到此链接。请检查 URL,然后尝试编辑或重新粘贴。',
|
|
49
49
|
'fabric.linking.not_found_title': '噢。找不到此链接!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': '在新选项卡中打开链接',
|
|
51
|
+
'fabric.linking.owned_by': '负责人:{context}',
|
|
51
52
|
'fabric.linking.pending_request': '您的访问请求正等待处理',
|
|
52
53
|
'fabric.linking.preview': '全屏视图',
|
|
53
54
|
'fabric.linking.preview_close': '关闭预览',
|
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': '受限制的內容',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': '您需要請求存取或嘗試不同的帳戶,來檢視此預覽。',
|
|
41
41
|
'fabric.linking.join_to_view': '加入 {context} 以查看此議題',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': '
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': '深入了解智慧連結。',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': '此連結 {unsafeLinkText} 會帶您前往不同的網站,<a>actual link here</a>',
|
|
44
44
|
'fabric.linking.loading': '正在載入...',
|
|
45
45
|
'fabric.linking.modified_on_absolute': '更新於 {context}',
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
48
48
|
'fabric.linking.not_found_description': '我們找不到此連結。請檢查 URL,然後試著編輯或再次貼上。',
|
|
49
49
|
'fabric.linking.not_found_title': '糟糕,我們找不到此連結!',
|
|
50
50
|
'fabric.linking.open_link_in_a_new_tab': '在新分頁中開啟連結',
|
|
51
|
+
'fabric.linking.owned_by': '負責人:{context}',
|
|
51
52
|
'fabric.linking.pending_request': '您的存取要求擱置中',
|
|
52
53
|
'fabric.linking.preview': '全螢幕檢視',
|
|
53
54
|
'fabric.linking.preview_close': '關閉預覽',
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export let EmbedModalSize
|
|
2
|
-
(function (EmbedModalSize) {
|
|
1
|
+
export let EmbedModalSize = /*#__PURE__*/function (EmbedModalSize) {
|
|
3
2
|
EmbedModalSize["Large"] = "large";
|
|
4
3
|
EmbedModalSize["Small"] = "small";
|
|
5
|
-
|
|
4
|
+
return EmbedModalSize;
|
|
5
|
+
}({});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
import { useCallback, useMemo, useState } from 'react';
|
|
4
|
+
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import DropdownMenu, { DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
6
6
|
import LozengeActionItem from './lozenge-action-item';
|
|
7
7
|
import LozengeActionTrigger from './lozenge-action-trigger';
|
|
@@ -25,11 +25,21 @@ const LozengeAction = ({
|
|
|
25
25
|
zIndex
|
|
26
26
|
}) => {
|
|
27
27
|
var _action$update;
|
|
28
|
+
const [selected, setSelected] = useState({
|
|
29
|
+
appearance,
|
|
30
|
+
text
|
|
31
|
+
});
|
|
28
32
|
const [isLoaded, setIsLoaded] = useState(false);
|
|
29
33
|
const [isLoading, setIsLoading] = useState(false);
|
|
30
34
|
const [isOpen, setIsOpen] = useState(false);
|
|
31
35
|
const [items, setItems] = useState();
|
|
32
36
|
const [errorMessage, setErrorMessage] = useState();
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
setSelected({
|
|
39
|
+
text,
|
|
40
|
+
appearance
|
|
41
|
+
});
|
|
42
|
+
}, [text, appearance]);
|
|
33
43
|
const invoke = useInvoke();
|
|
34
44
|
const reload = useResolve();
|
|
35
45
|
const {
|
|
@@ -62,17 +72,21 @@ const LozengeAction = ({
|
|
|
62
72
|
}
|
|
63
73
|
}, [action === null || action === void 0 ? void 0 : action.read, invoke, isLoaded, text]);
|
|
64
74
|
const trigger = useCallback(props => jsx(LozengeActionTrigger, _extends({}, props, {
|
|
65
|
-
appearance: appearance,
|
|
75
|
+
appearance: selected.appearance,
|
|
66
76
|
testId: testId,
|
|
67
|
-
text: text
|
|
68
|
-
})), [
|
|
69
|
-
const handleItemClick = useCallback(async id => {
|
|
77
|
+
text: selected.text
|
|
78
|
+
})), [testId, selected]);
|
|
79
|
+
const handleItemClick = useCallback(async (id, text, appearance) => {
|
|
70
80
|
try {
|
|
71
81
|
const updateAction = action === null || action === void 0 ? void 0 : action.update;
|
|
72
82
|
if (updateAction && id) {
|
|
73
83
|
setIsLoading(true);
|
|
74
84
|
const request = createStatusUpdateRequest(updateAction, id);
|
|
75
85
|
await invoke(request);
|
|
86
|
+
setSelected({
|
|
87
|
+
appearance,
|
|
88
|
+
text
|
|
89
|
+
});
|
|
76
90
|
setIsLoading(false);
|
|
77
91
|
setIsLoaded(false);
|
|
78
92
|
setIsOpen(false);
|
package/dist/es2019/view/FlexibleCard/components/common/lozenge-action/lozenge-action-item/index.js
CHANGED
|
@@ -13,9 +13,9 @@ const LozengeActionItem = ({
|
|
|
13
13
|
// We want to show loading screen.
|
|
14
14
|
e.stopPropagation();
|
|
15
15
|
if (onClick) {
|
|
16
|
-
onClick(id);
|
|
16
|
+
onClick(id, text, appearance);
|
|
17
17
|
}
|
|
18
|
-
}, [id, onClick]);
|
|
18
|
+
}, [appearance, id, onClick, text]);
|
|
19
19
|
const handleMouseEnter = useCallback(e => {
|
|
20
20
|
var _e$currentTarget, _e$currentTarget$firs;
|
|
21
21
|
(_e$currentTarget = e.currentTarget) === null || _e$currentTarget === void 0 ? void 0 : (_e$currentTarget$firs = _e$currentTarget.firstElementChild) === null || _e$currentTarget$firs === void 0 ? void 0 : _e$currentTarget$firs.focus();
|