@atlaskit/smart-card 36.2.5 → 36.2.7

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 (187) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/i18n/cs.js +1 -0
  3. package/dist/cjs/i18n/da.js +1 -0
  4. package/dist/cjs/i18n/de.js +1 -0
  5. package/dist/cjs/i18n/en.js +1 -0
  6. package/dist/cjs/i18n/en_GB.js +1 -0
  7. package/dist/cjs/i18n/en_ZZ.js +1 -0
  8. package/dist/cjs/i18n/es.js +1 -0
  9. package/dist/cjs/i18n/fi.js +1 -0
  10. package/dist/cjs/i18n/fr.js +1 -0
  11. package/dist/cjs/i18n/hu.js +1 -0
  12. package/dist/cjs/i18n/it.js +1 -0
  13. package/dist/cjs/i18n/ja.js +3 -2
  14. package/dist/cjs/i18n/ko.js +1 -0
  15. package/dist/cjs/i18n/nb.js +1 -0
  16. package/dist/cjs/i18n/nl.js +1 -0
  17. package/dist/cjs/i18n/pl.js +1 -0
  18. package/dist/cjs/i18n/pt_BR.js +1 -0
  19. package/dist/cjs/i18n/ru.js +1 -0
  20. package/dist/cjs/i18n/sv.js +1 -0
  21. package/dist/cjs/i18n/th.js +1 -0
  22. package/dist/cjs/i18n/tr.js +1 -0
  23. package/dist/cjs/i18n/uk.js +1 -0
  24. package/dist/cjs/i18n/vi.js +1 -0
  25. package/dist/cjs/i18n/zh.js +1 -0
  26. package/dist/cjs/i18n/zh_TW.js +1 -0
  27. package/dist/cjs/messages.js +30 -0
  28. package/dist/cjs/utils/analytics/analytics.js +1 -1
  29. package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -1
  30. package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +7 -1
  31. package/dist/cjs/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.js +8 -0
  32. package/dist/cjs/view/LinkUrl/index.js +1 -1
  33. package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +4 -2
  34. package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.compiled.css +13 -1
  35. package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.js +14 -4
  36. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.compiled.css +2 -1
  37. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +20 -6
  38. package/dist/cjs/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.js +18 -0
  39. package/dist/cjs/view/RelatedLinksModal/views/resolved/index.js +17 -4
  40. package/dist/cjs/view/RelatedLinksModal/views/unavailable/index.js +12 -1
  41. package/dist/cjs/view/common/render-svg.compiled.css +3 -0
  42. package/dist/cjs/view/common/render-svg.js +32 -0
  43. package/dist/es2019/i18n/cs.js +1 -0
  44. package/dist/es2019/i18n/da.js +1 -0
  45. package/dist/es2019/i18n/de.js +1 -0
  46. package/dist/es2019/i18n/en.js +1 -0
  47. package/dist/es2019/i18n/en_GB.js +1 -0
  48. package/dist/es2019/i18n/en_ZZ.js +1 -0
  49. package/dist/es2019/i18n/es.js +1 -0
  50. package/dist/es2019/i18n/fi.js +1 -0
  51. package/dist/es2019/i18n/fr.js +1 -0
  52. package/dist/es2019/i18n/hu.js +1 -0
  53. package/dist/es2019/i18n/it.js +1 -0
  54. package/dist/es2019/i18n/ja.js +3 -2
  55. package/dist/es2019/i18n/ko.js +1 -0
  56. package/dist/es2019/i18n/nb.js +1 -0
  57. package/dist/es2019/i18n/nl.js +1 -0
  58. package/dist/es2019/i18n/pl.js +1 -0
  59. package/dist/es2019/i18n/pt_BR.js +1 -0
  60. package/dist/es2019/i18n/ru.js +1 -0
  61. package/dist/es2019/i18n/sv.js +1 -0
  62. package/dist/es2019/i18n/th.js +1 -0
  63. package/dist/es2019/i18n/tr.js +1 -0
  64. package/dist/es2019/i18n/uk.js +1 -0
  65. package/dist/es2019/i18n/vi.js +1 -0
  66. package/dist/es2019/i18n/zh.js +1 -0
  67. package/dist/es2019/i18n/zh_TW.js +1 -0
  68. package/dist/es2019/messages.js +30 -0
  69. package/dist/es2019/utils/analytics/analytics.js +1 -1
  70. package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -1
  71. package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +7 -1
  72. package/dist/es2019/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.js +8 -0
  73. package/dist/es2019/view/LinkUrl/index.js +1 -1
  74. package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +4 -2
  75. package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.compiled.css +13 -1
  76. package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.js +11 -4
  77. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.compiled.css +2 -1
  78. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +17 -6
  79. package/dist/es2019/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.js +11 -0
  80. package/dist/es2019/view/RelatedLinksModal/views/resolved/index.js +13 -4
  81. package/dist/es2019/view/RelatedLinksModal/views/unavailable/index.js +10 -1
  82. package/dist/es2019/view/common/render-svg.compiled.css +3 -0
  83. package/dist/es2019/view/common/render-svg.js +23 -0
  84. package/dist/esm/i18n/cs.js +1 -0
  85. package/dist/esm/i18n/da.js +1 -0
  86. package/dist/esm/i18n/de.js +1 -0
  87. package/dist/esm/i18n/en.js +1 -0
  88. package/dist/esm/i18n/en_GB.js +1 -0
  89. package/dist/esm/i18n/en_ZZ.js +1 -0
  90. package/dist/esm/i18n/es.js +1 -0
  91. package/dist/esm/i18n/fi.js +1 -0
  92. package/dist/esm/i18n/fr.js +1 -0
  93. package/dist/esm/i18n/hu.js +1 -0
  94. package/dist/esm/i18n/it.js +1 -0
  95. package/dist/esm/i18n/ja.js +3 -2
  96. package/dist/esm/i18n/ko.js +1 -0
  97. package/dist/esm/i18n/nb.js +1 -0
  98. package/dist/esm/i18n/nl.js +1 -0
  99. package/dist/esm/i18n/pl.js +1 -0
  100. package/dist/esm/i18n/pt_BR.js +1 -0
  101. package/dist/esm/i18n/ru.js +1 -0
  102. package/dist/esm/i18n/sv.js +1 -0
  103. package/dist/esm/i18n/th.js +1 -0
  104. package/dist/esm/i18n/tr.js +1 -0
  105. package/dist/esm/i18n/uk.js +1 -0
  106. package/dist/esm/i18n/vi.js +1 -0
  107. package/dist/esm/i18n/zh.js +1 -0
  108. package/dist/esm/i18n/zh_TW.js +1 -0
  109. package/dist/esm/messages.js +30 -0
  110. package/dist/esm/utils/analytics/analytics.js +1 -1
  111. package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/index.js +2 -1
  112. package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +7 -1
  113. package/dist/esm/view/LinkUrl/LinkWarningModal/hooks/use-link-warning-modal.js +8 -0
  114. package/dist/esm/view/LinkUrl/index.js +1 -1
  115. package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +4 -2
  116. package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.compiled.css +13 -1
  117. package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.js +14 -4
  118. package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.compiled.css +2 -1
  119. package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +20 -6
  120. package/dist/esm/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.js +11 -0
  121. package/dist/esm/view/RelatedLinksModal/views/resolved/index.js +17 -4
  122. package/dist/esm/view/RelatedLinksModal/views/unavailable/index.js +12 -1
  123. package/dist/esm/view/common/render-svg.compiled.css +3 -0
  124. package/dist/esm/view/common/render-svg.js +22 -0
  125. package/dist/types/i18n/cs.d.ts +1 -0
  126. package/dist/types/i18n/da.d.ts +1 -0
  127. package/dist/types/i18n/de.d.ts +1 -0
  128. package/dist/types/i18n/en.d.ts +1 -0
  129. package/dist/types/i18n/en_GB.d.ts +1 -0
  130. package/dist/types/i18n/en_ZZ.d.ts +1 -0
  131. package/dist/types/i18n/es.d.ts +1 -0
  132. package/dist/types/i18n/fi.d.ts +1 -0
  133. package/dist/types/i18n/fr.d.ts +1 -0
  134. package/dist/types/i18n/hu.d.ts +1 -0
  135. package/dist/types/i18n/it.d.ts +1 -0
  136. package/dist/types/i18n/ja.d.ts +1 -0
  137. package/dist/types/i18n/ko.d.ts +1 -0
  138. package/dist/types/i18n/nb.d.ts +1 -0
  139. package/dist/types/i18n/nl.d.ts +1 -0
  140. package/dist/types/i18n/pl.d.ts +1 -0
  141. package/dist/types/i18n/pt_BR.d.ts +1 -0
  142. package/dist/types/i18n/ru.d.ts +1 -0
  143. package/dist/types/i18n/sv.d.ts +1 -0
  144. package/dist/types/i18n/th.d.ts +1 -0
  145. package/dist/types/i18n/tr.d.ts +1 -0
  146. package/dist/types/i18n/uk.d.ts +1 -0
  147. package/dist/types/i18n/vi.d.ts +1 -0
  148. package/dist/types/i18n/zh.d.ts +1 -0
  149. package/dist/types/i18n/zh_TW.d.ts +1 -0
  150. package/dist/types/messages.d.ts +1 -1
  151. package/dist/types/view/RelatedLinksModal/components/related-link-item/index.d.ts +1 -1
  152. package/dist/types/view/RelatedLinksModal/components/related-links-list/index.d.ts +1 -1
  153. package/dist/types/view/RelatedLinksModal/components/types.d.ts +4 -0
  154. package/dist/types/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.d.ts +3 -0
  155. package/dist/types/view/common/render-svg.d.ts +16 -0
  156. package/dist/types-ts4.5/i18n/cs.d.ts +1 -0
  157. package/dist/types-ts4.5/i18n/da.d.ts +1 -0
  158. package/dist/types-ts4.5/i18n/de.d.ts +1 -0
  159. package/dist/types-ts4.5/i18n/en.d.ts +1 -0
  160. package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
  161. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
  162. package/dist/types-ts4.5/i18n/es.d.ts +1 -0
  163. package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
  164. package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
  165. package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
  166. package/dist/types-ts4.5/i18n/it.d.ts +1 -0
  167. package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
  168. package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
  169. package/dist/types-ts4.5/i18n/nb.d.ts +1 -0
  170. package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
  171. package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
  172. package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
  173. package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
  174. package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
  175. package/dist/types-ts4.5/i18n/th.d.ts +1 -0
  176. package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
  177. package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
  178. package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
  179. package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
  180. package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -0
  181. package/dist/types-ts4.5/messages.d.ts +1 -1
  182. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/index.d.ts +1 -1
  183. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-links-list/index.d.ts +1 -1
  184. package/dist/types-ts4.5/view/RelatedLinksModal/components/types.d.ts +4 -0
  185. package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.d.ts +3 -0
  186. package/dist/types-ts4.5/view/common/render-svg.d.ts +16 -0
  187. package/package.json +15 -8
@@ -1,4 +1,5 @@
1
1
  ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
2
  ._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
3
3
  ._1rjcu2gc{padding-block:var(--ds-space-100,8px)}
4
- ._1q511b66{padding-block-start:var(--ds-space-050,4px)}
4
+ ._1q511b66{padding-block-start:var(--ds-space-050,4px)}
5
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
@@ -3,27 +3,38 @@ import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { FormattedMessage } from 'react-intl-next';
6
+ import { fg } from "@atlaskit/platform-feature-flags";
6
7
  import { Box, Stack } from '@atlaskit/primitives/compiled';
7
8
  import { messages } from '../../../../messages';
8
9
  import RelatedLinkItem from '../related-link-item';
9
10
  const styles = {
10
- sectionTitle: "_11c81vhk _1q511b66",
11
+ sectionTitleOld: "_11c81vhk _1q511b66",
12
+ sectionTitle: "_11c81vhk _syaz1gjq _1q511b66",
11
13
  boxStyle: "_11c81o8v _1rjcu2gc"
12
14
  };
13
15
  const RelatedLinksList = ({
14
16
  urls,
15
17
  title,
16
- testId
18
+ testId,
19
+ selected,
20
+ handleSelectedUpdate
17
21
  }) => {
22
+ const TitleWrapper = ({
23
+ children
24
+ }) => fg('platform-linking-visual-refresh-v2') ? /*#__PURE__*/React.createElement(Box, {
25
+ xcss: styles.sectionTitle
26
+ }, children) : /*#__PURE__*/React.createElement(Box, {
27
+ xcss: styles.sectionTitleOld
28
+ }, children);
18
29
  return /*#__PURE__*/React.createElement(Stack, {
19
30
  testId: testId
20
- }, /*#__PURE__*/React.createElement(Box, {
21
- xcss: styles.sectionTitle
22
- }, /*#__PURE__*/React.createElement(FormattedMessage, title)), urls.length > 0 && /*#__PURE__*/React.createElement(Box, null, urls.map((url, idx) => /*#__PURE__*/React.createElement(Stack, {
31
+ }, /*#__PURE__*/React.createElement(TitleWrapper, null, /*#__PURE__*/React.createElement(FormattedMessage, title)), urls.length > 0 && /*#__PURE__*/React.createElement(Box, null, urls.map((url, idx) => /*#__PURE__*/React.createElement(Stack, {
23
32
  key: `${idx}-${url}`
24
33
  }, /*#__PURE__*/React.createElement(RelatedLinkItem, {
25
34
  url: url,
26
- testId: `${testId}-item-${idx}`
35
+ testId: `${testId}-item-${idx}`,
36
+ isSelected: selected === `${idx}-${url}`,
37
+ onFocus: () => handleSelectedUpdate && handleSelectedUpdate(`${idx}-${url}`)
27
38
  })))), urls.length === 0 && /*#__PURE__*/React.createElement(Box, {
28
39
  xcss: styles.boxStyle
29
40
  }, /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_not_found)));
@@ -0,0 +1,11 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import React from 'react';
3
+ import { RenderSVG } from '../../../../../common/render-svg';
4
+ import Dark from './assets/dark.svg';
5
+ import Light from './assets/light.svg';
6
+ export const SpotSearchNoResult = props => {
7
+ return /*#__PURE__*/React.createElement(RenderSVG, _extends({
8
+ src: Light,
9
+ srcDark: Dark
10
+ }, props));
11
+ };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { AnalyticsContext } from '@atlaskit/analytics-next';
3
+ import { fg } from "@atlaskit/platform-feature-flags";
3
4
  import { Stack } from '@atlaskit/primitives/compiled';
4
5
  import { messages } from '../../../../messages';
5
6
  import RelatedLinksList from '../../components/related-links-list';
@@ -7,6 +8,10 @@ const RelatedLinksResolvedView = ({
7
8
  incomingLinks = [],
8
9
  outgoingLinks = []
9
10
  }) => {
11
+ const [selected, setSelected] = React.useState("");
12
+ const handleSelectedUpdate = selectedKey => {
13
+ setSelected(selectedKey);
14
+ };
10
15
  return /*#__PURE__*/React.createElement(Stack, {
11
16
  space: "space.150"
12
17
  }, /*#__PURE__*/React.createElement(AnalyticsContext, {
@@ -15,16 +20,20 @@ const RelatedLinksResolvedView = ({
15
20
  }
16
21
  }, /*#__PURE__*/React.createElement(RelatedLinksList, {
17
22
  urls: incomingLinks,
18
- title: messages.related_links_found_in,
19
- testId: "incoming-related-links-list"
23
+ title: fg('platform-linking-visual-refresh-v2') ? messages.related_links_found_in_v2 : messages.related_links_found_in,
24
+ testId: "incoming-related-links-list",
25
+ selected: selected,
26
+ handleSelectedUpdate: handleSelectedUpdate
20
27
  })), /*#__PURE__*/React.createElement(AnalyticsContext, {
21
28
  data: {
22
29
  component: 'relatedLinksOutgoing'
23
30
  }
24
31
  }, /*#__PURE__*/React.createElement(RelatedLinksList, {
25
32
  urls: outgoingLinks,
26
- title: messages.related_links_includes_links_to,
27
- testId: "outgoing-related-links-list"
33
+ title: fg('platform-linking-visual-refresh-v2') ? messages.related_links_includes_links_to_v2 : messages.related_links_includes_links_to,
34
+ testId: "outgoing-related-links-list",
35
+ selected: selected,
36
+ handleSelectedUpdate: handleSelectedUpdate
28
37
  })));
29
38
  };
30
39
  export default RelatedLinksResolvedView;
@@ -1,11 +1,20 @@
1
1
  import React from 'react';
2
2
  import { FormattedMessage, useIntl } from 'react-intl-next';
3
+ import { fg } from "@atlaskit/platform-feature-flags";
3
4
  import { messages } from '../../../../messages';
4
5
  import { EmptyState } from '../../components/EmptyState';
6
+ import { SpotSearchNoResult } from "../errored/error-svg/search-no-result";
5
7
  import { UnavailableSVG } from './unavailable-svg';
6
8
  const RelatedLinksUnavailableView = () => {
7
9
  const intl = useIntl();
8
- return /*#__PURE__*/React.createElement(EmptyState, {
10
+ return fg('platform-linking-visual-refresh-v2') ? /*#__PURE__*/React.createElement(EmptyState, {
11
+ renderImage: () => /*#__PURE__*/React.createElement(SpotSearchNoResult, {
12
+ size: 'large',
13
+ alt: intl.formatMessage(messages.related_links_modal_unavailable_title)
14
+ }),
15
+ header: intl.formatMessage(messages.related_links_modal_unavailable_title),
16
+ description: /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_modal_unavailable_description)
17
+ }) : /*#__PURE__*/React.createElement(EmptyState, {
9
18
  renderImage: () => /*#__PURE__*/React.createElement(UnavailableSVG, null),
10
19
  header: intl.formatMessage(messages.related_links_modal_unavailable_header),
11
20
  description: /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_modal_unavailable_message)
@@ -0,0 +1,3 @@
1
+ ._1bsb1lit{width:10pc}
2
+ ._1bsb1wqb{width:60px}
3
+ ._1bsb53f4{width:75pt}
@@ -0,0 +1,23 @@
1
+ /* render-svg.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./render-svg.compiled.css";
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ import Image from '@atlaskit/image';
6
+ const imageSizeStyles = {
7
+ xlarge: "_1bsb1lit",
8
+ large: "_1bsb53f4",
9
+ medium: "_1bsb1wqb"
10
+ };
11
+ export const RenderSVG = ({
12
+ alt,
13
+ size,
14
+ src,
15
+ srcDark
16
+ }) => {
17
+ return /*#__PURE__*/React.createElement(Image, {
18
+ src: src,
19
+ srcDark: srcDark,
20
+ alt: alt,
21
+ className: ax([size && imageSizeStyles[size]])
22
+ });
23
+ };
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Aktualizováno: {context}',
99
99
  'fabric.linking.modified_on_relative': 'Aktualizováno: {context}',
100
100
  'fabric.linking.more_actions': 'Další akce',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Další informace o tomto požadavku',
101
102
  'fabric.linking.no_access_title': 'Chcete-li si zobrazit tento obsah, připojte se k produktu {product}',
102
103
  'fabric.linking.not_found_description': 'Stránka neexistuje nebo se po přidání tohoto odkazu mohla změnit.',
103
104
  'fabric.linking.not_found_title': 'Tuto stránku {product} vám nemůžeme zobrazit',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Opdateret {context}',
99
99
  'fabric.linking.modified_on_relative': 'Opdateret: {context}',
100
100
  'fabric.linking.more_actions': 'Flere handlinger',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Flere oplysninger om denne sag',
101
102
  'fabric.linking.no_access_title': 'Deltag i {product} for at se dette indhold',
102
103
  'fabric.linking.not_found_description': 'Siden findes ikke, eller den kan være ændret, efter at linket blev tilføjet.',
103
104
  'fabric.linking.not_found_title': 'Vi kan ikke vise dig denne {product}-side',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Aktualisiert am: {context}',
99
99
  'fabric.linking.modified_on_relative': 'Aktualisiert: {context}',
100
100
  'fabric.linking.more_actions': 'Weitere Aktionen',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Weitere Informationen zu diesem Vorgang',
101
102
  'fabric.linking.no_access_title': 'Treten Sie {product} bei, um diesen Inhalt anzuzeigen',
102
103
  'fabric.linking.not_found_description': 'Die Seite existiert nicht oder sie hat sich möglicherweise geändert, nachdem dieser Link hinzugefügt wurde.',
103
104
  'fabric.linking.not_found_title': 'Diese {product}-Seite kann nicht angezeigt werden',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Updated on {context}',
99
99
  'fabric.linking.modified_on_relative': 'Updated {context}',
100
100
  'fabric.linking.more_actions': 'More actions',
101
+ 'fabric.linking.more_information_about_this_work_item': 'More information about this work item',
101
102
  'fabric.linking.no_access_title': 'Join {product} to view this content',
102
103
  'fabric.linking.not_found_description': "The page doesn't exist or it may have changed after this link was added.",
103
104
  'fabric.linking.not_found_title': "We can't show you this {product} page",
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Updated on {context}',
99
99
  'fabric.linking.modified_on_relative': 'Updated {context}',
100
100
  'fabric.linking.more_actions': 'More actions',
101
+ 'fabric.linking.more_information_about_this_work_item': 'More information about this work item',
101
102
  'fabric.linking.no_access_title': 'Join {product} to view this content',
102
103
  'fabric.linking.not_found_description': "The page doesn't exist or it may have changed after this link was added.",
103
104
  'fabric.linking.not_found_title': "We can't show you this {product} page",
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': '⁣⁢Updated on {context}⁡⁠‌؜‌؜⁠⁠؜⁣⁤',
99
99
  'fabric.linking.modified_on_relative': '⁣⁢Updated {context}⁠‌؜‍‌؜‌؜⁠‌⁣⁤',
100
100
  'fabric.linking.more_actions': '⁣⁢More actions‌⁡‌‌‌‍⁠‍⁡؜‌⁣⁤',
101
+ 'fabric.linking.more_information_about_this_work_item': '⁣⁢More information about this work item؜‍‍‍؜⁠‌‌⁡⁠‌⁣⁤',
101
102
  'fabric.linking.no_access_title': '⁣⁢Join {product} to view this content‌⁠‍⁠‌؜⁣⁤',
102
103
  'fabric.linking.not_found_description': "⁣⁢The page doesn't exist or it may have changed after this link was added.⁠‍؜‌‍‌‌⁣⁤",
103
104
  'fabric.linking.not_found_title': "⁣⁢We can't show you this {product} page؜⁡‌⁠‍⁡؜؜⁡‍‍‍‌⁣⁤",
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Fecha de actualización: {context}',
99
99
  'fabric.linking.modified_on_relative': 'Fecha de actualización: {context}',
100
100
  'fabric.linking.more_actions': 'Más acciones',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Más información sobre esta actividad',
101
102
  'fabric.linking.no_access_title': 'Únete a {product} para ver este contenido',
102
103
  'fabric.linking.not_found_description': 'La página no existe o puede haberse cambiado después de añadir este enlace.',
103
104
  'fabric.linking.not_found_title': 'No podemos mostrarte esta página de {product}',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Päivitetty {context}',
99
99
  'fabric.linking.modified_on_relative': 'Päivitetty {context}',
100
100
  'fabric.linking.more_actions': 'Lisää toimintoja',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Lisätietoja tästä työtehtävästä',
101
102
  'fabric.linking.no_access_title': 'Näytä tämä sisältö liittymällä {product}-palveluun',
102
103
  'fabric.linking.not_found_description': 'Sivua ei ole olemassa, tai sitä on saatettu muuttaa tämän linkin lisäämisen jälkeen.',
103
104
  'fabric.linking.not_found_title': 'Tätä {product}-sivua ei voida näyttää',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Mise à jour : {context}',
99
99
  'fabric.linking.modified_on_relative': 'Mise à jour : {context}',
100
100
  'fabric.linking.more_actions': "Plus d'actions",
101
+ 'fabric.linking.more_information_about_this_work_item': 'En savoir plus sur ce ticket',
101
102
  'fabric.linking.no_access_title': 'Rejoignez {product} pour voir ce contenu',
102
103
  'fabric.linking.not_found_description': "La page n'existe pas ou elle a peut-être changé après l'ajout de ce lien.",
103
104
  'fabric.linking.not_found_title': "Impossible d'afficher cette page {product}",
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Frissítve ekkor: {context}',
99
99
  'fabric.linking.modified_on_relative': 'Frissítve: {context}',
100
100
  'fabric.linking.more_actions': 'További műveletek',
101
+ 'fabric.linking.more_information_about_this_work_item': 'További információ erről az ügyről',
101
102
  'fabric.linking.no_access_title': 'A tartalom megtekintéséhez csatlakozz: {product}',
102
103
  'fabric.linking.not_found_description': 'Az oldal nem létezik, vagy módosították a link hozzáadása óta.',
103
104
  'fabric.linking.not_found_title': 'Nem tudjuk megjeleníteni ezt a(z) {product}-oldalt',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Aggiornato il {context}',
99
99
  'fabric.linking.modified_on_relative': 'Aggiornamento: {context}',
100
100
  'fabric.linking.more_actions': 'Altre azioni',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Ulteriori informazioni su questo ticket',
101
102
  'fabric.linking.no_access_title': 'Unisciti a {product} per visualizzare questo contenuto',
102
103
  'fabric.linking.not_found_description': "La pagina non esiste o potrebbe essere stata spostata dopo l'aggiunta di questo link.",
103
104
  'fabric.linking.not_found_title': 'Non possiamo mostrarti questa pagina {product}',
@@ -90,7 +90,7 @@ 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.join_to_view-issue-term-refresh': '{context}に参加してこの作業項目を見る',
93
+ 'fabric.linking.join_to_view-issue-term-refresh': '{context} に参加してこの作業項目を見る',
94
94
  'fabric.linking.learn_more_about_connecting_account': 'アカウントをアトラシアン製品に接続する方法をご確認ください。',
95
95
  'fabric.linking.learn_more_about_smart_links': 'スマート リンクの詳細',
96
96
  'fabric.linking.link_safety_warning_message': 'リンク {unsafeLinkText} をクリックすると別のサイトが開きます。<a>実際のリンク先</a>',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': '更新日: {context}',
99
99
  'fabric.linking.modified_on_relative': '更新日: {context}',
100
100
  'fabric.linking.more_actions': 'その他のアクション',
101
+ 'fabric.linking.more_information_about_this_work_item': 'この作業項目に関する詳細情報',
101
102
  'fabric.linking.no_access_title': '{product} に参加してこのコンテンツを閲覧する',
102
103
  'fabric.linking.not_found_description': 'ページが存在しないか、このリンクの追加後に変更された可能性があります。',
103
104
  'fabric.linking.not_found_title': 'この {product} のページは表示できません',
@@ -139,7 +140,7 @@ export default {
139
140
  'fabric.linking.request_access_pending_description': '{hostname} へのアクセス権のリクエストは管理者の承認待ちです。',
140
141
  'fabric.linking.request_access_pending_title': '{product} へのアクセス権は保留中です',
141
142
  'fabric.linking.request_access_to_view': 'この課題を表示するには、{context}へのアクセスをリクエストします。',
142
- 'fabric.linking.request_access_to_view-issue-term-refresh': 'この作業項目を表示するには、{context}へのアクセスをリクエストします。',
143
+ 'fabric.linking.request_access_to_view-issue-term-refresh': 'この作業項目を表示するには、{context} へのアクセスをリクエストします。',
143
144
  'fabric.linking.request_denied': 'アクセス リクエストが拒否されました。',
144
145
  'fabric.linking.request_denied_description': '{hostname} の {product} ページを閲覧するリクエストが管理者によって承認されませんでした。',
145
146
  'fabric.linking.restricted_link': '制限されているリンクです、別のアカウントをお試しください。',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': '{context}에 업데이트',
99
99
  'fabric.linking.modified_on_relative': '{context}에 업데이트',
100
100
  'fabric.linking.more_actions': '추가 작업',
101
+ 'fabric.linking.more_information_about_this_work_item': '이 업무 항목에 대한 추가 정보',
101
102
  'fabric.linking.no_access_title': '{product}에 참여하여 이 콘텐츠 보기',
102
103
  'fabric.linking.not_found_description': '페이지가 존재하지 않거나 이 링크를 추가한 후 변경되었을 수 있습니다.',
103
104
  'fabric.linking.not_found_title': '{product} 페이지를 표시할 수 없습니다',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Oppdatert {context}',
99
99
  'fabric.linking.modified_on_relative': 'Oppdatert {context}',
100
100
  'fabric.linking.more_actions': 'Flere handlinger',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Mer informasjon om denne arbeidsoppgaven',
101
102
  'fabric.linking.no_access_title': 'Bli med i {product} for å se dette innholdet',
102
103
  'fabric.linking.not_found_description': 'Siden finnes ikke, eller den kan ha blitt endret siden denne koblingen ble lagt til.',
103
104
  'fabric.linking.not_found_title': 'Vi kan ikke vise deg denne {product}-siden',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Bijgewerkt op {context}',
99
99
  'fabric.linking.modified_on_relative': 'Bijgewerkt: {context}',
100
100
  'fabric.linking.more_actions': 'Meer acties',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Meer informatie over dit werkitem',
101
102
  'fabric.linking.no_access_title': 'Word lid van {product} om deze inhoud te bekijken',
102
103
  'fabric.linking.not_found_description': 'Deze pagina bestaat niet of is mogelijk gewijzigd nadat deze link is toegevoegd.',
103
104
  'fabric.linking.not_found_title': 'We kunnen deze {product}-pagina niet weergeven',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Zaktualizowano {context}',
99
99
  'fabric.linking.modified_on_relative': 'Zaktualizowano {context}',
100
100
  'fabric.linking.more_actions': 'Więcej czynności',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Więcej informacji o tym zgłoszeniu',
101
102
  'fabric.linking.no_access_title': 'Dołącz do {product}, aby wyświetlić tę treść',
102
103
  'fabric.linking.not_found_description': 'Strona nie istnieje lub mogła ulec zmianie po dodaniu tego łącza.',
103
104
  'fabric.linking.not_found_title': 'Nie można wyświetlić tej strony {product}',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Atualizado em {context}',
99
99
  'fabric.linking.modified_on_relative': 'Atualizado em {context}',
100
100
  'fabric.linking.more_actions': 'Mais ações',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Mais informações sobre este ticket',
101
102
  'fabric.linking.no_access_title': 'Entre no {product} para ver este conteúdo',
102
103
  'fabric.linking.not_found_description': 'A página não existe ou pode ter sido alterada depois que esse link foi adicionado.',
103
104
  'fabric.linking.not_found_title': 'Não é possível exibir esta página {product}',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Обновлено {context}',
99
99
  'fabric.linking.modified_on_relative': 'Обновлено: {context}',
100
100
  'fabric.linking.more_actions': 'Другие действия',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Дополнительные сведения о задаче',
101
102
  'fabric.linking.no_access_title': 'Присоединитесь к {product}, чтобы просмотреть контент',
102
103
  'fabric.linking.not_found_description': 'Страница не существует или была изменена после добавления ссылки.',
103
104
  'fabric.linking.not_found_title': 'Невозможно показать эту страницу {product}',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Uppdaterades {context}',
99
99
  'fabric.linking.modified_on_relative': 'Uppdaterades {context}',
100
100
  'fabric.linking.more_actions': 'Fler åtgärder',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Mer information om arbetsuppgiften',
101
102
  'fabric.linking.no_access_title': 'Anslut till {product} för att visa innehållet',
102
103
  'fabric.linking.not_found_description': 'Sidan finns inte eller så har den ändrats efter att den här länken lades till.',
103
104
  'fabric.linking.not_found_title': 'Vi kan inte visa dig den här {product}-sidan.',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'อัปเดตแล้วเมื่อ {context}',
99
99
  'fabric.linking.modified_on_relative': 'อัปเดต {context} แล้ว',
100
100
  'fabric.linking.more_actions': 'การดำเนินการเพิ่มเติม',
101
+ 'fabric.linking.more_information_about_this_work_item': 'ข้อมูลเพิ่มเติมเกี่ยวกับตั๋วนี้',
101
102
  'fabric.linking.no_access_title': 'เข้าร่วม {product} เพื่อดูเนื้อหานี้',
102
103
  'fabric.linking.not_found_description': 'หน้าข้อมูลนี้ไม่มีอยู่ หรืออาจมีการเปลี่ยนแปลงหลังจากมีการเพิ่มลิงก์นี้',
103
104
  'fabric.linking.not_found_title': 'เราไม่สามารถแสดงหน้า {product} นี้ให้คุณดูได้',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': '{context} tarihinde güncellendi',
99
99
  'fabric.linking.modified_on_relative': '{context} güncellendi',
100
100
  'fabric.linking.more_actions': 'Daha fazla işlem',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Bu bilet hakkında daha fazla bilgi',
101
102
  'fabric.linking.no_access_title': 'Bu içeriği görüntülemek için {product} ürününe katılın',
102
103
  'fabric.linking.not_found_description': 'Bu sayfa mevcut değil veya bu bağlantı eklendikten sonra değişmiş olabilir.',
103
104
  'fabric.linking.not_found_title': 'Bu {product} sayfası gösterilemiyor',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Оновлено {context}',
99
99
  'fabric.linking.modified_on_relative': 'Оновлено {context}',
100
100
  'fabric.linking.more_actions': 'Інші дії',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Докладніше про цей елемент завдання',
101
102
  'fabric.linking.no_access_title': 'Приєднайтеся до {product}, щоб переглянути цей вміст',
102
103
  'fabric.linking.not_found_description': 'Сторінка не існує або, можливо, змінилася після додавання цього посилання.',
103
104
  'fabric.linking.not_found_title': 'Не вдається відобразити цю сторінку {product}',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': 'Đã cập nhật trên {context}',
99
99
  'fabric.linking.modified_on_relative': 'Đã cập nhật {context}',
100
100
  'fabric.linking.more_actions': 'Hành động khác',
101
+ 'fabric.linking.more_information_about_this_work_item': 'Thông tin khác về hạng mục công việc này',
101
102
  'fabric.linking.no_access_title': 'Tham gia {product} để xem nội dung này',
102
103
  'fabric.linking.not_found_description': 'Trang này không tồn tại hoặc có thể đã thay đổi sau khi liên kết này được thêm vào.',
103
104
  'fabric.linking.not_found_title': 'Chúng tôi không thể hiển thị cho bạn trang {product} này',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': '更新时间:{context}',
99
99
  'fabric.linking.modified_on_relative': '更新时间:{context}',
100
100
  'fabric.linking.more_actions': '更多操作',
101
+ 'fabric.linking.more_information_about_this_work_item': '有关此工作项的更多信息',
101
102
  'fabric.linking.no_access_title': '加入 {product} 即可查看此内容',
102
103
  'fabric.linking.not_found_description': '该页面不存在或者在添加此链接后可能已发生更改。',
103
104
  'fabric.linking.not_found_title': '无法显示此 {product} 页面',
@@ -98,6 +98,7 @@ export default {
98
98
  'fabric.linking.modified_on_absolute': '更新於 {context}',
99
99
  'fabric.linking.modified_on_relative': '更新時間:{context}',
100
100
  'fabric.linking.more_actions': '更多動作',
101
+ 'fabric.linking.more_information_about_this_work_item': '深入了解此工作項目',
101
102
  'fabric.linking.no_access_title': '加入 {product} 以檢視此內容',
102
103
  'fabric.linking.not_found_description': '該頁面不存在,或在新增此連結後可能已變更。',
103
104
  'fabric.linking.not_found_title': '我們無法向您顯示此 {product} 頁面',
@@ -700,16 +700,31 @@ export var messages = defineMessages({
700
700
  defaultMessage: 'Recent links',
701
701
  description: 'Shown as the title for the related links modal'
702
702
  },
703
+ related_links_modal_title_v2: {
704
+ id: 'fabric.linking.related_links_modal_title_v2',
705
+ defaultMessage: 'Related links',
706
+ description: 'Shown as the title for the related links modal'
707
+ },
703
708
  related_links_view_related_urls: {
704
709
  id: 'fabric.linking.related_links_view_related_urls',
705
710
  defaultMessage: 'View recent links',
706
711
  description: 'Action to view related links to the given resource'
707
712
  },
713
+ related_links_view_related_links: {
714
+ id: 'fabric.linking.related_links_view_related_links',
715
+ defaultMessage: 'View related links',
716
+ description: 'Action to view related links to the given resource'
717
+ },
708
718
  related_links_found_in: {
709
719
  id: 'fabric.linking.related_links_found_in',
710
720
  defaultMessage: 'Found In',
711
721
  description: 'Informs the user of the resources are found in the given url'
712
722
  },
723
+ related_links_found_in_v2: {
724
+ id: 'fabric.linking.related_links_found_in_v2',
725
+ defaultMessage: 'Found in',
726
+ description: 'Informs the user of the resources are found in the given url'
727
+ },
713
728
  related_links_not_found: {
714
729
  id: 'fabric.linking.related_links_not_found',
715
730
  defaultMessage: "We didn't find any links to show here.",
@@ -720,16 +735,31 @@ export var messages = defineMessages({
720
735
  defaultMessage: 'Includes Links To',
721
736
  description: 'Informs the user of the resources the url links to'
722
737
  },
738
+ related_links_includes_links_to_v2: {
739
+ id: 'fabric.linking.related_links_includes_links_to_v2',
740
+ defaultMessage: 'Includes links to',
741
+ description: 'Informs the user of the resources the url links to'
742
+ },
723
743
  related_links_modal_error_header: {
724
744
  id: 'fabric.linking.related_links_modal_error_header',
725
745
  defaultMessage: 'Something went wrong',
726
746
  description: 'Title for related links error'
727
747
  },
748
+ related_links_modal_unavailable_title: {
749
+ id: 'fabric.linking.related_links_modal_unavailable_title',
750
+ defaultMessage: "We couldn't find any related links",
751
+ description: 'Title for related links error'
752
+ },
728
753
  related_links_modal_error_message: {
729
754
  id: 'fabric.linking.related_links_modal_error_message',
730
755
  defaultMessage: 'We ran into an issue trying to load recent links. Check your connection or refresh to try again.',
731
756
  description: 'Informs the user that there was a problem loading related links'
732
757
  },
758
+ related_links_modal_unavailable_description: {
759
+ id: 'fabric.linking.related_links_modal_unavailable_description',
760
+ defaultMessage: 'We continuously review and add related links for updated pages or other content types',
761
+ description: 'Informs the user that there was a problem loading related links'
762
+ },
733
763
  related_links_modal_unavailable_header: {
734
764
  id: 'fabric.linking.related_links_modal_unavailable_header',
735
765
  defaultMessage: 'No recent links',
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "36.2.5"
7
+ packageVersion: "36.2.7"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -3,6 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["onClick"];
4
4
  import React, { lazy, useCallback } from 'react';
5
5
  import { FormattedMessage } from 'react-intl-next';
6
+ import { fg } from "@atlaskit/platform-feature-flags";
6
7
  import { useAnalyticsEvents } from '../../../../../common/analytics/generated/use-analytics-events';
7
8
  import { messages } from '../../../../../messages';
8
9
  import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
@@ -36,7 +37,7 @@ var ViewRelatedLinksAction = function ViewRelatedLinksAction(_ref) {
36
37
  onClickCallback === null || onClickCallback === void 0 || onClickCallback();
37
38
  }, [actionData === null || actionData === void 0 ? void 0 : actionData.ari, fireEvent, modal, onClickCallback]);
38
39
  return actionData ? /*#__PURE__*/React.createElement(Action, _extends({
39
- content: /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_view_related_urls),
40
+ content: /*#__PURE__*/React.createElement(FormattedMessage, fg('platform-linking-visual-refresh-v2') ? messages.related_links_view_related_links : messages.related_links_view_related_urls),
40
41
  icon: /*#__PURE__*/React.createElement(RelatedLinksActionIcon, null),
41
42
  onClick: onClick,
42
43
  testId: "smart-action-view-related-links-action",
@@ -2,14 +2,20 @@
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
+ import ClockIcon from '@atlaskit/icon/core/clock';
5
6
  import ChildIssuesIcon from '@atlaskit/icon/core/migration/child-issues';
7
+ import { fg } from '@atlaskit/platform-feature-flags';
6
8
  var rotateSvg = null;
7
9
 
8
10
  /**
9
11
  * ChildIssuesIcon but 180 degrees rotated
10
12
  */
11
13
  var RelatedLinksActionIcon = function RelatedLinksActionIcon() {
12
- return /*#__PURE__*/React.createElement("span", {
14
+ return fg('platform-linking-visual-refresh-v2') ? /*#__PURE__*/React.createElement(ClockIcon, {
15
+ color: "currentColor",
16
+ spacing: "spacious",
17
+ label: "View related links..."
18
+ }) : /*#__PURE__*/React.createElement("span", {
13
19
  className: ax(["_t9ec1sub _1e0c1o8l"])
14
20
  }, /*#__PURE__*/React.createElement(ChildIssuesIcon, {
15
21
  color: "currentColor",
@@ -2,6 +2,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import { useState } from 'react';
3
3
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
4
4
  import { normalizeUrl } from '@atlaskit/linking-common/url';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
5
6
  import { ANALYTICS_CHANNEL } from '../../../../utils/analytics';
6
7
  var toUrl = function toUrl(url, base) {
7
8
  try {
@@ -72,6 +73,13 @@ export var useLinkWarningModal = function useLinkWarningModal() {
72
73
  if (!hrefUrl || !linkTextUrl) {
73
74
  return true;
74
75
  }
76
+ if (fg('do-not-show-link-mismatch-warning-for-same-origin')) {
77
+ var currentAtlassianProductOrigin = window.location.origin;
78
+ var isSafeToIgnoreNonOriginDifferences = (hrefUrl === null || hrefUrl === void 0 ? void 0 : hrefUrl.origin) === currentAtlassianProductOrigin && (linkTextUrl === null || linkTextUrl === void 0 ? void 0 : linkTextUrl.origin) === currentAtlassianProductOrigin;
79
+ if (isSafeToIgnoreNonOriginDifferences) {
80
+ return true;
81
+ }
82
+ }
75
83
  var httpProtocols = ['http:', 'https:'];
76
84
  var areProtocolsEquivalent;
77
85
  if (httpProtocols.includes(linkTextUrl.protocol) && httpProtocols.includes(hrefUrl.protocol)) {
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
13
13
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
14
14
  var PACKAGE_DATA = {
15
15
  packageName: "@atlaskit/smart-card",
16
- packageVersion: "36.2.5",
16
+ packageVersion: "36.2.7",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
@@ -6,6 +6,7 @@ import { useCallback, useRef } from 'react';
6
6
  import { FormattedMessage } from 'react-intl-next';
7
7
  import Button from '@atlaskit/button/new';
8
8
  import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
9
+ import { fg } from "@atlaskit/platform-feature-flags";
9
10
  import { Box } from '@atlaskit/primitives/compiled';
10
11
  import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
11
12
  import { messages } from '../../../messages';
@@ -38,8 +39,9 @@ var RelatedLinksBaseModal = function RelatedLinksBaseModal(_ref) {
38
39
  width: fixedWidth,
39
40
  autoFocus: false,
40
41
  shouldReturnFocus: false,
41
- onOpenComplete: openCompleteHandler
42
- }, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_modal_title))), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Box, {
42
+ onOpenComplete: openCompleteHandler,
43
+ height: fg('platform-linking-visual-refresh-v2') ? '504px' : undefined
44
+ }, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, /*#__PURE__*/React.createElement(FormattedMessage, fg('platform-linking-visual-refresh-v2') ? messages.related_links_modal_title_v2 : messages.related_links_modal_title))), /*#__PURE__*/React.createElement(ModalBody, null, fg('platform-linking-visual-refresh-v2') ? children : /*#__PURE__*/React.createElement(Box, {
43
45
  xcss: styles.box
44
46
  }, children)), /*#__PURE__*/React.createElement(ModalFooter, null, /*#__PURE__*/React.createElement(Button, {
45
47
  appearance: "primary",
@@ -1,8 +1,20 @@
1
1
 
2
2
  ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
3
3
  ._zulputpp{gap:var(--ds-space-150,9pt)}
4
+ ._18zrpxbi{padding-inline:var(--ds-space-200,1pc)}
5
+ ._195gmgjw{margin-inline:var(--ds-space-negative-200,-1pc)}
6
+ ._1kl71vrj{border-left:2px solid transparent}
7
+ ._1kl7nmxp{border-left:var(--_nu2mv8)}
8
+ ._bfhkfg4m{background-color:var(--ds-background-selected,#e9f2ff)}
4
9
  ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
5
10
  ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
6
11
  ._8vu4iti9:hover{border-radius:var(--ds-border-radius-100,4px)}._10swu2gc:hover{padding-inline:var(--ds-space-100,8px)}
7
12
  ._1mxox0bf:hover{margin-inline:var(--ds-space-negative-100,-8px)}
8
- ._irr31d5g:hover{background-color:var(--ds-background-input-hovered,#f7f8f9)}
13
+ ._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
14
+ ._irr31d5g:hover{background-color:var(--ds-background-input-hovered,#f7f8f9)}
15
+ ._irr3i1yw:hover{background-color:var(--ds-background-selected-hovered,#cce0ff)}
16
+ ._1di619ru:active{background-color:var(--ds-background-selected-pressed,#85b8ff)}
17
+ ._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
18
+ ._1ohyglyw:active{outline-style:none}
19
+ ._1q5t1r31:active{outline-color:currentColor}
20
+ ._1r9x1o36:active{outline-width:medium}