@atlaskit/help 7.4.0 → 7.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +764 -749
- 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 -0
- 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 +6 -2
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/cjs/components/Article/styled.js +1 -0
- package/dist/cjs/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/cjs/components/ArticlesList/index.js +3 -1
- package/dist/cjs/components/ArticlesList/styled.js +4 -0
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.js +5 -5
- package/dist/cjs/components/RelatedArticles/index.js +4 -2
- package/dist/cjs/components/RelatedArticles/styled.js +7 -0
- package/dist/cjs/components/Search/SearchInput/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/styled.js +5 -0
- package/dist/cjs/components/Search/SearchResults/styled.js +9 -0
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +3 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/cjs/components/contexts/helpArticleContext.js +0 -2
- package/dist/cjs/components/styled.js +4 -0
- package/dist/cjs/util/styled.js +5 -1
- 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 -0
- 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 +6 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/es2019/components/Article/index.js +3 -0
- package/dist/es2019/components/Article/styled.js +1 -0
- package/dist/es2019/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/es2019/components/ArticlesList/index.js +3 -1
- package/dist/es2019/components/ArticlesList/styled.js +4 -0
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.js +5 -5
- package/dist/es2019/components/RelatedArticles/index.js +4 -2
- package/dist/es2019/components/RelatedArticles/styled.js +7 -0
- package/dist/es2019/components/Search/SearchInput/index.js +1 -1
- package/dist/es2019/components/Search/SearchInput/styled.js +5 -0
- package/dist/es2019/components/Search/SearchResults/index.js +2 -0
- package/dist/es2019/components/Search/SearchResults/styled.js +9 -0
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +5 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/es2019/components/contexts/helpArticleContext.js +0 -2
- package/dist/es2019/components/styled.js +4 -0
- package/dist/es2019/util/styled.js +6 -1
- 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 -0
- 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 +6 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/esm/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/esm/components/Article/styled.js +1 -0
- package/dist/esm/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/esm/components/ArticlesList/index.js +3 -1
- package/dist/esm/components/ArticlesList/styled.js +4 -0
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.js +5 -5
- package/dist/esm/components/RelatedArticles/index.js +4 -2
- package/dist/esm/components/RelatedArticles/styled.js +7 -0
- package/dist/esm/components/Search/SearchInput/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/styled.js +5 -0
- package/dist/esm/components/Search/SearchResults/styled.js +9 -0
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +3 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/esm/components/contexts/helpArticleContext.js +0 -2
- package/dist/esm/components/styled.js +4 -0
- package/dist/esm/util/styled.js +6 -1
- package/dist/types/components/Article/ArticleContent/index.d.ts +2 -2
- package/dist/types/components/Article/ArticleLoadingFail/index.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/Loading/index.d.ts +1 -1
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +3 -3
- package/dist/types/components/Article/HelpArticle/index.d.ts +1 -1
- package/dist/types/components/Article/WhatsNewArticle/Loading/index.d.ts +1 -1
- package/dist/types/components/Article/WhatsNewArticle/index.d.ts +2 -2
- package/dist/types/components/ArticlesList/index.d.ts +1 -1
- package/dist/types/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
- package/dist/types/components/Help.d.ts +2 -2
- package/dist/types/components/HelpContentButton/index.d.ts +2 -2
- package/dist/types/components/RelatedArticles/RelatedArticlesLoading.d.ts +1 -1
- package/dist/types/components/RelatedArticles/index.d.ts +3 -3
- package/dist/types/components/Search/SearchInput/index.d.ts +1 -1
- package/dist/types/components/Search/SearchResults/SearchExternalSite.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResults.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResultsEmpty.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResultsError.d.ts +1 -1
- package/dist/types/components/ShowMoreButton/index.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewButton/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +3 -3
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/index.d.ts +1 -1
- package/dist/types/components/contexts/headerContext.d.ts +2 -2
- package/dist/types/components/contexts/helpArticleContext.d.ts +3 -3
- package/dist/types/components/contexts/homeContext.d.ts +1 -1
- package/dist/types/components/contexts/relatedArticlesContext.d.ts +3 -3
- package/dist/types/components/contexts/whatsNewArticleContext.d.ts +6 -6
- package/dist/types/model/WhatsNew.d.ts +1 -1
- package/dist/types/util/helpers.d.ts +1 -1
- package/dist/types/util/testing/mock.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/ArticleContent/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/ArticleLoadingFail/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/Loading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +3 -3
- package/dist/types-ts4.5/components/Article/HelpArticle/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/WhatsNewArticle/Loading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/WhatsNewArticle/index.d.ts +2 -2
- package/dist/types-ts4.5/components/ArticlesList/index.d.ts +1 -1
- package/dist/types-ts4.5/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
- package/dist/types-ts4.5/components/Help.d.ts +2 -2
- package/dist/types-ts4.5/components/HelpContentButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/RelatedArticles/RelatedArticlesLoading.d.ts +1 -1
- package/dist/types-ts4.5/components/RelatedArticles/index.d.ts +3 -3
- package/dist/types-ts4.5/components/Search/SearchInput/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Search/SearchResults/SearchExternalSite.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResults.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsEmpty.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsError.d.ts +1 -1
- package/dist/types-ts4.5/components/ShowMoreButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +3 -3
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/index.d.ts +1 -1
- package/dist/types-ts4.5/components/contexts/headerContext.d.ts +2 -2
- package/dist/types-ts4.5/components/contexts/helpArticleContext.d.ts +3 -3
- package/dist/types-ts4.5/components/contexts/homeContext.d.ts +1 -1
- package/dist/types-ts4.5/components/contexts/relatedArticlesContext.d.ts +3 -3
- package/dist/types-ts4.5/components/contexts/whatsNewArticleContext.d.ts +6 -6
- package/dist/types-ts4.5/model/WhatsNew.d.ts +1 -1
- package/dist/types-ts4.5/util/helpers.d.ts +1 -1
- package/dist/types-ts4.5/util/testing/mock.d.ts +2 -2
- package/package.json +7 -9
package/dist/esm/util/styled.js
CHANGED
|
@@ -7,6 +7,8 @@ import styled from '@emotion/styled';
|
|
|
7
7
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
8
8
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
9
|
import { WHATS_NEW_ITEM_TYPES } from '../model/WhatsNew';
|
|
10
|
+
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
10
12
|
export var DividerLine = styled.div({
|
|
11
13
|
backgroundColor: "var(--ds-border, ".concat(colors.N30A, ")"),
|
|
12
14
|
height: '2px',
|
|
@@ -28,6 +30,8 @@ var shimmer = keyframes({
|
|
|
28
30
|
backgroundPosition: '1000px 0'
|
|
29
31
|
}
|
|
30
32
|
});
|
|
33
|
+
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
31
35
|
export var LoadingRectangle = styled.div(function (props) {
|
|
32
36
|
return {
|
|
33
37
|
display: 'inline-block',
|
|
@@ -52,6 +56,7 @@ export var LoadingRectangle = styled.div(function (props) {
|
|
|
52
56
|
* Loading Circle
|
|
53
57
|
*/
|
|
54
58
|
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
55
60
|
export var LoadingCircle = styled.div(function (props) {
|
|
56
61
|
return {
|
|
57
62
|
display: 'inline-block',
|
|
@@ -76,7 +81,7 @@ export var LoadingCircle = styled.div(function (props) {
|
|
|
76
81
|
* What's new icon
|
|
77
82
|
*/
|
|
78
83
|
|
|
79
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
84
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
80
85
|
export var WhatsNewTypeIcon = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: 2px;\n background-color: ", ";\n\n & > img {\n width: calc(100% - ", "px);\n height: calc(100% - ", "px);\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n & > svg {\n height: 100%;\n width: 100%;\n }\n }\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-200, 16px)", function (_ref) {
|
|
81
86
|
var type = _ref.type;
|
|
82
87
|
switch (type) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
3
|
-
import { HistoryItem } from '../../../model/Help';
|
|
2
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
3
|
+
import { type HistoryItem } from '../../../model/Help';
|
|
4
4
|
interface Props {
|
|
5
5
|
currentArticle: HistoryItem | undefined;
|
|
6
6
|
onHelpArticleLoadingFailTryAgainButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onTryAgainButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
export declare const Loading: React.FC<WrappedComponentProps>;
|
|
4
4
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
5
5
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
6
6
|
isSelected?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
6
6
|
isSelected?: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
/** @jsxFrag */
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
5
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
6
|
-
import { ArticleFeedback } from '../../../../model/Article';
|
|
4
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
5
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
6
|
+
import { type ArticleFeedback } from '../../../../model/Article';
|
|
7
7
|
interface Props {
|
|
8
8
|
onWasHelpfulSubmit?(analyticsEvent: UIAnalyticsEvent, articleFeedback: ArticleFeedback): Promise<boolean>;
|
|
9
9
|
onWasHelpfulYesButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
export declare const Loading: React.FC<WrappedComponentProps>;
|
|
4
4
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
5
5
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { WhatsNewArticle as WhatsNewArticleType } from '../../../model/WhatsNew';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type WhatsNewArticle as WhatsNewArticleType } from '../../../model/WhatsNew';
|
|
4
4
|
interface Props {
|
|
5
5
|
article?: WhatsNewArticleType;
|
|
6
6
|
isLoading?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ArticlesList as ArticlesListInterface } from './model/ArticlesListItem';
|
|
2
|
+
import { type ArticlesList as ArticlesListInterface } from './model/ArticlesListItem';
|
|
3
3
|
declare const ArticleList: React.FC<ArticlesListInterface>;
|
|
4
4
|
export default ArticleList;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ArticleItem } from '../../../model/Article';
|
|
3
|
-
import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
2
|
+
import { type ArticleItem } from '../../../model/Article';
|
|
3
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
4
4
|
export interface ArticlesList {
|
|
5
5
|
style?: 'primary' | 'secondary';
|
|
6
6
|
articles?: ArticleItem[] | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
-
import { Help as HelpInterface } from '../model/Help';
|
|
2
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type Help as HelpInterface } from '../model/Help';
|
|
4
4
|
export type Props = HelpInterface & WithAnalyticsEventsProps;
|
|
5
5
|
export declare class Help extends React.PureComponent<Props> {
|
|
6
6
|
render(): JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { NotificationLogProvider } from '@atlaskit/notification-log-client';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type NotificationLogProvider } from '@atlaskit/notification-log-client';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
export type Props = {
|
|
5
5
|
id?: string;
|
|
6
6
|
href?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
4
4
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
5
5
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
/** @jsxFrag */
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
5
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
-
import { ArticleItem } from '../../model/Article';
|
|
4
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
5
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
import { type ArticleItem } from '../../model/Article';
|
|
7
7
|
export interface Props {
|
|
8
8
|
style?: 'primary' | 'secondary';
|
|
9
9
|
routeGroup?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export declare const SearchInput: React.FC<WrappedComponentProps>;
|
|
5
5
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
6
6
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export interface Props {
|
|
5
5
|
searchExternalUrl?: string;
|
|
6
6
|
onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { ArticleItem } from '../../../model/Article';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type ArticleItem } from '../../../model/Article';
|
|
4
4
|
export interface Props {
|
|
5
5
|
searchResult?: ArticleItem[] | null;
|
|
6
6
|
onSearchResultItemClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export interface Props {
|
|
5
5
|
searchExternalUrl?: string;
|
|
6
6
|
onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export interface Props {
|
|
5
5
|
itemsType?: string;
|
|
6
6
|
minItemsToDisplay: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { WHATS_NEW_ITEM_TYPES } from '../../../../model/WhatsNew';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type WHATS_NEW_ITEM_TYPES } from '../../../../model/WhatsNew';
|
|
4
4
|
export interface Props {
|
|
5
5
|
onSearch?(filter?: WHATS_NEW_ITEM_TYPES | '', numberOfItems?: number, page?: string): Promise<void>;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
-
import { WhatsNewArticleItem } from '../../../../../model/WhatsNew';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
|
+
import { type WhatsNewArticleItem } from '../../../../../model/WhatsNew';
|
|
5
5
|
interface Props {
|
|
6
6
|
styles?: {};
|
|
7
7
|
onClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WhatsNewResultsList as WhatsNewResultsListInterface } from './model/WhatsNewResultsList';
|
|
2
|
+
import { type WhatsNewResultsList as WhatsNewResultsListInterface } from './model/WhatsNewResultsList';
|
|
3
3
|
export interface Props {
|
|
4
4
|
numberOfWhatsNewArticlesToDisplay?: number;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WhatsNewResultsList as WhatsNewResultsListInterface } from './model/WhatsNewResultsList';
|
|
2
|
+
import { type WhatsNewResultsList as WhatsNewResultsListInterface } from './model/WhatsNewResultsList';
|
|
3
3
|
declare const WhatsNewResultsList: React.FC<WhatsNewResultsListInterface>;
|
|
4
4
|
export default WhatsNewResultsList;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { WhatsNewArticleItem } from '../../../../../model/WhatsNew';
|
|
3
|
-
import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
2
|
+
import { type WhatsNewArticleItem } from '../../../../../model/WhatsNew';
|
|
3
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
4
4
|
export interface WhatsNewResultsList {
|
|
5
5
|
style?: 'primary' | 'secondary';
|
|
6
6
|
whatsNewArticles?: WhatsNewArticleItem[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
export declare const WhatsNewResultsLoading: React.FC<WrappedComponentProps>;
|
|
4
4
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
5
5
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
export declare const WhatsNewResults: React.FC<WrappedComponentProps>;
|
|
4
4
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
5
5
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
interface HeaderSharedInterface {
|
|
4
4
|
onCloseButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
5
5
|
onBackButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { Article, ArticleItem, ArticleFeedback } from '../../model/Article';
|
|
4
|
-
import { articleId } from '../../model/Help';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type Article, type ArticleItem, type ArticleFeedback } from '../../model/Article';
|
|
4
|
+
import { type articleId } from '../../model/Help';
|
|
5
5
|
export interface HelpArticleContextInterface {
|
|
6
6
|
onGetHelpArticle?(articleId: articleId): Promise<Article>;
|
|
7
7
|
onHelpArticleLoadingFailTryAgainButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleId?: articleId): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { ArticleItem } from '../../model/Article';
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type ArticleItem } from '../../model/Article';
|
|
4
4
|
export interface RelatedArticlesContextInterface {
|
|
5
5
|
routeGroup?: string;
|
|
6
6
|
routeName?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { NotificationLogProvider } from '@atlaskit/notification-log-client';
|
|
4
|
-
import { WhatsNewArticleItem, WhatsNewArticle, whatsNewSearchResult } from '../../model/WhatsNew';
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type NotificationLogProvider } from '@atlaskit/notification-log-client';
|
|
4
|
+
import { type WhatsNewArticleItem, type WhatsNewArticle, type whatsNewSearchResult } from '../../model/WhatsNew';
|
|
5
5
|
import { REQUEST_STATE } from '../../model/Requests';
|
|
6
|
-
import { articleId } from '../../model/Help';
|
|
7
|
-
import { WHATS_NEW_ITEM_TYPES } from '../../model/WhatsNew';
|
|
6
|
+
import { type articleId } from '../../model/Help';
|
|
7
|
+
import { type WHATS_NEW_ITEM_TYPES } from '../../model/WhatsNew';
|
|
8
8
|
interface WhatsNewArticleSharedInterface {
|
|
9
9
|
whatsNewGetNotificationProvider?: Promise<NotificationLogProvider>;
|
|
10
10
|
productName?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Article, ArticleItem } from '../../model/Article';
|
|
2
|
-
import { WHATS_NEW_ITEM_TYPES, WhatsNewArticleItem } from '../../model/WhatsNew';
|
|
1
|
+
import { type Article, type ArticleItem } from '../../model/Article';
|
|
2
|
+
import { type WHATS_NEW_ITEM_TYPES, type WhatsNewArticleItem } from '../../model/WhatsNew';
|
|
3
3
|
export declare const getMockArticle: (id: string, routeName?: string, routeGroup?: string, productName?: string, href?: string) => Article;
|
|
4
4
|
export declare const getMockArticleItem: (id: string, routeName?: string, routeGroup?: string, productName?: string, href?: string) => ArticleItem;
|
|
5
5
|
export declare const getMockArticleItemList: (numberOfItems: number) => ArticleItem[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
3
|
-
import { HistoryItem } from '../../../model/Help';
|
|
2
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
3
|
+
import { type HistoryItem } from '../../../model/Help';
|
|
4
4
|
interface Props {
|
|
5
5
|
currentArticle: HistoryItem | undefined;
|
|
6
6
|
onHelpArticleLoadingFailTryAgainButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onTryAgainButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
export declare const Loading: React.FC<WrappedComponentProps>;
|
|
4
4
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
5
5
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
6
6
|
isSelected?: boolean;
|
package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
6
6
|
isSelected?: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
/** @jsxFrag */
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
5
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
6
|
-
import { ArticleFeedback } from '../../../../model/Article';
|
|
4
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
5
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
6
|
+
import { type ArticleFeedback } from '../../../../model/Article';
|
|
7
7
|
interface Props {
|
|
8
8
|
onWasHelpfulSubmit?(analyticsEvent: UIAnalyticsEvent, articleFeedback: ArticleFeedback): Promise<boolean>;
|
|
9
9
|
onWasHelpfulYesButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
export declare const Loading: React.FC<WrappedComponentProps>;
|
|
4
4
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
5
5
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { WhatsNewArticle as WhatsNewArticleType } from '../../../model/WhatsNew';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type WhatsNewArticle as WhatsNewArticleType } from '../../../model/WhatsNew';
|
|
4
4
|
interface Props {
|
|
5
5
|
article?: WhatsNewArticleType;
|
|
6
6
|
isLoading?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ArticlesList as ArticlesListInterface } from './model/ArticlesListItem';
|
|
2
|
+
import { type ArticlesList as ArticlesListInterface } from './model/ArticlesListItem';
|
|
3
3
|
declare const ArticleList: React.FC<ArticlesListInterface>;
|
|
4
4
|
export default ArticleList;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ArticleItem } from '../../../model/Article';
|
|
3
|
-
import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
2
|
+
import { type ArticleItem } from '../../../model/Article';
|
|
3
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
4
4
|
export interface ArticlesList {
|
|
5
5
|
style?: 'primary' | 'secondary';
|
|
6
6
|
articles?: ArticleItem[] | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
-
import { Help as HelpInterface } from '../model/Help';
|
|
2
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type Help as HelpInterface } from '../model/Help';
|
|
4
4
|
export type Props = HelpInterface & WithAnalyticsEventsProps;
|
|
5
5
|
export declare class Help extends React.PureComponent<Props> {
|
|
6
6
|
render(): JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { NotificationLogProvider } from '@atlaskit/notification-log-client';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type NotificationLogProvider } from '@atlaskit/notification-log-client';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
export type Props = {
|
|
5
5
|
id?: string;
|
|
6
6
|
href?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
4
4
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
5
5
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
/** @jsxFrag */
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
5
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
-
import { ArticleItem } from '../../model/Article';
|
|
4
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
5
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
import { type ArticleItem } from '../../model/Article';
|
|
7
7
|
export interface Props {
|
|
8
8
|
style?: 'primary' | 'secondary';
|
|
9
9
|
routeGroup?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export declare const SearchInput: React.FC<WrappedComponentProps>;
|
|
5
5
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps>> & {
|
|
6
6
|
WrappedComponent: React.ComponentType<WrappedComponentProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export interface Props {
|
|
5
5
|
searchExternalUrl?: string;
|
|
6
6
|
onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { ArticleItem } from '../../../model/Article';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type ArticleItem } from '../../../model/Article';
|
|
4
4
|
export interface Props {
|
|
5
5
|
searchResult?: ArticleItem[] | null;
|
|
6
6
|
onSearchResultItemClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export interface Props {
|
|
5
5
|
searchExternalUrl?: string;
|
|
6
6
|
onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|