@atlaskit/smart-card 34.7.0 → 34.9.0

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 (465) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/cjs/constants.js +1 -0
  3. package/dist/cjs/extractors/common/icon/extractIconFromDocument.js +26 -4
  4. package/dist/cjs/extractors/flexible/icon/extract-document-type-icon.js +28 -5
  5. package/dist/cjs/extractors/flexible/icon/extract-jsonld-data-icon.js +1 -1
  6. package/dist/cjs/utils/analytics/analytics.js +1 -1
  7. package/dist/cjs/utils/flexible.js +9 -9
  8. package/dist/cjs/utils/index.js +33 -22
  9. package/dist/cjs/view/BlockCard/views/styledOld.js +1 -0
  10. package/dist/cjs/view/EmbedCard/components/styled.compiled.css +4 -1
  11. package/dist/cjs/view/EmbedCard/components/styled.js +1 -1
  12. package/dist/cjs/view/EmbedCard/views/unresolved-view/index.compiled.css +4 -1
  13. package/dist/cjs/view/EmbedCard/views/unresolved-view/index.js +1 -1
  14. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +10 -0
  15. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +37 -37
  16. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.js +73 -0
  17. package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +3 -3
  18. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.js +100 -0
  19. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.js +93 -0
  20. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.compiled.css +9 -0
  21. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +33 -29
  22. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.js +50 -0
  23. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.compiled.css +8 -0
  24. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +28 -23
  25. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.js +43 -0
  26. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.compiled.css +3 -0
  27. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +24 -13
  28. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.js +58 -0
  29. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.compiled.css +5 -0
  30. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +31 -20
  31. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.js +69 -0
  32. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +7 -0
  33. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +29 -26
  34. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.js +32 -0
  35. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.js +11 -3
  36. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/index.js +11 -3
  37. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.js +72 -0
  38. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +15 -0
  39. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +32 -36
  40. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +23 -8
  41. package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +12 -4
  42. package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.js +46 -0
  43. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.js +2 -2
  44. package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +25 -16
  45. package/dist/cjs/view/FlexibleCard/components/common/motion-wrapper/index.js +2 -2
  46. package/dist/cjs/view/FlexibleCard/components/elements/icon/index.compiled.css +3 -0
  47. package/dist/cjs/view/FlexibleCard/components/elements/icon/index.js +14 -19
  48. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -0
  49. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +6 -7
  50. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -0
  51. package/dist/cjs/view/FlexibleCard/components/utils.js +1 -0
  52. package/dist/cjs/view/InlineCard/ErroredView/InlineCardErroredViewOld.js +118 -0
  53. package/dist/cjs/view/InlineCard/ErroredView/index.compiled.css +1 -0
  54. package/dist/cjs/view/InlineCard/ErroredView/index.js +76 -95
  55. package/dist/cjs/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.js +207 -0
  56. package/dist/cjs/view/InlineCard/ForbiddenView/index.compiled.css +6 -0
  57. package/dist/cjs/view/InlineCard/ForbiddenView/index.js +126 -176
  58. package/dist/cjs/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.compiled.css +1 -0
  59. package/dist/cjs/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.js +226 -0
  60. package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +29 -0
  61. package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +231 -286
  62. package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled-emotion.js +12 -2
  63. package/dist/cjs/view/InlineCard/ResolvedView/index.js +1 -4
  64. package/dist/cjs/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.js +92 -0
  65. package/dist/cjs/view/InlineCard/ResolvingView/index.js +48 -78
  66. package/dist/cjs/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.js +142 -0
  67. package/dist/cjs/view/InlineCard/UnauthorisedView/index.compiled.css +1 -0
  68. package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +42 -63
  69. package/dist/cjs/view/LinkUrl/LinkWarningModal/WarningModalOld.js +61 -0
  70. package/dist/cjs/view/LinkUrl/LinkWarningModal/index.compiled.css +2 -0
  71. package/dist/cjs/view/LinkUrl/LinkWarningModal/index.js +25 -20
  72. package/dist/cjs/view/LinkUrl/LinkWarningModal/styled.js +3 -0
  73. package/dist/cjs/view/LinkUrl/index.js +1 -1
  74. package/dist/cjs/view/RelatedLinksModal/components/EmptyState.compiled.css +12 -0
  75. package/dist/cjs/view/RelatedLinksModal/components/EmptyState.js +27 -25
  76. package/dist/cjs/view/RelatedLinksModal/components/EmptyStateOld.js +41 -0
  77. package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +1 -0
  78. package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +15 -11
  79. package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.compiled.css +5 -1
  80. package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.js +4 -12
  81. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.compiled.css +4 -0
  82. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +23 -23
  83. package/dist/cjs/view/RelatedLinksModal/views/resolved/index.js +2 -2
  84. package/dist/cjs/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.js +27 -0
  85. package/dist/cjs/view/RelatedLinksModal/views/resolving/index.compiled.css +5 -0
  86. package/dist/cjs/view/RelatedLinksModal/views/resolving/index.js +24 -14
  87. package/dist/cjs/view/common/Icon.compiled.css +6 -0
  88. package/dist/cjs/view/common/Icon.js +22 -46
  89. package/dist/cjs/view/common/IconOld.js +85 -0
  90. package/dist/cjs/view/common/ai-prism/AIPrismOld.js +58 -0
  91. package/dist/cjs/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.js +61 -0
  92. package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-container.compiled.css +13 -0
  93. package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +67 -74
  94. package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.js +253 -0
  95. package/dist/cjs/view/common/ai-prism/ai-glowing-border/index.compiled.css +10 -0
  96. package/dist/cjs/view/common/ai-prism/ai-glowing-border/index.js +32 -34
  97. package/dist/cjs/view/common/ai-prism/constants.js +6 -0
  98. package/dist/cjs/view/common/ai-prism/index.compiled.css +8 -0
  99. package/dist/cjs/view/common/ai-prism/index.js +28 -31
  100. package/dist/cjs/view/common/ai-summary/AISummaryOld.js +65 -0
  101. package/dist/cjs/view/common/ai-summary/index.compiled.css +8 -0
  102. package/dist/cjs/view/common/ai-summary/index.js +25 -20
  103. package/dist/cjs/view/common/ai-summary/ulist.compiled.css +2 -0
  104. package/dist/cjs/view/common/ai-summary/ulist.js +16 -14
  105. package/dist/cjs/view/common/ai-summary/ulistOld.js +29 -0
  106. package/dist/cjs/view/common/stop-propagation/StopPropagationOld.js +37 -0
  107. package/dist/cjs/view/common/stop-propagation/index.compiled.css +3 -0
  108. package/dist/cjs/view/common/stop-propagation/index.js +17 -21
  109. package/dist/cjs/view/common/utils.js +9 -0
  110. package/dist/es2019/constants.js +1 -0
  111. package/dist/es2019/extractors/common/icon/extractIconFromDocument.js +26 -4
  112. package/dist/es2019/extractors/flexible/icon/extract-document-type-icon.js +28 -5
  113. package/dist/es2019/extractors/flexible/icon/extract-jsonld-data-icon.js +1 -1
  114. package/dist/es2019/utils/analytics/analytics.js +1 -1
  115. package/dist/es2019/utils/index.js +8 -0
  116. package/dist/es2019/view/BlockCard/views/styledOld.js +1 -0
  117. package/dist/es2019/view/EmbedCard/components/styled.compiled.css +4 -1
  118. package/dist/es2019/view/EmbedCard/components/styled.js +1 -1
  119. package/dist/es2019/view/EmbedCard/views/unresolved-view/index.compiled.css +4 -1
  120. package/dist/es2019/view/EmbedCard/views/unresolved-view/index.js +1 -1
  121. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +10 -0
  122. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +35 -35
  123. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.js +64 -0
  124. package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +3 -3
  125. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.js +87 -0
  126. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.js +89 -0
  127. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.compiled.css +9 -0
  128. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +22 -21
  129. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.js +44 -0
  130. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.compiled.css +8 -0
  131. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +22 -20
  132. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.js +37 -0
  133. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.compiled.css +3 -0
  134. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +18 -10
  135. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.js +55 -0
  136. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.compiled.css +5 -0
  137. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +23 -15
  138. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.js +65 -0
  139. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +7 -0
  140. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +22 -22
  141. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.js +25 -0
  142. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.js +10 -2
  143. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/index.js +10 -2
  144. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.js +66 -0
  145. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +15 -0
  146. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +25 -32
  147. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +21 -6
  148. package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +10 -2
  149. package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.js +41 -0
  150. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.js +1 -1
  151. package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +6 -0
  152. package/dist/es2019/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
  153. package/dist/es2019/view/FlexibleCard/components/elements/icon/index.compiled.css +3 -0
  154. package/dist/es2019/view/FlexibleCard/components/elements/icon/index.js +7 -12
  155. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -0
  156. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +5 -6
  157. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -0
  158. package/dist/es2019/view/FlexibleCard/components/utils.js +1 -0
  159. package/dist/es2019/view/InlineCard/ErroredView/InlineCardErroredViewOld.js +98 -0
  160. package/dist/es2019/view/InlineCard/ErroredView/index.compiled.css +1 -0
  161. package/dist/es2019/view/InlineCard/ErroredView/index.js +76 -82
  162. package/dist/es2019/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.js +189 -0
  163. package/dist/es2019/view/InlineCard/ForbiddenView/index.compiled.css +6 -0
  164. package/dist/es2019/view/InlineCard/ForbiddenView/index.js +123 -165
  165. package/dist/es2019/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.compiled.css +1 -0
  166. package/dist/es2019/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.js +203 -0
  167. package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +29 -0
  168. package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +178 -220
  169. package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled-emotion.js +11 -1
  170. package/dist/es2019/view/InlineCard/ResolvedView/index.js +1 -4
  171. package/dist/es2019/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.js +70 -0
  172. package/dist/es2019/view/InlineCard/ResolvingView/index.js +47 -64
  173. package/dist/es2019/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.js +135 -0
  174. package/dist/es2019/view/InlineCard/UnauthorisedView/index.compiled.css +1 -0
  175. package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +42 -63
  176. package/dist/es2019/view/LinkUrl/LinkWarningModal/WarningModalOld.js +50 -0
  177. package/dist/es2019/view/LinkUrl/LinkWarningModal/index.compiled.css +2 -0
  178. package/dist/es2019/view/LinkUrl/LinkWarningModal/index.js +25 -19
  179. package/dist/es2019/view/LinkUrl/LinkWarningModal/styled.js +3 -0
  180. package/dist/es2019/view/LinkUrl/index.js +1 -1
  181. package/dist/es2019/view/RelatedLinksModal/components/EmptyState.compiled.css +12 -0
  182. package/dist/es2019/view/RelatedLinksModal/components/EmptyState.js +20 -21
  183. package/dist/es2019/view/RelatedLinksModal/components/EmptyStateOld.js +35 -0
  184. package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +1 -0
  185. package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +10 -6
  186. package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.compiled.css +5 -1
  187. package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.js +4 -12
  188. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.compiled.css +4 -0
  189. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +12 -15
  190. package/dist/es2019/view/RelatedLinksModal/views/resolved/index.js +1 -1
  191. package/dist/es2019/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.js +18 -0
  192. package/dist/es2019/view/RelatedLinksModal/views/resolving/index.compiled.css +5 -0
  193. package/dist/es2019/view/RelatedLinksModal/views/resolving/index.js +19 -12
  194. package/dist/es2019/view/common/Icon.compiled.css +6 -0
  195. package/dist/es2019/view/common/Icon.js +21 -44
  196. package/dist/es2019/view/common/IconOld.js +76 -0
  197. package/dist/es2019/view/common/ai-prism/AIPrismOld.js +49 -0
  198. package/dist/es2019/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.js +51 -0
  199. package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-container.compiled.css +13 -0
  200. package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +57 -71
  201. package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.js +243 -0
  202. package/dist/es2019/view/common/ai-prism/ai-glowing-border/index.compiled.css +10 -0
  203. package/dist/es2019/view/common/ai-prism/ai-glowing-border/index.js +28 -32
  204. package/dist/es2019/view/common/ai-prism/constants.js +6 -0
  205. package/dist/es2019/view/common/ai-prism/index.compiled.css +8 -0
  206. package/dist/es2019/view/common/ai-prism/index.js +25 -30
  207. package/dist/es2019/view/common/ai-summary/AISummaryOld.js +55 -0
  208. package/dist/es2019/view/common/ai-summary/index.compiled.css +8 -0
  209. package/dist/es2019/view/common/ai-summary/index.js +24 -21
  210. package/dist/es2019/view/common/ai-summary/ulist.compiled.css +2 -0
  211. package/dist/es2019/view/common/ai-summary/ulist.js +16 -15
  212. package/dist/es2019/view/common/ai-summary/ulistOld.js +20 -0
  213. package/dist/es2019/view/common/stop-propagation/StopPropagationOld.js +28 -0
  214. package/dist/es2019/view/common/stop-propagation/index.compiled.css +3 -0
  215. package/dist/es2019/view/common/stop-propagation/index.js +17 -20
  216. package/dist/es2019/view/common/utils.js +9 -0
  217. package/dist/esm/constants.js +1 -0
  218. package/dist/esm/extractors/common/icon/extractIconFromDocument.js +26 -4
  219. package/dist/esm/extractors/flexible/icon/extract-document-type-icon.js +28 -5
  220. package/dist/esm/extractors/flexible/icon/extract-jsonld-data-icon.js +1 -1
  221. package/dist/esm/utils/analytics/analytics.js +1 -1
  222. package/dist/esm/utils/flexible.js +13 -9
  223. package/dist/esm/utils/index.js +32 -22
  224. package/dist/esm/view/BlockCard/views/styledOld.js +1 -0
  225. package/dist/esm/view/EmbedCard/components/styled.compiled.css +4 -1
  226. package/dist/esm/view/EmbedCard/components/styled.js +1 -1
  227. package/dist/esm/view/EmbedCard/views/unresolved-view/index.compiled.css +4 -1
  228. package/dist/esm/view/EmbedCard/views/unresolved-view/index.js +1 -1
  229. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +10 -0
  230. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +35 -35
  231. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.js +63 -0
  232. package/dist/esm/view/FlexibleCard/components/actions/action/index.js +3 -3
  233. package/dist/esm/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.js +88 -0
  234. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.js +86 -0
  235. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.compiled.css +9 -0
  236. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +22 -21
  237. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.js +43 -0
  238. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.compiled.css +8 -0
  239. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.js +22 -20
  240. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.js +36 -0
  241. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.compiled.css +3 -0
  242. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.js +18 -10
  243. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.js +51 -0
  244. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.compiled.css +5 -0
  245. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +23 -15
  246. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.js +62 -0
  247. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +7 -0
  248. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +22 -22
  249. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.js +25 -0
  250. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.js +10 -2
  251. package/dist/esm/view/FlexibleCard/components/actions/automation-action/index.js +10 -2
  252. package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.js +65 -0
  253. package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +15 -0
  254. package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +25 -32
  255. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +21 -6
  256. package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +10 -2
  257. package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.js +39 -0
  258. package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.js +1 -1
  259. package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +23 -16
  260. package/dist/esm/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
  261. package/dist/esm/view/FlexibleCard/components/elements/icon/index.compiled.css +3 -0
  262. package/dist/esm/view/FlexibleCard/components/elements/icon/index.js +7 -12
  263. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -0
  264. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +5 -6
  265. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -0
  266. package/dist/esm/view/FlexibleCard/components/utils.js +1 -0
  267. package/dist/esm/view/InlineCard/ErroredView/InlineCardErroredViewOld.js +111 -0
  268. package/dist/esm/view/InlineCard/ErroredView/index.compiled.css +1 -0
  269. package/dist/esm/view/InlineCard/ErroredView/index.js +76 -95
  270. package/dist/esm/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.js +200 -0
  271. package/dist/esm/view/InlineCard/ForbiddenView/index.compiled.css +6 -0
  272. package/dist/esm/view/InlineCard/ForbiddenView/index.js +126 -176
  273. package/dist/esm/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.compiled.css +1 -0
  274. package/dist/esm/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.js +219 -0
  275. package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +29 -0
  276. package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +231 -286
  277. package/dist/esm/view/InlineCard/IconAndTitleLayout/styled-emotion.js +11 -1
  278. package/dist/esm/view/InlineCard/ResolvedView/index.js +1 -4
  279. package/dist/esm/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.js +85 -0
  280. package/dist/esm/view/InlineCard/ResolvingView/index.js +49 -79
  281. package/dist/esm/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.js +135 -0
  282. package/dist/esm/view/InlineCard/UnauthorisedView/index.compiled.css +1 -0
  283. package/dist/esm/view/InlineCard/UnauthorisedView/index.js +42 -63
  284. package/dist/esm/view/LinkUrl/LinkWarningModal/WarningModalOld.js +50 -0
  285. package/dist/esm/view/LinkUrl/LinkWarningModal/index.compiled.css +2 -0
  286. package/dist/esm/view/LinkUrl/LinkWarningModal/index.js +25 -19
  287. package/dist/esm/view/LinkUrl/LinkWarningModal/styled.js +3 -0
  288. package/dist/esm/view/LinkUrl/index.js +1 -1
  289. package/dist/esm/view/RelatedLinksModal/components/EmptyState.compiled.css +12 -0
  290. package/dist/esm/view/RelatedLinksModal/components/EmptyState.js +20 -21
  291. package/dist/esm/view/RelatedLinksModal/components/EmptyStateOld.js +34 -0
  292. package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.compiled.css +1 -0
  293. package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +10 -6
  294. package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.compiled.css +5 -1
  295. package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.js +4 -12
  296. package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.compiled.css +4 -0
  297. package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +12 -15
  298. package/dist/esm/view/RelatedLinksModal/views/resolved/index.js +1 -1
  299. package/dist/esm/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.js +20 -0
  300. package/dist/esm/view/RelatedLinksModal/views/resolving/index.compiled.css +5 -0
  301. package/dist/esm/view/RelatedLinksModal/views/resolving/index.js +19 -12
  302. package/dist/esm/view/common/Icon.compiled.css +6 -0
  303. package/dist/esm/view/common/Icon.js +21 -44
  304. package/dist/esm/view/common/IconOld.js +77 -0
  305. package/dist/esm/view/common/ai-prism/AIPrismOld.js +50 -0
  306. package/dist/esm/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.js +53 -0
  307. package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-container.compiled.css +13 -0
  308. package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +62 -72
  309. package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.js +246 -0
  310. package/dist/esm/view/common/ai-prism/ai-glowing-border/index.compiled.css +10 -0
  311. package/dist/esm/view/common/ai-prism/ai-glowing-border/index.js +28 -32
  312. package/dist/esm/view/common/ai-prism/constants.js +6 -0
  313. package/dist/esm/view/common/ai-prism/index.compiled.css +8 -0
  314. package/dist/esm/view/common/ai-prism/index.js +25 -30
  315. package/dist/esm/view/common/ai-summary/AISummaryOld.js +57 -0
  316. package/dist/esm/view/common/ai-summary/index.compiled.css +8 -0
  317. package/dist/esm/view/common/ai-summary/index.js +24 -21
  318. package/dist/esm/view/common/ai-summary/ulist.compiled.css +2 -0
  319. package/dist/esm/view/common/ai-summary/ulist.js +16 -15
  320. package/dist/esm/view/common/ai-summary/ulistOld.js +23 -0
  321. package/dist/esm/view/common/stop-propagation/StopPropagationOld.js +27 -0
  322. package/dist/esm/view/common/stop-propagation/index.compiled.css +3 -0
  323. package/dist/esm/view/common/stop-propagation/index.js +17 -20
  324. package/dist/esm/view/common/utils.js +9 -0
  325. package/dist/types/common/ui/icons/utils.d.ts +1 -1
  326. package/dist/types/constants.d.ts +1 -0
  327. package/dist/types/extractors/common/icon/prioritiseIcon.d.ts +5 -0
  328. package/dist/types/extractors/flexible/icon/extract-document-type-icon.d.ts +16 -1
  329. package/dist/types/state/hooks/use-resolve/index.d.ts +1 -1
  330. package/dist/types/state/hooks/use-response/index.d.ts +1 -1
  331. package/dist/types/utils/analytics/click.d.ts +1 -1
  332. package/dist/types/view/Card/index.d.ts +2 -2
  333. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +2 -7
  334. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.d.ts +12 -0
  335. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
  336. package/dist/types/view/FlexibleCard/components/actions/action/types.d.ts +6 -1
  337. package/dist/types/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.d.ts +4 -0
  338. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/AutomationModalEmptyStateOld.d.ts +2 -0
  339. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/AutomationModalErrorStateOld.d.ts +2 -0
  340. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/AutomationModalExecutionStateOld.d.ts +2 -0
  341. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.d.ts +1 -1
  342. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.d.ts +7 -0
  343. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +2 -2
  344. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.d.ts +9 -0
  345. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.d.ts +5 -1
  346. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.d.ts +8 -0
  347. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.d.ts +1 -1
  348. package/dist/types/view/FlexibleCard/components/actions/automation-action/index.d.ts +1 -1
  349. package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.d.ts +3 -0
  350. package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +5 -1
  351. package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/types.d.ts +1 -1
  352. package/dist/types/view/FlexibleCard/components/blocks/action-block/index.d.ts +6 -0
  353. package/dist/types/view/FlexibleCard/components/blocks/action-block/types.d.ts +1 -1
  354. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +3 -3
  355. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.d.ts +5 -0
  356. package/dist/types/view/FlexibleCard/components/utils.d.ts +2 -1
  357. package/dist/types/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
  358. package/dist/types/view/InlineCard/ErroredView/InlineCardErroredViewOld.d.ts +26 -0
  359. package/dist/types/view/InlineCard/ErroredView/index.d.ts +5 -6
  360. package/dist/types/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.d.ts +33 -0
  361. package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +5 -10
  362. package/dist/types/view/InlineCard/Frame/styled.d.ts +2 -2
  363. package/dist/types/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.d.ts +33 -0
  364. package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +3 -14
  365. package/dist/types/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +4 -0
  366. package/dist/types/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.d.ts +21 -0
  367. package/dist/types/view/InlineCard/ResolvingView/index.d.ts +1 -3
  368. package/dist/types/view/InlineCard/ResolvingView/styled-emotion.d.ts +0 -2
  369. package/dist/types/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.d.ts +26 -0
  370. package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +5 -1
  371. package/dist/types/view/InlineCard/common/action-button/index.d.ts +7 -16
  372. package/dist/types/view/LinkUrl/LinkWarningModal/WarningModalOld.d.ts +15 -0
  373. package/dist/types/view/LinkUrl/LinkWarningModal/index.d.ts +2 -2
  374. package/dist/types/view/LinkUrl/LinkWarningModal/styled.d.ts +3 -0
  375. package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +3 -2
  376. package/dist/types/view/RelatedLinksModal/components/EmptyStateOld.d.ts +9 -0
  377. package/dist/types/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.d.ts +3 -0
  378. package/dist/types/view/common/Icon.d.ts +2 -2
  379. package/dist/types/view/common/IconOld.d.ts +21 -0
  380. package/dist/types/view/common/ai-prism/AIPrismOld.d.ts +8 -0
  381. package/dist/types/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.d.ts +14 -0
  382. package/dist/types/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +2 -7
  383. package/dist/types/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.d.ts +9 -0
  384. package/dist/types/view/common/ai-prism/ai-glowing-border/index.d.ts +2 -12
  385. package/dist/types/view/common/ai-prism/ai-glowing-border/types.d.ts +16 -0
  386. package/dist/types/view/common/ai-prism/constants.d.ts +6 -0
  387. package/dist/types/view/common/ai-prism/index.d.ts +2 -6
  388. package/dist/types/view/common/ai-summary/AISummaryOld.d.ts +38 -0
  389. package/dist/types/view/common/ai-summary/index.d.ts +5 -22
  390. package/dist/types/view/common/ai-summary/ulist.d.ts +1 -2
  391. package/dist/types/view/common/ai-summary/ulistOld.d.ts +8 -0
  392. package/dist/types/view/common/stop-propagation/StopPropagationOld.d.ts +11 -0
  393. package/dist/types/view/common/stop-propagation/index.d.ts +1 -2
  394. package/dist/types/view/common/utils.d.ts +9 -0
  395. package/dist/types-ts4.5/common/ui/icons/utils.d.ts +1 -1
  396. package/dist/types-ts4.5/constants.d.ts +1 -0
  397. package/dist/types-ts4.5/extractors/common/icon/prioritiseIcon.d.ts +5 -0
  398. package/dist/types-ts4.5/extractors/flexible/icon/extract-document-type-icon.d.ts +16 -1
  399. package/dist/types-ts4.5/state/hooks/use-resolve/index.d.ts +1 -1
  400. package/dist/types-ts4.5/state/hooks/use-response/index.d.ts +1 -1
  401. package/dist/types-ts4.5/utils/analytics/click.d.ts +1 -1
  402. package/dist/types-ts4.5/view/Card/index.d.ts +2 -2
  403. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +2 -7
  404. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-buttonOld.d.ts +12 -0
  405. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
  406. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/types.d.ts +6 -1
  407. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/AutomationActionOld.d.ts +4 -0
  408. 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 -0
  409. 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 -0
  410. 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 -0
  411. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.d.ts +1 -1
  412. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/AutomationModalHeaderOld.d.ts +7 -0
  413. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +2 -2
  414. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/AutomationModalRuleOld.d.ts +9 -0
  415. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.d.ts +5 -1
  416. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/AutomationModalRuleListOld.d.ts +8 -0
  417. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule-list/main.d.ts +1 -1
  418. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/index.d.ts +1 -1
  419. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/ActionFooterOld.d.ts +3 -0
  420. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +5 -1
  421. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/types.d.ts +1 -1
  422. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/index.d.ts +6 -0
  423. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/types.d.ts +1 -1
  424. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +3 -3
  425. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadataOld.d.ts +5 -0
  426. package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +2 -1
  427. package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
  428. package/dist/types-ts4.5/view/InlineCard/ErroredView/InlineCardErroredViewOld.d.ts +26 -0
  429. package/dist/types-ts4.5/view/InlineCard/ErroredView/index.d.ts +5 -6
  430. package/dist/types-ts4.5/view/InlineCard/ForbiddenView/InlineCardForbiddenViewOld.d.ts +33 -0
  431. package/dist/types-ts4.5/view/InlineCard/ForbiddenView/index.d.ts +5 -10
  432. package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +2 -2
  433. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/IconAndTitleLayoutOld.d.ts +33 -0
  434. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/index.d.ts +3 -14
  435. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +4 -0
  436. package/dist/types-ts4.5/view/InlineCard/ResolvingView/InlineCardResolvingViewOld.d.ts +21 -0
  437. package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +1 -3
  438. package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled-emotion.d.ts +0 -2
  439. package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/InlineCardUnauthorizedViewOld.d.ts +26 -0
  440. package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/index.d.ts +5 -1
  441. package/dist/types-ts4.5/view/InlineCard/common/action-button/index.d.ts +7 -16
  442. package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/WarningModalOld.d.ts +15 -0
  443. package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +2 -2
  444. package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/styled.d.ts +3 -0
  445. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +3 -2
  446. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyStateOld.d.ts +9 -0
  447. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolving/RelatedLinksResolvingViewOld.d.ts +3 -0
  448. package/dist/types-ts4.5/view/common/Icon.d.ts +2 -2
  449. package/dist/types-ts4.5/view/common/IconOld.d.ts +21 -0
  450. package/dist/types-ts4.5/view/common/ai-prism/AIPrismOld.d.ts +8 -0
  451. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/AIGlowingBorderOld.d.ts +14 -0
  452. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +2 -7
  453. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/animated-svg-containerOld.d.ts +9 -0
  454. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/index.d.ts +2 -12
  455. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/types.d.ts +16 -0
  456. package/dist/types-ts4.5/view/common/ai-prism/constants.d.ts +6 -0
  457. package/dist/types-ts4.5/view/common/ai-prism/index.d.ts +2 -6
  458. package/dist/types-ts4.5/view/common/ai-summary/AISummaryOld.d.ts +38 -0
  459. package/dist/types-ts4.5/view/common/ai-summary/index.d.ts +5 -22
  460. package/dist/types-ts4.5/view/common/ai-summary/ulist.d.ts +1 -2
  461. package/dist/types-ts4.5/view/common/ai-summary/ulistOld.d.ts +8 -0
  462. package/dist/types-ts4.5/view/common/stop-propagation/StopPropagationOld.d.ts +11 -0
  463. package/dist/types-ts4.5/view/common/stop-propagation/index.d.ts +1 -2
  464. package/dist/types-ts4.5/view/common/utils.d.ts +9 -0
  465. package/package.json +48 -47
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 34.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109430](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109430)
8
+ [`c6429aa44850a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6429aa44850a) -
9
+ [ux] Adds support for Confluence Live Doc icons to @atlaskit/smart-card
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 34.8.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [#107356](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107356)
20
+ [`af53ea9193631`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af53ea9193631) -
21
+ Convert the rest of exported smart card to use compiledcss
22
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
23
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
24
+ Update `React` from v16 to v18
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies
29
+
3
30
  ## 34.7.0
4
31
 
5
32
  ### Minor Changes
@@ -200,6 +200,7 @@ var IconType = exports.IconType = /*#__PURE__*/function (IconType) {
200
200
  IconType["Story"] = "Jira:Story";
201
201
  IconType["SubTask"] = "Jira:SubTask";
202
202
  IconType["Task"] = "Jira:Task";
203
+ IconType["LiveDocument"] = "Confluence:LiveDocument";
203
204
  IconType["Confluence"] = "Provider:Confluence";
204
205
  IconType["Jira"] = "Provider:Jira";
205
206
  IconType["Default"] = "Default";
@@ -10,8 +10,10 @@ var _ = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/document/
10
10
  var _2 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/generic/16"));
11
11
  var _3 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/presentation/16"));
12
12
  var _4 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/spreadsheet/16"));
13
+ var _pageLiveDoc = _interopRequireDefault(require("@atlaskit/icon-lab/core/page-live-doc"));
13
14
  var _5 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/blog/16"));
14
15
  var _pageDocumentFilled = _interopRequireDefault(require("@atlaskit/icon/core/migration/page--document-filled"));
16
+ var _linkExtractors = require("@atlaskit/link-extractors");
15
17
  var _utils = require("../../../utils");
16
18
  var _prioritiseIcon = require("./prioritiseIcon");
17
19
  /**
@@ -45,10 +47,7 @@ var documentTypeToIcon = function documentTypeToIcon(type, opts) {
45
47
  testId: "blog-icon"
46
48
  });
47
49
  case 'schema:DigitalDocument':
48
- return /*#__PURE__*/_react.default.createElement(_2.default, {
49
- label: opts.title || 'file',
50
- testId: "file-icon"
51
- });
50
+ return digitalDocumentToIcon(opts);
52
51
  case 'schema:TextDigitalDocument':
53
52
  return /*#__PURE__*/_react.default.createElement(_.default, {
54
53
  label: opts.title || 'document',
@@ -76,4 +75,27 @@ var documentTypeToIcon = function documentTypeToIcon(type, opts) {
76
75
  testId: "document-icon"
77
76
  });
78
77
  }
78
+ };
79
+
80
+ /**
81
+ * Enables providers to represent `schema:DigitalDocument` in a manner which
82
+ * aligns with their customers when representing provider-specific types, which
83
+ * do not apply across multiple providers.
84
+ * @example Confluence digital documents represent 'live documents', specific to Confluence.
85
+ * @remark This mechanism will be superseded by backend-driven icon URLs as part
86
+ * of go/j/MODES-5864. Do not add more!
87
+ */
88
+ var digitalDocumentToIcon = function digitalDocumentToIcon(opts) {
89
+ var _opts$provider;
90
+ if ((_opts$provider = opts.provider) !== null && _opts$provider !== void 0 && _opts$provider.id && (0, _linkExtractors.isConfluenceGenerator)(opts.provider.id)) {
91
+ return /*#__PURE__*/_react.default.createElement(_pageLiveDoc.default, {
92
+ label: "live-doc",
93
+ testId: "live-doc-icon"
94
+ });
95
+ } else {
96
+ return /*#__PURE__*/_react.default.createElement(_2.default, {
97
+ label: opts.title || 'file',
98
+ testId: "file-icon"
99
+ });
100
+ }
79
101
  };
@@ -4,8 +4,24 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
+ var _linkExtractors = require("@atlaskit/link-extractors");
7
8
  var _constants = require("../../../constants");
8
- var extractDocumentTypeIcon = function extractDocumentTypeIcon(documentType, label) {
9
+ /**
10
+ * Computes the relevant icon for a document type.
11
+ *
12
+ * @remark Note that document icons can vary based on the provider. E.g., a
13
+ * provider may choose to re-use one of these document types in their domain,
14
+ * but offer a different SVG icon on the frontend (to map to this type in their
15
+ * domain). See `schema:digitalDocument` for an example of this behaviour. This
16
+ * mechanism will be superseded by backend-driven icon URLs as part of
17
+ * go/j/MODES-5864. Do not add more!
18
+ *
19
+ * @param documentType JSON-LD document type
20
+ * @param label human-readable label to be displayed on the icon
21
+ * @param providerId JSON-LD provider (generator ID)
22
+ * @returns an icon descriptor representing the document type
23
+ */
24
+ var extractDocumentTypeIcon = function extractDocumentTypeIcon(documentType, label, providerId) {
9
25
  switch (documentType) {
10
26
  case 'schema:BlogPosting':
11
27
  return {
@@ -13,10 +29,17 @@ var extractDocumentTypeIcon = function extractDocumentTypeIcon(documentType, lab
13
29
  label: label || 'Blog'
14
30
  };
15
31
  case 'schema:DigitalDocument':
16
- return {
17
- icon: _constants.IconType.File,
18
- label: label || 'File'
19
- };
32
+ if (providerId && (0, _linkExtractors.isConfluenceGenerator)(providerId)) {
33
+ return {
34
+ icon: _constants.IconType.LiveDocument,
35
+ label: label || 'Live Document'
36
+ };
37
+ } else {
38
+ return {
39
+ icon: _constants.IconType.File,
40
+ label: label || 'File'
41
+ };
42
+ }
20
43
  case 'schema:TextDigitalDocument':
21
44
  return {
22
45
  icon: _constants.IconType.Document,
@@ -54,7 +54,7 @@ function chooseIcon(_ref2) {
54
54
  label: label,
55
55
  providerId: providerId,
56
56
  data: data
57
- }) || (0, _extractDocumentTypeIcon.default)(type, label);
57
+ }) || (0, _extractDocumentTypeIcon.default)(type, label, providerId);
58
58
  return (0, _icon.prioritiseIcon)({
59
59
  fileFormatIcon: fileFormatIcon,
60
60
  documentTypeIcon: documentTypeIcon,
@@ -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.7.0"
14
+ packageVersion: "34.9.0"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -15,13 +15,13 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
15
15
  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; }
16
16
  var isFlexibleUiCard = exports.isFlexibleUiCard = function isFlexibleUiCard(children) {
17
17
  if (children && _react.default.Children.toArray(children).some(function (child) {
18
- return isFlexibleUiTitleBlock(child);
18
+ return _isFlexibleUiTitleBlock(child);
19
19
  })) {
20
20
  return true;
21
21
  }
22
22
  return false;
23
23
  };
24
- var isFlexibleUiBlock = exports.isFlexibleUiBlock = function isFlexibleUiBlock(node) {
24
+ var _isFlexibleUiBlock = exports.isFlexibleUiBlock = function isFlexibleUiBlock(node) {
25
25
  var _node$type;
26
26
  if (!(0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
27
27
  return /*#__PURE__*/_react.default.isValidElement(node) && Object.values(Blocks).some(function (type) {
@@ -44,7 +44,7 @@ var isFlexibleUiBlock = exports.isFlexibleUiBlock = function isFlexibleUiBlock(n
44
44
  return;
45
45
  }
46
46
  if (typeof child.type !== 'string' && ((_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.name) !== 'Style') {
47
- isChildrenValid = isFlexibleUiBlock(child);
47
+ isChildrenValid = _isFlexibleUiBlock(child);
48
48
  }
49
49
  });
50
50
  return isChildrenValid;
@@ -56,7 +56,7 @@ var isFlexibleUiBlock = exports.isFlexibleUiBlock = function isFlexibleUiBlock(n
56
56
  }
57
57
  return false;
58
58
  };
59
- var isFlexibleUiElement = exports.isFlexibleUiElement = function isFlexibleUiElement(node) {
59
+ var _isFlexibleUiElement = exports.isFlexibleUiElement = function isFlexibleUiElement(node) {
60
60
  var _node$type2;
61
61
  if (!(0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
62
62
  return /*#__PURE__*/_react.default.isValidElement(node) && Object.values(Elements).some(function (type) {
@@ -84,14 +84,14 @@ var isFlexibleUiElement = exports.isFlexibleUiElement = function isFlexibleUiEle
84
84
  return;
85
85
  }
86
86
  if (typeof child.type !== 'string' && ((_child$type2 = child.type) === null || _child$type2 === void 0 ? void 0 : _child$type2.name) !== 'Style') {
87
- isChildrenValid = isFlexibleUiElement(child);
87
+ isChildrenValid = _isFlexibleUiElement(child);
88
88
  }
89
89
  });
90
90
  return isChildrenValid;
91
91
  }
92
92
  return false;
93
93
  };
94
- var isFlexibleUiTitleBlock = exports.isFlexibleUiTitleBlock = function isFlexibleUiTitleBlock(node) {
94
+ var _isFlexibleUiTitleBlock = exports.isFlexibleUiTitleBlock = function isFlexibleUiTitleBlock(node) {
95
95
  var _node$type3;
96
96
  if (!(0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
97
97
  return /*#__PURE__*/_react.default.isValidElement(node) && node.type === _blocks.TitleBlock;
@@ -115,14 +115,14 @@ var isFlexibleUiTitleBlock = exports.isFlexibleUiTitleBlock = function isFlexibl
115
115
  return;
116
116
  }
117
117
  if (typeof child.type !== 'string' && ((_child$type3 = child.type) === null || _child$type3 === void 0 ? void 0 : _child$type3.name) !== 'Style') {
118
- isChildrenValid = isFlexibleUiTitleBlock(child);
118
+ isChildrenValid = _isFlexibleUiTitleBlock(child);
119
119
  }
120
120
  });
121
121
  return isChildrenValid;
122
122
  }
123
123
  return false;
124
124
  };
125
- var isFlexibleUiPreviewBlock = exports.isFlexibleUiPreviewBlock = function isFlexibleUiPreviewBlock(node) {
125
+ var _isFlexibleUiPreviewBlock = exports.isFlexibleUiPreviewBlock = function isFlexibleUiPreviewBlock(node) {
126
126
  var _node$type4;
127
127
  if (!(0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
128
128
  return /*#__PURE__*/_react.default.isValidElement(node) && node.type === _blocks.PreviewBlock;
@@ -146,7 +146,7 @@ var isFlexibleUiPreviewBlock = exports.isFlexibleUiPreviewBlock = function isFle
146
146
  return;
147
147
  }
148
148
  if (typeof child.type !== 'string' && ((_child$type4 = child.type) === null || _child$type4 === void 0 ? void 0 : _child$type4.name) !== 'Style') {
149
- isChildrenValid = isFlexibleUiPreviewBlock(child);
149
+ isChildrenValid = _isFlexibleUiPreviewBlock(child);
150
150
  }
151
151
  });
152
152
  return isChildrenValid;
@@ -337,8 +337,8 @@ var typeToIcon = {
337
337
 
338
338
  // prettier-ignore
339
339
  var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
340
- var _ref3;
341
- return _ref3 = {}, (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)(_ref3, _constants.IconType.Document, {
340
+ var _ref4;
341
+ return _ref4 = {}, (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)(_ref4, _constants.IconType.Document, {
342
342
  default: function _default() {
343
343
  return Promise.resolve().then(function () {
344
344
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon'));
@@ -398,7 +398,7 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
398
398
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon'));
399
399
  });
400
400
  }
401
- }), (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)(_ref3, _constants.IconType.Video, {
401
+ }), (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)(_ref4, _constants.IconType.Video, {
402
402
  default: function _default() {
403
403
  return Promise.resolve().then(function () {
404
404
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon'));
@@ -483,7 +483,7 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
483
483
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleForms" */'@atlaskit/icon-file-type/glyph/google-form/24'));
484
484
  });
485
485
  }
486
- }), (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)(_ref3, _constants.IconType.GoogleSheets, {
486
+ }), (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)(_ref4, _constants.IconType.GoogleSheets, {
487
487
  default: function _default() {
488
488
  return Promise.resolve().then(function () {
489
489
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleSheets" */'@atlaskit/icon-file-type/glyph/google-sheet/16'));
@@ -593,7 +593,7 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
593
593
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphPullRequest" */'@atlaskit/icon-object/glyph/pull-request/24'));
594
594
  });
595
595
  }
596
- }), (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)(_ref3, _constants.IconType.Repo, {
596
+ }), (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)(_ref4, _constants.IconType.Repo, {
597
597
  default: function _default() {
598
598
  return Promise.resolve().then(function () {
599
599
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphRepo" */'@atlaskit/icon-object/glyph/code/16'));
@@ -703,12 +703,23 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
703
703
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphTask" */'@atlaskit/icon-object/glyph/task/24'));
704
704
  });
705
705
  }
706
- }), (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)(_ref3, _constants.IconType.Confluence, {
706
+ }), (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)(_ref4, _constants.IconType.LiveDocument, {
707
707
  default: function _default() {
708
708
  return Promise.resolve().then(function () {
709
- return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphConfluence" */'@atlaskit/logo/confluence-icon'));
709
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphConfluenceLiveDocument" */'@atlaskit/icon-lab/core/page-live-doc'));
710
710
  }).then(function (_ref) {
711
- var ConfluenceIcon = _ref.ConfluenceIcon;
711
+ var LiveDocumentIcon = _ref.default;
712
+ return {
713
+ default: LiveDocumentIcon
714
+ };
715
+ });
716
+ }
717
+ }), _constants.IconType.Confluence, {
718
+ default: function _default() {
719
+ return Promise.resolve().then(function () {
720
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphConfluence" */'@atlaskit/logo/confluence-icon'));
721
+ }).then(function (_ref2) {
722
+ var ConfluenceIcon = _ref2.ConfluenceIcon;
712
723
  return {
713
724
  default: ConfluenceIcon
714
725
  };
@@ -718,8 +729,8 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
718
729
  default: function _default() {
719
730
  return Promise.resolve().then(function () {
720
731
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphJira" */'@atlaskit/logo/jira-icon'));
721
- }).then(function (_ref2) {
722
- var JiraIcon = _ref2.JiraIcon;
732
+ }).then(function (_ref3) {
733
+ var JiraIcon = _ref3.JiraIcon;
723
734
  return {
724
735
  default: JiraIcon
725
736
  };
@@ -767,13 +778,13 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
767
778
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphBlocker" */'@atlaskit/icon-priority/glyph/priority-blocker'));
768
779
  });
769
780
  }
770
- }), _constants.IconType.PriorityCritical, {
781
+ }), (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)(_ref4, _constants.IconType.PriorityCritical, {
771
782
  default: function _default() {
772
783
  return Promise.resolve().then(function () {
773
784
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphCritical" */'@atlaskit/icon-priority/glyph/priority-critical'));
774
785
  });
775
786
  }
776
- }), (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)(_ref3, _constants.IconType.PriorityHigh, {
787
+ }), _constants.IconType.PriorityHigh, {
777
788
  default: function _default() {
778
789
  return Promise.resolve().then(function () {
779
790
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphHigh" */'@atlaskit/icon-priority/glyph/priority-high'));
@@ -827,13 +838,13 @@ var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
827
838
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphUndefined" */'@atlaskit/icon/core/migration/question-circle--question'));
828
839
  });
829
840
  }
830
- }), _constants.IconType.ProgrammingLanguage, {
841
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref4, _constants.IconType.ProgrammingLanguage, {
831
842
  default: function _default() {
832
843
  return Promise.resolve().then(function () {
833
844
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProgrammingLanguage" */'@atlaskit/icon/core/migration/angle-brackets--code'));
834
845
  });
835
846
  }
836
- }), (0, _defineProperty2.default)((0, _defineProperty2.default)(_ref3, _constants.IconType.Subscriber, {
847
+ }), _constants.IconType.Subscriber, {
837
848
  default: function _default() {
838
849
  return Promise.resolve().then(function () {
839
850
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSubscriber" */'@atlaskit/icon/core/migration/people-group--people'));
@@ -878,8 +889,8 @@ var sleep = exports.sleep = function sleep(ms) {
878
889
  return setTimeout(resolve, ms);
879
890
  });
880
891
  };
881
- var importWithRetry = exports.importWithRetry = /*#__PURE__*/function () {
882
- var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(importFn) {
892
+ var _importWithRetry = exports.importWithRetry = /*#__PURE__*/function () {
893
+ var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(importFn) {
883
894
  var retries,
884
895
  interval,
885
896
  _args = arguments;
@@ -903,7 +914,7 @@ var importWithRetry = exports.importWithRetry = /*#__PURE__*/function () {
903
914
  _context.next = 13;
904
915
  return sleep(interval);
905
916
  case 13:
906
- return _context.abrupt("return", importWithRetry(importFn, retries - 1, interval));
917
+ return _context.abrupt("return", _importWithRetry(importFn, retries - 1, interval));
907
918
  case 16:
908
919
  throw _context.t0;
909
920
  case 17:
@@ -913,11 +924,11 @@ var importWithRetry = exports.importWithRetry = /*#__PURE__*/function () {
913
924
  }, _callee, null, [[2, 8]]);
914
925
  }));
915
926
  return function importWithRetry(_x) {
916
- return _ref4.apply(this, arguments);
927
+ return _ref5.apply(this, arguments);
917
928
  };
918
929
  }();
919
930
  var downloadUrl = exports.downloadUrl = /*#__PURE__*/function () {
920
- var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(url) {
931
+ var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(url) {
921
932
  var isIE11, isSafari, iframeName, link, iframe;
922
933
  return _regenerator.default.wrap(function _callee2$(_context2) {
923
934
  while (1) switch (_context2.prev = _context2.next) {
@@ -953,11 +964,11 @@ var downloadUrl = exports.downloadUrl = /*#__PURE__*/function () {
953
964
  }, _callee2);
954
965
  }));
955
966
  return function downloadUrl(_x2) {
956
- return _ref5.apply(this, arguments);
967
+ return _ref6.apply(this, arguments);
957
968
  };
958
969
  }();
959
970
  var openUrl = exports.openUrl = /*#__PURE__*/function () {
960
- var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(url) {
971
+ var _ref7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(url) {
961
972
  return _regenerator.default.wrap(function _callee3$(_context3) {
962
973
  while (1) switch (_context3.prev = _context3.next) {
963
974
  case 0:
@@ -975,7 +986,7 @@ var openUrl = exports.openUrl = /*#__PURE__*/function () {
975
986
  }, _callee3);
976
987
  }));
977
988
  return function openUrl(_x3) {
978
- return _ref6.apply(this, arguments);
989
+ return _ref7.apply(this, arguments);
979
990
  };
980
991
  }();
981
992
 
@@ -42,6 +42,7 @@ var footerBlockCss = exports.footerBlockCss = (0, _react.css)({
42
42
  '.actions-button-group': {
43
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
44
44
  'button, button:hover, button:focus, button:active': {
45
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
45
46
  fontSize: '0.875rem'
46
47
  }
47
48
  }
@@ -1,6 +1,5 @@
1
1
  ._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
2
  ._14mjpd34:after{border-radius:var(--ds-border-radius-200,8px)}
3
- ._18s81cq1{margin:var(--ds-space-050,4px) 0 var(--ds-space-150,9pt) var(--ds-space-150,9pt)}
4
3
  ._18s81xf9{margin:0 var(--ds-space-100,8px) var(--ds-space-100,8px)}
5
4
  ._19ith6cr{border:1px solid var(--ds-border,#dfe1e6)}
6
5
  ._1u3rh6cr:hover:after{border:1px solid var(--ds-border,#dfe1e6)}
@@ -19,10 +18,12 @@
19
18
  ._18m91wug{overflow-y:auto}
20
19
  ._18postnw:after{position:absolute}
21
20
  ._18u01wug{margin-left:auto}
21
+ ._18u0utpp{margin-left:var(--ds-space-150,9pt)}
22
22
  ._19do1kw7:after{left:inherit}
23
23
  ._19doidpf:after{left:0}
24
24
  ._19dox0bf:after{left:var(--ds-space-negative-100,-8px)}
25
25
  ._19pk19bv{margin-top:10px}
26
+ ._19pk1b66{margin-top:var(--ds-space-050,4px)}
26
27
  ._19pkidpf{margin-top:0}
27
28
  ._1aaxusic{float:right}
28
29
  ._1bsb176v{width:125px}
@@ -48,6 +49,7 @@
48
49
  ._1ul91pd6{min-width:var(--_10q0298)}
49
50
  ._2hwx1b66{margin-right:var(--ds-space-050,4px)}
50
51
  ._2hwx1wug{margin-right:auto}
52
+ ._2hwxidpf{margin-right:0}
51
53
  ._2lx21bp4{flex-direction:column}
52
54
  ._4cvr1h6o{align-items:center}
53
55
  ._4t3i17ym{height:var(--_rcxkve)}
@@ -74,6 +76,7 @@
74
76
  ._kqswstnw{position:absolute}
75
77
  ._o5721q9c{white-space:nowrap}
76
78
  ._otyridpf{margin-bottom:0}
79
+ ._otyrutpp{margin-bottom:var(--ds-space-150,9pt)}
77
80
  ._p12f1ayu{max-width:var(--_1et2rhb)}
78
81
  ._rd9b1wug >.embed-preview>div{margin-right:auto}
79
82
  ._syaz1rc1{color:var(--ds-text-subtlest,#5e6c84)}
@@ -216,7 +216,7 @@ var Thumbnail = exports.Thumbnail = (0, _react.forwardRef)(function (_ref9, __cm
216
216
  "--_13orr8u": (0, _runtime.ix)("url(".concat(__cmplp.src, ")"))
217
217
  }),
218
218
  ref: __cmplr,
219
- className: (0, _runtime.ax)(["_2rko1sit _18s81cq1 _1bsbckbl _4t3ickbl _1aaxusic _bfhkqrzy _1lrw1dfr _1itk2pcs", __cmplp.className])
219
+ className: (0, _runtime.ax)(["_2rko1sit _1bsbckbl _4t3ickbl _1aaxusic _19pk1b66 _2hwxidpf _otyrutpp _18u0utpp _bfhkqrzy _1lrw1dfr _1itk2pcs", __cmplp.className])
220
220
  }));
221
221
  });
222
222
  if (process.env.NODE_ENV !== 'production') {
@@ -1,7 +1,7 @@
1
1
  ._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
- ._1yt4pxbi{padding:var(--ds-space-200,1pc)}
3
2
  ._zulpv47k{gap:var(--ds-space-250,20px)}
4
3
  ._18u01wug{margin-left:auto}
4
+ ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
5
5
  ._19pk1wug{margin-top:auto}
6
6
  ._1bah1h6o{justify-content:center}
7
7
  ._1bsbmgvx{width:180px}
@@ -13,7 +13,10 @@
13
13
  ._4t3i1kw7{height:inherit}
14
14
  ._4t3i68cl{height:90pt}
15
15
  ._5ral1f51{object-fit:contain}
16
+ ._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
17
+ ._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
16
18
  ._otyr1wug{margin-bottom:auto}
17
19
  ._p12f1kdj{max-width:25pc}
18
20
  ._rsufaqso{object-position:center center}
21
+ ._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
19
22
  ._y3gn1h6o{text-align:center}
@@ -91,7 +91,7 @@ var UnresolvedView = function UnresolvedView(_ref) {
91
91
  "data-testid": "".concat(testId, "-unresolved-container"),
92
92
  className: (0, _runtime.ax)(["_1e0c11p5 _4t3i1kw7"])
93
93
  }, /*#__PURE__*/_react.default.createElement("div", {
94
- className: (0, _runtime.ax)(["_19pk1wug _2hwx1wug _otyr1wug _18u01wug _1yt4pxbi _zulpv47k _1e0c1txw _2lx21bp4 _1bah1h6o _y3gn1h6o _4cvr1h6o _p12f1kdj"])
94
+ className: (0, _runtime.ax)(["_19pk1wug _2hwx1wug _otyr1wug _18u01wug _zulpv47k _1e0c1txw _2lx21bp4 _1bah1h6o _y3gn1h6o _4cvr1h6o _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _p12f1kdj"])
95
95
  }, image, /*#__PURE__*/_react.default.createElement(_heading.default, {
96
96
  size: "large",
97
97
  testId: "".concat(testId, "-unresolved-title")
@@ -0,0 +1,10 @@
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)}
3
+ ._19bv1b66{padding-left:var(--ds-space-050,4px)}
4
+ ._1bsb1osq{width:100%}
5
+ ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
6
+ ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
7
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}
8
+ ._u5f31b66{padding-right:var(--ds-space-050,4px)}
9
+ ._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
10
+ ._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
@@ -1,3 +1,4 @@
1
+ /* action-button.tsx generated by @compiled/babel-plugin v0.36.0 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -6,30 +7,24 @@ Object.defineProperty(exports, "__esModule", {
6
7
  value: true
7
8
  });
8
9
  exports.default = void 0;
9
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
+ require("./action-button.compiled.css");
10
11
  var _react = _interopRequireWildcard(require("react"));
11
- var _primitives = require("@atlaskit/primitives");
12
+ var React = _react;
13
+ var _runtime = require("@compiled/react/runtime");
14
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
15
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
+ var _compiled = require("@atlaskit/primitives/compiled");
12
17
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
13
18
  var _utils = require("../../../utils");
14
19
  var _actionIcon = _interopRequireDefault(require("../action-icon"));
20
+ var _actionButtonOld = _interopRequireDefault(require("./action-buttonOld"));
15
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); }
16
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; }
17
- var buttonStyles = (0, _primitives.xcss)({
18
- all: 'unset',
19
- padding: 'space.050',
20
- width: '100%',
21
- ':hover': {
22
- backgroundColor: 'color.background.neutral.subtle.hovered'
23
- },
24
- ':active': {
25
- backgroundColor: 'color.background.neutral.subtle.pressed'
26
- }
27
- });
28
- var contentStyles = (0, _primitives.xcss)({
29
- color: 'color.text',
30
- font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
31
- });
32
- var ActionButton = function ActionButton(_ref) {
23
+ var styles = {
24
+ button: "_kkk2n7od _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _irr3166n _1di61dty",
25
+ content: "_11c8qk37 _syaz1fxt"
26
+ };
27
+ var ActionButtonNew = function ActionButtonNew(_ref) {
33
28
  var content = _ref.content,
34
29
  iconOption = _ref.icon,
35
30
  isDisabled = _ref.isDisabled,
@@ -39,35 +34,40 @@ var ActionButton = function ActionButton(_ref) {
39
34
  spaceOption = _ref.space,
40
35
  testId = _ref.testId,
41
36
  tooltipProps = _ref.tooltipProps,
42
- xcss = _ref.xcss;
37
+ style = _ref.style;
43
38
  var space = spaceOption !== null && spaceOption !== void 0 ? spaceOption : (0, _utils.getPrimitivesInlineSpaceBySize)(size);
44
39
  var onClick = (0, _react.useCallback)(function () {
45
40
  if (!isDisabled && !isLoading && onClickCallback) {
46
41
  onClickCallback();
47
42
  }
48
43
  }, [isDisabled, isLoading, onClickCallback]);
49
- var icon = iconOption && isLoading ? /*#__PURE__*/_react.default.createElement(_actionIcon.default, {
44
+ var icon = iconOption && isLoading ? /*#__PURE__*/React.createElement(_actionIcon.default, {
50
45
  asStackItemIcon: true,
51
- icon: /*#__PURE__*/_react.default.createElement(_spinner.default, {
46
+ icon: /*#__PURE__*/React.createElement(_spinner.default, {
52
47
  testId: "".concat(testId, "-loading")
53
48
  }),
54
49
  size: size
55
50
  }) : iconOption;
56
- return (
57
- /*#__PURE__*/
58
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
59
- _react.default.createElement(_primitives.Pressable, (0, _extends2.default)({
60
- xcss: [buttonStyles, xcss]
61
- }, tooltipProps, {
62
- onClick: onClick,
63
- testId: testId
64
- }), /*#__PURE__*/_react.default.createElement(_primitives.Inline, {
65
- alignBlock: "center",
66
- grow: "fill",
67
- space: space
68
- }, icon, /*#__PURE__*/_react.default.createElement(_primitives.Box, {
69
- xcss: contentStyles
70
- }, content)))
71
- );
51
+ return /*#__PURE__*/React.createElement(_compiled.Pressable, (0, _extends2.default)({
52
+ xcss: styles.button
53
+ }, tooltipProps, {
54
+ onClick: onClick,
55
+ testId: testId
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
57
+ ,
58
+ style: style
59
+ }), /*#__PURE__*/React.createElement(_compiled.Inline, {
60
+ alignBlock: "center",
61
+ grow: "fill",
62
+ space: space
63
+ }, icon, /*#__PURE__*/React.createElement(_compiled.Box, {
64
+ xcss: styles.content
65
+ }, content)));
66
+ };
67
+ var ActionButton = function ActionButton(props) {
68
+ if ((0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
69
+ return /*#__PURE__*/React.createElement(ActionButtonNew, props);
70
+ }
71
+ return /*#__PURE__*/React.createElement(_actionButtonOld.default, props);
72
72
  };
73
73
  var _default = exports.default = ActionButton;