@atlaskit/help 7.2.1 → 7.2.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 +12 -0
- package/analytics/package.json +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/components/ArticlesList/ArticlesListItem/styled.d.ts +1 -1
- package/dist/types/components/Help.d.ts +1 -1
- package/dist/types/components/HelpContentButton/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.d.ts +1 -1
- package/dist/types/components/contexts/navigationContext.d.ts +1 -1
- package/dist/types/components/styled.d.ts +2 -2
- package/dist/types/util/hooks/ctx.d.ts +1 -1
- package/dist/types/util/i18n-util.d.ts +3 -3
- package/dist/types/util/index.d.ts +1 -1
- package/dist/types/util/styled.d.ts +3 -3
- package/dist/types/util/testing/mock.d.ts +1 -1
- package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/ArticlesListItem/styled.d.ts +1 -1
- package/dist/{types-ts4.0 → types-ts4.5}/components/Help.d.ts +1 -1
- package/dist/{types-ts4.0 → types-ts4.5}/components/HelpContentButton/index.d.ts +1 -1
- package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.d.ts +1 -1
- package/dist/{types-ts4.0 → types-ts4.5}/components/contexts/navigationContext.d.ts +1 -1
- package/dist/{types-ts4.0 → types-ts4.5}/components/styled.d.ts +2 -2
- package/dist/{types-ts4.0 → types-ts4.5}/util/hooks/ctx.d.ts +1 -1
- package/dist/{types-ts4.0 → types-ts4.5}/util/i18n-util.d.ts +3 -3
- package/dist/{types-ts4.0 → types-ts4.5}/util/index.d.ts +1 -1
- package/dist/{types-ts4.0 → types-ts4.5}/util/styled.d.ts +3 -3
- package/dist/{types-ts4.0 → types-ts4.5}/util/testing/mock.d.ts +1 -1
- package/messages/package.json +2 -2
- package/package.json +12 -4
- /package/dist/{types-ts4.0 → types-ts4.5}/analytics.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/ErrorImage.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/NotFoundImage.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/SomethingWrongImage.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIcoExperiment.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIcoExperiment.svg +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIconFix.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIconFix.svg +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIconImprovement.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIconImprovement.svg +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIconNew.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIconNew.svg +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIconRemoved.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/assets/WhatsNewIconRemoved.svg +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/ArticleContent/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/ArticleLoadingFail/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/ArticleLoadingFail/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/HelpArticle/Loading/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/HelpArticle/WasHelpfulForm/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/HelpArticle/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/WhatsNewArticle/Loading/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/WhatsNewArticle/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/WhatsNewArticle/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Article/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/ArticlesList.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/ArticlesListItem/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/constants.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/model/ArticlesListItem.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/HelpContent.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/HelpContentButton/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/RelatedArticles/RelatedArticlesLoading.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/RelatedArticles/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/RelatedArticles/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchInput/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchInput/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/SearchExternalSite.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/SearchResults.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/SearchResultsEmpty.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/SearchResultsError.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/ShowMoreButton/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewButton/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/WhatsNew/WhatsNewResults/styled.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/constants.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/contexts/headerContext.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/contexts/helpArticleContext.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/contexts/homeContext.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/contexts/relatedArticlesContext.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/contexts/searchContext.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/components/contexts/whatsNewArticleContext.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/cs.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/da.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/de.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/en.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/en_GB.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/es.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/et.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/fi.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/fr.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/hu.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/is.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/it.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/ja.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/ko.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/languages.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/nb.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/nl.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/pl.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/pt_BR.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/pt_PT.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/ro.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/ru.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/sk.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/sv.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/i18n/zh.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/index.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/messages.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/model/Article.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/model/Help.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/model/Requests.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/model/WhatsNew.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/util/hooks/cancellablePromise.d.ts +0 -0
- /package/dist/{types-ts4.0 → types-ts4.5}/util/hooks/previous.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/help
|
|
2
2
|
|
|
3
|
+
## 7.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
8
|
+
|
|
9
|
+
## 7.2.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
14
|
+
|
|
3
15
|
## 7.2.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/analytics/package.json
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
type ArticlesListItemWrapperProps = {
|
|
3
3
|
styles: any;
|
|
4
4
|
};
|
|
5
5
|
export declare const ArticlesListItemWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, ArticlesListItemWrapperProps, object>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
3
|
import { Help as HelpInterface } from '../model/Help';
|
|
4
|
-
export
|
|
4
|
+
export type Props = HelpInterface & WithAnalyticsEventsProps;
|
|
5
5
|
export declare class Help extends React.PureComponent<Props> {
|
|
6
6
|
render(): JSX.Element;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { NotificationLogProvider } from '@atlaskit/notification-log-client';
|
|
3
3
|
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
|
-
export
|
|
4
|
+
export type Props = {
|
|
5
5
|
id?: string;
|
|
6
6
|
href?: string;
|
|
7
7
|
notificationMax?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
type WhatsNewResultListItemWrapperProps = {
|
|
3
3
|
styles: any;
|
|
4
4
|
};
|
|
5
5
|
export declare const WhatsNewResultListItemWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, WhatsNewResultListItemWrapperProps, object>;
|
|
@@ -4,7 +4,7 @@ import { Article, ArticleItem } from '../../model/Article';
|
|
|
4
4
|
import { WhatsNewArticleItem, WhatsNewArticle } from '../../model/WhatsNew';
|
|
5
5
|
import { HistoryItem, articleId } from '../../model/Help';
|
|
6
6
|
import { VIEW } from '../constants';
|
|
7
|
-
|
|
7
|
+
type ViewType = keyof typeof VIEW;
|
|
8
8
|
interface NavigationProviderInterface {
|
|
9
9
|
navigationData?: {
|
|
10
10
|
articleId: articleId;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
/// <reference types="react" />
|
|
3
|
-
|
|
3
|
+
type HelpBodyProps = {
|
|
4
4
|
isOverlayVisible?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export declare const HelpBodyContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HelpBodyProps, object>;
|
|
7
7
|
export declare const HelpBody: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HelpBodyProps, object>;
|
|
8
|
-
|
|
8
|
+
type HomeProps = {
|
|
9
9
|
isOverlayFullyVisible?: boolean;
|
|
10
10
|
isOverlayVisible?: boolean;
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare function createCtx<ContextType>(): readonly [() => ContextType
|
|
2
|
+
export declare function createCtx<ContextType>(): readonly [() => NonNullable<ContextType>, import("react").Provider<ContextType | undefined>];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
type LanguageCode = 'zh' | 'cs' | 'da' | 'nl' | 'en' | 'en_GB' | 'et' | 'fi' | 'fr' | 'de' | 'hu' | 'is' | 'it' | 'ja' | 'ko' | 'nb' | 'pl' | 'pt_BR' | 'pt_PT' | 'ro' | 'ru' | 'sk' | 'es' | 'sv';
|
|
2
|
+
export type LangCode = LanguageCode | 'pt-BR' | 'pt-PT';
|
|
3
|
+
type LocaleMessages = {
|
|
4
4
|
[key: string]: string;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WHATS_NEW_ITEM_TYPES } from '../model/WhatsNew';
|
|
3
|
-
export declare const getTypeIcon: (itemType?: WHATS_NEW_ITEM_TYPES
|
|
3
|
+
export declare const getTypeIcon: (itemType?: WHATS_NEW_ITEM_TYPES) => "" | JSX.Element;
|
|
4
4
|
export declare const getTypeTitle: (itemType: WHATS_NEW_ITEM_TYPES) => {
|
|
5
5
|
id: string;
|
|
6
6
|
defaultMessage: string;
|
|
@@ -5,7 +5,7 @@ export declare const DividerLine: import("@emotion/styled-base").StyledComponent
|
|
|
5
5
|
/**
|
|
6
6
|
* Loading container
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type LoadingRectangleProps = {
|
|
9
9
|
contentWidth?: string;
|
|
10
10
|
contentHeight?: string;
|
|
11
11
|
marginTop?: string;
|
|
@@ -14,7 +14,7 @@ export declare const LoadingRectangle: import("@emotion/styled-base").StyledComp
|
|
|
14
14
|
/**
|
|
15
15
|
* Loading Circle
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
type LoadingCircleProps = {
|
|
18
18
|
radius?: string;
|
|
19
19
|
marginTop?: string;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ export declare const LoadingCircle: import("@emotion/styled-base").StyledCompone
|
|
|
22
22
|
/**
|
|
23
23
|
* What's new icon
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
type WhatsNewTypeIconProps = {
|
|
26
26
|
type?: WHATS_NEW_ITEM_TYPES;
|
|
27
27
|
};
|
|
28
28
|
export declare const WhatsNewTypeIcon: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, WhatsNewTypeIconProps, object>;
|
|
@@ -4,5 +4,5 @@ export declare const getMockArticle: (id: string, routeName?: string, routeGroup
|
|
|
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[];
|
|
6
6
|
export declare const getMockWhatsNewArticle: (id: string, routeName?: string, routeGroup?: string, productName?: string, href?: string) => Article;
|
|
7
|
-
export declare const getMockWhatsNewArticleItem: (id: string, type?: WHATS_NEW_ITEM_TYPES
|
|
7
|
+
export declare const getMockWhatsNewArticleItem: (id: string, type?: WHATS_NEW_ITEM_TYPES, title?: string, description?: string, changeTargetSchedule?: string, status?: string, featureRolloutDate?: string, href?: string) => WhatsNewArticleItem;
|
|
8
8
|
export declare const getMockWhatsNewArticleItemList: (numberOfItems: number) => WhatsNewArticleItem[];
|
package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/ArticlesListItem/styled.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
type ArticlesListItemWrapperProps = {
|
|
3
3
|
styles: any;
|
|
4
4
|
};
|
|
5
5
|
export declare const ArticlesListItemWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, ArticlesListItemWrapperProps, object>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
3
|
import { Help as HelpInterface } from '../model/Help';
|
|
4
|
-
export
|
|
4
|
+
export type Props = HelpInterface & WithAnalyticsEventsProps;
|
|
5
5
|
export declare class Help extends React.PureComponent<Props> {
|
|
6
6
|
render(): JSX.Element;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { NotificationLogProvider } from '@atlaskit/notification-log-client';
|
|
3
3
|
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
|
-
export
|
|
4
|
+
export type Props = {
|
|
5
5
|
id?: string;
|
|
6
6
|
href?: string;
|
|
7
7
|
notificationMax?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
type WhatsNewResultListItemWrapperProps = {
|
|
3
3
|
styles: any;
|
|
4
4
|
};
|
|
5
5
|
export declare const WhatsNewResultListItemWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, WhatsNewResultListItemWrapperProps, object>;
|
|
@@ -4,7 +4,7 @@ import { Article, ArticleItem } from '../../model/Article';
|
|
|
4
4
|
import { WhatsNewArticleItem, WhatsNewArticle } from '../../model/WhatsNew';
|
|
5
5
|
import { HistoryItem, articleId } from '../../model/Help';
|
|
6
6
|
import { VIEW } from '../constants';
|
|
7
|
-
|
|
7
|
+
type ViewType = keyof typeof VIEW;
|
|
8
8
|
interface NavigationProviderInterface {
|
|
9
9
|
navigationData?: {
|
|
10
10
|
articleId: articleId;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
-
|
|
3
|
+
type HelpBodyProps = {
|
|
4
4
|
isOverlayVisible?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export declare const HelpBodyContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HelpBodyProps, object>;
|
|
7
7
|
export declare const HelpBody: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HelpBodyProps, object>;
|
|
8
|
-
|
|
8
|
+
type HomeProps = {
|
|
9
9
|
isOverlayFullyVisible?: boolean;
|
|
10
10
|
isOverlayVisible?: boolean;
|
|
11
11
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
type LanguageCode = 'zh' | 'cs' | 'da' | 'nl' | 'en' | 'en_GB' | 'et' | 'fi' | 'fr' | 'de' | 'hu' | 'is' | 'it' | 'ja' | 'ko' | 'nb' | 'pl' | 'pt_BR' | 'pt_PT' | 'ro' | 'ru' | 'sk' | 'es' | 'sv';
|
|
2
|
+
export type LangCode = LanguageCode | 'pt-BR' | 'pt-PT';
|
|
3
|
+
type LocaleMessages = {
|
|
4
4
|
[key: string]: string;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WHATS_NEW_ITEM_TYPES } from '../model/WhatsNew';
|
|
3
|
-
export declare const getTypeIcon: (itemType?: WHATS_NEW_ITEM_TYPES
|
|
3
|
+
export declare const getTypeIcon: (itemType?: WHATS_NEW_ITEM_TYPES) => "" | JSX.Element;
|
|
4
4
|
export declare const getTypeTitle: (itemType: WHATS_NEW_ITEM_TYPES) => {
|
|
5
5
|
id: string;
|
|
6
6
|
defaultMessage: string;
|
|
@@ -5,7 +5,7 @@ export declare const DividerLine: import("@emotion/styled-base").StyledComponent
|
|
|
5
5
|
/**
|
|
6
6
|
* Loading container
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type LoadingRectangleProps = {
|
|
9
9
|
contentWidth?: string;
|
|
10
10
|
contentHeight?: string;
|
|
11
11
|
marginTop?: string;
|
|
@@ -14,7 +14,7 @@ export declare const LoadingRectangle: import("@emotion/styled-base").StyledComp
|
|
|
14
14
|
/**
|
|
15
15
|
* Loading Circle
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
type LoadingCircleProps = {
|
|
18
18
|
radius?: string;
|
|
19
19
|
marginTop?: string;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ export declare const LoadingCircle: import("@emotion/styled-base").StyledCompone
|
|
|
22
22
|
/**
|
|
23
23
|
* What's new icon
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
type WhatsNewTypeIconProps = {
|
|
26
26
|
type?: WHATS_NEW_ITEM_TYPES;
|
|
27
27
|
};
|
|
28
28
|
export declare const WhatsNewTypeIcon: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, WhatsNewTypeIconProps, object>;
|
|
@@ -4,5 +4,5 @@ export declare const getMockArticle: (id: string, routeName?: string, routeGroup
|
|
|
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[];
|
|
6
6
|
export declare const getMockWhatsNewArticle: (id: string, routeName?: string, routeGroup?: string, productName?: string, href?: string) => Article;
|
|
7
|
-
export declare const getMockWhatsNewArticleItem: (id: string, type?: WHATS_NEW_ITEM_TYPES
|
|
7
|
+
export declare const getMockWhatsNewArticleItem: (id: string, type?: WHATS_NEW_ITEM_TYPES, title?: string, description?: string, changeTargetSchedule?: string, status?: string, featureRolloutDate?: string, href?: string) => WhatsNewArticleItem;
|
|
8
8
|
export declare const getMockWhatsNewArticleItemList: (numberOfItems: number) => WhatsNewArticleItem[];
|
package/messages/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.3",
|
|
4
4
|
"description": "A cross-product help component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"sideEffects": false,
|
|
16
24
|
"atlaskit:src": "src/index.ts",
|
|
17
25
|
"atlassian": {
|
|
@@ -29,7 +37,7 @@
|
|
|
29
37
|
"@atlaskit/analytics": "^8.1.0",
|
|
30
38
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
31
39
|
"@atlaskit/button": "^16.7.0",
|
|
32
|
-
"@atlaskit/checkbox": "^12.
|
|
40
|
+
"@atlaskit/checkbox": "^12.6.0",
|
|
33
41
|
"@atlaskit/form": "^8.11.0",
|
|
34
42
|
"@atlaskit/help-article": "^4.1.0",
|
|
35
43
|
"@atlaskit/help-layout": "^4.2.0",
|
|
@@ -43,7 +51,7 @@
|
|
|
43
51
|
"@atlaskit/textarea": "^4.6.0",
|
|
44
52
|
"@atlaskit/textfield": "^5.4.0",
|
|
45
53
|
"@atlaskit/theme": "^12.5.0",
|
|
46
|
-
"@atlaskit/tokens": "^1.
|
|
54
|
+
"@atlaskit/tokens": "^1.4.0",
|
|
47
55
|
"@atlaskit/tooltip": "^17.8.0",
|
|
48
56
|
"@babel/runtime": "^7.0.0",
|
|
49
57
|
"@emotion/core": "^10.0.9",
|
|
@@ -68,7 +76,7 @@
|
|
|
68
76
|
"algoliasearch": "^3.35.1",
|
|
69
77
|
"enzyme": "^3.10.0",
|
|
70
78
|
"react-test-renderer": "^16.8.0",
|
|
71
|
-
"typescript": "4.
|
|
79
|
+
"typescript": "~4.9.5"
|
|
72
80
|
},
|
|
73
81
|
"keywords": [
|
|
74
82
|
"atlaskit",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/Article/HelpArticle/WasHelpfulForm/index.d.ts
RENAMED
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/Article/HelpArticle/WasHelpfulForm/styled.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/Article/WhatsNewArticle/Loading/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/ArticlesListItem/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/ArticlesList/model/ArticlesListItem.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/RelatedArticles/RelatedArticlesLoading.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/SearchExternalSite.d.ts
RENAMED
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/SearchResults.d.ts
RENAMED
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/SearchResultsEmpty.d.ts
RENAMED
|
File without changes
|
/package/dist/{types-ts4.0 → types-ts4.5}/components/Search/SearchResults/SearchResultsError.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|