@atlaskit/smart-card 40.8.0 → 40.8.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 (339) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/view/CardWithUrl/component.js +4 -2
  4. package/dist/cjs/view/EmbedCard/components/ErrorFrame.compiled.css +1 -1
  5. package/dist/cjs/view/EmbedCard/components/ErrorFrame.js +2 -2
  6. package/dist/cjs/view/EmbedCard/components/Frame.compiled.css +1 -1
  7. package/dist/cjs/view/EmbedCard/components/Frame.js +1 -1
  8. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
  9. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
  10. package/dist/cjs/view/LinkUrl/index.js +1 -1
  11. package/dist/es2019/utils/analytics/analytics.js +1 -1
  12. package/dist/es2019/view/CardWithUrl/component.js +4 -2
  13. package/dist/es2019/view/EmbedCard/components/ErrorFrame.compiled.css +1 -1
  14. package/dist/es2019/view/EmbedCard/components/ErrorFrame.js +2 -2
  15. package/dist/es2019/view/EmbedCard/components/Frame.compiled.css +1 -1
  16. package/dist/es2019/view/EmbedCard/components/Frame.js +1 -1
  17. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
  18. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
  19. package/dist/es2019/view/LinkUrl/index.js +1 -1
  20. package/dist/esm/utils/analytics/analytics.js +1 -1
  21. package/dist/esm/view/CardWithUrl/component.js +4 -2
  22. package/dist/esm/view/EmbedCard/components/ErrorFrame.compiled.css +1 -1
  23. package/dist/esm/view/EmbedCard/components/ErrorFrame.js +2 -2
  24. package/dist/esm/view/EmbedCard/components/Frame.compiled.css +1 -1
  25. package/dist/esm/view/EmbedCard/components/Frame.js +1 -1
  26. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
  27. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
  28. package/dist/esm/view/LinkUrl/index.js +1 -1
  29. package/dist/types/__fixtures__/atlas-project.d.ts +1 -1
  30. package/dist/types/__fixtures__/dropbox-file.d.ts +1 -1
  31. package/dist/types/common/analytics/generated/create-event-payload.d.ts +1 -1
  32. package/dist/types/common/analytics/generated/use-analytics-events.d.ts +2 -1
  33. package/dist/types/common/ui/icons/angle-brackets-icon.d.ts +0 -1
  34. package/dist/types/common/ui/icons/audio-icon.d.ts +0 -1
  35. package/dist/types/common/ui/icons/blog-icon.d.ts +2 -3
  36. package/dist/types/common/ui/icons/chart-bar-icon.d.ts +0 -1
  37. package/dist/types/common/ui/icons/file-icon.d.ts +0 -1
  38. package/dist/types/common/ui/icons/folder-icon.d.ts +0 -1
  39. package/dist/types/common/ui/icons/generic-error-icon.d.ts +0 -1
  40. package/dist/types/common/ui/icons/image-icon.d.ts +0 -1
  41. package/dist/types/common/ui/icons/list-bullet-icon.d.ts +0 -1
  42. package/dist/types/common/ui/icons/live-document-icon.d.ts +2 -3
  43. package/dist/types/common/ui/icons/page-icon.d.ts +0 -1
  44. package/dist/types/common/ui/icons/utils.d.ts +2 -2
  45. package/dist/types/common/ui/icons/video-icon.d.ts +0 -1
  46. package/dist/types/extractors/common/context/extractAccessContext.d.ts +1 -1
  47. package/dist/types/extractors/flexible/actions/extract-ai-summary-action.d.ts +1 -1
  48. package/dist/types/extractors/flexible/icon/index.d.ts +8 -9
  49. package/dist/types/state/analytics/useLinkClicked.d.ts +11 -3
  50. package/dist/types/state/config/index.d.ts +1 -1
  51. package/dist/types/state/flexible-ui-context/index.d.ts +0 -1
  52. package/dist/types/state/flexible-ui-context/types.d.ts +0 -1
  53. package/dist/types/state/hooks/useSmartLink.d.ts +1 -1
  54. package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +0 -1
  55. package/dist/types/state/renderers/index.d.ts +1 -1
  56. package/dist/types/utils/__mocks__/shouldSample.d.ts +0 -1
  57. package/dist/types/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
  58. package/dist/types/utils/analytics/click.d.ts +2 -2
  59. package/dist/types/utils/mocks.d.ts +7 -7
  60. package/dist/types/view/BlockCard/types.d.ts +0 -1
  61. package/dist/types/view/BlockCard/views/ErroredView.d.ts +0 -1
  62. package/dist/types/view/BlockCard/views/ForbiddenView.d.ts +0 -1
  63. package/dist/types/view/BlockCard/views/NotFoundView.d.ts +0 -1
  64. package/dist/types/view/BlockCard/views/ResolvedView.d.ts +0 -1
  65. package/dist/types/view/BlockCard/views/UnauthorisedView.d.ts +0 -1
  66. package/dist/types/view/BlockCard/views/unresolved-view/index.d.ts +0 -1
  67. package/dist/types/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.d.ts +0 -1
  68. package/dist/types/view/Card/index.d.ts +1 -1
  69. package/dist/types/view/Card/types.d.ts +0 -1
  70. package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +0 -1
  71. package/dist/types/view/EmbedCard/components/IFrame.d.ts +1 -1
  72. package/dist/types/view/EmbedCard/components/styled.d.ts +0 -1
  73. package/dist/types/view/EmbedCard/views/ErroredView.d.ts +0 -1
  74. package/dist/types/view/EmbedCard/views/unresolved-view/index.d.ts +0 -1
  75. package/dist/types/view/EmbedModal/components/embed-content/index.d.ts +0 -1
  76. package/dist/types/view/EmbedModal/components/link-info/index.d.ts +0 -1
  77. package/dist/types/view/EmbedModal/components/link-info/link-info-button/types.d.ts +0 -1
  78. package/dist/types/view/EmbedModal/index.d.ts +2 -21
  79. package/dist/types/view/FlexibleCard/components/actions/action/action-button/index.d.ts +0 -1
  80. package/dist/types/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +0 -1
  81. package/dist/types/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +0 -1
  82. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +2 -8
  83. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.d.ts +1 -1
  84. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.d.ts +0 -1
  85. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.d.ts +0 -1
  86. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/execution-state-message/main.d.ts +0 -1
  87. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +0 -1
  88. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.d.ts +0 -1
  89. package/dist/types/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +2 -2
  90. package/dist/types/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +0 -1
  91. package/dist/types/view/FlexibleCard/components/blocks/action-block/index.d.ts +0 -1
  92. package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +3 -3
  93. package/dist/types/view/FlexibleCard/components/blocks/action-group/index.d.ts +0 -1
  94. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +1 -1
  95. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.d.ts +0 -1
  96. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.d.ts +0 -1
  97. package/dist/types/view/FlexibleCard/components/blocks/block/index.d.ts +0 -1
  98. package/dist/types/view/FlexibleCard/components/blocks/element-group/index.d.ts +0 -1
  99. package/dist/types/view/FlexibleCard/components/blocks/footer-block/resolved/index.d.ts +0 -1
  100. package/dist/types/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +0 -1
  101. package/dist/types/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +0 -1
  102. package/dist/types/view/FlexibleCard/components/blocks/title-block/index.d.ts +0 -1
  103. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +0 -1
  104. package/dist/types/view/FlexibleCard/components/common/ai-summary/ai-event-error-viewed.d.ts +1 -1
  105. package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +0 -1
  106. package/dist/types/view/FlexibleCard/components/common/image-icon/types.d.ts +0 -1
  107. package/dist/types/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +0 -1
  108. package/dist/types/view/FlexibleCard/components/container/layered-link/index.d.ts +0 -1
  109. package/dist/types/view/FlexibleCard/components/container/layered-link/types.d.ts +0 -1
  110. package/dist/types/view/FlexibleCard/components/elements/applied-to-components-count-element/index.d.ts +0 -1
  111. package/dist/types/view/FlexibleCard/components/elements/assigned-to-element/index.d.ts +0 -1
  112. package/dist/types/view/FlexibleCard/components/elements/assigned-to-group-element/index.d.ts +0 -1
  113. package/dist/types/view/FlexibleCard/components/elements/attachment-count-element/index.d.ts +0 -1
  114. package/dist/types/view/FlexibleCard/components/elements/author-group-element/index.d.ts +0 -1
  115. package/dist/types/view/FlexibleCard/components/elements/checklist-progress-element/index.d.ts +0 -1
  116. package/dist/types/view/FlexibleCard/components/elements/collaborator-group-element/index.d.ts +0 -1
  117. package/dist/types/view/FlexibleCard/components/elements/comment-count-element/index.d.ts +0 -1
  118. package/dist/types/view/FlexibleCard/components/elements/common/base-atlaskit-badge-element/index.d.ts +0 -1
  119. package/dist/types/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +0 -1
  120. package/dist/types/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +7 -7
  121. package/dist/types/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +1 -2
  122. package/dist/types/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +12 -13
  123. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/index.d.ts +0 -1
  124. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.d.ts +0 -1
  125. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.d.ts +0 -1
  126. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.d.ts +0 -1
  127. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/type.d.ts +0 -1
  128. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/types.d.ts +0 -1
  129. package/dist/types/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +0 -1
  130. package/dist/types/view/FlexibleCard/components/elements/created-by-element/index.d.ts +0 -1
  131. package/dist/types/view/FlexibleCard/components/elements/created-on-element/index.d.ts +0 -1
  132. package/dist/types/view/FlexibleCard/components/elements/due-on-element/index.d.ts +0 -1
  133. package/dist/types/view/FlexibleCard/components/elements/latest-commit-element/index.d.ts +0 -1
  134. package/dist/types/view/FlexibleCard/components/elements/link-icon-element/index.d.ts +0 -1
  135. package/dist/types/view/FlexibleCard/components/elements/location-element/index.d.ts +0 -1
  136. package/dist/types/view/FlexibleCard/components/elements/media-element/index.d.ts +0 -1
  137. package/dist/types/view/FlexibleCard/components/elements/modified-by-element/index.d.ts +0 -1
  138. package/dist/types/view/FlexibleCard/components/elements/modified-on-element/index.d.ts +0 -1
  139. package/dist/types/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +0 -1
  140. package/dist/types/view/FlexibleCard/components/elements/owned-by-group-element/index.d.ts +0 -1
  141. package/dist/types/view/FlexibleCard/components/elements/priority-element/index.d.ts +0 -1
  142. package/dist/types/view/FlexibleCard/components/elements/programming-language-element/index.d.ts +0 -1
  143. package/dist/types/view/FlexibleCard/components/elements/provider-element/index.d.ts +0 -1
  144. package/dist/types/view/FlexibleCard/components/elements/react-count-element/index.d.ts +0 -1
  145. package/dist/types/view/FlexibleCard/components/elements/read-time-element/index.d.ts +0 -1
  146. package/dist/types/view/FlexibleCard/components/elements/sent-on-element/index.d.ts +0 -1
  147. package/dist/types/view/FlexibleCard/components/elements/snippet-element/index.d.ts +0 -1
  148. package/dist/types/view/FlexibleCard/components/elements/source-branch-element/index.d.ts +0 -1
  149. package/dist/types/view/FlexibleCard/components/elements/state-element/index.d.ts +0 -1
  150. package/dist/types/view/FlexibleCard/components/elements/story-points-element/index.d.ts +0 -1
  151. package/dist/types/view/FlexibleCard/components/elements/sub-tasks-progress-element/index.d.ts +0 -1
  152. package/dist/types/view/FlexibleCard/components/elements/subscriber-count-element/index.d.ts +0 -1
  153. package/dist/types/view/FlexibleCard/components/elements/target-branch-element/index.d.ts +0 -1
  154. package/dist/types/view/FlexibleCard/components/elements/team-member-count-element/index.d.ts +0 -1
  155. package/dist/types/view/FlexibleCard/components/elements/title-element/index.d.ts +0 -1
  156. package/dist/types/view/FlexibleCard/components/elements/user-attributes-element/index.d.ts +0 -1
  157. package/dist/types/view/FlexibleCard/components/elements/view-count-element/index.d.ts +0 -1
  158. package/dist/types/view/FlexibleCard/components/elements/vote-count-element/index.d.ts +0 -1
  159. package/dist/types/view/FlexibleCard/types.d.ts +0 -1
  160. package/dist/types/view/HoverCard/components/ContentContainer.d.ts +0 -1
  161. package/dist/types/view/HoverCard/components/views/forbidden/index.d.ts +0 -1
  162. package/dist/types/view/HoverCard/components/views/resolved/index.d.ts +0 -1
  163. package/dist/types/view/HoverCard/components/views/resolving/index.d.ts +0 -1
  164. package/dist/types/view/HoverCard/components/views/unauthorised/index.d.ts +0 -1
  165. package/dist/types/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -1
  166. package/dist/types/view/InlineCard/common/action-button/index.d.ts +0 -1
  167. package/dist/types/view/InlineCard/common/inline-lozenge/index.d.ts +0 -1
  168. package/dist/types/view/LinkUrl/LinkWarningModal/index.d.ts +0 -1
  169. package/dist/types/view/LinkUrl/types.d.ts +0 -1
  170. package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +0 -1
  171. package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +0 -1
  172. package/dist/types/view/RelatedLinksModal/components/related-link-item/index.d.ts +0 -1
  173. package/dist/types/view/RelatedLinksModal/components/related-links-list/index.d.ts +0 -1
  174. package/dist/types/view/RelatedLinksModal/views/errored/error-svg/index.d.ts +0 -1
  175. package/dist/types/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.d.ts +0 -1
  176. package/dist/types/view/RelatedLinksModal/views/resolving/index.d.ts +0 -1
  177. package/dist/types/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.d.ts +0 -1
  178. package/dist/types/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +0 -1
  179. package/dist/types/view/common/ai-prism/ai-glowing-border/index.d.ts +0 -1
  180. package/dist/types/view/common/ai-prism/index.d.ts +0 -1
  181. package/dist/types/view/common/ai-summary/index.d.ts +0 -1
  182. package/dist/types/view/common/render-svg.d.ts +0 -1
  183. package/dist/types/view/types.d.ts +0 -1
  184. package/dist/types-ts4.5/__fixtures__/atlas-project.d.ts +1 -1
  185. package/dist/types-ts4.5/__fixtures__/dropbox-file.d.ts +1 -1
  186. package/dist/types-ts4.5/common/analytics/generated/create-event-payload.d.ts +1 -1
  187. package/dist/types-ts4.5/common/analytics/generated/use-analytics-events.d.ts +2 -1
  188. package/dist/types-ts4.5/common/ui/icons/angle-brackets-icon.d.ts +0 -1
  189. package/dist/types-ts4.5/common/ui/icons/audio-icon.d.ts +0 -1
  190. package/dist/types-ts4.5/common/ui/icons/blog-icon.d.ts +2 -3
  191. package/dist/types-ts4.5/common/ui/icons/chart-bar-icon.d.ts +0 -1
  192. package/dist/types-ts4.5/common/ui/icons/file-icon.d.ts +0 -1
  193. package/dist/types-ts4.5/common/ui/icons/folder-icon.d.ts +0 -1
  194. package/dist/types-ts4.5/common/ui/icons/generic-error-icon.d.ts +0 -1
  195. package/dist/types-ts4.5/common/ui/icons/image-icon.d.ts +0 -1
  196. package/dist/types-ts4.5/common/ui/icons/list-bullet-icon.d.ts +0 -1
  197. package/dist/types-ts4.5/common/ui/icons/live-document-icon.d.ts +2 -3
  198. package/dist/types-ts4.5/common/ui/icons/page-icon.d.ts +0 -1
  199. package/dist/types-ts4.5/common/ui/icons/utils.d.ts +2 -2
  200. package/dist/types-ts4.5/common/ui/icons/video-icon.d.ts +0 -1
  201. package/dist/types-ts4.5/extractors/common/context/extractAccessContext.d.ts +1 -1
  202. package/dist/types-ts4.5/extractors/flexible/actions/extract-ai-summary-action.d.ts +1 -1
  203. package/dist/types-ts4.5/extractors/flexible/icon/index.d.ts +8 -9
  204. package/dist/types-ts4.5/state/analytics/useLinkClicked.d.ts +11 -3
  205. package/dist/types-ts4.5/state/config/index.d.ts +1 -1
  206. package/dist/types-ts4.5/state/flexible-ui-context/index.d.ts +0 -1
  207. package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +0 -1
  208. package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +1 -1
  209. package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +0 -1
  210. package/dist/types-ts4.5/state/renderers/index.d.ts +1 -1
  211. package/dist/types-ts4.5/utils/__mocks__/shouldSample.d.ts +0 -1
  212. package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
  213. package/dist/types-ts4.5/utils/analytics/click.d.ts +2 -2
  214. package/dist/types-ts4.5/utils/mocks.d.ts +7 -7
  215. package/dist/types-ts4.5/view/BlockCard/types.d.ts +0 -1
  216. package/dist/types-ts4.5/view/BlockCard/views/ErroredView.d.ts +0 -1
  217. package/dist/types-ts4.5/view/BlockCard/views/ForbiddenView.d.ts +0 -1
  218. package/dist/types-ts4.5/view/BlockCard/views/NotFoundView.d.ts +0 -1
  219. package/dist/types-ts4.5/view/BlockCard/views/ResolvedView.d.ts +0 -1
  220. package/dist/types-ts4.5/view/BlockCard/views/UnauthorisedView.d.ts +0 -1
  221. package/dist/types-ts4.5/view/BlockCard/views/unresolved-view/index.d.ts +0 -1
  222. package/dist/types-ts4.5/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.d.ts +0 -1
  223. package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
  224. package/dist/types-ts4.5/view/Card/types.d.ts +0 -1
  225. package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +0 -1
  226. package/dist/types-ts4.5/view/EmbedCard/components/IFrame.d.ts +1 -1
  227. package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +0 -1
  228. package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +0 -1
  229. package/dist/types-ts4.5/view/EmbedCard/views/unresolved-view/index.d.ts +0 -1
  230. package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +0 -1
  231. package/dist/types-ts4.5/view/EmbedModal/components/link-info/index.d.ts +0 -1
  232. package/dist/types-ts4.5/view/EmbedModal/components/link-info/link-info-button/types.d.ts +0 -1
  233. package/dist/types-ts4.5/view/EmbedModal/index.d.ts +2 -25
  234. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/index.d.ts +0 -1
  235. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-dropdown-item/types.d.ts +0 -1
  236. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +0 -1
  237. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +2 -8
  238. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.d.ts +1 -1
  239. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.d.ts +0 -1
  240. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/error-state/main.d.ts +0 -1
  241. 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 +0 -1
  242. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +0 -1
  243. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.d.ts +0 -1
  244. package/dist/types-ts4.5/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +2 -2
  245. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/action-footer/index.d.ts +0 -1
  246. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/index.d.ts +0 -1
  247. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +3 -3
  248. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/index.d.ts +0 -1
  249. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.d.ts +1 -1
  250. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.d.ts +0 -1
  251. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.d.ts +0 -1
  252. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/block/index.d.ts +0 -1
  253. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/index.d.ts +0 -1
  254. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/resolved/index.d.ts +0 -1
  255. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/index.d.ts +0 -1
  256. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +0 -1
  257. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/index.d.ts +0 -1
  258. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +0 -1
  259. package/dist/types-ts4.5/view/FlexibleCard/components/common/ai-summary/ai-event-error-viewed.d.ts +1 -1
  260. package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +0 -1
  261. package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/types.d.ts +0 -1
  262. package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +0 -1
  263. package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/index.d.ts +0 -1
  264. package/dist/types-ts4.5/view/FlexibleCard/components/container/layered-link/types.d.ts +0 -1
  265. package/dist/types-ts4.5/view/FlexibleCard/components/elements/applied-to-components-count-element/index.d.ts +0 -1
  266. package/dist/types-ts4.5/view/FlexibleCard/components/elements/assigned-to-element/index.d.ts +0 -1
  267. package/dist/types-ts4.5/view/FlexibleCard/components/elements/assigned-to-group-element/index.d.ts +0 -1
  268. package/dist/types-ts4.5/view/FlexibleCard/components/elements/attachment-count-element/index.d.ts +0 -1
  269. package/dist/types-ts4.5/view/FlexibleCard/components/elements/author-group-element/index.d.ts +0 -1
  270. package/dist/types-ts4.5/view/FlexibleCard/components/elements/checklist-progress-element/index.d.ts +0 -1
  271. package/dist/types-ts4.5/view/FlexibleCard/components/elements/collaborator-group-element/index.d.ts +0 -1
  272. package/dist/types-ts4.5/view/FlexibleCard/components/elements/comment-count-element/index.d.ts +0 -1
  273. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-atlaskit-badge-element/index.d.ts +0 -1
  274. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +0 -1
  275. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +7 -7
  276. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +1 -2
  277. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +12 -13
  278. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/index.d.ts +0 -1
  279. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.d.ts +0 -1
  280. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.d.ts +0 -1
  281. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.d.ts +0 -1
  282. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/type.d.ts +0 -1
  283. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/types.d.ts +0 -1
  284. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +0 -1
  285. package/dist/types-ts4.5/view/FlexibleCard/components/elements/created-by-element/index.d.ts +0 -1
  286. package/dist/types-ts4.5/view/FlexibleCard/components/elements/created-on-element/index.d.ts +0 -1
  287. package/dist/types-ts4.5/view/FlexibleCard/components/elements/due-on-element/index.d.ts +0 -1
  288. package/dist/types-ts4.5/view/FlexibleCard/components/elements/latest-commit-element/index.d.ts +0 -1
  289. package/dist/types-ts4.5/view/FlexibleCard/components/elements/link-icon-element/index.d.ts +0 -1
  290. package/dist/types-ts4.5/view/FlexibleCard/components/elements/location-element/index.d.ts +0 -1
  291. package/dist/types-ts4.5/view/FlexibleCard/components/elements/media-element/index.d.ts +0 -1
  292. package/dist/types-ts4.5/view/FlexibleCard/components/elements/modified-by-element/index.d.ts +0 -1
  293. package/dist/types-ts4.5/view/FlexibleCard/components/elements/modified-on-element/index.d.ts +0 -1
  294. package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +0 -1
  295. package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-group-element/index.d.ts +0 -1
  296. package/dist/types-ts4.5/view/FlexibleCard/components/elements/priority-element/index.d.ts +0 -1
  297. package/dist/types-ts4.5/view/FlexibleCard/components/elements/programming-language-element/index.d.ts +0 -1
  298. package/dist/types-ts4.5/view/FlexibleCard/components/elements/provider-element/index.d.ts +0 -1
  299. package/dist/types-ts4.5/view/FlexibleCard/components/elements/react-count-element/index.d.ts +0 -1
  300. package/dist/types-ts4.5/view/FlexibleCard/components/elements/read-time-element/index.d.ts +0 -1
  301. package/dist/types-ts4.5/view/FlexibleCard/components/elements/sent-on-element/index.d.ts +0 -1
  302. package/dist/types-ts4.5/view/FlexibleCard/components/elements/snippet-element/index.d.ts +0 -1
  303. package/dist/types-ts4.5/view/FlexibleCard/components/elements/source-branch-element/index.d.ts +0 -1
  304. package/dist/types-ts4.5/view/FlexibleCard/components/elements/state-element/index.d.ts +0 -1
  305. package/dist/types-ts4.5/view/FlexibleCard/components/elements/story-points-element/index.d.ts +0 -1
  306. package/dist/types-ts4.5/view/FlexibleCard/components/elements/sub-tasks-progress-element/index.d.ts +0 -1
  307. package/dist/types-ts4.5/view/FlexibleCard/components/elements/subscriber-count-element/index.d.ts +0 -1
  308. package/dist/types-ts4.5/view/FlexibleCard/components/elements/target-branch-element/index.d.ts +0 -1
  309. package/dist/types-ts4.5/view/FlexibleCard/components/elements/team-member-count-element/index.d.ts +0 -1
  310. package/dist/types-ts4.5/view/FlexibleCard/components/elements/title-element/index.d.ts +0 -1
  311. package/dist/types-ts4.5/view/FlexibleCard/components/elements/user-attributes-element/index.d.ts +0 -1
  312. package/dist/types-ts4.5/view/FlexibleCard/components/elements/view-count-element/index.d.ts +0 -1
  313. package/dist/types-ts4.5/view/FlexibleCard/components/elements/vote-count-element/index.d.ts +0 -1
  314. package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +0 -1
  315. package/dist/types-ts4.5/view/HoverCard/components/ContentContainer.d.ts +0 -1
  316. package/dist/types-ts4.5/view/HoverCard/components/views/forbidden/index.d.ts +0 -1
  317. package/dist/types-ts4.5/view/HoverCard/components/views/resolved/index.d.ts +0 -1
  318. package/dist/types-ts4.5/view/HoverCard/components/views/resolving/index.d.ts +0 -1
  319. package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/index.d.ts +0 -1
  320. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +0 -1
  321. package/dist/types-ts4.5/view/InlineCard/common/action-button/index.d.ts +0 -1
  322. package/dist/types-ts4.5/view/InlineCard/common/inline-lozenge/index.d.ts +0 -1
  323. package/dist/types-ts4.5/view/LinkUrl/LinkWarningModal/index.d.ts +0 -1
  324. package/dist/types-ts4.5/view/LinkUrl/types.d.ts +0 -1
  325. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +0 -1
  326. package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +0 -1
  327. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/index.d.ts +0 -1
  328. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-links-list/index.d.ts +0 -1
  329. package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/index.d.ts +0 -1
  330. package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/search-no-result/index.d.ts +0 -1
  331. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolving/index.d.ts +0 -1
  332. package/dist/types-ts4.5/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.d.ts +0 -1
  333. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/animated-svg-container.d.ts +0 -1
  334. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/index.d.ts +0 -1
  335. package/dist/types-ts4.5/view/common/ai-prism/index.d.ts +0 -1
  336. package/dist/types-ts4.5/view/common/ai-summary/index.d.ts +0 -1
  337. package/dist/types-ts4.5/view/common/render-svg.d.ts +0 -1
  338. package/dist/types-ts4.5/view/types.d.ts +0 -1
  339. package/package.json +2 -2
@@ -10,15 +10,15 @@ export declare const mockGenerator: {
10
10
  '@id': string;
11
11
  name: string;
12
12
  };
13
- export declare const mockByUrl: (url: string) => JsonLd.Response<JsonLd.Data.BaseData>;
13
+ export declare const mockByUrl: (url: string) => JsonLd.Response;
14
14
  export declare const mocks: {
15
- success: JsonLd.Response<JsonLd.Data.BaseData>;
15
+ success: JsonLd.Response;
16
16
  entityDataSuccess: SmartLinkResponse;
17
- notFound: JsonLd.Response<JsonLd.Data.BaseData>;
18
- forbidden: JsonLd.Response<JsonLd.Data.BaseData>;
19
- forbiddenWithNoAuth: JsonLd.Response<JsonLd.Data.BaseData>;
20
- unauthorized: JsonLd.Response<JsonLd.Data.BaseData>;
21
- unauthorizedWithNoAuth: JsonLd.Response<JsonLd.Data.BaseData>;
17
+ notFound: JsonLd.Response;
18
+ forbidden: JsonLd.Response;
19
+ forbiddenWithNoAuth: JsonLd.Response;
20
+ unauthorized: JsonLd.Response;
21
+ unauthorizedWithNoAuth: JsonLd.Response;
22
22
  actionSuccess: {
23
23
  meta: {
24
24
  visibility: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type CardAuthFlowOpts, type CardProviderRenderers } from '@atlaskit/link-provider';
3
2
  import { type CardState } from '../../state/types';
4
3
  import { type CardActionOptions, type OnResolveCallback } from '../Card/types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type FlexibleBlockCardProps } from './types';
3
2
  declare const _default: (props: FlexibleBlockCardProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type FlexibleBlockCardProps } from './types';
3
2
  declare const _default: (props: FlexibleBlockCardProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type FlexibleBlockCardProps } from './types';
3
2
  declare const _default: (props: FlexibleBlockCardProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type FlexibleBlockCardProps } from './types';
3
2
  declare const _default: (props: FlexibleBlockCardProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type FlexibleBlockCardProps } from '../types';
3
2
  export declare const withFlexibleUIBlockCardStyle: (FlexibleBlockCardView: React.ComponentType<FlexibleBlockCardProps>) => (props: FlexibleBlockCardProps) => JSX.Element;
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import { type WrappedComponentProps } from 'react-intl-next';
3
3
  import { type CardAppearance, type CardPlatform, type CardProps } from './types';
4
4
  export declare const Card: React.ForwardRefExoticComponent<Omit<Omit<Omit<CardProps & WrappedComponentProps, "intl"> & {
5
- forwardedRef?: React.Ref<any> | undefined;
5
+ forwardedRef?: React.Ref<any>;
6
6
  }, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
7
7
  export type { CardAppearance, CardProps, CardPlatform };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
2
  import { type CardPlatform } from '@atlaskit/link-extractors';
4
3
  import { type CardAppearance } from '@atlaskit/linking-common';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type FrameStyle } from '../types';
3
2
  export interface ExpandedFrameProps {
4
3
  isPlaceholder?: boolean;
@@ -6,5 +6,5 @@ interface IFrameProps {
6
6
  /**
7
7
  * Iframe element isolated for DI purposes
8
8
  */
9
- export declare const IFrame: ({ childRef, className, ...props }: React.ComponentProps<'iframe'> & IFrameProps) => React.JSX.Element;
9
+ export declare const IFrame: ({ childRef, className, ...props }: React.ComponentProps<"iframe"> & IFrameProps) => React.JSX.Element;
10
10
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { FrameStyle } from '../types';
3
2
  export declare const className = "media-card-frame";
4
3
  export declare const embedHeaderHeight = 32;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { UnresolvedViewProps } from './types';
3
2
  declare const UnresolvedView: ({ button, description, frameStyle, icon: iconUrlOrElement, image: imageUrlOrElement, inheritDimensions, isSelected, onClick, testId, text, title, url, }: UnresolvedViewProps) => JSX.Element;
4
3
  export default UnresolvedView;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmbedProps } from './types';
3
2
  declare const EmbedContent: ({ isTrusted, name, src, testId, ariaLabel }: EmbedProps) => JSX.Element;
4
3
  export default EmbedContent;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type LinkInfoProps } from './types';
3
2
  declare const LinkInfo: ({ icon, providerName, onDownloadButtonClick, onResizeButtonClick, onViewButtonClick, size, testId, title, }: LinkInfoProps) => JSX.Element;
4
3
  export default LinkInfo;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { MessageDescriptor } from 'react-intl-next';
3
2
  import type { IconProp } from '@atlaskit/button/new';
4
3
  export type OldLinkInfoButtonProps = {
@@ -1,27 +1,4 @@
1
1
  import React from 'react';
2
- import { EmbedModalSize } from './types';
3
- declare const _default: (props: {
4
- fireEvent?: (<K extends keyof import("../../common/analytics/generated/analytics.types").AnalyticsEventAttributes>(eventKey: K, ...params_1: undefined extends import("../../common/analytics/generated/analytics.types").AnalyticsEventAttributes[K] ? [
5
- param?: import("../../common/analytics/generated/analytics.types").AnalyticsEventAttributes[K] | undefined
6
- ] : [
7
- param: import("../../common/analytics/generated/analytics.types").AnalyticsEventAttributes[K]
8
- ]) => void) | undefined;
9
- invokeDownloadAction?: import("../../state/hooks/use-invoke-client-action/types").InvokeClientActionProps | undefined;
10
- invokeViewAction?: import("../../state/hooks/use-invoke-client-action/types").InvokeClientActionProps | undefined;
11
- iframeName: string;
12
- isTrusted?: boolean | undefined;
13
- isSupportTheming?: boolean | undefined;
14
- linkIcon?: import("../../state/flexible-ui-context/types").Icon | undefined;
15
- onClose: (context: import("./types").EmbedModalContext) => void;
16
- onOpen?: ((context: import("./types").EmbedModalContext) => void) | undefined;
17
- onOpenFailed?: ((error: Error, errorInfo: React.ErrorInfo) => void) | undefined;
18
- onResize?: ((context: import("./types").EmbedModalContext) => void) | undefined;
19
- providerName?: string | undefined;
20
- showModal?: boolean | undefined;
21
- size?: EmbedModalSize | undefined;
22
- src?: string | undefined;
23
- testId?: string | undefined;
24
- title?: string | undefined;
25
- url?: string | undefined;
26
- } & import("./components/analytics/types").WithAnalytics) => React.JSX.Element;
2
+ import { type EmbedModalProps } from './types';
3
+ declare const _default: (props: EmbedModalProps & import("./components/analytics/types").WithAnalytics) => React.JSX.Element;
27
4
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ActionButtonProps } from './types';
3
2
  declare const ActionButton: (props: ActionButtonProps) => JSX.Element;
4
3
  export default ActionButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ActionDropdownItemProps = {
3
2
  content?: React.ReactNode;
4
3
  iconAfter?: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ActionIconProps } from './types';
3
2
  declare const ActionIcon: ({ size, testId, icon, asStackItemIcon }: ActionIconProps) => JSX.Element;
4
3
  export default ActionIcon;
@@ -1,12 +1,6 @@
1
- /// <reference types="react" />
2
1
  import type { TriggerProps } from '@atlaskit/tooltip';
3
2
  import type { ActionStackItemProps } from './types';
4
- declare const ActionButton: ({ content, icon: iconOption, isDisabled, isLoading, onClick: onClickCallback, size, space: spaceOption, testId, tooltipProps, style, }: import("../types").ActionProps & {
5
- size: import("../../../../../..").SmartLinkSize;
6
- space?: import("@atlaskit/primitives/compiled").Space | undefined;
7
- tooltipOnHide?: ((analyticsEvent: import("@atlaskit/analytics-next").UIAnalyticsEvent) => any) | undefined;
8
- hideTooltipOnMouseDown?: boolean | undefined;
9
- } & {
10
- tooltipProps?: TriggerProps | undefined;
3
+ declare const ActionButton: ({ content, icon: iconOption, isDisabled, isLoading, onClick: onClickCallback, size, space: spaceOption, testId, tooltipProps, style, }: ActionStackItemProps & {
4
+ tooltipProps?: TriggerProps;
11
5
  }) => JSX.Element;
12
6
  export default ActionButton;
@@ -19,4 +19,4 @@ export declare const createStubInvokeManuallyTriggeredRule: (stubbedInvocationRe
19
19
  export declare const renderWithDi: (node: ReactElement, dependencies?: any[], options?: RenderOptions & {
20
20
  target?: any;
21
21
  }) => RenderResult;
22
- export declare const createGenericComponent: <T extends unknown = any>(displayName: string, renderChildren?: boolean, childrenParams?: unknown) => T;
22
+ export declare const createGenericComponent: <T extends any = any>(displayName: string, renderChildren?: boolean, childrenParams?: unknown) => T;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const AutomationModalEmptyState: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const AutomationModalErrorState: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const AutomationModalExecutionState: () => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type AutomationModalHeaderProps = {
3
2
  modalTitle?: React.ReactNode;
4
3
  modalDescription?: React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  declare const UnresolvedAction: ({ testId, hasPadding, }: {
3
- testId?: string | undefined;
4
- hasPadding?: boolean | undefined;
3
+ testId?: string;
4
+ hasPadding?: boolean;
5
5
  }) => React.JSX.Element | null;
6
6
  export default UnresolvedAction;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SmartLinkSize } from '../../../../../constants';
3
2
  import type { ActionBlockProps } from './types';
4
3
  /**
@@ -5,8 +5,8 @@ import { type ActionItem } from '../../types';
5
5
  declare const ActionGroupItem: ({ item, size, appearance, asDropDownItems, onActionItemClick, }: {
6
6
  item: ActionItem;
7
7
  size: SmartLinkSize;
8
- appearance?: Appearance | undefined;
9
- asDropDownItems?: boolean | undefined;
10
- onActionItemClick?: (() => void) | undefined;
8
+ appearance?: Appearance;
9
+ asDropDownItems?: boolean;
10
+ onActionItemClick?: () => void;
11
11
  }) => React.JSX.Element | null;
12
12
  export default ActionGroupItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ActionGroupProps } from './types';
3
2
  /**
4
3
  * Creates a group of Action components. Accepts an array of Actions, in addition to some styling
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { AISummaryActionData } from '../../../../../../state/flexible-ui-context/types';
3
3
  export declare const AIFooterMetadata: ({ testId, url }: AISummaryActionData & {
4
- testId?: string | undefined;
4
+ testId?: string;
5
5
  }) => React.JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type FeatureDiscoveryProps = {
3
2
  children: React.ReactElement;
4
3
  testId?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { AISummaryBlockProps } from '../types';
3
2
  type AISummaryBlockResolvedViewProps = AISummaryBlockProps & {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BlockProps } from '../types';
3
2
  /**
4
3
  * A block represents a collection of elements and actions that are arranged
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ElementGroupProps } from './types';
3
2
  /**
4
3
  * Creates a group of Action components. Accepts an array of Actions, in addition to some styling
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { FooterBlockProps } from '../types';
3
2
  declare const FooterBlockResolvedView: (props: FooterBlockProps) => JSX.Element;
4
3
  export default FooterBlockResolvedView;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type MetadataBlockProps } from './types';
3
2
  /**
4
3
  * Represents a MetadataBlock, designed to contain groups of metadata in the form of elements.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type PreviewBlockProps } from '../types';
3
2
  /**
4
3
  * Represents a resolved PreviewBlock, which typically contains media or other large format content.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type TitleBlockProps } from './types';
3
2
  /**
4
3
  * Represents a TitleBlock, which is the foundation of Flexible UI.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type TitleBlockViewProps } from '../types';
3
2
  /**
4
3
  * This renders a fully resolved TitleBlock.
@@ -1,4 +1,4 @@
1
1
  declare const AIEventErrorViewed: ({ reason }: {
2
- reason?: string | undefined;
2
+ reason?: string;
3
3
  }) => null;
4
4
  export default AIEventErrorViewed;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ImageIconProps = {
3
2
  defaultIcon?: React.ReactNode;
4
3
  testId?: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { LoadingSkeletonProps } from './types';
3
2
  export declare const LoadingSkeleton: ({ testId, width, height }: LoadingSkeletonProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type LayeredLinkProps } from './types';
3
2
  /**
4
3
  * An anchor component to cover the entire container creating a clickable area.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type LayeredLinkProps = {
3
2
  /**
4
3
  * Determines the onClick behaviour of the Link. By default used for analytics.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseBadgeElementProps } from '../common';
3
2
  export type AppliedToComponentsCountElementProps = BaseBadgeElementProps;
4
3
  declare const AppliedToComponentsCountElement: (props: AppliedToComponentsCountElementProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseTextElementProps } from '../common';
3
2
  export type AssignedToElementProps = BaseTextElementProps;
4
3
  declare const AssignedToElement: (props: AssignedToElementProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseAvatarGroupElementProps } from '../common';
3
2
  export type AssignedToGroupElementProps = BaseAvatarGroupElementProps;
4
3
  declare const AssignedToGroupElement: (props: AssignedToGroupElementProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseBadgeElementProps } from '../common';
3
2
  export type AttachmentCountElementProps = BaseBadgeElementProps;
4
3
  declare const AttachmentCountElement: (props: AttachmentCountElementProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseAvatarGroupElementProps } from '../common';
3
2
  export type AuthorGroupElementProps = BaseAvatarGroupElementProps;
4
3
  declare const AuthorGroupElement: (props: AuthorGroupElementProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseBadgeElementProps } from '../common';
3
2
  export type ChecklistProgressElementProps = BaseBadgeElementProps;
4
3
  declare const ChecklistProgressElement: (props: ChecklistProgressElementProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseAvatarGroupElementProps } from '../common';
3
2
  export type CollaboratorGroupElementProps = BaseAvatarGroupElementProps;
4
3
  declare const CollaboratorGroupElement: (props: CollaboratorGroupElementProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseBadgeElementProps } from '../common';
3
2
  export type CommentCountElementProps = BaseBadgeElementProps & {
4
3
  onRender?: (hasData: boolean) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ElementProps } from '../../index';
3
2
  export type BaseAtlaskitBadgeElementProps = ElementProps & {
4
3
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ElementProps } from '../../index';
3
2
  export type BaseAvatarItemProps = {
4
3
  /**
@@ -37,31 +37,31 @@ declare const _default: (props: ElementProps & {
37
37
  /**
38
38
  * Badge appearances
39
39
  */
40
- appearance?: "default" | "subtle" | undefined;
40
+ appearance?: "default" | "subtle";
41
41
  /**
42
42
  * Determines whether the badge icon should be hidden. When set to true,
43
43
  * the badge will be displayed without the icon, showing only the label text.
44
44
  */
45
- hideIcon?: boolean | undefined;
45
+ hideIcon?: boolean;
46
46
  /**
47
47
  * The Atlaskit Icon to display next to the label. If this is not supplied,
48
48
  * then the badge icon will fallback to the URL provided.
49
49
  */
50
- icon?: IconType | undefined;
50
+ icon?: IconType;
51
51
  /**
52
52
  * The icon from this URL will be used for the badge if no Atlaskit Icon is provided.
53
53
  */
54
- url?: string | undefined;
54
+ url?: string;
55
55
  /**
56
56
  * The text to display for the badge.
57
57
  */
58
- label?: string | undefined;
58
+ label?: string;
59
59
  /**
60
60
  * Color of the text and badge
61
61
  */
62
- color?: string | undefined;
62
+ color?: string;
63
63
  } & React.RefAttributes<HTMLElement> & {
64
- className?: string | undefined;
64
+ className?: string;
65
65
  }) => React.JSX.Element;
66
66
  export default _default;
67
67
  export declare const toBadgeProps: (label?: string) => Partial<BaseBadgeElementProps> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Prettify } from '@atlaskit/linking-common';
3
2
  import { token } from '@atlaskit/tokens';
4
3
  import type { ElementProps } from '../../../elements';
@@ -39,4 +38,4 @@ export type BaseDateTimeElementProps = ElementProps & {
39
38
  */
40
39
  declare const BaseDateTimeElement: ({ date, name, className, type, testId, text, hideDatePrefix, color, fontSize, }: BaseDateTimeElementProps) => JSX.Element | null;
41
40
  export default BaseDateTimeElement;
42
- export declare const toDateTimeProps: (type: 'created' | 'modified' | 'sent', dateString?: string) => Partial<BaseDateTimeElementProps> | undefined;
41
+ export declare const toDateTimeProps: (type: "created" | "modified" | "sent", dateString?: string) => Partial<BaseDateTimeElementProps> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type IconType, SmartLinkPosition } from '../../../../../../constants';
3
2
  import { type FlexibleUiDataContext } from '../../../../../../state/flexible-ui-context/types';
4
3
  import type { ElementProps } from '../../index';
@@ -47,19 +46,19 @@ export type BaseIconElementProps = ElementProps & {
47
46
  */
48
47
  declare const IconElement: ({ icon, overrideIcon, label, name, position, className, render, size, testId, url, appearance, hideLoadingSkeleton, }: BaseIconElementProps) => JSX.Element;
49
48
  export default IconElement;
50
- export declare const toLinkIconProps: (data: FlexibleUiDataContext[keyof FlexibleUiDataContext] | undefined, type: FlexibleUiDataContext['type']) => string[] | import("../../../../../../state/flexible-ui-context/types").LinkTitle | import("../../../../../../state/flexible-ui-context/types").LinkLocation | import("../../../../../../state/flexible-ui-context/types").Media | import("../../../../../../state/flexible-ui-context/types").FlexibleUiActions | import("../../../../../../state/flexible-ui-context/types").PreviewActionData | import("../../../../../../extractors/common/lozenge/types").LinkLozenge | import("@atlaskit/link-extractors").LinkPerson[] | {
51
- objectId?: string | undefined;
52
- resourceType?: string | undefined;
53
- tenantId?: string | undefined;
54
- accessType?: string | undefined;
49
+ export declare const toLinkIconProps: (data: FlexibleUiDataContext[keyof FlexibleUiDataContext] | undefined, type: FlexibleUiDataContext["type"]) => string[] | import("../../../../../../extractors/common/lozenge/types").LinkLozenge | import("../../../../../../state/flexible-ui-context/types").FlexibleUiActions | import("@atlaskit/link-extractors").LinkPerson[] | import("../../../../../../state/flexible-ui-context/types").PreviewActionData | import("../../../../../../state/flexible-ui-context/types").LinkTitle | import("../../../../../../state/flexible-ui-context/types").Media | import("../../../../../../state/flexible-ui-context/types").LinkLocation | {
50
+ objectId?: string;
51
+ resourceType?: string;
52
+ tenantId?: string;
53
+ accessType?: string;
55
54
  } | {
56
- role?: string | undefined;
57
- department?: string | undefined;
58
- location?: string | undefined;
59
- pronouns?: string | undefined;
55
+ role?: string;
56
+ department?: string;
57
+ location?: string;
58
+ pronouns?: string;
60
59
  } | {
61
60
  appearance: string;
62
- icon?: IconType | undefined;
63
- label?: string | undefined;
64
- url?: string | undefined;
61
+ icon?: IconType;
62
+ label?: string;
63
+ url?: string;
65
64
  } | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type LozengeProps as AtlaskitLozengeProps } from '@atlaskit/lozenge';
3
2
  import type { LinkLozengeInvokeActions } from '../../../../../../extractors/common/lozenge/types';
4
3
  import type { ElementProps } from '../../../elements';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { LozengeActionErrorProps } from './types';
3
2
  declare const LozengeActionError: ({ errorMessage, testId, maxLineNumber, invokePreviewAction, }: LozengeActionErrorProps) => JSX.Element;
4
3
  export default LozengeActionError;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { LozengeActionItemsGroupProps } from './types';
3
2
  declare const LozengeActionItemsGroup: ({ items, testId, onClick }: LozengeActionItemsGroupProps) => JSX.Element;
4
3
  export default LozengeActionItemsGroup;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type LozengeActionTriggerProps } from './type';
3
2
  declare const LozengeActionTrigger: ({ appearance, isOpen, testId, text, triggerRef, ...props }: LozengeActionTriggerProps) => JSX.Element;
4
3
  export default LozengeActionTrigger;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CustomTriggerProps } from '@atlaskit/dropdown-menu';
3
2
  import type { ThemeAppearance } from '@atlaskit/lozenge';
4
3
  export type LozengeActionTriggerProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ThemeAppearance } from '@atlaskit/lozenge';
3
2
  import type { LinkLozengeInvokeActions } from '../../../../../../../extractors/common/lozenge/types';
4
3
  export type LozengeItem = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { MessageDescriptor } from 'react-intl-next';
3
2
  import type { Prettify } from '@atlaskit/linking-common';
4
3
  import { token } from '@atlaskit/tokens';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseTextElementProps } from '../common';
3
2
  export type CreatedByElementProps = BaseTextElementProps;
4
3
  declare const CreatedByElement: (props: CreatedByElementProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type BaseDateTimeElementProps } from '../common';
3
2
  export type CreatedOnProps = BaseDateTimeElementProps;
4
3
  declare const CreatedOnElement: (props: CreatedOnProps) => JSX.Element | null;