@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
@@ -1,5 +1,20 @@
1
1
  import { defineMessages } from 'react-intl-next';
2
2
  export var 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 var 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 var 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 var 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 var 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 var 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 var AuthorizeAction = function AuthorizeAction(handler) {
5
5
  return {
6
6
  id: 'connect-account',
@@ -3,7 +3,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
3
  import React from 'react';
4
4
  import { FormattedMessage } from 'react-intl-next';
5
5
  import { downloadUrl } from '@atlaskit/media-common';
6
- import { messages } from '@atlaskit/media-ui/messages';
6
+ import { messages } from '../../../messages';
7
7
  export function downloadFunction(_x) {
8
8
  return _downloadFunction.apply(this, arguments);
9
9
  }
@@ -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 var ForbiddenAction = function ForbiddenAction(handler) {
6
6
  var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'connect-other-account';
7
7
  var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : messages.try_another_account;
@@ -13,7 +13,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
13
13
  import React from 'react';
14
14
  import ReactDOM from 'react-dom';
15
15
  import { IntlProvider, FormattedMessage } from 'react-intl-next';
16
- import { messages } from '@atlaskit/media-ui/messages';
16
+ import { messages } from '../../../messages';
17
17
 
18
18
  /*
19
19
  Explanatory note:
@@ -2,7 +2,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
3
  import React from 'react';
4
4
  import { FormattedMessage } from 'react-intl-next';
5
- import { messages } from '@atlaskit/media-ui/messages';
5
+ import { messages } from '../../../messages';
6
6
  export var RetryAction = function RetryAction(handler) {
7
7
  return {
8
8
  id: 'try-again',
@@ -2,7 +2,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
3
  import React from 'react';
4
4
  import { FormattedMessage } from 'react-intl-next';
5
- import { messages } from '@atlaskit/media-ui/messages';
5
+ import { messages } from '../../../messages';
6
6
  export function viewFunction(_x) {
7
7
  return _viewFunction.apply(this, arguments);
8
8
  }
@@ -14,7 +14,7 @@ import { Frame } from '../components/Frame';
14
14
  import { Byline } from '../../common/Byline';
15
15
  import { ActionList } from '../components/ActionList';
16
16
  import { Content } from '../components/Content';
17
- import { messages } from '@atlaskit/media-ui/messages';
17
+ import { messages } from '../../../messages';
18
18
  import { ContentFooter } from '../components/ContentFooter';
19
19
  import { ContentHeader } from '../components/ContentHeader';
20
20
  import { handleClickCommon } from '../utils/handlers';
@@ -12,7 +12,7 @@ import { Provider } from '../components/Provider';
12
12
  import { Byline } from '../../common/Byline';
13
13
  import { ActionList } from '../components/ActionList';
14
14
  import { Content } from '../components/Content';
15
- import { messages } from '@atlaskit/media-ui/messages';
15
+ import { messages } from '../../../messages';
16
16
  import { ContentFooter } from '../components/ContentFooter';
17
17
  import { ContentHeader } from '../components/ContentHeader';
18
18
  import { handleClickCommon } from '../utils/handlers';
@@ -14,7 +14,7 @@ import { Frame } from '../components/Frame';
14
14
  import { Provider } from '../components/Provider';
15
15
  import { Byline } from '../../common/Byline';
16
16
  import { Content } from '../components/Content';
17
- import { messages } from '@atlaskit/media-ui/messages';
17
+ import { messages } from '../../../messages';
18
18
  import { ContentFooter } from '../components/ContentFooter';
19
19
  import { ContentHeader } from '../components/ContentHeader';
20
20
  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 var blockCardResolvingViewClassName = 'block-card-resolving-view';
12
12
  export var ResolvingView = function ResolvingView(_ref) {
13
13
  var _ref$isSelected = _ref.isSelected,
@@ -13,7 +13,7 @@ import { Provider } from '../components/Provider';
13
13
  import { Byline } from '../../common/Byline';
14
14
  import { ActionList } from '../components/ActionList';
15
15
  import { Content } from '../components/Content';
16
- import { messages } from '@atlaskit/media-ui/messages';
16
+ import { messages } from '../../../messages';
17
17
  import { ContentHeader } from '../components/ContentHeader';
18
18
  import { ContentFooter } from '../components/ContentFooter';
19
19
  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 var EmbedCardErroredView = function EmbedCardErroredView(_ref) {
13
13
  var onRetry = _ref.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 var EmbedCardUnresolvedView = function EmbedCardUnresolvedView(_ref) {
11
11
  var image = _ref.image,
@@ -39,10 +39,10 @@ var getForbiddenMessageKey = function 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';
@@ -158,7 +158,9 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
158
158
  onMouseEnter: initShowCard,
159
159
  onMouseLeave: initHideCard
160
160
  }), children);
161
- }
161
+ },
162
+ zIndex: 501 // Temporary fix for Confluence inline comment on editor mod has z-index of 500
163
+
162
164
  });
163
165
  };
164
166
  export var HoverCard = withAnalyticsContext({
@@ -18,7 +18,7 @@ import Button from '@atlaskit/button/custom-theme-button';
18
18
  import { Frame } from '../Frame';
19
19
  import { IconAndTitleLayout } from '../IconAndTitleLayout';
20
20
  import { AKIconWrapper } from '../Icon';
21
- import { messages } from '@atlaskit/media-ui/messages';
21
+ import { messages } from '../../../messages';
22
22
  import { FormattedMessage } from 'react-intl-next';
23
23
  import { LinkAppearance, IconStyledButton, LowercaseAppearance, NoLinkAppearance } from '../styled';
24
24
  export var InlineCardErroredView = /*#__PURE__*/function (_React$Component) {
@@ -19,7 +19,7 @@ import Button from '@atlaskit/button/custom-theme-button';
19
19
  import { Frame } from '../Frame';
20
20
  import { IconAndTitleLayout } from '../IconAndTitleLayout';
21
21
  import { AKIconWrapper } from '../Icon';
22
- import { messages } from '@atlaskit/media-ui/messages';
22
+ import { messages } from '../../../messages';
23
23
  import { FormattedMessage } from 'react-intl-next';
24
24
  import { IconStyledButton, LowercaseAppearance, LinkAppearance } from '../styled';
25
25
  var FallbackForbiddenIcon = /*#__PURE__*/React.createElement(AKIconWrapper, null, /*#__PURE__*/React.createElement(LockIcon, {
@@ -16,7 +16,7 @@ import { N500, R400 } from '@atlaskit/theme/colors';
16
16
  import { token } from '@atlaskit/tokens';
17
17
  import React from 'react';
18
18
  import { FormattedMessage } from 'react-intl-next';
19
- import { messages } from '@atlaskit/media-ui/messages';
19
+ import { messages } from '../../../messages';
20
20
  import { Frame } from '../Frame';
21
21
  import { AKIconWrapper } from '../Icon';
22
22
  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 var Header = function Header(_ref) {
17
17
  var title = _ref.title,
18
18
  label = _ref.label,
@@ -1,14 +1,13 @@
1
1
  declare const _default: {
2
2
  'fabric.linking.cannot_connect': string;
3
3
  'fabric.linking.cannot_find_link': string;
4
- 'fabric.linking.click_to_join': string;
5
- 'fabric.linking.connect_link_account': string;
4
+ 'fabric.linking.join_to_view': string;
6
5
  'fabric.linking.create_on': string;
7
6
  'fabric.linking.created_by': string;
8
7
  'fabric.linking.delete': string;
9
8
  'fabric.linking.edit': string;
10
9
  'fabric.linking.forbidden_access': string;
11
- 'fabric.linking.invalid_permissions': string;
10
+ 'fabric.linking.restricted_link': string;
12
11
  'fabric.linking.modified_on': string;
13
12
  'fabric.linking.pending_request': string;
14
13
  'fabric.linking.priority_blocker': string;
@@ -22,9 +21,132 @@ declare const _default: {
22
21
  'fabric.linking.priority_minor': string;
23
22
  'fabric.linking.priority_trivial': string;
24
23
  'fabric.linking.priority_undefined': string;
25
- 'fabric.linking.request_access': string;
24
+ 'fabric.linking.request_access_to_view': string;
26
25
  'fabric.linking.request_denied': string;
27
26
  'fabric.linking.updated_by': string;
27
+ 'fabric.linking.accounts': string;
28
+ 'fabric.linking.actions': string;
29
+ 'fabric.linking.add_account': string;
30
+ 'fabric.linking.annotate': string;
31
+ 'fabric.linking.annotate.confirmation.close.anyway': string;
32
+ 'fabric.linking.annotate.confirmation.content': string;
33
+ 'fabric.linking.annotate.confirmation.heading': string;
34
+ 'fabric.linking.annotate.tool.arrow': string;
35
+ 'fabric.linking.annotate.tool.blur': string;
36
+ 'fabric.linking.annotate.tool.brush': string;
37
+ 'fabric.linking.annotate.tool.color': string;
38
+ 'fabric.linking.annotate.tool.line.thickness': string;
39
+ 'fabric.linking.annotate.tool.shape': string;
40
+ 'fabric.linking.annotate.tool.text': string;
41
+ 'fabric.linking.archive': string;
42
+ 'fabric.linking.audio': string;
43
+ 'fabric.linking.cancel': string;
44
+ 'fabric.linking.cant_preview_file_type': string;
45
+ 'fabric.linking.cant_retrieve_files': string;
46
+ 'fabric.linking.cant_retrieve_gifs': string;
47
+ 'fabric.linking.change_view': string;
48
+ 'fabric.linking.check_your_network': string;
49
+ 'fabric.linking.click_to_join': string;
50
+ 'fabric.linking.click_to_join_description': string;
51
+ 'fabric.linking.close': string;
52
+ 'fabric.linking.close_and_reopen': string;
53
+ 'fabric.linking.connect_account_description': string;
54
+ 'fabric.linking.connect_link_account': string;
55
+ 'fabric.linking.connect_link_account_card_view': string;
56
+ 'fabric.linking.connect_link_account_card_view_description': string;
57
+ 'fabric.linking.connect_link_account_card_view_name': string;
58
+ 'fabric.linking.connect_to': string;
59
+ 'fabric.linking.could_not_load_editor': string;
60
+ 'fabric.linking.could_not_save_image': string;
61
+ 'fabric.linking.couldnt_generate_encrypted_entry_preview': string;
62
+ 'fabric.linking.couldnt_generate_preview': string;
63
+ 'fabric.linking.couldnt_load_file': string;
64
+ 'fabric.linking.couldnt_load_link': string;
65
+ 'fabric.linking.creating_preview': string;
66
+ 'fabric.linking.default_avatars': string;
67
+ 'fabric.linking.disable_fullscreen': string;
68
+ 'fabric.linking.display_thumbnail': string;
69
+ 'fabric.linking.document': string;
70
+ 'fabric.linking.download': string;
71
+ 'fabric.linking.drag_and_drop_images_here': string;
72
+ 'fabric.linking.drag_and_drop_your_files': string;
73
+ 'fabric.linking.drag_and_drop_your_files_and_folders': string;
74
+ 'fabric.linking.drop_your_files': string;
75
+ 'fabric.linking.drop_your_files_here': string;
76
+ 'fabric.linking.email': string;
77
+ 'fabric.linking.enable_fullscreen': string;
78
+ 'fabric.linking.error_429': string;
79
+ 'fabric.linking.error_generating_preview': string;
80
+ 'fabric.linking.error_hint_critical': string;
81
+ 'fabric.linking.error_hint_retry': string;
82
+ 'fabric.linking.error_loading_file': string;
83
+ 'fabric.linking.failed_to_load': string;
84
+ 'fabric.linking.failed_to_upload': string;
85
+ 'fabric.linking.forbidden_description': string;
86
+ 'fabric.linking.give_feedback': string;
87
+ 'fabric.linking.image': string;
88
+ 'fabric.linking.image_format_invalid_error': string;
89
+ 'fabric.linking.image_size_too_large_error': string;
90
+ 'fabric.linking.image_url_invalid_error': string;
91
+ 'fabric.linking.insert_files': string;
92
+ 'fabric.linking.invalid_permissions': string;
93
+ 'fabric.linking.invalid_permissions_description': string;
94
+ 'fabric.linking.item_not_found_in_list': string;
95
+ 'fabric.linking.learn_more': string;
96
+ 'fabric.linking.load_more_gifs': string;
97
+ 'fabric.linking.loading': string;
98
+ 'fabric.linking.loading_file': string;
99
+ 'fabric.linking.might_be_a_hiccup': string;
100
+ 'fabric.linking.no_gifs_found': string;
101
+ 'fabric.linking.no_gifs_found_suggestion': string;
102
+ 'fabric.linking.no_pdf_artifacts': string;
103
+ 'fabric.linking.not_found_description': string;
104
+ 'fabric.linking.not_found_title': string;
105
+ 'fabric.linking.or': string;
106
+ 'fabric.linking.pause': string;
107
+ 'fabric.linking.play': string;
108
+ 'fabric.linking.playback_default_speed': string;
109
+ 'fabric.linking.playback_speed': string;
110
+ 'fabric.linking.preview': string;
111
+ 'fabric.linking.preview_currently_unavailable': string;
112
+ 'fabric.linking.preview_unavailable': string;
113
+ 'fabric.linking.recent_uploads': string;
114
+ 'fabric.linking.remove_image': string;
115
+ 'fabric.linking.request_access': string;
116
+ 'fabric.linking.request_access_description': string;
117
+ 'fabric.linking.request_access_pending': string;
118
+ 'fabric.linking.request_access_pending_description': string;
119
+ 'fabric.linking.request_denied_description': string;
120
+ 'fabric.linking.retry': string;
121
+ 'fabric.linking.save': string;
122
+ 'fabric.linking.search': string;
123
+ 'fabric.linking.search_all_gifs': string;
124
+ 'fabric.linking.share_files_instantly': string;
125
+ 'fabric.linking.skip_backward': string;
126
+ 'fabric.linking.skip_forward': string;
127
+ 'fabric.linking.something_went_wrong': string;
128
+ 'fabric.linking.srclink': string;
129
+ 'fabric.linking.srclinkunknown': string;
130
+ 'fabric.linking.text': string;
131
+ 'fabric.linking.try_again': string;
132
+ 'fabric.linking.try_another_account': string;
133
+ 'fabric.linking.try_downloading_file': string;
134
+ 'fabric.linking.unable_to_annotate_image': string;
135
+ 'fabric.linking.unknown': string;
136
+ 'fabric.linking.unlink_account': string;
137
+ 'fabric.linking.upload': string;
138
+ 'fabric.linking.upload_an_avatar': string;
139
+ 'fabric.linking.upload_file': string;
140
+ 'fabric.linking.upload_file_from': string;
141
+ 'fabric.linking.upload_image': string;
142
+ 'fabric.linking.upload_photo': string;
143
+ 'fabric.linking.video': string;
144
+ 'fabric.linking.view': string;
145
+ 'fabric.linking.viewer_rateLimited': string;
146
+ 'fabric.linking.webgl_warning_description': string;
147
+ 'fabric.linking.zip_entry_load_failed': string;
148
+ 'fabric.linking.zoom_in': string;
149
+ 'fabric.linking.zoom_out': string;
28
150
  };
29
151
  /**
30
152
  * NOTE: