@atlaskit/smart-card 27.5.2 → 27.5.3
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.
- package/CHANGELOG.md +6 -0
- package/CONTRIBUTING.md +1 -1
- package/dist/cjs/extractors/common/icon/extractIcon.js +1 -1
- package/dist/cjs/extractors/flexible/actions/extract-automation-action.js +1 -1
- package/dist/cjs/messages.js +2 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/EmbedCard/components/styled.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +5 -5
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/utils/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/block/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/utils.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/avatar-group/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/badge/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/utils.js +1 -1
- package/dist/cjs/view/HoverCard/components/views/resolved/styled.js +1 -1
- package/dist/cjs/view/HoverCard/styled.js +2 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/EmptyState.js +2 -2
- package/dist/es2019/extractors/common/icon/extractIcon.js +1 -1
- package/dist/es2019/extractors/flexible/actions/extract-automation-action.js +1 -1
- package/dist/es2019/messages.js +2 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/EmbedCard/components/styled.js +22 -22
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +5 -5
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/utils/index.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/block/index.js +16 -16
- package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.js +13 -13
- package/dist/es2019/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +13 -13
- package/dist/es2019/view/FlexibleCard/components/blocks/utils.js +9 -9
- package/dist/es2019/view/FlexibleCard/components/container/index.js +15 -15
- package/dist/es2019/view/FlexibleCard/components/elements/avatar-group/index.js +9 -9
- package/dist/es2019/view/FlexibleCard/components/elements/badge/index.js +8 -8
- package/dist/es2019/view/FlexibleCard/components/utils.js +9 -9
- package/dist/es2019/view/HoverCard/components/views/resolved/styled.js +21 -21
- package/dist/es2019/view/HoverCard/styled.js +23 -23
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/EmptyState.js +2 -2
- package/dist/es2019/view/RelatedLinksModal/views/errored/index.js +2 -2
- package/dist/es2019/view/RelatedLinksModal/views/unavailable/index.js +1 -1
- package/dist/esm/extractors/common/icon/extractIcon.js +1 -1
- package/dist/esm/extractors/flexible/actions/extract-automation-action.js +1 -1
- package/dist/esm/messages.js +2 -2
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/EmbedCard/components/styled.js +2 -2
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/empty-state/main.js +5 -5
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/utils/index.js +2 -2
- package/dist/esm/view/FlexibleCard/components/blocks/block/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/preview-block/resolved/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/utils.js +1 -1
- package/dist/esm/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/avatar-group/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/badge/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/utils.js +1 -1
- package/dist/esm/view/HoverCard/components/views/resolved/styled.js +1 -1
- package/dist/esm/view/HoverCard/styled.js +2 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/EmptyState.js +2 -2
- package/dist/esm/view/RelatedLinksModal/views/errored/index.js +2 -2
- package/dist/esm/view/RelatedLinksModal/views/unavailable/index.js +1 -1
- package/dist/types/extractors/flexible/actions/extract-automation-action.d.ts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +1 -1
- package/dist/types/state/hooks/use-invoke-client-action/index.d.ts +1 -1
- package/dist/types/state/hooks/useSmartLink.d.ts +1 -1
- package/dist/types/state/hooks-external/useSmartLinkReload.d.ts +1 -1
- package/dist/types/state/index.d.ts +1 -1
- package/dist/types/state/modal/index.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/utils/mocks.d.ts +1 -1
- package/dist/types/view/BlockCard/components/Action.d.ts +1 -1
- package/dist/types/view/BlockCard/components/ContentFooter.d.ts +1 -1
- package/dist/types/view/BlockCard/components/ContentHeader.d.ts +1 -1
- package/dist/types/view/BlockCard/components/Name.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.d.ts +1 -1
- 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
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/actions/extract-automation-action.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +2 -2
- package/dist/types-ts4.5/state/analytics/useSmartLinkAnalytics.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/use-invoke-client-action/index.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkReload.d.ts +1 -1
- package/dist/types-ts4.5/state/index.d.ts +1 -1
- package/dist/types-ts4.5/state/modal/index.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/dist/types-ts4.5/utils/mocks.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/Action.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/ContentFooter.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/ContentHeader.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/Name.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/index.d.ts +1 -1
- 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
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/index.d.ts +1 -1
- 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
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +1 -1
- package/package.json +5 -5
- 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
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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
|
-
|
|
156
|
+
name: ElementName.AssignedTo;
|
|
159
157
|
};
|
|
160
158
|
|
|
161
159
|
// @public
|
|
162
160
|
type AssignedToGroup = {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
name: ElementName.AssignedToGroup;
|
|
162
|
+
showNamePrefix?: boolean;
|
|
163
|
+
showFallbackAvatar?: boolean;
|
|
166
164
|
};
|
|
167
165
|
|
|
168
166
|
// @public
|
|
169
167
|
type AttachmentCount = {
|
|
170
|
-
|
|
168
|
+
name: ElementName.AttachmentCount;
|
|
171
169
|
};
|
|
172
170
|
|
|
173
171
|
// @public
|
|
174
172
|
type AuthorGroup = {
|
|
175
|
-
|
|
176
|
-
|
|
173
|
+
name: ElementName.AuthorGroup;
|
|
174
|
+
showNamePrefix?: boolean;
|
|
177
175
|
};
|
|
178
176
|
|
|
179
177
|
// @public
|
|
180
178
|
type BaseActionItem = {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
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
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
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
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
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
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
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
|
-
|
|
358
|
+
name: ElementName.ChecklistProgress;
|
|
369
359
|
};
|
|
370
360
|
|
|
371
361
|
export { Client };
|
|
372
362
|
|
|
373
363
|
// @public
|
|
374
364
|
type CollaboratorGroup = {
|
|
375
|
-
|
|
365
|
+
name: ElementName.CollaboratorGroup;
|
|
376
366
|
};
|
|
377
367
|
|
|
378
368
|
// @public
|
|
379
369
|
type CommentCount = {
|
|
380
|
-
|
|
370
|
+
name: ElementName.CommentCount;
|
|
381
371
|
};
|
|
382
372
|
|
|
383
373
|
// @public (undocumented)
|
|
384
374
|
interface CommonEventProps {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
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
|
-
|
|
408
|
-
|
|
397
|
+
id?: string;
|
|
398
|
+
reason?: string;
|
|
409
399
|
};
|
|
410
400
|
|
|
411
401
|
// @public (undocumented)
|
|
412
402
|
type ConnectSucceededEventProps = CommonEventProps & {
|
|
413
|
-
|
|
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
|
-
|
|
411
|
+
name: ElementName.CreatedBy;
|
|
422
412
|
};
|
|
423
413
|
|
|
424
414
|
// @public
|
|
425
415
|
type CreatedOn = {
|
|
426
|
-
|
|
427
|
-
|
|
416
|
+
name: ElementName.CreatedOn;
|
|
417
|
+
text?: string;
|
|
428
418
|
};
|
|
429
419
|
|
|
430
420
|
// @public
|
|
431
421
|
type CustomActionItem = BaseActionItem & {
|
|
432
|
-
|
|
422
|
+
name: ActionName.CustomAction;
|
|
433
423
|
} & (
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
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
|
-
|
|
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
|
-
|
|
466
|
-
|
|
467
|
-
|
|
453
|
+
overrideCss?: SerializedStyles;
|
|
454
|
+
size?: SmartLinkSize;
|
|
455
|
+
testId?: string;
|
|
468
456
|
} & ElementItemProps;
|
|
469
457
|
|
|
470
458
|
// @public
|
|
471
459
|
type ElementItemProps =
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
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
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
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
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
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
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
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
|
-
|
|
626
|
-
|
|
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
|
-
|
|
642
|
-
|
|
643
|
-
|
|
619
|
+
error?: APIError;
|
|
620
|
+
status: CardType;
|
|
621
|
+
id: string;
|
|
644
622
|
};
|
|
645
623
|
|
|
646
624
|
// @public (undocumented)
|
|
647
625
|
type InvokeFailedEventProps = CommonEventProps & {
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
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
|
-
|
|
657
|
-
|
|
658
|
-
|
|
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
|
-
|
|
644
|
+
name: ElementName.LatestCommit;
|
|
667
645
|
};
|
|
668
646
|
|
|
669
647
|
// @public
|
|
670
648
|
type LinkIcon = {
|
|
671
|
-
|
|
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
|
-
|
|
657
|
+
name: ElementName.Location;
|
|
680
658
|
};
|
|
681
659
|
|
|
682
660
|
// @public (undocumented)
|
|
683
661
|
export enum MediaPlacement {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
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
|
-
|
|
696
|
-
|
|
697
|
-
|
|
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
|
-
|
|
683
|
+
name: ElementName.ModifiedBy;
|
|
706
684
|
};
|
|
707
685
|
|
|
708
686
|
// @public
|
|
709
687
|
type ModifiedOn = {
|
|
710
|
-
|
|
711
|
-
|
|
688
|
+
name: ElementName.ModifiedOn;
|
|
689
|
+
text?: string;
|
|
712
690
|
};
|
|
713
691
|
|
|
714
692
|
// @public
|
|
715
693
|
type NamedActionItem = BaseActionItem & {
|
|
716
|
-
|
|
694
|
+
name: ActionName.DeleteAction | ActionName.EditAction;
|
|
717
695
|
};
|
|
718
696
|
|
|
719
697
|
// @public
|
|
720
698
|
type NamedDataActionItem = BaseDataActionItem & {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
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
|
-
|
|
708
|
+
isOpen: boolean;
|
|
731
709
|
};
|
|
732
710
|
|
|
733
711
|
// @public (undocumented)
|
|
734
712
|
type OnErrorCallback = (data: {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
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
|
-
|
|
723
|
+
name: ElementName.OwnedBy;
|
|
750
724
|
};
|
|
751
725
|
|
|
752
726
|
// @public
|
|
753
727
|
type OwnedByGroup = {
|
|
754
|
-
|
|
755
|
-
|
|
728
|
+
name: ElementName.OwnedByGroup;
|
|
729
|
+
showNamePrefix?: boolean;
|
|
756
730
|
};
|
|
757
731
|
|
|
758
732
|
// @public
|
|
759
733
|
type Preview = {
|
|
760
|
-
|
|
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
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
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
|
-
|
|
756
|
+
name: ElementName.Priority;
|
|
783
757
|
};
|
|
784
758
|
|
|
785
759
|
// @public
|
|
786
760
|
type ProgrammingLanguage = {
|
|
787
|
-
|
|
761
|
+
name: ElementName.ProgrammingLanguage;
|
|
788
762
|
};
|
|
789
763
|
|
|
790
764
|
// @public (undocumented)
|
|
791
765
|
interface Props {
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
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
|
-
|
|
776
|
+
name: ElementName.Provider;
|
|
803
777
|
};
|
|
804
778
|
|
|
805
779
|
export { ProviderProps };
|
|
806
780
|
|
|
807
781
|
// @public
|
|
808
782
|
type ReactCount = {
|
|
809
|
-
|
|
783
|
+
name: ElementName.ReactCount;
|
|
810
784
|
};
|
|
811
785
|
|
|
812
786
|
// @public
|
|
813
787
|
type ReadTime = {
|
|
814
|
-
|
|
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
|
-
|
|
823
|
-
|
|
824
|
-
|
|
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
|
-
|
|
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
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
814
|
+
// (undocumented)
|
|
815
|
+
Horizontal = 'horizontal',
|
|
816
|
+
// (undocumented)
|
|
817
|
+
Vertical = 'vertical',
|
|
844
818
|
}
|
|
845
819
|
|
|
846
820
|
// @public (undocumented)
|
|
847
821
|
export class SmartLinkEvents {
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
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
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
832
|
+
// (undocumented)
|
|
833
|
+
Center = 'center',
|
|
834
|
+
// (undocumented)
|
|
835
|
+
Top = 'top',
|
|
862
836
|
}
|
|
863
837
|
|
|
864
838
|
// @public
|
|
865
839
|
export enum SmartLinkSize {
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
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
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
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
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
872
|
+
// (undocumented)
|
|
873
|
+
Black = 'black',
|
|
874
|
+
// (undocumented)
|
|
875
|
+
Link = 'link',
|
|
902
876
|
}
|
|
903
877
|
|
|
904
878
|
// @public
|
|
905
879
|
type Snippet = {
|
|
906
|
-
|
|
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
|
-
|
|
915
|
-
|
|
888
|
+
maxLines?: number;
|
|
889
|
+
text?: string;
|
|
916
890
|
} & BlockProps;
|
|
917
891
|
|
|
918
892
|
// @public
|
|
919
893
|
type SourceBranch = {
|
|
920
|
-
|
|
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
|
-
|
|
902
|
+
name: ElementName.State;
|
|
929
903
|
};
|
|
930
904
|
|
|
931
905
|
// @public
|
|
932
906
|
type StoryPoints = {
|
|
933
|
-
|
|
907
|
+
name: ElementName.StoryPoints;
|
|
934
908
|
};
|
|
935
909
|
|
|
936
910
|
// @public
|
|
937
911
|
type SubscriberCount = {
|
|
938
|
-
|
|
912
|
+
name: ElementName.SubscriberCount;
|
|
939
913
|
};
|
|
940
914
|
|
|
941
915
|
// @public
|
|
942
916
|
type SubTasksProgress = {
|
|
943
|
-
|
|
917
|
+
name: ElementName.SubTasksProgress;
|
|
944
918
|
};
|
|
945
919
|
|
|
946
920
|
// @public
|
|
947
921
|
type TargetBranch = {
|
|
948
|
-
|
|
922
|
+
name: ElementName.TargetBranch;
|
|
949
923
|
};
|
|
950
924
|
|
|
951
925
|
// @public
|
|
952
926
|
type Title = {
|
|
953
|
-
|
|
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
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
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
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
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
|
-
|
|
995
|
-
|
|
968
|
+
// (undocumented)
|
|
969
|
+
StatusUpdate = 'StatusUpdate',
|
|
996
970
|
}
|
|
997
971
|
|
|
998
972
|
// @public (undocumented)
|
|
999
973
|
type UiActionClickedEventProps = CommonEventProps & {
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
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
|
-
|
|
982
|
+
display: CardInnerAppearance;
|
|
1009
983
|
};
|
|
1010
984
|
|
|
1011
985
|
// @public (undocumented)
|
|
1012
986
|
type UiAuthEventProps = CommonEventProps & {
|
|
1013
|
-
|
|
987
|
+
display: CardInnerAppearance;
|
|
1014
988
|
};
|
|
1015
989
|
|
|
1016
990
|
// @public (undocumented)
|
|
1017
991
|
type UiCardClickedEventProps = CommonEventProps & {
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
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
|
-
|
|
1001
|
+
display: CardInnerAppearance;
|
|
1028
1002
|
};
|
|
1029
1003
|
|
|
1030
1004
|
// @public (undocumented)
|
|
1031
1005
|
type UiHoverCardDismissedEventProps = CommonEventProps & {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
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
|
-
|
|
1041
|
-
|
|
1014
|
+
previewDisplay: PreviewDisplay;
|
|
1015
|
+
previewInvokeMethod?: PreviewInvokeMethod;
|
|
1042
1016
|
};
|
|
1043
1017
|
|
|
1044
1018
|
// @public (undocumented)
|
|
1045
1019
|
type UiHoverCardViewedEventProps = CommonEventProps & {
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1020
|
+
previewDisplay: PreviewDisplay;
|
|
1021
|
+
previewInvokeMethod?: PreviewInvokeMethod;
|
|
1022
|
+
status: CardType;
|
|
1049
1023
|
};
|
|
1050
1024
|
|
|
1051
1025
|
// @public (undocumented)
|
|
1052
1026
|
type UiIframeDwelledEventProps = CommonEventProps & {
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
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
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1036
|
+
id: string;
|
|
1037
|
+
display: CardInnerAppearance;
|
|
1038
|
+
status: CardType;
|
|
1065
1039
|
};
|
|
1066
1040
|
|
|
1067
1041
|
// @public (undocumented)
|
|
1068
1042
|
type UiRenderFailedEventProps = CommonEventProps & {
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1043
|
+
display: CardInnerAppearance;
|
|
1044
|
+
error: Error;
|
|
1045
|
+
errorInfo: ErrorInfo;
|
|
1072
1046
|
};
|
|
1073
1047
|
|
|
1074
1048
|
// @public (undocumented)
|
|
1075
1049
|
type UiRenderSuccessEventProps = CommonEventProps & {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1050
|
+
display: CardInnerAppearance;
|
|
1051
|
+
status: CardType;
|
|
1052
|
+
canBeDatasource?: boolean;
|
|
1079
1053
|
};
|
|
1080
1054
|
|
|
1081
1055
|
// @public (undocumented)
|
|
1082
1056
|
type UiServerActionClickedEventProps = CommonEventProps & {
|
|
1083
|
-
|
|
1057
|
+
smartLinkActionType: SmartLinkActionType;
|
|
1084
1058
|
};
|
|
1085
1059
|
|
|
1086
1060
|
// @public @deprecated
|
|
1087
1061
|
export const useSmartLinkAnalytics: (
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1062
|
+
url: string,
|
|
1063
|
+
_dispatchAnalytics?: AnalyticsHandler,
|
|
1064
|
+
id?: string,
|
|
1065
|
+
defaultLocation?: string,
|
|
1092
1066
|
) => {
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
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
|
-
|
|
1326
|
+
name: ElementName.ViewCount;
|
|
1358
1327
|
};
|
|
1359
1328
|
|
|
1360
1329
|
// @public
|
|
1361
1330
|
type VoteCount = {
|
|
1362
|
-
|
|
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
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
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
|
|