@atlaskit/smart-card 27.9.1 → 27.9.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 (274) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +4 -7
  4. package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +0 -1
  5. package/dist/cjs/view/FlexibleCard/components/actions/preview-action/index.js +2 -2
  6. package/dist/cjs/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +1 -1
  7. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +1 -1
  8. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.js +0 -1
  9. package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/index.js +2 -3
  10. package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -4
  11. package/dist/cjs/view/FlexibleCard/components/blocks/snippet-block/index.js +1 -1
  12. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.js +8 -9
  13. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.js +4 -5
  14. package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +4 -5
  15. package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.js +4 -6
  16. package/dist/cjs/view/FlexibleCard/components/container/layered-link/index.js +3 -6
  17. package/dist/cjs/view/FlexibleCard/components/elements/atlaskit-badge/index.js +4 -5
  18. package/dist/cjs/view/FlexibleCard/components/elements/avatar-group/index.js +1 -4
  19. package/dist/cjs/view/FlexibleCard/components/elements/date-time/index.js +4 -5
  20. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/index.js +5 -7
  21. package/dist/cjs/view/FlexibleCard/components/elements/media/index.js +4 -6
  22. package/dist/cjs/view/FlexibleCard/components/elements/preview/index.js +1 -4
  23. package/dist/cjs/view/FlexibleCard/components/elements/snippet-element/index.js +1 -4
  24. package/dist/cjs/view/FlexibleCard/components/elements/text/index.js +3 -6
  25. package/dist/cjs/view/HoverCard/components/views/resolving/index.js +0 -1
  26. package/dist/cjs/view/LinkUrl/LinkWarningModal/index.js +10 -11
  27. package/dist/cjs/view/LinkUrl/index.js +1 -1
  28. package/dist/cjs/view/RelatedLinksModal/components/EmptyState.js +2 -2
  29. package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +1 -4
  30. package/dist/cjs/view/common/ai-prism/ai-glowing-border/index.js +0 -1
  31. package/dist/cjs/view/common/ai-summary/index.js +4 -5
  32. package/dist/es2019/utils/analytics/analytics.js +1 -1
  33. package/dist/es2019/view/BlockCard/index.js +0 -1
  34. package/dist/es2019/view/EmbedModal/components/embed-content/index.js +0 -1
  35. package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +0 -1
  36. package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +0 -1
  37. package/dist/es2019/view/FlexibleCard/components/actions/preview-action/index.js +3 -3
  38. package/dist/es2019/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +1 -1
  39. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +2 -2
  40. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.js +0 -1
  41. package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/index.js +0 -1
  42. package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -1
  43. package/dist/es2019/view/FlexibleCard/components/blocks/snippet-block/index.js +1 -1
  44. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.js +0 -1
  45. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.js +0 -1
  46. package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +0 -1
  47. package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.js +0 -1
  48. package/dist/es2019/view/FlexibleCard/components/container/layered-link/index.js +0 -1
  49. package/dist/es2019/view/FlexibleCard/components/elements/atlaskit-badge/index.js +0 -1
  50. package/dist/es2019/view/FlexibleCard/components/elements/avatar-group/index.js +1 -1
  51. package/dist/es2019/view/FlexibleCard/components/elements/date-time/index.js +0 -1
  52. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/index.js +0 -1
  53. package/dist/es2019/view/FlexibleCard/components/elements/media/index.js +0 -1
  54. package/dist/es2019/view/FlexibleCard/components/elements/preview/index.js +1 -1
  55. package/dist/es2019/view/FlexibleCard/components/elements/snippet-element/index.js +1 -1
  56. package/dist/es2019/view/FlexibleCard/components/elements/text/index.js +0 -1
  57. package/dist/es2019/view/HoverCard/components/views/resolving/index.js +0 -1
  58. package/dist/es2019/view/LinkUrl/LinkWarningModal/index.js +0 -1
  59. package/dist/es2019/view/LinkUrl/index.js +1 -1
  60. package/dist/es2019/view/RelatedLinksModal/components/EmptyState.js +2 -2
  61. package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +1 -1
  62. package/dist/es2019/view/common/ai-prism/ai-glowing-border/index.js +0 -1
  63. package/dist/es2019/view/common/ai-summary/index.js +0 -1
  64. package/dist/esm/utils/analytics/analytics.js +1 -1
  65. package/dist/esm/view/BlockCard/index.js +0 -1
  66. package/dist/esm/view/EmbedModal/components/embed-content/index.js +0 -1
  67. package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +0 -1
  68. package/dist/esm/view/FlexibleCard/components/actions/action/index.js +0 -1
  69. package/dist/esm/view/FlexibleCard/components/actions/preview-action/index.js +3 -3
  70. package/dist/esm/view/FlexibleCard/components/blocks/action-group/action-group-item/index.js +1 -1
  71. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +2 -2
  72. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.js +0 -1
  73. package/dist/esm/view/FlexibleCard/components/blocks/preview-block/index.js +0 -1
  74. package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -1
  75. package/dist/esm/view/FlexibleCard/components/blocks/snippet-block/index.js +1 -1
  76. package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.js +0 -1
  77. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.js +0 -1
  78. package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +0 -1
  79. package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.js +0 -1
  80. package/dist/esm/view/FlexibleCard/components/container/layered-link/index.js +0 -1
  81. package/dist/esm/view/FlexibleCard/components/elements/atlaskit-badge/index.js +0 -1
  82. package/dist/esm/view/FlexibleCard/components/elements/avatar-group/index.js +1 -1
  83. package/dist/esm/view/FlexibleCard/components/elements/date-time/index.js +0 -1
  84. package/dist/esm/view/FlexibleCard/components/elements/lozenge/index.js +0 -1
  85. package/dist/esm/view/FlexibleCard/components/elements/media/index.js +0 -1
  86. package/dist/esm/view/FlexibleCard/components/elements/preview/index.js +1 -1
  87. package/dist/esm/view/FlexibleCard/components/elements/snippet-element/index.js +1 -1
  88. package/dist/esm/view/FlexibleCard/components/elements/text/index.js +0 -1
  89. package/dist/esm/view/HoverCard/components/views/resolving/index.js +0 -1
  90. package/dist/esm/view/LinkUrl/LinkWarningModal/index.js +0 -1
  91. package/dist/esm/view/LinkUrl/index.js +1 -1
  92. package/dist/esm/view/RelatedLinksModal/components/EmptyState.js +2 -2
  93. package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +1 -1
  94. package/dist/esm/view/common/ai-prism/ai-glowing-border/index.js +0 -1
  95. package/dist/esm/view/common/ai-summary/index.js +0 -1
  96. package/dist/types/ssr.d.ts +2 -2
  97. package/dist/types/view/BlockCard/index.d.ts +2 -3
  98. package/dist/types/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +1 -1
  99. package/dist/types/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
  100. package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +2 -2
  101. package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +2 -2
  102. package/dist/types/view/EmbedCard/views/forbidden-view/index.d.ts +2 -2
  103. package/dist/types/view/EmbedCard/views/not-found-view/index.d.ts +2 -2
  104. package/dist/types/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
  105. package/dist/types/view/EmbedCard/views/unresolved-view/index.d.ts +2 -2
  106. package/dist/types/view/EmbedModal/components/analytics/index.d.ts +1 -1
  107. package/dist/types/view/EmbedModal/components/embed-content/index.d.ts +2 -3
  108. package/dist/types/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
  109. package/dist/types/view/EmbedModal/components/link-info/index.d.ts +3 -2
  110. package/dist/types/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -2
  111. package/dist/types/view/EmbedModal/index.d.ts +2 -2
  112. package/dist/types/view/FlexibleCard/components/actions/action/action-button/index.d.ts +2 -3
  113. package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +2 -2
  114. package/dist/types/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +2 -2
  115. package/dist/types/view/FlexibleCard/components/actions/action/index.d.ts +2 -2
  116. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +1 -1
  117. package/dist/types/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +2 -2
  118. package/dist/types/view/FlexibleCard/components/actions/delete-action/index.d.ts +2 -2
  119. package/dist/types/view/FlexibleCard/components/actions/download-action/index.d.ts +2 -2
  120. package/dist/types/view/FlexibleCard/components/actions/edit-action/index.d.ts +2 -2
  121. package/dist/types/view/FlexibleCard/components/actions/preview-action/index.d.ts +2 -2
  122. package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +2 -2
  123. package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +7 -6
  124. package/dist/types/view/FlexibleCard/components/blocks/action-group/index.d.ts +2 -2
  125. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/index.d.ts +1 -2
  126. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-container.d.ts +2 -2
  127. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.d.ts +2 -2
  128. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.d.ts +2 -3
  129. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-error.d.ts +2 -2
  130. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-loading.d.ts +2 -2
  131. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.d.ts +3 -2
  132. package/dist/types/view/FlexibleCard/components/blocks/footer-block/index.d.ts +2 -2
  133. package/dist/types/view/FlexibleCard/components/blocks/footer-block/resolved/index.d.ts +2 -2
  134. package/dist/types/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +2 -2
  135. package/dist/types/view/FlexibleCard/components/blocks/preview-block/index.d.ts +2 -2
  136. package/dist/types/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +2 -3
  137. package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/errored/index.d.ts +2 -2
  138. package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/index.d.ts +2 -2
  139. package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/index.d.ts +2 -2
  140. package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.d.ts +2 -2
  141. package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/related-url-item/index.d.ts +2 -2
  142. package/dist/types/view/FlexibleCard/components/blocks/related-urls-block/resolving/index.d.ts +14 -3
  143. package/dist/types/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +3 -3
  144. package/dist/types/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +2 -3
  145. package/dist/types/view/FlexibleCard/components/blocks/title-block/index.d.ts +2 -2
  146. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +2 -2
  147. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +2 -2
  148. package/dist/types/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.d.ts +1 -1
  149. package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +2 -2
  150. package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -2
  151. package/dist/types/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +2 -2
  152. package/dist/types/view/FlexibleCard/components/container/layered-link/index.d.ts +2 -2
  153. package/dist/types/view/FlexibleCard/components/elements/atlaskit-badge/index.d.ts +2 -3
  154. package/dist/types/view/FlexibleCard/components/elements/avatar-group/index.d.ts +2 -2
  155. package/dist/types/view/FlexibleCard/components/elements/date-time/index.d.ts +2 -3
  156. package/dist/types/view/FlexibleCard/components/elements/icon/index.d.ts +2 -3
  157. package/dist/types/view/FlexibleCard/components/elements/index.d.ts +32 -32
  158. package/dist/types/view/FlexibleCard/components/elements/link/index.d.ts +2 -3
  159. package/dist/types/view/FlexibleCard/components/elements/lozenge/index.d.ts +2 -2
  160. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +2 -2
  161. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +2 -2
  162. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.d.ts +3 -2
  163. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +2 -2
  164. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.d.ts +3 -2
  165. package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.d.ts +3 -2
  166. package/dist/types/view/FlexibleCard/components/elements/media/index.d.ts +2 -2
  167. package/dist/types/view/FlexibleCard/components/elements/preview/index.d.ts +2 -3
  168. package/dist/types/view/FlexibleCard/components/elements/snippet-element/index.d.ts +3 -2
  169. package/dist/types/view/FlexibleCard/components/elements/text/index.d.ts +2 -2
  170. package/dist/types/view/FlexibleCard/components/elements/utils.d.ts +1 -1
  171. package/dist/types/view/FlexibleCard/index.d.ts +2 -2
  172. package/dist/types/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
  173. package/dist/types/view/HoverCard/components/ImagePreview.d.ts +2 -2
  174. package/dist/types/view/HoverCard/components/views/forbidden/index.d.ts +2 -2
  175. package/dist/types/view/HoverCard/components/views/resolved/redesign.d.ts +2 -2
  176. package/dist/types/view/HoverCard/components/views/resolving/index.d.ts +3 -2
  177. package/dist/types/view/HoverCard/components/views/unauthorised/index.d.ts +2 -2
  178. package/dist/types/view/InlineCard/index.d.ts +2 -2
  179. package/dist/types/view/LinkUrl/LinkWarningModal/index.d.ts +3 -4
  180. package/dist/types/view/common/ai-icon-loading/index.d.ts +3 -2
  181. package/dist/types/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +3 -2
  182. package/dist/types/view/common/ai-prism/ai-glowing-border/index.d.ts +3 -2
  183. package/dist/types/view/common/ai-summary/index.d.ts +2 -3
  184. package/dist/types/view/common/ai-summary/ulist.d.ts +2 -1
  185. package/dist/types-ts4.5/ssr.d.ts +2 -2
  186. package/dist/types-ts4.5/view/BlockCard/index.d.ts +2 -3
  187. package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +1 -1
  188. package/dist/types-ts4.5/view/CardWithUrl/component-lazy/LoadingCardLink.d.ts +2 -2
  189. package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +2 -2
  190. package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +2 -2
  191. package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/index.d.ts +2 -2
  192. package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/index.d.ts +2 -2
  193. package/dist/types-ts4.5/view/EmbedCard/views/unauthorized-view/index.d.ts +2 -2
  194. package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/index.d.ts +2 -2
  195. package/dist/types-ts4.5/view/EmbedModal/components/analytics/index.d.ts +1 -1
  196. package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +2 -3
  197. package/dist/types-ts4.5/view/EmbedModal/components/error-boundary/index.d.ts +1 -1
  198. package/dist/types-ts4.5/view/EmbedModal/components/link-info/index.d.ts +3 -2
  199. package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/index.d.ts +2 -2
  200. package/dist/types-ts4.5/view/EmbedModal/index.d.ts +2 -2
  201. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/index.d.ts +2 -3
  202. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/index.d.ts +2 -2
  203. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +2 -2
  204. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/index.d.ts +2 -2
  205. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +1 -1
  206. package/dist/types-ts4.5/view/FlexibleCard/components/actions/copy-link-action/index.d.ts +2 -2
  207. package/dist/types-ts4.5/view/FlexibleCard/components/actions/delete-action/index.d.ts +2 -2
  208. package/dist/types-ts4.5/view/FlexibleCard/components/actions/download-action/index.d.ts +2 -2
  209. package/dist/types-ts4.5/view/FlexibleCard/components/actions/edit-action/index.d.ts +2 -2
  210. package/dist/types-ts4.5/view/FlexibleCard/components/actions/preview-action/index.d.ts +2 -2
  211. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +2 -2
  212. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +7 -6
  213. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/index.d.ts +2 -2
  214. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/index.d.ts +1 -2
  215. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-container.d.ts +2 -2
  216. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.d.ts +2 -2
  217. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.d.ts +2 -3
  218. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-error.d.ts +2 -2
  219. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-loading.d.ts +2 -2
  220. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/index.d.ts +3 -2
  221. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/index.d.ts +2 -2
  222. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/resolved/index.d.ts +2 -2
  223. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +2 -2
  224. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/index.d.ts +2 -2
  225. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +2 -3
  226. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/errored/index.d.ts +2 -2
  227. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/index.d.ts +2 -2
  228. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/index.d.ts +2 -2
  229. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.d.ts +2 -2
  230. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/related-url-item/index.d.ts +2 -2
  231. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/related-urls-block/resolving/index.d.ts +14 -3
  232. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/index.d.ts +3 -3
  233. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +2 -3
  234. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/index.d.ts +2 -2
  235. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +2 -2
  236. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +2 -2
  237. package/dist/types-ts4.5/view/FlexibleCard/components/common/ai-summary/ai-learn-more-anchor.d.ts +1 -1
  238. package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +2 -2
  239. package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -2
  240. package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +2 -2
  241. package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/index.d.ts +2 -2
  242. package/dist/types-ts4.5/view/FlexibleCard/components/elements/atlaskit-badge/index.d.ts +2 -3
  243. package/dist/types-ts4.5/view/FlexibleCard/components/elements/avatar-group/index.d.ts +2 -2
  244. package/dist/types-ts4.5/view/FlexibleCard/components/elements/date-time/index.d.ts +2 -3
  245. package/dist/types-ts4.5/view/FlexibleCard/components/elements/icon/index.d.ts +2 -3
  246. package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +32 -32
  247. package/dist/types-ts4.5/view/FlexibleCard/components/elements/link/index.d.ts +2 -3
  248. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/index.d.ts +2 -2
  249. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/error-boundary/index.d.ts +2 -2
  250. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.d.ts +2 -2
  251. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.d.ts +3 -2
  252. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-item/index.d.ts +2 -2
  253. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-items-group/index.d.ts +3 -2
  254. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.d.ts +3 -2
  255. package/dist/types-ts4.5/view/FlexibleCard/components/elements/media/index.d.ts +2 -2
  256. package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview/index.d.ts +2 -3
  257. package/dist/types-ts4.5/view/FlexibleCard/components/elements/snippet-element/index.d.ts +3 -2
  258. package/dist/types-ts4.5/view/FlexibleCard/components/elements/text/index.d.ts +2 -2
  259. package/dist/types-ts4.5/view/FlexibleCard/components/elements/utils.d.ts +1 -1
  260. package/dist/types-ts4.5/view/FlexibleCard/index.d.ts +2 -2
  261. package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +2 -2
  262. package/dist/types-ts4.5/view/HoverCard/components/ImagePreview.d.ts +2 -2
  263. package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/index.d.ts +2 -2
  264. package/dist/types-ts4.5/view/HoverCard/components/views/resolved/redesign.d.ts +2 -2
  265. package/dist/types-ts4.5/view/HoverCard/components/views/resolving/index.d.ts +3 -2
  266. package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/index.d.ts +2 -2
  267. package/dist/types-ts4.5/view/InlineCard/index.d.ts +2 -2
  268. package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +3 -4
  269. package/dist/types-ts4.5/view/common/ai-icon-loading/index.d.ts +3 -2
  270. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +3 -2
  271. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/index.d.ts +3 -2
  272. package/dist/types-ts4.5/view/common/ai-summary/index.d.ts +2 -3
  273. package/dist/types-ts4.5/view/common/ai-summary/ulist.d.ts +2 -1
  274. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type TitleBlockProps } from './types';
3
3
  /**
4
4
  * Represents a TitleBlock, which is the foundation of Flexible UI.
@@ -12,5 +12,5 @@ import { type TitleBlockProps } from './types';
12
12
  * @see TitleBlockResolvedView
13
13
  * @see TitleBlockErroredView
14
14
  */
15
- declare const TitleBlock: React.FC<TitleBlockProps>;
15
+ declare const TitleBlock: ({ actions, anchorTarget, hideTitleTooltip, maxLines, onActionMenuOpenChange, onClick, overrideCss, status, showActionOnHover, testId, text, icon, theme, hideRetry, metadataPosition, hideIcon, ...props }: TitleBlockProps) => JSX.Element;
16
16
  export default TitleBlock;
@@ -1,9 +1,9 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type TitleBlockViewProps } from '../types';
3
3
  /**
4
4
  * This renders a fully resolved TitleBlock.
5
5
  * This should render when a Smart Link returns a valid response.
6
6
  * @see TitleBlock
7
7
  */
8
- declare const TitleBlockResolvedView: React.FC<TitleBlockViewProps>;
8
+ declare const TitleBlockResolvedView: ({ actionGroup, metadata, position, subtitle, testId, text, icon, title, metadataPosition, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
9
9
  export default TitleBlockResolvedView;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { jsx } from '@emotion/react';
3
3
  import { type TitleBlockViewProps } from '../types';
4
4
  /**
5
5
  * This represents a TitleBlock for a Smart Link that is currently waiting
@@ -7,5 +7,5 @@ import { type TitleBlockViewProps } from '../types';
7
7
  * This should render when a Smart Link has sent a request.
8
8
  * @see TitleBlock
9
9
  */
10
- declare const TitleBlockResolvingView: React.FC<TitleBlockViewProps>;
10
+ declare const TitleBlockResolvingView: ({ actionGroup, testId, title, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
11
11
  export default TitleBlockResolvingView;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const AILearnMoreAnchor: React.FC<React.AnchorHTMLAttributes<HTMLAnchorElement>>;
2
+ declare const AILearnMoreAnchor: ({ children, ...props }: React.AnchorHTMLAttributes<HTMLAnchorElement>) => JSX.Element;
3
3
  export default AILearnMoreAnchor;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type AtlaskitIconProps } from './types';
3
- declare const AtlaskitIcon: React.FC<AtlaskitIconProps>;
3
+ declare const AtlaskitIcon: ({ icon, label, testId }: AtlaskitIconProps) => JSX.Element | null;
4
4
  export default AtlaskitIcon;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { jsx } from '@emotion/react';
3
3
  import { type ImageIconProps } from './types';
4
- declare const ImageIcon: React.FC<ImageIconProps>;
4
+ declare const ImageIcon: ({ defaultIcon, testId, url, onError, onLoad }: ImageIconProps) => jsx.JSX.Element;
5
5
  export default ImageIcon;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { jsx } from '@emotion/react';
3
3
  import { type LoadingSkeletonProps } from './types';
4
- declare const LoadingSkeleton: React.FC<LoadingSkeletonProps>;
4
+ declare const LoadingSkeleton: ({ testId, width, height }: LoadingSkeletonProps) => jsx.JSX.Element;
5
5
  export default LoadingSkeleton;
@@ -1,10 +1,10 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { jsx } from '@emotion/react';
3
3
  import { type LayeredLinkProps } from './types';
4
4
  /**
5
5
  * An anchor component to cover the entire container creating a clickable area.
6
6
  * @internal
7
7
  * @see `clickableContainer`
8
8
  */
9
- declare const LayeredLink: React.FC<LayeredLinkProps>;
9
+ declare const LayeredLink: ({ onClick, target, testId, text, url }: LayeredLinkProps) => jsx.JSX.Element;
10
10
  export default LayeredLink;
@@ -1,10 +1,9 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { type AtlaskitBadgeProps } from './types';
4
3
  /**
5
4
  * A base element that displays a visual indicator for a numeric value
6
5
  * @internal
7
6
  * @see StoryPoints
8
7
  * */
9
- declare const AtlaskitBadge: React.FC<AtlaskitBadgeProps>;
8
+ declare const AtlaskitBadge: ({ value, name, overrideCss, testId, }: AtlaskitBadgeProps) => jsx.JSX.Element | null;
10
9
  export default AtlaskitBadge;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
2
2
  import { type AvatarGroupProps } from './types';
3
3
  /**
4
4
  * A base element that displays a group of avatars.
@@ -7,5 +7,5 @@ import { type AvatarGroupProps } from './types';
7
7
  * @see AuthorGroup
8
8
  * @see CollaboratorGroup
9
9
  */
10
- declare const AvatarGroup: React.FC<AvatarGroupProps>;
10
+ declare const AvatarGroup: ({ items, maxCount, name, overrideCss, size, testId, showNamePrefix, showFallbackAvatar, }: AvatarGroupProps) => jsx.JSX.Element | null;
11
11
  export default AvatarGroup;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { type DateTimeProps } from './types';
4
3
  /**
5
4
  * A base element that displays an ISO Timestamp in text.
@@ -9,5 +8,5 @@ import { type DateTimeProps } from './types';
9
8
  * @see ModifiedOn
10
9
  * @see SentOn
11
10
  */
12
- declare const DateTime: React.FC<DateTimeProps>;
11
+ declare const DateTime: ({ date, name, overrideCss, type, testId, text, }: DateTimeProps) => jsx.JSX.Element | null;
13
12
  export default DateTime;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { type IconProps } from './types';
4
3
  /**
5
4
  * A base element that displays an Icon or favicon.
@@ -7,5 +6,5 @@ import { type IconProps } from './types';
7
6
  * @param {IconProps} IconProps - The props necessary for the Icon element.
8
7
  * @see LinkIcon
9
8
  */
10
- declare const Icon: React.FC<IconProps>;
9
+ declare const Icon: ({ icon, overrideIcon, label, name, position, overrideCss, render, size, testId, url, }: IconProps) => jsx.JSX.Element;
11
10
  export default Icon;
@@ -11,87 +11,87 @@ import { type AtlaskitBadgeProps } from './atlaskit-badge/types';
11
11
  * Creates a AssignedTo text element using the data from AssignedTo in the Flexible UI Context.
12
12
  * @see Text
13
13
  */
14
- export declare const AssignedTo: import("react").FC<TextProps>;
14
+ export declare const AssignedTo: import("react").ComponentType<TextProps>;
15
15
  /**
16
16
  * An AvatarGroup element using the data from AssignedToGroup in the Flexible UI Context.
17
17
  * @see AvatarGroup
18
18
  */
19
- export declare const AssignedToGroup: import("react").FC<AvatarGroupProps>;
19
+ export declare const AssignedToGroup: import("react").ComponentType<AvatarGroupProps>;
20
20
  /**
21
21
  * Creates a AttachmentCount Badge element using the data from AttachmentCount in the Flexible UI Context.
22
22
  * @see Badge
23
23
  */
24
- export declare const AttachmentCount: import("react").FC<BadgeProps>;
24
+ export declare const AttachmentCount: import("react").ComponentType<BadgeProps>;
25
25
  /**
26
26
  * An AvatarGroup element using the data from AuthorGroup in the Flexible UI Context.
27
27
  * @see AvatarGroup
28
28
  */
29
- export declare const AuthorGroup: import("react").FC<AvatarGroupProps>;
29
+ export declare const AuthorGroup: import("react").ComponentType<AvatarGroupProps>;
30
30
  /**
31
31
  * Creates a Checklist Badge element using the data from ChecklistProgress in the Flexible UI Context.
32
32
  * @see Badge
33
33
  */
34
- export declare const ChecklistProgress: import("react").FC<BadgeProps>;
34
+ export declare const ChecklistProgress: import("react").ComponentType<BadgeProps>;
35
35
  /**
36
36
  * An AvatarGroup element using the data from CollaboratorGroup in the Flexible UI Context.
37
37
  * @see AvatarGroup
38
38
  */
39
- export declare const CollaboratorGroup: import("react").FC<AvatarGroupProps>;
39
+ export declare const CollaboratorGroup: import("react").ComponentType<AvatarGroupProps>;
40
40
  /**
41
41
  * Creates a CommentCount Badge element using the data from CommentCount in the Flexible UI Context.
42
42
  * @see Badge
43
43
  */
44
- export declare const CommentCount: import("react").FC<BadgeProps>;
44
+ export declare const CommentCount: import("react").ComponentType<BadgeProps>;
45
45
  /**
46
46
  * Creates a CreatedOn DateTime element using the data from CreatedOn in the Flexible UI Context.
47
47
  * @see DateTime
48
48
  */
49
- export declare const CreatedOn: import("react").FC<DateTimeProps>;
49
+ export declare const CreatedOn: import("react").ComponentType<DateTimeProps>;
50
50
  /**
51
51
  * Creates a CreatedBy text element using the data from CreatedBy in the Flexible UI Context.
52
52
  * @see Text
53
53
  */
54
- export declare const CreatedBy: import("react").FC<TextProps>;
54
+ export declare const CreatedBy: import("react").ComponentType<TextProps>;
55
55
  /**
56
56
  * Creates a DueOn Lozenge element using the data from dueOn in the Flexible UI Context.
57
57
  * @see Lozenge
58
58
  */
59
- export declare const DueOn: import("react").FC<LozengeProps>;
59
+ export declare const DueOn: import("react").ComponentType<LozengeProps>;
60
60
  /**
61
61
  * Creates an element that contains Last Commit hash
62
62
  */
63
- export declare const LatestCommit: import("react").FC<BadgeProps>;
63
+ export declare const LatestCommit: import("react").ComponentType<BadgeProps>;
64
64
  /**
65
65
  * Creates a LinkIcon Icon element using the data from LinkIcon in the Flexible UI Context.
66
66
  * @see Icon
67
67
  */
68
- export declare const LinkIcon: import("react").FC<IconProps>;
68
+ export declare const LinkIcon: import("react").ComponentType<IconProps>;
69
69
  /**
70
70
  * Creates a Location Link element.
71
71
  * This represents the location or container of the resource.
72
72
  * @see Link
73
73
  */
74
- export declare const Location: import("react").FC<LinkProps>;
74
+ export declare const Location: import("react").ComponentType<LinkProps>;
75
75
  /**
76
76
  * Creates a ModifiedBy Text element using the data from ModifiedBy in the Flexible UI Context.
77
77
  * @see Text
78
78
  */
79
- export declare const ModifiedBy: import("react").FC<TextProps>;
79
+ export declare const ModifiedBy: import("react").ComponentType<TextProps>;
80
80
  /**
81
81
  * Creates a ModifiedOn DateTime element using the data from ModifiedOn in the Flexible UI Context.
82
82
  * @see DateTime
83
83
  */
84
- export declare const ModifiedOn: import("react").FC<DateTimeProps>;
84
+ export declare const ModifiedOn: import("react").ComponentType<DateTimeProps>;
85
85
  /**
86
86
  * Creates a OwnedBy text element using the data from OwnedBy in the Flexible UI Context.
87
87
  * @see Text
88
88
  */
89
- export declare const OwnedBy: import("react").FC<TextProps>;
89
+ export declare const OwnedBy: import("react").ComponentType<TextProps>;
90
90
  /**
91
91
  * An AvatarGroup element using the data from OwnedByGroup in the Flexible UI Context.
92
92
  * @see AvatarGroup
93
93
  */
94
- export declare const OwnedByGroup: import("react").FC<AvatarGroupProps>;
94
+ export declare const OwnedByGroup: import("react").ComponentType<AvatarGroupProps>;
95
95
  /**
96
96
  * Creates a Preview element using the data from Preview in the Flexible UI Context.
97
97
  * @see Preview
@@ -101,31 +101,31 @@ export { default as Preview } from './preview';
101
101
  * Creates a Priority Badge element using the data from Priority in the Flexible UI Context.
102
102
  * @see Badge
103
103
  */
104
- export declare const Priority: import("react").FC<BadgeProps>;
104
+ export declare const Priority: import("react").ComponentType<BadgeProps>;
105
105
  /**
106
106
  * Creates a ProgrammingLanguage Badge element using the data from ProgrammingLanguage in the Flexible UI Context.
107
107
  * @see Badge
108
108
  */
109
- export declare const ProgrammingLanguage: import("react").FC<BadgeProps>;
109
+ export declare const ProgrammingLanguage: import("react").ComponentType<BadgeProps>;
110
110
  /**
111
111
  * Creates a Provider Badge element using the data from Provider in the Flexible UI Context.
112
112
  * @see Badge
113
113
  */
114
- export declare const Provider: import("react").FC<BadgeProps>;
114
+ export declare const Provider: import("react").ComponentType<BadgeProps>;
115
115
  /**
116
116
  * Creates a ReactCount Badge element using the data from ReactCount in the Flexible UI Context.
117
117
  * @see Badge
118
118
  */
119
- export declare const ReactCount: import("react").FC<BadgeProps>;
119
+ export declare const ReactCount: import("react").ComponentType<BadgeProps>;
120
120
  /**
121
121
  * Creates a ReadTime Text element using the data from readTime in the Flexible UI Context
122
122
  */
123
- export declare const ReadTime: import("react").FC<TextProps>;
123
+ export declare const ReadTime: import("react").ComponentType<TextProps>;
124
124
  /**
125
125
  * Creates a SentOn DateTime element using the data from SentOn in the Flexible UI Context.
126
126
  * @see DateTime
127
127
  */
128
- export declare const SentOn: import("react").FC<DateTimeProps>;
128
+ export declare const SentOn: import("react").ComponentType<DateTimeProps>;
129
129
  /**
130
130
  * Creates a Snippet element using the data from Snippet in the Flexible UI Context.
131
131
  * @see Text
@@ -135,45 +135,45 @@ export { default as Snippet } from './snippet-element';
135
135
  * Creates a SourceBranch Text element using the data from sourceBranch in the Flexible UI Context.
136
136
  * @see Text
137
137
  */
138
- export declare const SourceBranch: import("react").FC<TextProps>;
138
+ export declare const SourceBranch: import("react").ComponentType<TextProps>;
139
139
  /**
140
140
  * Creates a State Lozenge element using the data from State in the Flexible UI Context.
141
141
  * @see Lozenge
142
142
  */
143
- export declare const State: import("react").FC<LozengeProps>;
143
+ export declare const State: import("react").ComponentType<LozengeProps>;
144
144
  /**
145
145
  * Creates a SubscriberCount Badge element using the data from SubscriberCount in the Flexible UI Context.
146
146
  * @see Badge
147
147
  */
148
- export declare const SubscriberCount: import("react").FC<BadgeProps>;
148
+ export declare const SubscriberCount: import("react").ComponentType<BadgeProps>;
149
149
  /**
150
150
  * Create a SubTasks Badge element using the data from subTasks in the Flexible UI Context.
151
151
  * @see Badge
152
152
  */
153
- export declare const SubTasksProgress: import("react").FC<BadgeProps>;
153
+ export declare const SubTasksProgress: import("react").ComponentType<BadgeProps>;
154
154
  /**
155
155
  * Create a StoryPoints Badge element using the data from storyPoints in the Flexible UI Context.
156
156
  * @see AtlaskitBadge
157
157
  */
158
- export declare const StoryPoints: import("react").FC<AtlaskitBadgeProps>;
158
+ export declare const StoryPoints: import("react").ComponentType<AtlaskitBadgeProps>;
159
159
  /**
160
160
  * Creates a TargetBranch Text element using the data from targetBranch in the Flexible UI Context.
161
161
  * @see Text
162
162
  */
163
- export declare const TargetBranch: import("react").FC<TextProps>;
163
+ export declare const TargetBranch: import("react").ComponentType<TextProps>;
164
164
  /**
165
165
  * Creates a Title Link element using the data from Title in the Flexible UI Context.
166
166
  * This represents the main link text within the Smart Link.
167
167
  * @see Link
168
168
  */
169
- export declare const Title: import("react").FC<LinkProps>;
169
+ export declare const Title: import("react").ComponentType<LinkProps>;
170
170
  /**
171
171
  * Creates a ViewCount Badge element using the data from ViewCount in the Flexible UI Context.
172
172
  * @see Badge
173
173
  */
174
- export declare const ViewCount: import("react").FC<BadgeProps>;
174
+ export declare const ViewCount: import("react").ComponentType<BadgeProps>;
175
175
  /**
176
176
  * Creates a VoteCount Badge element using the data from VoteCount in the Flexible UI Context.
177
177
  * @see Badge
178
178
  */
179
- export declare const VoteCount: import("react").FC<BadgeProps>;
179
+ export declare const VoteCount: import("react").ComponentType<BadgeProps>;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { type LinkProps } from './types';
4
3
  /**
5
4
  * A base element that represent an anchor.
@@ -7,5 +6,5 @@ import { type LinkProps } from './types';
7
6
  * @param {LinkProps} LinkProps - The props necessary for the Link element.
8
7
  * @see LinkIcon
9
8
  */
10
- declare const Link: React.FC<LinkProps>;
9
+ declare const Link: ({ hideTooltip, maxLines, name, overrideCss, size, testId, text, theme, url, onClick, target, }: LinkProps) => jsx.JSX.Element;
11
10
  export default Link;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { jsx } from '@emotion/react';
3
3
  import type { LozengeProps } from './types';
4
4
  /**
5
5
  * A base element that displays a Lozenge.
@@ -7,5 +7,5 @@ import type { LozengeProps } from './types';
7
7
  * @param {LozengeProps} LozengeProps - The props necessary for the Lozenge element.
8
8
  * @see State
9
9
  */
10
- declare const Lozenge: React.FC<LozengeProps>;
10
+ declare const Lozenge: ({ action, appearance, name, overrideCss, style, text, testId, }: LozengeProps) => jsx.JSX.Element | null;
11
11
  export default Lozenge;
@@ -1,4 +1,4 @@
1
- import type { ComponentType, FC } from 'react';
1
+ import type { ComponentType } from 'react';
2
2
  import type { LozengeActionProps } from '../types';
3
- declare const withErrorBoundary: (Component: ComponentType<LozengeActionProps>) => FC<LozengeActionProps>;
3
+ declare const withErrorBoundary: (Component: ComponentType<LozengeActionProps>) => (props: LozengeActionProps) => JSX.Element;
4
4
  export default withErrorBoundary;
@@ -1,4 +1,4 @@
1
- import type { FC } from 'react';
1
+ /// <reference types="react" />
2
2
  import type { LozengeActionProps } from './types';
3
- declare const _default: FC<LozengeActionProps>;
3
+ declare const _default: (props: LozengeActionProps) => JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,5 @@
1
- import type { FC } from 'react';
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
2
3
  import type { LozengeActionErrorProps } from './types';
3
- declare const LozengeActionError: FC<LozengeActionErrorProps>;
4
+ declare const LozengeActionError: ({ errorMessage, testId, maxLineNumber, url, previewData, }: LozengeActionErrorProps) => jsx.JSX.Element;
4
5
  export default LozengeActionError;
@@ -1,4 +1,4 @@
1
- import type { FC } from 'react';
1
+ /// <reference types="react" />
2
2
  import type { LozengeActionItemProps } from './types';
3
- declare const LozengeActionItem: FC<LozengeActionItemProps>;
3
+ declare const LozengeActionItem: ({ appearance, id, onClick, testId, text }: LozengeActionItemProps) => JSX.Element;
4
4
  export default LozengeActionItem;
@@ -1,4 +1,5 @@
1
- import { type FC } from 'react';
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
2
3
  import type { LozengeActionItemsGroupProps } from './types';
3
- declare const LozengeActionItemsGroup: FC<LozengeActionItemsGroupProps>;
4
+ declare const LozengeActionItemsGroup: ({ items, testId, onClick }: LozengeActionItemsGroupProps) => jsx.JSX.Element;
4
5
  export default LozengeActionItemsGroup;
@@ -1,4 +1,5 @@
1
- import type { FC } from 'react';
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
2
3
  import { type LozengeActionTriggerProps } from './type';
3
- declare const LozengeActionTrigger: FC<LozengeActionTriggerProps>;
4
+ declare const LozengeActionTrigger: ({ appearance, isOpen, testId, text, triggerRef, ...props }: LozengeActionTriggerProps) => jsx.JSX.Element;
4
5
  export default LozengeActionTrigger;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { jsx } from '@emotion/react';
3
3
  import { type MediaProps } from './types';
4
4
  /**
5
5
  * A base element that displays a Media.
@@ -7,5 +7,5 @@ import { type MediaProps } from './types';
7
7
  * @param {MediaProps} MediaProps - The props necessary for the Media element.
8
8
  * @see Preview
9
9
  */
10
- declare const Media: React.FC<MediaProps>;
10
+ declare const Media: ({ name, overrideCss, testId, type, url, onLoad, onError, }: MediaProps) => jsx.JSX.Element | null;
11
11
  export default Media;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ import { jsx } from '@emotion/react';
3
2
  import { type PreviewProps } from './types';
4
- declare const Preview: React.FC<PreviewProps>;
3
+ declare const Preview: (props: PreviewProps) => jsx.JSX.Element | null;
5
4
  export default Preview;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
2
3
  import { type TextProps } from '../text/types';
3
- declare const SnippetElement: React.FC<TextProps>;
4
+ declare const SnippetElement: ({ content: overrideContent, maxLines, overrideCss, ...props }?: TextProps) => jsx.JSX.Element;
4
5
  export default SnippetElement;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React from 'react';
2
+ import { jsx } from '@emotion/react';
3
3
  import { type TextProps } from './types';
4
4
  /**
5
5
  * A base element that displays some Text.
@@ -7,5 +7,5 @@ import { type TextProps } from './types';
7
7
  * @param {TextProps} TextProps - The props necessary for the Text element.
8
8
  * @see Title
9
9
  */
10
- declare const Text: React.FC<TextProps>;
10
+ declare const Text: ({ content, maxLines, message, name, overrideCss, testId, }: TextProps) => jsx.JSX.Element | null;
11
11
  export default Text;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { ElementName } from '../../../../constants';
3
- export declare const createElement: <P extends {}>(name: ElementName) => React.FC<P>;
3
+ export declare const createElement: <P extends {}>(name: ElementName) => React.ComponentType<P>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type FlexibleCardProps } from './types';
3
3
  /**
4
4
  * This represents a Flexible Card: a link represented by a card with metadata.
@@ -6,5 +6,5 @@ import { type FlexibleCardProps } from './types';
6
6
  * Note: TitleBlock is mandatory for a Flexible Card to render.
7
7
  * @see Container
8
8
  */
9
- declare const FlexibleCard: React.FC<FlexibleCardProps>;
9
+ declare const FlexibleCard: ({ analytics, appearance, cardState, children, id, onAuthorize, onClick, onError, onResolve, renderers, showAuthTooltip, showHoverPreview, hoverPreviewOptions, actionOptions, testId, ui, url, }: FlexibleCardProps) => JSX.Element;
10
10
  export default FlexibleCard;
@@ -1,3 +1,3 @@
1
- import { type FC } from 'react';
1
+ import { jsx } from '@emotion/react';
2
2
  import { type HoverCardComponentProps } from '../types';
3
- export declare const HoverCardComponent: FC<HoverCardComponentProps>;
3
+ export declare const HoverCardComponent: ({ children, url, id, analyticsHandler, canOpen, closeOnChildClick, hidePreviewButton, showServerActions, actionOptions: actionOptionsProp, allowEventPropagation, zIndex, noFadeDelay, hoverPreviewOptions, }: HoverCardComponentProps) => jsx.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type ImagePreviewProps } from '../types';
3
- declare const ImagePreview: React.FC<ImagePreviewProps>;
3
+ declare const ImagePreview: ({ data, fallbackElementHeight }: ImagePreviewProps) => JSX.Element | null;
4
4
  export default ImagePreview;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type HoverCardForbiddenProps } from './types';
3
- declare const HoverCardForbiddenView: React.FC<HoverCardForbiddenProps>;
3
+ declare const HoverCardForbiddenView: ({ flexibleCardProps, testId, }: HoverCardForbiddenProps) => JSX.Element | null;
4
4
  export default HoverCardForbiddenView;
@@ -1,4 +1,4 @@
1
- import { type FC } from 'react';
1
+ /// <reference types="react" />
2
2
  import { type HoverCardResolvedProps } from './types';
3
- declare const HoverCardResolvedView: FC<HoverCardResolvedProps>;
3
+ declare const HoverCardResolvedView: ({ analytics, cardState, extensionKey, flexibleCardProps, isAISummaryEnabled, onActionClick, titleBlockProps, }: HoverCardResolvedProps) => JSX.Element;
4
4
  export default HoverCardResolvedView;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
2
3
  import { type HoverCardLoadingViewProps } from './types';
3
- declare const HoverCardLoadingView: React.FC<HoverCardLoadingViewProps>;
4
+ declare const HoverCardLoadingView: ({ titleBlockProps }: HoverCardLoadingViewProps) => jsx.JSX.Element;
4
5
  export default HoverCardLoadingView;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type HoverCardUnauthorisedProps } from './types';
3
- declare const HoverCardUnauthorisedView: React.FC<HoverCardUnauthorisedProps>;
3
+ declare const HoverCardUnauthorisedView: ({ analytics, extensionKey, id, flexibleCardProps, testId, url, }: HoverCardUnauthorisedProps) => JSX.Element;
4
4
  export default HoverCardUnauthorisedView;
@@ -1,4 +1,4 @@
1
- import { type FC } from 'react';
1
+ /// <reference types="react" />
2
2
  import { type InlineCardProps } from './types';
3
3
  import { InlineCardErroredView } from './ErroredView';
4
4
  import { InlineCardForbiddenView } from './ForbiddenView';
@@ -6,4 +6,4 @@ import { InlineCardResolvedView } from './ResolvedView';
6
6
  import { InlineCardResolvingView } from './ResolvingView';
7
7
  import { InlineCardUnauthorizedView } from './UnauthorisedView';
8
8
  export { InlineCardResolvedView, InlineCardResolvingView, InlineCardErroredView, InlineCardForbiddenView, InlineCardUnauthorizedView, };
9
- export declare const InlineCard: FC<InlineCardProps>;
9
+ export declare const InlineCard: ({ analytics, id, url, cardState, handleAuthorize, handleFrameClick, isSelected, isHovered, renderers, onResolve, onError, testId, inlinePreloaderStyle, showHoverPreview, hoverPreviewOptions, showAuthTooltip, actionOptions, }: InlineCardProps) => JSX.Element;
@@ -1,5 +1,4 @@
1
- /** @jsx jsx */
2
- import React from 'react';
1
+ /// <reference types="react" />
3
2
  import { type WrappedComponentProps } from 'react-intl-next';
4
3
  interface LinkWarningModalProps {
5
4
  isOpen: boolean;
@@ -8,7 +7,7 @@ interface LinkWarningModalProps {
8
7
  unsafeLinkText: string | null;
9
8
  url: string | null;
10
9
  }
11
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<LinkWarningModalProps & WrappedComponentProps>> & {
12
- WrappedComponent: React.ComponentType<LinkWarningModalProps & WrappedComponentProps>;
10
+ declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<LinkWarningModalProps & WrappedComponentProps>> & {
11
+ WrappedComponent: import("react").ComponentType<LinkWarningModalProps & WrappedComponentProps>;
13
12
  };
14
13
  export default _default;
@@ -1,7 +1,8 @@
1
- import { type FunctionComponent } from 'react';
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
2
3
  import { type SVGProps } from '@atlaskit/icon/types';
3
4
  /**
4
5
  * this icon is theme agnostic, no need for tokens
5
6
  */
6
- declare const AIIconLoading: FunctionComponent<SVGProps>;
7
+ declare const AIIconLoading: (props: SVGProps) => jsx.JSX.Element;
7
8
  export default AIIconLoading;
@@ -1,9 +1,10 @@
1
- import React from 'react';
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
2
3
  import type { AnimatedSvgContainerProps } from './types';
3
4
  /**
4
5
  * The bulk of this file is originally from
5
6
  * https://bitbucket.org/atlassian/barrel/src/master/ui/platform/ui-kit/ai
6
7
  * with modifications.
7
8
  */
8
- declare const AnimatedSvgContainer: React.FC<AnimatedSvgContainerProps>;
9
+ declare const AnimatedSvgContainer: ({ palette, isMoving, isGlowing, additionalCss, }: AnimatedSvgContainerProps) => jsx.JSX.Element;
9
10
  export default AnimatedSvgContainer;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
2
3
  import type { AIGlowingBorderProps } from './types';
3
4
  export declare const borderContentStyles: import("@emotion/react").SerializedStyles;
4
5
  /**
@@ -6,5 +7,5 @@ export declare const borderContentStyles: import("@emotion/react").SerializedSty
6
7
  * https://bitbucket.org/atlassian/barrel/src/master/ui/platform/ui-kit/ai
7
8
  * with modifications.
8
9
  */
9
- declare const AIGlowingBorder: React.FC<AIGlowingBorderProps>;
10
+ declare const AIGlowingBorder: ({ children, palette, isMoving, isGlowing, testId, additionalCss, }: AIGlowingBorderProps) => jsx.JSX.Element;
10
11
  export default AIGlowingBorder;