@atlaskit/smart-card 44.17.0 → 44.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-social-proof-message-low-tier--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-social-proof-message-not-low-tier--default.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-social-proof-but-no-context-available--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-social-proof-with-no-context-and-no-provider-specific-percentage--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof-but-low-percentage--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/cjs/i18n/cs.js +180 -3
- package/dist/cjs/i18n/da.js +180 -3
- package/dist/cjs/i18n/de.js +180 -3
- package/dist/cjs/i18n/en.js +182 -3
- package/dist/cjs/i18n/en_GB.js +182 -3
- package/dist/cjs/i18n/en_ZZ.js +182 -3
- package/dist/cjs/i18n/es.js +180 -3
- package/dist/cjs/i18n/fi.js +180 -3
- package/dist/cjs/i18n/fr.js +180 -3
- package/dist/cjs/i18n/hr.js +175 -3
- package/dist/cjs/i18n/hu.js +180 -3
- package/dist/cjs/i18n/it.js +180 -3
- package/dist/cjs/i18n/ja.js +180 -3
- package/dist/cjs/i18n/ko.js +180 -3
- package/dist/cjs/i18n/nb.js +180 -3
- package/dist/cjs/i18n/nl.js +180 -3
- package/dist/cjs/i18n/pl.js +180 -3
- package/dist/cjs/i18n/pt_BR.js +180 -3
- package/dist/cjs/i18n/ru.js +180 -3
- package/dist/cjs/i18n/sl.js +175 -3
- package/dist/cjs/i18n/sr_RS.js +175 -3
- package/dist/cjs/i18n/sr_YR.js +175 -3
- package/dist/cjs/i18n/sv.js +180 -3
- package/dist/cjs/i18n/th.js +180 -3
- package/dist/cjs/i18n/tr.js +180 -3
- package/dist/cjs/i18n/uk.js +180 -3
- package/dist/cjs/i18n/vi.js +180 -3
- package/dist/cjs/i18n/zh.js +180 -3
- package/dist/cjs/i18n/zh_TW.js +180 -3
- package/dist/cjs/messages.js +13 -8
- package/dist/cjs/state/hooks/use-smart-link-cross-product-url-wrapper/index.js +48 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/CardWithUrl/component.js +11 -2
- package/dist/cjs/view/EmbedModal/components/link-info/index.js +11 -8
- package/dist/cjs/view/EmbedModal/components/link-info/link-info-button/index.js +1 -4
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +4 -4
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-social-proof-message-low-tier--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-social-proof-message-not-low-tier--default.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-social-proof-but-no-context-available--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-social-proof-with-no-context-and-no-provider-specific-percentage--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof-but-low-percentage--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/es2019/i18n/cs.js +180 -3
- package/dist/es2019/i18n/da.js +180 -3
- package/dist/es2019/i18n/de.js +180 -3
- package/dist/es2019/i18n/en.js +182 -3
- package/dist/es2019/i18n/en_GB.js +182 -3
- package/dist/es2019/i18n/en_ZZ.js +182 -3
- package/dist/es2019/i18n/es.js +180 -3
- package/dist/es2019/i18n/fi.js +180 -3
- package/dist/es2019/i18n/fr.js +180 -3
- package/dist/es2019/i18n/hr.js +175 -3
- package/dist/es2019/i18n/hu.js +180 -3
- package/dist/es2019/i18n/it.js +180 -3
- package/dist/es2019/i18n/ja.js +180 -3
- package/dist/es2019/i18n/ko.js +180 -3
- package/dist/es2019/i18n/nb.js +180 -3
- package/dist/es2019/i18n/nl.js +180 -3
- package/dist/es2019/i18n/pl.js +180 -3
- package/dist/es2019/i18n/pt_BR.js +180 -3
- package/dist/es2019/i18n/ru.js +180 -3
- package/dist/es2019/i18n/sl.js +175 -3
- package/dist/es2019/i18n/sr_RS.js +175 -3
- package/dist/es2019/i18n/sr_YR.js +175 -3
- package/dist/es2019/i18n/sv.js +180 -3
- package/dist/es2019/i18n/th.js +180 -3
- package/dist/es2019/i18n/tr.js +180 -3
- package/dist/es2019/i18n/uk.js +180 -3
- package/dist/es2019/i18n/vi.js +180 -3
- package/dist/es2019/i18n/zh.js +180 -3
- package/dist/es2019/i18n/zh_TW.js +180 -3
- package/dist/es2019/messages.js +13 -8
- package/dist/es2019/state/hooks/use-smart-link-cross-product-url-wrapper/index.js +40 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/CardWithUrl/component.js +11 -2
- package/dist/es2019/view/EmbedModal/components/link-info/index.js +11 -8
- package/dist/es2019/view/EmbedModal/components/link-info/link-info-button/index.js +1 -5
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +4 -4
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-social-proof-message-low-tier--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-social-proof-message-not-low-tier--default.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-social-proof-but-no-context-available--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-social-proof-with-no-context-and-no-provider-specific-percentage--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-with-social-proof-but-low-percentage--default--platform-sl-3p-preauth-social-proof-inline-cta-true.png +2 -2
- package/dist/esm/i18n/cs.js +180 -3
- package/dist/esm/i18n/da.js +180 -3
- package/dist/esm/i18n/de.js +180 -3
- package/dist/esm/i18n/en.js +182 -3
- package/dist/esm/i18n/en_GB.js +182 -3
- package/dist/esm/i18n/en_ZZ.js +182 -3
- package/dist/esm/i18n/es.js +180 -3
- package/dist/esm/i18n/fi.js +180 -3
- package/dist/esm/i18n/fr.js +180 -3
- package/dist/esm/i18n/hr.js +175 -3
- package/dist/esm/i18n/hu.js +180 -3
- package/dist/esm/i18n/it.js +180 -3
- package/dist/esm/i18n/ja.js +180 -3
- package/dist/esm/i18n/ko.js +180 -3
- package/dist/esm/i18n/nb.js +180 -3
- package/dist/esm/i18n/nl.js +180 -3
- package/dist/esm/i18n/pl.js +180 -3
- package/dist/esm/i18n/pt_BR.js +180 -3
- package/dist/esm/i18n/ru.js +180 -3
- package/dist/esm/i18n/sl.js +175 -3
- package/dist/esm/i18n/sr_RS.js +175 -3
- package/dist/esm/i18n/sr_YR.js +175 -3
- package/dist/esm/i18n/sv.js +180 -3
- package/dist/esm/i18n/th.js +180 -3
- package/dist/esm/i18n/tr.js +180 -3
- package/dist/esm/i18n/uk.js +180 -3
- package/dist/esm/i18n/vi.js +180 -3
- package/dist/esm/i18n/zh.js +180 -3
- package/dist/esm/i18n/zh_TW.js +180 -3
- package/dist/esm/messages.js +13 -8
- package/dist/esm/state/hooks/use-smart-link-cross-product-url-wrapper/index.js +42 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/CardWithUrl/component.js +11 -2
- package/dist/esm/view/EmbedModal/components/link-info/index.js +11 -8
- package/dist/esm/view/EmbedModal/components/link-info/link-info-button/index.js +1 -4
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +4 -4
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/i18n/cs.d.ts +180 -2
- package/dist/types/i18n/da.d.ts +180 -2
- package/dist/types/i18n/de.d.ts +180 -2
- package/dist/types/i18n/en.d.ts +182 -2
- package/dist/types/i18n/en_GB.d.ts +182 -2
- package/dist/types/i18n/en_ZZ.d.ts +182 -2
- package/dist/types/i18n/es.d.ts +180 -2
- package/dist/types/i18n/fi.d.ts +180 -2
- package/dist/types/i18n/fr.d.ts +180 -2
- package/dist/types/i18n/hr.d.ts +175 -2
- package/dist/types/i18n/hu.d.ts +180 -2
- package/dist/types/i18n/it.d.ts +180 -2
- package/dist/types/i18n/ja.d.ts +180 -2
- package/dist/types/i18n/ko.d.ts +180 -2
- package/dist/types/i18n/nb.d.ts +180 -2
- package/dist/types/i18n/nl.d.ts +180 -2
- package/dist/types/i18n/pl.d.ts +180 -2
- package/dist/types/i18n/pt_BR.d.ts +180 -2
- package/dist/types/i18n/ru.d.ts +180 -2
- package/dist/types/i18n/sl.d.ts +175 -2
- package/dist/types/i18n/sr_RS.d.ts +175 -2
- package/dist/types/i18n/sr_YR.d.ts +175 -2
- package/dist/types/i18n/sv.d.ts +180 -2
- package/dist/types/i18n/th.d.ts +180 -2
- package/dist/types/i18n/tr.d.ts +180 -2
- package/dist/types/i18n/uk.d.ts +180 -2
- package/dist/types/i18n/vi.d.ts +180 -2
- package/dist/types/i18n/zh.d.ts +180 -2
- package/dist/types/i18n/zh_TW.d.ts +180 -2
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/state/hooks/use-smart-link-cross-product-url-wrapper/index.d.ts +8 -0
- package/dist/types/view/EmbedModal/components/link-info/link-info-button/index.d.ts +1 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +180 -2
- package/dist/types-ts4.5/i18n/da.d.ts +180 -2
- package/dist/types-ts4.5/i18n/de.d.ts +180 -2
- package/dist/types-ts4.5/i18n/en.d.ts +182 -2
- package/dist/types-ts4.5/i18n/en_GB.d.ts +182 -2
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +182 -2
- package/dist/types-ts4.5/i18n/es.d.ts +180 -2
- package/dist/types-ts4.5/i18n/fi.d.ts +180 -2
- package/dist/types-ts4.5/i18n/fr.d.ts +180 -2
- package/dist/types-ts4.5/i18n/hr.d.ts +175 -2
- package/dist/types-ts4.5/i18n/hu.d.ts +180 -2
- package/dist/types-ts4.5/i18n/it.d.ts +180 -2
- package/dist/types-ts4.5/i18n/ja.d.ts +180 -2
- package/dist/types-ts4.5/i18n/ko.d.ts +180 -2
- package/dist/types-ts4.5/i18n/nb.d.ts +180 -2
- package/dist/types-ts4.5/i18n/nl.d.ts +180 -2
- package/dist/types-ts4.5/i18n/pl.d.ts +180 -2
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +180 -2
- package/dist/types-ts4.5/i18n/ru.d.ts +180 -2
- package/dist/types-ts4.5/i18n/sl.d.ts +175 -2
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +175 -2
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +175 -2
- package/dist/types-ts4.5/i18n/sv.d.ts +180 -2
- package/dist/types-ts4.5/i18n/th.d.ts +180 -2
- package/dist/types-ts4.5/i18n/tr.d.ts +180 -2
- package/dist/types-ts4.5/i18n/uk.d.ts +180 -2
- package/dist/types-ts4.5/i18n/vi.d.ts +180 -2
- package/dist/types-ts4.5/i18n/zh.d.ts +180 -2
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +180 -2
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-smart-link-cross-product-url-wrapper/index.d.ts +8 -0
- package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +1 -2
- package/package.json +15 -8
|
@@ -5,6 +5,183 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//Chinese (Traditional)
|
|
9
|
+
export default {
|
|
10
|
+
TjkENX: '搜尋錯誤',
|
|
11
|
+
'automation-menu.empty-state.image.alt': '空白的自動化列表圖示',
|
|
12
|
+
'automation-menu.empty-state.learn-more.link': '進一步了解手動觸發程序',
|
|
13
|
+
'automation-menu.modal.empty.automations.admin.description': '使用手動觸發程序填入選項選單,讓任何人或您指定的人員都可以套用為一鍵式自動化功能。',
|
|
14
|
+
'automation-menu.modal.empty.automations.user.description': '管理員尚未設定任何手動觸發的自動化。',
|
|
15
|
+
'automation-menu.modal.error.description': '載入時間過長。請嘗試重新整理頁面。',
|
|
16
|
+
'automation-menu.modal.error.image.alt': '錯誤圖示',
|
|
17
|
+
'automation-menu.modal.footer.automate-button': '自動化',
|
|
18
|
+
'automation-menu.modal.footer.cancel-button': '取消',
|
|
19
|
+
'automation-menu.modal.footer.get-started-button': '建立自動化',
|
|
20
|
+
'automation-menu.modal.footer.ok-button': '確定',
|
|
21
|
+
'automation-menu.modal.header.icon.label': '自動化強制回應標頭圖示',
|
|
22
|
+
'automation-menu.success-state.message': '您的自動化正在進行中',
|
|
23
|
+
'fabric.linking.access_exists_description': '要求存取權以檢視 {hostname} 的這項內容。',
|
|
24
|
+
'fabric.linking.actions': '動作',
|
|
25
|
+
'fabric.linking.add_account': '新增帳戶',
|
|
26
|
+
'fabric.linking.ai_summarize': '總結',
|
|
27
|
+
'fabric.linking.ai_summarized': '由 Atlassian Intelligence 總結',
|
|
28
|
+
'fabric.linking.ai_summarized_abbreviation': '由 AI 總結',
|
|
29
|
+
'fabric.linking.ai_summarized_info': '資訊品質可能會有變化。<a>深入了解</a>',
|
|
30
|
+
'fabric.linking.ai_summarized_info_short': '內容品質可能會有所不同',
|
|
31
|
+
'fabric.linking.ai_summarizing': 'Atlassian Intelligence 運作中...',
|
|
32
|
+
'fabric.linking.ai_summary_action': '使用 AI 產生摘要',
|
|
33
|
+
'fabric.linking.ai_summary_action_description': '使用 Atlassian Intelligence 摘要此連結的內容。',
|
|
34
|
+
'fabric.linking.ai_summary_error_acceptable_use_violation': '我們無法顯示此摘要的結果,因為違反 <a>Atlassian 的可接受使用政策</a>。',
|
|
35
|
+
'fabric.linking.ai_summary_error_exceeding_context_length_error': 'Atlassian Intelligence 目前無法為您產生摘要,因為需要摘要的內容太多。',
|
|
36
|
+
'fabric.linking.ai_summary_error_generic': 'Atlassian Intelligence (AI) 沒有回應。請稍後再試一次,或<a>檢查 AI 的狀態</a>。',
|
|
37
|
+
'fabric.linking.ai_summary_error_hipaa_content_detected': 'Atlassian Intelligence 無法處理您的要求,因為您的內容包含 HIPAA 受限內容的連結。',
|
|
38
|
+
'fabric.linking.assigned_to': '已指派給 {context}',
|
|
39
|
+
'fabric.linking.automation-action.confluence.page.modal.description': '將自動化套用至 <b>{name}</b>。{br}可用的選項是由 Confluence 和空間管理員所控管。',
|
|
40
|
+
'fabric.linking.automation-action.confluence.page.modal.title': '頁面自動化',
|
|
41
|
+
'fabric.linking.automation-action.icon.label': '自動化圖示',
|
|
42
|
+
'fabric.linking.automation-action.title': '檢視自動化規則',
|
|
43
|
+
'fabric.linking.automation-action.tooltip': '選取要執行的自動化規則',
|
|
44
|
+
'fabric.linking.beta': '測試版',
|
|
45
|
+
'fabric.linking.cancel': '取消',
|
|
46
|
+
'fabric.linking.cannot_connect': '無法連結,請再試一次',
|
|
47
|
+
'fabric.linking.cannot_find_link': '找不到連結',
|
|
48
|
+
'fabric.linking.check_this_link': '檢查此連結',
|
|
49
|
+
'fabric.linking.click_to_join': '加入 {context}',
|
|
50
|
+
'fabric.linking.click_to_join_description': '您已獲得核准,因此可以立即加入 {context}。',
|
|
51
|
+
'fabric.linking.close': '關閉',
|
|
52
|
+
'fabric.linking.connect_account_description': '我們會開啟新的頁面來協助您連結 {name} 帳戶',
|
|
53
|
+
'fabric.linking.connect_link_account': '連線以預覽',
|
|
54
|
+
'fabric.linking.connect_link_account_card_view': '連結',
|
|
55
|
+
'fabric.linking.connect_link_account_card_view_description': '若要顯示此連結的預覽,請連接您的 {context} 帳戶。',
|
|
56
|
+
'fabric.linking.connect_link_account_card_view_name': '連結 {context} 帳戶',
|
|
57
|
+
'fabric.linking.connect_to': '連結至 {name}',
|
|
58
|
+
'fabric.linking.connect_unauthorised_account_action': '連結至 {context}',
|
|
59
|
+
'fabric.linking.connect_unauthorised_account_description': '連接您的 {context} 帳戶,以在各個 Atlassian 產品上的工作協同合作。',
|
|
60
|
+
'fabric.linking.connect_unauthorised_account_description-appify': '連接您的 {context} 帳戶,以在各個 Atlassian 應用程式上的工作協同合作。',
|
|
61
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider': '連接您的帳戶,以在各個 Atlassian 產品上的工作協同合作。',
|
|
62
|
+
'fabric.linking.connect_unauthorised_account_description_no_provider-appify': '連接您的帳戶,以在各個 Atlassian 應用程式上的工作協同合作。',
|
|
63
|
+
'fabric.linking.continue': '繼續',
|
|
64
|
+
'fabric.linking.copied_summary_action_description': '已將摘要複製到剪貼簿',
|
|
65
|
+
'fabric.linking.copied_url_to_clipboard': '已複製!',
|
|
66
|
+
'fabric.linking.copy_summary_action': '複製摘要',
|
|
67
|
+
'fabric.linking.copy_summary_action_description': '複製摘要',
|
|
68
|
+
'fabric.linking.copy_url_to_clipboard': '複製連結',
|
|
69
|
+
'fabric.linking.couldnt_load_link': '基於不明原因,我們無法載入此連結。',
|
|
70
|
+
'fabric.linking.create_on_absolute': '於 {context} 建立',
|
|
71
|
+
'fabric.linking.create_on_relative': '建立時間:{context}',
|
|
72
|
+
'fabric.linking.created_by': '建立者:{context}',
|
|
73
|
+
'fabric.linking.delete': '刪除',
|
|
74
|
+
'fabric.linking.direct_access': '立即加入',
|
|
75
|
+
'fabric.linking.direct_access_description': '您的團隊使用 {product} 協作,您可以立即開始使用!',
|
|
76
|
+
'fabric.linking.direct_access_title': '加入 {product} 以檢視此內容',
|
|
77
|
+
'fabric.linking.download': '下載',
|
|
78
|
+
'fabric.linking.download_description': '將此檔案下載到您的本機儲存空間',
|
|
79
|
+
'fabric.linking.download_file': '下載檔案',
|
|
80
|
+
'fabric.linking.edit': '編輯',
|
|
81
|
+
'fabric.linking.follow': '追蹤',
|
|
82
|
+
'fabric.linking.follow_goal': '追蹤目標',
|
|
83
|
+
'fabric.linking.follow_goal_description': '追蹤此目標以取得更新通知',
|
|
84
|
+
'fabric.linking.follow_goal_error': '我們在嘗試追蹤目標時遇到錯誤。請檢查您的連線或重新整理頁面,然後再試一次。',
|
|
85
|
+
'fabric.linking.follow_project': '追蹤專案',
|
|
86
|
+
'fabric.linking.follow_project_description': '追蹤以取得此專案的通知',
|
|
87
|
+
'fabric.linking.follow_project_description-galaxia': '追蹤以取得此空間的通知',
|
|
88
|
+
'fabric.linking.follow_project_error': '我們在嘗試追蹤專案時遇到錯誤。請檢查您的連線或重新整理頁面,然後再試一次。',
|
|
89
|
+
'fabric.linking.follow_project_error-galaxia': '我們在嘗試追蹤空間時遇到錯誤。請檢查您的連線或重新整理頁面,然後再試一次。',
|
|
90
|
+
'fabric.linking.forbidden_access': '您的存取遭拒',
|
|
91
|
+
'fabric.linking.forbidden_description': '請連絡您的管理員以要求 {hostname} 存取權。',
|
|
92
|
+
'fabric.linking.forbidden_title': '您無法存取此內容',
|
|
93
|
+
'fabric.linking.generic_error_message': '發生錯誤',
|
|
94
|
+
'fabric.linking.go_back': '返回',
|
|
95
|
+
'fabric.linking.invalid_permissions': '受限制的內容',
|
|
96
|
+
'fabric.linking.invalid_permissions_description': '您需要請求存取或嘗試不同的帳戶,來檢視此預覽。',
|
|
97
|
+
'fabric.linking.join_to_view': '加入 {context} 以查看此議題',
|
|
98
|
+
'fabric.linking.join_to_view-issue-term-refresh': '加入 {context} 以查看此工作項目',
|
|
99
|
+
'fabric.linking.learn_more_about_connecting_account': '進一步了解如何將您的帳戶連接至 Atlassian 產品。',
|
|
100
|
+
'fabric.linking.learn_more_about_connecting_account-appify': '進一步了解如何將您的帳戶連接至 Atlassian 應用程式。',
|
|
101
|
+
'fabric.linking.learn_more_about_smart_links': '深入了解智慧連結。',
|
|
102
|
+
'fabric.linking.link_safety_warning_message': '此連結 {unsafeLinkText} 會帶您前往不同的網站,<a>actual link here</a>',
|
|
103
|
+
'fabric.linking.loading': '正在載入...',
|
|
104
|
+
'fabric.linking.modified_on_absolute': '更新於 {context}',
|
|
105
|
+
'fabric.linking.modified_on_relative': '更新時間:{context}',
|
|
106
|
+
'fabric.linking.more_actions': '更多動作',
|
|
107
|
+
'fabric.linking.no_access_title': '加入 {product} 以檢視此內容',
|
|
108
|
+
'fabric.linking.not_found_description': '該頁面不存在,或在新增此連結後可能已變更。',
|
|
109
|
+
'fabric.linking.not_found_title': '我們無法向您顯示此 {product} 頁面',
|
|
110
|
+
'fabric.linking.open_issue_in_jira': 'Jira 中的待處理議題',
|
|
111
|
+
'fabric.linking.open_issue_in_jira-issue-term-refresh': 'Jira 中的待處理工作項目',
|
|
112
|
+
'fabric.linking.open_link_in_a_new_tab': '在新分頁中開啟連結',
|
|
113
|
+
'fabric.linking.owned_by': '負責人:{context}',
|
|
114
|
+
'fabric.linking.owned_by_override': '作者:{context}',
|
|
115
|
+
'fabric.linking.pending_request': '您的存取要求擱置中',
|
|
116
|
+
'fabric.linking.preview_close': '關閉預覽',
|
|
117
|
+
'fabric.linking.preview_description': '開啟此連結的全螢幕預覽',
|
|
118
|
+
'fabric.linking.preview_improved': '開啟預覽',
|
|
119
|
+
'fabric.linking.preview_max_size': '全螢幕檢視',
|
|
120
|
+
'fabric.linking.preview_min_size': '關閉全螢幕',
|
|
121
|
+
'fabric.linking.preview_modal': '開啟預覽強制回應',
|
|
122
|
+
'fabric.linking.preview_panel': '開啟預覽面板',
|
|
123
|
+
'fabric.linking.priority_blocker': '受阻',
|
|
124
|
+
'fabric.linking.priority_critical': '嚴重',
|
|
125
|
+
'fabric.linking.priority_high': '高',
|
|
126
|
+
'fabric.linking.priority_highest': '最高',
|
|
127
|
+
'fabric.linking.priority_low': '低',
|
|
128
|
+
'fabric.linking.priority_lowest': '最低',
|
|
129
|
+
'fabric.linking.priority_major': '主要',
|
|
130
|
+
'fabric.linking.priority_medium': '中',
|
|
131
|
+
'fabric.linking.priority_minor': '次要',
|
|
132
|
+
'fabric.linking.priority_trivial': '不太重要',
|
|
133
|
+
'fabric.linking.priority_undefined': '未定義',
|
|
134
|
+
'fabric.linking.read_time': '{context} 分鐘閱讀時間',
|
|
135
|
+
'fabric.linking.related': '相關',
|
|
136
|
+
'fabric.linking.related_links_found_in': '找到的位置',
|
|
137
|
+
'fabric.linking.related_links_includes_links_to': '將連結納入',
|
|
138
|
+
'fabric.linking.related_links_modal_error_description': '請檢查連線或重新整理頁面,然後再試一次',
|
|
139
|
+
'fabric.linking.related_links_modal_error_title': '我們在載入相關連結時遇到問題',
|
|
140
|
+
'fabric.linking.related_links_modal_title': '相關連結',
|
|
141
|
+
'fabric.linking.related_links_modal_unavailable_description': '我們會持續檢閱更新的頁面或其他內容類型,並新增相關的連結',
|
|
142
|
+
'fabric.linking.related_links_modal_unavailable_title': '我們找不到任何相關連結',
|
|
143
|
+
'fabric.linking.related_links_not_found': '我們沒有找到任何可在這裡顯示的連結。',
|
|
144
|
+
'fabric.linking.related_links_view_related_links': '檢視相關連結',
|
|
145
|
+
'fabric.linking.related_links_view_related_urls': '查看最近的連結',
|
|
146
|
+
'fabric.linking.request_access': '要求存取權',
|
|
147
|
+
'fabric.linking.request_access_description': '您的團隊使用 {product} 來協作。向您的管理員傳送存取要求。',
|
|
148
|
+
'fabric.linking.request_access_pending': '待核准',
|
|
149
|
+
'fabric.linking.request_access_pending_description': '您的 {hostname} 存取要求正在等待管理員核准。',
|
|
150
|
+
'fabric.linking.request_access_pending_title': '{product} 的存取權待核准',
|
|
151
|
+
'fabric.linking.request_access_to_view': '要求存取 {context} 以檢視此議題',
|
|
152
|
+
'fabric.linking.request_access_to_view-issue-term-refresh': '要求存取 {context} 以檢視此工作項目',
|
|
153
|
+
'fabric.linking.request_denied': '您的存取要求遭拒',
|
|
154
|
+
'fabric.linking.request_denied_description': '您的管理員並未核准您的要求,因此您無法檢視 {hostname} 的 {product} 頁面。',
|
|
155
|
+
'fabric.linking.restricted_link': '連結受到限制,請嘗試其他帳戶',
|
|
156
|
+
'fabric.linking.retry': '重試',
|
|
157
|
+
'fabric.linking.save': '儲存',
|
|
158
|
+
'fabric.linking.sent_on_absolute': '傳送日期:{context}',
|
|
159
|
+
'fabric.linking.sent_on_relative': '傳送時間:{context}',
|
|
160
|
+
'fabric.linking.srclink': '使用以下檢視:',
|
|
161
|
+
'fabric.linking.srclinkunknown': '檢視原始狀態',
|
|
162
|
+
'fabric.linking.status_change_load_error': '我們無法載入狀態和轉換',
|
|
163
|
+
'fabric.linking.status_change_permission_error': '您沒有轉換此議題的權限。',
|
|
164
|
+
'fabric.linking.status_change_permission_error-issue-term-refresh': '您沒有轉換此工作項目的權限。',
|
|
165
|
+
'fabric.linking.status_change_update_error': '我們無法更新狀態',
|
|
166
|
+
'fabric.linking.team_members_count': '{context} 位成員',
|
|
167
|
+
'fabric.linking.try_again': '再試一次',
|
|
168
|
+
'fabric.linking.try_another_account': '使用其他帳戶嘗試',
|
|
169
|
+
'fabric.linking.unassigned': '未指派',
|
|
170
|
+
'fabric.linking.unauthorised_account_description': '您正在嘗試預覽私人 {context} 頁面的連結。建議您檢閱 URL 或連絡頁面擁有者。',
|
|
171
|
+
'fabric.linking.unauthorised_account_description_no_provider': '您正在嘗試預覽私人頁面的連結。建議您檢閱 URL 或連絡頁面擁有者。',
|
|
172
|
+
'fabric.linking.unauthorised_account_name': '無法顯示 {context} 的私人頁面',
|
|
173
|
+
'fabric.linking.unauthorised_account_name_no_provider': '無法顯示私人頁面',
|
|
174
|
+
'fabric.linking.unfollow': '取消追蹤',
|
|
175
|
+
'fabric.linking.unfollow_goal': '取消追蹤目標',
|
|
176
|
+
'fabric.linking.unfollow_goal_description': '取消追蹤,以停止接收此目標的通知',
|
|
177
|
+
'fabric.linking.unfollow_goal_error': '我們在嘗試取消追蹤目標時遇到錯誤。請檢查您的連線或重新整理頁面,然後再試一次。',
|
|
178
|
+
'fabric.linking.unfollow_project': '取消追蹤專案',
|
|
179
|
+
'fabric.linking.unfollow_project_description': '取消追蹤,以停止接收專案通知',
|
|
180
|
+
'fabric.linking.unfollow_project_description-galaxia': '取消追蹤,以停止接收空間通知',
|
|
181
|
+
'fabric.linking.unfollow_project_error': '我們在嘗試取消追蹤專案時遇到錯誤。請檢查您的連線或重新整理頁面,然後再試一次。',
|
|
182
|
+
'fabric.linking.unfollow_project_error-galaxia': '我們在嘗試取消追蹤空間時遇到錯誤。請檢查您的連線或重新整理頁面,然後再試一次。',
|
|
183
|
+
'fabric.linking.unlink_account': '取消帳戶的連結',
|
|
184
|
+
'fabric.linking.updated_by': '修改者:{context}',
|
|
185
|
+
'fabric.linking.user_attributes': '{context}',
|
|
186
|
+
'fabric.linking.view': '檢視'
|
|
187
|
+
};
|
package/dist/es2019/messages.js
CHANGED
|
@@ -192,22 +192,22 @@ export const messages = defineMessages({
|
|
|
192
192
|
},
|
|
193
193
|
social_proof_inline_cta_tag_high_with_context: {
|
|
194
194
|
id: 'fabric.linking.social_proof_inline_cta_tag_high_with_context',
|
|
195
|
-
defaultMessage: '<b>{connectedPct}%</b> of your team
|
|
196
|
-
description: 'Social-proof tag pill beside the shortcut "Connect" on an unauthorised inline smart link when adoption is not in the exploratory range. {connectedPct} is the approximate share
|
|
195
|
+
defaultMessage: '<b>{connectedPct}%</b> of your team sees {context} previews',
|
|
196
|
+
description: 'Social-proof tag pill beside the shortcut "Connect" on an unauthorised inline smart link when adoption is not in the exploratory range. {connectedPct} is the approximate share seeing previews for the integration; {context} is the provider display name.'
|
|
197
197
|
},
|
|
198
198
|
social_proof_inline_cta_tag_high_no_context: {
|
|
199
199
|
id: 'fabric.linking.social_proof_inline_cta_tag_high_no_context',
|
|
200
|
-
defaultMessage: '<b>{connectedPct}%</b> of your team previews
|
|
201
|
-
description: 'Social-proof tag pill when adoption is above the exploratory threshold and no provider display name is available; {connectedPct} is the approximate share
|
|
200
|
+
defaultMessage: '<b>{connectedPct}%</b> of your team sees richer previews',
|
|
201
|
+
description: 'Social-proof tag pill when adoption is above the exploratory threshold and no provider display name is available; {connectedPct} is the approximate share seeing richer previews.'
|
|
202
202
|
},
|
|
203
203
|
social_proof_inline_cta_tag_low_with_context: {
|
|
204
204
|
id: 'fabric.linking.social_proof_inline_cta_tag_low_with_context',
|
|
205
|
-
defaultMessage: 'Your team
|
|
205
|
+
defaultMessage: 'Your team sees richer {context} previews',
|
|
206
206
|
description: 'Social-proof tag pill when share is below the percentage headline threshold; shown only when a provider display name is available. Omit the pill entirely when personalization is unavailable or the provider name is unknown.'
|
|
207
207
|
},
|
|
208
208
|
social_proof_inline_cta_tag_low_no_context: {
|
|
209
209
|
id: 'fabric.linking.social_proof_inline_cta_tag_low_no_context',
|
|
210
|
-
defaultMessage: 'Your team
|
|
210
|
+
defaultMessage: 'Your team sees richer previews',
|
|
211
211
|
description: 'Social-proof tag pill for the case when neither percentage nor provider display name are available.'
|
|
212
212
|
},
|
|
213
213
|
connect_unauthorised_account_description: {
|
|
@@ -675,6 +675,11 @@ export const messages = defineMessages({
|
|
|
675
675
|
defaultMessage: 'View in',
|
|
676
676
|
description: 'We have a link in our preview modals to the original document. This text goes before the provider name'
|
|
677
677
|
},
|
|
678
|
+
viewInProvider: {
|
|
679
|
+
id: 'fabric.linking.viewinprovider',
|
|
680
|
+
defaultMessage: 'View in {providerName}',
|
|
681
|
+
description: 'We have a link in our preview modals to the original document. This text tells the user where it will open'
|
|
682
|
+
},
|
|
678
683
|
viewOriginal: {
|
|
679
684
|
id: 'fabric.linking.srclinkunknown',
|
|
680
685
|
defaultMessage: 'View Original',
|
|
@@ -1079,12 +1084,12 @@ export const messages = defineMessages({
|
|
|
1079
1084
|
// TODO: remove when social-proof-3p-unauth-block-fg is cleaned up
|
|
1080
1085
|
pre_auth_block_social_proof_not_low: {
|
|
1081
1086
|
id: 'fabric.linking.pre_auth_block_social_proof_not_low',
|
|
1082
|
-
defaultMessage: '<b>{percentage}%</b> of your team
|
|
1087
|
+
defaultMessage: '<b>{percentage}%</b> of your team sees <b>{provider}</b> previews.',
|
|
1083
1088
|
description: 'Social proof message shown on unauthorized 3P block cards when 30% or more of the tenant has connected the provider. {percentage} is a number, {provider} is the 3P app name (e.g. OneDrive).'
|
|
1084
1089
|
},
|
|
1085
1090
|
pre_auth_block_social_proof_low: {
|
|
1086
1091
|
id: 'fabric.linking.pre_auth_block_social_proof_low',
|
|
1087
|
-
defaultMessage: 'Your team
|
|
1092
|
+
defaultMessage: 'Your team sees richer <b>{provider}</b> previews.',
|
|
1088
1093
|
description: 'Social proof message shown on unauthorized 3P block cards when less than 30% of the tenant has connected the provider. {provider} is the 3P app name (e.g. OneDrive).'
|
|
1089
1094
|
}
|
|
1090
1095
|
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { useCallback } from 'react';
|
|
2
|
+
import { useCrossProductUrlWrapper } from '@atlaskit/analytics-cross-product/useCrossProductUrlWrapper';
|
|
3
|
+
import { useSmartLinkContext } from '@atlaskit/link-provider';
|
|
4
|
+
import { functionWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
5
|
+
const SMART_LINKS_XPC_BRIDGE = 'smartLinks';
|
|
6
|
+
const XPC_QUERY_PARAM = 'xpis';
|
|
7
|
+
export const getIsFirstPartyLink = details => {
|
|
8
|
+
var _is1PLink, _details$meta;
|
|
9
|
+
return ((_is1PLink = details === null || details === void 0 ? void 0 : (_details$meta = details.meta) === null || _details$meta === void 0 ? void 0 : _details$meta.is1PLink) !== null && _is1PLink !== void 0 ? _is1PLink : false) === true;
|
|
10
|
+
};
|
|
11
|
+
const identityUrlWrapper = url => url;
|
|
12
|
+
const useSmartLinkCrossProductUrlWrapperFallback = _args => identityUrlWrapper;
|
|
13
|
+
const useSmartLinkCrossProductUrlWrapper = ({
|
|
14
|
+
details
|
|
15
|
+
}) => {
|
|
16
|
+
var _product$toLowerCase;
|
|
17
|
+
const {
|
|
18
|
+
product
|
|
19
|
+
} = useSmartLinkContext();
|
|
20
|
+
const wrapUrl = useCrossProductUrlWrapper({
|
|
21
|
+
bridge: SMART_LINKS_XPC_BRIDGE,
|
|
22
|
+
product: (_product$toLowerCase = product === null || product === void 0 ? void 0 : product.toLowerCase()) !== null && _product$toLowerCase !== void 0 ? _product$toLowerCase : 'unknown'
|
|
23
|
+
});
|
|
24
|
+
return useCallback(url => {
|
|
25
|
+
if (!getIsFirstPartyLink(details) || !product) {
|
|
26
|
+
return url;
|
|
27
|
+
}
|
|
28
|
+
let parsedUrl;
|
|
29
|
+
try {
|
|
30
|
+
parsedUrl = new URL(url);
|
|
31
|
+
} catch {
|
|
32
|
+
return url;
|
|
33
|
+
}
|
|
34
|
+
if (parsedUrl.searchParams.has(XPC_QUERY_PARAM)) {
|
|
35
|
+
return url;
|
|
36
|
+
}
|
|
37
|
+
return wrapUrl(url);
|
|
38
|
+
}, [details, product, wrapUrl]);
|
|
39
|
+
};
|
|
40
|
+
export const useSmartLinkCrossProductUrlWrapperGated = functionWithFG('platform_smartlink_xpc_url_wrapping', useSmartLinkCrossProductUrlWrapper, useSmartLinkCrossProductUrlWrapperFallback);
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card" || '',
|
|
5
|
-
packageVersion: "44.
|
|
5
|
+
packageVersion: "44.18.0" || ''
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -11,6 +11,7 @@ import { useSmartLink } from '../../state';
|
|
|
11
11
|
import { succeedUfoExperience } from '../../state/analytics';
|
|
12
12
|
import { getClickUrl, getDefinitionId, getExtensionKey, getFirstPartyIdentifier, getObjectAri, getObjectIconUrl, getObjectName, getResourceType, getServices, getThirdPartyARI, isFinalState } from '../../state/helpers';
|
|
13
13
|
import useInlineActionNudgeExperiment from '../../state/hooks/use-inline-action-nudge-experiment';
|
|
14
|
+
import { useSmartLinkCrossProductUrlWrapperGated } from '../../state/hooks/use-smart-link-cross-product-url-wrapper';
|
|
14
15
|
import { SmartLinkModalProvider } from '../../state/modal';
|
|
15
16
|
import { isSpecialClick, isSpecialEvent, isSpecialKey } from '../../utils';
|
|
16
17
|
import { combineActionOptions } from '../../utils/actions/combine-action-options';
|
|
@@ -83,6 +84,9 @@ function Component({
|
|
|
83
84
|
const services = getServices(state.details);
|
|
84
85
|
const thirdPartyARI = getThirdPartyARI(state.details);
|
|
85
86
|
const firstPartyIdentifier = getFirstPartyIdentifier();
|
|
87
|
+
const wrapUrlWithCrossProductAnalytics = useSmartLinkCrossProductUrlWrapperGated({
|
|
88
|
+
details: state.details
|
|
89
|
+
});
|
|
86
90
|
const actionOptions = combineActionOptions({
|
|
87
91
|
actionOptions: actionOptionsProp,
|
|
88
92
|
platform
|
|
@@ -146,7 +150,12 @@ function Component({
|
|
|
146
150
|
// event by smart card internally
|
|
147
151
|
// If it has been called then only then can `isSpecialEvent` be true.
|
|
148
152
|
const target = isSpecialEvent(event) ? '_blank' : '_self';
|
|
149
|
-
|
|
153
|
+
if (fg('platform_smartlink_xpc_url_wrapping')) {
|
|
154
|
+
const wrappedUrl = wrapUrlWithCrossProductAnalytics(clickUrl);
|
|
155
|
+
window.open(wrappedUrl, target);
|
|
156
|
+
} else {
|
|
157
|
+
window.open(clickUrl, target);
|
|
158
|
+
}
|
|
150
159
|
fireLinkClickedEvent(createAnalyticsEvent)(event, {
|
|
151
160
|
attributes: {
|
|
152
161
|
clickOutcome: target === '_blank' ? 'clickThroughNewTabOrWindow' : 'clickThrough'
|
|
@@ -158,7 +167,7 @@ function Component({
|
|
|
158
167
|
}
|
|
159
168
|
fireLinkClickedEvent(createAnalyticsEvent)(event);
|
|
160
169
|
}
|
|
161
|
-
}, [fireEvent, id, isFlexibleUi, appearance, definitionId, onClick, url, state.details, ari, name, fire3PClickEvent, shouldFire3PClickEvent, isPreviewPanelAvailable, openPreviewPanel, createAnalyticsEvent, disablePreviewPanel]);
|
|
170
|
+
}, [fireEvent, id, isFlexibleUi, appearance, definitionId, onClick, url, wrapUrlWithCrossProductAnalytics, state.details, ari, name, fire3PClickEvent, shouldFire3PClickEvent, isPreviewPanelAvailable, openPreviewPanel, createAnalyticsEvent, disablePreviewPanel]);
|
|
162
171
|
|
|
163
172
|
// Exposure fires once per eligible mount; click-time reads use no-exposure variant.
|
|
164
173
|
useEffect(() => {
|
|
@@ -9,6 +9,7 @@ import VidFullScreenOnIcon from '@atlaskit/icon/core/fullscreen-enter';
|
|
|
9
9
|
import FullscreenExitIcon from '@atlaskit/icon/core/fullscreen-exit';
|
|
10
10
|
import ShortcutIcon from '@atlaskit/icon/core/link-external';
|
|
11
11
|
import { CloseButton, useModal } from '@atlaskit/modal-dialog';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
13
14
|
import { messages } from '../../../../messages';
|
|
14
15
|
import { Icon } from '../../../common/Icon';
|
|
@@ -48,12 +49,15 @@ const LinkInfo = ({
|
|
|
48
49
|
spacing: "spacious",
|
|
49
50
|
color: "currentColor"
|
|
50
51
|
}),
|
|
51
|
-
label: messages.download,
|
|
52
|
+
label: formatMessage(messages.download),
|
|
52
53
|
onClick: onDownloadButtonClick,
|
|
53
54
|
testId: `${testId}-download`
|
|
54
|
-
}), [onDownloadButtonClick, testId]);
|
|
55
|
+
}), [onDownloadButtonClick, testId, formatMessage]);
|
|
55
56
|
const urlButton = useMemo(() => {
|
|
56
57
|
if (onViewButtonClick) {
|
|
58
|
+
const label = providerName && fg('navx-4957-sl-embed-modal-a11y-label') ? formatMessage(messages.viewInProvider, {
|
|
59
|
+
providerName
|
|
60
|
+
}) : formatMessage(messages.viewOriginal);
|
|
57
61
|
const content = providerName ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormattedMessage, messages.viewIn), " ", providerName) : /*#__PURE__*/React.createElement(FormattedMessage, messages.viewOriginal);
|
|
58
62
|
return /*#__PURE__*/React.createElement(LinkInfoButton, {
|
|
59
63
|
content: content,
|
|
@@ -62,14 +66,13 @@ const LinkInfo = ({
|
|
|
62
66
|
spacing: "spacious",
|
|
63
67
|
color: "currentColor"
|
|
64
68
|
}),
|
|
65
|
-
label:
|
|
69
|
+
label: label,
|
|
66
70
|
onClick: onViewButtonClick,
|
|
67
71
|
testId: `${testId}-url`,
|
|
68
|
-
role: 'link'
|
|
69
|
-
"aria-label": messages.viewOriginal
|
|
72
|
+
role: 'link'
|
|
70
73
|
});
|
|
71
74
|
}
|
|
72
|
-
}, [onViewButtonClick, providerName, testId]);
|
|
75
|
+
}, [onViewButtonClick, providerName, testId, formatMessage]);
|
|
73
76
|
const sizeButton = useMemo(() => {
|
|
74
77
|
const isFullScreen = size === MAX_MODAL_SIZE;
|
|
75
78
|
const message = isFullScreen ? messages.preview_min_size : messages.preview_max_size;
|
|
@@ -85,11 +88,11 @@ const LinkInfo = ({
|
|
|
85
88
|
return /*#__PURE__*/React.createElement(LinkInfoButton, {
|
|
86
89
|
content: /*#__PURE__*/React.createElement(FormattedMessage, message),
|
|
87
90
|
icon: () => icon,
|
|
88
|
-
label: message,
|
|
91
|
+
label: formatMessage(message),
|
|
89
92
|
onClick: onResizeButtonClick,
|
|
90
93
|
testId: `${testId}-resize`
|
|
91
94
|
});
|
|
92
|
-
}, [onResizeButtonClick, size, testId]);
|
|
95
|
+
}, [onResizeButtonClick, size, testId, formatMessage]);
|
|
93
96
|
return /*#__PURE__*/React.createElement("div", {
|
|
94
97
|
className: ax(["_zulpu2gc _1e0c1txw _19bv1ejb _u5f31ejb _ca0q1ejb _n3tdpxbi _1wpz1fhb _4t3i1tcg"])
|
|
95
98
|
}, icon && /*#__PURE__*/React.createElement("div", {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl';
|
|
3
2
|
import { IconButton } from '@atlaskit/button/new';
|
|
4
3
|
import Tooltip from '@atlaskit/tooltip';
|
|
5
4
|
import { useMouseDownEvent } from '../../../../../state/analytics/useLinkClicked';
|
|
@@ -12,9 +11,6 @@ const LinkInfoButton = ({
|
|
|
12
11
|
role
|
|
13
12
|
}) => {
|
|
14
13
|
const onMouseDown = useMouseDownEvent();
|
|
15
|
-
const {
|
|
16
|
-
formatMessage
|
|
17
|
-
} = useIntl();
|
|
18
14
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
19
15
|
content: content,
|
|
20
16
|
hideTooltipOnClick: true,
|
|
@@ -23,7 +19,7 @@ const LinkInfoButton = ({
|
|
|
23
19
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
24
20
|
appearance: "subtle",
|
|
25
21
|
icon: icon,
|
|
26
|
-
label:
|
|
22
|
+
label: label,
|
|
27
23
|
onClick: onClick,
|
|
28
24
|
onMouseDown: onMouseDown,
|
|
29
25
|
testId: `${testId}-button`,
|
|
@@ -73,10 +73,10 @@ const UnauthorisedConnectWithSocialProof = ({
|
|
|
73
73
|
}, chunks);
|
|
74
74
|
|
|
75
75
|
// As long as pill is shown it will be one of four messages depending on percent and provider presence:
|
|
76
|
-
// - 45% of your team
|
|
77
|
-
// - 45% of your team previews
|
|
78
|
-
// - Your team
|
|
79
|
-
// - Your team
|
|
76
|
+
// - 45% of your team sees Figma previews
|
|
77
|
+
// - 45% of your team sees richer previews
|
|
78
|
+
// - Your team sees richer Figma previews
|
|
79
|
+
// - Your team sees richer previews
|
|
80
80
|
const socialProofPillContent = isSocialProofUsageHighEnough ? hasProviderDisplayName ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.social_proof_inline_cta_tag_high_with_context, {
|
|
81
81
|
values: {
|
|
82
82
|
connectedPct,
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "44.
|
|
12
|
+
packageVersion: "44.18.0",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ecf23d8ca9430e7a7822d563282c7e01e522031d4aed43e2b2a4358ca3c3c863
|
|
3
|
+
size 16362
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:ea60c642e1bb7dc884beb55e9efb697bcd62bae6d099c4f249f969a29bc59a3f
|
|
3
|
+
size 16959
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:96ef155029fce86ddc1ea27e65061e7294033ccf5777121c8f1e5ee19efe7714
|
|
3
|
+
size 19679
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:815b854a0a5c3cd0c1b66544a2ab4760d3b3b97a49adf1acd1424ae51eb2f61b
|
|
3
|
+
size 18202
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:2d08c03cff5d965f20d87dc4f1b03ebd971297fc4c3ed1eb62139658f1ddb8e5
|
|
3
|
+
size 19891
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:0c35266458c27057a961dd7d6e33ff9a7f0f646743e24cd53798a9935b4fd2ff
|
|
3
|
+
size 18959
|