@atlaskit/help 7.4.2 → 7.5.1
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 +14 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +11 -7
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +7 -3
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +11 -6
- package/dist/cjs/components/Article/styled.js +3 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/cjs/components/ArticlesList/styled.js +8 -2
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.js +11 -10
- package/dist/cjs/components/RelatedArticles/index.js +11 -7
- package/dist/cjs/components/RelatedArticles/styled.js +10 -4
- package/dist/cjs/components/Search/SearchInput/index.js +10 -5
- package/dist/cjs/components/Search/SearchInput/styled.js +7 -3
- package/dist/cjs/components/Search/SearchResults/styled.js +10 -5
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +11 -4
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/cjs/components/contexts/searchContext.js +3 -2
- package/dist/cjs/components/styled.js +7 -3
- package/dist/cjs/util/styled.js +30 -7
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +11 -8
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -6
- package/dist/es2019/components/Article/styled.js +2 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/es2019/components/ArticlesList/styled.js +6 -2
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.js +54 -53
- package/dist/es2019/components/RelatedArticles/index.js +12 -8
- package/dist/es2019/components/RelatedArticles/styled.js +8 -4
- package/dist/es2019/components/Search/SearchInput/index.js +10 -6
- package/dist/es2019/components/Search/SearchInput/styled.js +7 -3
- package/dist/es2019/components/Search/SearchResults/styled.js +10 -5
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +3 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/es2019/components/contexts/searchContext.js +3 -2
- package/dist/es2019/components/styled.js +6 -3
- package/dist/es2019/util/styled.js +48 -25
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +11 -8
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -6
- package/dist/esm/components/Article/styled.js +2 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/esm/components/ArticlesList/styled.js +6 -2
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.js +11 -10
- package/dist/esm/components/RelatedArticles/index.js +12 -8
- package/dist/esm/components/RelatedArticles/styled.js +8 -4
- package/dist/esm/components/Search/SearchInput/index.js +10 -6
- package/dist/esm/components/Search/SearchInput/styled.js +7 -3
- package/dist/esm/components/Search/SearchResults/styled.js +10 -5
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/esm/components/contexts/searchContext.js +3 -2
- package/dist/esm/components/styled.js +6 -3
- package/dist/esm/util/styled.js +30 -7
- package/dist/types/components/contexts/searchContext.d.ts +2 -1
- package/dist/types/model/Help.d.ts +1 -0
- package/dist/types-ts4.5/components/contexts/searchContext.d.ts +2 -1
- package/dist/types-ts4.5/model/Help.d.ts +1 -0
- package/package.json +98 -98
- package/report.api.md +288 -301
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/help"
|
|
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
|
|
@@ -33,252 +34,244 @@ import { WrappedComponentProps } from 'react-intl-next';
|
|
|
33
34
|
|
|
34
35
|
// @public (undocumented)
|
|
35
36
|
export interface Article extends ArticleItem {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
// (undocumented)
|
|
38
|
+
body: AdfDoc | string;
|
|
39
|
+
// (undocumented)
|
|
40
|
+
bodyFormat?: BODY_FORMAT_TYPES;
|
|
41
|
+
// (undocumented)
|
|
42
|
+
relatedArticles?: ArticleItem[];
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
// @public (undocumented)
|
|
45
46
|
export enum ARTICLE_ITEM_TYPES {
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
// (undocumented)
|
|
48
|
+
topicInProduct = 'topicInProduct',
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
// @public (undocumented)
|
|
51
52
|
export enum ARTICLE_TYPE {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
// (undocumented)
|
|
54
|
+
HELP_ARTICLE = 'HELP_ARTICLE',
|
|
55
|
+
// (undocumented)
|
|
56
|
+
WHATS_NEW = 'WHATS_NEW',
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
// @public (undocumented)
|
|
59
60
|
export interface ArticleFeedback {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
// (undocumented)
|
|
62
|
+
contactMe: boolean;
|
|
63
|
+
// (undocumented)
|
|
64
|
+
feedbackReason: string;
|
|
65
|
+
// (undocumented)
|
|
66
|
+
feedbackReasonText: string;
|
|
67
|
+
// (undocumented)
|
|
68
|
+
wasHelpful: boolean;
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
// @public (undocumented)
|
|
71
72
|
export interface articleId {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
// (undocumented)
|
|
74
|
+
id: string;
|
|
75
|
+
// (undocumented)
|
|
76
|
+
type: ARTICLE_TYPE;
|
|
76
77
|
}
|
|
77
78
|
|
|
78
79
|
// @public (undocumented)
|
|
79
80
|
export interface ArticleItem {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
81
|
+
// (undocumented)
|
|
82
|
+
description?: string;
|
|
83
|
+
// (undocumented)
|
|
84
|
+
href?: string;
|
|
85
|
+
// (undocumented)
|
|
86
|
+
id: string;
|
|
87
|
+
// (undocumented)
|
|
88
|
+
lastPublished: string;
|
|
89
|
+
// (undocumented)
|
|
90
|
+
productName?: string;
|
|
91
|
+
// (undocumented)
|
|
92
|
+
routes?: {
|
|
93
|
+
routeName: string;
|
|
94
|
+
routeGroup: string;
|
|
95
|
+
}[];
|
|
96
|
+
// (undocumented)
|
|
97
|
+
title: string;
|
|
98
|
+
// (undocumented)
|
|
99
|
+
topicId?: string;
|
|
100
|
+
// (undocumented)
|
|
101
|
+
type: ARTICLE_ITEM_TYPES;
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
// @public (undocumented)
|
|
104
105
|
export const ArticlesListItem: React_2.FC<
|
|
105
|
-
|
|
106
|
+
WithIntlProps<Props_3 & Partial<ArticleItem> & WrappedComponentProps<'intl'>>
|
|
106
107
|
> & {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
WrappedComponent: React_2.ComponentType<
|
|
109
|
+
Props_3 & Partial<ArticleItem> & WrappedComponentProps<'intl'>
|
|
110
|
+
>;
|
|
110
111
|
};
|
|
111
112
|
|
|
112
113
|
// @public (undocumented)
|
|
113
114
|
const _default: React_2.ForwardRefExoticComponent<
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
> &
|
|
120
|
-
React_2.RefAttributes<any>
|
|
115
|
+
Pick<
|
|
116
|
+
Omit<Props, keyof WithAnalyticsEventsProps> & React_2.RefAttributes<any> & WithContextProps,
|
|
117
|
+
'analyticsContext' | 'key' | keyof Help
|
|
118
|
+
> &
|
|
119
|
+
React_2.RefAttributes<any>
|
|
121
120
|
>;
|
|
122
121
|
export default _default;
|
|
123
122
|
|
|
124
123
|
// @public (undocumented)
|
|
125
124
|
export const DividerLine: StyledComponent<
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
125
|
+
DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
126
|
+
Pick<
|
|
127
|
+
ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>,
|
|
128
|
+
keyof HTMLAttributes<HTMLDivElement>
|
|
129
|
+
>,
|
|
130
|
+
object
|
|
132
131
|
>;
|
|
133
132
|
|
|
134
133
|
// @public (undocumented)
|
|
135
134
|
export interface Help {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
onSearchWhatsNewShowMoreClick?(
|
|
251
|
-
event: React.MouseEvent<HTMLElement>,
|
|
252
|
-
analyticsEvent: UIAnalyticsEvent,
|
|
253
|
-
): void;
|
|
254
|
-
onGetWhatsNewArticle?(id: articleId): Promise<WhatsNewArticle>;
|
|
255
|
-
};
|
|
135
|
+
// (undocumented)
|
|
136
|
+
children?: React.ReactNode;
|
|
137
|
+
// (undocumented)
|
|
138
|
+
footer?: React.ReactNode;
|
|
139
|
+
// (undocumented)
|
|
140
|
+
header?: {
|
|
141
|
+
onCloseButtonClick?(
|
|
142
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
143
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
144
|
+
): void;
|
|
145
|
+
onBackButtonClick?(
|
|
146
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
147
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
148
|
+
): void;
|
|
149
|
+
};
|
|
150
|
+
// (undocumented)
|
|
151
|
+
helpArticle?: {
|
|
152
|
+
onGetHelpArticle?(articleId: articleId): Promise<Article>;
|
|
153
|
+
onHelpArticleLoadingFailTryAgainButtonClick?(
|
|
154
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
155
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
156
|
+
articleId: articleId,
|
|
157
|
+
): void;
|
|
158
|
+
onWasHelpfulSubmit?(
|
|
159
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
160
|
+
articleFeedback: ArticleFeedback,
|
|
161
|
+
articleData: ArticleItem,
|
|
162
|
+
): Promise<boolean>;
|
|
163
|
+
onWasHelpfulYesButtonClick?(
|
|
164
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
165
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
166
|
+
ArticleItem: ArticleItem,
|
|
167
|
+
): void;
|
|
168
|
+
onWasHelpfulNoButtonClick?(
|
|
169
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
170
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
171
|
+
ArticleItem: ArticleItem,
|
|
172
|
+
): void;
|
|
173
|
+
};
|
|
174
|
+
// (undocumented)
|
|
175
|
+
home?: {
|
|
176
|
+
homeOptions?: Props_2[];
|
|
177
|
+
};
|
|
178
|
+
// (undocumented)
|
|
179
|
+
navigation?: {
|
|
180
|
+
navigationData?: {
|
|
181
|
+
articleId: articleId;
|
|
182
|
+
history: HistoryItem[];
|
|
183
|
+
};
|
|
184
|
+
setNavigationData?(navigationData: { articleId?: articleId; history?: HistoryItem[] }): void;
|
|
185
|
+
};
|
|
186
|
+
// (undocumented)
|
|
187
|
+
relatedArticles?: {
|
|
188
|
+
routeGroup?: string;
|
|
189
|
+
routeName?: string;
|
|
190
|
+
onGetRelatedArticles?(routeGroup?: string, routeName?: string): Promise<ArticleItem[]>;
|
|
191
|
+
onRelatedArticlesShowMoreClick?(
|
|
192
|
+
event: React.MouseEvent<HTMLElement>,
|
|
193
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
194
|
+
isCollapsed: boolean,
|
|
195
|
+
): void;
|
|
196
|
+
onRelatedArticlesListItemClick?: (
|
|
197
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
198
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
199
|
+
articleData: ArticleItem,
|
|
200
|
+
) => void;
|
|
201
|
+
};
|
|
202
|
+
// (undocumented)
|
|
203
|
+
search?: {
|
|
204
|
+
onSearch?(value: string): Promise<ArticleItem[]>;
|
|
205
|
+
onSearchInputChanged?(
|
|
206
|
+
event: React.KeyboardEvent<HTMLInputElement>,
|
|
207
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
208
|
+
value: string,
|
|
209
|
+
): void;
|
|
210
|
+
onSearchInputCleared?(
|
|
211
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
212
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
213
|
+
): void;
|
|
214
|
+
onSearchResultItemClick?(
|
|
215
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
216
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
217
|
+
articleData: ArticleItem,
|
|
218
|
+
): void;
|
|
219
|
+
onSearchExternalUrlClick?(
|
|
220
|
+
event?: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
221
|
+
analyticsEvent?: UIAnalyticsEvent,
|
|
222
|
+
): void;
|
|
223
|
+
searchExternalUrl?: string;
|
|
224
|
+
};
|
|
225
|
+
// (undocumented)
|
|
226
|
+
whatsNew?: {
|
|
227
|
+
whatsNewGetNotificationProvider?: Promise<NotificationLogProvider>;
|
|
228
|
+
productName?: string;
|
|
229
|
+
onWhatsNewButtonClick?(
|
|
230
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
231
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
232
|
+
): void;
|
|
233
|
+
onSearchWhatsNewArticles?(
|
|
234
|
+
filter?: '' | WHATS_NEW_ITEM_TYPES,
|
|
235
|
+
numberOfItems?: number,
|
|
236
|
+
page?: string,
|
|
237
|
+
): Promise<whatsNewSearchResult>;
|
|
238
|
+
onWhatsNewResultItemClick?(
|
|
239
|
+
event: React.MouseEvent<HTMLElement, MouseEvent>,
|
|
240
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
241
|
+
whatsNewArticleData: WhatsNewArticleItem,
|
|
242
|
+
): void;
|
|
243
|
+
onSearchWhatsNewShowMoreClick?(
|
|
244
|
+
event: React.MouseEvent<HTMLElement>,
|
|
245
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
246
|
+
): void;
|
|
247
|
+
onGetWhatsNewArticle?(id: articleId): Promise<WhatsNewArticle>;
|
|
248
|
+
};
|
|
256
249
|
}
|
|
257
250
|
|
|
258
251
|
// @public (undocumented)
|
|
259
252
|
export const HelpContentButton: ({
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
253
|
+
id,
|
|
254
|
+
href,
|
|
255
|
+
notificationMax,
|
|
256
|
+
notificationLogProvider,
|
|
257
|
+
text,
|
|
258
|
+
icon,
|
|
259
|
+
onClick,
|
|
260
|
+
tooltipText,
|
|
268
261
|
}: Props_2) => JSX.Element;
|
|
269
262
|
|
|
270
263
|
// @public (undocumented)
|
|
271
264
|
export interface HistoryItem {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
265
|
+
// (undocumented)
|
|
266
|
+
article?: Article | WhatsNewArticle;
|
|
267
|
+
// (undocumented)
|
|
268
|
+
id: string;
|
|
269
|
+
// (undocumented)
|
|
270
|
+
state: REQUEST_STATE;
|
|
271
|
+
// (undocumented)
|
|
272
|
+
type: ARTICLE_TYPE;
|
|
273
|
+
// (undocumented)
|
|
274
|
+
uid: number;
|
|
282
275
|
}
|
|
283
276
|
|
|
284
277
|
// @public (undocumented)
|
|
@@ -286,134 +279,128 @@ type Props = Help & WithAnalyticsEventsProps;
|
|
|
286
279
|
|
|
287
280
|
// @public (undocumented)
|
|
288
281
|
type Props_2 = {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
282
|
+
id?: string;
|
|
283
|
+
href?: string;
|
|
284
|
+
notificationMax?: number;
|
|
285
|
+
notificationLogProvider?: Promise<NotificationLogProvider>;
|
|
286
|
+
text: string;
|
|
287
|
+
icon?: React_2.ReactChild;
|
|
288
|
+
tooltipText?: string;
|
|
289
|
+
onClick?: (
|
|
290
|
+
id: string,
|
|
291
|
+
analytics: UIAnalyticsEvent,
|
|
292
|
+
event: React_2.MouseEvent<HTMLElement>,
|
|
293
|
+
) => void;
|
|
301
294
|
};
|
|
302
295
|
|
|
303
296
|
// @public (undocumented)
|
|
304
297
|
interface Props_3 {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
) => void;
|
|
310
|
-
// (undocumented)
|
|
311
|
-
styles?: {};
|
|
298
|
+
// (undocumented)
|
|
299
|
+
onClick?: (event: React_2.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
|
300
|
+
// (undocumented)
|
|
301
|
+
styles?: {};
|
|
312
302
|
}
|
|
313
303
|
|
|
314
304
|
// @public (undocumented)
|
|
315
305
|
interface Props_4 {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
routeName?: string;
|
|
337
|
-
// (undocumented)
|
|
338
|
-
style?: 'primary' | 'secondary';
|
|
306
|
+
// (undocumented)
|
|
307
|
+
onGetRelatedArticles?(routeGroup?: string, routeName?: string): Promise<ArticleItem[]>;
|
|
308
|
+
// (undocumented)
|
|
309
|
+
onRelatedArticlesListItemClick?: (
|
|
310
|
+
event: React_2.MouseEvent<HTMLElement, MouseEvent>,
|
|
311
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
312
|
+
articleData: ArticleItem,
|
|
313
|
+
) => void;
|
|
314
|
+
// (undocumented)
|
|
315
|
+
onRelatedArticlesShowMoreClick?: (
|
|
316
|
+
event: React_2.MouseEvent<HTMLElement>,
|
|
317
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
318
|
+
isCollapsed: boolean,
|
|
319
|
+
) => void;
|
|
320
|
+
// (undocumented)
|
|
321
|
+
routeGroup?: string;
|
|
322
|
+
// (undocumented)
|
|
323
|
+
routeName?: string;
|
|
324
|
+
// (undocumented)
|
|
325
|
+
style?: 'primary' | 'secondary';
|
|
339
326
|
}
|
|
340
327
|
|
|
341
328
|
// @public (undocumented)
|
|
342
329
|
export const RelatedArticles: React_2.ForwardRefExoticComponent<
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
330
|
+
Omit<Props_4 & WrappedComponentProps<'intl'>, 'intl'> & {
|
|
331
|
+
forwardedRef?: React_2.Ref<any> | undefined;
|
|
332
|
+
} & {
|
|
333
|
+
children?: React_2.ReactNode;
|
|
334
|
+
} & WithContextProps &
|
|
335
|
+
React_2.RefAttributes<any>
|
|
349
336
|
>;
|
|
350
337
|
|
|
351
338
|
// @public (undocumented)
|
|
352
339
|
enum REQUEST_STATE {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
340
|
+
// (undocumented)
|
|
341
|
+
done = 'done',
|
|
342
|
+
// (undocumented)
|
|
343
|
+
error = 'error',
|
|
344
|
+
// (undocumented)
|
|
345
|
+
load = 'load',
|
|
346
|
+
// (undocumented)
|
|
347
|
+
loading = 'loading',
|
|
348
|
+
// (undocumented)
|
|
349
|
+
reload = 'reload',
|
|
363
350
|
}
|
|
364
351
|
|
|
365
352
|
// @public (undocumented)
|
|
366
353
|
export enum WHATS_NEW_ITEM_TYPES {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
354
|
+
// (undocumented)
|
|
355
|
+
EXPERIMENT = 'Experiment',
|
|
356
|
+
// (undocumented)
|
|
357
|
+
FIX = 'Fix',
|
|
358
|
+
// (undocumented)
|
|
359
|
+
IMPROVEMENT = 'Improvement',
|
|
360
|
+
// (undocumented)
|
|
361
|
+
NEW_FEATURE = 'Announcement',
|
|
362
|
+
// (undocumented)
|
|
363
|
+
REMOVED = 'Removed',
|
|
377
364
|
}
|
|
378
365
|
|
|
379
366
|
// @public (undocumented)
|
|
380
367
|
export interface WhatsNewArticle extends WhatsNewArticleItem {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
368
|
+
// (undocumented)
|
|
369
|
+
bodyFormat?: BODY_FORMAT_TYPES;
|
|
370
|
+
// (undocumented)
|
|
371
|
+
description: AdfDoc | string;
|
|
385
372
|
}
|
|
386
373
|
|
|
387
374
|
// @public (undocumented)
|
|
388
375
|
export interface WhatsNewArticleItem {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
376
|
+
// (undocumented)
|
|
377
|
+
changeTargetSchedule?: string;
|
|
378
|
+
// (undocumented)
|
|
379
|
+
communityUrl?: string;
|
|
380
|
+
// (undocumented)
|
|
381
|
+
featureRolloutDate?: string;
|
|
382
|
+
// (undocumented)
|
|
383
|
+
href?: string;
|
|
384
|
+
// (undocumented)
|
|
385
|
+
id: string;
|
|
386
|
+
// (undocumented)
|
|
387
|
+
relatedExternalLinks?: string;
|
|
388
|
+
// (undocumented)
|
|
389
|
+
status?: string;
|
|
390
|
+
// (undocumented)
|
|
391
|
+
title?: string;
|
|
392
|
+
// (undocumented)
|
|
393
|
+
type?: WHATS_NEW_ITEM_TYPES;
|
|
407
394
|
}
|
|
408
395
|
|
|
409
396
|
// @public (undocumented)
|
|
410
397
|
interface whatsNewSearchResult {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
398
|
+
// (undocumented)
|
|
399
|
+
articles: WhatsNewArticleItem[];
|
|
400
|
+
// (undocumented)
|
|
401
|
+
hasNextPage: boolean;
|
|
402
|
+
// (undocumented)
|
|
403
|
+
nextPage: string;
|
|
417
404
|
}
|
|
418
405
|
|
|
419
406
|
// (No @packageDocumentation comment for this package)
|
|
@@ -427,10 +414,10 @@ interface whatsNewSearchResult {
|
|
|
427
414
|
|
|
428
415
|
```json
|
|
429
416
|
{
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
417
|
+
"react": "^16.8.0",
|
|
418
|
+
"react-dom": "^16.8.0",
|
|
419
|
+
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
420
|
+
"styled-components": "^3.2.6"
|
|
434
421
|
}
|
|
435
422
|
```
|
|
436
423
|
|