@atlaskit/smart-card 34.2.2 → 34.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/utils/index.js +201 -263
  4. package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +8 -13
  5. package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/index.js +5 -8
  6. package/dist/cjs/view/FlexibleCard/components/blocks/block/index.compiled.css +34 -0
  7. package/dist/cjs/view/FlexibleCard/components/blocks/block/index.js +33 -18
  8. package/dist/cjs/view/FlexibleCard/components/blocks/block/indexOld.js +56 -0
  9. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.js +115 -0
  10. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.compiled.css +46 -0
  11. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.js +58 -81
  12. package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/index.js +12 -8
  13. package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/indexOld.js +37 -0
  14. package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/index.compiled.css +15 -0
  15. package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +18 -52
  16. package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/indexOld.js +104 -0
  17. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.js +135 -0
  18. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.js +108 -0
  19. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.js +10 -57
  20. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/index.compiled.css +2 -0
  21. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/index.js +38 -37
  22. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.js +58 -0
  23. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +1 -0
  24. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolved/index.js +24 -16
  25. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +48 -0
  26. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +55 -0
  27. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.js +23 -19
  28. package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +14 -9
  29. package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +4 -9
  30. package/dist/cjs/view/LinkUrl/index.js +1 -1
  31. package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +15 -14
  32. package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.js +63 -0
  33. package/dist/cjs/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.js +61 -0
  34. package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.js +20 -19
  35. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.js +51 -0
  36. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +24 -24
  37. package/dist/cjs/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.js +66 -0
  38. package/dist/cjs/view/RelatedLinksModal/views/errored/error-svg/index.compiled.css +6 -0
  39. package/dist/cjs/view/RelatedLinksModal/views/errored/error-svg/index.js +31 -25
  40. package/dist/cjs/view/RelatedLinksModal/views/resolved/ResolvedOld.js +45 -0
  41. package/dist/cjs/view/RelatedLinksModal/views/resolved/index.js +16 -14
  42. package/dist/cjs/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.js +141 -0
  43. package/dist/cjs/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.compiled.css +6 -0
  44. package/dist/cjs/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.js +56 -50
  45. package/dist/es2019/utils/analytics/analytics.js +1 -1
  46. package/dist/es2019/utils/index.js +69 -55
  47. package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +1 -3
  48. package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/index.js +1 -4
  49. package/dist/es2019/view/FlexibleCard/components/blocks/block/index.compiled.css +34 -0
  50. package/dist/es2019/view/FlexibleCard/components/blocks/block/index.js +32 -35
  51. package/dist/es2019/view/FlexibleCard/components/blocks/block/indexOld.js +62 -0
  52. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.js +113 -0
  53. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.compiled.css +46 -0
  54. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.js +60 -95
  55. package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/index.js +12 -8
  56. package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/indexOld.js +28 -0
  57. package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/index.compiled.css +15 -0
  58. package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +14 -62
  59. package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/indexOld.js +106 -0
  60. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.js +118 -0
  61. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.js +102 -0
  62. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.js +11 -57
  63. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/index.compiled.css +2 -0
  64. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/index.js +35 -36
  65. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.js +50 -0
  66. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +1 -0
  67. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolved/index.js +15 -11
  68. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +42 -0
  69. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +55 -0
  70. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.js +20 -18
  71. package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +9 -2
  72. package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +1 -3
  73. package/dist/es2019/view/LinkUrl/index.js +1 -1
  74. package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +15 -14
  75. package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.js +55 -0
  76. package/dist/es2019/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.js +55 -0
  77. package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.js +19 -18
  78. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.js +42 -0
  79. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +23 -22
  80. package/dist/es2019/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.js +58 -0
  81. package/dist/es2019/view/RelatedLinksModal/views/errored/error-svg/index.compiled.css +6 -0
  82. package/dist/es2019/view/RelatedLinksModal/views/errored/error-svg/index.js +28 -24
  83. package/dist/es2019/view/RelatedLinksModal/views/resolved/ResolvedOld.js +36 -0
  84. package/dist/es2019/view/RelatedLinksModal/views/resolved/index.js +16 -13
  85. package/dist/es2019/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.js +133 -0
  86. package/dist/es2019/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.compiled.css +6 -0
  87. package/dist/es2019/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.js +53 -49
  88. package/dist/esm/utils/analytics/analytics.js +1 -1
  89. package/dist/esm/utils/index.js +116 -162
  90. package/dist/esm/view/FlexibleCard/components/actions/action/index.js +1 -3
  91. package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/index.js +1 -4
  92. package/dist/esm/view/FlexibleCard/components/blocks/block/index.compiled.css +34 -0
  93. package/dist/esm/view/FlexibleCard/components/blocks/block/index.js +31 -20
  94. package/dist/esm/view/FlexibleCard/components/blocks/block/indexOld.js +50 -0
  95. package/dist/esm/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.js +108 -0
  96. package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.compiled.css +46 -0
  97. package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.js +54 -79
  98. package/dist/esm/view/FlexibleCard/components/blocks/preview-block/index.js +12 -8
  99. package/dist/esm/view/FlexibleCard/components/blocks/preview-block/indexOld.js +30 -0
  100. package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/index.compiled.css +15 -0
  101. package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +15 -53
  102. package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/indexOld.js +98 -0
  103. package/dist/esm/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.js +127 -0
  104. package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.js +101 -0
  105. package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.js +11 -56
  106. package/dist/esm/view/FlexibleCard/components/blocks/title-block/index.compiled.css +2 -0
  107. package/dist/esm/view/FlexibleCard/components/blocks/title-block/index.js +36 -37
  108. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.js +53 -0
  109. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +1 -0
  110. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolved/index.js +15 -11
  111. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +42 -0
  112. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +55 -0
  113. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.js +20 -18
  114. package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +14 -9
  115. package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +1 -3
  116. package/dist/esm/view/LinkUrl/index.js +1 -1
  117. package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +15 -14
  118. package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.js +53 -0
  119. package/dist/esm/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.js +54 -0
  120. package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.js +19 -18
  121. package/dist/esm/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.js +43 -0
  122. package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +24 -23
  123. package/dist/esm/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.js +58 -0
  124. package/dist/esm/view/RelatedLinksModal/views/errored/error-svg/index.compiled.css +6 -0
  125. package/dist/esm/view/RelatedLinksModal/views/errored/error-svg/index.js +28 -24
  126. package/dist/esm/view/RelatedLinksModal/views/resolved/ResolvedOld.js +37 -0
  127. package/dist/esm/view/RelatedLinksModal/views/resolved/index.js +16 -13
  128. package/dist/esm/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.js +133 -0
  129. package/dist/esm/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.compiled.css +6 -0
  130. package/dist/esm/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.js +53 -49
  131. package/dist/types/utils/index.d.ts +2 -0
  132. package/dist/types/view/FlexibleCard/components/blocks/block/index.d.ts +3 -10
  133. package/dist/types/view/FlexibleCard/components/blocks/block/indexOld.d.ts +11 -0
  134. package/dist/types/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.d.ts +17 -0
  135. package/dist/types/view/FlexibleCard/components/blocks/element-group/index.d.ts +5 -9
  136. package/dist/types/view/FlexibleCard/components/blocks/element-group/types.d.ts +1 -0
  137. package/dist/types/view/FlexibleCard/components/blocks/preview-block/index.d.ts +3 -13
  138. package/dist/types/view/FlexibleCard/components/blocks/preview-block/indexOld.d.ts +14 -0
  139. package/dist/types/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +2 -2
  140. package/dist/types/view/FlexibleCard/components/blocks/preview-block/resolved/indexOld.d.ts +10 -0
  141. package/dist/types/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.d.ts +16 -0
  142. package/dist/types/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.d.ts +15 -0
  143. package/dist/types/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +5 -7
  144. package/dist/types/view/FlexibleCard/components/blocks/title-block/index.d.ts +1 -13
  145. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.d.ts +9 -0
  146. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +8 -2
  147. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.d.ts +14 -0
  148. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +5 -3
  149. package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +2 -0
  150. package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +3 -7
  151. package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.d.ts +8 -0
  152. package/dist/types/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.d.ts +8 -0
  153. package/dist/types/view/RelatedLinksModal/components/related-link-item/index.d.ts +3 -7
  154. package/dist/types/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.d.ts +8 -0
  155. package/dist/types/view/RelatedLinksModal/components/related-links-list/index.d.ts +3 -7
  156. package/dist/types/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.d.ts +6 -0
  157. package/dist/types/view/RelatedLinksModal/views/errored/error-svg/index.d.ts +2 -6
  158. package/dist/types/view/RelatedLinksModal/views/resolved/ResolvedOld.d.ts +8 -0
  159. package/dist/types/view/RelatedLinksModal/views/resolved/index.d.ts +3 -7
  160. package/dist/types/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.d.ts +6 -0
  161. package/dist/types/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.d.ts +2 -6
  162. package/dist/types-ts4.5/utils/index.d.ts +2 -0
  163. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/block/index.d.ts +3 -10
  164. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/block/indexOld.d.ts +11 -0
  165. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.d.ts +17 -0
  166. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/index.d.ts +5 -9
  167. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/types.d.ts +1 -0
  168. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/index.d.ts +3 -13
  169. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/indexOld.d.ts +14 -0
  170. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/index.d.ts +2 -2
  171. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/resolved/indexOld.d.ts +10 -0
  172. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.d.ts +16 -0
  173. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.d.ts +15 -0
  174. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +5 -7
  175. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/index.d.ts +1 -13
  176. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.d.ts +9 -0
  177. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +8 -2
  178. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.d.ts +14 -0
  179. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +5 -3
  180. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +2 -0
  181. package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +3 -7
  182. package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.d.ts +8 -0
  183. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.d.ts +8 -0
  184. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/index.d.ts +3 -7
  185. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.d.ts +8 -0
  186. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-links-list/index.d.ts +3 -7
  187. package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.d.ts +6 -0
  188. package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/index.d.ts +2 -6
  189. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolved/ResolvedOld.d.ts +8 -0
  190. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolved/index.d.ts +3 -7
  191. package/dist/types-ts4.5/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.d.ts +6 -0
  192. package/dist/types-ts4.5/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.d.ts +2 -6
  193. package/package.json +4 -4
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type PreviewBlockProps } from './types';
7
+ /**
8
+ * Represents a PreviewBlock, which typically contains media or other large format content.
9
+ * @public
10
+ * @param {PreviewBlockProps} PreviewBlock
11
+ * @see Block
12
+ */
13
+ declare const PreviewBlock: ({ status, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => jsx.JSX.Element;
14
+ export default PreviewBlock;
@@ -1,4 +1,4 @@
1
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
2
2
  import { type PreviewBlockProps } from '../types';
3
3
  /**
4
4
  * Represents a resolved PreviewBlock, which typically contains media or other large format content.
@@ -6,5 +6,5 @@ import { type PreviewBlockProps } from '../types';
6
6
  * @param {PreviewBlock} PreviewBlock
7
7
  * @see Block
8
8
  */
9
- declare const PreviewBlockResolvedView: ({ ignoreContainerPadding, onError, overrideCss, placement, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => jsx.JSX.Element;
9
+ declare const PreviewBlockResolvedView: ({ ignoreContainerPadding, onError, className, placement, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => JSX.Element;
10
10
  export default PreviewBlockResolvedView;
@@ -0,0 +1,10 @@
1
+ import { jsx } from '@emotion/react';
2
+ import { type PreviewBlockProps } from '../types';
3
+ /**
4
+ * Represents a resolved PreviewBlock, which typically contains media or other large format content.
5
+ * @public
6
+ * @param {PreviewBlock} PreviewBlock
7
+ * @see Block
8
+ */
9
+ declare const PreviewBlockResolvedView: ({ ignoreContainerPadding, onError, overrideCss, placement, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => jsx.JSX.Element;
10
+ export default PreviewBlockResolvedView;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { type TitleBlockProps } from './types';
3
+ /**
4
+ * Represents a TitleBlock, which is the foundation of Flexible UI.
5
+ * This contains an icon, the link, and any associated metadata and actions in one block.
6
+ * The TitleBlock will also render differently given the state of the smart link.
7
+ * This can be found in the corresponding Resolving, Resolved and Errored views.
8
+ * @public
9
+ * @param {TitleBlockProps} TitleBlockProps
10
+ * @see Block
11
+ * @see TitleBlockResolvingView
12
+ * @see TitleBlockResolvedView
13
+ * @see TitleBlockErroredView
14
+ */
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
+ export default TitleBlock;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type TitleBlockViewProps } from '../types';
7
+ /**
8
+ * Represents an Errored TitleBlock view.
9
+ * This will render when a Smart Link did not successfully resolve.
10
+ * This may be a result of a Smart Link not having the correct credentials,
11
+ * or the backend response was errored or malformed.
12
+ * @see TitleBlock
13
+ */
14
+ declare const TitleBlockErroredView: ({ actionGroup, retry, position, testId, title, icon, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
15
+ export default TitleBlockErroredView;
@@ -1,9 +1,6 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
6
2
  import { type TitleBlockViewProps } from '../types';
3
+ import TitleBlockErroredViewOld from './TitleBlockErroredViewOld';
7
4
  /**
8
5
  * Represents an Errored TitleBlock view.
9
6
  * This will render when a Smart Link did not successfully resolve.
@@ -11,5 +8,6 @@ import { type TitleBlockViewProps } from '../types';
11
8
  * or the backend response was errored or malformed.
12
9
  * @see TitleBlock
13
10
  */
14
- declare const TitleBlockErroredView: ({ actionGroup, retry, position, testId, title, icon, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
15
- export default TitleBlockErroredView;
11
+ declare const TitleBlockErroredViewNew: ({ actionGroup, retry, position, testId, title, icon, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
12
+ export default TitleBlockErroredViewOld;
13
+ export { TitleBlockErroredViewNew };
@@ -1,16 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { type TitleBlockProps } from './types';
3
- /**
4
- * Represents a TitleBlock, which is the foundation of Flexible UI.
5
- * This contains an icon, the link, and any associated metadata and actions in one block.
6
- * The TitleBlock will also render differently given the state of the smart link.
7
- * This can be found in the corresponding Resolving, Resolved and Errored views.
8
- * @public
9
- * @param {TitleBlockProps} TitleBlockProps
10
- * @see Block
11
- * @see TitleBlockResolvingView
12
- * @see TitleBlockResolvedView
13
- * @see TitleBlockErroredView
14
- */
15
- declare const TitleBlock: ({ actions, anchorTarget, hideTitleTooltip, maxLines, onActionMenuOpenChange, onClick, overrideCss, status, showActionOnHover, testId, text, icon, theme, hideRetry, metadataPosition, hideIcon, ...props }: TitleBlockProps) => JSX.Element;
3
+ declare const TitleBlock: (props: TitleBlockProps) => JSX.Element;
16
4
  export default TitleBlock;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { type TitleBlockViewProps } from '../types';
3
+ /**
4
+ * This renders a fully resolved TitleBlock.
5
+ * This should render when a Smart Link returns a valid response.
6
+ * @see TitleBlock
7
+ */
8
+ declare const TitleBlockResolvedView: ({ actionGroup, metadata, position, subtitle, testId, text, icon, title, metadataPosition, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
9
+ export default TitleBlockResolvedView;
@@ -1,9 +1,15 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
1
5
  /// <reference types="react" />
2
6
  import { type TitleBlockViewProps } from '../types';
7
+ import TitleBlockResolvedViewOld from './TitleBlockResolvedViewOld';
3
8
  /**
4
9
  * This renders a fully resolved TitleBlock.
5
10
  * This should render when a Smart Link returns a valid response.
6
11
  * @see TitleBlock
7
12
  */
8
- declare const TitleBlockResolvedView: ({ actionGroup, metadata, position, subtitle, testId, text, icon, title, metadataPosition, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
9
- export default TitleBlockResolvedView;
13
+ declare const TitleBlockResolvedViewNew: ({ actionGroup, metadata, position, subtitle, testId, text, icon, title, metadataPosition, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
14
+ export default TitleBlockResolvedViewOld;
15
+ export { TitleBlockResolvedViewNew };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type TitleBlockViewProps } from '../types';
7
+ /**
8
+ * This represents a TitleBlock for a Smart Link that is currently waiting
9
+ * for a request to finish.
10
+ * This should render when a Smart Link has sent a request.
11
+ * @see TitleBlock
12
+ */
13
+ declare const TitleBlockResolvingView: ({ actionGroup, testId, title, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
14
+ export default TitleBlockResolvingView;
@@ -2,13 +2,15 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { jsx } from '@emotion/react';
5
+ /// <reference types="react" />
6
6
  import { type TitleBlockViewProps } from '../types';
7
+ import TitleBlockResolvingViewOld from './TitleBlockResolvingViewOld';
7
8
  /**
8
9
  * This represents a TitleBlock for a Smart Link that is currently waiting
9
10
  * for a request to finish.
10
11
  * This should render when a Smart Link has sent a request.
11
12
  * @see TitleBlock
12
13
  */
13
- declare const TitleBlockResolvingView: ({ actionGroup, testId, title, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
14
- export default TitleBlockResolvingView;
14
+ declare const TitleBlockResolvingViewNew: ({ actionGroup, testId, title, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
15
+ export default TitleBlockResolvingViewOld;
16
+ export { TitleBlockResolvingViewNew };
@@ -17,8 +17,10 @@ export type BlockProps = {
17
17
  * Any additional CSS properties to apply to the block.
18
18
  * The use of this prop is **strongly** discouraged.
19
19
  * `@emotion/react` will be replaced with compiled.
20
+ * @deprecated
20
21
  */
21
22
  overrideCss?: SerializedStyles;
23
+ className?: string;
22
24
  /**
23
25
  * The size of the block and the size that the underlying elements should
24
26
  * default to.
@@ -1,8 +1,4 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
6
2
  import { type RelatedLinksBaseModalProps } from './types';
7
- declare const RelatedLinksBaseModal: ({ onClose, showModal, children }: RelatedLinksBaseModalProps) => jsx.JSX.Element;
8
- export default RelatedLinksBaseModal;
3
+ declare const RelatedLinksBaseModalExported: (props: RelatedLinksBaseModalProps) => JSX.Element;
4
+ export default RelatedLinksBaseModalExported;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type RelatedLinksBaseModalProps } from './types';
7
+ declare const RelatedLinksBaseModal: ({ onClose, showModal, children }: RelatedLinksBaseModalProps) => jsx.JSX.Element;
8
+ export default RelatedLinksBaseModal;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type RelatedLinkItemProp } from '../types';
7
+ declare const RelatedLinkItem: ({ url, testId }: RelatedLinkItemProp) => jsx.JSX.Element;
8
+ export default RelatedLinkItem;
@@ -1,8 +1,4 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
6
2
  import { type RelatedLinkItemProp } from '../types';
7
- declare const RelatedLinkItem: ({ url, testId }: RelatedLinkItemProp) => jsx.JSX.Element;
8
- export default RelatedLinkItem;
3
+ declare const RelatedLinkItemExported: (props: RelatedLinkItemProp) => JSX.Element;
4
+ export default RelatedLinkItemExported;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type RelatedLinksListProp } from '../types';
7
+ declare const RelatedLinksList: ({ urls, title, testId }: RelatedLinksListProp) => jsx.JSX.Element;
8
+ export default RelatedLinksList;
@@ -1,8 +1,4 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
6
2
  import { type RelatedLinksListProp } from '../types';
7
- declare const RelatedLinksList: ({ urls, title, testId }: RelatedLinksListProp) => jsx.JSX.Element;
8
- export default RelatedLinksList;
3
+ declare const RelatedLinksListExported: (props: RelatedLinksListProp) => JSX.Element;
4
+ export default RelatedLinksListExported;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ export declare const ErrorSVGOld: (props: React.SVGProps<SVGSVGElement>) => jsx.JSX.Element;
@@ -1,6 +1,2 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
6
- export declare const ErrorSVG: (props: React.SVGProps<SVGSVGElement>) => jsx.JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const ErrorSVG: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type RelatedLinksProps } from './types';
7
+ declare const RelatedLinksResolvedView: ({ incomingLinks, outgoingLinks, }: RelatedLinksProps) => jsx.JSX.Element;
8
+ export default RelatedLinksResolvedView;
@@ -1,8 +1,4 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
6
2
  import { type RelatedLinksProps } from './types';
7
- declare const RelatedLinksResolvedView: ({ incomingLinks, outgoingLinks, }: RelatedLinksProps) => jsx.JSX.Element;
8
- export default RelatedLinksResolvedView;
3
+ declare const RelatedLinksResolvedExported: (props: RelatedLinksProps) => JSX.Element;
4
+ export default RelatedLinksResolvedExported;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ export declare const UnavailableSVGOld: (props: React.SVGProps<SVGSVGElement>) => jsx.JSX.Element;
@@ -1,6 +1,2 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
6
- export declare const UnavailableSVG: (props: React.SVGProps<SVGSVGElement>) => jsx.JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const UnavailableSVG: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type ActiveThemeState } from '@atlaskit/tokens';
3
+ import { IconType } from '../constants';
3
4
  export declare const isSpecialEvent: (evt: React.MouseEvent | React.KeyboardEvent) => boolean;
4
5
  export declare const isIframe: () => boolean;
5
6
  /**
@@ -15,6 +16,7 @@ export declare const isSpecialKey: (event: React.MouseEvent | React.KeyboardEven
15
16
  export declare const isSpecialClick: (event: React.MouseEvent) => boolean;
16
17
  export declare const getIconForFileType: (fileMimeType: string) => React.ReactNode | undefined;
17
18
  export declare const getLabelForFileType: (fileMimeType: string) => React.ReactNode | undefined;
19
+ export declare const getLazyIcons: () => Partial<Record<IconType, () => Promise<unknown>>>;
18
20
  export declare const getIframeSandboxAttribute: (isTrusted: boolean) => "allow-downloads allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts" | undefined;
19
21
  export declare const handleOnClick: (handler: Function) => (e: React.BaseSyntheticEvent) => void;
20
22
  export declare const isIntersectionObserverSupported: () => boolean;
@@ -1,11 +1,4 @@
1
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
2
2
  import { type BlockProps } from '../types';
3
- /**
4
- * A block represents a collection of elements and actions that are arranged
5
- * in a row. All elements and actions should be contained within a Block.
6
- * @internal
7
- * @param {ActionGroupProps} ActionGroupProps
8
- * @see Action
9
- */
10
- declare const Block: ({ children, direction, size, testId, overrideCss, blockRef, onRender, onTransitionEnd, }: BlockProps) => jsx.JSX.Element;
11
- export default Block;
3
+ declare const Exported: (props: BlockProps) => JSX.Element;
4
+ export default Exported;
@@ -0,0 +1,11 @@
1
+ import { jsx } from '@emotion/react';
2
+ import { type BlockProps } from '../types';
3
+ /**
4
+ * A block represents a collection of elements and actions that are arranged
5
+ * in a row. All elements and actions should be contained within a Block.
6
+ * @internal
7
+ * @param {ActionGroupProps} ActionGroupProps
8
+ * @see Action
9
+ */
10
+ declare const Block: ({ children, direction, size, testId, overrideCss, blockRef, onRender, onTransitionEnd, }: BlockProps) => jsx.JSX.Element;
11
+ export default Block;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx, type SerializedStyles } from '@emotion/react';
6
+ import { SmartLinkAlignment, SmartLinkDirection, SmartLinkPosition, SmartLinkSize, SmartLinkWidth } from '../../../../../constants';
7
+ import { type ElementGroupProps } from './types';
8
+ export declare const getElementGroupStyles: (direction: SmartLinkDirection, size: SmartLinkSize, align: SmartLinkAlignment, width: SmartLinkWidth, position: SmartLinkPosition) => SerializedStyles;
9
+ /**
10
+ * Creates a group of Action components. Accepts an array of Actions, in addition to some styling
11
+ * preferences.
12
+ * @internal
13
+ * @param {ActionGroupProps} ActionGroupProps
14
+ * @see Action
15
+ */
16
+ declare const ElementGroup: ({ align, children, overrideCss, direction, size, testId, width, position, }: ElementGroupProps) => jsx.JSX.Element;
17
+ export default ElementGroup;
@@ -1,11 +1,6 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx, type SerializedStyles } from '@emotion/react';
6
- import { SmartLinkAlignment, SmartLinkDirection, SmartLinkPosition, SmartLinkSize, SmartLinkWidth } from '../../../../../constants';
1
+ /// <reference types="react" />
2
+ import ElementGroupOld from './ElementGroupOld';
7
3
  import { type ElementGroupProps } from './types';
8
- export declare const getElementGroupStyles: (direction: SmartLinkDirection, size: SmartLinkSize, align: SmartLinkAlignment, width: SmartLinkWidth, position: SmartLinkPosition) => SerializedStyles;
9
4
  /**
10
5
  * Creates a group of Action components. Accepts an array of Actions, in addition to some styling
11
6
  * preferences.
@@ -13,5 +8,6 @@ export declare const getElementGroupStyles: (direction: SmartLinkDirection, size
13
8
  * @param {ActionGroupProps} ActionGroupProps
14
9
  * @see Action
15
10
  */
16
- declare const ElementGroup: ({ align, children, overrideCss, direction, size, testId, width, position, }: ElementGroupProps) => jsx.JSX.Element;
17
- export default ElementGroup;
11
+ declare const ElementGroupNew: ({ align, children, direction, size, testId, width, position, className, }: ElementGroupProps) => JSX.Element;
12
+ export default ElementGroupOld;
13
+ export { ElementGroupNew };
@@ -9,4 +9,5 @@ export type ElementGroupProps = PropsWithChildren<{
9
9
  width?: SmartLinkWidth;
10
10
  testId?: string;
11
11
  position?: SmartLinkPosition;
12
+ className?: string;
12
13
  }>;
@@ -1,14 +1,4 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
6
2
  import { type PreviewBlockProps } from './types';
7
- /**
8
- * Represents a PreviewBlock, which typically contains media or other large format content.
9
- * @public
10
- * @param {PreviewBlockProps} PreviewBlock
11
- * @see Block
12
- */
13
- declare const PreviewBlock: ({ status, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => jsx.JSX.Element;
14
- export default PreviewBlock;
3
+ declare const Exported: (props: PreviewBlockProps) => JSX.Element;
4
+ export default Exported;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type PreviewBlockProps } from './types';
7
+ /**
8
+ * Represents a PreviewBlock, which typically contains media or other large format content.
9
+ * @public
10
+ * @param {PreviewBlockProps} PreviewBlock
11
+ * @see Block
12
+ */
13
+ declare const PreviewBlock: ({ status, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => jsx.JSX.Element;
14
+ export default PreviewBlock;
@@ -1,4 +1,4 @@
1
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
2
2
  import { type PreviewBlockProps } from '../types';
3
3
  /**
4
4
  * Represents a resolved PreviewBlock, which typically contains media or other large format content.
@@ -6,5 +6,5 @@ import { type PreviewBlockProps } from '../types';
6
6
  * @param {PreviewBlock} PreviewBlock
7
7
  * @see Block
8
8
  */
9
- declare const PreviewBlockResolvedView: ({ ignoreContainerPadding, onError, overrideCss, placement, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => jsx.JSX.Element;
9
+ declare const PreviewBlockResolvedView: ({ ignoreContainerPadding, onError, className, placement, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => JSX.Element;
10
10
  export default PreviewBlockResolvedView;
@@ -0,0 +1,10 @@
1
+ import { jsx } from '@emotion/react';
2
+ import { type PreviewBlockProps } from '../types';
3
+ /**
4
+ * Represents a resolved PreviewBlock, which typically contains media or other large format content.
5
+ * @public
6
+ * @param {PreviewBlock} PreviewBlock
7
+ * @see Block
8
+ */
9
+ declare const PreviewBlockResolvedView: ({ ignoreContainerPadding, onError, overrideCss, placement, testId, overrideUrl, ...blockProps }: PreviewBlockProps) => jsx.JSX.Element;
10
+ export default PreviewBlockResolvedView;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { type TitleBlockProps } from './types';
3
+ /**
4
+ * Represents a TitleBlock, which is the foundation of Flexible UI.
5
+ * This contains an icon, the link, and any associated metadata and actions in one block.
6
+ * The TitleBlock will also render differently given the state of the smart link.
7
+ * This can be found in the corresponding Resolving, Resolved and Errored views.
8
+ * @public
9
+ * @param {TitleBlockProps} TitleBlockProps
10
+ * @see Block
11
+ * @see TitleBlockResolvingView
12
+ * @see TitleBlockResolvedView
13
+ * @see TitleBlockErroredView
14
+ */
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
+ export default TitleBlock;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type TitleBlockViewProps } from '../types';
7
+ /**
8
+ * Represents an Errored TitleBlock view.
9
+ * This will render when a Smart Link did not successfully resolve.
10
+ * This may be a result of a Smart Link not having the correct credentials,
11
+ * or the backend response was errored or malformed.
12
+ * @see TitleBlock
13
+ */
14
+ declare const TitleBlockErroredView: ({ actionGroup, retry, position, testId, title, icon, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
15
+ export default TitleBlockErroredView;
@@ -1,9 +1,6 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
1
+ /// <reference types="react" />
6
2
  import { type TitleBlockViewProps } from '../types';
3
+ import TitleBlockErroredViewOld from './TitleBlockErroredViewOld';
7
4
  /**
8
5
  * Represents an Errored TitleBlock view.
9
6
  * This will render when a Smart Link did not successfully resolve.
@@ -11,5 +8,6 @@ import { type TitleBlockViewProps } from '../types';
11
8
  * or the backend response was errored or malformed.
12
9
  * @see TitleBlock
13
10
  */
14
- declare const TitleBlockErroredView: ({ actionGroup, retry, position, testId, title, icon, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
15
- export default TitleBlockErroredView;
11
+ declare const TitleBlockErroredViewNew: ({ actionGroup, retry, position, testId, title, icon, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
12
+ export default TitleBlockErroredViewOld;
13
+ export { TitleBlockErroredViewNew };
@@ -1,16 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { type TitleBlockProps } from './types';
3
- /**
4
- * Represents a TitleBlock, which is the foundation of Flexible UI.
5
- * This contains an icon, the link, and any associated metadata and actions in one block.
6
- * The TitleBlock will also render differently given the state of the smart link.
7
- * This can be found in the corresponding Resolving, Resolved and Errored views.
8
- * @public
9
- * @param {TitleBlockProps} TitleBlockProps
10
- * @see Block
11
- * @see TitleBlockResolvingView
12
- * @see TitleBlockResolvedView
13
- * @see TitleBlockErroredView
14
- */
15
- declare const TitleBlock: ({ actions, anchorTarget, hideTitleTooltip, maxLines, onActionMenuOpenChange, onClick, overrideCss, status, showActionOnHover, testId, text, icon, theme, hideRetry, metadataPosition, hideIcon, ...props }: TitleBlockProps) => JSX.Element;
3
+ declare const TitleBlock: (props: TitleBlockProps) => JSX.Element;
16
4
  export default TitleBlock;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { type TitleBlockViewProps } from '../types';
3
+ /**
4
+ * This renders a fully resolved TitleBlock.
5
+ * This should render when a Smart Link returns a valid response.
6
+ * @see TitleBlock
7
+ */
8
+ declare const TitleBlockResolvedView: ({ actionGroup, metadata, position, subtitle, testId, text, icon, title, metadataPosition, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
9
+ export default TitleBlockResolvedView;
@@ -1,9 +1,15 @@
1
1
  /// <reference types="react" />
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
2
6
  import { type TitleBlockViewProps } from '../types';
7
+ import TitleBlockResolvedViewOld from './TitleBlockResolvedViewOld';
3
8
  /**
4
9
  * This renders a fully resolved TitleBlock.
5
10
  * This should render when a Smart Link returns a valid response.
6
11
  * @see TitleBlock
7
12
  */
8
- declare const TitleBlockResolvedView: ({ actionGroup, metadata, position, subtitle, testId, text, icon, title, metadataPosition, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
9
- export default TitleBlockResolvedView;
13
+ declare const TitleBlockResolvedViewNew: ({ actionGroup, metadata, position, subtitle, testId, text, icon, title, metadataPosition, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
14
+ export default TitleBlockResolvedViewOld;
15
+ export { TitleBlockResolvedViewNew };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { jsx } from '@emotion/react';
6
+ import { type TitleBlockViewProps } from '../types';
7
+ /**
8
+ * This represents a TitleBlock for a Smart Link that is currently waiting
9
+ * for a request to finish.
10
+ * This should render when a Smart Link has sent a request.
11
+ * @see TitleBlock
12
+ */
13
+ declare const TitleBlockResolvingView: ({ actionGroup, testId, title, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
14
+ export default TitleBlockResolvingView;
@@ -1,14 +1,16 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @jsxRuntime classic
3
4
  * @jsx jsx
4
5
  */
5
- import { jsx } from '@emotion/react';
6
6
  import { type TitleBlockViewProps } from '../types';
7
+ import TitleBlockResolvingViewOld from './TitleBlockResolvingViewOld';
7
8
  /**
8
9
  * This represents a TitleBlock for a Smart Link that is currently waiting
9
10
  * for a request to finish.
10
11
  * This should render when a Smart Link has sent a request.
11
12
  * @see TitleBlock
12
13
  */
13
- declare const TitleBlockResolvingView: ({ actionGroup, testId, title, hideIcon, ...blockProps }: TitleBlockViewProps) => jsx.JSX.Element;
14
- export default TitleBlockResolvingView;
14
+ declare const TitleBlockResolvingViewNew: ({ actionGroup, testId, title, hideIcon, ...blockProps }: TitleBlockViewProps) => JSX.Element;
15
+ export default TitleBlockResolvingViewOld;
16
+ export { TitleBlockResolvingViewNew };
@@ -17,8 +17,10 @@ export type BlockProps = {
17
17
  * Any additional CSS properties to apply to the block.
18
18
  * The use of this prop is **strongly** discouraged.
19
19
  * `@emotion/react` will be replaced with compiled.
20
+ * @deprecated
20
21
  */
21
22
  overrideCss?: SerializedStyles;
23
+ className?: string;
22
24
  /**
23
25
  * The size of the block and the size that the underlying elements should
24
26
  * default to.