@atlaskit/help 5.0.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/cjs/analytics.js +1 -1
  3. package/dist/cjs/components/Article/ArticleLoadingFail/index.js +2 -2
  4. package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +1 -1
  5. package/dist/cjs/components/Article/HelpArticle/Loading/index.js +2 -2
  6. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
  7. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
  8. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +2 -2
  9. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -1
  10. package/dist/cjs/components/Article/WhatsNewArticle/Loading/index.js +2 -2
  11. package/dist/cjs/components/Article/WhatsNewArticle/index.js +2 -2
  12. package/dist/cjs/components/Article/WhatsNewArticle/styled.js +1 -1
  13. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +3 -3
  14. package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +1 -1
  15. package/dist/cjs/components/ArticlesList/constants.js +1 -1
  16. package/dist/cjs/components/ArticlesList/styled.js +1 -1
  17. package/dist/cjs/components/HelpContentButton/styled.js +1 -1
  18. package/dist/cjs/components/MessagesIntlProvider.js +7 -7
  19. package/dist/cjs/components/RelatedArticles/RelatedArticlesLoading.js +2 -2
  20. package/dist/cjs/components/RelatedArticles/index.js +2 -2
  21. package/dist/cjs/components/RelatedArticles/styled.js +1 -1
  22. package/dist/cjs/components/Search/SearchInput/index.js +2 -2
  23. package/dist/cjs/components/Search/SearchInput/styled.js +1 -1
  24. package/dist/cjs/components/Search/SearchResults/SearchExternalSite.js +2 -2
  25. package/dist/cjs/components/Search/SearchResults/SearchResultsEmpty.js +2 -2
  26. package/dist/cjs/components/Search/SearchResults/SearchResultsError.js +2 -2
  27. package/dist/cjs/components/Search/SearchResults/styled.js +1 -1
  28. package/dist/cjs/components/ShowMoreButton/index.js +2 -2
  29. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +2 -2
  30. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.js +4 -4
  31. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +2 -2
  32. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +2 -2
  33. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -1
  34. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
  35. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +2 -2
  36. package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +2 -2
  37. package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +1 -1
  38. package/dist/cjs/components/constants.js +1 -1
  39. package/dist/cjs/components/contexts/headerContext.js +1 -1
  40. package/dist/cjs/components/contexts/helpArticleContext.js +1 -1
  41. package/dist/cjs/components/contexts/homeContext.js +1 -1
  42. package/dist/cjs/components/contexts/navigationContext.js +1 -1
  43. package/dist/cjs/components/contexts/relatedArticlesContext.js +1 -1
  44. package/dist/cjs/components/contexts/searchContext.js +1 -1
  45. package/dist/cjs/components/contexts/whatsNewArticleContext.js +1 -1
  46. package/dist/cjs/components/styled.js +1 -1
  47. package/dist/cjs/i18n/index.js +18 -18
  48. package/dist/cjs/index.js +16 -16
  49. package/dist/cjs/messages.js +2 -2
  50. package/dist/cjs/util/hooks/cancellablePromise.js +1 -1
  51. package/dist/cjs/util/styled.js +1 -1
  52. package/dist/cjs/version.json +1 -1
  53. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
  54. package/dist/es2019/components/Article/HelpArticle/Loading/index.js +1 -1
  55. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  56. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  57. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  58. package/dist/es2019/components/Article/WhatsNewArticle/Loading/index.js +1 -1
  59. package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
  60. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
  61. package/dist/es2019/components/MessagesIntlProvider.js +4 -4
  62. package/dist/es2019/components/RelatedArticles/RelatedArticlesLoading.js +1 -1
  63. package/dist/es2019/components/RelatedArticles/index.js +1 -1
  64. package/dist/es2019/components/Search/SearchInput/index.js +1 -1
  65. package/dist/es2019/components/Search/SearchResults/SearchExternalSite.js +1 -1
  66. package/dist/es2019/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
  67. package/dist/es2019/components/Search/SearchResults/SearchResultsError.js +1 -1
  68. package/dist/es2019/components/ShowMoreButton/index.js +1 -1
  69. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  70. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.js +3 -3
  71. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +1 -1
  72. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  73. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +1 -1
  74. package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +1 -1
  75. package/dist/es2019/messages.js +1 -1
  76. package/dist/es2019/version.json +1 -1
  77. package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
  78. package/dist/esm/components/Article/HelpArticle/Loading/index.js +1 -1
  79. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  80. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  81. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  82. package/dist/esm/components/Article/WhatsNewArticle/Loading/index.js +1 -1
  83. package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
  84. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  85. package/dist/esm/components/MessagesIntlProvider.js +5 -4
  86. package/dist/esm/components/RelatedArticles/RelatedArticlesLoading.js +1 -1
  87. package/dist/esm/components/RelatedArticles/index.js +1 -1
  88. package/dist/esm/components/Search/SearchInput/index.js +1 -1
  89. package/dist/esm/components/Search/SearchResults/SearchExternalSite.js +1 -1
  90. package/dist/esm/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
  91. package/dist/esm/components/Search/SearchResults/SearchResultsError.js +1 -1
  92. package/dist/esm/components/ShowMoreButton/index.js +1 -1
  93. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  94. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.js +3 -3
  95. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +1 -1
  96. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  97. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +1 -1
  98. package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +1 -1
  99. package/dist/esm/messages.js +1 -1
  100. package/dist/esm/version.json +1 -1
  101. package/dist/types/assets/ErrorImage.d.ts +1 -0
  102. package/dist/types/assets/NotFoundImage.d.ts +1 -0
  103. package/dist/types/assets/SomethingWrongImage.d.ts +1 -0
  104. package/dist/types/assets/WhatsNewIcoExperiment.d.ts +1 -0
  105. package/dist/types/assets/WhatsNewIconFix.d.ts +1 -0
  106. package/dist/types/assets/WhatsNewIconImprovement.d.ts +1 -0
  107. package/dist/types/assets/WhatsNewIconNew.d.ts +1 -0
  108. package/dist/types/assets/WhatsNewIconRemoved.d.ts +1 -0
  109. package/dist/types/components/Article/ArticleLoadingFail/index.d.ts +4 -4
  110. package/dist/types/components/Article/HelpArticle/Loading/index.d.ts +4 -4
  111. package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +4 -4
  112. package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +4 -4
  113. package/dist/types/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +4 -4
  114. package/dist/types/components/Article/WhatsNewArticle/Loading/index.d.ts +4 -4
  115. package/dist/types/components/Article/WhatsNewArticle/index.d.ts +4 -4
  116. package/dist/types/components/ArticlesList/ArticlesListItem/index.d.ts +4 -4
  117. package/dist/types/components/MessagesIntlProvider.d.ts +6 -5
  118. package/dist/types/components/RelatedArticles/RelatedArticlesLoading.d.ts +3 -3
  119. package/dist/types/components/RelatedArticles/index.d.ts +7 -3
  120. package/dist/types/components/Search/SearchInput/index.d.ts +4 -4
  121. package/dist/types/components/Search/SearchResults/SearchExternalSite.d.ts +4 -4
  122. package/dist/types/components/Search/SearchResults/SearchResultsEmpty.d.ts +4 -4
  123. package/dist/types/components/Search/SearchResults/SearchResultsError.d.ts +4 -4
  124. package/dist/types/components/ShowMoreButton/index.d.ts +4 -4
  125. package/dist/types/components/WhatsNew/WhatsNewButton/index.d.ts +4 -4
  126. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +4 -4
  127. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +4 -4
  128. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +4 -4
  129. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +4 -4
  130. package/dist/types/components/WhatsNew/WhatsNewResults/index.d.ts +4 -4
  131. package/dist/types/util/index.d.ts +1 -0
  132. package/package.json +5 -5
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
2
  import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
4
  import { ArticleItem, ARTICLE_ITEM_TYPES } from '../../../model/Article';
5
5
  interface Props {
6
6
  styles?: {};
7
7
  onClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
8
8
  }
9
9
  export declare const getTypeTitle: (itemType?: ARTICLE_ITEM_TYPES | undefined) => null;
10
- export declare const ArticlesListItem: React.FC<Props & Partial<ArticleItem> & InjectedIntlProps>;
11
- declare const _default: React.ComponentClass<Props & Partial<ArticleItem>, any> & {
12
- WrappedComponent: ReactIntl.ComponentConstructor<Props & Partial<ArticleItem> & InjectedIntlProps>;
10
+ export declare const ArticlesListItem: React.FC<Props & Partial<ArticleItem> & WrappedComponentProps>;
11
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & Partial<ArticleItem> & WrappedComponentProps<"intl">>> & {
12
+ WrappedComponent: React.ComponentType<Props & Partial<ArticleItem> & WrappedComponentProps<"intl">>;
13
13
  };
14
14
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  export interface Props {
4
- children: React.ReactChild;
4
+ locale?: string;
5
+ children: React.ReactNode;
5
6
  }
6
- export declare const MessagesIntlProvider: React.FC<Props & InjectedIntlProps>;
7
- declare const _default: React.ComponentClass<Props, any> & {
8
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
7
+ export declare const MessagesIntlProvider: React.FC<Props & WrappedComponentProps>;
8
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
9
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
9
10
  };
10
11
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
3
- declare const _default: React.ComponentClass<unknown, any> & {
4
- WrappedComponent: ReactIntl.ComponentConstructor<InjectedIntlProps>;
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps<"intl">>> & {
4
+ WrappedComponent: React.ComponentType<WrappedComponentProps<"intl">>;
5
5
  };
6
6
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
4
  import { ArticleItem } from '../../model/Article';
5
5
  export interface Props {
6
6
  style?: 'primary' | 'secondary';
@@ -10,6 +10,10 @@ export interface Props {
10
10
  onRelatedArticlesListItemClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem) => void;
11
11
  onRelatedArticlesShowMoreClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent, isCollapsed: boolean) => void;
12
12
  }
13
- export declare const RelatedArticles: React.FC<Props & InjectedIntlProps>;
14
- declare const _default: React.ForwardRefExoticComponent<Props & import("@atlaskit/analytics-next").WithContextProps & React.RefAttributes<any>>;
13
+ export declare const RelatedArticles: React.FC<Props & WrappedComponentProps>;
14
+ declare const _default: React.ForwardRefExoticComponent<Pick<Props & WrappedComponentProps<"intl">, "style" | "routeName" | "routeGroup" | "onGetRelatedArticles" | "onRelatedArticlesShowMoreClick" | "onRelatedArticlesListItemClick"> & {
15
+ forwardedRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
16
+ } & {
17
+ children?: React.ReactNode;
18
+ } & import("@atlaskit/analytics-next").WithContextProps & React.RefAttributes<any>>;
15
19
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
3
- export declare const SearchInput: React.FC<InjectedIntlProps>;
4
- declare const _default: React.ComponentClass<unknown, any> & {
5
- WrappedComponent: ReactIntl.ComponentConstructor<InjectedIntlProps>;
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ export declare const SearchInput: React.FC<WrappedComponentProps>;
4
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps<"intl">>> & {
5
+ WrappedComponent: React.ComponentType<WrappedComponentProps<"intl">>;
6
6
  };
7
7
  export default _default;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { 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;
7
7
  }
8
- export declare const SearchExternalSite: React.FC<Props & InjectedIntlProps>;
9
- declare const _default: React.ComponentClass<Props, any> & {
10
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
8
+ export declare const SearchExternalSite: React.FC<Props & WrappedComponentProps>;
9
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
10
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
11
11
  };
12
12
  export default _default;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { 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;
7
7
  }
8
- export declare const SearchResultsEmpty: React.FC<Props & InjectedIntlProps>;
9
- declare const _default: React.ComponentClass<Props, any> & {
10
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
8
+ export declare const SearchResultsEmpty: React.FC<Props & WrappedComponentProps>;
9
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
10
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
11
11
  };
12
12
  export default _default;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  export interface Props {
4
4
  onSearch?(value?: string): void;
5
5
  }
6
- export declare const SearchResultsError: React.FC<Props & InjectedIntlProps>;
7
- declare const _default: React.ComponentClass<Props, any> & {
8
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
6
+ export declare const SearchResultsError: React.FC<Props & WrappedComponentProps>;
7
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
8
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
9
9
  };
10
10
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
4
  export interface Props {
5
5
  itemsType?: string;
6
6
  minItemsToDisplay: number;
@@ -9,8 +9,8 @@ export interface Props {
9
9
  loading?: boolean;
10
10
  onToggle: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
11
11
  }
12
- export declare const ShowMoreButton: React.FC<Props & InjectedIntlProps>;
13
- declare const _default: React.ComponentClass<Props, any> & {
14
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
12
+ export declare const ShowMoreButton: React.FC<Props & WrappedComponentProps>;
13
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
14
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
15
15
  };
16
16
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
3
- export declare const WhatsNewButton: React.FC<InjectedIntlProps>;
4
- declare const _default: React.ComponentClass<unknown, any> & {
5
- WrappedComponent: ReactIntl.ComponentConstructor<InjectedIntlProps>;
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ export declare const WhatsNewButton: React.FC<WrappedComponentProps>;
4
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps<"intl">>> & {
5
+ WrappedComponent: React.ComponentType<WrappedComponentProps<"intl">>;
6
6
  };
7
7
  export default _default;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  export interface Props {
4
4
  onClearFilter: () => void;
5
5
  }
6
- export declare const WhatsNewResultsEmpty: React.FC<Props & InjectedIntlProps>;
7
- declare const _default: React.ComponentClass<Props, any> & {
8
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
6
+ export declare const WhatsNewResultsEmpty: React.FC<Props & WrappedComponentProps>;
7
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
8
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
9
9
  };
10
10
  export default _default;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  import { 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
  }
7
- export declare const WhatsNewResultsError: React.FC<Props & InjectedIntlProps>;
8
- declare const _default: React.ComponentClass<Props, any> & {
9
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
7
+ export declare const WhatsNewResultsError: React.FC<Props & WrappedComponentProps>;
8
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
9
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
10
10
  };
11
11
  export default _default;
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
4
  import { WhatsNewArticleItem } from '../../../../../model/WhatsNew';
5
5
  interface Props {
6
6
  styles?: {};
7
7
  onClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
8
8
  }
9
- export declare const WhatsNewResultListItem: React.FC<Props & Partial<WhatsNewArticleItem> & InjectedIntlProps>;
10
- declare const _default: React.ComponentClass<Props & Partial<WhatsNewArticleItem>, any> & {
11
- WrappedComponent: ReactIntl.ComponentConstructor<Props & Partial<WhatsNewArticleItem> & InjectedIntlProps>;
9
+ export declare const WhatsNewResultListItem: React.FC<Props & Partial<WhatsNewArticleItem> & WrappedComponentProps>;
10
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & Partial<WhatsNewArticleItem> & WrappedComponentProps<"intl">>> & {
11
+ WrappedComponent: React.ComponentType<Props & Partial<WhatsNewArticleItem> & WrappedComponentProps<"intl">>;
12
12
  };
13
13
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
3
- export declare const WhatsNewResultsLoading: React.FC<InjectedIntlProps>;
4
- declare const _default: React.ComponentClass<unknown, any> & {
5
- WrappedComponent: ReactIntl.ComponentConstructor<InjectedIntlProps>;
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ export declare const WhatsNewResultsLoading: React.FC<WrappedComponentProps>;
4
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps<"intl">>> & {
5
+ WrappedComponent: React.ComponentType<WrappedComponentProps<"intl">>;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
3
- export declare const WhatsNewResults: React.FC<InjectedIntlProps>;
4
- declare const _default: React.ComponentClass<unknown, any> & {
5
- WrappedComponent: ReactIntl.ComponentConstructor<InjectedIntlProps>;
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ export declare const WhatsNewResults: React.FC<WrappedComponentProps>;
4
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<WrappedComponentProps<"intl">>> & {
5
+ WrappedComponent: React.ComponentType<WrappedComponentProps<"intl">>;
6
6
  };
7
7
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WHATS_NEW_ITEM_TYPES } from '../model/WhatsNew';
2
3
  export declare const getTypeIcon: (itemType?: WHATS_NEW_ITEM_TYPES | undefined) => "" | JSX.Element;
3
4
  export declare const getTypeTitle: (itemType: WHATS_NEW_ITEM_TYPES) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "A cross-product help component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,11 +32,11 @@
32
32
  "@atlaskit/checkbox": "^12.3.0",
33
33
  "@atlaskit/form": "^8.4.0",
34
34
  "@atlaskit/help-article": "^4.0.0",
35
- "@atlaskit/help-layout": "^3.0.0",
35
+ "@atlaskit/help-layout": "^4.0.0",
36
36
  "@atlaskit/icon": "^21.9.0",
37
37
  "@atlaskit/item": "^12.0.0",
38
- "@atlaskit/notification-indicator": "^8.0.0",
39
- "@atlaskit/notification-log-client": "^5.0.0",
38
+ "@atlaskit/notification-indicator": "^8.1.0",
39
+ "@atlaskit/notification-log-client": "^5.2.0",
40
40
  "@atlaskit/radio": "^5.3.0",
41
41
  "@atlaskit/section-message": "^6.1.0",
42
42
  "@atlaskit/select": "^15.0.0",
@@ -55,7 +55,7 @@
55
55
  "peerDependencies": {
56
56
  "react": "^16.8.0",
57
57
  "react-dom": "^16.8.0",
58
- "react-intl": "^2.6.0",
58
+ "react-intl-next": "npm:react-intl@^5.18.1",
59
59
  "styled-components": "^3.2.6"
60
60
  },
61
61
  "devDependencies": {