@atlaskit/smart-card 34.10.0 → 34.10.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 (330) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/messages.js +4 -4
  3. package/dist/cjs/utils/analytics/analytics.js +1 -1
  4. package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -0
  5. package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +5 -2
  6. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +2 -1
  7. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +4 -1
  8. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.compiled.css +1 -0
  9. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +3 -1
  10. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.compiled.css +6 -1
  11. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.js +11 -2
  12. package/dist/cjs/view/FlexibleCard/components/container/index.compiled.css +23 -1
  13. package/dist/cjs/view/FlexibleCard/components/container/index.js +72 -6
  14. package/dist/cjs/view/FlexibleCard/components/elements/badge/index.compiled.css +2 -0
  15. package/dist/cjs/view/FlexibleCard/components/elements/badge/index.js +3 -2
  16. package/dist/cjs/view/FlexibleCard/components/elements/date-time/index.compiled.css +2 -0
  17. package/dist/cjs/view/FlexibleCard/components/elements/date-time/index.js +3 -1
  18. package/dist/cjs/view/FlexibleCard/components/elements/snippet-element/index.js +4 -1
  19. package/dist/cjs/view/FlexibleCard/components/elements/text/index.compiled.css +2 -0
  20. package/dist/cjs/view/FlexibleCard/components/elements/text/index.js +3 -1
  21. package/dist/cjs/view/InlineCard/Frame/styled.compiled.css +1 -1
  22. package/dist/cjs/view/InlineCard/Frame/styled.js +2 -2
  23. package/dist/cjs/view/LinkUrl/index.js +1 -1
  24. package/dist/cjs/view/common/ai-summary/index.compiled.css +2 -0
  25. package/dist/cjs/view/common/ai-summary/index.js +2 -1
  26. package/dist/es2019/messages.js +4 -4
  27. package/dist/es2019/utils/analytics/analytics.js +1 -1
  28. package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -0
  29. package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +5 -2
  30. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +2 -1
  31. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +4 -1
  32. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.compiled.css +1 -0
  33. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +3 -1
  34. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.compiled.css +6 -1
  35. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.js +11 -2
  36. package/dist/es2019/view/FlexibleCard/components/container/index.compiled.css +23 -1
  37. package/dist/es2019/view/FlexibleCard/components/container/index.js +71 -6
  38. package/dist/es2019/view/FlexibleCard/components/elements/badge/index.compiled.css +2 -0
  39. package/dist/es2019/view/FlexibleCard/components/elements/badge/index.js +3 -2
  40. package/dist/es2019/view/FlexibleCard/components/elements/date-time/index.compiled.css +2 -0
  41. package/dist/es2019/view/FlexibleCard/components/elements/date-time/index.js +3 -1
  42. package/dist/es2019/view/FlexibleCard/components/elements/snippet-element/index.js +4 -1
  43. package/dist/es2019/view/FlexibleCard/components/elements/text/index.compiled.css +2 -0
  44. package/dist/es2019/view/FlexibleCard/components/elements/text/index.js +3 -1
  45. package/dist/es2019/view/InlineCard/Frame/styled.compiled.css +1 -1
  46. package/dist/es2019/view/InlineCard/Frame/styled.js +2 -2
  47. package/dist/es2019/view/LinkUrl/index.js +1 -1
  48. package/dist/es2019/view/common/ai-summary/index.compiled.css +2 -0
  49. package/dist/es2019/view/common/ai-summary/index.js +2 -1
  50. package/dist/esm/messages.js +4 -4
  51. package/dist/esm/utils/analytics/analytics.js +1 -1
  52. package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +1 -0
  53. package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +5 -2
  54. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +2 -1
  55. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +4 -1
  56. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.compiled.css +1 -0
  57. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +3 -1
  58. package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.compiled.css +6 -1
  59. package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.js +11 -2
  60. package/dist/esm/view/FlexibleCard/components/container/index.compiled.css +23 -1
  61. package/dist/esm/view/FlexibleCard/components/container/index.js +72 -6
  62. package/dist/esm/view/FlexibleCard/components/elements/badge/index.compiled.css +2 -0
  63. package/dist/esm/view/FlexibleCard/components/elements/badge/index.js +3 -2
  64. package/dist/esm/view/FlexibleCard/components/elements/date-time/index.compiled.css +2 -0
  65. package/dist/esm/view/FlexibleCard/components/elements/date-time/index.js +3 -1
  66. package/dist/esm/view/FlexibleCard/components/elements/snippet-element/index.js +4 -1
  67. package/dist/esm/view/FlexibleCard/components/elements/text/index.compiled.css +2 -0
  68. package/dist/esm/view/FlexibleCard/components/elements/text/index.js +3 -1
  69. package/dist/esm/view/InlineCard/Frame/styled.compiled.css +1 -1
  70. package/dist/esm/view/InlineCard/Frame/styled.js +2 -2
  71. package/dist/esm/view/LinkUrl/index.js +1 -1
  72. package/dist/esm/view/common/ai-summary/index.compiled.css +2 -0
  73. package/dist/esm/view/common/ai-summary/index.js +2 -1
  74. package/dist/types/extractors/common/__mocks__/withIntl.d.ts +1 -1
  75. package/dist/types/ssr.d.ts +2 -2
  76. package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +1 -1
  77. package/dist/types/state/modal/index.d.ts +1 -1
  78. package/dist/types/utils/actions/to-action.d.ts +2 -2
  79. package/dist/types/utils/analytics/LinkAnalyticsContext.d.ts +1 -1
  80. package/dist/types/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
  81. package/dist/types/utils/test-utils.d.ts +2 -2
  82. package/dist/types/view/BlockCard/index.d.ts +2 -2
  83. package/dist/types/view/BlockCard/views/ResolvedViewOld.d.ts +2 -2
  84. package/dist/types/view/BlockCard/views/unresolved-view/UnresolvedViewOld.d.ts +2 -2
  85. package/dist/types/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +2 -2
  86. package/dist/types/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +2 -2
  87. package/dist/types/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
  88. package/dist/types/view/CardWithUrl/component-lazy/index.d.ts +2 -2
  89. package/dist/types/view/CardWithUrl/component.d.ts +2 -2
  90. package/dist/types/view/CardWithUrl/loader.d.ts +1 -1
  91. package/dist/types/view/EmbedCard/components/IFrame.d.ts +1 -1
  92. package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +1 -1
  93. package/dist/types/view/EmbedCard/components/styledOld.d.ts +17 -17
  94. package/dist/types/view/EmbedCard/views/forbidden-view/forbidden-svg/index.d.ts +2 -2
  95. package/dist/types/view/EmbedCard/views/forbidden-view/index.d.ts +2 -2
  96. package/dist/types/view/EmbedCard/views/not-found-view/index.d.ts +2 -2
  97. package/dist/types/view/EmbedCard/views/not-found-view/not-found-svg/index.d.ts +2 -2
  98. package/dist/types/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
  99. package/dist/types/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.d.ts +2 -2
  100. package/dist/types/view/EmbedModal/components/analytics/index.d.ts +1 -1
  101. package/dist/types/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
  102. package/dist/types/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -2
  103. package/dist/types/view/EmbedModal/index.d.ts +1 -1
  104. package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +2 -2
  105. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.d.ts +2 -2
  106. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/index.d.ts +2 -2
  107. package/dist/types/view/FlexibleCard/components/actions/action/server-action/index.d.ts +2 -2
  108. package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.d.ts +2 -2
  109. package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.d.ts +2 -2
  110. package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.d.ts +2 -2
  111. package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/index.d.ts +2 -2
  112. package/dist/types/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.d.ts +2 -2
  113. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +1 -1
  114. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/boolean-prompt/main.d.ts +2 -2
  115. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/main.d.ts +2 -2
  116. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/number-prompt/main.d.ts +2 -2
  117. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/paragraph-prompt/main.d.ts +2 -2
  118. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/select-prompt/main.d.ts +2 -2
  119. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/text-prompt/main.d.ts +2 -2
  120. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +1 -1
  121. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +1 -1
  122. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/body/main.d.ts +2 -2
  123. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.d.ts +2 -2
  124. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/empty-icon/index.d.ts +2 -2
  125. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.d.ts +2 -2
  126. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/error-icon/index.d.ts +2 -2
  127. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.d.ts +2 -2
  128. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +2 -2
  129. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.d.ts +1 -1
  130. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.d.ts +2 -2
  131. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.d.ts +2 -2
  132. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.d.ts +2 -2
  133. package/dist/types/view/FlexibleCard/components/actions/automation-action/index.d.ts +2 -2
  134. package/dist/types/view/FlexibleCard/components/actions/automation-action/manual-triggers-icon/index.d.ts +2 -2
  135. package/dist/types/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +2 -2
  136. package/dist/types/view/FlexibleCard/components/actions/delete-action/index.d.ts +2 -2
  137. package/dist/types/view/FlexibleCard/components/actions/download-action/index.d.ts +2 -2
  138. package/dist/types/view/FlexibleCard/components/actions/edit-action/index.d.ts +2 -2
  139. package/dist/types/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts +2 -2
  140. package/dist/types/view/FlexibleCard/components/actions/follow-action/index.d.ts +2 -2
  141. package/dist/types/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts +2 -2
  142. package/dist/types/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts +2 -2
  143. package/dist/types/view/FlexibleCard/components/actions/preview-action/index.d.ts +2 -2
  144. package/dist/types/view/FlexibleCard/components/actions/view-related-links-action/index.d.ts +2 -2
  145. package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.d.ts +2 -2
  146. package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
  147. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.d.ts +2 -2
  148. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/index.d.ts +2 -2
  149. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +2 -2
  150. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.d.ts +2 -2
  151. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/index.d.ts +2 -2
  152. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +2 -2
  153. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/resolved/AISummaryBlockResolvedViewOld.d.ts +2 -2
  154. package/dist/types/view/FlexibleCard/components/blocks/footer-block/index.d.ts +2 -2
  155. package/dist/types/view/FlexibleCard/components/blocks/footer-block/resolved/FooterBlockResolvedViewOld.d.ts +2 -2
  156. package/dist/types/view/FlexibleCard/components/blocks/metadata-block/MetadataBlockOld.d.ts +2 -2
  157. package/dist/types/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +2 -2
  158. package/dist/types/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.d.ts +2 -2
  159. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.d.ts +2 -2
  160. package/dist/types/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.d.ts +1 -1
  161. package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +2 -2
  162. package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -2
  163. package/dist/types/view/FlexibleCard/components/common/motion-wrapper/index.d.ts +2 -2
  164. package/dist/types/view/FlexibleCard/components/container/hover-card-control/index.d.ts +2 -2
  165. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +2 -2
  166. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +2 -2
  167. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +2 -2
  168. package/dist/types/view/FlexibleCard/components/elements/preview/index.d.ts +2 -2
  169. package/dist/types/view/FlexibleCard/components/utils.d.ts +2 -2
  170. package/dist/types/view/FlexibleCard/index.d.ts +2 -2
  171. package/dist/types/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
  172. package/dist/types/view/HoverCard/components/HoverCardContentOld.d.ts +2 -2
  173. package/dist/types/view/HoverCard/components/ImagePreview.d.ts +2 -2
  174. package/dist/types/view/HoverCard/components/ImagePreviewOld.d.ts +2 -2
  175. package/dist/types/view/HoverCard/components/views/forbidden/HoverCardForbiddenViewOld.d.ts +2 -2
  176. package/dist/types/view/HoverCard/components/views/resolved/HoverCardResolvedViewOld.d.ts +2 -2
  177. package/dist/types/view/HoverCard/components/views/unauthorised/HoverCardUnauthorisedViewOld.d.ts +2 -2
  178. package/dist/types/view/HoverCard/index.d.ts +3 -3
  179. package/dist/types/view/InlineCard/ErroredView/InlineCardErroredViewOld.d.ts +2 -2
  180. package/dist/types/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.d.ts +3 -3
  181. package/dist/types/view/InlineCard/Frame/styled-emotion.d.ts +2 -2
  182. package/dist/types/view/InlineCard/Icon-emotion.d.ts +3 -3
  183. package/dist/types/view/InlineCard/Icon.d.ts +1 -1
  184. package/dist/types/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.d.ts +1 -1
  185. package/dist/types/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +9 -9
  186. package/dist/types/view/InlineCard/ResolvedView/index.d.ts +2 -2
  187. package/dist/types/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.d.ts +1 -1
  188. package/dist/types/view/InlineCard/ResolvingView/index.d.ts +1 -1
  189. package/dist/types/view/InlineCard/ResolvingView/styled-emotion.d.ts +1 -1
  190. package/dist/types/view/InlineCard/index.d.ts +2 -2
  191. package/dist/types/view/InlineCard/styled-emotion.d.ts +3 -3
  192. package/dist/types/view/InlineCard/utils/withFrameStyleControl.d.ts +1 -1
  193. package/dist/types/view/LinkView/index.d.ts +1 -1
  194. package/dist/types/view/RelatedLinksModal/components/EmptyStateOld.d.ts +1 -1
  195. package/dist/types/view/RelatedLinksModal/index.d.ts +2 -2
  196. package/dist/types/view/RelatedLinksModal/views/errored/index.d.ts +2 -2
  197. package/dist/types/view/RelatedLinksModal/views/resolved/index.d.ts +2 -2
  198. package/dist/types/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.d.ts +2 -2
  199. package/dist/types/view/RelatedLinksModal/views/unavailable/index.d.ts +2 -2
  200. package/dist/types/view/common/UnauthorisedViewContent.d.ts +2 -2
  201. package/dist/types/view/common/ai-icon/index.d.ts +2 -2
  202. package/dist/types-ts4.5/extractors/common/__mocks__/withIntl.d.ts +1 -1
  203. package/dist/types-ts4.5/ssr.d.ts +2 -2
  204. package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +1 -1
  205. package/dist/types-ts4.5/state/modal/index.d.ts +1 -1
  206. package/dist/types-ts4.5/utils/actions/to-action.d.ts +2 -2
  207. package/dist/types-ts4.5/utils/analytics/LinkAnalyticsContext.d.ts +1 -1
  208. package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
  209. package/dist/types-ts4.5/utils/test-utils.d.ts +2 -2
  210. package/dist/types-ts4.5/view/BlockCard/index.d.ts +2 -2
  211. package/dist/types-ts4.5/view/BlockCard/views/ResolvedViewOld.d.ts +2 -2
  212. package/dist/types-ts4.5/view/BlockCard/views/unresolved-view/UnresolvedViewOld.d.ts +2 -2
  213. package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyIntersectionObserverCard.d.ts +2 -2
  214. package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LazyLazilyRenderCard.d.ts +2 -2
  215. package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
  216. package/dist/types-ts4.5/view/CardWithUrl/component-lazy/index.d.ts +2 -2
  217. package/dist/types-ts4.5/view/CardWithUrl/component.d.ts +2 -2
  218. package/dist/types-ts4.5/view/CardWithUrl/loader.d.ts +1 -1
  219. package/dist/types-ts4.5/view/EmbedCard/components/IFrame.d.ts +1 -1
  220. package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +1 -1
  221. package/dist/types-ts4.5/view/EmbedCard/components/styledOld.d.ts +17 -17
  222. package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/forbidden-svg/index.d.ts +2 -2
  223. package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/index.d.ts +2 -2
  224. package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/index.d.ts +2 -2
  225. package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/not-found-svg/index.d.ts +2 -2
  226. package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
  227. package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/unauthorized-svg/index.d.ts +2 -2
  228. package/dist/types-ts4.5/view/EmbedModal/components/analytics/index.d.ts +1 -1
  229. package/dist/types-ts4.5/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
  230. package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -2
  231. package/dist/types-ts4.5/view/EmbedModal/index.d.ts +1 -1
  232. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +2 -2
  233. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.d.ts +2 -2
  234. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/index.d.ts +2 -2
  235. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/server-action/index.d.ts +2 -2
  236. package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.d.ts +2 -2
  237. package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.d.ts +2 -2
  238. package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.d.ts +2 -2
  239. package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/index.d.ts +2 -2
  240. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.d.ts +2 -2
  241. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +1 -1
  242. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/boolean-prompt/main.d.ts +2 -2
  243. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/main.d.ts +2 -2
  244. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/number-prompt/main.d.ts +2 -2
  245. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/paragraph-prompt/main.d.ts +2 -2
  246. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/select-prompt/main.d.ts +2 -2
  247. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/text-prompt/main.d.ts +2 -2
  248. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +1 -1
  249. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +1 -1
  250. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/body/main.d.ts +2 -2
  251. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.d.ts +2 -2
  252. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/empty-icon/index.d.ts +2 -2
  253. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.d.ts +2 -2
  254. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/error-icon/index.d.ts +2 -2
  255. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.d.ts +2 -2
  256. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +2 -2
  257. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.d.ts +1 -1
  258. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.d.ts +2 -2
  259. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.d.ts +2 -2
  260. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.d.ts +2 -2
  261. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/index.d.ts +2 -2
  262. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/manual-triggers-icon/index.d.ts +2 -2
  263. package/dist/types-ts4.5/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +2 -2
  264. package/dist/types-ts4.5/view/FlexibleCard/components/actions/delete-action/index.d.ts +2 -2
  265. package/dist/types-ts4.5/view/FlexibleCard/components/actions/download-action/index.d.ts +2 -2
  266. package/dist/types-ts4.5/view/FlexibleCard/components/actions/edit-action/index.d.ts +2 -2
  267. package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts +2 -2
  268. package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/index.d.ts +2 -2
  269. package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts +2 -2
  270. package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts +2 -2
  271. package/dist/types-ts4.5/view/FlexibleCard/components/actions/preview-action/index.d.ts +2 -2
  272. package/dist/types-ts4.5/view/FlexibleCard/components/actions/view-related-links-action/index.d.ts +2 -2
  273. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.d.ts +2 -2
  274. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
  275. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.d.ts +2 -2
  276. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/index.d.ts +2 -2
  277. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +2 -2
  278. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.d.ts +2 -2
  279. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/index.d.ts +2 -2
  280. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +2 -2
  281. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/resolved/AISummaryBlockResolvedViewOld.d.ts +2 -2
  282. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/index.d.ts +2 -2
  283. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/resolved/FooterBlockResolvedViewOld.d.ts +2 -2
  284. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/MetadataBlockOld.d.ts +2 -2
  285. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +2 -2
  286. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.d.ts +2 -2
  287. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.d.ts +2 -2
  288. package/dist/types-ts4.5/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.d.ts +1 -1
  289. package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +2 -2
  290. package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -2
  291. package/dist/types-ts4.5/view/FlexibleCard/components/common/motion-wrapper/index.d.ts +2 -2
  292. package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/index.d.ts +2 -2
  293. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +2 -2
  294. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +2 -2
  295. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +2 -2
  296. package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/index.d.ts +2 -2
  297. package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +2 -2
  298. package/dist/types-ts4.5/view/FlexibleCard/index.d.ts +2 -2
  299. package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
  300. package/dist/types-ts4.5/view/HoverCard/components/HoverCardContentOld.d.ts +2 -2
  301. package/dist/types-ts4.5/view/HoverCard/components/ImagePreview.d.ts +2 -2
  302. package/dist/types-ts4.5/view/HoverCard/components/ImagePreviewOld.d.ts +2 -2
  303. package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/HoverCardForbiddenViewOld.d.ts +2 -2
  304. package/dist/types-ts4.5/view/HoverCard/components/views/resolved/HoverCardResolvedViewOld.d.ts +2 -2
  305. package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/HoverCardUnauthorisedViewOld.d.ts +2 -2
  306. package/dist/types-ts4.5/view/HoverCard/index.d.ts +3 -3
  307. package/dist/types-ts4.5/view/InlineCard/ErroredView/InlineCardErroredViewOld.d.ts +2 -2
  308. package/dist/types-ts4.5/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.d.ts +3 -3
  309. package/dist/types-ts4.5/view/InlineCard/Frame/styled-emotion.d.ts +2 -2
  310. package/dist/types-ts4.5/view/InlineCard/Icon-emotion.d.ts +3 -3
  311. package/dist/types-ts4.5/view/InlineCard/Icon.d.ts +1 -1
  312. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.d.ts +1 -1
  313. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +9 -9
  314. package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +2 -2
  315. package/dist/types-ts4.5/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.d.ts +1 -1
  316. package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +1 -1
  317. package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled-emotion.d.ts +1 -1
  318. package/dist/types-ts4.5/view/InlineCard/index.d.ts +2 -2
  319. package/dist/types-ts4.5/view/InlineCard/styled-emotion.d.ts +3 -3
  320. package/dist/types-ts4.5/view/InlineCard/utils/withFrameStyleControl.d.ts +1 -1
  321. package/dist/types-ts4.5/view/LinkView/index.d.ts +1 -1
  322. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyStateOld.d.ts +1 -1
  323. package/dist/types-ts4.5/view/RelatedLinksModal/index.d.ts +2 -2
  324. package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/index.d.ts +2 -2
  325. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolved/index.d.ts +2 -2
  326. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.d.ts +2 -2
  327. package/dist/types-ts4.5/view/RelatedLinksModal/views/unavailable/index.d.ts +2 -2
  328. package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +2 -2
  329. package/dist/types-ts4.5/view/common/ai-icon/index.d.ts +2 -2
  330. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 34.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#109758](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109758)
8
+ [`1a1900f9bf95b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1a1900f9bf95b) -
9
+ [ux] Update flexible card tokens
10
+
11
+ ## 34.10.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 34.10.0
4
18
 
5
19
  ### Minor Changes
@@ -743,22 +743,22 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
743
743
  },
744
744
  join_to_viewIssueTermRefresh: {
745
745
  id: 'fabric.linking.join_to_view-issue-term-refresh',
746
- defaultMessage: "Join {context} to view this work item",
746
+ defaultMessage: 'Join {context} to view this work item',
747
747
  description: 'Allows the user join the product or service immediately'
748
748
  },
749
749
  open_issue_in_jiraIssueTermRefresh: {
750
750
  id: 'fabric.linking.open_issue_in_jira-issue-term-refresh',
751
- defaultMessage: "Open work item in Jira",
751
+ defaultMessage: 'Open work item in Jira',
752
752
  description: 'Click to open link in Jira'
753
753
  },
754
754
  request_access_to_viewIssueTermRefresh: {
755
755
  id: 'fabric.linking.request_access_to_view-issue-term-refresh',
756
- defaultMessage: "Request access to {context} to view this work item",
756
+ defaultMessage: 'Request access to {context} to view this work item',
757
757
  description: 'Allows the user to request access to a product or service'
758
758
  },
759
759
  status_change_permission_errorIssueTermRefresh: {
760
760
  id: 'fabric.linking.status_change_permission_error-issue-term-refresh',
761
- defaultMessage: "You don’t have permission to transition this work item. ",
761
+ defaultMessage: 'You don’t have permission to transition this work item. ',
762
762
  description: 'Informs the user that they do not have enough permissions to update a status'
763
763
  }
764
764
  });
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "34.10.0"
14
+ packageVersion: "34.10.2"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -6,6 +6,7 @@
6
6
  ._1bsb1j6v{width:1rem}
7
7
  ._1bsb1k8s{width:1.5rem}
8
8
  ._1bsbgktf{width:20px}
9
+ ._1e0c116y{display:inline-flex}
9
10
  ._1e0c1o8l{display:inline-block}
10
11
  ._1o9zidpf{flex-shrink:0}
11
12
  ._1rg21j6v img, ._q7cv1j6v span, ._xwbj1j6v svg{min-width:1rem}
@@ -31,8 +31,11 @@ var iconSizeStyleMap = {
31
31
  '1rem': "_16jlidpf _1o9zidpf _i0dl1wug _4t3i1j6v _1tke1j6v _c71l1j6v _1bsb1j6v _1ul91j6v _p12f1j6v _i2i3idpf _uhasidpf _5jw9idpf _7wy9idpf _bna71j6v _1xjx1j6v _17521j6v _qci81j6v _15iz1j6v _erub1j6v _19l31j6v _1pr21j6v _1u5t1j6v _mezj1j6v _e2oo1j6v _w8l51j6v _1rg21j6v _q7cv1j6v _xwbj1j6v _rtys1j6v _b8nk1j6v _4x201j6v",
32
32
  '20px': "_16jlidpf _1o9zidpf _i0dl1wug _4t3igktf _1tkegktf _c71lgktf _1bsbgktf _1ul9gktf _p12fgktf _i2i3idpf _uhasidpf _5jw9idpf _7wy9idpf _bna7gktf _1xjxgktf _1752gktf _qci8gktf _15izgktf _erubgktf _19l3gktf _1pr2gktf _1u5tgktf _mezjgktf _e2oogktf _w8l5gktf _1rg2gktf _q7cvgktf _xwbjgktf _rtysgktf _b8nkgktf _4x20gktf"
33
33
  };
34
+
35
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
36
+ var stackItemIconStylesOld = null;
37
+ var stackItemIconStylesCompiled = null;
34
38
  var stackItemIconStyles = null;
35
- var newStackItemIconStyles = null;
36
39
  var iconStyleMap = {
37
40
  true: "_syaz2oi6",
38
41
  false: "_syazwdcn"
@@ -51,7 +54,7 @@ var ActionIconNew = function ActionIconNew(_ref) {
51
54
  }
52
55
  return /*#__PURE__*/React.createElement("span", {
53
56
  "data-testid": "".concat(testId, "-icon"),
54
- className: (0, _runtime.ax)([iconStyleMap[isDisabled ? 'true' : 'false'], "_1e0c1o8l"])
57
+ className: (0, _runtime.ax)([iconStyleMap[isDisabled ? 'true' : 'false'], (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_1e0c116y" : "_1e0c1o8l"])
55
58
  }, icon);
56
59
  };
57
60
  var ActionIcon = function ActionIcon(props) {
@@ -1,5 +1,6 @@
1
1
 
2
- ._kkk2n7od{all:unset}._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
+ ._kkk2n7od{all:unset}._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
3
+ ._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
3
4
  ._19bv1b66{padding-left:var(--ds-space-050,4px)}
4
5
  ._1bsb1osq{width:100%}
5
6
  ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
@@ -24,6 +24,9 @@ var styles = {
24
24
  button: "_kkk2n7od _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _irr3166n _1di61dty",
25
25
  content: "_11c8qk37 _syaz1fxt"
26
26
  };
27
+ var contentStyles = {
28
+ content: "_11c81vlj _syaz1fxt"
29
+ };
27
30
  var ActionButtonNew = function ActionButtonNew(_ref) {
28
31
  var content = _ref.content,
29
32
  iconOption = _ref.icon,
@@ -61,7 +64,7 @@ var ActionButtonNew = function ActionButtonNew(_ref) {
61
64
  grow: "fill",
62
65
  space: space
63
66
  }, icon, /*#__PURE__*/React.createElement(_compiled.Box, {
64
- xcss: styles.content
67
+ xcss: (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? contentStyles.content : styles.content
65
68
  }, content)));
66
69
  };
67
70
  var ActionButton = function ActionButton(props) {
@@ -1,5 +1,6 @@
1
1
  ._16jlkb7n{flex-grow:1}
2
2
  ._18u01ivi{margin-left:calc(var(--container-gap-left)*-1)}
3
+ ._1bsb129b{width:calc(100% + var(--container-gap-left) + var(--container-gap-right))}
3
4
  ._1bsb1osq{width:100%}
4
5
  ._1e0c1txw{display:flex}
5
6
  ._2hwxc10g{margin-right:calc(var(--container-gap-right)*-1)}
@@ -21,6 +21,8 @@ var _actionFooter = require("./action-footer");
21
21
  var _ActionBlockOld = _interopRequireDefault(require("./ActionBlockOld"));
22
22
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23
23
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
24
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
25
+ var ignoreContainerPaddingStylesOld = null;
24
26
  var ignoreContainerPaddingStyles = null;
25
27
  var DEFAULT_SORT_ORDER = ['PreviewAction', 'CopyLinkAction', 'AISummaryAction'];
26
28
  var sort = function sort(a, b) {
@@ -110,7 +112,7 @@ var ActionBlockNew = function ActionBlockNew(_ref) {
110
112
  return actions ? /*#__PURE__*/React.createElement("div", {
111
113
  ref: blockRef,
112
114
  "data-testid": testId,
113
- className: (0, _runtime.ax)(["_1e0c1txw _2lx21bp4 _vchhusvi _16jlkb7n _1bsb1osq _18u01ivi _2hwxc10g"])
115
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_1e0c1txw _2lx21bp4 _vchhusvi _16jlkb7n _1bsb129b _18u01ivi _2hwxc10g" : "_1e0c1txw _2lx21bp4 _vchhusvi _16jlkb7n _1bsb1osq _18u01ivi _2hwxc10g"])
114
116
  }, actions, /*#__PURE__*/React.createElement(_actionFooter.ActionFooter, {
115
117
  message: message,
116
118
  testId: testId
@@ -1,8 +1,12 @@
1
1
 
2
2
  ._zulp147b{gap:var(--ds-space-250,1.25rem)}
3
+ ._zulp1b66{gap:var(--ds-space-050,4px)}
3
4
  ._zulp1e9d{gap:var(--ds-space-200,1rem)}
4
5
  ._zulpcxkx{gap:var(--ds-space-100,.5rem)}
5
- ._zulppdf9{gap:var(--ds-space-050,.25rem)}._16jlkb7n{flex-grow:1}
6
+ ._zulppdf9{gap:var(--ds-space-050,.25rem)}
7
+ ._zulppxbi{gap:var(--ds-space-200,1pc)}
8
+ ._zulpu2gc{gap:var(--ds-space-100,8px)}
9
+ ._zulpv47k{gap:var(--ds-space-250,20px)}._16jlkb7n{flex-grow:1}
6
10
  ._18m915vq{overflow-y:hidden}
7
11
  ._1aaynkob >div, ._15tynkob >span{vertical-align:middle}
8
12
  ._1bah1y6m{justify-content:flex-start}
@@ -44,6 +48,7 @@
44
48
  ._s7n4nkob{vertical-align:middle}
45
49
  ._sudp1e54{-webkit-box-orient:vertical}
46
50
  ._vwz41j6v{line-height:1rem}
51
+ ._vwz47vkz{line-height:1pc}
47
52
  ._y3gn1e5h{text-align:left}
48
53
  ._y3gnusic{text-align:right}
49
54
  @supports not (-webkit-line-clamp:1){._102k1k8s{max-height:1.5rem}._102k1m1q{max-height:1.75rem}}
@@ -21,12 +21,20 @@ var alignmentStyleMap = {
21
21
  right: "_1dthh9n0 _r291h9n0 _1bahesu3 _y3gnusic",
22
22
  left: "_1dthv2br _r291v2br _1bah1y6m _y3gn1e5h"
23
23
  };
24
- var baseStyleBySize = {
24
+
25
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
26
+ var baseStyleBySizeOld = {
25
27
  xlarge: "_zulp147b _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz41j6v",
26
28
  large: "_zulp1e9d _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz41j6v",
27
29
  medium: "_zulpcxkx _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz41j6v",
28
30
  small: "_zulppdf9 _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz41j6v"
29
31
  };
32
+ var baseStyleBySize = {
33
+ xlarge: "_zulpv47k _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz47vkz",
34
+ large: "_zulppxbi _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz47vkz",
35
+ medium: "_zulpu2gc _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz47vkz",
36
+ small: "_zulp1b66 _1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _1ul9idpf _vwz47vkz"
37
+ };
30
38
  var baseStyleByDirection = {
31
39
  horizontal: "_2lx2vrvc _4cvr1h6o",
32
40
  vertical: "_2lx21bp4 _4cvr1y6m"
@@ -83,12 +91,13 @@ var ElementGroupNew = function ElementGroupNew(_ref) {
83
91
  _ref$position = _ref.position,
84
92
  position = _ref$position === void 0 ? _constants.SmartLinkPosition.Center : _ref$position,
85
93
  className = _ref.className;
94
+ var isHorizontal = direction === _constants.SmartLinkDirection.Horizontal;
86
95
  return /*#__PURE__*/React.createElement("div", {
87
96
  "data-smart-element-group": true,
88
97
  "data-testid": testId
89
98
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
90
99
  ,
91
- className: (0, _runtime.ax)([baseStyleBySize[size], baseStyleByDirection[direction], "_fiawglyw _1ouwidpf _f6ju1ns9", alignmentStyleMap[align], "_1ul99by0", widthStyle[width], direction === _constants.SmartLinkDirection.Horizontal && "_1reo15vq _18m915vq _1e0c1ule _s7n4nkob _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _1aaynkob _15tynkob _1iu61nu9 _166k1nu9 _1div1nu9 _bmfb1nu9", direction === _constants.SmartLinkDirection.Horizontal && horizontalStyleByHeight[size], direction === _constants.SmartLinkDirection.Horizontal && align === _constants.SmartLinkAlignment.Left && gapStylesLeft[size], direction === _constants.SmartLinkDirection.Horizontal && align === _constants.SmartLinkAlignment.Right && gapStylesRight[size], positionStyle[position], className])
100
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? baseStyleBySize[size] : baseStyleBySizeOld[size], baseStyleByDirection[direction], "_fiawglyw _1ouwidpf _f6ju1ns9", alignmentStyleMap[align], "_1ul99by0", widthStyle[width], isHorizontal && "_1reo15vq _18m915vq _1e0c1ule _s7n4nkob _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _1aaynkob _15tynkob _1iu61nu9 _166k1nu9 _1div1nu9 _bmfb1nu9", isHorizontal && horizontalStyleByHeight[size], isHorizontal && align === _constants.SmartLinkAlignment.Left && gapStylesLeft[size], isHorizontal && align === _constants.SmartLinkAlignment.Right && gapStylesRight[size], positionStyle[position], className])
92
101
  }, (0, _utils.renderChildren)(children, size));
93
102
  };
94
103
  var ElementGroup = function ElementGroup(props) {
@@ -1,14 +1,24 @@
1
1
 
2
2
  ._19itn8v0{border:var(--_vzvmm2)}
3
+ ._19itpp12{border:var(--_18x9sjc)}
3
4
  ._1yt418y6{padding:var(--_1xumd0e)}
5
+ ._2rkob7nn{border-radius:var(--ds-border-radius-300,9pt)}
4
6
  ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
7
+ ._zulp1bpf{gap:var(--ds-space-100,8px) 0}
5
8
  ._zulp1jvo{gap:1.25rem 0}
6
9
  ._zulp1qos{gap:.5rem 0}
7
10
  ._zulpfzsm{gap:.25rem 0}
8
- ._zulph3jc{gap:1rem 0}._18u0v77o{margin-left:var(--ds-space-025,2px)}
11
+ ._zulph3jc{gap:1rem 0}
12
+ ._zulpr2fv{gap:var(--ds-space-250,20px) 0}
13
+ ._zulpswc3{gap:var(--ds-space-050,4px) 0}
14
+ ._zulpzu5n{gap:var(--ds-space-200,1pc) 0}._18u0v77o{margin-left:var(--ds-space-025,2px)}
9
15
  ._19bv15sf{padding-left:calc(var(--preview-block-width) + 1.25rem)}
16
+ ._19bv16ru{padding-left:calc(var(--preview-block-width) + var(--ds-space-250, 20px))}
17
+ ._19bv1g7w{padding-left:calc(var(--preview-block-width) + var(--ds-space-200, 1pc))}
10
18
  ._19bv1ltm{padding-left:calc(var(--preview-block-width) + .25rem)}
19
+ ._19bv1ugb{padding-left:calc(var(--preview-block-width) + var(--ds-space-050, 4px))}
11
20
  ._19bvf557{padding-left:calc(var(--preview-block-width) + 1rem)}
21
+ ._19bvlbes{padding-left:calc(var(--preview-block-width) + var(--ds-space-100, 8px))}
12
22
  ._19bvqox2{padding-left:calc(var(--preview-block-width) + .5rem)}
13
23
  ._19pkv77o{margin-top:var(--ds-space-025,2px)}
14
24
  ._1e0c1txw{display:flex}
@@ -16,11 +26,15 @@
16
26
  ._1reo15vq{overflow-x:hidden}
17
27
  ._1t4ckb7n .has-action, ._1nxdkb7n a, ._xnbykb7n button{z-index:1}
18
28
  ._1ul9idpf{min-width:0}
29
+ ._1yob1b66{--container-gap-right:var(--ds-space-050,4px)}
30
+ ._1yob1eak{--container-gap-right:var(--ds-space-200,16px)}
19
31
  ._1yob1j6v{--container-gap-right:1rem}
20
32
  ._1yob1k92{--container-gap-right:1.25rem}
21
33
  ._1yob1kwk{--container-gap-right:.5rem}
22
34
  ._1yob1wow{--container-gap-right:var(--_12k13bg)}
23
35
  ._1yob6mu8{--container-gap-right:.25rem}
36
+ ._1yobu2gc{--container-gap-right:var(--ds-space-100,8px)}
37
+ ._1yobv47k{--container-gap-right:var(--ds-space-250,20px)}
24
38
  ._2hwxv77o{margin-right:var(--ds-space-025,2px)}
25
39
  ._2lx21bp4{flex-direction:column}
26
40
  ._bfhkhp5a{background-color:var(--ds-surface-raised,#fff)}
@@ -30,12 +44,20 @@
30
44
  ._otyrv77o{margin-bottom:var(--ds-space-025,2px)}
31
45
  ._r37x1r5k{--preview-block-width:30%}
32
46
  ._u5f315sf{padding-right:calc(var(--preview-block-width) + 1.25rem)}
47
+ ._u5f316ru{padding-right:calc(var(--preview-block-width) + var(--ds-space-250, 20px))}
48
+ ._u5f31g7w{padding-right:calc(var(--preview-block-width) + var(--ds-space-200, 1pc))}
33
49
  ._u5f31ltm{padding-right:calc(var(--preview-block-width) + .25rem)}
50
+ ._u5f31ugb{padding-right:calc(var(--preview-block-width) + var(--ds-space-050, 4px))}
34
51
  ._u5f3f557{padding-right:calc(var(--preview-block-width) + 1rem)}
52
+ ._u5f3lbes{padding-right:calc(var(--preview-block-width) + var(--ds-space-100, 8px))}
35
53
  ._u5f3qox2{padding-right:calc(var(--preview-block-width) + .5rem)}
36
54
  ._y5vk167t{--container-gap-left:var(--_73mooq)}
55
+ ._y5vk1b66{--container-gap-left:var(--ds-space-050,4px)}
56
+ ._y5vk1eak{--container-gap-left:var(--ds-space-200,16px)}
37
57
  ._y5vk1j6v{--container-gap-left:1rem}
38
58
  ._y5vk1k92{--container-gap-left:1.25rem}
39
59
  ._y5vk1kwk{--container-gap-left:.5rem}
40
60
  ._y5vk6mu8{--container-gap-left:.25rem}
61
+ ._y5vku2gc{--container-gap-left:var(--ds-space-100,8px)}
62
+ ._y5vkv47k{--container-gap-left:var(--ds-space-250,20px)}
41
63
  ._1v7y1i6y .has-action:focus, ._ufn21i6y a:focus{outline-offset:var(--ds-space-negative-025,-2px)}
@@ -100,15 +100,29 @@ var getLayeredLink = function getLayeredLink(testId, context, children, onClick)
100
100
  });
101
101
  };
102
102
  var baseStyleCommon = null;
103
- var backgroundStyle = null;
103
+
104
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
105
+ var backgroundStyleOld = null;
106
+ var backgroundStyles = null;
107
+
108
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
109
+ var elevationStylesOld = null;
104
110
  var elevationStyles = null;
105
111
  var clickableContainerStyles = null;
106
- var gapStyleMap = {
112
+
113
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
114
+ var gapStyleMapOld = {
107
115
  xlarge: "_zulp1jvo",
108
116
  large: "_zulph3jc",
109
117
  medium: "_zulp1qos",
110
118
  small: "_zulpfzsm"
111
119
  };
120
+ var gapStyleMap = {
121
+ xlarge: "_zulpr2fv",
122
+ large: "_zulpzu5n",
123
+ medium: "_zulp1bpf",
124
+ small: "_zulpswc3"
125
+ };
112
126
 
113
127
  /**
114
128
  * Get container padding based on smart link size
@@ -116,6 +130,19 @@ var gapStyleMap = {
116
130
  * at view/FlexibleCard/components/utils.tsx
117
131
  */
118
132
  var getPadding = function getPadding(size) {
133
+ if ((0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1')) {
134
+ switch (size) {
135
+ case _constants.SmartLinkSize.XLarge:
136
+ return "var(--ds-space-300, 24px)";
137
+ case _constants.SmartLinkSize.Large:
138
+ return "var(--ds-space-250, 20px)";
139
+ case _constants.SmartLinkSize.Medium:
140
+ return "var(--ds-space-200, 16px)";
141
+ case _constants.SmartLinkSize.Small:
142
+ default:
143
+ return "var(--ds-space-100, 8px)";
144
+ }
145
+ }
119
146
  switch (size) {
120
147
  case _constants.SmartLinkSize.XLarge:
121
148
  return '1.5rem';
@@ -129,6 +156,19 @@ var getPadding = function getPadding(size) {
129
156
  }
130
157
  };
131
158
  var getGap = function getGap(size) {
159
+ if ((0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1')) {
160
+ switch (size) {
161
+ case _constants.SmartLinkSize.XLarge:
162
+ return "var(--ds-space-250, 1.25rem)";
163
+ case _constants.SmartLinkSize.Large:
164
+ return "var(--ds-space-200, 1rem)";
165
+ case _constants.SmartLinkSize.Medium:
166
+ return "var(--ds-space-100, .5rem)";
167
+ case _constants.SmartLinkSize.Small:
168
+ default:
169
+ return "var(--ds-space-050, .25rem)";
170
+ }
171
+ }
132
172
  switch (size) {
133
173
  case _constants.SmartLinkSize.XLarge:
134
174
  return '1.25rem';
@@ -141,18 +181,34 @@ var getGap = function getGap(size) {
141
181
  return '.25rem';
142
182
  }
143
183
  };
144
- var previewOnLeftStyleMap = {
184
+
185
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
186
+ var previewOnLeftStyleMapOld = {
145
187
  xlarge: "_19bv15sf _y5vk1k92",
146
188
  large: "_19bvf557 _y5vk1j6v",
147
189
  medium: "_19bvqox2 _y5vk1kwk",
148
190
  small: "_19bv1ltm _y5vk6mu8"
149
191
  };
150
- var previewOnRightStyleMap = {
192
+ var previewOnLeftStyleMap = {
193
+ xlarge: "_19bv16ru _y5vkv47k",
194
+ large: "_19bv1g7w _y5vk1eak",
195
+ medium: "_19bvlbes _y5vku2gc",
196
+ small: "_19bv1ugb _y5vk1b66"
197
+ };
198
+
199
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
200
+ var previewOnRightStyleMapOld = {
151
201
  xlarge: "_u5f315sf _1yob1k92",
152
202
  large: "_u5f3f557 _1yob1j6v",
153
203
  medium: "_u5f3qox2 _1yob1kwk",
154
204
  small: "_u5f31ltm _1yob6mu8"
155
205
  };
206
+ var previewOnRightStyleMap = {
207
+ xlarge: "_u5f316ru _1yobv47k",
208
+ large: "_u5f31g7w _1yob1eak",
209
+ medium: "_u5f3lbes _1yobu2gc",
210
+ small: "_u5f31ugb _1yob1b66"
211
+ };
156
212
 
157
213
  /**
158
214
  * A container is a hidden component that build the Flexible Smart Link.
@@ -196,10 +252,20 @@ var ContainerNew = function ContainerNew(_ref3) {
196
252
  // unresolved link (unauthorized, forbidden, not found, etc.)
197
253
  var canShowAuthTooltip = showHoverPreview && status === 'unauthorized' && retry !== undefined;
198
254
  var containerPaddingStyles = null;
199
- var container = /*#__PURE__*/_react.default.createElement("div", {
255
+ var container = (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? /*#__PURE__*/_react.default.createElement("div", {
256
+ "data-smart-link-container": true,
257
+ "data-testid": testId,
258
+ className: (0, _runtime.ax)(["_1e0c1txw _2lx21bp4 _1ul9idpf _1reo15vq _kqswh2mm _1pcmkb7n _1v7y1i6y _ufn21i6y", gapStyleMap[size], !hideBackground && "_bfhkhp5a", "_1yt418y6 _jb7v18y6 _y5vk167t _1yob1wow _r37x1r5k", previewOnLeft && previewOnLeftStyleMap[size], previewOnRight && previewOnRightStyleMap[size], !hideElevation && "_19itpp12 _2rkob7nn _19pkv77o _2hwxv77o _otyrv77o _18u0v77o", clickableContainer && "_nqwih2mm _18ywh2mm _1nq3h2mm _1t4ckb7n _1nxdkb7n _xnbykb7n"]),
259
+ style: {
260
+ "--_1xumd0e": (0, _runtime.ix)(padding),
261
+ "--_73mooq": (0, _runtime.ix)(previewOnLeft ? gap : padding),
262
+ "--_12k13bg": (0, _runtime.ix)(previewOnRight ? gap : padding),
263
+ "--_18x9sjc": (0, _runtime.ix)("1px solid ".concat("var(--ds-border, #091E4224)"))
264
+ }
265
+ }, clickableContainer ? getLayeredLink(testId, context, children, onClick) : null, renderChildren(children, size, theme, status, retry, onClick)) : /*#__PURE__*/_react.default.createElement("div", {
200
266
  "data-smart-link-container": true,
201
267
  "data-testid": testId,
202
- className: (0, _runtime.ax)(["_1e0c1txw _2lx21bp4 _1ul9idpf _1reo15vq _kqswh2mm _1pcmkb7n _1v7y1i6y _ufn21i6y", gapStyleMap[size], !hideBackground && "_bfhkhp5a", "_1yt418y6 _jb7v18y6 _y5vk167t _1yob1wow _r37x1r5k", previewOnLeft && previewOnLeftStyleMap[size], previewOnRight && previewOnRightStyleMap[size], !hideElevation && "_19itn8v0 _2rkopd34 _19pkv77o _2hwxv77o _otyrv77o _18u0v77o", clickableContainer && "_nqwih2mm _18ywh2mm _1nq3h2mm _1t4ckb7n _1nxdkb7n _xnbykb7n"]),
268
+ className: (0, _runtime.ax)(["_1e0c1txw _2lx21bp4 _1ul9idpf _1reo15vq _kqswh2mm _1pcmkb7n _1v7y1i6y _ufn21i6y", gapStyleMapOld[size], !hideBackground && "_bfhkhp5a", "_1yt418y6 _jb7v18y6 _y5vk167t _1yob1wow _r37x1r5k", previewOnLeft && previewOnLeftStyleMapOld[size], previewOnRight && previewOnRightStyleMapOld[size], !hideElevation && "_19itn8v0 _2rkopd34 _19pkv77o _2hwxv77o _otyrv77o _18u0v77o", clickableContainer && "_nqwih2mm _18ywh2mm _1nq3h2mm _1t4ckb7n _1nxdkb7n _xnbykb7n"]),
203
269
  style: {
204
270
  "--_1xumd0e": (0, _runtime.ix)(padding),
205
271
  "--_73mooq": (0, _runtime.ix)(previewOnLeft ? gap : padding),
@@ -1,3 +1,4 @@
1
+ ._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
1
2
  ._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
3
  ._16jlidpf{flex-grow:0}
3
4
  ._19bv1xvx{padding-left:var(--ds-space-025,.125rem)}
@@ -25,6 +26,7 @@
25
26
  ._rtys1j6v img, ._b8nk1j6v span, ._4x201j6v svg{max-width:1rem}
26
27
  ._s7n4nkob{vertical-align:middle}
27
28
  ._syaz131l{color:var(--ds-text-subtlest,#626f86)}
29
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
28
30
  ._syaz1oju{color:var(--ds-icon-subtle,#626f86)}
29
31
  ._uhasidpf svg{padding-right:0}
30
32
  ._vwz4idpf{line-height:0}
@@ -21,8 +21,9 @@ var _messageMapper;
21
21
  /* eslint-disable @atlaskit/design-system/use-tokens-typography */
22
22
  var badgeStyles = null;
23
23
  var iconStyles = null;
24
- // ${getIconSizeStyles('1rem')}
25
24
 
25
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
26
+ var labelStylesOld = null;
26
27
  var labelStyles = null;
27
28
  var messageMapper = (_messageMapper = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityBlocker, _messages.messages.priority_blocker), _constants.IconType.PriorityCritical, _messages.messages.priority_critical), _constants.IconType.PriorityHigh, _messages.messages.priority_high), _constants.IconType.PriorityHighest, _messages.messages.priority_highest), _constants.IconType.PriorityLow, _messages.messages.priority_low), _constants.IconType.PriorityLowest, _messages.messages.priority_lowest), _constants.IconType.PriorityMajor, _messages.messages.priority_major), _constants.IconType.PriorityMedium, _messages.messages.priority_medium), _constants.IconType.PriorityMinor, _messages.messages.priority_minor), _constants.IconType.PriorityTrivial, _messages.messages.priority_trivial), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityUndefined, _messages.messages.priority_undefined));
28
29
  var getFormattedMessageFromIcon = function getFormattedMessageFromIcon(icon) {
@@ -93,7 +94,7 @@ var BadgeNew = function BadgeNew(_ref) {
93
94
  className: (0, _runtime.ax)(["_16jlidpf _1o9zidpf _i0dl1wug _syaz1oju _vwz4idpf _s7n4nkob _4t3i1j6v _1tke1j6v _c71l1j6v _1bsb1j6v _1ul91j6v _p12f1j6v _i2i3idpf _uhasidpf _5jw9idpf _7wy9idpf _bna71j6v _1xjx1j6v _17521j6v _qci81j6v _15iz1j6v _erub1j6v _19l31j6v _1pr21j6v _1u5t1j6v _mezj1j6v _e2oo1j6v _w8l51j6v _1rg21j6v _q7cv1j6v _xwbj1j6v _rtys1j6v _b8nk1j6v _4x201j6v _1jtnidpf _13t3idpf _rm9uidpf _rtqbnkob _e4kmnkob _z239nkob"])
94
95
  }, badgeIcon), /*#__PURE__*/_react.default.createElement("span", {
95
96
  "data-testid": "".concat(testId, "-label"),
96
- className: (0, _runtime.ax)(["_11c8qk37 _syaz131l _19bv1xvx _s7n4nkob"])
97
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81vlj _syaz1gjq _19bv1xvx _s7n4nkob" : "_11c8qk37 _syaz131l _19bv1xvx _s7n4nkob"])
97
98
  }, formattedMessageOrLabel));
98
99
  };
99
100
  var Badge = function Badge(props) {
@@ -1,3 +1,4 @@
1
+ ._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
1
2
  ._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
3
  ._18m915vq{overflow-y:hidden}
3
4
  ._1bto1l2s{text-overflow:ellipsis}
@@ -7,4 +8,5 @@
7
8
  ._1yyjkb7n{-webkit-line-clamp:1}
8
9
  ._sudp1e54{-webkit-box-orient:vertical}
9
10
  ._syaz131l{color:var(--ds-text-subtlest,#626f86)}
11
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
10
12
  @supports not (-webkit-line-clamp:1){._102k1j6v{max-height:1rem}}
@@ -18,6 +18,8 @@ var _messages = require("../../../../../messages");
18
18
  var _DateTimeOld = _interopRequireDefault(require("./DateTimeOld"));
19
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
20
20
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
22
+ var stylesOld = null;
21
23
  var styles = null;
22
24
  var typeToDescriptorMap = {
23
25
  created: {
@@ -82,7 +84,7 @@ var DateTimeNew = function DateTimeNew(_ref) {
82
84
  "data-testid": testId
83
85
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
84
86
  ,
85
- className: (0, _runtime.ax)(["_11c8qk37 _1reo15vq _18m915vq _syaz131l _1e0ccj1k _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k1j6v", className])
87
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81vlj _1reo15vq _18m915vq _syaz1gjq _1e0ccj1k _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k1j6v" : "_11c8qk37 _1reo15vq _18m915vq _syaz131l _1e0ccj1k _1bto1l2s _1nmz1hna _1yyjkb7n _sudp1e54 _102k1j6v", className])
86
88
  }, text ? "".concat(text, " ").concat(context) : /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, typeToDescriptorMap[type][typeVariant], {
87
89
  values: {
88
90
  context: context
@@ -21,6 +21,9 @@ var _excluded = ["content", "maxLines", "className"];
21
21
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
22
22
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
23
  var SNIPPET_DEFAULT_MAX_LINES = 3;
24
+
25
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
26
+ var snippetBaseStyleOld = null;
24
27
  var snippetBaseStyle = null;
25
28
  var SnippetElementNew = function SnippetElementNew() {
26
29
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -34,7 +37,7 @@ var SnippetElementNew = function SnippetElementNew() {
34
37
  content: overrideContent !== null && overrideContent !== void 0 ? overrideContent : context === null || context === void 0 ? void 0 : context.snippet,
35
38
  maxLines: maxLines,
36
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
37
- className: (0, _runtime.ax)(["_syaz1fxt _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className])
40
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_syaz1fxt _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv" : "_syaz1fxt _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className])
38
41
  }, props));
39
42
  };
40
43
  var SnippetElement = function SnippetElement() {
@@ -1,3 +1,4 @@
1
+ ._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
1
2
  ._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
3
  ._18m915vq{overflow-y:hidden}
3
4
  ._1bto1l2s{text-overflow:ellipsis}
@@ -8,4 +9,5 @@
8
9
  ._o5724jg8{white-space:normal}
9
10
  ._sudp1e54{-webkit-box-orient:vertical}
10
11
  ._syaz131l{color:var(--ds-text-subtlest,#626f86)}
12
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
11
13
  @supports not (-webkit-line-clamp:1){._102klxil{max-height:var(--_ohw86c)}}
@@ -15,6 +15,8 @@ var _utils = require("../../utils");
15
15
  var _TextOld = _interopRequireDefault(require("./TextOld"));
16
16
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
+ // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
19
+ var baseStyleOld = null;
18
20
  var baseStyle = null;
19
21
 
20
22
  /**
@@ -43,7 +45,7 @@ var TextNew = function TextNew(_ref) {
43
45
  "data-testid": testId
44
46
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
45
47
  ,
46
- className: (0, _runtime.ax)(["_11c8qk37 _1reo15vq _18m915vq _syaz131l _o5724jg8 _1e0ccj1k _1bto1l2s _1nmz1hna _sudp1e54", "_1yyjr31u _102klxil", className]),
48
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81vlj _1reo15vq _18m915vq _syaz1gjq _o5724jg8 _1e0ccj1k _1bto1l2s _1nmz1hna _sudp1e54" : "_11c8qk37 _1reo15vq _18m915vq _syaz131l _o5724jg8 _1e0ccj1k _1bto1l2s _1nmz1hna _sudp1e54", "_1yyjr31u _102klxil", className]),
47
49
  style: {
48
50
  "--_1erfju8": (0, _runtime.ix)(maxLines),
49
51
  "--_ohw86c": (0, _runtime.ix)("calc(".concat(maxLines, " * 1rem)"))
@@ -51,4 +51,4 @@
51
51
  ._1iohnqa1:active{text-decoration-style:solid}
52
52
  ._1nrm18uv:active{text-decoration-color:initial}
53
53
  ._c2waglyw:active{text-decoration-line:none}
54
- @supports not (-webkit-line-clamp:1){._17bix7n9{padding:var(--ds-space-025,2px) 0}._nr8z1o8l{display:inline-block}._102kqslr{max-height:22px}}
54
+ @supports not (-webkit-line-clamp:1){._17bix7n9{padding:var(--ds-space-025,2px) 0}._nr8z1o8l{display:inline-block}._102kqslr{max-height:22px}._1voyv77o{padding-top:var(--ds-space-025,2px)}._3kwxidpf{padding-right:0}._jqg5v77o{padding-bottom:var(--ds-space-025,2px)}._6vwiidpf{padding-left:0}}
@@ -30,7 +30,7 @@ var WrapperSpan = exports.WrapperSpan = /*#__PURE__*/(0, _react.forwardRef)(func
30
30
  return /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({
31
31
  ref: ref
32
32
  }, props, {
33
- className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l", truncateInline && !(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv"])
33
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && !(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv"])
34
34
  }), props.children);
35
35
  });
36
36
  var WrapperAnchor = exports.WrapperAnchor = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
@@ -45,7 +45,7 @@ var WrapperAnchor = exports.WrapperAnchor = /*#__PURE__*/(0, _react.forwardRef)(
45
45
  href: href,
46
46
  ref: ref
47
47
  }, props, {
48
- className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l", truncateInline && !(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv", isInteractive && "_nt751r31 _49pcglyw _1hvw1o36 _1372tlke _7ehicw00 _1j5pglyw _1di629zg"])
48
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && !(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv", isInteractive && "_nt751r31 _49pcglyw _1hvw1o36 _1372tlke _7ehicw00 _1j5pglyw _1di629zg"])
49
49
  }), props.children);
50
50
  });
51
51
  var baseWrapperStylesNew = null;
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
20
20
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
21
21
  var PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/smart-card",
23
- packageVersion: "34.10.0",
23
+ packageVersion: "34.10.2",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -1,8 +1,10 @@
1
+ ._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
1
2
  ._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
3
  ._181u1kdv{-webkit-user-select:text}
3
4
  ._1nmz1hna{word-break:break-word}
4
5
  ._1rkw1kdv{-moz-user-select:text}
5
6
  ._o5724jg8{white-space:normal}
6
7
  ._slp31hna{word-wrap:break-word}
8
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
7
9
  ._te171kdv{-ms-user-select:text}
8
10
  ._uizt1kdv{-webkit-user-select:text;-ms-user-select:text;user-select:text}
@@ -21,6 +21,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
21
21
  * Remove the export as well
22
22
  */
23
23
  var AISummaryCSSStyles = null;
24
+ var baseStyle = null;
24
25
 
25
26
  /**
26
27
  * A component to render a response from AI in markdown text.
@@ -42,7 +43,7 @@ var AISummaryNew = function AISummaryNew(_ref) {
42
43
  "data-testid": testId
43
44
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
44
45
  ,
45
- className: (0, _runtime.ax)(["_11c8qk37 _slp31hna _1nmz1hna _o5724jg8 _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className]),
46
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81vlj _syaz1gjq _slp31hna _1nmz1hna _o5724jg8 _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv" : "_11c8qk37 _slp31hna _1nmz1hna _o5724jg8 _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className]),
46
47
  children: content,
47
48
  options: {
48
49
  forceWrapper: true,
@@ -737,22 +737,22 @@ export const messages = defineMessages({
737
737
  },
738
738
  join_to_viewIssueTermRefresh: {
739
739
  id: 'fabric.linking.join_to_view-issue-term-refresh',
740
- defaultMessage: "Join {context} to view this work item",
740
+ defaultMessage: 'Join {context} to view this work item',
741
741
  description: 'Allows the user join the product or service immediately'
742
742
  },
743
743
  open_issue_in_jiraIssueTermRefresh: {
744
744
  id: 'fabric.linking.open_issue_in_jira-issue-term-refresh',
745
- defaultMessage: "Open work item in Jira",
745
+ defaultMessage: 'Open work item in Jira',
746
746
  description: 'Click to open link in Jira'
747
747
  },
748
748
  request_access_to_viewIssueTermRefresh: {
749
749
  id: 'fabric.linking.request_access_to_view-issue-term-refresh',
750
- defaultMessage: "Request access to {context} to view this work item",
750
+ defaultMessage: 'Request access to {context} to view this work item',
751
751
  description: 'Allows the user to request access to a product or service'
752
752
  },
753
753
  status_change_permission_errorIssueTermRefresh: {
754
754
  id: 'fabric.linking.status_change_permission_error-issue-term-refresh',
755
- defaultMessage: "You don’t have permission to transition this work item. ",
755
+ defaultMessage: 'You don’t have permission to transition this work item. ',
756
756
  description: 'Informs the user that they do not have enough permissions to update a status'
757
757
  }
758
758
  });