@atlaskit/smart-card 32.7.1 → 32.7.2

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 (335) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/classNames.js +14 -82
  3. package/dist/cjs/extractors/common/actions/extractActions.js +1 -67
  4. package/dist/cjs/i18n/cs.js +2 -4
  5. package/dist/cjs/i18n/da.js +2 -4
  6. package/dist/cjs/i18n/de.js +2 -4
  7. package/dist/cjs/i18n/en.js +2 -4
  8. package/dist/cjs/i18n/en_GB.js +2 -4
  9. package/dist/cjs/i18n/en_ZZ.js +2 -4
  10. package/dist/cjs/i18n/es.js +8 -10
  11. package/dist/cjs/i18n/fi.js +5 -7
  12. package/dist/cjs/i18n/fr.js +2 -4
  13. package/dist/cjs/i18n/hu.js +2 -4
  14. package/dist/cjs/i18n/it.js +2 -4
  15. package/dist/cjs/i18n/ja.js +8 -10
  16. package/dist/cjs/i18n/ko.js +2 -4
  17. package/dist/cjs/i18n/nb.js +2 -4
  18. package/dist/cjs/i18n/nl.js +2 -4
  19. package/dist/cjs/i18n/pl.js +2 -4
  20. package/dist/cjs/i18n/pt_BR.js +2 -4
  21. package/dist/cjs/i18n/ru.js +2 -4
  22. package/dist/cjs/i18n/sv.js +2 -4
  23. package/dist/cjs/i18n/th.js +2 -4
  24. package/dist/cjs/i18n/tr.js +8 -10
  25. package/dist/cjs/i18n/uk.js +2 -4
  26. package/dist/cjs/i18n/vi.js +2 -4
  27. package/dist/cjs/i18n/zh.js +2 -4
  28. package/dist/cjs/i18n/zh_TW.js +2 -4
  29. package/dist/cjs/utils/analytics/analytics.js +1 -1
  30. package/dist/cjs/view/BlockCard/components/Action.js +1 -58
  31. package/dist/cjs/view/BlockCard/index.js +29 -218
  32. package/dist/cjs/view/CardWithUrl/component.js +1 -5
  33. package/dist/cjs/view/LinkUrl/index.js +1 -1
  34. package/dist/es2019/classNames.js +12 -10
  35. package/dist/es2019/extractors/common/actions/extractActions.js +1 -55
  36. package/dist/es2019/i18n/cs.js +2 -4
  37. package/dist/es2019/i18n/da.js +2 -4
  38. package/dist/es2019/i18n/de.js +2 -4
  39. package/dist/es2019/i18n/en.js +2 -4
  40. package/dist/es2019/i18n/en_GB.js +2 -4
  41. package/dist/es2019/i18n/en_ZZ.js +2 -4
  42. package/dist/es2019/i18n/es.js +8 -10
  43. package/dist/es2019/i18n/fi.js +5 -7
  44. package/dist/es2019/i18n/fr.js +2 -4
  45. package/dist/es2019/i18n/hu.js +2 -4
  46. package/dist/es2019/i18n/it.js +2 -4
  47. package/dist/es2019/i18n/ja.js +8 -10
  48. package/dist/es2019/i18n/ko.js +2 -4
  49. package/dist/es2019/i18n/nb.js +2 -4
  50. package/dist/es2019/i18n/nl.js +2 -4
  51. package/dist/es2019/i18n/pl.js +2 -4
  52. package/dist/es2019/i18n/pt_BR.js +2 -4
  53. package/dist/es2019/i18n/ru.js +2 -4
  54. package/dist/es2019/i18n/sv.js +2 -4
  55. package/dist/es2019/i18n/th.js +2 -4
  56. package/dist/es2019/i18n/tr.js +8 -10
  57. package/dist/es2019/i18n/uk.js +2 -4
  58. package/dist/es2019/i18n/vi.js +2 -4
  59. package/dist/es2019/i18n/zh.js +2 -4
  60. package/dist/es2019/i18n/zh_TW.js +2 -4
  61. package/dist/es2019/utils/analytics/analytics.js +1 -1
  62. package/dist/es2019/view/BlockCard/components/Action.js +1 -48
  63. package/dist/es2019/view/BlockCard/index.js +27 -163
  64. package/dist/es2019/view/CardWithUrl/component.js +1 -5
  65. package/dist/es2019/view/LinkUrl/index.js +1 -1
  66. package/dist/esm/classNames.js +12 -10
  67. package/dist/esm/extractors/common/actions/extractActions.js +1 -65
  68. package/dist/esm/i18n/cs.js +2 -4
  69. package/dist/esm/i18n/da.js +2 -4
  70. package/dist/esm/i18n/de.js +2 -4
  71. package/dist/esm/i18n/en.js +2 -4
  72. package/dist/esm/i18n/en_GB.js +2 -4
  73. package/dist/esm/i18n/en_ZZ.js +2 -4
  74. package/dist/esm/i18n/es.js +8 -10
  75. package/dist/esm/i18n/fi.js +5 -7
  76. package/dist/esm/i18n/fr.js +2 -4
  77. package/dist/esm/i18n/hu.js +2 -4
  78. package/dist/esm/i18n/it.js +2 -4
  79. package/dist/esm/i18n/ja.js +8 -10
  80. package/dist/esm/i18n/ko.js +2 -4
  81. package/dist/esm/i18n/nb.js +2 -4
  82. package/dist/esm/i18n/nl.js +2 -4
  83. package/dist/esm/i18n/pl.js +2 -4
  84. package/dist/esm/i18n/pt_BR.js +2 -4
  85. package/dist/esm/i18n/ru.js +2 -4
  86. package/dist/esm/i18n/sv.js +2 -4
  87. package/dist/esm/i18n/th.js +2 -4
  88. package/dist/esm/i18n/tr.js +8 -10
  89. package/dist/esm/i18n/uk.js +2 -4
  90. package/dist/esm/i18n/vi.js +2 -4
  91. package/dist/esm/i18n/zh.js +2 -4
  92. package/dist/esm/i18n/zh_TW.js +2 -4
  93. package/dist/esm/utils/analytics/analytics.js +1 -1
  94. package/dist/esm/view/BlockCard/components/Action.js +1 -54
  95. package/dist/esm/view/BlockCard/index.js +29 -164
  96. package/dist/esm/view/CardWithUrl/component.js +1 -5
  97. package/dist/esm/view/LinkUrl/index.js +1 -1
  98. package/dist/types/classNames.d.ts +12 -10
  99. package/dist/types/extractors/common/actions/extractActions.d.ts +0 -8
  100. package/dist/types/extractors/common/actions/types.d.ts +0 -9
  101. package/dist/types/i18n/cs.d.ts +1 -3
  102. package/dist/types/i18n/da.d.ts +1 -3
  103. package/dist/types/i18n/de.d.ts +1 -3
  104. package/dist/types/i18n/en.d.ts +1 -3
  105. package/dist/types/i18n/en_GB.d.ts +1 -3
  106. package/dist/types/i18n/en_ZZ.d.ts +1 -3
  107. package/dist/types/i18n/es.d.ts +1 -3
  108. package/dist/types/i18n/fi.d.ts +1 -3
  109. package/dist/types/i18n/fr.d.ts +1 -3
  110. package/dist/types/i18n/hu.d.ts +1 -3
  111. package/dist/types/i18n/it.d.ts +1 -3
  112. package/dist/types/i18n/ja.d.ts +1 -3
  113. package/dist/types/i18n/ko.d.ts +1 -3
  114. package/dist/types/i18n/nb.d.ts +1 -3
  115. package/dist/types/i18n/nl.d.ts +1 -3
  116. package/dist/types/i18n/pl.d.ts +1 -3
  117. package/dist/types/i18n/pt_BR.d.ts +1 -3
  118. package/dist/types/i18n/ru.d.ts +1 -3
  119. package/dist/types/i18n/sv.d.ts +1 -3
  120. package/dist/types/i18n/th.d.ts +1 -3
  121. package/dist/types/i18n/tr.d.ts +1 -3
  122. package/dist/types/i18n/uk.d.ts +1 -3
  123. package/dist/types/i18n/vi.d.ts +1 -3
  124. package/dist/types/i18n/zh.d.ts +1 -3
  125. package/dist/types/i18n/zh_TW.d.ts +1 -3
  126. package/dist/types/utils/analytics/click.d.ts +1 -1
  127. package/dist/types/view/BlockCard/components/Action.d.ts +0 -4
  128. package/dist/types/view/BlockCard/index.d.ts +2 -17
  129. package/dist/types/view/BlockCard/types.d.ts +1 -6
  130. package/dist/types/view/Card/index.d.ts +1 -1
  131. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +1 -1
  132. package/dist/types/view/FlexibleCard/components/utils.d.ts +1 -1
  133. package/dist/types/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
  134. package/dist/types-ts4.5/classNames.d.ts +12 -10
  135. package/dist/types-ts4.5/extractors/common/actions/extractActions.d.ts +0 -8
  136. package/dist/types-ts4.5/extractors/common/actions/types.d.ts +0 -9
  137. package/dist/types-ts4.5/i18n/cs.d.ts +1 -3
  138. package/dist/types-ts4.5/i18n/da.d.ts +1 -3
  139. package/dist/types-ts4.5/i18n/de.d.ts +1 -3
  140. package/dist/types-ts4.5/i18n/en.d.ts +1 -3
  141. package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -3
  142. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -3
  143. package/dist/types-ts4.5/i18n/es.d.ts +1 -3
  144. package/dist/types-ts4.5/i18n/fi.d.ts +1 -3
  145. package/dist/types-ts4.5/i18n/fr.d.ts +1 -3
  146. package/dist/types-ts4.5/i18n/hu.d.ts +1 -3
  147. package/dist/types-ts4.5/i18n/it.d.ts +1 -3
  148. package/dist/types-ts4.5/i18n/ja.d.ts +1 -3
  149. package/dist/types-ts4.5/i18n/ko.d.ts +1 -3
  150. package/dist/types-ts4.5/i18n/nb.d.ts +1 -3
  151. package/dist/types-ts4.5/i18n/nl.d.ts +1 -3
  152. package/dist/types-ts4.5/i18n/pl.d.ts +1 -3
  153. package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -3
  154. package/dist/types-ts4.5/i18n/ru.d.ts +1 -3
  155. package/dist/types-ts4.5/i18n/sv.d.ts +1 -3
  156. package/dist/types-ts4.5/i18n/th.d.ts +1 -3
  157. package/dist/types-ts4.5/i18n/tr.d.ts +1 -3
  158. package/dist/types-ts4.5/i18n/uk.d.ts +1 -3
  159. package/dist/types-ts4.5/i18n/vi.d.ts +1 -3
  160. package/dist/types-ts4.5/i18n/zh.d.ts +1 -3
  161. package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -3
  162. package/dist/types-ts4.5/utils/analytics/click.d.ts +1 -1
  163. package/dist/types-ts4.5/view/BlockCard/components/Action.d.ts +0 -4
  164. package/dist/types-ts4.5/view/BlockCard/index.d.ts +2 -17
  165. package/dist/types-ts4.5/view/BlockCard/types.d.ts +1 -6
  166. package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
  167. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +1 -1
  168. package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +1 -1
  169. package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
  170. package/package.json +1 -1
  171. package/dist/cjs/extractors/block/index.js +0 -96
  172. package/dist/cjs/extractors/block/types.js +0 -5
  173. package/dist/cjs/extractors/common/actions/extractPreviewAction.js +0 -106
  174. package/dist/cjs/state/reducers/types.js +0 -5
  175. package/dist/cjs/view/BlockCard/actions/AuthorizeAction.js +0 -22
  176. package/dist/cjs/view/BlockCard/actions/DownloadAction.js +0 -21
  177. package/dist/cjs/view/BlockCard/actions/PreviewAction.js +0 -35
  178. package/dist/cjs/view/BlockCard/actions/RetryAction.js +0 -35
  179. package/dist/cjs/view/BlockCard/actions/ViewAction.js +0 -21
  180. package/dist/cjs/view/BlockCard/components/ActionIcon.js +0 -57
  181. package/dist/cjs/view/BlockCard/components/ActionList.js +0 -78
  182. package/dist/cjs/view/BlockCard/components/CollaboratorList.js +0 -52
  183. package/dist/cjs/view/BlockCard/components/Content.js +0 -45
  184. package/dist/cjs/view/BlockCard/components/ContentFooter.js +0 -41
  185. package/dist/cjs/view/BlockCard/components/ContentHeader.js +0 -45
  186. package/dist/cjs/view/BlockCard/components/Emoji.js +0 -33
  187. package/dist/cjs/view/BlockCard/components/Link.js +0 -31
  188. package/dist/cjs/view/BlockCard/components/Name.js +0 -61
  189. package/dist/cjs/view/BlockCard/components/Provider.js +0 -57
  190. package/dist/cjs/view/BlockCard/components/Thumbnail.js +0 -62
  191. package/dist/cjs/view/BlockCard/components/UnresolvedText.js +0 -24
  192. package/dist/cjs/view/BlockCard/views/ErroredView.js +0 -91
  193. package/dist/cjs/view/BlockCard/views/ForbiddenView.js +0 -121
  194. package/dist/cjs/view/BlockCard/views/NotFoundView.js +0 -82
  195. package/dist/cjs/view/BlockCard/views/ResolvedView.js +0 -143
  196. package/dist/cjs/view/BlockCard/views/ResolvingView.js +0 -57
  197. package/dist/cjs/view/BlockCard/views/UnauthorizedView.js +0 -72
  198. package/dist/cjs/view/BlockCard/views/styled.js +0 -18
  199. package/dist/cjs/view/CardWithData/component.js +0 -66
  200. package/dist/cjs/view/CardWithData/types.js +0 -5
  201. package/dist/cjs/view/common/Byline.js +0 -52
  202. package/dist/cjs/view/common/Metadata.js +0 -56
  203. package/dist/cjs/view/common/MetadataList.js +0 -43
  204. package/dist/es2019/extractors/block/index.js +0 -86
  205. package/dist/es2019/extractors/block/types.js +0 -1
  206. package/dist/es2019/extractors/common/actions/extractPreviewAction.js +0 -91
  207. package/dist/es2019/state/reducers/types.js +0 -1
  208. package/dist/es2019/view/BlockCard/actions/AuthorizeAction.js +0 -9
  209. package/dist/es2019/view/BlockCard/actions/DownloadAction.js +0 -11
  210. package/dist/es2019/view/BlockCard/actions/PreviewAction.js +0 -23
  211. package/dist/es2019/view/BlockCard/actions/RetryAction.js +0 -8
  212. package/dist/es2019/view/BlockCard/actions/ViewAction.js +0 -11
  213. package/dist/es2019/view/BlockCard/components/ActionIcon.js +0 -51
  214. package/dist/es2019/view/BlockCard/components/ActionList.js +0 -63
  215. package/dist/es2019/view/BlockCard/components/CollaboratorList.js +0 -42
  216. package/dist/es2019/view/BlockCard/components/Content.js +0 -36
  217. package/dist/es2019/view/BlockCard/components/ContentFooter.js +0 -32
  218. package/dist/es2019/view/BlockCard/components/ContentHeader.js +0 -39
  219. package/dist/es2019/view/BlockCard/components/Emoji.js +0 -26
  220. package/dist/es2019/view/BlockCard/components/Link.js +0 -24
  221. package/dist/es2019/view/BlockCard/components/Name.js +0 -54
  222. package/dist/es2019/view/BlockCard/components/Provider.js +0 -51
  223. package/dist/es2019/view/BlockCard/components/Thumbnail.js +0 -58
  224. package/dist/es2019/view/BlockCard/components/UnresolvedText.js +0 -18
  225. package/dist/es2019/view/BlockCard/views/ErroredView.js +0 -78
  226. package/dist/es2019/view/BlockCard/views/ForbiddenView.js +0 -104
  227. package/dist/es2019/view/BlockCard/views/NotFoundView.js +0 -71
  228. package/dist/es2019/view/BlockCard/views/ResolvedView.js +0 -121
  229. package/dist/es2019/view/BlockCard/views/ResolvingView.js +0 -46
  230. package/dist/es2019/view/BlockCard/views/UnauthorizedView.js +0 -60
  231. package/dist/es2019/view/BlockCard/views/styled.js +0 -10
  232. package/dist/es2019/view/CardWithData/component.js +0 -43
  233. package/dist/es2019/view/CardWithData/types.js +0 -1
  234. package/dist/es2019/view/common/Byline.js +0 -44
  235. package/dist/es2019/view/common/Metadata.js +0 -49
  236. package/dist/es2019/view/common/MetadataList.js +0 -34
  237. package/dist/esm/extractors/block/index.js +0 -89
  238. package/dist/esm/extractors/block/types.js +0 -1
  239. package/dist/esm/extractors/common/actions/extractPreviewAction.js +0 -99
  240. package/dist/esm/state/reducers/types.js +0 -1
  241. package/dist/esm/view/BlockCard/actions/AuthorizeAction.js +0 -15
  242. package/dist/esm/view/BlockCard/actions/DownloadAction.js +0 -14
  243. package/dist/esm/view/BlockCard/actions/PreviewAction.js +0 -30
  244. package/dist/esm/view/BlockCard/actions/RetryAction.js +0 -28
  245. package/dist/esm/view/BlockCard/actions/ViewAction.js +0 -14
  246. package/dist/esm/view/BlockCard/components/ActionIcon.js +0 -50
  247. package/dist/esm/view/BlockCard/components/ActionList.js +0 -69
  248. package/dist/esm/view/BlockCard/components/CollaboratorList.js +0 -44
  249. package/dist/esm/view/BlockCard/components/Content.js +0 -38
  250. package/dist/esm/view/BlockCard/components/ContentFooter.js +0 -34
  251. package/dist/esm/view/BlockCard/components/ContentHeader.js +0 -38
  252. package/dist/esm/view/BlockCard/components/Emoji.js +0 -25
  253. package/dist/esm/view/BlockCard/components/Link.js +0 -24
  254. package/dist/esm/view/BlockCard/components/Name.js +0 -54
  255. package/dist/esm/view/BlockCard/components/Provider.js +0 -50
  256. package/dist/esm/view/BlockCard/components/Thumbnail.js +0 -57
  257. package/dist/esm/view/BlockCard/components/UnresolvedText.js +0 -17
  258. package/dist/esm/view/BlockCard/views/ErroredView.js +0 -87
  259. package/dist/esm/view/BlockCard/views/ForbiddenView.js +0 -113
  260. package/dist/esm/view/BlockCard/views/NotFoundView.js +0 -78
  261. package/dist/esm/view/BlockCard/views/ResolvedView.js +0 -135
  262. package/dist/esm/view/BlockCard/views/ResolvingView.js +0 -49
  263. package/dist/esm/view/BlockCard/views/UnauthorizedView.js +0 -68
  264. package/dist/esm/view/BlockCard/views/styled.js +0 -10
  265. package/dist/esm/view/CardWithData/component.js +0 -59
  266. package/dist/esm/view/CardWithData/types.js +0 -1
  267. package/dist/esm/view/common/Byline.js +0 -45
  268. package/dist/esm/view/common/Metadata.js +0 -48
  269. package/dist/esm/view/common/MetadataList.js +0 -35
  270. package/dist/types/extractors/block/index.d.ts +0 -10
  271. package/dist/types/extractors/block/types.d.ts +0 -13
  272. package/dist/types/extractors/common/actions/extractPreviewAction.d.ts +0 -14
  273. package/dist/types/state/reducers/types.d.ts +0 -4
  274. package/dist/types/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
  275. package/dist/types/view/BlockCard/actions/DownloadAction.d.ts +0 -4
  276. package/dist/types/view/BlockCard/actions/PreviewAction.d.ts +0 -27
  277. package/dist/types/view/BlockCard/actions/RetryAction.d.ts +0 -2
  278. package/dist/types/view/BlockCard/actions/ViewAction.d.ts +0 -4
  279. package/dist/types/view/BlockCard/components/ActionIcon.d.ts +0 -12
  280. package/dist/types/view/BlockCard/components/ActionList.d.ts +0 -10
  281. package/dist/types/view/BlockCard/components/CollaboratorList.d.ts +0 -18
  282. package/dist/types/view/BlockCard/components/Content.d.ts +0 -18
  283. package/dist/types/view/BlockCard/components/ContentFooter.d.ts +0 -12
  284. package/dist/types/view/BlockCard/components/ContentHeader.d.ts +0 -19
  285. package/dist/types/view/BlockCard/components/Emoji.d.ts +0 -10
  286. package/dist/types/view/BlockCard/components/Link.d.ts +0 -11
  287. package/dist/types/view/BlockCard/components/Name.d.ts +0 -21
  288. package/dist/types/view/BlockCard/components/Provider.d.ts +0 -11
  289. package/dist/types/view/BlockCard/components/Thumbnail.d.ts +0 -13
  290. package/dist/types/view/BlockCard/components/UnresolvedText.d.ts +0 -11
  291. package/dist/types/view/BlockCard/views/ErroredView.d.ts +0 -19
  292. package/dist/types/view/BlockCard/views/ForbiddenView.d.ts +0 -35
  293. package/dist/types/view/BlockCard/views/NotFoundView.d.ts +0 -26
  294. package/dist/types/view/BlockCard/views/ResolvedView.d.ts +0 -46
  295. package/dist/types/view/BlockCard/views/ResolvingView.d.ts +0 -18
  296. package/dist/types/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
  297. package/dist/types/view/BlockCard/views/styled.d.ts +0 -5
  298. package/dist/types/view/CardWithData/component.d.ts +0 -5
  299. package/dist/types/view/CardWithData/types.d.ts +0 -15
  300. package/dist/types/view/common/Byline.d.ts +0 -13
  301. package/dist/types/view/common/Metadata.d.ts +0 -13
  302. package/dist/types/view/common/MetadataList.d.ts +0 -12
  303. package/dist/types-ts4.5/extractors/block/index.d.ts +0 -10
  304. package/dist/types-ts4.5/extractors/block/types.d.ts +0 -13
  305. package/dist/types-ts4.5/extractors/common/actions/extractPreviewAction.d.ts +0 -14
  306. package/dist/types-ts4.5/state/reducers/types.d.ts +0 -4
  307. package/dist/types-ts4.5/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
  308. package/dist/types-ts4.5/view/BlockCard/actions/DownloadAction.d.ts +0 -4
  309. package/dist/types-ts4.5/view/BlockCard/actions/PreviewAction.d.ts +0 -27
  310. package/dist/types-ts4.5/view/BlockCard/actions/RetryAction.d.ts +0 -2
  311. package/dist/types-ts4.5/view/BlockCard/actions/ViewAction.d.ts +0 -4
  312. package/dist/types-ts4.5/view/BlockCard/components/ActionIcon.d.ts +0 -12
  313. package/dist/types-ts4.5/view/BlockCard/components/ActionList.d.ts +0 -10
  314. package/dist/types-ts4.5/view/BlockCard/components/CollaboratorList.d.ts +0 -18
  315. package/dist/types-ts4.5/view/BlockCard/components/Content.d.ts +0 -18
  316. package/dist/types-ts4.5/view/BlockCard/components/ContentFooter.d.ts +0 -12
  317. package/dist/types-ts4.5/view/BlockCard/components/ContentHeader.d.ts +0 -19
  318. package/dist/types-ts4.5/view/BlockCard/components/Emoji.d.ts +0 -10
  319. package/dist/types-ts4.5/view/BlockCard/components/Link.d.ts +0 -11
  320. package/dist/types-ts4.5/view/BlockCard/components/Name.d.ts +0 -21
  321. package/dist/types-ts4.5/view/BlockCard/components/Provider.d.ts +0 -11
  322. package/dist/types-ts4.5/view/BlockCard/components/Thumbnail.d.ts +0 -13
  323. package/dist/types-ts4.5/view/BlockCard/components/UnresolvedText.d.ts +0 -11
  324. package/dist/types-ts4.5/view/BlockCard/views/ErroredView.d.ts +0 -19
  325. package/dist/types-ts4.5/view/BlockCard/views/ForbiddenView.d.ts +0 -35
  326. package/dist/types-ts4.5/view/BlockCard/views/NotFoundView.d.ts +0 -26
  327. package/dist/types-ts4.5/view/BlockCard/views/ResolvedView.d.ts +0 -46
  328. package/dist/types-ts4.5/view/BlockCard/views/ResolvingView.d.ts +0 -18
  329. package/dist/types-ts4.5/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
  330. package/dist/types-ts4.5/view/BlockCard/views/styled.d.ts +0 -5
  331. package/dist/types-ts4.5/view/CardWithData/component.d.ts +0 -5
  332. package/dist/types-ts4.5/view/CardWithData/types.d.ts +0 -15
  333. package/dist/types-ts4.5/view/common/Byline.d.ts +0 -13
  334. package/dist/types-ts4.5/view/common/Metadata.d.ts +0 -13
  335. package/dist/types-ts4.5/view/common/MetadataList.d.ts +0 -12
@@ -38,7 +38,7 @@ export default {
38
38
  'fabric.linking.automation-action.confluence.page.modal.description': '对 <b>{name}</b> 应用自动化。{br}可用选项由 Confluence 与空间管理员进行控制。',
39
39
  'fabric.linking.automation-action.confluence.page.modal.title': '页面自动化',
40
40
  'fabric.linking.automation-action.icon.label': '自动化图标',
41
- 'fabric.linking.automation-action.title': '查看自动化规则...',
41
+ 'fabric.linking.automation-action.title': '查看自动化规则',
42
42
  'fabric.linking.automation-action.tooltip': '选择要运行的自动化规则',
43
43
  'fabric.linking.beta': '测试版',
44
44
  'fabric.linking.cancel': '取消',
@@ -90,7 +90,6 @@ export default {
90
90
  'fabric.linking.invalid_permissions': '受限内容',
91
91
  'fabric.linking.invalid_permissions_description': '您需要请求访问权限或尝试使用其他帐户来查看此预览。',
92
92
  'fabric.linking.join_to_view': '加入{context}以查看此事务',
93
- 'fabric.linking.last_mentioned_in': '上次提及位置',
94
93
  'fabric.linking.learn_more_about_connecting_account': '了解有关将您的帐户关联到 Atlassian 产品的信息。',
95
94
  'fabric.linking.learn_more_about_smart_links': '了解有关智能链接的更多信息。',
96
95
  'fabric.linking.link_safety_warning_message': '{unsafeLinkText} 链接会将您带到其他站点,<a>actual link here</a>',
@@ -131,8 +130,7 @@ export default {
131
130
  'fabric.linking.related_links_modal_unavailable_header': '没有最近的链接',
132
131
  'fabric.linking.related_links_modal_unavailable_message': '未找到可在此处显示的任何链接。我们会不断审查并添加针对已更新页面或其他内容类型的最近链接。',
133
132
  'fabric.linking.related_links_not_found': '未找到可在此处显示的任何链接。',
134
- 'fabric.linking.related_links_view_related_urls.nonfinal': '查看最近的链接...',
135
- 'fabric.linking.related_work_items_not_found': '此链接在其他任何地方均未提及。',
133
+ 'fabric.linking.related_links_view_related_urls': '查看最近的链接',
136
134
  'fabric.linking.request_access': '请求访问',
137
135
  'fabric.linking.request_access_description': '您的团队使用 {product} 进行协作。请向您的管理员发送访问请求。',
138
136
  'fabric.linking.request_access_pending': '待批准',
@@ -38,7 +38,7 @@ export default {
38
38
  'fabric.linking.automation-action.confluence.page.modal.description': '將自動化套用至 <b>{name}</b>。{br}可用的選項是由 Confluence 和空間管理員所控管。',
39
39
  'fabric.linking.automation-action.confluence.page.modal.title': '頁面自動化',
40
40
  'fabric.linking.automation-action.icon.label': '自動化圖示',
41
- 'fabric.linking.automation-action.title': '檢視自動化規則...',
41
+ 'fabric.linking.automation-action.title': '檢視自動化規則',
42
42
  'fabric.linking.automation-action.tooltip': '選取要執行的自動化規則',
43
43
  'fabric.linking.beta': '測試版',
44
44
  'fabric.linking.cancel': '取消',
@@ -90,7 +90,6 @@ export default {
90
90
  'fabric.linking.invalid_permissions': '受限制的內容',
91
91
  'fabric.linking.invalid_permissions_description': '您需要請求存取或嘗試不同的帳戶,來檢視此預覽。',
92
92
  'fabric.linking.join_to_view': '加入 {context} 以查看此議題',
93
- 'fabric.linking.last_mentioned_in': '最後提及位置:',
94
93
  'fabric.linking.learn_more_about_connecting_account': '進一步了解如何將您的帳戶連接至 Atlassian 產品。',
95
94
  'fabric.linking.learn_more_about_smart_links': '深入了解智慧連結。',
96
95
  'fabric.linking.link_safety_warning_message': '此連結 {unsafeLinkText} 會帶您前往不同的網站,<a>actual link here</a>',
@@ -131,8 +130,7 @@ export default {
131
130
  'fabric.linking.related_links_modal_unavailable_header': '沒有最近的連結',
132
131
  'fabric.linking.related_links_modal_unavailable_message': '我們沒有找到任何可在這裡顯示的連結。我們會持續檢閱更新的頁面或其他內容類型,並新增最近的連結。',
133
132
  'fabric.linking.related_links_not_found': '我們沒有找到任何可在這裡顯示的連結。',
134
- 'fabric.linking.related_links_view_related_urls.nonfinal': '檢視最近的連結...',
135
- 'fabric.linking.related_work_items_not_found': '這個連結並未在其他任何位置提及。',
133
+ 'fabric.linking.related_links_view_related_urls': '查看最近的連結',
136
134
  'fabric.linking.request_access': '要求存取權',
137
135
  'fabric.linking.request_access_description': '您的團隊使用 {product} 來協作。向您的管理員傳送存取要求。',
138
136
  'fabric.linking.request_access_pending': '待核准',
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
4
4
  export const context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "32.7.1"
7
+ packageVersion: "32.7.2"
8
8
  };
9
9
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,48 +1 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { useState } from 'react';
6
-
7
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
- import { css, jsx } from '@emotion/react';
9
- import { LoadingButton as Button } from '@atlaskit/button';
10
- import { ActionIcon } from './ActionIcon';
11
- export const spinnerDelay = 1000;
12
- const baseTextStyles = css({
13
- transition: 'opacity 0.3s'
14
- });
15
- export const Action = ({
16
- promise,
17
- text,
18
- buttonAppearance = 'default',
19
- id
20
- }) => {
21
- const [state, setState] = useState('init');
22
- return jsx(Button, {
23
- spacing: "compact",
24
- appearance: buttonAppearance,
25
- isLoading: state === 'loading',
26
- testId: `button-${id}`,
27
- onClick: event => {
28
- event.stopPropagation();
29
- event.preventDefault();
30
- if (state !== 'loading') {
31
- setState('loading');
32
- promise().then(() => {
33
- setState('success');
34
- }).catch(() => {
35
- setState('failure');
36
- }).finally(() => {
37
- setTimeout(() => setState('init'), spinnerDelay);
38
- });
39
- }
40
- }
41
- }, jsx("div", {
42
- css: [baseTextStyles, {
43
- opacity: state !== 'init' ? 0 : 1
44
- }]
45
- }, text), jsx(ActionIcon, {
46
- state: state
47
- }));
48
- };
1
+ export {};
@@ -1,193 +1,61 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- /**
3
- * @jsxRuntime classic
4
- * @jsx jsx
5
- */
6
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
- import { jsx } from '@emotion/react';
8
- import { useAnalyticsEvents } from '@atlaskit/analytics-next';
9
- import { extractBlockProps } from '../../extractors/block';
10
- import { extractRequestAccessContextImproved } from '../../extractors/common/context';
11
- import { getExtensionKey } from '../../state/helpers';
12
- import { getEmptyJsonLd, getForbiddenJsonLd } from '../../utils/jsonld';
2
+ import React from 'react';
13
3
  import { CardLinkView } from '../LinkView';
14
- import { AuthorizeAction } from './actions/AuthorizeAction';
15
- import { ForbiddenAction } from './actions/ForbiddenAction';
16
4
  import { handleClickCommon } from './utils/handlers';
17
- import { ErroredView as BlockCardErroredView } from './views/ErroredView';
18
5
  import FlexibleErroredView from './views/flexible/FlexibleErroredView';
19
6
  import FlexibleForbiddenView from './views/flexible/FlexibleForbiddenView';
20
7
  import FlexibleNotFoundView from './views/flexible/FlexibleNotFoundView';
21
8
  import FlexibleResolvedView from './views/flexible/FlexibleResolvedView';
22
9
  import FlexibleUnauthorisedView from './views/flexible/FlexibleUnauthorisedView';
23
- import { ForbiddenView as BlockCardForbiddenView } from './views/ForbiddenView';
24
- import { NotFoundView as BlockCardNotFoundView } from './views/NotFoundView';
25
- import { ResolvedView as BlockCardResolvedView } from './views/ResolvedView';
26
- import { ResolvingView as BlockCardResolvingView } from './views/ResolvingView';
27
- import { UnauthorizedView as BlockCardUnauthorisedView } from './views/UnauthorizedView';
28
- export { default as PreviewAction } from './actions/PreviewAction';
29
- export { ForbiddenAction, AuthorizeAction, BlockCardResolvedView, BlockCardResolvingView, BlockCardUnauthorisedView, BlockCardForbiddenView, BlockCardErroredView, BlockCardNotFoundView };
30
10
  export const BlockCard = ({
31
11
  id,
32
12
  url,
33
13
  cardState,
34
14
  authFlow,
35
15
  handleAuthorize,
36
- handleErrorRetry,
37
16
  handleFrameClick,
38
- handleInvoke,
39
17
  renderers,
40
18
  isSelected,
41
19
  onResolve,
42
20
  onError,
43
21
  testId,
44
- platform,
45
22
  analytics,
46
- enableFlexibleBlockCard,
47
23
  actionOptions
48
24
  }) => {
49
- var _details$meta, _forbiddenViewProps$c, _forbiddenViewProps$c2;
50
25
  const {
51
- createAnalyticsEvent
52
- } = useAnalyticsEvents();
53
- const {
54
- status,
55
- details
26
+ status
56
27
  } = cardState;
57
- const data = details && details.data || getEmptyJsonLd();
58
- const meta = details && details.meta;
59
- const extensionKey = getExtensionKey(details);
60
- const extractorOpts = {
61
- analytics,
62
- origin: 'smartLinkCard',
63
- handleInvoke,
64
- extensionKey,
65
- actionOptions
28
+ const flexibleBlockCardProps = {
29
+ id,
30
+ cardState,
31
+ url,
32
+ testId,
33
+ onClick: event => handleClickCommon(event, handleFrameClick),
34
+ onError,
35
+ onResolve,
36
+ renderers,
37
+ actionOptions,
38
+ analytics
66
39
  };
67
- if (enableFlexibleBlockCard) {
68
- const flexibleBlockCardProps = {
69
- id,
70
- cardState,
71
- url,
72
- testId,
73
- onClick: event => handleClickCommon(event, handleFrameClick),
74
- onError,
75
- onResolve,
76
- renderers,
77
- actionOptions,
78
- analytics
79
- };
80
- switch (status) {
81
- case 'pending':
82
- case 'resolving':
83
- return jsx(FlexibleResolvedView, _extends({}, flexibleBlockCardProps, {
84
- testId: 'smart-block-resolving-view'
85
- }));
86
- case 'resolved':
87
- return jsx(FlexibleResolvedView, flexibleBlockCardProps);
88
- case 'unauthorized':
89
- return jsx(FlexibleUnauthorisedView, _extends({}, flexibleBlockCardProps, {
90
- onAuthorize: handleAuthorize
91
- }));
92
- case 'forbidden':
93
- return jsx(FlexibleForbiddenView, _extends({}, flexibleBlockCardProps, {
94
- onAuthorize: handleAuthorize
95
- }));
96
- case 'not_found':
97
- return jsx(FlexibleNotFoundView, _extends({}, flexibleBlockCardProps, {
98
- onAuthorize: handleAuthorize
99
- }));
100
- case 'fallback':
101
- case 'errored':
102
- default:
103
- if (onError) {
104
- onError({
105
- url,
106
- status
107
- });
108
- }
109
- if (authFlow && authFlow === 'disabled') {
110
- return jsx(CardLinkView, {
111
- link: url,
112
- isSelected: isSelected,
113
- onClick: handleFrameClick,
114
- testId: `${testId}-${status}`
115
- });
116
- }
117
- return jsx(FlexibleErroredView, _extends({}, flexibleBlockCardProps, {
118
- onAuthorize: handleAuthorize
119
- }));
120
- }
121
- }
122
40
  switch (status) {
123
41
  case 'pending':
124
42
  case 'resolving':
125
- return jsx(BlockCardResolvingView, {
126
- testId: testId,
127
- isSelected: isSelected
128
- });
129
- case 'resolved':
130
- const resolvedViewProps = extractBlockProps(data, meta, extractorOpts, renderers, platform);
131
- if (onResolve) {
132
- onResolve({
133
- title: resolvedViewProps.title,
134
- url
135
- });
136
- }
137
- return jsx(BlockCardResolvedView, _extends({}, resolvedViewProps, {
138
- isSelected: isSelected,
139
- testId: testId,
140
- onClick: handleFrameClick
43
+ return /*#__PURE__*/React.createElement(FlexibleResolvedView, _extends({}, flexibleBlockCardProps, {
44
+ testId: 'smart-block-resolving-view'
141
45
  }));
46
+ case 'resolved':
47
+ return /*#__PURE__*/React.createElement(FlexibleResolvedView, flexibleBlockCardProps);
142
48
  case 'unauthorized':
143
- if (onError) {
144
- onError({
145
- url,
146
- status
147
- });
148
- }
149
- const unauthorizedViewProps = extractBlockProps(data, meta, extractorOpts);
150
- return jsx(BlockCardUnauthorisedView, _extends({}, unauthorizedViewProps, {
151
- isSelected: isSelected,
152
- testId: testId,
153
- actions: handleAuthorize ? [AuthorizeAction(handleAuthorize)] : [],
154
- actionOptions: actionOptions,
155
- onClick: handleFrameClick
49
+ return /*#__PURE__*/React.createElement(FlexibleUnauthorisedView, _extends({}, flexibleBlockCardProps, {
50
+ onAuthorize: handleAuthorize
156
51
  }));
157
52
  case 'forbidden':
158
- if (onError) {
159
- onError({
160
- url,
161
- status
162
- });
163
- }
164
- const forbiddenViewProps = extractBlockProps(data, meta, extractorOpts);
165
- const cardMetadata = (_details$meta = details === null || details === void 0 ? void 0 : details.meta) !== null && _details$meta !== void 0 ? _details$meta : getForbiddenJsonLd().meta;
166
- const requestAccessContext = extractRequestAccessContextImproved({
167
- jsonLd: cardMetadata,
168
- url,
169
- product: (_forbiddenViewProps$c = (_forbiddenViewProps$c2 = forbiddenViewProps.context) === null || _forbiddenViewProps$c2 === void 0 ? void 0 : _forbiddenViewProps$c2.text) !== null && _forbiddenViewProps$c !== void 0 ? _forbiddenViewProps$c : '',
170
- createAnalyticsEvent
171
- });
172
- return jsx(BlockCardForbiddenView, _extends({}, forbiddenViewProps, {
173
- isSelected: isSelected,
174
- actions: handleAuthorize ? [ForbiddenAction(handleAuthorize)] : [],
175
- actionOptions: actionOptions,
176
- onClick: handleFrameClick,
177
- requestAccessContext: requestAccessContext
53
+ return /*#__PURE__*/React.createElement(FlexibleForbiddenView, _extends({}, flexibleBlockCardProps, {
54
+ onAuthorize: handleAuthorize
178
55
  }));
179
56
  case 'not_found':
180
- if (onError) {
181
- onError({
182
- url,
183
- status
184
- });
185
- }
186
- const notFoundViewProps = extractBlockProps(data, meta, extractorOpts);
187
- return jsx(BlockCardNotFoundView, _extends({}, notFoundViewProps, {
188
- isSelected: isSelected,
189
- testId: testId,
190
- onClick: handleFrameClick
57
+ return /*#__PURE__*/React.createElement(FlexibleNotFoundView, _extends({}, flexibleBlockCardProps, {
58
+ onAuthorize: handleAuthorize
191
59
  }));
192
60
  case 'fallback':
193
61
  case 'errored':
@@ -199,19 +67,15 @@ export const BlockCard = ({
199
67
  });
200
68
  }
201
69
  if (authFlow && authFlow === 'disabled') {
202
- return jsx(CardLinkView, {
70
+ return /*#__PURE__*/React.createElement(CardLinkView, {
203
71
  link: url,
204
72
  isSelected: isSelected,
205
73
  onClick: handleFrameClick,
206
74
  testId: `${testId}-${status}`
207
75
  });
208
76
  }
209
- return jsx(BlockCardErroredView, {
210
- link: url,
211
- isSelected: isSelected,
212
- onRetry: handleErrorRetry,
213
- onClick: handleFrameClick,
214
- testId: testId
215
- });
77
+ return /*#__PURE__*/React.createElement(FlexibleErroredView, _extends({}, flexibleBlockCardProps, {
78
+ onAuthorize: handleAuthorize
79
+ }));
216
80
  }
217
81
  };
@@ -247,17 +247,13 @@ function Component({
247
247
  authFlow: config && config.authFlow,
248
248
  cardState: state,
249
249
  handleAuthorize: services.length && handleAuthorize || undefined,
250
- handleErrorRetry: handleRetry,
251
- handleInvoke: handleInvoke,
252
250
  handleFrameClick: handleClickWrapper,
253
251
  analytics: analytics,
254
252
  isSelected: isSelected,
255
253
  onResolve: onResolve,
256
254
  onError: onError,
257
255
  testId: testId,
258
- actionOptions: actionOptions,
259
- platform: platform,
260
- enableFlexibleBlockCard: true
256
+ actionOptions: actionOptions
261
257
  });
262
258
  case 'embed':
263
259
  return /*#__PURE__*/React.createElement(EmbedCard, {
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
10
10
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
11
  const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "32.7.1",
13
+ packageVersion: "32.7.2",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
@@ -1,11 +1,13 @@
1
- export { contentFooterClassName } from './view/BlockCard/components/ContentFooter';
2
- export { metadataListClassName } from './view/common/MetadataList';
3
- export { blockCardResolvingViewClassName } from './view/BlockCard/views/ResolvingView';
4
- export { blockCardResolvedViewClassName, blockCardResolvedViewByClassName } from './view/BlockCard/views/ResolvedView';
5
- export { blockCardForbiddenViewClassName, blockCardForbiddenViewLinkClassName } from './view/BlockCard/views/ForbiddenView';
1
+ export var contentFooterClassName = 'smart-link-content-footer';
2
+ export var metadataListClassName = 'smart-link-metadata-list';
3
+ export var blockCardResolvingViewClassName = 'block-card-resolving-view';
4
+ export var blockCardResolvedViewClassName = 'block-card-resolved-view';
5
+ export var blockCardResolvedViewByClassName = 'block-card-resolved-view-by';
6
+ export var blockCardForbiddenViewClassName = 'block-card-forbidden-view';
7
+ export var blockCardForbiddenViewLinkClassName = 'block-card-forbidden-view-link';
6
8
  export { blockCardIconImageClassName } from './view/common/Icon';
7
- export { blockCardContentClassName } from './view/BlockCard/components/Content';
8
- export { blockCardContentHeaderClassName } from './view/BlockCard/components/ContentHeader';
9
- export { blockCardContentHeaderNameClassName } from './view/BlockCard/components/Name';
10
- export { blockCardNotFoundViewClassName } from './view/BlockCard/views/NotFoundView';
11
- export { blockCardErroredViewClassName } from './view/BlockCard/views/ErroredView';
9
+ export var blockCardContentClassName = 'block-card-content';
10
+ export var blockCardContentHeaderClassName = 'block-card-content-header';
11
+ export var blockCardContentHeaderNameClassName = 'block-card-content-header-name';
12
+ export var blockCardNotFoundViewClassName = 'block-card-not-found-view';
13
+ export var blockCardErroredViewClassName = 'block-card-errored-view';
@@ -1,52 +1,3 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- import { canShowAction } from '../../../utils/actions/can-show-action';
5
- import { DownloadAction } from '../../../view/BlockCard/actions/DownloadAction';
6
- import { ViewAction } from '../../../view/BlockCard/actions/ViewAction';
7
- import { CardAction } from '../../../view/Card/types';
8
- var isClientAction = function isClientAction(action) {
9
- return ['ViewAction', 'DownloadAction'].indexOf(action['@type']) > -1;
10
- };
11
- var getClientAction = function getClientAction(jsonLd, action) {
12
- switch (action['@type']) {
13
- case 'ViewAction':
14
- return ViewAction({
15
- url: jsonLd.url
16
- });
17
- case 'DownloadAction':
18
- return DownloadAction({
19
- url: jsonLd['atlassian:downloadUrl']
20
- });
21
- }
22
- };
23
- var isActionEnabled = function isActionEnabled(action, actionOptions) {
24
- switch (action['@type']) {
25
- case 'ViewAction':
26
- return canShowAction(CardAction.ViewAction, actionOptions);
27
- case 'DownloadAction':
28
- return canShowAction(CardAction.DownloadAction, actionOptions);
29
- }
30
- return true;
31
- };
32
- var getClientActionProps = function getClientActionProps(jsonLd, action, handler) {
33
- var clientAction = getClientAction(jsonLd, action);
34
- var clientActionInvokeOpts = {
35
- type: 'client',
36
- key: action.identifier,
37
- action: {
38
- type: action['@type'],
39
- promise: clientAction.promise
40
- }
41
- };
42
- // Send client actions through common invocation flow; for analytics
43
- // and, in future, in order to propagate state changes.
44
- return _objectSpread(_objectSpread({}, clientAction), {}, {
45
- promise: function promise() {
46
- return handler(clientActionInvokeOpts);
47
- }
48
- });
49
- };
50
1
  export var getActionsFromJsonLd = function getActionsFromJsonLd(jsonLd) {
51
2
  var actions = jsonLd && jsonLd['schema:potentialAction'];
52
3
  if (!actions) {
@@ -56,19 +7,4 @@ export var getActionsFromJsonLd = function getActionsFromJsonLd(jsonLd) {
56
7
  actions = [actions];
57
8
  }
58
9
  return actions;
59
- };
60
-
61
- /**
62
- * @private
63
- * @deprecated - use flexible extractors instead
64
- */
65
- export function extractClientActions(jsonLd, handler, actionOptions) {
66
- var actions = getActionsFromJsonLd(jsonLd);
67
- var clientActions = actions.filter(function (action) {
68
- return isClientAction(action) && isActionEnabled(action, actionOptions);
69
- });
70
- var clientActionImpls = clientActions.map(function (action) {
71
- return getClientActionProps(jsonLd, action, handler);
72
- });
73
- return clientActionImpls;
74
- }
10
+ };
@@ -38,7 +38,7 @@ export default {
38
38
  'fabric.linking.automation-action.confluence.page.modal.description': 'Použijte automatizaci u položky <b>{name}</b>.{br}Dostupné výběry jsou určeny správci Confluence a prostorů.',
39
39
  'fabric.linking.automation-action.confluence.page.modal.title': 'Automatizace stránek',
40
40
  'fabric.linking.automation-action.icon.label': 'Ikona automatizace',
41
- 'fabric.linking.automation-action.title': 'Zobrazit pravidla automatizace',
41
+ 'fabric.linking.automation-action.title': 'Zobrazit pravidla automatizace',
42
42
  'fabric.linking.automation-action.tooltip': 'Vyberte pravidlo automatizace, které chcete spustit.',
43
43
  'fabric.linking.beta': 'Beta',
44
44
  'fabric.linking.cancel': 'Zrušit',
@@ -90,7 +90,6 @@ export default {
90
90
  'fabric.linking.invalid_permissions': 'Omezený obsah',
91
91
  'fabric.linking.invalid_permissions_description': 'Pokud si chcete zobrazit tento náhled, požádejte o přístup nebo vyzkoušejte jiný účet.',
92
92
  'fabric.linking.join_to_view': 'Chcete-li si zobrazit tento požadavek, připojte se ke službě {context}.',
93
- 'fabric.linking.last_mentioned_in': 'Naposledy zmíněno v:',
94
93
  'fabric.linking.learn_more_about_connecting_account': 'Další informace o propojení účtu s produkty Atlassian.',
95
94
  'fabric.linking.learn_more_about_smart_links': 'Další informace o chytrých odkazech',
96
95
  'fabric.linking.link_safety_warning_message': 'Odkaz {unsafeLinkText} vás přesměruje na jiný web (<a>actual link here</a>)',
@@ -131,8 +130,7 @@ export default {
131
130
  'fabric.linking.related_links_modal_unavailable_header': 'Žádné nedávné odkazy',
132
131
  'fabric.linking.related_links_modal_unavailable_message': 'Nebyly nalezeny žádné odkazy, které bychom tu mohli zobrazit. Neustále kontrolujeme a přidáváme odkazy na nedávno aktualizované stránky nebo jiné typy obsahu.',
133
132
  'fabric.linking.related_links_not_found': 'Nebyly nalezeny žádné odkazy, které bychom tu mohli zobrazit.',
134
- 'fabric.linking.related_links_view_related_urls.nonfinal': 'Zobrazit nedávné odkazy',
135
- 'fabric.linking.related_work_items_not_found': 'Tento odkaz není nikde jinde zmíněn.',
133
+ 'fabric.linking.related_links_view_related_urls': 'Zobrazit nedávné odkazy',
136
134
  'fabric.linking.request_access': 'Požádat o přístup',
137
135
  'fabric.linking.request_access_description': 'Váš tým spolupracuje v {product}. Pošlete správci žádost o přístup.',
138
136
  'fabric.linking.request_access_pending': 'Čeká na schválení',
@@ -38,7 +38,7 @@ export default {
38
38
  'fabric.linking.automation-action.confluence.page.modal.description': 'Anvend en automatisering til <b>{name}</b>.{br}De tilgængelige valg styres af Confluence- og områdeadministratorer.',
39
39
  'fabric.linking.automation-action.confluence.page.modal.title': 'Sideautomatiseringer',
40
40
  'fabric.linking.automation-action.icon.label': 'Ikon for automatisering',
41
- 'fabric.linking.automation-action.title': 'Se automatiseringsregler …',
41
+ 'fabric.linking.automation-action.title': 'Vis automatiseringsregler',
42
42
  'fabric.linking.automation-action.tooltip': 'Vælg en automatiseringsregel, der skal køres',
43
43
  'fabric.linking.beta': 'Beta',
44
44
  'fabric.linking.cancel': 'Annuller',
@@ -90,7 +90,6 @@ export default {
90
90
  'fabric.linking.invalid_permissions': 'Begrænset indhold',
91
91
  'fabric.linking.invalid_permissions_description': 'Anmod om adgang, eller prøv med en anden konto for at se denne forhåndsvisning.',
92
92
  'fabric.linking.join_to_view': 'Deltag i {context} for at se denne sag',
93
- 'fabric.linking.last_mentioned_in': 'Sidst omtalt i',
94
93
  'fabric.linking.learn_more_about_connecting_account': 'Få mere at vide om, hvordan du knytter din konto til Atlassian-produkter.',
95
94
  'fabric.linking.learn_more_about_smart_links': 'Få mere at vide om intelligente links.',
96
95
  'fabric.linking.link_safety_warning_message': 'Linket {unsafeLinkText} fører dig til et andet websted, <a>actual link here</a>',
@@ -131,8 +130,7 @@ export default {
131
130
  'fabric.linking.related_links_modal_unavailable_header': 'Ingen nylige links',
132
131
  'fabric.linking.related_links_modal_unavailable_message': 'Vi fandt ikke nogen links at vise her. Vi gennemgår løbende og tilføjer nylige links til opdaterede sider eller andre indholdstyper.',
133
132
  'fabric.linking.related_links_not_found': 'Vi fandt ikke nogen links.',
134
- 'fabric.linking.related_links_view_related_urls.nonfinal': 'Se nylige links ...',
135
- 'fabric.linking.related_work_items_not_found': 'Dette link omtales ikke andre steder.',
133
+ 'fabric.linking.related_links_view_related_urls': 'Vis nylige links',
136
134
  'fabric.linking.request_access': 'Anmod om adgang',
137
135
  'fabric.linking.request_access_description': 'Dit team bruger {product} til at samarbejde. Send din administrator en anmodning om adgang.',
138
136
  'fabric.linking.request_access_pending': 'Afventer godkendelse',
@@ -38,7 +38,7 @@ export default {
38
38
  'fabric.linking.automation-action.confluence.page.modal.description': 'Wenden Sie eine Automatisierung auf <b>{name}</b> an.{br}Die verfügbaren Auswahlen werden von Confluence- und Bereichsadministratoren gesteuert.',
39
39
  'fabric.linking.automation-action.confluence.page.modal.title': 'Seitenautomatisierungen',
40
40
  'fabric.linking.automation-action.icon.label': 'Symbol: Automatisierung',
41
- 'fabric.linking.automation-action.title': 'Automatisierungsregeln anzeigen ...',
41
+ 'fabric.linking.automation-action.title': 'Automatisierungsregeln anzeigen',
42
42
  'fabric.linking.automation-action.tooltip': 'Wählen Sie eine Automatisierungsregel aus, die ausgeführt werden soll.',
43
43
  'fabric.linking.beta': 'Beta',
44
44
  'fabric.linking.cancel': 'Abbrechen',
@@ -90,7 +90,6 @@ export default {
90
90
  'fabric.linking.invalid_permissions': 'Inhalt mit Beschränkungen',
91
91
  'fabric.linking.invalid_permissions_description': 'Bitte senden Sie eine Zugriffsanfrage oder versuchen Sie, die Vorschau über ein anderes Konto anzusehen.',
92
92
  'fabric.linking.join_to_view': '{context} beitreten, um diesen Vorgang anzuzeigen',
93
- 'fabric.linking.last_mentioned_in': 'Zuletzt erwähnt in',
94
93
  'fabric.linking.learn_more_about_connecting_account': 'Weitere Informationen zum Verbinden Ihres Kontos mit Atlassian-Produkten',
95
94
  'fabric.linking.learn_more_about_smart_links': 'Mehr über intelligente Links erfahren',
96
95
  'fabric.linking.link_safety_warning_message': 'Über den Link {unsafeLinkText} gelangen Sie zu einer anderen Site, <a>actual link here</a>',
@@ -131,8 +130,7 @@ export default {
131
130
  'fabric.linking.related_links_modal_unavailable_header': 'Keine zuletzt aufgerufenen Links',
132
131
  'fabric.linking.related_links_modal_unavailable_message': 'Es wurden keine Links zum Anzeigen gefunden. Die zuletzt aufgerufenen Links werden fortlaufend auf aktualisierte Seiten oder andere Inhaltstypen geprüft und ggf. hinzugefügt.',
133
132
  'fabric.linking.related_links_not_found': 'Es wurden keine Links zum Anzeigen gefunden.',
134
- 'fabric.linking.related_links_view_related_urls.nonfinal': 'Letzte Verknüpfungen anzeigen …',
135
- 'fabric.linking.related_work_items_not_found': 'Dieser Link wird nirgendwo sonst erwähnt.',
133
+ 'fabric.linking.related_links_view_related_urls': 'Letzte Links anzeigen',
136
134
  'fabric.linking.request_access': 'Zugriff anfordern',
137
135
  'fabric.linking.request_access_description': 'Ihr Team verwendet {product} zur Zusammenarbeit. Senden Sie Ihrem Administrator eine Zugriffsanfrage.',
138
136
  'fabric.linking.request_access_pending': 'Genehmigung ausstehend',
@@ -38,7 +38,7 @@ export default {
38
38
  'fabric.linking.automation-action.confluence.page.modal.description': 'Apply an automation to <b>{name}</b>.{br}The available selections are controlled by Confluence and space administrators.',
39
39
  'fabric.linking.automation-action.confluence.page.modal.title': 'Page automations',
40
40
  'fabric.linking.automation-action.icon.label': 'Automation icon',
41
- 'fabric.linking.automation-action.title': 'View automation rules...',
41
+ 'fabric.linking.automation-action.title': 'View automation rules',
42
42
  'fabric.linking.automation-action.tooltip': 'Select an automation rule to run',
43
43
  'fabric.linking.beta': 'Beta',
44
44
  'fabric.linking.cancel': 'Cancel',
@@ -90,7 +90,6 @@ export default {
90
90
  'fabric.linking.invalid_permissions': 'Restricted content',
91
91
  'fabric.linking.invalid_permissions_description': "You'll need to request access or try a different account to view this preview.",
92
92
  'fabric.linking.join_to_view': 'Join {context} to view this issue',
93
- 'fabric.linking.last_mentioned_in': 'Last mentioned in',
94
93
  'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
95
94
  'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
96
95
  'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
@@ -131,8 +130,7 @@ export default {
131
130
  'fabric.linking.related_links_modal_unavailable_header': 'No recent links',
132
131
  'fabric.linking.related_links_modal_unavailable_message': "We didn't find any links to show here. We continuously review and add recent links for updated pages or other content types.",
133
132
  'fabric.linking.related_links_not_found': "We didn't find any links to show here.",
134
- 'fabric.linking.related_links_view_related_urls.nonfinal': 'View recent links...',
135
- 'fabric.linking.related_work_items_not_found': 'This link is not mentioned anywhere else.',
133
+ 'fabric.linking.related_links_view_related_urls': 'View recent links',
136
134
  'fabric.linking.request_access': 'Request access',
137
135
  'fabric.linking.request_access_description': 'Your team uses {product} to collaborate. Send your admin a request for access.',
138
136
  'fabric.linking.request_access_pending': 'Pending approval',
@@ -38,7 +38,7 @@ export default {
38
38
  'fabric.linking.automation-action.confluence.page.modal.description': 'Apply an automation to <b>{name}</b>.{br}The available selections are controlled by Confluence and space administrators.',
39
39
  'fabric.linking.automation-action.confluence.page.modal.title': 'Page automations',
40
40
  'fabric.linking.automation-action.icon.label': 'Automation icon',
41
- 'fabric.linking.automation-action.title': 'View automation rules...',
41
+ 'fabric.linking.automation-action.title': 'View automation rules',
42
42
  'fabric.linking.automation-action.tooltip': 'Select an automation rule to run',
43
43
  'fabric.linking.beta': 'Beta',
44
44
  'fabric.linking.cancel': 'Cancel',
@@ -90,7 +90,6 @@ export default {
90
90
  'fabric.linking.invalid_permissions': 'Restricted content',
91
91
  'fabric.linking.invalid_permissions_description': "You'll need to request access or try a different account to view this preview.",
92
92
  'fabric.linking.join_to_view': 'Join {context} to view this issue',
93
- 'fabric.linking.last_mentioned_in': 'Last mentioned in',
94
93
  'fabric.linking.learn_more_about_connecting_account': 'Learn more about connecting your account to Atlassian products.',
95
94
  'fabric.linking.learn_more_about_smart_links': 'Learn more about Smart Links.',
96
95
  'fabric.linking.link_safety_warning_message': 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
@@ -131,8 +130,7 @@ export default {
131
130
  'fabric.linking.related_links_modal_unavailable_header': 'No recent links',
132
131
  'fabric.linking.related_links_modal_unavailable_message': "We didn't find any links to show here. We continuously review and add recent links for updated pages or other content types.",
133
132
  'fabric.linking.related_links_not_found': "We didn't find any links to show here.",
134
- 'fabric.linking.related_links_view_related_urls.nonfinal': 'View recent links...',
135
- 'fabric.linking.related_work_items_not_found': 'This link is not mentioned anywhere else.',
133
+ 'fabric.linking.related_links_view_related_urls': 'View recent links',
136
134
  'fabric.linking.request_access': 'Request access',
137
135
  'fabric.linking.request_access_description': 'Your team uses {product} to collaborate. Send your admin a request for access.',
138
136
  'fabric.linking.request_access_pending': 'Pending approval',