@atlaskit/smart-card 40.13.0 → 40.13.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 (247) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/i18n/en.js +5 -0
  3. package/dist/cjs/i18n/en_GB.js +5 -0
  4. package/dist/cjs/i18n/en_ZZ.js +5 -0
  5. package/dist/cjs/utils/analytics/analytics.js +1 -1
  6. package/dist/cjs/view/BlockCard/index.js +3 -0
  7. package/dist/cjs/view/BlockCard/views/utils/index.js +1 -1
  8. package/dist/cjs/view/EmbedCard/index.js +3 -0
  9. package/dist/cjs/view/InlineCard/index.js +3 -0
  10. package/dist/cjs/view/LinkUrl/index.js +1 -1
  11. package/dist/es2019/i18n/en.js +5 -0
  12. package/dist/es2019/i18n/en_GB.js +5 -0
  13. package/dist/es2019/i18n/en_ZZ.js +5 -0
  14. package/dist/es2019/utils/analytics/analytics.js +1 -1
  15. package/dist/es2019/view/BlockCard/index.js +2 -0
  16. package/dist/es2019/view/BlockCard/views/utils/index.js +1 -1
  17. package/dist/es2019/view/EmbedCard/index.js +2 -0
  18. package/dist/es2019/view/InlineCard/index.js +2 -0
  19. package/dist/es2019/view/LinkUrl/index.js +1 -1
  20. package/dist/esm/i18n/en.js +5 -0
  21. package/dist/esm/i18n/en_GB.js +5 -0
  22. package/dist/esm/i18n/en_ZZ.js +5 -0
  23. package/dist/esm/utils/analytics/analytics.js +1 -1
  24. package/dist/esm/view/BlockCard/index.js +2 -0
  25. package/dist/esm/view/BlockCard/views/utils/index.js +1 -1
  26. package/dist/esm/view/EmbedCard/index.js +2 -0
  27. package/dist/esm/view/InlineCard/index.js +2 -0
  28. package/dist/esm/view/LinkUrl/index.js +1 -1
  29. package/dist/types/extractors/action/extract-invoke-preview-action.d.ts +5 -5
  30. package/dist/types/extractors/common/actions/types.d.ts +2 -2
  31. package/dist/types/extractors/common/context/extractAccessContext.d.ts +2 -2
  32. package/dist/types/extractors/common/icon/extractIcon.d.ts +4 -4
  33. package/dist/types/extractors/common/icon/prioritiseIcon.d.ts +6 -6
  34. package/dist/types/extractors/common/lozenge/extractTaskType.d.ts +1 -1
  35. package/dist/types/extractors/common/lozenge/types.d.ts +1 -1
  36. package/dist/types/extractors/flexible/actions/index.d.ts +6 -6
  37. package/dist/types/extractors/flexible/extract-state.d.ts +2 -2
  38. package/dist/types/extractors/index.d.ts +3 -3
  39. package/dist/types/i18n/en.d.ts +5 -0
  40. package/dist/types/i18n/en_GB.d.ts +5 -0
  41. package/dist/types/i18n/en_ZZ.d.ts +5 -0
  42. package/dist/types/model/invoke-opts.d.ts +2 -2
  43. package/dist/types/ssr.d.ts +1 -1
  44. package/dist/types/state/flexible-ui-context/types.d.ts +105 -105
  45. package/dist/types/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +38 -38
  46. package/dist/types/state/hooks/use-ai-summary-config/types.d.ts +1 -1
  47. package/dist/types/state/hooks/use-invoke/types.d.ts +1 -1
  48. package/dist/types/state/hooks/useSmartLink.d.ts +2 -2
  49. package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +14 -14
  50. package/dist/types/state/modal/types.d.ts +4 -4
  51. package/dist/types/types.d.ts +2 -2
  52. package/dist/types/utils/analytics/LinkAnalyticsContext.d.ts +2 -2
  53. package/dist/types/utils/analytics/SmartLinkAnalyticsContext.d.ts +3 -3
  54. package/dist/types/utils/analytics/types.d.ts +6 -6
  55. package/dist/types/view/BlockCard/types.d.ts +11 -11
  56. package/dist/types/view/BlockCard/views/utils/index.d.ts +1 -1
  57. package/dist/types/view/Card/types.d.ts +19 -19
  58. package/dist/types/view/CardWithUrl/types.d.ts +22 -22
  59. package/dist/types/view/EmbedCard/components/ErrorFrame.d.ts +4 -4
  60. package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +22 -22
  61. package/dist/types/view/EmbedCard/components/Frame.d.ts +2 -2
  62. package/dist/types/view/EmbedCard/components/IFrame.d.ts +1 -1
  63. package/dist/types/view/EmbedCard/components/IframeDwellTracker.d.ts +1 -1
  64. package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +2 -2
  65. package/dist/types/view/EmbedCard/components/styled.d.ts +7 -7
  66. package/dist/types/view/EmbedCard/types.d.ts +13 -13
  67. package/dist/types/view/EmbedCard/useEmbedResolvePostMessageListener.d.ts +1 -1
  68. package/dist/types/view/EmbedCard/views/ErroredView.d.ts +2 -2
  69. package/dist/types/view/EmbedCard/views/ResolvedView.d.ts +20 -20
  70. package/dist/types/view/EmbedCard/views/forbidden-view/types.d.ts +1 -1
  71. package/dist/types/view/EmbedCard/views/not-found-view/types.d.ts +1 -1
  72. package/dist/types/view/EmbedModal/components/embed-content/types.d.ts +1 -1
  73. package/dist/types/view/EmbedModal/components/link-info/types.d.ts +1 -1
  74. package/dist/types/view/EmbedModal/types.d.ts +2 -2
  75. package/dist/types/view/FlexibleCard/components/actions/action/action-button/types.d.ts +3 -3
  76. package/dist/types/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
  77. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
  78. package/dist/types/view/FlexibleCard/components/actions/action/types.d.ts +40 -40
  79. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/types.d.ts +2 -2
  80. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.d.ts +1 -1
  81. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +10 -10
  82. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/main.d.ts +2 -2
  83. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +6 -6
  84. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +8 -8
  85. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +1 -1
  86. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +1 -1
  87. package/dist/types/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
  88. package/dist/types/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts +2 -2
  89. package/dist/types/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +1 -1
  90. package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
  91. package/dist/types/view/FlexibleCard/components/blocks/action-group/types.d.ts +13 -13
  92. package/dist/types/view/FlexibleCard/components/blocks/element-group/types.d.ts +11 -11
  93. package/dist/types/view/FlexibleCard/components/blocks/footer-block/types.d.ts +4 -4
  94. package/dist/types/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
  95. package/dist/types/view/FlexibleCard/components/blocks/preview-block/types.d.ts +4 -4
  96. package/dist/types/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +8 -8
  97. package/dist/types/view/FlexibleCard/components/blocks/title-block/types.d.ts +35 -35
  98. package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +45 -45
  99. package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
  100. package/dist/types/view/FlexibleCard/components/common/image-icon/types.d.ts +5 -5
  101. package/dist/types/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +4 -4
  102. package/dist/types/view/FlexibleCard/components/container/hover-card-control/types.d.ts +2 -2
  103. package/dist/types/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +8 -8
  104. package/dist/types/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +12 -12
  105. package/dist/types/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +8 -8
  106. package/dist/types/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +19 -19
  107. package/dist/types/view/FlexibleCard/components/elements/common/base-link-element/index.d.ts +10 -10
  108. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/types.d.ts +4 -4
  109. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/types.d.ts +1 -1
  110. package/dist/types/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +9 -9
  111. package/dist/types/view/FlexibleCard/components/elements/index.d.ts +4 -4
  112. package/dist/types/view/FlexibleCard/components/elements/media-element/index.d.ts +6 -6
  113. package/dist/types/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +1 -1
  114. package/dist/types/view/FlexibleCard/components/elements/preview-element/index.d.ts +4 -4
  115. package/dist/types/view/FlexibleCard/types.d.ts +41 -41
  116. package/dist/types/view/HoverCard/components/views/resolved/types.d.ts +3 -3
  117. package/dist/types/view/HoverCard/types.d.ts +26 -26
  118. package/dist/types/view/InlineCard/ErroredView/index.d.ts +7 -7
  119. package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +10 -10
  120. package/dist/types/view/InlineCard/Frame/index.d.ts +6 -6
  121. package/dist/types/view/InlineCard/Frame/styled.d.ts +3 -3
  122. package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +8 -8
  123. package/dist/types/view/InlineCard/ResolvedView/index.d.ts +15 -15
  124. package/dist/types/view/InlineCard/ResolvingView/index.d.ts +6 -6
  125. package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +14 -14
  126. package/dist/types/view/InlineCard/types.d.ts +11 -11
  127. package/dist/types/view/LinkUrl/types.d.ts +2 -2
  128. package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +2 -2
  129. package/dist/types/view/RelatedLinksModal/components/types.d.ts +10 -10
  130. package/dist/types/view/RelatedLinksModal/types.d.ts +5 -5
  131. package/dist/types/view/common/Icon.d.ts +3 -3
  132. package/dist/types/view/common/UnauthorisedViewContent.d.ts +5 -5
  133. package/dist/types/view/common/ai-prism/ai-glowing-border/types.d.ts +7 -7
  134. package/dist/types/view/common/ai-prism/types.d.ts +1 -1
  135. package/dist/types/view/common/ai-summary/types.d.ts +6 -6
  136. package/dist/types/view/common/render-svg.d.ts +2 -2
  137. package/dist/types/view/types.d.ts +6 -6
  138. package/dist/types-ts4.5/extractors/action/extract-invoke-preview-action.d.ts +5 -5
  139. package/dist/types-ts4.5/extractors/common/actions/types.d.ts +2 -2
  140. package/dist/types-ts4.5/extractors/common/context/extractAccessContext.d.ts +2 -2
  141. package/dist/types-ts4.5/extractors/common/icon/extractIcon.d.ts +4 -4
  142. package/dist/types-ts4.5/extractors/common/icon/prioritiseIcon.d.ts +6 -6
  143. package/dist/types-ts4.5/extractors/common/lozenge/extractTaskType.d.ts +1 -1
  144. package/dist/types-ts4.5/extractors/common/lozenge/types.d.ts +1 -1
  145. package/dist/types-ts4.5/extractors/flexible/actions/index.d.ts +6 -6
  146. package/dist/types-ts4.5/extractors/flexible/extract-state.d.ts +2 -2
  147. package/dist/types-ts4.5/extractors/index.d.ts +3 -3
  148. package/dist/types-ts4.5/i18n/en.d.ts +5 -0
  149. package/dist/types-ts4.5/i18n/en_GB.d.ts +5 -0
  150. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +5 -0
  151. package/dist/types-ts4.5/model/invoke-opts.d.ts +2 -2
  152. package/dist/types-ts4.5/ssr.d.ts +1 -1
  153. package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +105 -105
  154. package/dist/types-ts4.5/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +38 -38
  155. package/dist/types-ts4.5/state/hooks/use-ai-summary-config/types.d.ts +1 -1
  156. package/dist/types-ts4.5/state/hooks/use-invoke/types.d.ts +1 -1
  157. package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +2 -2
  158. package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +14 -14
  159. package/dist/types-ts4.5/state/modal/types.d.ts +4 -4
  160. package/dist/types-ts4.5/types.d.ts +2 -2
  161. package/dist/types-ts4.5/utils/analytics/LinkAnalyticsContext.d.ts +2 -2
  162. package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +3 -3
  163. package/dist/types-ts4.5/utils/analytics/types.d.ts +6 -6
  164. package/dist/types-ts4.5/view/BlockCard/types.d.ts +11 -11
  165. package/dist/types-ts4.5/view/BlockCard/views/utils/index.d.ts +1 -1
  166. package/dist/types-ts4.5/view/Card/types.d.ts +19 -19
  167. package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +22 -22
  168. package/dist/types-ts4.5/view/EmbedCard/components/ErrorFrame.d.ts +4 -4
  169. package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +22 -22
  170. package/dist/types-ts4.5/view/EmbedCard/components/Frame.d.ts +2 -2
  171. package/dist/types-ts4.5/view/EmbedCard/components/IFrame.d.ts +1 -1
  172. package/dist/types-ts4.5/view/EmbedCard/components/IframeDwellTracker.d.ts +1 -1
  173. package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +2 -2
  174. package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +7 -7
  175. package/dist/types-ts4.5/view/EmbedCard/types.d.ts +13 -13
  176. package/dist/types-ts4.5/view/EmbedCard/useEmbedResolvePostMessageListener.d.ts +1 -1
  177. package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +2 -2
  178. package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +20 -20
  179. package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/types.d.ts +1 -1
  180. package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/types.d.ts +1 -1
  181. package/dist/types-ts4.5/view/EmbedModal/components/embed-content/types.d.ts +1 -1
  182. package/dist/types-ts4.5/view/EmbedModal/components/link-info/types.d.ts +1 -1
  183. package/dist/types-ts4.5/view/EmbedModal/types.d.ts +2 -2
  184. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/types.d.ts +3 -3
  185. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
  186. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
  187. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/types.d.ts +40 -40
  188. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/types.d.ts +2 -2
  189. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.d.ts +1 -1
  190. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +10 -10
  191. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/main.d.ts +2 -2
  192. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +6 -6
  193. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +8 -8
  194. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +1 -1
  195. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +1 -1
  196. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
  197. package/dist/types-ts4.5/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts +2 -2
  198. package/dist/types-ts4.5/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +1 -1
  199. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
  200. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/types.d.ts +13 -13
  201. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/types.d.ts +11 -11
  202. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/types.d.ts +4 -4
  203. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
  204. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/types.d.ts +4 -4
  205. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +8 -8
  206. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/types.d.ts +35 -35
  207. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +45 -45
  208. package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
  209. package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/types.d.ts +5 -5
  210. package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +4 -4
  211. package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/types.d.ts +2 -2
  212. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +8 -8
  213. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +12 -12
  214. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +8 -8
  215. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +19 -19
  216. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-link-element/index.d.ts +10 -10
  217. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/types.d.ts +4 -4
  218. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/types.d.ts +1 -1
  219. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +9 -9
  220. package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +4 -4
  221. package/dist/types-ts4.5/view/FlexibleCard/components/elements/media-element/index.d.ts +6 -6
  222. package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +1 -1
  223. package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview-element/index.d.ts +4 -4
  224. package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +41 -41
  225. package/dist/types-ts4.5/view/HoverCard/components/views/resolved/types.d.ts +3 -3
  226. package/dist/types-ts4.5/view/HoverCard/types.d.ts +26 -26
  227. package/dist/types-ts4.5/view/InlineCard/ErroredView/index.d.ts +7 -7
  228. package/dist/types-ts4.5/view/InlineCard/ForbiddenView/index.d.ts +10 -10
  229. package/dist/types-ts4.5/view/InlineCard/Frame/index.d.ts +6 -6
  230. package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +3 -3
  231. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/index.d.ts +8 -8
  232. package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +15 -15
  233. package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +6 -6
  234. package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/index.d.ts +14 -14
  235. package/dist/types-ts4.5/view/InlineCard/types.d.ts +11 -11
  236. package/dist/types-ts4.5/view/LinkUrl/types.d.ts +2 -2
  237. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +2 -2
  238. package/dist/types-ts4.5/view/RelatedLinksModal/components/types.d.ts +10 -10
  239. package/dist/types-ts4.5/view/RelatedLinksModal/types.d.ts +5 -5
  240. package/dist/types-ts4.5/view/common/Icon.d.ts +3 -3
  241. package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +5 -5
  242. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/types.d.ts +7 -7
  243. package/dist/types-ts4.5/view/common/ai-prism/types.d.ts +1 -1
  244. package/dist/types-ts4.5/view/common/ai-summary/types.d.ts +6 -6
  245. package/dist/types-ts4.5/view/common/render-svg.d.ts +2 -2
  246. package/dist/types-ts4.5/view/types.d.ts +6 -6
  247. package/package.json +5 -6
@@ -1,8 +1,8 @@
1
1
  export interface IframeDwellTrackerProps {
2
+ iframePercentVisible: number;
2
3
  isIframeLoaded: boolean;
3
4
  isMouseOver: boolean;
4
5
  isWindowFocused: boolean;
5
- iframePercentVisible: number;
6
6
  onIframeDwell?: (dwellTime: number, dwellPercentVisible: number) => void;
7
7
  }
8
8
  export declare const IframeDwellTracker: ({ isIframeLoaded, isMouseOver, isWindowFocused, iframePercentVisible, onIframeDwell, }: IframeDwellTrackerProps) => null;
@@ -5,10 +5,10 @@
5
5
  import React from 'react';
6
6
  export interface ImageIconProps {
7
7
  alt?: string;
8
+ appearance?: 'square' | 'round';
9
+ default?: React.ReactElement;
8
10
  size?: number;
9
11
  src?: string;
10
12
  title?: string;
11
- default?: React.ReactElement;
12
- appearance?: 'square' | 'round';
13
13
  }
14
14
  export declare const ImageIcon: ({ alt, src, size, title, default: defaultIcon, appearance, }: ImageIconProps) => JSX.Element | null;
@@ -2,29 +2,29 @@ import type { FrameStyle } from '../types';
2
2
  export declare const className = "media-card-frame";
3
3
  export declare const embedHeaderHeight = 32;
4
4
  export interface WrapperProps {
5
- minWidth?: number;
6
- maxWidth?: number;
7
- isInteractive?: boolean;
8
- isSelected?: boolean;
5
+ className?: string;
9
6
  frameStyle?: FrameStyle;
10
7
  inheritDimensions?: boolean;
11
- className?: string;
8
+ isInteractive?: boolean;
9
+ isSelected?: boolean;
10
+ maxWidth?: number;
11
+ minWidth?: number;
12
12
  }
13
13
  export interface HeaderProps {
14
14
  frameStyle?: FrameStyle;
15
15
  }
16
16
  export interface ContentProps {
17
- isInteractive: boolean;
18
17
  /**
19
18
  * Whether to show a scroll bar (use overflow: auto) or hide overflow (overflow:hidden).
20
19
  * Always set to true for unresolved embeds, otherwise the connect account button may be hidden and unreachable.
21
20
  */
22
21
  allowScrollBar: boolean;
22
+ frameStyle?: FrameStyle;
23
+ isInteractive: boolean;
23
24
  /**
24
25
  * Remove the overflow: ... CSS property altogether.
25
26
  */
26
27
  removeOverflow?: boolean;
27
- frameStyle?: FrameStyle;
28
28
  }
29
29
  export interface ImageProps {
30
30
  size: number;
@@ -5,29 +5,29 @@ import { type CardState } from '../../state/types';
5
5
  import type { CardActionOptions, CardPlatform, EmbedIframeUrlType, OnResolveCallback } from '../Card/types';
6
6
  import { type OnErrorCallback } from '../types';
7
7
  export type EmbedCardProps = {
8
- url: string;
8
+ actionOptions?: CardActionOptions;
9
9
  cardState: CardState;
10
+ CompetitorPrompt?: React.ComponentType<{
11
+ linkType?: string;
12
+ sourceUrl: string;
13
+ }>;
14
+ frameStyle?: FrameStyle;
10
15
  handleAuthorize: (() => void) | undefined;
11
16
  handleErrorRetry: () => void;
12
17
  handleFrameClick: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
13
18
  handleInvoke: InvokeHandler;
14
19
  id?: string;
20
+ iframeUrlType?: EmbedIframeUrlType;
21
+ inheritDimensions?: boolean;
15
22
  isSelected?: boolean;
16
- frameStyle?: FrameStyle;
17
- platform?: CardPlatform;
18
- onResolve?: OnResolveCallback;
19
23
  onError?: OnErrorCallback;
20
- testId?: string;
21
- inheritDimensions?: boolean;
22
- actionOptions?: CardActionOptions;
23
24
  onIframeDwell?: (dwellTime: number, dwellPercentVisible: number) => void;
24
25
  onIframeFocus?: () => void;
25
- iframeUrlType?: EmbedIframeUrlType;
26
+ onResolve?: OnResolveCallback;
27
+ platform?: CardPlatform;
26
28
  renderers?: CardProviderRenderers;
27
- CompetitorPrompt?: React.ComponentType<{
28
- sourceUrl: string;
29
- linkType?: string;
30
- }>;
29
+ testId?: string;
30
+ url: string;
31
31
  };
32
32
  export interface WithShowControlMethodProp {
33
33
  showControls?: () => void;
@@ -41,8 +41,8 @@ export type AccessTypes = 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDD
41
41
  export interface AccessContext {
42
42
  accessType?: AccessTypes;
43
43
  cloudId?: string;
44
- url?: string;
45
44
  smartLinksAccessMetadataExperimentCohort?: 'experiment' | 'control' | 'not-enrolled';
45
+ url?: string;
46
46
  }
47
47
  export type InlinePreloaderStyle = 'on-left-with-skeleton' | 'on-right-without-skeleton';
48
48
  export type FrameStyle = 'show' | 'hide' | 'showOnHover';
@@ -1,6 +1,6 @@
1
1
  interface UseEmbedResolvePostMessageListenerProps {
2
- url: string;
3
2
  embedIframeRef: React.ForwardedRef<HTMLIFrameElement>;
3
+ url: string;
4
4
  }
5
5
  export declare const useEmbedResolvePostMessageListener: ({ url, embedIframeRef, }: UseEmbedResolvePostMessageListenerProps) => void;
6
6
  export {};
@@ -3,9 +3,9 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  export interface ErroredViewProps {
6
- onRetry?: (val: any) => void;
6
+ inheritDimensions?: boolean;
7
7
  isSelected?: boolean;
8
+ onRetry?: (val: any) => void;
8
9
  testId?: string;
9
- inheritDimensions?: boolean;
10
10
  }
11
11
  export declare const EmbedCardErroredView: ({ onRetry, isSelected, testId, inheritDimensions, }: ErroredViewProps) => JSX.Element;
@@ -1,39 +1,39 @@
1
1
  import React from 'react';
2
2
  import { type ContextViewModel, type FrameStyle } from '../types';
3
3
  export interface EmbedCardResolvedViewProps {
4
- /** The title of the link */
5
- title?: string;
4
+ /** Component to prompt for competitor link */
5
+ CompetitorPrompt?: React.ComponentType<{
6
+ linkType?: string;
7
+ sourceUrl: string;
8
+ }>;
6
9
  /** The context view model */
7
10
  context?: ContextViewModel;
8
- /** The link to display */
9
- link: string;
10
- /** A flag that determines whether the card is selected in edit mode. */
11
- isSelected?: boolean;
12
11
  /** A prop that determines the style of a frame: whether to show it, hide it or only show it when a user hovers over embed */
13
12
  frameStyle?: FrameStyle;
14
- /** The src to be used for the `iframe` */
15
- preview?: {
16
- src?: string;
17
- aspectRatio?: number;
18
- };
13
+ inheritDimensions?: boolean;
14
+ /** A flag that determines whether the card is selected in edit mode. */
15
+ isSelected?: boolean;
16
+ isSupportTheming?: boolean;
19
17
  /** A flag that determines whether link source can be trusted in iframe **/
20
18
  isTrusted?: boolean;
19
+ /** The link to display */
20
+ link: string;
21
21
  /** The optional click handler */
22
22
  onClick?: (evt: React.MouseEvent) => void;
23
- /** For testing purposes only. */
24
- testId?: string;
25
- isSupportTheming?: boolean;
26
- inheritDimensions?: boolean;
27
23
  /** Optional callback for when user dwells cursor over iframe - for analytics **/
28
24
  onIframeDwell?: (dwellTime: number, dwellPercentVisible: number) => void;
29
25
  /** Optional callback for when user navigates into an iframe - for analytics **/
30
26
  onIframeFocus?: () => void;
27
+ /** The src to be used for the `iframe` */
28
+ preview?: {
29
+ aspectRatio?: number;
30
+ src?: string;
31
+ };
32
+ /** For testing purposes only. */
33
+ testId?: string;
34
+ /** The title of the link */
35
+ title?: string;
31
36
  /** Type of the object */
32
37
  type?: string[];
33
- /** Component to prompt for competitor link */
34
- CompetitorPrompt?: React.ComponentType<{
35
- sourceUrl: string;
36
- linkType?: string;
37
- }>;
38
38
  }
39
39
  export declare const EmbedCardResolvedView: React.ForwardRefExoticComponent<EmbedCardResolvedViewProps & React.RefAttributes<HTMLIFrameElement>>;
@@ -2,7 +2,7 @@ import type { RequestAccessContextProps } from '../../../types';
2
2
  import type { ContextViewModel } from '../../types';
3
3
  import type { UnresolvedViewCardProps } from '../unresolved-view/types';
4
4
  export type ForbiddenViewProps = UnresolvedViewCardProps & {
5
+ accessContext: RequestAccessContextProps;
5
6
  context?: ContextViewModel;
6
7
  onAuthorize?: () => void;
7
- accessContext: RequestAccessContextProps;
8
8
  };
@@ -2,6 +2,6 @@ import type { RequestAccessContextProps } from '../../../types';
2
2
  import type { ContextViewModel } from '../../types';
3
3
  import type { UnresolvedViewCardProps } from '../unresolved-view/types';
4
4
  export type NotFoundViewProps = UnresolvedViewCardProps & {
5
- context?: ContextViewModel;
6
5
  accessContext?: RequestAccessContextProps;
6
+ context?: ContextViewModel;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  export type EmbedProps = {
2
+ ariaLabel?: string;
2
3
  isTrusted: boolean;
3
4
  name: string;
4
5
  src?: string;
5
6
  testId?: string;
6
- ariaLabel?: string;
7
7
  };
@@ -1,10 +1,10 @@
1
1
  import { type IconProps } from '../../../common/Icon';
2
2
  export type LinkInfoProps = {
3
3
  icon?: IconProps;
4
- providerName?: string;
5
4
  onDownloadButtonClick?: () => void;
6
5
  onResizeButtonClick?: () => void;
7
6
  onViewButtonClick?: () => void;
7
+ providerName?: string;
8
8
  size?: string;
9
9
  testId?: string;
10
10
  title?: string;
@@ -13,11 +13,11 @@ export type EmbedModalContext = {
13
13
  };
14
14
  export type EmbedModalProps = {
15
15
  fireEvent?: FireEventFunction;
16
+ iframeName: string;
16
17
  invokeDownloadAction?: InvokeClientActionProps;
17
18
  invokeViewAction?: InvokeClientActionProps;
18
- iframeName: string;
19
- isTrusted?: boolean;
20
19
  isSupportTheming?: boolean;
20
+ isTrusted?: boolean;
21
21
  linkIcon?: Icon;
22
22
  onClose: (context: EmbedModalContext) => void;
23
23
  onOpen?: (context: EmbedModalContext) => void;
@@ -2,11 +2,11 @@ import { type ReactElement } from 'react';
2
2
  import { type SmartLinkSize } from '../../../../../../constants';
3
3
  import { type ActionProps } from '../types';
4
4
  export type ActionButtonProps = ActionProps & {
5
+ ariaLabel?: string;
6
+ href?: string;
5
7
  iconAfter?: ReactElement;
6
8
  iconBefore?: ReactElement;
9
+ isDisabled?: boolean;
7
10
  isLoading?: boolean;
8
11
  size: SmartLinkSize;
9
- isDisabled?: boolean;
10
- href?: string;
11
- ariaLabel?: string;
12
12
  };
@@ -2,8 +2,8 @@ import type { ReactChild } from 'react';
2
2
  import type { SmartLinkSize } from '../../../../../../constants';
3
3
  export type ActionIconProps = {
4
4
  asStackItemIcon?: boolean;
5
- size?: SmartLinkSize;
6
5
  icon?: ReactChild;
7
6
  isDisabled?: boolean;
7
+ size?: SmartLinkSize;
8
8
  testId?: string;
9
9
  };
@@ -3,8 +3,8 @@ import type { Space } from '@atlaskit/primitives/compiled';
3
3
  import type { SmartLinkSize } from '../../../../../../constants';
4
4
  import type { ActionProps } from '../types';
5
5
  export type ActionStackItemProps = ActionProps & {
6
+ hideTooltipOnMouseDown?: boolean;
6
7
  size: SmartLinkSize;
7
8
  space?: Space;
8
9
  tooltipOnHide?: (analyticsEvent: UIAnalyticsEvent) => any;
9
- hideTooltipOnMouseDown?: boolean;
10
10
  };
@@ -10,30 +10,43 @@ export type ActionMessage = {
10
10
  title: ReactNode;
11
11
  };
12
12
  export type ActionProps = {
13
+ /**
14
+ * Determines the appearance of the action. Corresponds to the Atlaskit action appearance.
15
+ */
16
+ appearance?: Appearance;
17
+ /**
18
+ * Additional text properties for accessibility of actions
19
+ */
20
+ ariaLabel?: string;
13
21
  /**
14
22
  * Determines the appearance of the action.
15
23
  */
16
24
  as?: 'button' | 'dropdown-item' | 'stack-item';
17
25
  /**
18
- * Determines the size of the Action. Corresponds to an Action appearance.
26
+ * @deprecated Use 'as' instead
27
+ * Used to determine whether the Action is in a Dropdown.
19
28
  */
20
- size?: SmartLinkSize;
29
+ asDropDownItem?: boolean;
30
+ /**
31
+ * For compiled css
32
+ */
33
+ className?: string;
21
34
  /**
22
35
  * Determines the text content of the Action.
23
36
  */
24
37
  content?: ReactNode;
25
38
  /**
26
- * Determines the appearance of the action. Corresponds to the Atlaskit action appearance.
39
+ * Determines if the tooltip should be hidden
27
40
  */
28
- appearance?: Appearance;
41
+ hideTooltip?: boolean;
29
42
  /**
30
- * Determines the onClick behaviour of the Action.
43
+ * Determines the hideTooltipOnMouseDown behaviour of the Tooltip
31
44
  */
32
- onClick: () => any;
45
+ hideTooltipOnMouseDown?: boolean;
33
46
  /**
34
- * Error callback - each action is to provide its own implementation.
47
+ * Allows the use of hyperlinks as buttons via the atlaskit component
35
48
  */
36
- onError?: (error: ActionMessage) => void;
49
+ href?: string;
37
50
  /**
38
51
  * Determines the icon rendered within the Action.
39
52
  */
@@ -42,40 +55,36 @@ export type ActionProps = {
42
55
  * Determines where the icon should be rendered if text is provided.
43
56
  */
44
57
  iconPosition?: 'before' | 'after';
58
+ /**
59
+ * Determines whether the button displays as disabled.
60
+ */
61
+ isDisabled?: boolean;
45
62
  /**
46
63
  * Conditionally show a spinner over the top of a button or disable a dropdown item
47
64
  * while server action is executing.
48
65
  */
49
66
  isLoading?: boolean;
50
67
  /**
51
- * Determines the tooltip message when hovering over the Action.
52
- */
53
- tooltipMessage?: ReactNode;
54
- /**
55
- * Determines the onHide behaviour of the Tooltip
56
- */
57
- tooltipOnHide?: (analyticsEvent: UIAnalyticsEvent) => any;
58
- /**
59
- * Determines the hideTooltipOnMouseDown behaviour of the Tooltip
60
- */
61
- hideTooltipOnMouseDown?: boolean;
62
- /**
63
- * Determines if the tooltip should be hidden
68
+ * Determines the onClick behaviour of the Action.
64
69
  */
65
- hideTooltip?: boolean;
70
+ onClick: () => any;
66
71
  /**
67
- * @deprecated Use 'as' instead
68
- * Used to determine whether the Action is in a Dropdown.
72
+ * Error callback - each action is to provide its own implementation.
69
73
  */
70
- asDropDownItem?: boolean;
74
+ onError?: (error: ActionMessage) => void;
75
+ onLoadingChange?: (isLoading: boolean) => void;
71
76
  /**
72
- * For compiled css
77
+ * Determines the size of the Action. Corresponds to an Action appearance.
73
78
  */
74
- className?: string;
79
+ size?: SmartLinkSize;
75
80
  /**
76
81
  * Used to add space along the inline axis in ActionStackItem.
77
82
  */
78
83
  spaceInline?: Space;
84
+ /**
85
+ * For dynamic styles
86
+ */
87
+ style?: React.CSSProperties;
79
88
  /**
80
89
  * A `testId` prop is provided for specified elements, which is a unique
81
90
  * string that appears as a data attribute `data-testid` in the rendered code,
@@ -83,26 +92,17 @@ export type ActionProps = {
83
92
  */
84
93
  testId?: string;
85
94
  /**
86
- * Determines whether the button displays as disabled.
87
- */
88
- isDisabled?: boolean;
89
- /**
90
- * For dynamic styles
91
- */
92
- style?: React.CSSProperties;
93
- /**
94
- * Allows the use of hyperlinks as buttons via the atlaskit component
95
+ * Determines the tooltip message when hovering over the Action.
95
96
  */
96
- href?: string;
97
+ tooltipMessage?: ReactNode;
97
98
  /**
98
- * Additional text properties for accessibility of actions
99
+ * Determines the onHide behaviour of the Tooltip
99
100
  */
100
- ariaLabel?: string;
101
+ tooltipOnHide?: (analyticsEvent: UIAnalyticsEvent) => any;
101
102
  /**
102
103
  * Optional wrapper component to wrap the action
103
104
  * E.g., Feature discovery pulse
104
105
  * Cleanup on https://product-fabric.atlassian.net/browse/EDM-9649
105
106
  */
106
107
  wrapper?: React.ElementType;
107
- onLoadingChange?: (isLoading: boolean) => void;
108
108
  };
@@ -23,8 +23,8 @@ export type UserInputBooleanPrompt = UserInputPromptBase<boolean, UserInputType.
23
23
  export type UserInputSelectPrompt = UserInputPromptBase<string[], UserInputType.DROPDOWN>;
24
24
  export type UserInputPrompt = UserInputTextPrompt | UserInputNumberPrompt | UserInputBooleanPrompt | UserInputSelectPrompt | UserInputParagraphPrompt;
25
25
  type UserInputValueBase<Value, Type extends UserInputType> = {
26
- value: Value;
27
26
  inputType: Type;
27
+ value: Value;
28
28
  };
29
29
  export type UserInputBooleanValue = UserInputValueBase<boolean, UserInputType.BOOLEAN>;
30
30
  export type UserInputNumberValue = UserInputValueBase<number, UserInputType.NUMBER>;
@@ -63,8 +63,8 @@ export type RuleQuery = {
63
63
  objects?: Ari[];
64
64
  };
65
65
  export type SelectedRule = {
66
- rule: ManualRule;
67
66
  objects: Ari[];
67
+ rule: ManualRule;
68
68
  };
69
69
  export type SelectorOption = {
70
70
  label: string;
@@ -5,8 +5,8 @@ import type { Ari } from '../types';
5
5
  * @param site The Site ARI where the manual trigger rule is executed. Should be a product level Site ARI.
6
6
  */
7
7
  export declare const extractCloudIdAndProductFromSite: (site: Ari) => {
8
- product: string;
9
8
  cloudId: string;
9
+ product: string;
10
10
  };
11
11
  /***
12
12
  * TODO remove when unified public API is available.
@@ -8,26 +8,26 @@ import type { Ari, ManualRule, ManualRuleInvoker, RuleQuery, UserInputs } from '
8
8
  */
9
9
  export declare const useManualRules: (site: Ari, query: RuleQuery) => any[];
10
10
  export interface ManualRulesData {
11
- triggerFetch: () => Promise<void>;
12
- initialised: boolean;
13
11
  error: any;
14
- rules: ManualRule[];
15
- invokingRuleId: number | null;
12
+ initialised: boolean;
16
13
  invokeRuleOrShowDialog: ManualRuleInvoker;
14
+ invokingRuleId: number | null;
15
+ rules: ManualRule[];
16
+ triggerFetch: () => Promise<void>;
17
17
  }
18
18
  export interface ManualRulesContainerProps {
19
- site: Ari;
20
- query: RuleQuery;
21
- onInputsModalOpened?: () => void;
19
+ children: (data: ManualRulesData) => React.ReactElement;
22
20
  onInputsModalClosed?: () => void;
21
+ onInputsModalOpened?: () => void;
22
+ onRuleInvocationFailure?: (ruleId: number, successfulObjectIds: string[], failedObjects: string[]) => void;
23
23
  /********
24
24
  * Lifecycle handlers
25
25
  */
26
+ onRuleInvocationLifecycleDone?: (ruleId: number, objectIds: string[]) => void;
26
27
  onRuleInvocationLifecycleStarted?: (ruleId: number, objectIds: string[], inputs: UserInputs | undefined) => void;
27
28
  onRuleInvocationSuccess?: (ruleId: number, objectIds: string[]) => void;
28
- onRuleInvocationFailure?: (ruleId: number, successfulObjectIds: string[], failedObjects: string[]) => void;
29
- onRuleInvocationLifecycleDone?: (ruleId: number, objectIds: string[]) => void;
30
- children: (data: ManualRulesData) => React.ReactElement;
29
+ query: RuleQuery;
30
+ site: Ari;
31
31
  }
32
32
  /**
33
33
  *
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { type Ari, type SelectedRule, type UserInputs } from '../common/types';
3
3
  export interface UserInputProps {
4
- selectedRule: SelectedRule;
5
4
  clearSelectedRule: () => any;
6
5
  invokeRule: (ruleId: number, objects: Ari[], userInputs?: UserInputs) => Promise<void>;
7
- onInputsModalOpened?: () => void;
8
6
  onInputsModalClosed?: () => void;
7
+ onInputsModalOpened?: () => void;
8
+ selectedRule: SelectedRule;
9
9
  }
10
10
  declare const UserInputForm: (props: UserInputProps) => React.JSX.Element;
11
11
  export default UserInputForm;
@@ -1,15 +1,15 @@
1
1
  import React from 'react';
2
2
  export type AutomationModalProps = {
3
+ analyticsSource: string;
3
4
  baseAutomationUrl: string;
4
- objectAri: string;
5
- siteAri: string;
6
5
  canManageAutomation: boolean;
7
- analyticsSource: string;
8
- modalTitle: React.ReactNode;
9
- modalDescription?: React.ReactNode;
10
- emptyStateDescription?: React.ReactNode;
11
6
  emptyStateAdminDescription?: React.ReactNode;
7
+ emptyStateDescription?: React.ReactNode;
8
+ modalDescription?: React.ReactNode;
9
+ modalTitle: React.ReactNode;
10
+ objectAri: string;
12
11
  onClose: () => void;
13
12
  onCloseComplete?: () => void;
13
+ siteAri: string;
14
14
  };
15
15
  export declare const AutomationModal: ({ baseAutomationUrl, siteAri, objectAri, canManageAutomation, onClose, onCloseComplete, modalTitle, modalDescription, emptyStateDescription, emptyStateAdminDescription, analyticsSource, }: AutomationModalProps) => React.JSX.Element;
@@ -1,27 +1,27 @@
1
1
  import React from 'react';
2
2
  import { type ManualRulesData } from '../../manual-triggers-container';
3
3
  type AutomationMenuContextContainerProps = {
4
+ analyticsSource: string;
4
5
  baseAutomationUrl: string;
5
- objectAri: string;
6
- siteAri: string;
7
6
  canManageAutomation: boolean;
8
- analyticsSource: string;
9
7
  children: () => React.ReactElement;
10
- emptyStateDescription?: React.ReactNode;
11
8
  emptyStateAdminDescription?: React.ReactNode;
12
- onRuleInvocationSuccess?: () => void;
9
+ emptyStateDescription?: React.ReactNode;
10
+ objectAri: string;
13
11
  onRuleInvocationFailure?: () => void;
14
12
  onRuleInvocationLifecycleDone?: () => void;
13
+ onRuleInvocationSuccess?: () => void;
14
+ siteAri: string;
15
15
  };
16
16
  export type RuleExecutionState = 'SUCCEED' | 'FAILURE' | 'NONE';
17
17
  export type MenuContext = Omit<ManualRulesData, 'error'> & {
18
- fetchError: any;
19
18
  analyticsSource: string;
20
- objectAri: string;
21
19
  baseAutomationUrl: string;
22
20
  canManageAutomation: boolean;
23
- emptyStateDescription?: React.ReactNode;
24
21
  emptyStateAdminDescription?: React.ReactNode;
22
+ emptyStateDescription?: React.ReactNode;
23
+ fetchError: any;
24
+ objectAri: string;
25
25
  ruleExecutionState: RuleExecutionState;
26
26
  };
27
27
  export declare const useAutomationMenu: () => MenuContext;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { ManualRule } from '../../../manual-triggers-container/common/types';
3
3
  type AutomationModalFooterProps = {
4
- selectedRule: ManualRule | undefined;
5
4
  onClose: () => void;
5
+ selectedRule: ManualRule | undefined;
6
6
  };
7
7
  export declare const AutomationModalFooter: ({ selectedRule, onClose }: AutomationModalFooterProps) => React.JSX.Element | null;
8
8
  export {};
@@ -1,6 +1,6 @@
1
1
  type AutomationModalHeaderProps = {
2
- modalTitle?: React.ReactNode;
3
2
  modalDescription?: React.ReactNode;
3
+ modalTitle?: React.ReactNode;
4
4
  };
5
5
  export declare const AutomationModalHeader: ({ modalTitle, modalDescription, }: AutomationModalHeaderProps) => JSX.Element;
6
6
  export {};
@@ -1,7 +1,7 @@
1
1
  import { type MessageDescriptor } from 'react-intl-next';
2
2
  type ModalContent = {
3
- modalTitle: MessageDescriptor;
4
3
  modalDescription: MessageDescriptor;
4
+ modalTitle: MessageDescriptor;
5
5
  };
6
6
  export declare const getModalContent: (product: string, resourceType: string) => ModalContent | undefined;
7
7
  export {};
@@ -6,11 +6,11 @@ export type AccessType = 'DIRECT_ACCESS' | 'REQUEST_ACCESS' | 'PENDING_REQUEST_E
6
6
  export type CustomStatusComponents = Partial<Record<NonNullable<AccessType> | 'FALLBACK', MessageDescriptor>>;
7
7
  type ErrorStatus = Extract<SmartLinkStatus, SmartLinkStatus.Forbidden | SmartLinkStatus.Unauthorized>;
8
8
  type CustomUnresolvedActionProps = Prettify<{
9
- testId?: string;
10
- onlyShowIfAction?: boolean;
11
9
  Container?: React.ComponentType<{
12
10
  children: React.ReactNode;
13
11
  }>;
12
+ onlyShowIfAction?: boolean;
13
+ testId?: string;
14
14
  } & Partial<Record<ErrorStatus, CustomStatusComponents>>>;
15
15
  declare const CustomUnresolvedAction: ({ testId, onlyShowIfAction, Container, ...props }: CustomUnresolvedActionProps) => JSX.Element | null;
16
16
  export default CustomUnresolvedAction;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  declare const UnresolvedAction: ({ testId, hasPadding, }: {
3
- testId?: string;
4
3
  hasPadding?: boolean;
4
+ testId?: string;
5
5
  }) => React.JSX.Element | null;
6
6
  export default UnresolvedAction;
@@ -3,10 +3,10 @@ import { type Appearance } from '@atlaskit/button';
3
3
  import { type SmartLinkSize } from '../../../../../../constants';
4
4
  import { type ActionItem } from '../../types';
5
5
  declare const ActionGroupItem: ({ item, size, appearance, asDropDownItems, onActionItemClick, }: {
6
- item: ActionItem;
7
- size: SmartLinkSize;
8
6
  appearance?: Appearance;
9
7
  asDropDownItems?: boolean;
8
+ item: ActionItem;
10
9
  onActionItemClick?: () => void;
10
+ size: SmartLinkSize;
11
11
  }) => React.JSX.Element | null;
12
12
  export default ActionGroupItem;