@atlaskit/smart-card 27.5.2 → 27.5.4

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 (115) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/CONTRIBUTING.md +1 -1
  3. package/dist/cjs/extractors/common/icon/extractIcon.js +1 -1
  4. package/dist/cjs/extractors/flexible/actions/extract-automation-action.js +1 -1
  5. package/dist/cjs/messages.js +2 -2
  6. package/dist/cjs/utils/analytics/analytics.js +1 -1
  7. package/dist/cjs/view/EmbedCard/components/styled.js +2 -2
  8. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +1 -1
  9. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +5 -5
  10. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/utils/index.js +2 -2
  11. package/dist/cjs/view/FlexibleCard/components/blocks/block/index.js +1 -1
  12. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.js +1 -1
  13. package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -1
  14. package/dist/cjs/view/FlexibleCard/components/blocks/utils.js +1 -1
  15. package/dist/cjs/view/FlexibleCard/components/container/index.js +1 -1
  16. package/dist/cjs/view/FlexibleCard/components/elements/avatar-group/index.js +1 -1
  17. package/dist/cjs/view/FlexibleCard/components/elements/badge/index.js +1 -1
  18. package/dist/cjs/view/FlexibleCard/components/utils.js +1 -1
  19. package/dist/cjs/view/HoverCard/components/views/resolved/styled.js +1 -1
  20. package/dist/cjs/view/HoverCard/styled.js +2 -2
  21. package/dist/cjs/view/LinkUrl/index.js +1 -1
  22. package/dist/cjs/view/RelatedLinksModal/components/EmptyState.js +2 -2
  23. package/dist/cjs/view/RelatedLinksModal/views/resolving/index.js +27 -0
  24. package/dist/es2019/extractors/common/icon/extractIcon.js +1 -1
  25. package/dist/es2019/extractors/flexible/actions/extract-automation-action.js +1 -1
  26. package/dist/es2019/messages.js +2 -2
  27. package/dist/es2019/utils/analytics/analytics.js +1 -1
  28. package/dist/es2019/view/EmbedCard/components/styled.js +22 -22
  29. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +1 -1
  30. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +5 -5
  31. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/utils/index.js +2 -2
  32. package/dist/es2019/view/FlexibleCard/components/blocks/block/index.js +16 -16
  33. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.js +13 -13
  34. package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +13 -13
  35. package/dist/es2019/view/FlexibleCard/components/blocks/utils.js +9 -9
  36. package/dist/es2019/view/FlexibleCard/components/container/index.js +15 -15
  37. package/dist/es2019/view/FlexibleCard/components/elements/avatar-group/index.js +9 -9
  38. package/dist/es2019/view/FlexibleCard/components/elements/badge/index.js +8 -8
  39. package/dist/es2019/view/FlexibleCard/components/utils.js +9 -9
  40. package/dist/es2019/view/HoverCard/components/views/resolved/styled.js +21 -21
  41. package/dist/es2019/view/HoverCard/styled.js +23 -23
  42. package/dist/es2019/view/LinkUrl/index.js +1 -1
  43. package/dist/es2019/view/RelatedLinksModal/components/EmptyState.js +2 -2
  44. package/dist/es2019/view/RelatedLinksModal/views/errored/index.js +2 -2
  45. package/dist/es2019/view/RelatedLinksModal/views/resolving/index.js +18 -0
  46. package/dist/es2019/view/RelatedLinksModal/views/unavailable/index.js +1 -1
  47. package/dist/esm/extractors/common/icon/extractIcon.js +1 -1
  48. package/dist/esm/extractors/flexible/actions/extract-automation-action.js +1 -1
  49. package/dist/esm/messages.js +2 -2
  50. package/dist/esm/utils/analytics/analytics.js +1 -1
  51. package/dist/esm/view/EmbedCard/components/styled.js +2 -2
  52. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +1 -1
  53. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +5 -5
  54. package/dist/esm/view/FlexibleCard/components/actions/automation-action/utils/index.js +2 -2
  55. package/dist/esm/view/FlexibleCard/components/blocks/block/index.js +1 -1
  56. package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.js +1 -1
  57. package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -1
  58. package/dist/esm/view/FlexibleCard/components/blocks/utils.js +1 -1
  59. package/dist/esm/view/FlexibleCard/components/container/index.js +1 -1
  60. package/dist/esm/view/FlexibleCard/components/elements/avatar-group/index.js +1 -1
  61. package/dist/esm/view/FlexibleCard/components/elements/badge/index.js +1 -1
  62. package/dist/esm/view/FlexibleCard/components/utils.js +1 -1
  63. package/dist/esm/view/HoverCard/components/views/resolved/styled.js +1 -1
  64. package/dist/esm/view/HoverCard/styled.js +2 -2
  65. package/dist/esm/view/LinkUrl/index.js +1 -1
  66. package/dist/esm/view/RelatedLinksModal/components/EmptyState.js +2 -2
  67. package/dist/esm/view/RelatedLinksModal/views/errored/index.js +2 -2
  68. package/dist/esm/view/RelatedLinksModal/views/resolving/index.js +20 -0
  69. package/dist/esm/view/RelatedLinksModal/views/unavailable/index.js +1 -1
  70. package/dist/types/extractors/flexible/actions/extract-automation-action.d.ts +2 -2
  71. package/dist/types/index.d.ts +2 -2
  72. package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +1 -1
  73. package/dist/types/state/hooks/use-invoke-client-action/index.d.ts +1 -1
  74. package/dist/types/state/hooks/useSmartLink.d.ts +1 -1
  75. package/dist/types/state/hooks-external/useSmartLinkReload.d.ts +1 -1
  76. package/dist/types/state/index.d.ts +1 -1
  77. package/dist/types/state/modal/index.d.ts +1 -1
  78. package/dist/types/types.d.ts +1 -1
  79. package/dist/types/utils/mocks.d.ts +1 -1
  80. package/dist/types/view/BlockCard/components/Action.d.ts +1 -1
  81. package/dist/types/view/BlockCard/components/ContentFooter.d.ts +1 -1
  82. package/dist/types/view/BlockCard/components/ContentHeader.d.ts +1 -1
  83. package/dist/types/view/BlockCard/components/Name.d.ts +1 -1
  84. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.d.ts +1 -1
  85. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/paragraph-prompt/main.d.ts +1 -1
  86. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/index.d.ts +1 -1
  87. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +1 -1
  88. package/dist/types/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
  89. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.d.ts +1 -1
  90. package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +1 -1
  91. package/dist/types/view/RelatedLinksModal/views/resolving/index.d.ts +3 -0
  92. package/dist/types-ts4.5/extractors/flexible/actions/extract-automation-action.d.ts +2 -2
  93. package/dist/types-ts4.5/index.d.ts +2 -2
  94. package/dist/types-ts4.5/state/analytics/useSmartLinkAnalytics.d.ts +1 -1
  95. package/dist/types-ts4.5/state/hooks/use-invoke-client-action/index.d.ts +1 -1
  96. package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +1 -1
  97. package/dist/types-ts4.5/state/hooks-external/useSmartLinkReload.d.ts +1 -1
  98. package/dist/types-ts4.5/state/index.d.ts +1 -1
  99. package/dist/types-ts4.5/state/modal/index.d.ts +1 -1
  100. package/dist/types-ts4.5/types.d.ts +1 -1
  101. package/dist/types-ts4.5/utils/mocks.d.ts +1 -1
  102. package/dist/types-ts4.5/view/BlockCard/components/Action.d.ts +1 -1
  103. package/dist/types-ts4.5/view/BlockCard/components/ContentFooter.d.ts +1 -1
  104. package/dist/types-ts4.5/view/BlockCard/components/ContentHeader.d.ts +1 -1
  105. package/dist/types-ts4.5/view/BlockCard/components/Name.d.ts +1 -1
  106. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.d.ts +1 -1
  107. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/paragraph-prompt/main.d.ts +1 -1
  108. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/index.d.ts +1 -1
  109. 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
  110. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
  111. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.d.ts +1 -1
  112. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +1 -1
  113. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolving/index.d.ts +3 -0
  114. package/package.json +6 -6
  115. package/report.api.md +775 -806
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/smart-card"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -51,84 +52,81 @@ import { WithIntlProps } from 'react-intl-next';
51
52
  import { WrappedComponentProps } from 'react-intl-next';
52
53
 
53
54
  // @public (undocumented)
54
- export type ActionItem =
55
- | CustomActionItem
56
- | NamedActionItem
57
- | NamedDataActionItem;
55
+ export type ActionItem = CustomActionItem | NamedActionItem | NamedDataActionItem;
58
56
 
59
57
  // @public
60
58
  export enum ActionName {
61
- // (undocumented)
62
- CustomAction = 'CustomAction',
63
- // (undocumented)
64
- DeleteAction = 'DeleteAction',
65
- // (undocumented)
66
- DownloadAction = 'DownloadAction',
67
- // (undocumented)
68
- EditAction = 'EditAction',
69
- // (undocumented)
70
- FollowAction = 'FollowAction',
71
- // (undocumented)
72
- PreviewAction = 'PreviewAction',
73
- // (undocumented)
74
- ViewAction = 'ViewAction',
59
+ // (undocumented)
60
+ CustomAction = 'CustomAction',
61
+ // (undocumented)
62
+ DeleteAction = 'DeleteAction',
63
+ // (undocumented)
64
+ DownloadAction = 'DownloadAction',
65
+ // (undocumented)
66
+ EditAction = 'EditAction',
67
+ // (undocumented)
68
+ FollowAction = 'FollowAction',
69
+ // (undocumented)
70
+ PreviewAction = 'PreviewAction',
71
+ // (undocumented)
72
+ ViewAction = 'ViewAction',
75
73
  }
76
74
 
77
75
  // @public (undocumented)
78
76
  type ActionProps = {
79
- size?: SmartLinkSize;
80
- content?: React.ReactNode;
81
- appearance?: Appearance;
82
- onClick: () => any;
83
- icon?: ReactChild;
84
- iconPosition?: 'after' | 'before';
85
- tooltipMessage?: React.ReactNode;
86
- asDropDownItem?: boolean;
87
- overrideCss?: SerializedStyles;
88
- testId?: string;
89
- isDisabled?: boolean;
77
+ size?: SmartLinkSize;
78
+ content?: React.ReactNode;
79
+ appearance?: Appearance;
80
+ onClick: () => any;
81
+ icon?: ReactChild;
82
+ iconPosition?: 'after' | 'before';
83
+ tooltipMessage?: React.ReactNode;
84
+ asDropDownItem?: boolean;
85
+ overrideCss?: SerializedStyles;
86
+ testId?: string;
87
+ isDisabled?: boolean;
90
88
  };
91
89
 
92
90
  // @public (undocumented)
93
91
  export type AnalyticsAction =
94
- | 'authStarted'
95
- | 'chunkLoadFailed'
96
- | 'clicked'
97
- | 'closed'
98
- | 'connectFailed'
99
- | 'connectSucceeded'
100
- | 'connected'
101
- | 'created'
102
- | 'dismissed'
103
- | 'dwelled'
104
- | 'failed'
105
- | 'focused'
106
- | 'inserted'
107
- | 'loaded'
108
- | 'renderFailed'
109
- | 'renderSuccess'
110
- | 'renderWithStatus'
111
- | 'resolved'
112
- | 'started'
113
- | 'success'
114
- | 'unresolved'
115
- | 'updated'
116
- | 'viewed';
92
+ | 'authStarted'
93
+ | 'chunkLoadFailed'
94
+ | 'clicked'
95
+ | 'closed'
96
+ | 'connectFailed'
97
+ | 'connectSucceeded'
98
+ | 'connected'
99
+ | 'created'
100
+ | 'dismissed'
101
+ | 'dwelled'
102
+ | 'failed'
103
+ | 'focused'
104
+ | 'inserted'
105
+ | 'loaded'
106
+ | 'renderFailed'
107
+ | 'renderSuccess'
108
+ | 'renderWithStatus'
109
+ | 'resolved'
110
+ | 'started'
111
+ | 'success'
112
+ | 'unresolved'
113
+ | 'updated'
114
+ | 'viewed';
117
115
 
118
116
  // @public (undocumented)
119
117
  export type AnalyticsActionSubject =
120
- | 'applicationAccount'
121
- | 'button'
122
- | 'consentModal'
123
- | 'embedPreviewModal'
124
- | 'hoverCard'
125
- | 'link'
126
- | 'modal'
127
- | 'relatedLinks'
128
- | 'smartLink'
129
- | 'smartLinkAction'
130
- | 'smartLinkIframe'
131
- | 'smartLinkQuickAction';
118
+ | 'applicationAccount'
119
+ | 'button'
120
+ | 'consentModal'
121
+ | 'embedPreviewModal'
122
+ | 'hoverCard'
123
+ | 'link'
124
+ | 'modal'
125
+ | 'relatedLinks'
126
+ | 'smartLink'
127
+ | 'smartLinkAction'
128
+ | 'smartLinkIframe'
129
+ | 'smartLinkQuickAction';
132
130
 
133
131
  // @public (undocumented)
134
132
  type AnalyticsFacade = ReturnType<typeof useSmartLinkAnalytics>;
@@ -141,11 +139,11 @@ type AnalyticsName = 'embedPreviewModal';
141
139
 
142
140
  // @public (undocumented)
143
141
  export type AnalyticsPayload = GasPayload & {
144
- action?: AnalyticsAction;
145
- actionSubject: AnalyticsActionSubject;
146
- attributes: GasPayload['attributes'] & {
147
- display?: CardInnerAppearance;
148
- };
142
+ action?: AnalyticsAction;
143
+ actionSubject: AnalyticsActionSubject;
144
+ attributes: GasPayload['attributes'] & {
145
+ display?: CardInnerAppearance;
146
+ };
149
147
  };
150
148
 
151
149
  // @public (undocumented)
@@ -155,49 +153,49 @@ export { APIError };
155
153
 
156
154
  // @public
157
155
  type AssignedTo = {
158
- name: ElementName.AssignedTo;
156
+ name: ElementName.AssignedTo;
159
157
  };
160
158
 
161
159
  // @public
162
160
  type AssignedToGroup = {
163
- name: ElementName.AssignedToGroup;
164
- showNamePrefix?: boolean;
165
- showFallbackAvatar?: boolean;
161
+ name: ElementName.AssignedToGroup;
162
+ showNamePrefix?: boolean;
163
+ showFallbackAvatar?: boolean;
166
164
  };
167
165
 
168
166
  // @public
169
167
  type AttachmentCount = {
170
- name: ElementName.AttachmentCount;
168
+ name: ElementName.AttachmentCount;
171
169
  };
172
170
 
173
171
  // @public
174
172
  type AuthorGroup = {
175
- name: ElementName.AuthorGroup;
176
- showNamePrefix?: boolean;
173
+ name: ElementName.AuthorGroup;
174
+ showNamePrefix?: boolean;
177
175
  };
178
176
 
179
177
  // @public
180
178
  type BaseActionItem = {
181
- hideContent?: boolean;
182
- hideIcon?: boolean;
183
- name: ActionName;
184
- onClick: () => any;
185
- overrideCss?: SerializedStyles;
186
- size?: SmartLinkSize;
187
- testId?: string;
188
- isDisabled?: boolean;
179
+ hideContent?: boolean;
180
+ hideIcon?: boolean;
181
+ name: ActionName;
182
+ onClick: () => any;
183
+ overrideCss?: SerializedStyles;
184
+ size?: SmartLinkSize;
185
+ testId?: string;
186
+ isDisabled?: boolean;
189
187
  };
190
188
 
191
189
  // @public
192
190
  type BaseDataActionItem = {
193
- hideContent?: boolean;
194
- hideIcon?: boolean;
195
- name: ActionName;
196
- onClick?: () => any;
197
- overrideCss?: SerializedStyles;
198
- size?: SmartLinkSize;
199
- testId?: string;
200
- isDisabled?: boolean;
191
+ hideContent?: boolean;
192
+ hideIcon?: boolean;
193
+ name: ActionName;
194
+ onClick?: () => any;
195
+ overrideCss?: SerializedStyles;
196
+ size?: SmartLinkSize;
197
+ testId?: string;
198
+ isDisabled?: boolean;
201
199
  };
202
200
 
203
201
  export { BlockCardAdf };
@@ -209,8 +207,7 @@ export const blockCardContentClassName = 'block-card-content';
209
207
  export const blockCardContentHeaderClassName = 'block-card-content-header';
210
208
 
211
209
  // @public (undocumented)
212
- export const blockCardContentHeaderNameClassName =
213
- 'block-card-content-header-name';
210
+ export const blockCardContentHeaderNameClassName = 'block-card-content-header-name';
214
211
 
215
212
  // @public (undocumented)
216
213
  export const blockCardErroredViewClassName = 'block-card-errored-view';
@@ -219,8 +216,7 @@ export const blockCardErroredViewClassName = 'block-card-errored-view';
219
216
  export const blockCardForbiddenViewClassName = 'block-card-forbidden-view';
220
217
 
221
218
  // @public (undocumented)
222
- export const blockCardForbiddenViewLinkClassName =
223
- 'block-card-forbidden-view-link';
219
+ export const blockCardForbiddenViewLinkClassName = 'block-card-forbidden-view-link';
224
220
 
225
221
  // @public (undocumented)
226
222
  export const blockCardIconImageClassName = 'block-card-icon-image';
@@ -239,59 +235,57 @@ export const blockCardResolvingViewClassName = 'block-card-resolving-view';
239
235
 
240
236
  // @public (undocumented)
241
237
  type BlockProps = {
242
- direction?: SmartLinkDirection;
243
- overrideCss?: SerializedStyles;
244
- size?: SmartLinkSize;
245
- status?: SmartLinkStatus;
246
- testId?: string;
247
- blockRef?: Ref<HTMLDivElement>;
248
- onRender?: () => void;
249
- onTransitionEnd?: () => void;
238
+ direction?: SmartLinkDirection;
239
+ overrideCss?: SerializedStyles;
240
+ size?: SmartLinkSize;
241
+ status?: SmartLinkStatus;
242
+ testId?: string;
243
+ blockRef?: Ref<HTMLDivElement>;
244
+ onRender?: () => void;
245
+ onTransitionEnd?: () => void;
250
246
  };
251
247
 
252
248
  // @public (undocumented)
253
249
  export const Card: React_2.ForwardRefExoticComponent<
254
- Pick<
255
- Omit<
256
- React_2.PropsWithChildren<
257
- WithIntlProps<CardProps & WrappedComponentProps<'intl'>>
258
- >,
259
- keyof WithAnalyticsEventsProps
260
- > &
261
- React_2.RefAttributes<any> &
262
- WithContextProps,
263
- | 'analyticsContext'
264
- | 'analyticsEvents'
265
- | 'appearance'
266
- | 'children'
267
- | 'container'
268
- | 'data'
269
- | 'embedIframeRef'
270
- | 'embedIframeUrlType'
271
- | 'fallbackComponent'
272
- | 'forwardedRef'
273
- | 'frameStyle'
274
- | 'id'
275
- | 'importer'
276
- | 'inheritDimensions'
277
- | 'inlinePreloaderStyle'
278
- | 'isFrameVisible'
279
- | 'isSelected'
280
- | 'key'
281
- | 'onClick'
282
- | 'onError'
283
- | 'onResolve'
284
- | 'placeholder'
285
- | 'platform'
286
- | 'showActions'
287
- | 'showAuthTooltip'
288
- | 'showHoverPreview'
289
- | 'showServerActions'
290
- | 'testId'
291
- | 'ui'
292
- | 'url'
293
- > &
294
- React_2.RefAttributes<any>
250
+ Pick<
251
+ Omit<
252
+ React_2.PropsWithChildren<WithIntlProps<CardProps & WrappedComponentProps<'intl'>>>,
253
+ keyof WithAnalyticsEventsProps
254
+ > &
255
+ React_2.RefAttributes<any> &
256
+ WithContextProps,
257
+ | 'analyticsContext'
258
+ | 'analyticsEvents'
259
+ | 'appearance'
260
+ | 'children'
261
+ | 'container'
262
+ | 'data'
263
+ | 'embedIframeRef'
264
+ | 'embedIframeUrlType'
265
+ | 'fallbackComponent'
266
+ | 'forwardedRef'
267
+ | 'frameStyle'
268
+ | 'id'
269
+ | 'importer'
270
+ | 'inheritDimensions'
271
+ | 'inlinePreloaderStyle'
272
+ | 'isFrameVisible'
273
+ | 'isSelected'
274
+ | 'key'
275
+ | 'onClick'
276
+ | 'onError'
277
+ | 'onResolve'
278
+ | 'placeholder'
279
+ | 'platform'
280
+ | 'showActions'
281
+ | 'showAuthTooltip'
282
+ | 'showHoverPreview'
283
+ | 'showServerActions'
284
+ | 'testId'
285
+ | 'ui'
286
+ | 'url'
287
+ > &
288
+ React_2.RefAttributes<any>
295
289
  >;
296
290
 
297
291
  export { CardAdf };
@@ -301,116 +295,112 @@ export { CardAppearance };
301
295
  export { CardContext };
302
296
 
303
297
  // @public (undocumented)
304
- type CardInnerAppearance =
305
- | 'embedPreview'
306
- | 'flexible'
307
- | 'hoverCardPreview'
308
- | CardAppearance;
298
+ type CardInnerAppearance = 'embedPreview' | 'flexible' | 'hoverCardPreview' | CardAppearance;
309
299
 
310
300
  export { CardPlatform };
311
301
 
312
302
  // @public (undocumented)
313
303
  export interface CardProps extends WithAnalyticsEventsProps {
314
- // @deprecated (undocumented)
315
- analyticsEvents?: AnalyticsFacade;
316
- // (undocumented)
317
- appearance: CardAppearance;
318
- // (undocumented)
319
- children?: React.ReactNode;
320
- // (undocumented)
321
- container?: HTMLElement;
322
- // @deprecated (undocumented)
323
- data?: any;
324
- // (undocumented)
325
- embedIframeRef?: React.Ref<HTMLIFrameElement>;
326
- // (undocumented)
327
- embedIframeUrlType?: EmbedIframeUrlType;
328
- fallbackComponent?: React.ComponentType;
329
- frameStyle?: FrameStyle;
330
- // (undocumented)
331
- id?: string;
332
- // (undocumented)
333
- importer?: (target: any) => void;
334
- inheritDimensions?: boolean;
335
- // (undocumented)
336
- inlinePreloaderStyle?: InlinePreloaderStyle;
337
- // @deprecated (undocumented)
338
- isFrameVisible?: boolean;
339
- // (undocumented)
340
- isSelected?: boolean;
341
- // (undocumented)
342
- onClick?: React.EventHandler<React.KeyboardEvent | React.MouseEvent>;
343
- onError?: OnErrorCallback;
344
- // (undocumented)
345
- onResolve?: OnResolveCallback;
346
- // (undocumented)
347
- placeholder?: string;
348
- // (undocumented)
349
- platform?: CardPlatform;
350
- showActions?: boolean;
351
- // (undocumented)
352
- showAuthTooltip?: boolean;
353
- // (undocumented)
354
- showHoverPreview?: boolean;
355
- showServerActions?: boolean;
356
- // (undocumented)
357
- testId?: string;
358
- // (undocumented)
359
- ui?: FlexibleUiOptions;
360
- // (undocumented)
361
- url?: string;
304
+ // @deprecated (undocumented)
305
+ analyticsEvents?: AnalyticsFacade;
306
+ // (undocumented)
307
+ appearance: CardAppearance;
308
+ // (undocumented)
309
+ children?: React.ReactNode;
310
+ // (undocumented)
311
+ container?: HTMLElement;
312
+ // @deprecated (undocumented)
313
+ data?: any;
314
+ // (undocumented)
315
+ embedIframeRef?: React.Ref<HTMLIFrameElement>;
316
+ // (undocumented)
317
+ embedIframeUrlType?: EmbedIframeUrlType;
318
+ fallbackComponent?: React.ComponentType;
319
+ frameStyle?: FrameStyle;
320
+ // (undocumented)
321
+ id?: string;
322
+ // (undocumented)
323
+ importer?: (target: any) => void;
324
+ inheritDimensions?: boolean;
325
+ // (undocumented)
326
+ inlinePreloaderStyle?: InlinePreloaderStyle;
327
+ // @deprecated (undocumented)
328
+ isFrameVisible?: boolean;
329
+ // (undocumented)
330
+ isSelected?: boolean;
331
+ // (undocumented)
332
+ onClick?: React.EventHandler<React.KeyboardEvent | React.MouseEvent>;
333
+ onError?: OnErrorCallback;
334
+ // (undocumented)
335
+ onResolve?: OnResolveCallback;
336
+ // (undocumented)
337
+ placeholder?: string;
338
+ // (undocumented)
339
+ platform?: CardPlatform;
340
+ showActions?: boolean;
341
+ // (undocumented)
342
+ showAuthTooltip?: boolean;
343
+ // (undocumented)
344
+ showHoverPreview?: boolean;
345
+ showServerActions?: boolean;
346
+ // (undocumented)
347
+ testId?: string;
348
+ // (undocumented)
349
+ ui?: FlexibleUiOptions;
350
+ // (undocumented)
351
+ url?: string;
362
352
  }
363
353
 
364
354
  export { CardType };
365
355
 
366
356
  // @public
367
357
  type ChecklistProgress = {
368
- name: ElementName.ChecklistProgress;
358
+ name: ElementName.ChecklistProgress;
369
359
  };
370
360
 
371
361
  export { Client };
372
362
 
373
363
  // @public
374
364
  type CollaboratorGroup = {
375
- name: ElementName.CollaboratorGroup;
365
+ name: ElementName.CollaboratorGroup;
376
366
  };
377
367
 
378
368
  // @public
379
369
  type CommentCount = {
380
- name: ElementName.CommentCount;
370
+ name: ElementName.CommentCount;
381
371
  };
382
372
 
383
373
  // @public (undocumented)
384
374
  interface CommonEventProps {
385
- // (undocumented)
386
- definitionId?: string;
387
- // (undocumented)
388
- destinatinoObjectType?: string;
389
- // (undocumented)
390
- destinationProduct?: DestinationProduct | string;
391
- // (undocumented)
392
- destinationSubproduct?: DestinationSubproduct | string;
393
- // (undocumented)
394
- extensionKey?: string;
395
- // (undocumented)
396
- id?: string;
397
- // (undocumented)
398
- location?: string;
399
- // (undocumented)
400
- resourceType?: string;
401
- // (undocumented)
402
- statusDetails?: string;
375
+ // (undocumented)
376
+ definitionId?: string;
377
+ // (undocumented)
378
+ destinatinoObjectType?: string;
379
+ // (undocumented)
380
+ destinationProduct?: DestinationProduct | string;
381
+ // (undocumented)
382
+ destinationSubproduct?: DestinationSubproduct | string;
383
+ // (undocumented)
384
+ extensionKey?: string;
385
+ // (undocumented)
386
+ id?: string;
387
+ // (undocumented)
388
+ location?: string;
389
+ // (undocumented)
390
+ resourceType?: string;
391
+ // (undocumented)
392
+ statusDetails?: string;
403
393
  }
404
394
 
405
395
  // @public (undocumented)
406
396
  type ConnectFailedEventProps = CommonEventProps & {
407
- id?: string;
408
- reason?: string;
397
+ id?: string;
398
+ reason?: string;
409
399
  };
410
400
 
411
401
  // @public (undocumented)
412
402
  type ConnectSucceededEventProps = CommonEventProps & {
413
- id?: string;
403
+ id?: string;
414
404
  };
415
405
 
416
406
  // @public (undocumented)
@@ -418,25 +408,23 @@ export const contentFooterClassName = 'smart-link-content-footer';
418
408
 
419
409
  // @public
420
410
  type CreatedBy = {
421
- name: ElementName.CreatedBy;
411
+ name: ElementName.CreatedBy;
422
412
  };
423
413
 
424
414
  // @public
425
415
  type CreatedOn = {
426
- name: ElementName.CreatedOn;
427
- text?: string;
416
+ name: ElementName.CreatedOn;
417
+ text?: string;
428
418
  };
429
419
 
430
420
  // @public
431
421
  type CustomActionItem = BaseActionItem & {
432
- name: ActionName.CustomAction;
422
+ name: ActionName.CustomAction;
433
423
  } & (
434
- | ((Required<Pick<ActionProps, 'content'>> &
435
- Pick<ActionProps, 'icon' | 'iconPosition'>) &
436
- Pick<ActionProps, 'tooltipMessage'>)
437
- | (Required<Pick<ActionProps, 'icon' | 'iconPosition'>> &
438
- Pick<ActionProps, 'content'>)
439
- );
424
+ | ((Required<Pick<ActionProps, 'content'>> & Pick<ActionProps, 'icon' | 'iconPosition'>) &
425
+ Pick<ActionProps, 'tooltipMessage'>)
426
+ | (Required<Pick<ActionProps, 'icon' | 'iconPosition'>> & Pick<ActionProps, 'content'>)
427
+ );
440
428
 
441
429
  // @internal
442
430
  export const CustomBlock: React_2.FC<BlockProps>;
@@ -453,7 +441,7 @@ type DestinationSubproduct = 'core' | 'servicedesk' | 'software';
453
441
 
454
442
  // @public
455
443
  type DueOn = {
456
- name: ElementName.DueOn;
444
+ name: ElementName.DueOn;
457
445
  };
458
446
 
459
447
  export { EditorCardProvider };
@@ -462,118 +450,118 @@ export { editorCardProvider };
462
450
 
463
451
  // @public
464
452
  export type ElementItem = {
465
- overrideCss?: SerializedStyles;
466
- size?: SmartLinkSize;
467
- testId?: string;
453
+ overrideCss?: SerializedStyles;
454
+ size?: SmartLinkSize;
455
+ testId?: string;
468
456
  } & ElementItemProps;
469
457
 
470
458
  // @public
471
459
  type ElementItemProps =
472
- | AssignedTo
473
- | AssignedToGroup
474
- | AttachmentCount
475
- | AuthorGroup
476
- | ChecklistProgress
477
- | CollaboratorGroup
478
- | CommentCount
479
- | CreatedBy
480
- | CreatedOn
481
- | DueOn
482
- | LatestCommit
483
- | LinkIcon
484
- | Location_2
485
- | ModifiedBy
486
- | ModifiedOn
487
- | OwnedBy
488
- | OwnedByGroup
489
- | Preview
490
- | Priority
491
- | ProgrammingLanguage
492
- | Provider_2
493
- | ReactCount
494
- | ReadTime
495
- | SentOn
496
- | Snippet
497
- | SourceBranch
498
- | State_2
499
- | StoryPoints
500
- | SubTasksProgress
501
- | SubscriberCount
502
- | TargetBranch
503
- | Title
504
- | ViewCount
505
- | VoteCount;
460
+ | AssignedTo
461
+ | AssignedToGroup
462
+ | AttachmentCount
463
+ | AuthorGroup
464
+ | ChecklistProgress
465
+ | CollaboratorGroup
466
+ | CommentCount
467
+ | CreatedBy
468
+ | CreatedOn
469
+ | DueOn
470
+ | LatestCommit
471
+ | LinkIcon
472
+ | Location_2
473
+ | ModifiedBy
474
+ | ModifiedOn
475
+ | OwnedBy
476
+ | OwnedByGroup
477
+ | Preview
478
+ | Priority
479
+ | ProgrammingLanguage
480
+ | Provider_2
481
+ | ReactCount
482
+ | ReadTime
483
+ | SentOn
484
+ | Snippet
485
+ | SourceBranch
486
+ | State_2
487
+ | StoryPoints
488
+ | SubTasksProgress
489
+ | SubscriberCount
490
+ | TargetBranch
491
+ | Title
492
+ | ViewCount
493
+ | VoteCount;
506
494
 
507
495
  // @public
508
496
  export enum ElementName {
509
- // (undocumented)
510
- AssignedTo = 'AssignedTo',
511
- // (undocumented)
512
- AssignedToGroup = 'AssignedToGroup',
513
- // (undocumented)
514
- AttachmentCount = 'AttachmentCount',
515
- // (undocumented)
516
- AuthorGroup = 'AuthorGroup',
517
- // (undocumented)
518
- ChecklistProgress = 'ChecklistProgress',
519
- // (undocumented)
520
- CollaboratorGroup = 'CollaboratorGroup',
521
- // (undocumented)
522
- CommentCount = 'CommentCount',
523
- // (undocumented)
524
- CreatedBy = 'CreatedBy',
525
- // (undocumented)
526
- CreatedOn = 'CreatedOn',
527
- // (undocumented)
528
- DueOn = 'DueOn',
529
- // (undocumented)
530
- LatestCommit = 'LatestCommit',
531
- // (undocumented)
532
- LinkIcon = 'LinkIcon',
533
- // (undocumented)
534
- Location = 'Location',
535
- // (undocumented)
536
- ModifiedBy = 'ModifiedBy',
537
- // (undocumented)
538
- ModifiedOn = 'ModifiedOn',
539
- // (undocumented)
540
- OwnedBy = 'OwnedBy',
541
- // (undocumented)
542
- OwnedByGroup = 'OwnedByGroup',
543
- // (undocumented)
544
- Preview = 'Preview',
545
- // (undocumented)
546
- Priority = 'Priority',
547
- // (undocumented)
548
- ProgrammingLanguage = 'ProgrammingLanguage',
549
- // (undocumented)
550
- Provider = 'Provider',
551
- // (undocumented)
552
- ReactCount = 'ReactCount',
553
- // (undocumented)
554
- ReadTime = 'ReadTime',
555
- // (undocumented)
556
- SentOn = 'SentOn',
557
- // (undocumented)
558
- Snippet = 'Snippet',
559
- // (undocumented)
560
- SourceBranch = 'SourceBranch',
561
- // (undocumented)
562
- State = 'State',
563
- // (undocumented)
564
- StoryPoints = 'StoryPoints',
565
- // (undocumented)
566
- SubscriberCount = 'SubscriberCount',
567
- // (undocumented)
568
- SubTasksProgress = 'SubTasksProgress',
569
- // (undocumented)
570
- TargetBranch = 'TargetBranch',
571
- // (undocumented)
572
- Title = 'Title',
573
- // (undocumented)
574
- ViewCount = 'ViewCount',
575
- // (undocumented)
576
- VoteCount = 'VoteCount',
497
+ // (undocumented)
498
+ AssignedTo = 'AssignedTo',
499
+ // (undocumented)
500
+ AssignedToGroup = 'AssignedToGroup',
501
+ // (undocumented)
502
+ AttachmentCount = 'AttachmentCount',
503
+ // (undocumented)
504
+ AuthorGroup = 'AuthorGroup',
505
+ // (undocumented)
506
+ ChecklistProgress = 'ChecklistProgress',
507
+ // (undocumented)
508
+ CollaboratorGroup = 'CollaboratorGroup',
509
+ // (undocumented)
510
+ CommentCount = 'CommentCount',
511
+ // (undocumented)
512
+ CreatedBy = 'CreatedBy',
513
+ // (undocumented)
514
+ CreatedOn = 'CreatedOn',
515
+ // (undocumented)
516
+ DueOn = 'DueOn',
517
+ // (undocumented)
518
+ LatestCommit = 'LatestCommit',
519
+ // (undocumented)
520
+ LinkIcon = 'LinkIcon',
521
+ // (undocumented)
522
+ Location = 'Location',
523
+ // (undocumented)
524
+ ModifiedBy = 'ModifiedBy',
525
+ // (undocumented)
526
+ ModifiedOn = 'ModifiedOn',
527
+ // (undocumented)
528
+ OwnedBy = 'OwnedBy',
529
+ // (undocumented)
530
+ OwnedByGroup = 'OwnedByGroup',
531
+ // (undocumented)
532
+ Preview = 'Preview',
533
+ // (undocumented)
534
+ Priority = 'Priority',
535
+ // (undocumented)
536
+ ProgrammingLanguage = 'ProgrammingLanguage',
537
+ // (undocumented)
538
+ Provider = 'Provider',
539
+ // (undocumented)
540
+ ReactCount = 'ReactCount',
541
+ // (undocumented)
542
+ ReadTime = 'ReadTime',
543
+ // (undocumented)
544
+ SentOn = 'SentOn',
545
+ // (undocumented)
546
+ Snippet = 'Snippet',
547
+ // (undocumented)
548
+ SourceBranch = 'SourceBranch',
549
+ // (undocumented)
550
+ State = 'State',
551
+ // (undocumented)
552
+ StoryPoints = 'StoryPoints',
553
+ // (undocumented)
554
+ SubscriberCount = 'SubscriberCount',
555
+ // (undocumented)
556
+ SubTasksProgress = 'SubTasksProgress',
557
+ // (undocumented)
558
+ TargetBranch = 'TargetBranch',
559
+ // (undocumented)
560
+ Title = 'Title',
561
+ // (undocumented)
562
+ ViewCount = 'ViewCount',
563
+ // (undocumented)
564
+ VoteCount = 'VoteCount',
577
565
  }
578
566
 
579
567
  export { EmbedCardAdf };
@@ -585,36 +573,28 @@ export const embedHeaderHeight = 32;
585
573
  type EmbedIframeUrlType = 'href' | 'interactiveHref';
586
574
 
587
575
  // @public (undocumented)
588
- export class EmbedResizeMessageListener extends React_2.Component<
589
- Props,
590
- State
591
- > {
592
- // (undocumented)
593
- componentDidMount(): void;
594
- // (undocumented)
595
- componentWillUnmount(): void;
596
- // (undocumented)
597
- render(): React_2.ReactNode;
576
+ export class EmbedResizeMessageListener extends React_2.Component<Props, State> {
577
+ // (undocumented)
578
+ componentDidMount(): void;
579
+ // (undocumented)
580
+ componentWillUnmount(): void;
581
+ // (undocumented)
582
+ render(): React_2.ReactNode;
598
583
  }
599
584
 
600
585
  // @public (undocumented)
601
- type ErrorCardType =
602
- | 'errored'
603
- | 'fallback'
604
- | 'forbidden'
605
- | 'not_found'
606
- | 'unauthorized';
586
+ type ErrorCardType = 'errored' | 'fallback' | 'forbidden' | 'not_found' | 'unauthorized';
607
587
 
608
588
  // @public (undocumented)
609
589
  type FlexibleUiOptions = {
610
- clickableContainer?: boolean;
611
- hideElevation?: boolean;
612
- hideHoverCardPreviewButton?: boolean;
613
- hidePadding?: boolean;
614
- hideBackground?: boolean;
615
- size?: SmartLinkSize;
616
- theme?: SmartLinkTheme;
617
- zIndex?: number;
590
+ clickableContainer?: boolean;
591
+ hideElevation?: boolean;
592
+ hideHoverCardPreviewButton?: boolean;
593
+ hidePadding?: boolean;
594
+ hideBackground?: boolean;
595
+ size?: SmartLinkSize;
596
+ theme?: SmartLinkTheme;
597
+ zIndex?: number;
618
598
  };
619
599
 
620
600
  // @public
@@ -622,8 +602,8 @@ export const FooterBlock: React_2.FC<FooterBlockProps>;
622
602
 
623
603
  // @public (undocumented)
624
604
  type FooterBlockProps = {
625
- actions?: ActionItem[];
626
- onActionMenuOpenChange?: (options: OnActionMenuOpenChangeOptions) => void;
605
+ actions?: ActionItem[];
606
+ onActionMenuOpenChange?: (options: OnActionMenuOpenChangeOptions) => void;
627
607
  } & BlockProps;
628
608
 
629
609
  // @public (undocumented)
@@ -632,30 +612,28 @@ type FrameStyle = 'hide' | 'show' | 'showOnHover';
632
612
  export { InlineCardAdf };
633
613
 
634
614
  // @public (undocumented)
635
- type InlinePreloaderStyle =
636
- | 'on-left-with-skeleton'
637
- | 'on-right-without-skeleton';
615
+ type InlinePreloaderStyle = 'on-left-with-skeleton' | 'on-right-without-skeleton';
638
616
 
639
617
  // @public (undocumented)
640
618
  type InstrumentEventProps = CommonEventProps & {
641
- error?: APIError;
642
- status: CardType;
643
- id: string;
619
+ error?: APIError;
620
+ status: CardType;
621
+ id: string;
644
622
  };
645
623
 
646
624
  // @public (undocumented)
647
625
  type InvokeFailedEventProps = CommonEventProps & {
648
- id?: string;
649
- actionType: string;
650
- display?: CardInnerAppearance;
651
- reason: string;
626
+ id?: string;
627
+ actionType: string;
628
+ display?: CardInnerAppearance;
629
+ reason: string;
652
630
  };
653
631
 
654
632
  // @public (undocumented)
655
633
  type InvokeSucceededEventProps = CommonEventProps & {
656
- id?: string;
657
- actionType: string;
658
- display?: CardInnerAppearance;
634
+ id?: string;
635
+ actionType: string;
636
+ display?: CardInnerAppearance;
659
637
  };
660
638
 
661
639
  // @public (undocumented)
@@ -663,12 +641,12 @@ type InvokeType = 'client' | 'server';
663
641
 
664
642
  // @public
665
643
  type LatestCommit = {
666
- name: ElementName.LatestCommit;
644
+ name: ElementName.LatestCommit;
667
645
  };
668
646
 
669
647
  // @public
670
648
  type LinkIcon = {
671
- name: ElementName.LinkIcon;
649
+ name: ElementName.LinkIcon;
672
650
  };
673
651
 
674
652
  // @public (undocumented)
@@ -676,15 +654,15 @@ export const loadingPlaceholderClassName = 'smart-link-loading-placeholder';
676
654
 
677
655
  // @public
678
656
  type Location_2 = {
679
- name: ElementName.Location;
657
+ name: ElementName.Location;
680
658
  };
681
659
 
682
660
  // @public (undocumented)
683
661
  export enum MediaPlacement {
684
- // (undocumented)
685
- Left = 'left',
686
- // (undocumented)
687
- Right = 'right',
662
+ // (undocumented)
663
+ Left = 'left',
664
+ // (undocumented)
665
+ Right = 'right',
688
666
  }
689
667
 
690
668
  // @public
@@ -692,9 +670,9 @@ export const MetadataBlock: React_2.FC<MetadataBlockProps>;
692
670
 
693
671
  // @public (undocumented)
694
672
  type MetadataBlockProps = {
695
- maxLines?: number;
696
- primary?: ElementItem[];
697
- secondary?: ElementItem[];
673
+ maxLines?: number;
674
+ primary?: ElementItem[];
675
+ secondary?: ElementItem[];
698
676
  } & BlockProps;
699
677
 
700
678
  // @public (undocumented)
@@ -702,62 +680,58 @@ export const metadataListClassName = 'smart-link-metadata-list';
702
680
 
703
681
  // @public
704
682
  type ModifiedBy = {
705
- name: ElementName.ModifiedBy;
683
+ name: ElementName.ModifiedBy;
706
684
  };
707
685
 
708
686
  // @public
709
687
  type ModifiedOn = {
710
- name: ElementName.ModifiedOn;
711
- text?: string;
688
+ name: ElementName.ModifiedOn;
689
+ text?: string;
712
690
  };
713
691
 
714
692
  // @public
715
693
  type NamedActionItem = BaseActionItem & {
716
- name: ActionName.DeleteAction | ActionName.EditAction;
694
+ name: ActionName.DeleteAction | ActionName.EditAction;
717
695
  };
718
696
 
719
697
  // @public
720
698
  type NamedDataActionItem = BaseDataActionItem & {
721
- name:
722
- | ActionName.DownloadAction
723
- | ActionName.FollowAction
724
- | ActionName.PreviewAction
725
- | ActionName.ViewAction;
699
+ name:
700
+ | ActionName.DownloadAction
701
+ | ActionName.FollowAction
702
+ | ActionName.PreviewAction
703
+ | ActionName.ViewAction;
726
704
  };
727
705
 
728
706
  // @public (undocumented)
729
707
  export type OnActionMenuOpenChangeOptions = {
730
- isOpen: boolean;
708
+ isOpen: boolean;
731
709
  };
732
710
 
733
711
  // @public (undocumented)
734
712
  type OnErrorCallback = (data: {
735
- status: Extract<CardType, ErrorCardType>;
736
- url: string;
737
- err?: Error;
713
+ status: Extract<CardType, ErrorCardType>;
714
+ url: string;
715
+ err?: Error;
738
716
  }) => void;
739
717
 
740
718
  // @public (undocumented)
741
- type OnResolveCallback = (data: {
742
- url?: string;
743
- title?: string;
744
- aspectRatio?: number;
745
- }) => void;
719
+ type OnResolveCallback = (data: { url?: string; title?: string; aspectRatio?: number }) => void;
746
720
 
747
721
  // @public
748
722
  type OwnedBy = {
749
- name: ElementName.OwnedBy;
723
+ name: ElementName.OwnedBy;
750
724
  };
751
725
 
752
726
  // @public
753
727
  type OwnedByGroup = {
754
- name: ElementName.OwnedByGroup;
755
- showNamePrefix?: boolean;
728
+ name: ElementName.OwnedByGroup;
729
+ showNamePrefix?: boolean;
756
730
  };
757
731
 
758
732
  // @public
759
733
  type Preview = {
760
- name: ElementName.Preview;
734
+ name: ElementName.Preview;
761
735
  };
762
736
 
763
737
  // @public
@@ -765,10 +739,10 @@ export const PreviewBlock: React_2.FC<PreviewBlockProps>;
765
739
 
766
740
  // @public (undocumented)
767
741
  type PreviewBlockProps = {
768
- ignoreContainerPadding?: boolean;
769
- onError?: () => void;
770
- placement?: MediaPlacement;
771
- overrideUrl?: string;
742
+ ignoreContainerPadding?: boolean;
743
+ onError?: () => void;
744
+ placement?: MediaPlacement;
745
+ overrideUrl?: string;
772
746
  } & BlockProps;
773
747
 
774
748
  // @public (undocumented)
@@ -779,39 +753,39 @@ type PreviewInvokeMethod = 'keyboard' | 'mouse_click' | 'mouse_hover';
779
753
 
780
754
  // @public
781
755
  type Priority = {
782
- name: ElementName.Priority;
756
+ name: ElementName.Priority;
783
757
  };
784
758
 
785
759
  // @public
786
760
  type ProgrammingLanguage = {
787
- name: ElementName.ProgrammingLanguage;
761
+ name: ElementName.ProgrammingLanguage;
788
762
  };
789
763
 
790
764
  // @public (undocumented)
791
765
  interface Props {
792
- // (undocumented)
793
- embedIframeRef: React_2.RefObject<HTMLIFrameElement>;
794
- // (undocumented)
795
- onHeightUpdate: (height: number) => void;
766
+ // (undocumented)
767
+ embedIframeRef: React_2.RefObject<HTMLIFrameElement>;
768
+ // (undocumented)
769
+ onHeightUpdate: (height: number) => void;
796
770
  }
797
771
 
798
772
  export { Provider };
799
773
 
800
774
  // @public
801
775
  type Provider_2 = {
802
- name: ElementName.Provider;
776
+ name: ElementName.Provider;
803
777
  };
804
778
 
805
779
  export { ProviderProps };
806
780
 
807
781
  // @public
808
782
  type ReactCount = {
809
- name: ElementName.ReactCount;
783
+ name: ElementName.ReactCount;
810
784
  };
811
785
 
812
786
  // @public
813
787
  type ReadTime = {
814
- name: ElementName.ReadTime;
788
+ name: ElementName.ReadTime;
815
789
  };
816
790
 
817
791
  // @public (undocumented)
@@ -819,9 +793,9 @@ export type ResolveResponse = JsonLd.Response;
819
793
 
820
794
  // @public
821
795
  type RetryOptions = {
822
- descriptor?: MessageDescriptor;
823
- onClick?: ((e: React.MouseEvent<HTMLElement>) => void) | undefined;
824
- values?: Record<string, string>;
796
+ descriptor?: MessageDescriptor;
797
+ onClick?: ((e: React.MouseEvent<HTMLElement>) => void) | undefined;
798
+ values?: Record<string, string>;
825
799
  };
826
800
 
827
801
  // @public (undocumented)
@@ -829,7 +803,7 @@ type ScreenAuthPopupEventProps = CommonEventProps;
829
803
 
830
804
  // @public
831
805
  type SentOn = {
832
- name: ElementName.SentOn;
806
+ name: ElementName.SentOn;
833
807
  };
834
808
 
835
809
  export { SmartCardContext as Context };
@@ -837,73 +811,73 @@ export { SmartCardContext };
837
811
 
838
812
  // @public
839
813
  export enum SmartLinkDirection {
840
- // (undocumented)
841
- Horizontal = 'horizontal',
842
- // (undocumented)
843
- Vertical = 'vertical',
814
+ // (undocumented)
815
+ Horizontal = 'horizontal',
816
+ // (undocumented)
817
+ Vertical = 'vertical',
844
818
  }
845
819
 
846
820
  // @public (undocumented)
847
821
  export class SmartLinkEvents {
848
- // (undocumented)
849
- insertSmartLink(
850
- url: string,
851
- type: CardInnerAppearance,
852
- createAnalyticsEvent?: CreateUIAnalyticsEvent,
853
- ): void;
822
+ // (undocumented)
823
+ insertSmartLink(
824
+ url: string,
825
+ type: CardInnerAppearance,
826
+ createAnalyticsEvent?: CreateUIAnalyticsEvent,
827
+ ): void;
854
828
  }
855
829
 
856
830
  // @public
857
831
  export enum SmartLinkPosition {
858
- // (undocumented)
859
- Center = 'center',
860
- // (undocumented)
861
- Top = 'top',
832
+ // (undocumented)
833
+ Center = 'center',
834
+ // (undocumented)
835
+ Top = 'top',
862
836
  }
863
837
 
864
838
  // @public
865
839
  export enum SmartLinkSize {
866
- // (undocumented)
867
- Large = 'large',
868
- // (undocumented)
869
- Medium = 'medium',
870
- // (undocumented)
871
- Small = 'small',
872
- // (undocumented)
873
- XLarge = 'xlarge',
840
+ // (undocumented)
841
+ Large = 'large',
842
+ // (undocumented)
843
+ Medium = 'medium',
844
+ // (undocumented)
845
+ Small = 'small',
846
+ // (undocumented)
847
+ XLarge = 'xlarge',
874
848
  }
875
849
 
876
850
  // @public
877
851
  enum SmartLinkStatus {
878
- // (undocumented)
879
- Errored = 'errored',
880
- // (undocumented)
881
- Fallback = 'fallback',
882
- // (undocumented)
883
- Forbidden = 'forbidden',
884
- // (undocumented)
885
- NotFound = 'not_found',
886
- // (undocumented)
887
- Pending = 'pending',
888
- // (undocumented)
889
- Resolved = 'resolved',
890
- // (undocumented)
891
- Resolving = 'resolving',
892
- // (undocumented)
893
- Unauthorized = 'unauthorized',
852
+ // (undocumented)
853
+ Errored = 'errored',
854
+ // (undocumented)
855
+ Fallback = 'fallback',
856
+ // (undocumented)
857
+ Forbidden = 'forbidden',
858
+ // (undocumented)
859
+ NotFound = 'not_found',
860
+ // (undocumented)
861
+ Pending = 'pending',
862
+ // (undocumented)
863
+ Resolved = 'resolved',
864
+ // (undocumented)
865
+ Resolving = 'resolving',
866
+ // (undocumented)
867
+ Unauthorized = 'unauthorized',
894
868
  }
895
869
 
896
870
  // @public
897
871
  export enum SmartLinkTheme {
898
- // (undocumented)
899
- Black = 'black',
900
- // (undocumented)
901
- Link = 'link',
872
+ // (undocumented)
873
+ Black = 'black',
874
+ // (undocumented)
875
+ Link = 'link',
902
876
  }
903
877
 
904
878
  // @public
905
879
  type Snippet = {
906
- name: ElementName.Snippet;
880
+ name: ElementName.Snippet;
907
881
  };
908
882
 
909
883
  // @public
@@ -911,13 +885,13 @@ export const SnippetBlock: React_2.FC<SnippetBlockProps>;
911
885
 
912
886
  // @public (undocumented)
913
887
  type SnippetBlockProps = {
914
- maxLines?: number;
915
- text?: string;
888
+ maxLines?: number;
889
+ text?: string;
916
890
  } & BlockProps;
917
891
 
918
892
  // @public
919
893
  type SourceBranch = {
920
- name: ElementName.SourceBranch;
894
+ name: ElementName.SourceBranch;
921
895
  };
922
896
 
923
897
  // @public (undocumented)
@@ -925,32 +899,32 @@ interface State {}
925
899
 
926
900
  // @public
927
901
  type State_2 = {
928
- name: ElementName.State;
902
+ name: ElementName.State;
929
903
  };
930
904
 
931
905
  // @public
932
906
  type StoryPoints = {
933
- name: ElementName.StoryPoints;
907
+ name: ElementName.StoryPoints;
934
908
  };
935
909
 
936
910
  // @public
937
911
  type SubscriberCount = {
938
- name: ElementName.SubscriberCount;
912
+ name: ElementName.SubscriberCount;
939
913
  };
940
914
 
941
915
  // @public
942
916
  type SubTasksProgress = {
943
- name: ElementName.SubTasksProgress;
917
+ name: ElementName.SubTasksProgress;
944
918
  };
945
919
 
946
920
  // @public
947
921
  type TargetBranch = {
948
- name: ElementName.TargetBranch;
922
+ name: ElementName.TargetBranch;
949
923
  };
950
924
 
951
925
  // @public
952
926
  type Title = {
953
- name: ElementName.Title;
927
+ name: ElementName.Title;
954
928
  };
955
929
 
956
930
  // @public
@@ -958,22 +932,22 @@ export const TitleBlock: React_2.FC<TitleBlockProps>;
958
932
 
959
933
  // @public (undocumented)
960
934
  type TitleBlockProps = {
961
- actions?: ActionItem[];
962
- anchorTarget?: AnchorTarget;
963
- hideTitleTooltip?: boolean;
964
- maxLines?: number;
965
- metadata?: ElementItem[];
966
- onActionMenuOpenChange?: (options: OnActionMenuOpenChangeOptions) => void;
967
- position?: SmartLinkPosition;
968
- onClick?: React_2.EventHandler<React_2.KeyboardEvent | React_2.MouseEvent>;
969
- retry?: RetryOptions;
970
- hideRetry?: boolean;
971
- showActionOnHover?: boolean;
972
- subtitle?: ElementItem[];
973
- text?: string;
974
- theme?: SmartLinkTheme;
975
- metadataPosition?: SmartLinkPosition;
976
- hideIcon?: boolean;
935
+ actions?: ActionItem[];
936
+ anchorTarget?: AnchorTarget;
937
+ hideTitleTooltip?: boolean;
938
+ maxLines?: number;
939
+ metadata?: ElementItem[];
940
+ onActionMenuOpenChange?: (options: OnActionMenuOpenChangeOptions) => void;
941
+ position?: SmartLinkPosition;
942
+ onClick?: React_2.EventHandler<React_2.KeyboardEvent | React_2.MouseEvent>;
943
+ retry?: RetryOptions;
944
+ hideRetry?: boolean;
945
+ showActionOnHover?: boolean;
946
+ subtitle?: ElementItem[];
947
+ text?: string;
948
+ theme?: SmartLinkTheme;
949
+ metadataPosition?: SmartLinkPosition;
950
+ hideIcon?: boolean;
977
951
  } & BlockProps;
978
952
 
979
953
  // @public (undocumented)
@@ -981,372 +955,367 @@ type TrackAppAccountConnectedProps = CommonEventProps;
981
955
 
982
956
  // @public (undocumented)
983
957
  enum TrackQuickActionFailureReason {
984
- // (undocumented)
985
- PermissionError = 'PermissionError',
986
- // (undocumented)
987
- UnknownError = 'UnknownError',
988
- // (undocumented)
989
- ValidationError = 'ValidationError',
958
+ // (undocumented)
959
+ PermissionError = 'PermissionError',
960
+ // (undocumented)
961
+ UnknownError = 'UnknownError',
962
+ // (undocumented)
963
+ ValidationError = 'ValidationError',
990
964
  }
991
965
 
992
966
  // @public (undocumented)
993
967
  enum TrackQuickActionType {
994
- // (undocumented)
995
- StatusUpdate = 'StatusUpdate',
968
+ // (undocumented)
969
+ StatusUpdate = 'StatusUpdate',
996
970
  }
997
971
 
998
972
  // @public (undocumented)
999
973
  type UiActionClickedEventProps = CommonEventProps & {
1000
- id?: string;
1001
- display?: CardInnerAppearance;
1002
- actionType: string;
1003
- invokeType?: InvokeType;
974
+ id?: string;
975
+ display?: CardInnerAppearance;
976
+ actionType: string;
977
+ invokeType?: InvokeType;
1004
978
  };
1005
979
 
1006
980
  // @public (undocumented)
1007
981
  type UiAuthAlternateAccountEventProps = CommonEventProps & {
1008
- display: CardInnerAppearance;
982
+ display: CardInnerAppearance;
1009
983
  };
1010
984
 
1011
985
  // @public (undocumented)
1012
986
  type UiAuthEventProps = CommonEventProps & {
1013
- display: CardInnerAppearance;
987
+ display: CardInnerAppearance;
1014
988
  };
1015
989
 
1016
990
  // @public (undocumented)
1017
991
  type UiCardClickedEventProps = CommonEventProps & {
1018
- id: string;
1019
- display: CardInnerAppearance;
1020
- status: CardType;
1021
- isModifierKeyPressed?: boolean;
1022
- actionSubjectId?: string;
992
+ id: string;
993
+ display: CardInnerAppearance;
994
+ status: CardType;
995
+ isModifierKeyPressed?: boolean;
996
+ actionSubjectId?: string;
1023
997
  };
1024
998
 
1025
999
  // @public (undocumented)
1026
1000
  type UiClosedAuthEventProps = CommonEventProps & {
1027
- display: CardInnerAppearance;
1001
+ display: CardInnerAppearance;
1028
1002
  };
1029
1003
 
1030
1004
  // @public (undocumented)
1031
1005
  type UiHoverCardDismissedEventProps = CommonEventProps & {
1032
- previewDisplay: PreviewDisplay;
1033
- hoverTime: number;
1034
- previewInvokeMethod?: PreviewInvokeMethod;
1035
- status: CardType;
1006
+ previewDisplay: PreviewDisplay;
1007
+ hoverTime: number;
1008
+ previewInvokeMethod?: PreviewInvokeMethod;
1009
+ status: CardType;
1036
1010
  };
1037
1011
 
1038
1012
  // @public (undocumented)
1039
1013
  type UiHoverCardOpenLinkClickedEventProps = CommonEventProps & {
1040
- previewDisplay: PreviewDisplay;
1041
- previewInvokeMethod?: PreviewInvokeMethod;
1014
+ previewDisplay: PreviewDisplay;
1015
+ previewInvokeMethod?: PreviewInvokeMethod;
1042
1016
  };
1043
1017
 
1044
1018
  // @public (undocumented)
1045
1019
  type UiHoverCardViewedEventProps = CommonEventProps & {
1046
- previewDisplay: PreviewDisplay;
1047
- previewInvokeMethod?: PreviewInvokeMethod;
1048
- status: CardType;
1020
+ previewDisplay: PreviewDisplay;
1021
+ previewInvokeMethod?: PreviewInvokeMethod;
1022
+ status: CardType;
1049
1023
  };
1050
1024
 
1051
1025
  // @public (undocumented)
1052
1026
  type UiIframeDwelledEventProps = CommonEventProps & {
1053
- id: string;
1054
- display: CardInnerAppearance;
1055
- status: CardType;
1056
- dwellTime: number;
1057
- dwellPercentVisible: number;
1027
+ id: string;
1028
+ display: CardInnerAppearance;
1029
+ status: CardType;
1030
+ dwellTime: number;
1031
+ dwellPercentVisible: number;
1058
1032
  };
1059
1033
 
1060
1034
  // @public (undocumented)
1061
1035
  type UiIframeFocusedEventProps = CommonEventProps & {
1062
- id: string;
1063
- display: CardInnerAppearance;
1064
- status: CardType;
1036
+ id: string;
1037
+ display: CardInnerAppearance;
1038
+ status: CardType;
1065
1039
  };
1066
1040
 
1067
1041
  // @public (undocumented)
1068
1042
  type UiRenderFailedEventProps = CommonEventProps & {
1069
- display: CardInnerAppearance;
1070
- error: Error;
1071
- errorInfo: ErrorInfo;
1043
+ display: CardInnerAppearance;
1044
+ error: Error;
1045
+ errorInfo: ErrorInfo;
1072
1046
  };
1073
1047
 
1074
1048
  // @public (undocumented)
1075
1049
  type UiRenderSuccessEventProps = CommonEventProps & {
1076
- display: CardInnerAppearance;
1077
- status: CardType;
1078
- canBeDatasource?: boolean;
1050
+ display: CardInnerAppearance;
1051
+ status: CardType;
1052
+ canBeDatasource?: boolean;
1079
1053
  };
1080
1054
 
1081
1055
  // @public (undocumented)
1082
1056
  type UiServerActionClickedEventProps = CommonEventProps & {
1083
- smartLinkActionType: SmartLinkActionType;
1057
+ smartLinkActionType: SmartLinkActionType;
1084
1058
  };
1085
1059
 
1086
1060
  // @public @deprecated
1087
1061
  export const useSmartLinkAnalytics: (
1088
- url: string,
1089
- _dispatchAnalytics?: AnalyticsHandler,
1090
- id?: string,
1091
- defaultLocation?: string,
1062
+ url: string,
1063
+ _dispatchAnalytics?: AnalyticsHandler,
1064
+ id?: string,
1065
+ defaultLocation?: string,
1092
1066
  ) => {
1093
- ui: {
1094
- authEvent: ({
1095
- display,
1096
- extensionKey,
1097
- definitionId,
1098
- resourceType,
1099
- destinationProduct,
1100
- destinationSubproduct,
1101
- location,
1102
- }: UiAuthEventProps) => void;
1103
- authAlternateAccountEvent: ({
1104
- display,
1105
- extensionKey,
1106
- definitionId,
1107
- resourceType,
1108
- destinationProduct,
1109
- destinationSubproduct,
1110
- location,
1111
- }: UiAuthAlternateAccountEventProps) => void;
1112
- buttonClickedEvent: (
1113
- data: Partial<AnalyticsPayload> & {
1114
- actionSubjectId: Required<string>;
1115
- },
1116
- ) => void;
1117
- cardClickedEvent: ({
1118
- id,
1119
- display,
1120
- status,
1121
- definitionId,
1122
- extensionKey,
1123
- isModifierKeyPressed,
1124
- location,
1125
- destinationProduct,
1126
- destinationSubproduct,
1127
- actionSubjectId,
1128
- }: UiCardClickedEventProps) => void;
1129
- iframeDwelledEvent: ({
1130
- id,
1131
- display,
1132
- status,
1133
- definitionId,
1134
- extensionKey,
1135
- location,
1136
- destinationProduct,
1137
- destinationSubproduct,
1138
- dwellTime,
1139
- dwellPercentVisible,
1140
- }: UiIframeDwelledEventProps) => void;
1141
- iframeFocusedEvent: ({
1142
- id,
1143
- display,
1144
- status,
1145
- definitionId,
1146
- extensionKey,
1147
- location,
1148
- destinationProduct,
1149
- destinationSubproduct,
1150
- }: UiIframeFocusedEventProps) => void;
1151
- actionClickedEvent: ({
1152
- id,
1153
- actionType,
1154
- display,
1155
- extensionKey: overrideExtensionKey,
1156
- definitionId,
1157
- resourceType,
1158
- destinationProduct,
1159
- destinationSubproduct,
1160
- location,
1161
- }: UiActionClickedEventProps) => void;
1162
- hoverCardOpenLinkClickedEvent: ({
1163
- previewDisplay,
1164
- definitionId,
1165
- extensionKey,
1166
- destinationProduct,
1167
- destinationSubproduct,
1168
- location,
1169
- previewInvokeMethod,
1170
- }: UiHoverCardOpenLinkClickedEventProps) => void;
1171
- closedAuthEvent: ({
1172
- display,
1173
- extensionKey,
1174
- definitionId,
1175
- resourceType,
1176
- destinationProduct,
1177
- destinationSubproduct,
1178
- location,
1179
- }: UiClosedAuthEventProps) => void;
1180
- modalClosedEvent: (
1181
- data: Partial<AnalyticsPayload> & {
1182
- actionSubjectId: Required<string>;
1183
- },
1184
- ) => void;
1185
- renderSuccessEvent: ({
1186
- display,
1187
- status,
1188
- id,
1189
- extensionKey,
1190
- definitionId,
1191
- resourceType,
1192
- destinationProduct,
1193
- destinationSubproduct,
1194
- location,
1195
- canBeDatasource,
1196
- }: UiRenderSuccessEventProps) => void;
1197
- renderFailedEvent: ({
1198
- display,
1199
- id,
1200
- error,
1201
- errorInfo,
1202
- extensionKey,
1203
- definitionId,
1204
- resourceType,
1205
- destinationProduct,
1206
- destinationSubproduct,
1207
- location,
1208
- }: UiRenderFailedEventProps) => void;
1209
- hoverCardViewedEvent: ({
1210
- previewDisplay,
1211
- previewInvokeMethod,
1212
- id,
1213
- extensionKey,
1214
- definitionId,
1215
- resourceType,
1216
- destinationProduct,
1217
- destinationSubproduct,
1218
- location,
1219
- status,
1220
- }: UiHoverCardViewedEventProps) => void;
1221
- hoverCardDismissedEvent: ({
1222
- id,
1223
- previewDisplay,
1224
- hoverTime,
1225
- previewInvokeMethod,
1226
- extensionKey,
1227
- definitionId,
1228
- resourceType,
1229
- destinationProduct,
1230
- destinationSubproduct,
1231
- location,
1232
- status,
1233
- }: UiHoverCardDismissedEventProps) => void;
1234
- learnMoreClickedEvent: () => void;
1235
- smartLinkLozengeActionClickedEvent: () => void;
1236
- smartLinkLozengeActionListItemClickedEvent: () => void;
1237
- smartLinkLozengeActionErrorOpenPreviewClickedEvent: () => void;
1238
- smartLinkServerActionClickedEvent: (
1239
- props: UiServerActionClickedEventProps,
1240
- ) => void;
1241
- };
1242
- operational: {
1243
- invokeSucceededEvent: ({
1244
- id,
1245
- actionType,
1246
- display,
1247
- extensionKey,
1248
- definitionId,
1249
- resourceType,
1250
- destinationProduct,
1251
- destinationSubproduct,
1252
- location,
1253
- }: InvokeSucceededEventProps) => void;
1254
- invokeFailedEvent: ({
1255
- id,
1256
- actionType,
1257
- display,
1258
- reason,
1259
- extensionKey,
1260
- definitionId,
1261
- resourceType,
1262
- destinationProduct,
1263
- destinationSubproduct,
1264
- location,
1265
- }: InvokeFailedEventProps) => void;
1266
- connectSucceededEvent: ({
1267
- id,
1268
- extensionKey,
1269
- definitionId,
1270
- resourceType,
1271
- destinationProduct,
1272
- destinationSubproduct,
1273
- location,
1274
- }: ConnectSucceededEventProps) => void;
1275
- connectFailedEvent: ({
1276
- id,
1277
- reason,
1278
- extensionKey,
1279
- definitionId,
1280
- resourceType,
1281
- destinationProduct,
1282
- destinationSubproduct,
1283
- location,
1284
- }: ConnectFailedEventProps) => void;
1285
- instrument: ({
1286
- id,
1287
- status,
1288
- extensionKey,
1289
- definitionId,
1290
- resourceType,
1291
- destinationProduct,
1292
- destinationSubproduct,
1293
- location,
1294
- error,
1295
- }: InstrumentEventProps) => void;
1296
- chunkloadFailedEvent: ({
1297
- display,
1298
- error,
1299
- errorInfo,
1300
- extensionKey,
1301
- definitionId,
1302
- resourceType,
1303
- destinationProduct,
1304
- destinationSubproduct,
1305
- location,
1306
- }: UiRenderFailedEventProps) => void;
1307
- };
1308
- track: {
1309
- appAccountConnected: ({
1310
- extensionKey,
1311
- definitionId,
1312
- resourceType,
1313
- destinationProduct,
1314
- destinationSubproduct,
1315
- location,
1316
- }: TrackAppAccountConnectedProps) => void;
1317
- appAccountAuthStarted: ({
1318
- extensionKey,
1319
- location,
1320
- }: TrackAppAccountConnectedProps) => void;
1321
- linkUpdated: () => void;
1322
- smartLinkQuickActionStarted: (props: {
1323
- smartLinkActionType: SmartLinkActionType | TrackQuickActionType;
1324
- }) => void;
1325
- smartLinkQuickActionSuccess: (props: {
1326
- smartLinkActionType: SmartLinkActionType | TrackQuickActionType;
1327
- }) => void;
1328
- smartLinkQuickActionFailed: (props: {
1329
- smartLinkActionType: SmartLinkActionType | TrackQuickActionType;
1330
- reason?: TrackQuickActionFailureReason;
1331
- step?: string;
1332
- }) => void;
1333
- hoverCardResolutionStarted: () => void;
1334
- };
1335
- screen: {
1336
- authPopupEvent: ({
1337
- extensionKey,
1338
- definitionId,
1339
- resourceType,
1340
- destinationProduct,
1341
- destinationSubproduct,
1342
- location,
1343
- }: ScreenAuthPopupEventProps) => void;
1344
- modalViewedEvent: (
1345
- data: Partial<AnalyticsPayload> & {
1346
- name: Extract<AnalyticsName, 'embedPreviewModal'>;
1347
- },
1348
- ) => void;
1349
- };
1067
+ ui: {
1068
+ authEvent: ({
1069
+ display,
1070
+ extensionKey,
1071
+ definitionId,
1072
+ resourceType,
1073
+ destinationProduct,
1074
+ destinationSubproduct,
1075
+ location,
1076
+ }: UiAuthEventProps) => void;
1077
+ authAlternateAccountEvent: ({
1078
+ display,
1079
+ extensionKey,
1080
+ definitionId,
1081
+ resourceType,
1082
+ destinationProduct,
1083
+ destinationSubproduct,
1084
+ location,
1085
+ }: UiAuthAlternateAccountEventProps) => void;
1086
+ buttonClickedEvent: (
1087
+ data: Partial<AnalyticsPayload> & {
1088
+ actionSubjectId: Required<string>;
1089
+ },
1090
+ ) => void;
1091
+ cardClickedEvent: ({
1092
+ id,
1093
+ display,
1094
+ status,
1095
+ definitionId,
1096
+ extensionKey,
1097
+ isModifierKeyPressed,
1098
+ location,
1099
+ destinationProduct,
1100
+ destinationSubproduct,
1101
+ actionSubjectId,
1102
+ }: UiCardClickedEventProps) => void;
1103
+ iframeDwelledEvent: ({
1104
+ id,
1105
+ display,
1106
+ status,
1107
+ definitionId,
1108
+ extensionKey,
1109
+ location,
1110
+ destinationProduct,
1111
+ destinationSubproduct,
1112
+ dwellTime,
1113
+ dwellPercentVisible,
1114
+ }: UiIframeDwelledEventProps) => void;
1115
+ iframeFocusedEvent: ({
1116
+ id,
1117
+ display,
1118
+ status,
1119
+ definitionId,
1120
+ extensionKey,
1121
+ location,
1122
+ destinationProduct,
1123
+ destinationSubproduct,
1124
+ }: UiIframeFocusedEventProps) => void;
1125
+ actionClickedEvent: ({
1126
+ id,
1127
+ actionType,
1128
+ display,
1129
+ extensionKey: overrideExtensionKey,
1130
+ definitionId,
1131
+ resourceType,
1132
+ destinationProduct,
1133
+ destinationSubproduct,
1134
+ location,
1135
+ }: UiActionClickedEventProps) => void;
1136
+ hoverCardOpenLinkClickedEvent: ({
1137
+ previewDisplay,
1138
+ definitionId,
1139
+ extensionKey,
1140
+ destinationProduct,
1141
+ destinationSubproduct,
1142
+ location,
1143
+ previewInvokeMethod,
1144
+ }: UiHoverCardOpenLinkClickedEventProps) => void;
1145
+ closedAuthEvent: ({
1146
+ display,
1147
+ extensionKey,
1148
+ definitionId,
1149
+ resourceType,
1150
+ destinationProduct,
1151
+ destinationSubproduct,
1152
+ location,
1153
+ }: UiClosedAuthEventProps) => void;
1154
+ modalClosedEvent: (
1155
+ data: Partial<AnalyticsPayload> & {
1156
+ actionSubjectId: Required<string>;
1157
+ },
1158
+ ) => void;
1159
+ renderSuccessEvent: ({
1160
+ display,
1161
+ status,
1162
+ id,
1163
+ extensionKey,
1164
+ definitionId,
1165
+ resourceType,
1166
+ destinationProduct,
1167
+ destinationSubproduct,
1168
+ location,
1169
+ canBeDatasource,
1170
+ }: UiRenderSuccessEventProps) => void;
1171
+ renderFailedEvent: ({
1172
+ display,
1173
+ id,
1174
+ error,
1175
+ errorInfo,
1176
+ extensionKey,
1177
+ definitionId,
1178
+ resourceType,
1179
+ destinationProduct,
1180
+ destinationSubproduct,
1181
+ location,
1182
+ }: UiRenderFailedEventProps) => void;
1183
+ hoverCardViewedEvent: ({
1184
+ previewDisplay,
1185
+ previewInvokeMethod,
1186
+ id,
1187
+ extensionKey,
1188
+ definitionId,
1189
+ resourceType,
1190
+ destinationProduct,
1191
+ destinationSubproduct,
1192
+ location,
1193
+ status,
1194
+ }: UiHoverCardViewedEventProps) => void;
1195
+ hoverCardDismissedEvent: ({
1196
+ id,
1197
+ previewDisplay,
1198
+ hoverTime,
1199
+ previewInvokeMethod,
1200
+ extensionKey,
1201
+ definitionId,
1202
+ resourceType,
1203
+ destinationProduct,
1204
+ destinationSubproduct,
1205
+ location,
1206
+ status,
1207
+ }: UiHoverCardDismissedEventProps) => void;
1208
+ learnMoreClickedEvent: () => void;
1209
+ smartLinkLozengeActionClickedEvent: () => void;
1210
+ smartLinkLozengeActionListItemClickedEvent: () => void;
1211
+ smartLinkLozengeActionErrorOpenPreviewClickedEvent: () => void;
1212
+ smartLinkServerActionClickedEvent: (props: UiServerActionClickedEventProps) => void;
1213
+ };
1214
+ operational: {
1215
+ invokeSucceededEvent: ({
1216
+ id,
1217
+ actionType,
1218
+ display,
1219
+ extensionKey,
1220
+ definitionId,
1221
+ resourceType,
1222
+ destinationProduct,
1223
+ destinationSubproduct,
1224
+ location,
1225
+ }: InvokeSucceededEventProps) => void;
1226
+ invokeFailedEvent: ({
1227
+ id,
1228
+ actionType,
1229
+ display,
1230
+ reason,
1231
+ extensionKey,
1232
+ definitionId,
1233
+ resourceType,
1234
+ destinationProduct,
1235
+ destinationSubproduct,
1236
+ location,
1237
+ }: InvokeFailedEventProps) => void;
1238
+ connectSucceededEvent: ({
1239
+ id,
1240
+ extensionKey,
1241
+ definitionId,
1242
+ resourceType,
1243
+ destinationProduct,
1244
+ destinationSubproduct,
1245
+ location,
1246
+ }: ConnectSucceededEventProps) => void;
1247
+ connectFailedEvent: ({
1248
+ id,
1249
+ reason,
1250
+ extensionKey,
1251
+ definitionId,
1252
+ resourceType,
1253
+ destinationProduct,
1254
+ destinationSubproduct,
1255
+ location,
1256
+ }: ConnectFailedEventProps) => void;
1257
+ instrument: ({
1258
+ id,
1259
+ status,
1260
+ extensionKey,
1261
+ definitionId,
1262
+ resourceType,
1263
+ destinationProduct,
1264
+ destinationSubproduct,
1265
+ location,
1266
+ error,
1267
+ }: InstrumentEventProps) => void;
1268
+ chunkloadFailedEvent: ({
1269
+ display,
1270
+ error,
1271
+ errorInfo,
1272
+ extensionKey,
1273
+ definitionId,
1274
+ resourceType,
1275
+ destinationProduct,
1276
+ destinationSubproduct,
1277
+ location,
1278
+ }: UiRenderFailedEventProps) => void;
1279
+ };
1280
+ track: {
1281
+ appAccountConnected: ({
1282
+ extensionKey,
1283
+ definitionId,
1284
+ resourceType,
1285
+ destinationProduct,
1286
+ destinationSubproduct,
1287
+ location,
1288
+ }: TrackAppAccountConnectedProps) => void;
1289
+ appAccountAuthStarted: ({ extensionKey, location }: TrackAppAccountConnectedProps) => void;
1290
+ linkUpdated: () => void;
1291
+ smartLinkQuickActionStarted: (props: {
1292
+ smartLinkActionType: SmartLinkActionType | TrackQuickActionType;
1293
+ }) => void;
1294
+ smartLinkQuickActionSuccess: (props: {
1295
+ smartLinkActionType: SmartLinkActionType | TrackQuickActionType;
1296
+ }) => void;
1297
+ smartLinkQuickActionFailed: (props: {
1298
+ smartLinkActionType: SmartLinkActionType | TrackQuickActionType;
1299
+ reason?: TrackQuickActionFailureReason;
1300
+ step?: string;
1301
+ }) => void;
1302
+ hoverCardResolutionStarted: () => void;
1303
+ };
1304
+ screen: {
1305
+ authPopupEvent: ({
1306
+ extensionKey,
1307
+ definitionId,
1308
+ resourceType,
1309
+ destinationProduct,
1310
+ destinationSubproduct,
1311
+ location,
1312
+ }: ScreenAuthPopupEventProps) => void;
1313
+ modalViewedEvent: (
1314
+ data: Partial<AnalyticsPayload> & {
1315
+ name: Extract<AnalyticsName, 'embedPreviewModal'>;
1316
+ },
1317
+ ) => void;
1318
+ };
1350
1319
  };
1351
1320
 
1352
1321
  // @public (undocumented)
@@ -1354,12 +1323,12 @@ export function useSmartLinkEvents(): SmartLinkEvents;
1354
1323
 
1355
1324
  // @public
1356
1325
  type ViewCount = {
1357
- name: ElementName.ViewCount;
1326
+ name: ElementName.ViewCount;
1358
1327
  };
1359
1328
 
1360
1329
  // @public
1361
1330
  type VoteCount = {
1362
- name: ElementName.VoteCount;
1331
+ name: ElementName.VoteCount;
1363
1332
  };
1364
1333
 
1365
1334
  // (No @packageDocumentation comment for this package)
@@ -1373,10 +1342,10 @@ type VoteCount = {
1373
1342
 
1374
1343
  ```json
1375
1344
  {
1376
- "@atlaskit/link-provider": "^1.6.4",
1377
- "react": "^16.8.0",
1378
- "react-dom": "^16.8.0",
1379
- "react-intl-next": "npm:react-intl@^5.18.1"
1345
+ "@atlaskit/link-provider": "^1.6.4",
1346
+ "react": "^16.8.0",
1347
+ "react-dom": "^16.8.0",
1348
+ "react-intl-next": "npm:react-intl@^5.18.1"
1380
1349
  }
1381
1350
  ```
1382
1351