@atlaskit/smart-card 19.1.10 → 19.1.13

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.
Files changed (201) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/extractors/common/context/extractAccessContext.js +1 -1
  3. package/dist/cjs/i18n/cs.js +127 -5
  4. package/dist/cjs/i18n/da.js +126 -5
  5. package/dist/cjs/i18n/de.js +127 -5
  6. package/dist/cjs/i18n/en.js +127 -5
  7. package/dist/cjs/i18n/en_GB.js +127 -5
  8. package/dist/cjs/i18n/en_ZZ.js +127 -5
  9. package/dist/cjs/i18n/es.js +127 -5
  10. package/dist/cjs/i18n/et.js +87 -1
  11. package/dist/cjs/i18n/fi.js +127 -5
  12. package/dist/cjs/i18n/fr.js +127 -5
  13. package/dist/cjs/i18n/hu.js +127 -5
  14. package/dist/cjs/i18n/index.js +239 -0
  15. package/dist/cjs/i18n/is.js +77 -0
  16. package/dist/cjs/i18n/it.js +127 -5
  17. package/dist/cjs/i18n/ja.js +127 -5
  18. package/dist/cjs/i18n/ko.js +127 -5
  19. package/dist/cjs/i18n/languages.js +33 -0
  20. package/dist/cjs/i18n/nb.js +127 -5
  21. package/dist/cjs/i18n/nl.js +127 -5
  22. package/dist/cjs/i18n/pl.js +127 -5
  23. package/dist/cjs/i18n/pt_BR.js +127 -5
  24. package/dist/cjs/i18n/pt_PT.js +87 -1
  25. package/dist/cjs/i18n/ro.js +77 -0
  26. package/dist/cjs/i18n/ru.js +127 -5
  27. package/dist/cjs/i18n/sk.js +87 -1
  28. package/dist/cjs/i18n/sv.js +127 -5
  29. package/dist/cjs/i18n/th.js +127 -5
  30. package/dist/cjs/i18n/tr.js +127 -5
  31. package/dist/cjs/i18n/uk.js +127 -5
  32. package/dist/cjs/i18n/vi.js +127 -5
  33. package/dist/cjs/i18n/zh.js +127 -5
  34. package/dist/cjs/i18n/zh_TW.js +127 -5
  35. package/dist/cjs/messages.js +167 -2
  36. package/dist/cjs/version.json +1 -1
  37. package/dist/cjs/view/BlockCard/actions/AuthorizeAction.js +1 -1
  38. package/dist/cjs/view/BlockCard/actions/DownloadAction.js +1 -1
  39. package/dist/cjs/view/BlockCard/actions/ForbiddenAction.js +1 -1
  40. package/dist/cjs/view/BlockCard/actions/PreviewAction.js +1 -1
  41. package/dist/cjs/view/BlockCard/actions/RetryAction.js +1 -1
  42. package/dist/cjs/view/BlockCard/actions/ViewAction.js +1 -1
  43. package/dist/cjs/view/BlockCard/views/ErroredView.js +1 -1
  44. package/dist/cjs/view/BlockCard/views/ForbiddenView.js +1 -1
  45. package/dist/cjs/view/BlockCard/views/NotFoundView.js +1 -1
  46. package/dist/cjs/view/BlockCard/views/ResolvingView.js +1 -1
  47. package/dist/cjs/view/BlockCard/views/UnauthorizedView.js +1 -1
  48. package/dist/cjs/view/EmbedCard/views/ErroredView.js +1 -1
  49. package/dist/cjs/view/EmbedCard/views/UnresolvedView.js +1 -1
  50. package/dist/cjs/view/FlexibleCard/utils.js +2 -2
  51. package/dist/cjs/view/HoverCard/index.js +3 -1
  52. package/dist/cjs/view/InlineCard/ErroredView/index.js +1 -1
  53. package/dist/cjs/view/InlineCard/ForbiddenView/index.js +1 -1
  54. package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +1 -1
  55. package/dist/cjs/view/common/ModalHeader.js +1 -1
  56. package/dist/es2019/extractors/common/context/extractAccessContext.js +1 -1
  57. package/dist/es2019/i18n/cs.js +127 -5
  58. package/dist/es2019/i18n/da.js +126 -5
  59. package/dist/es2019/i18n/de.js +127 -5
  60. package/dist/es2019/i18n/en.js +127 -5
  61. package/dist/es2019/i18n/en_GB.js +127 -5
  62. package/dist/es2019/i18n/en_ZZ.js +127 -5
  63. package/dist/es2019/i18n/es.js +127 -5
  64. package/dist/es2019/i18n/et.js +87 -1
  65. package/dist/es2019/i18n/fi.js +127 -5
  66. package/dist/es2019/i18n/fr.js +127 -5
  67. package/dist/es2019/i18n/hu.js +127 -5
  68. package/dist/es2019/i18n/index.js +35 -0
  69. package/dist/es2019/i18n/is.js +70 -0
  70. package/dist/es2019/i18n/it.js +127 -5
  71. package/dist/es2019/i18n/ja.js +127 -5
  72. package/dist/es2019/i18n/ko.js +127 -5
  73. package/dist/es2019/i18n/languages.js +26 -0
  74. package/dist/es2019/i18n/nb.js +127 -5
  75. package/dist/es2019/i18n/nl.js +127 -5
  76. package/dist/es2019/i18n/pl.js +127 -5
  77. package/dist/es2019/i18n/pt_BR.js +127 -5
  78. package/dist/es2019/i18n/pt_PT.js +87 -1
  79. package/dist/es2019/i18n/ro.js +70 -0
  80. package/dist/es2019/i18n/ru.js +127 -5
  81. package/dist/es2019/i18n/sk.js +87 -1
  82. package/dist/es2019/i18n/sv.js +127 -5
  83. package/dist/es2019/i18n/th.js +127 -5
  84. package/dist/es2019/i18n/tr.js +127 -5
  85. package/dist/es2019/i18n/uk.js +127 -5
  86. package/dist/es2019/i18n/vi.js +127 -5
  87. package/dist/es2019/i18n/zh.js +127 -5
  88. package/dist/es2019/i18n/zh_TW.js +127 -5
  89. package/dist/es2019/messages.js +167 -2
  90. package/dist/es2019/version.json +1 -1
  91. package/dist/es2019/view/BlockCard/actions/AuthorizeAction.js +1 -1
  92. package/dist/es2019/view/BlockCard/actions/DownloadAction.js +1 -1
  93. package/dist/es2019/view/BlockCard/actions/ForbiddenAction.js +1 -1
  94. package/dist/es2019/view/BlockCard/actions/PreviewAction.js +1 -1
  95. package/dist/es2019/view/BlockCard/actions/RetryAction.js +1 -1
  96. package/dist/es2019/view/BlockCard/actions/ViewAction.js +1 -1
  97. package/dist/es2019/view/BlockCard/views/ErroredView.js +1 -1
  98. package/dist/es2019/view/BlockCard/views/ForbiddenView.js +1 -1
  99. package/dist/es2019/view/BlockCard/views/NotFoundView.js +1 -1
  100. package/dist/es2019/view/BlockCard/views/ResolvingView.js +1 -1
  101. package/dist/es2019/view/BlockCard/views/UnauthorizedView.js +1 -1
  102. package/dist/es2019/view/EmbedCard/views/ErroredView.js +1 -1
  103. package/dist/es2019/view/EmbedCard/views/UnresolvedView.js +1 -1
  104. package/dist/es2019/view/FlexibleCard/utils.js +2 -2
  105. package/dist/es2019/view/HoverCard/index.js +3 -1
  106. package/dist/es2019/view/InlineCard/ErroredView/index.js +1 -1
  107. package/dist/es2019/view/InlineCard/ForbiddenView/index.js +1 -1
  108. package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +1 -1
  109. package/dist/es2019/view/common/ModalHeader.js +1 -1
  110. package/dist/esm/extractors/common/context/extractAccessContext.js +1 -1
  111. package/dist/esm/i18n/cs.js +127 -5
  112. package/dist/esm/i18n/da.js +126 -5
  113. package/dist/esm/i18n/de.js +127 -5
  114. package/dist/esm/i18n/en.js +127 -5
  115. package/dist/esm/i18n/en_GB.js +127 -5
  116. package/dist/esm/i18n/en_ZZ.js +127 -5
  117. package/dist/esm/i18n/es.js +127 -5
  118. package/dist/esm/i18n/et.js +87 -1
  119. package/dist/esm/i18n/fi.js +127 -5
  120. package/dist/esm/i18n/fr.js +127 -5
  121. package/dist/esm/i18n/hu.js +127 -5
  122. package/dist/esm/i18n/index.js +35 -0
  123. package/dist/esm/i18n/is.js +70 -0
  124. package/dist/esm/i18n/it.js +127 -5
  125. package/dist/esm/i18n/ja.js +127 -5
  126. package/dist/esm/i18n/ko.js +127 -5
  127. package/dist/esm/i18n/languages.js +26 -0
  128. package/dist/esm/i18n/nb.js +127 -5
  129. package/dist/esm/i18n/nl.js +127 -5
  130. package/dist/esm/i18n/pl.js +127 -5
  131. package/dist/esm/i18n/pt_BR.js +127 -5
  132. package/dist/esm/i18n/pt_PT.js +87 -1
  133. package/dist/esm/i18n/ro.js +70 -0
  134. package/dist/esm/i18n/ru.js +127 -5
  135. package/dist/esm/i18n/sk.js +87 -1
  136. package/dist/esm/i18n/sv.js +127 -5
  137. package/dist/esm/i18n/th.js +127 -5
  138. package/dist/esm/i18n/tr.js +127 -5
  139. package/dist/esm/i18n/uk.js +127 -5
  140. package/dist/esm/i18n/vi.js +127 -5
  141. package/dist/esm/i18n/zh.js +127 -5
  142. package/dist/esm/i18n/zh_TW.js +127 -5
  143. package/dist/esm/messages.js +167 -2
  144. package/dist/esm/version.json +1 -1
  145. package/dist/esm/view/BlockCard/actions/AuthorizeAction.js +1 -1
  146. package/dist/esm/view/BlockCard/actions/DownloadAction.js +1 -1
  147. package/dist/esm/view/BlockCard/actions/ForbiddenAction.js +1 -1
  148. package/dist/esm/view/BlockCard/actions/PreviewAction.js +1 -1
  149. package/dist/esm/view/BlockCard/actions/RetryAction.js +1 -1
  150. package/dist/esm/view/BlockCard/actions/ViewAction.js +1 -1
  151. package/dist/esm/view/BlockCard/views/ErroredView.js +1 -1
  152. package/dist/esm/view/BlockCard/views/ForbiddenView.js +1 -1
  153. package/dist/esm/view/BlockCard/views/NotFoundView.js +1 -1
  154. package/dist/esm/view/BlockCard/views/ResolvingView.js +1 -1
  155. package/dist/esm/view/BlockCard/views/UnauthorizedView.js +1 -1
  156. package/dist/esm/view/EmbedCard/views/ErroredView.js +1 -1
  157. package/dist/esm/view/EmbedCard/views/UnresolvedView.js +1 -1
  158. package/dist/esm/view/FlexibleCard/utils.js +2 -2
  159. package/dist/esm/view/HoverCard/index.js +3 -1
  160. package/dist/esm/view/InlineCard/ErroredView/index.js +1 -1
  161. package/dist/esm/view/InlineCard/ForbiddenView/index.js +1 -1
  162. package/dist/esm/view/InlineCard/UnauthorisedView/index.js +1 -1
  163. package/dist/esm/view/common/ModalHeader.js +1 -1
  164. package/dist/types/i18n/cs.d.ts +126 -4
  165. package/dist/types/i18n/da.d.ts +125 -4
  166. package/dist/types/i18n/de.d.ts +126 -4
  167. package/dist/types/i18n/en.d.ts +126 -4
  168. package/dist/types/i18n/en_GB.d.ts +126 -4
  169. package/dist/types/i18n/en_ZZ.d.ts +126 -4
  170. package/dist/types/i18n/es.d.ts +126 -4
  171. package/dist/types/i18n/et.d.ts +87 -1
  172. package/dist/types/i18n/fi.d.ts +126 -4
  173. package/dist/types/i18n/fr.d.ts +126 -4
  174. package/dist/types/i18n/hu.d.ts +126 -4
  175. package/dist/types/i18n/index.d.ts +35 -0
  176. package/dist/types/i18n/is.d.ts +70 -0
  177. package/dist/types/i18n/it.d.ts +126 -4
  178. package/dist/types/i18n/ja.d.ts +126 -4
  179. package/dist/types/i18n/ko.d.ts +126 -4
  180. package/dist/types/i18n/languages.d.ts +27 -0
  181. package/dist/types/i18n/nb.d.ts +126 -4
  182. package/dist/types/i18n/nl.d.ts +126 -4
  183. package/dist/types/i18n/pl.d.ts +126 -4
  184. package/dist/types/i18n/pt_BR.d.ts +126 -4
  185. package/dist/types/i18n/pt_PT.d.ts +87 -1
  186. package/dist/types/i18n/ro.d.ts +70 -0
  187. package/dist/types/i18n/ru.d.ts +126 -4
  188. package/dist/types/i18n/sk.d.ts +87 -1
  189. package/dist/types/i18n/sv.d.ts +126 -4
  190. package/dist/types/i18n/th.d.ts +126 -4
  191. package/dist/types/i18n/tr.d.ts +126 -4
  192. package/dist/types/i18n/uk.d.ts +126 -4
  193. package/dist/types/i18n/vi.d.ts +126 -4
  194. package/dist/types/i18n/zh.d.ts +126 -4
  195. package/dist/types/i18n/zh_TW.d.ts +126 -4
  196. package/dist/types/messages.d.ts +2 -1
  197. package/dist/types/types.d.ts +1 -1
  198. package/dist/types/view/EmbedCard/types.d.ts +1 -1
  199. package/dist/types/view/EmbedCard/views/UnresolvedView.d.ts +1 -1
  200. package/dist/types/view/types.d.ts +1 -1
  201. package/package.json +8 -9
@@ -8,14 +8,13 @@
8
8
  export default {
9
9
  'fabric.linking.cannot_connect': '無法連結,請再試一次',
10
10
  'fabric.linking.cannot_find_link': '找不到連結',
11
- 'fabric.linking.click_to_join': '加入 {context} 以查看此議題',
12
- 'fabric.linking.connect_link_account': '連線以預覽',
11
+ 'fabric.linking.join_to_view': '加入 {context} 以查看此議題',
13
12
  'fabric.linking.create_on': '建立時間:{context}',
14
13
  'fabric.linking.created_by': '建立者:{context}',
15
14
  'fabric.linking.delete': '刪除',
16
15
  'fabric.linking.edit': '編輯',
17
16
  'fabric.linking.forbidden_access': '您的存取遭拒',
18
- 'fabric.linking.invalid_permissions': '連結受到限制,請嘗試其他帳戶',
17
+ 'fabric.linking.restricted_link': '連結受到限制,請嘗試其他帳戶',
19
18
  'fabric.linking.modified_on': '更新時間:{context}',
20
19
  'fabric.linking.pending_request': '您的存取要求擱置中',
21
20
  'fabric.linking.priority_blocker': '封鎖程式',
@@ -29,7 +28,130 @@ export default {
29
28
  'fabric.linking.priority_minor': '次要',
30
29
  'fabric.linking.priority_trivial': '不太重要',
31
30
  'fabric.linking.priority_undefined': '未定義',
32
- 'fabric.linking.request_access': '要求存取 {context} 以檢視此議題',
31
+ 'fabric.linking.request_access_to_view': '要求存取 {context} 以檢視此議題',
33
32
  'fabric.linking.request_denied': '您的存取要求遭拒',
34
- 'fabric.linking.updated_by': '修改者:{context}'
33
+ 'fabric.linking.updated_by': '修改者:{context}',
34
+ 'fabric.linking.accounts': '帳戶',
35
+ 'fabric.linking.actions': '動作',
36
+ 'fabric.linking.add_account': '新增帳戶',
37
+ 'fabric.linking.annotate': '加上註解',
38
+ 'fabric.linking.annotate.confirmation.close.anyway': '仍要關閉',
39
+ 'fabric.linking.annotate.confirmation.content': '您有一些未儲存的變更,確定要離開嗎?',
40
+ 'fabric.linking.annotate.confirmation.heading': '未儲存的變更',
41
+ 'fabric.linking.annotate.tool.arrow': '箭頭',
42
+ 'fabric.linking.annotate.tool.blur': '模糊',
43
+ 'fabric.linking.annotate.tool.brush': '筆刷',
44
+ 'fabric.linking.annotate.tool.color': '顏色',
45
+ 'fabric.linking.annotate.tool.line.thickness': '線條粗細',
46
+ 'fabric.linking.annotate.tool.shape': '形狀',
47
+ 'fabric.linking.annotate.tool.text': '文字',
48
+ 'fabric.linking.archive': '封存',
49
+ 'fabric.linking.audio': '音訊',
50
+ 'fabric.linking.cancel': '取消',
51
+ 'fabric.linking.cant_preview_file_type': '我們無法預覽此檔案類型。',
52
+ 'fabric.linking.cant_retrieve_files': '唉呦!我們無法擷取任何檔案',
53
+ 'fabric.linking.cant_retrieve_gifs': '唉呦!我們無法擷取任何 GIF',
54
+ 'fabric.linking.change_view': '變更檢視畫面',
55
+ 'fabric.linking.check_your_network': '請檢查您的網路連線',
56
+ 'fabric.linking.click_to_join': '加入 {context}',
57
+ 'fabric.linking.click_to_join_description': '您已獲得核准,因此可以立即加入 {context}。',
58
+ 'fabric.linking.close': '關閉',
59
+ 'fabric.linking.close_and_reopen': '請試著關閉此檔案,然後再重新開啟。',
60
+ 'fabric.linking.connect_account_description': '我們會開啟新的頁面來協助您連結 {name} 帳戶',
61
+ 'fabric.linking.connect_link_account': '連線以預覽',
62
+ 'fabric.linking.connect_link_account_card_view': '連結',
63
+ 'fabric.linking.connect_link_account_card_view_description': '若要顯示此連結的預覽,請連接您的 {context} 帳戶。',
64
+ 'fabric.linking.connect_link_account_card_view_name': '連結 {context} 帳戶',
65
+ 'fabric.linking.connect_to': '連結至 {name}',
66
+ 'fabric.linking.could_not_load_editor': '唉呦!我們無法載入編輯器',
67
+ 'fabric.linking.could_not_save_image': '唉呦!我們無法儲存影像',
68
+ 'fabric.linking.couldnt_generate_encrypted_entry_preview': '我們無法預覽加密或以密碼保護的檔案。',
69
+ 'fabric.linking.couldnt_generate_preview': '我們無法為此檔案產生預覽。',
70
+ 'fabric.linking.couldnt_load_file': '我們無法載入檔案。',
71
+ 'fabric.linking.couldnt_load_link': '基於不明原因,我們無法載入此連結。',
72
+ 'fabric.linking.creating_preview': '正在建立預覽...',
73
+ 'fabric.linking.default_avatars': '預設顯示圖片',
74
+ 'fabric.linking.disable_fullscreen': '停用全螢幕',
75
+ 'fabric.linking.display_thumbnail': '顯示縮圖',
76
+ 'fabric.linking.document': '文件',
77
+ 'fabric.linking.download': '下載',
78
+ 'fabric.linking.drag_and_drop_images_here': '將影像拖曳至此',
79
+ 'fabric.linking.drag_and_drop_your_files': '將檔案拖曳至任何位置或',
80
+ 'fabric.linking.drag_and_drop_your_files_and_folders': '將檔案和資料夾拖曳至任何位置或',
81
+ 'fabric.linking.drop_your_files': '置放要上傳的檔案',
82
+ 'fabric.linking.drop_your_files_here': '將檔案置放在此',
83
+ 'fabric.linking.email': '電子郵件',
84
+ 'fabric.linking.enable_fullscreen': '啟用全螢幕',
85
+ 'fabric.linking.error_429': '錯誤 429',
86
+ 'fabric.linking.error_generating_preview': '產生預覽時發生錯誤',
87
+ 'fabric.linking.error_hint_critical': '如果問題持續發生,請聯絡支援人員。',
88
+ 'fabric.linking.error_hint_retry': '請再試一次。',
89
+ 'fabric.linking.error_loading_file': '載入檔案時發生錯誤',
90
+ 'fabric.linking.failed_to_load': '無法載入',
91
+ 'fabric.linking.failed_to_upload': '無法上傳',
92
+ 'fabric.linking.forbidden_description': '您沒有此預覽的存取權。如果您需要存取權,請連絡網站管理員。',
93
+ 'fabric.linking.give_feedback': '提供意見反應',
94
+ 'fabric.linking.image': '影像',
95
+ 'fabric.linking.image_format_invalid_error': '無法載入影像,格式無效。',
96
+ 'fabric.linking.image_size_too_large_error': '影像太大,不得大於 {MAX_SIZE_MB}Mb',
97
+ 'fabric.linking.image_url_invalid_error': '無法載入影像,URL 無效。',
98
+ 'fabric.linking.insert_files': '{0, plural, other {插入 {0} 個檔案}}',
99
+ 'fabric.linking.invalid_permissions': '限制連結',
100
+ 'fabric.linking.invalid_permissions_description': '您需要請求存取或嘗試不同的帳戶,來檢視此預覽。',
101
+ 'fabric.linking.item_not_found_in_list': '在清單上找不到所選的項目。',
102
+ 'fabric.linking.learn_more': '深入了解',
103
+ 'fabric.linking.load_more_gifs': '載入更多 GIF',
104
+ 'fabric.linking.loading': '正在載入...',
105
+ 'fabric.linking.loading_file': '正在載入檔案...',
106
+ 'fabric.linking.might_be_a_hiccup': '可能只是出了點小問題。',
107
+ 'fabric.linking.no_gifs_found': '嗨!您找我嗎?',
108
+ 'fabric.linking.no_gifs_found_suggestion': '我們找不到符合「{query}」的項目',
109
+ 'fabric.linking.no_pdf_artifacts': '找不到符合此檔案的 PDF 成品。',
110
+ 'fabric.linking.not_found_description': '我們找不到此連結。請檢查 URL,然後試著編輯或再次貼上。',
111
+ 'fabric.linking.not_found_title': '糟糕,我們找不到此連結!',
112
+ 'fabric.linking.or': '或',
113
+ 'fabric.linking.pause': '暫停',
114
+ 'fabric.linking.play': '播放',
115
+ 'fabric.linking.playback_default_speed': '預設',
116
+ 'fabric.linking.playback_speed': '播放速度',
117
+ 'fabric.linking.preview': '預覽',
118
+ 'fabric.linking.preview_currently_unavailable': '目前無法預覽',
119
+ 'fabric.linking.preview_unavailable': '無法建立預覽',
120
+ 'fabric.linking.recent_uploads': '最近上傳的項目',
121
+ 'fabric.linking.remove_image': '移除影像',
122
+ 'fabric.linking.request_access': '要求存取權',
123
+ 'fabric.linking.request_access_description': '要求 {context} 的存取權以檢視此預覽。',
124
+ 'fabric.linking.request_access_pending': '存取擱置',
125
+ 'fabric.linking.request_access_pending_description': '您的存取要求擱置中。',
126
+ 'fabric.linking.request_denied_description': '您的存取要求遭到拒絕。如果您仍需要存取權,請連絡網站管理員。',
127
+ 'fabric.linking.retry': '重試',
128
+ 'fabric.linking.save': '儲存',
129
+ 'fabric.linking.search': '搜尋',
130
+ 'fabric.linking.search_all_gifs': '搜尋所有 GIF!',
131
+ 'fabric.linking.share_files_instantly': '我們會立即分享',
132
+ 'fabric.linking.skip_backward': '倒退 10 秒',
133
+ 'fabric.linking.skip_forward': '快轉 10 秒',
134
+ 'fabric.linking.something_went_wrong': '發生錯誤。',
135
+ 'fabric.linking.srclink': '使用以下檢視:',
136
+ 'fabric.linking.srclinkunknown': '檢視原始狀態',
137
+ 'fabric.linking.text': '文字',
138
+ 'fabric.linking.try_again': '再試一次',
139
+ 'fabric.linking.try_another_account': '使用其他帳戶嘗試',
140
+ 'fabric.linking.try_downloading_file': '嘗試下載檔案來進行檢視。',
141
+ 'fabric.linking.unable_to_annotate_image': '您無法對此影像加上註解',
142
+ 'fabric.linking.unknown': '未知',
143
+ 'fabric.linking.unlink_account': '取消帳戶的連結',
144
+ 'fabric.linking.upload': '上傳',
145
+ 'fabric.linking.upload_an_avatar': '上傳圖片',
146
+ 'fabric.linking.upload_file': '上傳檔案',
147
+ 'fabric.linking.upload_file_from': '從 {name} 上傳檔案',
148
+ 'fabric.linking.upload_image': '上傳影像',
149
+ 'fabric.linking.upload_photo': '上傳相片',
150
+ 'fabric.linking.video': '影片',
151
+ 'fabric.linking.view': '檢視',
152
+ 'fabric.linking.viewer_rateLimited': '載入您的檔案時發生問題。',
153
+ 'fabric.linking.webgl_warning_description': '您的瀏覽器不支援 WebGL。使用啟用 WebGL 的瀏覽器來為影像加上註解。',
154
+ 'fabric.linking.zip_entry_load_failed': '我們無法載入該 zip 檔案項目來進行預覽',
155
+ 'fabric.linking.zoom_in': '縮小',
156
+ 'fabric.linking.zoom_out': '放大'
35
157
  };
@@ -1,5 +1,20 @@
1
1
  import { defineMessages } from 'react-intl-next';
2
2
  export const messages = defineMessages({
3
+ actions: {
4
+ id: 'fabric.linking.actions',
5
+ defaultMessage: 'Actions',
6
+ description: ''
7
+ },
8
+ add_account: {
9
+ id: 'fabric.linking.add_account',
10
+ defaultMessage: 'Add account',
11
+ description: 'Allows to add a new account'
12
+ },
13
+ cancel: {
14
+ id: 'fabric.linking.cancel',
15
+ defaultMessage: 'Cancel',
16
+ description: 'cancel'
17
+ },
3
18
  cannot_connect: {
4
19
  id: 'fabric.linking.cannot_connect',
5
20
  defaultMessage: "Can't connect, try again",
@@ -12,14 +27,54 @@ export const messages = defineMessages({
12
27
  },
13
28
  click_to_join: {
14
29
  id: 'fabric.linking.click_to_join',
15
- defaultMessage: 'Join {context} to view this issue',
30
+ defaultMessage: 'Join {context}',
16
31
  description: 'Allows the user join the product or service immediately'
17
32
  },
33
+ click_to_join_description: {
34
+ id: 'fabric.linking.click_to_join_description',
35
+ defaultMessage: "You've been approved, so you can join {context} right away.",
36
+ description: 'Informs the user that they have access to this product, and can sign up or join right away.'
37
+ },
38
+ close: {
39
+ id: 'fabric.linking.close',
40
+ defaultMessage: 'Close',
41
+ description: ''
42
+ },
43
+ connect_to: {
44
+ id: 'fabric.linking.connect_to',
45
+ defaultMessage: 'Connect to {name}',
46
+ description: 'Allows the user to connect with different types of external services'
47
+ },
48
+ connect_account_description: {
49
+ id: 'fabric.linking.connect_account_description',
50
+ defaultMessage: "We'll open a new page to help you connect your {name} account",
51
+ description: 'Explains what will happen when the users connects to a new account'
52
+ },
18
53
  connect_link_account: {
19
54
  id: 'fabric.linking.connect_link_account',
20
55
  defaultMessage: 'Connect to preview',
21
56
  description: 'Shown when a user does not have access to a link, but can connect their external account to view the link.'
22
57
  },
58
+ connect_link_account_card: {
59
+ id: 'fabric.linking.connect_link_account_card_view',
60
+ defaultMessage: 'Connect',
61
+ description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view.'
62
+ },
63
+ connect_link_account_card_name: {
64
+ id: 'fabric.linking.connect_link_account_card_view_name',
65
+ defaultMessage: 'Connect your {context} account',
66
+ description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view. Displayed in title.'
67
+ },
68
+ connect_link_account_card_description: {
69
+ id: 'fabric.linking.connect_link_account_card_view_description',
70
+ defaultMessage: 'To show a preview of this link, connect your {context} account.',
71
+ description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view. Displayed in byline.'
72
+ },
73
+ could_not_load_link: {
74
+ id: 'fabric.linking.couldnt_load_link',
75
+ defaultMessage: "We couldn't load this link for an unknown reason.",
76
+ description: 'Error case for card view - link could not be loaded.'
77
+ },
23
78
  created_by: {
24
79
  id: 'fabric.linking.created_by',
25
80
  defaultMessage: 'Created by {context}',
@@ -40,11 +95,41 @@ export const messages = defineMessages({
40
95
  defaultMessage: 'Delete',
41
96
  description: 'Allow a user to delete a link'
42
97
  },
98
+ download: {
99
+ id: 'fabric.linking.download',
100
+ defaultMessage: 'Download',
101
+ description: ''
102
+ },
43
103
  edit: {
44
104
  id: 'fabric.linking.edit',
45
105
  defaultMessage: 'Edit',
46
106
  description: 'Allow a user to edit a link'
47
107
  },
108
+ forbidden_description: {
109
+ id: 'fabric.linking.forbidden_description',
110
+ defaultMessage: 'You don’t have access to this preview. Contact the site admin if you need access.',
111
+ description: 'Informs the user that they cannot view this content.'
112
+ },
113
+ invalid_permissions: {
114
+ id: 'fabric.linking.invalid_permissions',
115
+ defaultMessage: 'Restricted link',
116
+ description: 'Message shown when a user does not have permissions to view an item'
117
+ },
118
+ invalid_permissions_description: {
119
+ id: 'fabric.linking.invalid_permissions_description',
120
+ defaultMessage: "You'll need to request access or try a different account to view this preview.",
121
+ description: 'Message shown when a user does not have permissions to view an item. Displayed as description.'
122
+ },
123
+ join_to_view: {
124
+ id: 'fabric.linking.join_to_view',
125
+ defaultMessage: 'Join {context} to view this issue',
126
+ description: 'Allows the user join the product or service immediately'
127
+ },
128
+ loading: {
129
+ id: 'fabric.linking.loading',
130
+ defaultMessage: 'Loading...',
131
+ description: 'Indicates an element on a page is loading.'
132
+ },
48
133
  modified_by: {
49
134
  id: 'fabric.linking.updated_by',
50
135
  defaultMessage: 'Modified by {context}',
@@ -65,6 +150,21 @@ export const messages = defineMessages({
65
150
  defaultMessage: 'More actions',
66
151
  description: 'Allows the users to see more link actions'
67
152
  },
153
+ not_found_description: {
154
+ id: 'fabric.linking.not_found_description',
155
+ defaultMessage: "We couldn't find the link. Check the url and try editing or paste again.",
156
+ description: 'Error case for when a provided item is not found within the list of items'
157
+ },
158
+ not_found_title: {
159
+ id: 'fabric.linking.not_found_title',
160
+ defaultMessage: "Uh oh. We can't find this link!",
161
+ description: 'Error case for when a provided link is not found'
162
+ },
163
+ preview: {
164
+ id: 'fabric.linking.preview',
165
+ defaultMessage: 'Preview',
166
+ description: 'Click to view a richer view of your content, without needing to navigate to it.'
167
+ },
68
168
  priority_blocker: {
69
169
  id: 'fabric.linking.priority_blocker',
70
170
  defaultMessage: 'Blocker',
@@ -131,12 +231,32 @@ export const messages = defineMessages({
131
231
  description: 'Shown when a user has requested an access but status is pending.'
132
232
  },
133
233
  restricted_link: {
134
- id: 'fabric.linking.invalid_permissions',
234
+ id: 'fabric.linking.restricted_link',
135
235
  defaultMessage: 'Restricted link, try another account',
136
236
  description: 'Message shown when a user does not have permissions to view an item'
137
237
  },
138
238
  request_access: {
139
239
  id: 'fabric.linking.request_access',
240
+ defaultMessage: 'Request access',
241
+ description: 'Allows the user to request access to a product or service'
242
+ },
243
+ request_access_description: {
244
+ id: 'fabric.linking.request_access_description',
245
+ defaultMessage: 'Request access to {context} view this preview.',
246
+ description: 'Allows the user to request access to a product'
247
+ },
248
+ request_access_pending: {
249
+ id: 'fabric.linking.request_access_pending',
250
+ defaultMessage: 'Access pending',
251
+ description: 'Allows the user to try an action again with their current account'
252
+ },
253
+ request_access_pending_description: {
254
+ id: 'fabric.linking.request_access_pending_description',
255
+ defaultMessage: 'Your access request is pending.',
256
+ description: 'Informs the user that their request to view this content is pending'
257
+ },
258
+ request_access_to_view: {
259
+ id: 'fabric.linking.request_access_to_view',
140
260
  defaultMessage: 'Request access to {context} to view this issue',
141
261
  description: 'Allows the user to request access to a product or service'
142
262
  },
@@ -144,5 +264,50 @@ export const messages = defineMessages({
144
264
  id: 'fabric.linking.request_denied',
145
265
  defaultMessage: 'Your access request was denied',
146
266
  description: 'The user had request access but the request was denied by a product or service'
267
+ },
268
+ request_denied_description: {
269
+ id: 'fabric.linking.request_denied_description',
270
+ defaultMessage: 'Your access request was denied. Contact the site admin if you still need access.',
271
+ description: 'Informs the user that their request to view this content was denied'
272
+ },
273
+ retry: {
274
+ id: 'fabric.linking.retry',
275
+ defaultMessage: 'Retry',
276
+ description: 'Allows user to perform an action again'
277
+ },
278
+ save: {
279
+ id: 'fabric.linking.save',
280
+ defaultMessage: 'Save',
281
+ description: 'Just the "save" word'
282
+ },
283
+ try_again: {
284
+ id: 'fabric.linking.try_again',
285
+ defaultMessage: 'Try again',
286
+ description: 'Allow the user to try an action again'
287
+ },
288
+ try_another_account: {
289
+ id: 'fabric.linking.try_another_account',
290
+ defaultMessage: 'Try another account',
291
+ description: 'Allows the user to try an action again with a different account'
292
+ },
293
+ unlink_account: {
294
+ id: 'fabric.linking.unlink_account',
295
+ defaultMessage: 'Unlink Account',
296
+ description: 'Allows to remove a connected account from the user'
297
+ },
298
+ view: {
299
+ id: 'fabric.linking.view',
300
+ defaultMessage: 'View',
301
+ description: 'Go through to a piece of content to view it in its original context.'
302
+ },
303
+ viewIn: {
304
+ id: 'fabric.linking.srclink',
305
+ defaultMessage: 'View in',
306
+ description: 'We have a link in our preview modals to the original document. This text goes before the provider name'
307
+ },
308
+ viewOriginal: {
309
+ id: 'fabric.linking.srclinkunknown',
310
+ defaultMessage: 'View Original',
311
+ description: "We have a link in our preview modals to the original document. This is for when we don't know the provider name"
147
312
  }
148
313
  });
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.10",
3
+ "version": "19.1.13",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { FormattedMessage } from 'react-intl-next';
3
- import { messages } from '@atlaskit/media-ui/messages';
3
+ import { messages } from '../../../messages';
4
4
  export const AuthorizeAction = handler => ({
5
5
  id: 'connect-account',
6
6
  text: /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_link_account_card),
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FormattedMessage } from 'react-intl-next';
3
3
  import { downloadUrl } from '@atlaskit/media-common';
4
- import { messages } from '@atlaskit/media-ui/messages';
4
+ import { messages } from '../../../messages';
5
5
  export async function downloadFunction({
6
6
  url
7
7
  }) {
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import { FormattedMessage } from 'react-intl-next';
4
- import { messages } from '@atlaskit/media-ui/messages';
4
+ import { messages } from '../../../messages';
5
5
  export const ForbiddenAction = (handler, id = 'connect-other-account', message = messages.try_another_account, context = '') => ({
6
6
  id,
7
7
  text: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, message, {
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import ReactDOM from 'react-dom';
4
4
  import { IntlProvider, FormattedMessage } from 'react-intl-next';
5
- import { messages } from '@atlaskit/media-ui/messages';
5
+ import { messages } from '../../../messages';
6
6
 
7
7
  /*
8
8
  Explanatory note:
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { FormattedMessage } from 'react-intl-next';
3
- import { messages } from '@atlaskit/media-ui/messages';
3
+ import { messages } from '../../../messages';
4
4
  export const RetryAction = handler => ({
5
5
  id: 'try-again',
6
6
  promise: async () => handler(),
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { FormattedMessage } from 'react-intl-next';
3
- import { messages } from '@atlaskit/media-ui/messages';
3
+ import { messages } from '../../../messages';
4
4
  export async function viewFunction({
5
5
  url
6
6
  }) {
@@ -8,7 +8,7 @@ import { Frame } from '../components/Frame';
8
8
  import { Byline } from '../../common/Byline';
9
9
  import { ActionList } from '../components/ActionList';
10
10
  import { Content } from '../components/Content';
11
- import { messages } from '@atlaskit/media-ui/messages';
11
+ import { messages } from '../../../messages';
12
12
  import { ContentFooter } from '../components/ContentFooter';
13
13
  import { ContentHeader } from '../components/ContentHeader';
14
14
  import { handleClickCommon } from '../utils/handlers';
@@ -11,7 +11,7 @@ import { Provider } from '../components/Provider';
11
11
  import { Byline } from '../../common/Byline';
12
12
  import { ActionList } from '../components/ActionList';
13
13
  import { Content } from '../components/Content';
14
- import { messages } from '@atlaskit/media-ui/messages';
14
+ import { messages } from '../../../messages';
15
15
  import { ContentFooter } from '../components/ContentFooter';
16
16
  import { ContentHeader } from '../components/ContentHeader';
17
17
  import { handleClickCommon } from '../utils/handlers';
@@ -8,7 +8,7 @@ import { Frame } from '../components/Frame';
8
8
  import { Provider } from '../components/Provider';
9
9
  import { Byline } from '../../common/Byline';
10
10
  import { Content } from '../components/Content';
11
- import { messages } from '@atlaskit/media-ui/messages';
11
+ import { messages } from '../../../messages';
12
12
  import { ContentFooter } from '../components/ContentFooter';
13
13
  import { ContentHeader } from '../components/ContentHeader';
14
14
  import { Link } from '../components/Link';
@@ -7,7 +7,7 @@ import { token } from '@atlaskit/tokens';
7
7
  import { Frame } from '../components/Frame';
8
8
  import { gs } from '../../common/utils';
9
9
  import { FormattedMessage } from 'react-intl-next';
10
- import { messages } from '@atlaskit/media-ui/messages';
10
+ import { messages } from '../../../messages';
11
11
  export const blockCardResolvingViewClassName = 'block-card-resolving-view';
12
12
  export const ResolvingView = ({
13
13
  isSelected = false,
@@ -8,7 +8,7 @@ import { Provider } from '../components/Provider';
8
8
  import { Byline } from '../../common/Byline';
9
9
  import { ActionList } from '../components/ActionList';
10
10
  import { Content } from '../components/Content';
11
- import { messages } from '@atlaskit/media-ui/messages';
11
+ import { messages } from '../../../messages';
12
12
  import { ContentHeader } from '../components/ContentHeader';
13
13
  import { ContentFooter } from '../components/ContentFooter';
14
14
  import { handleClickCommon } from '../utils/handlers';
@@ -7,7 +7,7 @@ import { R300 } from '@atlaskit/theme/colors';
7
7
  import { token } from '@atlaskit/tokens';
8
8
  import { Frame } from '../../BlockCard/components/Frame';
9
9
  import { FormattedMessage } from 'react-intl-next';
10
- import { messages } from '@atlaskit/media-ui/messages';
10
+ import { messages } from '../../../messages';
11
11
  import { gs } from '../../common/utils';
12
12
  export const EmbedCardErroredView = ({
13
13
  onRetry,
@@ -5,7 +5,7 @@ import { jsx } from '@emotion/core';
5
5
  import Button from '@atlaskit/button/custom-theme-button';
6
6
  import { fontSize } from '@atlaskit/theme/constants';
7
7
  import { FormattedMessage } from 'react-intl-next';
8
- import { messages } from '@atlaskit/media-ui/messages';
8
+ import { messages } from '../../../messages';
9
9
  import { gs as gridSize } from '../../common/utils';
10
10
  export const EmbedCardUnresolvedView = ({
11
11
  image,
@@ -39,10 +39,10 @@ const getForbiddenMessageKey = meta => {
39
39
 
40
40
  switch (accessType) {
41
41
  case 'DIRECT_ACCESS':
42
- return 'click_to_join';
42
+ return 'join_to_view';
43
43
 
44
44
  case 'REQUEST_ACCESS':
45
- return 'request_access';
45
+ return 'request_access_to_view';
46
46
 
47
47
  case 'PENDING_REQUEST_EXISTS':
48
48
  return 'pending_request';
@@ -141,7 +141,9 @@ export const HoverCardComponent = ({
141
141
  trigger: triggerProps => jsx("span", _extends({}, triggerProps, {
142
142
  onMouseEnter: initShowCard,
143
143
  onMouseLeave: initHideCard
144
- }), children)
144
+ }), children),
145
+ zIndex: 501 // Temporary fix for Confluence inline comment on editor mod has z-index of 500
146
+
145
147
  });
146
148
  };
147
149
  export const HoverCard = withAnalyticsContext({
@@ -7,7 +7,7 @@ import Button from '@atlaskit/button/custom-theme-button';
7
7
  import { Frame } from '../Frame';
8
8
  import { IconAndTitleLayout } from '../IconAndTitleLayout';
9
9
  import { AKIconWrapper } from '../Icon';
10
- import { messages } from '@atlaskit/media-ui/messages';
10
+ import { messages } from '../../../messages';
11
11
  import { FormattedMessage } from 'react-intl-next';
12
12
  import { LinkAppearance, IconStyledButton, LowercaseAppearance, NoLinkAppearance } from '../styled';
13
13
  export class InlineCardErroredView extends React.Component {
@@ -8,7 +8,7 @@ import Button from '@atlaskit/button/custom-theme-button';
8
8
  import { Frame } from '../Frame';
9
9
  import { IconAndTitleLayout } from '../IconAndTitleLayout';
10
10
  import { AKIconWrapper } from '../Icon';
11
- import { messages } from '@atlaskit/media-ui/messages';
11
+ import { messages } from '../../../messages';
12
12
  import { FormattedMessage } from 'react-intl-next';
13
13
  import { IconStyledButton, LowercaseAppearance, LinkAppearance } from '../styled';
14
14
  const FallbackForbiddenIcon = /*#__PURE__*/React.createElement(AKIconWrapper, null, /*#__PURE__*/React.createElement(LockIcon, {
@@ -5,7 +5,7 @@ import { N500, R400 } from '@atlaskit/theme/colors';
5
5
  import { token } from '@atlaskit/tokens';
6
6
  import React from 'react';
7
7
  import { FormattedMessage } from 'react-intl-next';
8
- import { messages } from '@atlaskit/media-ui/messages';
8
+ import { messages } from '../../../messages';
9
9
  import { Frame } from '../Frame';
10
10
  import { AKIconWrapper } from '../Icon';
11
11
  import { IconAndTitleLayout } from '../IconAndTitleLayout';
@@ -12,7 +12,7 @@ import { gs } from './utils';
12
12
  import { Icon } from './Icon';
13
13
  import { MetadataList } from './MetadataList';
14
14
  import { Byline } from './Byline';
15
- import { messages } from '@atlaskit/media-ui/messages';
15
+ import { messages } from '../../messages';
16
16
  export const Header = ({
17
17
  title,
18
18
  label,
@@ -4,7 +4,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
4
4
 
5
5
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
 
7
- import { messages } from '@atlaskit/media-ui/messages';
7
+ import { messages } from '../../../messages';
8
8
  import { ForbiddenAction } from '../../../view/BlockCard/actions/ForbiddenAction';
9
9
  export var extractRequestAccessContext = function extractRequestAccessContext(_ref) {
10
10
  var _jsonLd$requestAccess;