@atlaskit/help 9.1.11 → 9.1.13

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 (123) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/afm-cc/tsconfig.json +3 -3
  3. package/dist/cjs/analytics.js +1 -1
  4. package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
  5. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  6. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  7. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  8. package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
  9. package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
  10. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
  11. package/dist/cjs/components/BackButton/index.js +1 -1
  12. package/dist/cjs/components/HelpContentButton/index.js +1 -1
  13. package/dist/cjs/components/RelatedArticles/index.js +1 -1
  14. package/dist/cjs/components/Search/SearchInput/index.js +1 -1
  15. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
  16. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  17. package/dist/es2019/analytics.js +1 -1
  18. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
  19. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  20. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  21. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  22. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  23. package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
  24. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
  25. package/dist/es2019/components/BackButton/index.js +1 -1
  26. package/dist/es2019/components/HelpContentButton/index.js +1 -1
  27. package/dist/es2019/components/RelatedArticles/index.js +1 -1
  28. package/dist/es2019/components/Search/SearchInput/index.js +1 -1
  29. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  30. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  31. package/dist/esm/analytics.js +1 -1
  32. package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
  33. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  34. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  35. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  36. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  37. package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
  38. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  39. package/dist/esm/components/BackButton/index.js +1 -1
  40. package/dist/esm/components/HelpContentButton/index.js +1 -1
  41. package/dist/esm/components/RelatedArticles/index.js +1 -1
  42. package/dist/esm/components/Search/SearchInput/index.js +1 -1
  43. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  44. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  45. package/dist/types/assets/IconWrapper.d.ts +1 -1
  46. package/dist/types/components/Article/ArticleLoadingFail/index.d.ts +1 -1
  47. package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +1 -1
  48. package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +1 -1
  49. package/dist/types/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +1 -1
  50. package/dist/types/components/Article/HelpArticle/WasHelpfulForm/styled.d.ts +3 -3
  51. package/dist/types/components/ArticlesList/ArticlesListItem/index.d.ts +1 -1
  52. package/dist/types/components/ArticlesList/ArticlesListItem/styled.d.ts +2 -2
  53. package/dist/types/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
  54. package/dist/types/components/BackButton/index.d.ts +1 -1
  55. package/dist/types/components/HelpContentButton/index.d.ts +4 -4
  56. package/dist/types/components/HelpContentButton/styled.d.ts +4 -4
  57. package/dist/types/components/NeedMoreHelp/index.d.ts +1 -1
  58. package/dist/types/components/RelatedArticles/index.d.ts +3 -3
  59. package/dist/types/components/RelatedArticles/styled.d.ts +1 -1
  60. package/dist/types/components/Search/SearchResults/SearchExternalSite.d.ts +1 -1
  61. package/dist/types/components/Search/SearchResults/SearchResults.d.ts +1 -1
  62. package/dist/types/components/Search/SearchResults/SearchResultsEmpty.d.ts +1 -1
  63. package/dist/types/components/ShowMoreButton/index.d.ts +3 -3
  64. package/dist/types/components/Tabs/index.d.ts +1 -1
  65. package/dist/types/components/Tabs/styled.d.ts +1 -1
  66. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +1 -1
  67. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.d.ts +1 -1
  68. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +4 -4
  69. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.d.ts +1 -1
  70. package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.d.ts +1 -1
  71. package/dist/types/components/contexts/aiAgentContext.d.ts +1 -1
  72. package/dist/types/components/contexts/headerContext.d.ts +1 -1
  73. package/dist/types/components/contexts/helpArticleContext.d.ts +1 -1
  74. package/dist/types/components/contexts/homeContext.d.ts +1 -1
  75. package/dist/types/components/contexts/navigationContext.d.ts +7 -7
  76. package/dist/types/components/contexts/relatedArticlesContext.d.ts +3 -3
  77. package/dist/types/components/contexts/searchContext.d.ts +3 -3
  78. package/dist/types/components/contexts/whatsNewArticleContext.d.ts +5 -5
  79. package/dist/types/components/styled.d.ts +3 -3
  80. package/dist/types/model/Article.d.ts +10 -10
  81. package/dist/types/model/Help.d.ts +32 -32
  82. package/dist/types/model/WhatsNew.d.ts +7 -7
  83. package/dist/types/util/styled.d.ts +3 -3
  84. package/dist/types-ts4.5/assets/IconWrapper.d.ts +1 -1
  85. package/dist/types-ts4.5/components/Article/ArticleLoadingFail/index.d.ts +1 -1
  86. package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +1 -1
  87. package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +1 -1
  88. package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +1 -1
  89. package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/styled.d.ts +3 -3
  90. package/dist/types-ts4.5/components/ArticlesList/ArticlesListItem/index.d.ts +1 -1
  91. package/dist/types-ts4.5/components/ArticlesList/ArticlesListItem/styled.d.ts +2 -2
  92. package/dist/types-ts4.5/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
  93. package/dist/types-ts4.5/components/BackButton/index.d.ts +1 -1
  94. package/dist/types-ts4.5/components/HelpContentButton/index.d.ts +4 -4
  95. package/dist/types-ts4.5/components/HelpContentButton/styled.d.ts +4 -4
  96. package/dist/types-ts4.5/components/NeedMoreHelp/index.d.ts +1 -1
  97. package/dist/types-ts4.5/components/RelatedArticles/index.d.ts +3 -3
  98. package/dist/types-ts4.5/components/RelatedArticles/styled.d.ts +1 -1
  99. package/dist/types-ts4.5/components/Search/SearchResults/SearchExternalSite.d.ts +1 -1
  100. package/dist/types-ts4.5/components/Search/SearchResults/SearchResults.d.ts +1 -1
  101. package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsEmpty.d.ts +1 -1
  102. package/dist/types-ts4.5/components/ShowMoreButton/index.d.ts +3 -3
  103. package/dist/types-ts4.5/components/Tabs/index.d.ts +1 -1
  104. package/dist/types-ts4.5/components/Tabs/styled.d.ts +1 -1
  105. package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +1 -1
  106. package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.d.ts +1 -1
  107. package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +4 -4
  108. package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.d.ts +1 -1
  109. package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.d.ts +1 -1
  110. package/dist/types-ts4.5/components/contexts/aiAgentContext.d.ts +1 -1
  111. package/dist/types-ts4.5/components/contexts/headerContext.d.ts +1 -1
  112. package/dist/types-ts4.5/components/contexts/helpArticleContext.d.ts +1 -1
  113. package/dist/types-ts4.5/components/contexts/homeContext.d.ts +1 -1
  114. package/dist/types-ts4.5/components/contexts/navigationContext.d.ts +7 -7
  115. package/dist/types-ts4.5/components/contexts/relatedArticlesContext.d.ts +3 -3
  116. package/dist/types-ts4.5/components/contexts/searchContext.d.ts +3 -3
  117. package/dist/types-ts4.5/components/contexts/whatsNewArticleContext.d.ts +5 -5
  118. package/dist/types-ts4.5/components/styled.d.ts +3 -3
  119. package/dist/types-ts4.5/model/Article.d.ts +10 -10
  120. package/dist/types-ts4.5/model/Help.d.ts +32 -32
  121. package/dist/types-ts4.5/model/WhatsNew.d.ts +7 -7
  122. package/dist/types-ts4.5/util/styled.d.ts +3 -3
  123. package/package.json +7 -7
@@ -3,8 +3,8 @@ import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { type WrappedComponentProps } from 'react-intl-next';
4
4
  import { type ArticleItem } from '../../../model/Article';
5
5
  interface Props {
6
- styles?: {};
7
6
  onClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
7
+ styles?: {};
8
8
  }
9
9
  export declare const ArticlesListItem: React.FC<Props & Partial<ArticleItem> & WrappedComponentProps>;
10
10
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & Partial<ArticleItem> & WrappedComponentProps>> & {
@@ -4,9 +4,9 @@
4
4
  */
5
5
  import React from 'react';
6
6
  export declare const ArticlesListItemWrapper: ({ styles, children, ...rest }: {
7
+ [rest: string]: any;
7
8
  children: React.ReactNode;
8
9
  styles?: React.CSSProperties;
9
- [rest: string]: any;
10
10
  }) => JSX.Element;
11
11
  export declare const ArticlesListItemContainer: ({ children }: {
12
12
  children: React.ReactNode;
@@ -39,6 +39,6 @@ export declare const ArticlesListItemLastModified: ({ children }: {
39
39
  children: React.ReactNode;
40
40
  }) => JSX.Element;
41
41
  export declare const ArticlesListItemDescriptionHighlight: ({ key, children, }: {
42
- key: number | string;
43
42
  children: React.ReactNode;
43
+ key: number | string;
44
44
  }) => JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import { type ArticleItem } from '../../../model/Article';
2
2
  import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
3
3
  export interface ArticlesList {
4
- style?: 'primary' | 'secondary';
5
4
  articles?: ArticleItem[] | null;
6
- minItemsToDisplay?: number;
7
5
  maxItemsToDisplay?: number;
6
+ minItemsToDisplay?: number;
8
7
  onArticlesListItemClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem) => void;
9
8
  onToggleArticlesList?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent, isCollapsed: boolean) => void;
9
+ style?: 'primary' | 'secondary';
10
10
  }
@@ -2,8 +2,8 @@ import React from 'react';
2
2
  import { type WrappedComponentProps } from 'react-intl-next';
3
3
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
4
4
  interface Props {
5
- onClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
6
5
  isVisible?: boolean;
6
+ onClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
7
7
  }
8
8
  export declare const BackButton: React.FC<Props & WrappedComponentProps>;
9
9
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
@@ -2,14 +2,14 @@ import React from 'react';
2
2
  import { type NotificationLogProvider } from '@atlaskit/notification-log-client';
3
3
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
4
4
  export type Props = {
5
- id?: string;
6
5
  href?: string;
7
- notificationMax?: number;
6
+ icon?: React.ReactChild;
7
+ id?: string;
8
8
  notificationLogProvider?: Promise<NotificationLogProvider>;
9
+ notificationMax?: number;
10
+ onClick?: (id: string, analytics: UIAnalyticsEvent, event: React.MouseEvent<HTMLElement>) => void;
9
11
  text: string;
10
- icon?: React.ReactChild;
11
12
  tooltipText?: string;
12
- onClick?: (id: string, analytics: UIAnalyticsEvent, event: React.MouseEvent<HTMLElement>) => void;
13
13
  };
14
14
  declare const HelpContentButton: ({ id, href, notificationMax, notificationLogProvider, text, icon, onClick, tooltipText, }: Props) => React.JSX.Element;
15
15
  export default HelpContentButton;
@@ -4,13 +4,13 @@
4
4
  */
5
5
  import React from 'react';
6
6
  interface HelpContentButtonContainerProps {
7
- onClick: (event: React.MouseEvent<HTMLElement>) => void;
8
- onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
7
+ children: React.ReactNode;
9
8
  href?: string;
10
9
  id: string;
10
+ onClick: (event: React.MouseEvent<HTMLElement>) => void;
11
+ onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
11
12
  tabIndex: number;
12
13
  target?: string;
13
- children: React.ReactNode;
14
14
  }
15
15
  export declare const HelpContentButtonContainer: ({ onClick, onKeyDown, href, id, tabIndex, target, children, }: HelpContentButtonContainerProps) => JSX.Element;
16
16
  export declare const HelpContentButtonIcon: ({ children }: {
@@ -20,8 +20,8 @@ export declare const HelpContentButtonText: ({ children }: {
20
20
  children: React.ReactNode;
21
21
  }) => JSX.Element;
22
22
  export declare const HelpContentButtonExternalLinkIcon: ({ dataTestId, children, }: {
23
- dataTestId: string;
24
23
  children: React.ReactNode;
24
+ dataTestId: string;
25
25
  }) => JSX.Element;
26
26
  export declare const HelpContentButtonExternalNotificationIcon: ({ children, }: {
27
27
  children: React.ReactNode;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  interface NeedMoreHelpProps {
3
- onNeedMoreHelpClick?: () => void;
4
3
  label: string;
4
+ onNeedMoreHelpClick?: () => void;
5
5
  }
6
6
  export declare const NeedMoreHelp: React.FC<NeedMoreHelpProps>;
7
7
  export {};
@@ -8,12 +8,12 @@ import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
8
8
  import { type WrappedComponentProps } from 'react-intl-next';
9
9
  import { type ArticleItem } from '../../model/Article';
10
10
  export interface Props {
11
- style?: 'primary' | 'secondary';
12
- routeGroup?: string;
13
- routeName?: string;
14
11
  onGetRelatedArticles?(routeGroup?: string, routeName?: string): Promise<ArticleItem[]>;
15
12
  onRelatedArticlesListItemClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem) => void;
16
13
  onRelatedArticlesShowMoreClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent, isCollapsed: boolean) => void;
14
+ routeGroup?: string;
15
+ routeName?: string;
16
+ style?: 'primary' | 'secondary';
17
17
  }
18
18
  export declare const RelatedArticles: React.FC<Props & WrappedComponentProps>;
19
19
  declare const _default: React.ForwardRefExoticComponent<Omit<Props & WrappedComponentProps, "intl"> & {
@@ -7,8 +7,8 @@ export declare const RelatedArticlesTitle: ({ children }: {
7
7
  children: React.ReactNode;
8
8
  }) => JSX.Element;
9
9
  export declare const LoadingRelatedArticleList: ({ children, ...rest }: {
10
- children: React.ReactNode;
11
10
  [rest: string]: any;
11
+ children: React.ReactNode;
12
12
  }) => JSX.Element;
13
13
  export declare const LoadingRelatedArticleListItem: ({ children }: {
14
14
  children: React.ReactNode;
@@ -2,8 +2,8 @@ import React from 'react';
2
2
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { type WrappedComponentProps } from 'react-intl-next';
4
4
  export interface Props {
5
- searchExternalUrl?: string;
6
5
  onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
6
+ searchExternalUrl?: string;
7
7
  }
8
8
  export declare const SearchExternalSite: React.FC<Props & WrappedComponentProps>;
9
9
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
@@ -2,8 +2,8 @@ import React from 'react';
2
2
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { type ArticleItem } from '../../../model/Article';
4
4
  export interface Props {
5
- searchResult?: ArticleItem[] | null;
6
5
  onSearchResultItemClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem): void;
6
+ searchResult?: ArticleItem[] | null;
7
7
  }
8
8
  export declare const SearchResults: React.FC<Props>;
9
9
  export default SearchResults;
@@ -2,8 +2,8 @@ import React from 'react';
2
2
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { type WrappedComponentProps } from 'react-intl-next';
4
4
  export interface Props {
5
- searchExternalUrl?: string;
6
5
  onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
6
+ searchExternalUrl?: string;
7
7
  }
8
8
  export declare const SearchResultsEmpty: React.FC<Props & WrappedComponentProps>;
9
9
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
@@ -3,11 +3,11 @@ import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { type WrappedComponentProps } from 'react-intl-next';
4
4
  export interface Props {
5
5
  itemsType?: string;
6
- minItemsToDisplay: number;
7
- maxItemsToDisplay: number;
8
- showMoreToggeled: boolean;
9
6
  loading?: boolean;
7
+ maxItemsToDisplay: number;
8
+ minItemsToDisplay: number;
10
9
  onToggle: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
10
+ showMoreToggeled: boolean;
11
11
  }
12
12
  export declare const ShowMoreButton: React.FC<Props & WrappedComponentProps>;
13
13
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
@@ -3,8 +3,8 @@ interface TabsProps {
3
3
  activeTab: number;
4
4
  onTabClick: (index: number) => void;
5
5
  tabs: {
6
- label: string;
7
6
  icon: ReactNode;
7
+ label: string;
8
8
  }[];
9
9
  }
10
10
  declare const Tabs: React.FC<TabsProps>;
@@ -10,7 +10,7 @@ export declare const TabLabels: ({ children }: {
10
10
  children: React.ReactNode;
11
11
  }) => JSX.Element;
12
12
  export declare const TabLabel: ({ isActive, onClick, children, }: {
13
+ children: React.ReactNode;
13
14
  isActive: boolean;
14
15
  onClick: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
15
- children: React.ReactNode;
16
16
  }) => JSX.Element;
@@ -3,8 +3,8 @@ import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { type WrappedComponentProps } from 'react-intl-next';
4
4
  import { type WhatsNewArticleItem } from '../../../../../model/WhatsNew';
5
5
  interface Props {
6
- styles?: {};
7
6
  onClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
7
+ styles?: {};
8
8
  }
9
9
  export declare const WhatsNewResultListItem: React.FC<Props & Partial<WhatsNewArticleItem> & WrappedComponentProps>;
10
10
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & Partial<WhatsNewArticleItem> & WrappedComponentProps>> & {
@@ -4,9 +4,9 @@
4
4
  */
5
5
  import React from 'react';
6
6
  export declare const WhatsNewResultListItemWrapper: ({ styles, children, ...rest }: {
7
+ [rest: string]: any;
7
8
  children: React.ReactNode;
8
9
  styles?: React.CSSProperties;
9
- [rest: string]: any;
10
10
  }) => JSX.Element;
11
11
  export declare const WhatsNewResultListItemTitleContainer: ({ children, }: {
12
12
  children: React.ReactNode;
@@ -1,11 +1,11 @@
1
1
  import { type WhatsNewArticleItem } from '../../../../../model/WhatsNew';
2
2
  import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
3
3
  export interface WhatsNewResultsList {
4
- style?: 'primary' | 'secondary';
5
- whatsNewArticles?: WhatsNewArticleItem[] | null;
6
- nextPage?: string;
7
4
  hasNextPage?: boolean;
8
5
  loadingMore?: boolean;
9
- onWhatsNewResultItemClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: WhatsNewArticleItem) => void;
6
+ nextPage?: string;
10
7
  onShowMoreButtonClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
8
+ onWhatsNewResultItemClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: WhatsNewArticleItem) => void;
9
+ style?: 'primary' | 'secondary';
10
+ whatsNewArticles?: WhatsNewArticleItem[] | null;
11
11
  }
@@ -7,8 +7,8 @@ export declare const WhatsNewResultsListContainer: ({ children }: {
7
7
  children: React.ReactNode;
8
8
  }) => JSX.Element;
9
9
  export declare const WhatsNewResultsListGroupWrapper: ({ key, children, }: {
10
- key: string | number;
11
10
  children: React.ReactNode;
11
+ key: string | number;
12
12
  }) => JSX.Element;
13
13
  export declare const WhatsNewResultsListGroupTitle: ({ children }: {
14
14
  children: React.ReactNode;
@@ -4,8 +4,8 @@
4
4
  */
5
5
  import React from 'react';
6
6
  export declare const LoadingWhatsNewResultsList: ({ children, ...rest }: {
7
- children: React.ReactNode;
8
7
  [rest: string]: any;
8
+ children: React.ReactNode;
9
9
  }) => JSX.Element;
10
10
  export declare const LoadingWhatsNewResultsListItem: ({ children }: {
11
11
  children: React.ReactNode;
@@ -2,8 +2,8 @@ import React, { type PropsWithChildren } from 'react';
2
2
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  export interface AiContextInterface {
4
4
  isAiEnabled?: boolean;
5
- onSearchTabClicked?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
6
5
  onAiTabClicked?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
6
+ onSearchTabClicked?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
7
7
  }
8
8
  export declare const useAiContext: () => AiContextInterface, CtxProvider: React.Provider<AiContextInterface | undefined>;
9
9
  export declare const AiContextProvider: ({ isAiEnabled, onSearchTabClicked, onAiTabClicked, children, }: PropsWithChildren<AiContextInterface>) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
2
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  interface HeaderSharedInterface {
4
- onCloseButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
5
4
  onBackButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
5
+ onCloseButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
6
6
  }
7
7
  export declare const useHeaderContext: () => HeaderSharedInterface, CtxProvider: React.Provider<HeaderSharedInterface | undefined>;
8
8
  export declare const HeaderContextProvider: ({ onCloseButtonClick, onBackButtonClick, children, }: PropsWithChildren<HeaderSharedInterface>) => React.JSX.Element;
@@ -5,9 +5,9 @@ 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;
8
- onWasHelpfulYesButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, ArticleItem: ArticleItem): void;
9
8
  onWasHelpfulNoButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, ArticleItem: ArticleItem): void;
10
9
  onWasHelpfulSubmit?(analyticsEvent: UIAnalyticsEvent, articleFeedback: ArticleFeedback, articleData: ArticleItem): Promise<boolean>;
10
+ onWasHelpfulYesButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, ArticleItem: ArticleItem): void;
11
11
  }
12
12
  export declare const useHelpArticleContext: () => HelpArticleContextInterface, CtxProvider: React.Provider<HelpArticleContextInterface | undefined>;
13
13
  export declare const HelpArticleContextProvider: ({ onGetHelpArticle, onHelpArticleLoadingFailTryAgainButtonClick, onWasHelpfulYesButtonClick, onWasHelpfulNoButtonClick, onWasHelpfulSubmit, children, }: PropsWithChildren<HelpArticleContextInterface>) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
2
  import type { Props as HelpContentButtonProps } from '../HelpContentButton';
3
3
  export interface HomeContextInterface {
4
- homeOptions?: HelpContentButtonProps[];
5
4
  homeContent?: React.ReactNode;
5
+ homeOptions?: HelpContentButtonProps[];
6
6
  }
7
7
  export declare const useHomeContext: () => HomeContextInterface, CtxProvider: React.Provider<HomeContextInterface | undefined>;
8
8
  export declare const HomeContextProvider: ({ homeOptions, homeContent, children, }: PropsWithChildren<HomeContextInterface>) => React.JSX.Element;
@@ -17,19 +17,19 @@ type NavigationProviderInterface = PropsWithChildren<{
17
17
  }>;
18
18
  interface NavigationContextInterface {
19
19
  articleId?: articleId;
20
+ canNavigateBack: boolean;
21
+ getCurrentArticle(): HistoryItem | undefined;
22
+ getCurrentArticleItemData(): ArticleItem | WhatsNewArticleItem | undefined;
20
23
  history?: HistoryItem[];
21
24
  historySetter?(history: HistoryItem[]): void;
22
- view: ViewType;
23
- openArticle(id: articleId): void;
24
- canNavigateBack: boolean;
25
+ isOverlayVisible: boolean;
25
26
  navigateBack?(): void;
27
+ onClose?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
26
28
  onGetArticle?(id: articleId): Promise<Article | WhatsNewArticle>;
27
- getCurrentArticle(): HistoryItem | undefined;
28
- getCurrentArticleItemData(): ArticleItem | WhatsNewArticleItem | undefined;
29
+ openArticle(id: articleId): void;
29
30
  reloadHelpArticle?(historyItem: HistoryItem): void;
30
31
  reloadWhatsNewArticle?(historyItem: HistoryItem): void;
31
- isOverlayVisible: boolean;
32
- onClose?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
32
+ view: ViewType;
33
33
  }
34
34
  export declare const useNavigationContext: () => NavigationContextInterface, CtxProvider: React.Provider<NavigationContextInterface | undefined>;
35
35
  export declare const NavigationContextProvider: ({ navigationData, setNavigationData, children, }: NavigationProviderInterface) => React.JSX.Element;
@@ -2,11 +2,11 @@ import React, { type PropsWithChildren } from 'react';
2
2
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { type ArticleItem } from '../../model/Article';
4
4
  export interface RelatedArticlesContextInterface {
5
- routeGroup?: string;
6
- routeName?: string;
7
5
  onGetRelatedArticles?(routeGroup?: string, routeName?: string): Promise<ArticleItem[]>;
8
- onRelatedArticlesShowMoreClick?(event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent, isCollapsed: boolean): void;
9
6
  onRelatedArticlesListItemClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem) => void;
7
+ onRelatedArticlesShowMoreClick?(event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent, isCollapsed: boolean): void;
8
+ routeGroup?: string;
9
+ routeName?: string;
10
10
  }
11
11
  export declare const useRelatedArticlesContext: () => RelatedArticlesContextInterface, CtxProvider: React.Provider<RelatedArticlesContextInterface | undefined>;
12
12
  export declare const RelatedArticlesContextProvider: ({ routeGroup, routeName, onGetRelatedArticles, onRelatedArticlesShowMoreClick, onRelatedArticlesListItemClick, children, }: PropsWithChildren<RelatedArticlesContextInterface>) => React.JSX.Element;
@@ -3,17 +3,17 @@ import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import { type ArticleItem } from '../../model/Article';
4
4
  import { REQUEST_STATE } from '../../model/Requests';
5
5
  interface SearchSharedInterface {
6
+ onSearchExternalUrlClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
6
7
  onSearchInputChanged?(event: React.KeyboardEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent, value: string): void;
7
8
  onSearchInputCleared?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
8
- onSearchExternalUrlClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
9
- searchExternalUrl?: string;
10
9
  openExternalSearchUrlInNewTab?: boolean;
10
+ searchExternalUrl?: string;
11
11
  searchOnEnterKeyPress?: boolean;
12
12
  }
13
13
  export interface SearchContextInterface extends SearchSharedInterface {
14
+ isSearchResultVisible: boolean;
14
15
  onSearch?(value?: string): void;
15
16
  onSearchResultItemClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem): void;
16
- isSearchResultVisible: boolean;
17
17
  searchResult: ArticleItem[] | null;
18
18
  searchState: REQUEST_STATE;
19
19
  searchValue: string;
@@ -6,17 +6,17 @@ import { REQUEST_STATE } from '../../model/Requests';
6
6
  import { type articleId } from '../../model/Help';
7
7
  import { type WHATS_NEW_ITEM_TYPES } from '../../model/WhatsNew';
8
8
  interface WhatsNewArticleSharedInterface {
9
- whatsNewGetNotificationProvider?: Promise<NotificationLogProvider>;
10
- productName?: string;
9
+ onGetWhatsNewArticle?(id: articleId): Promise<WhatsNewArticle>;
10
+ onSearchWhatsNewArticlesShowMoreClick?(event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent): void;
11
11
  onWhatsNewButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
12
12
  onWhatsNewResultItemClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, whatsNewArticleData: WhatsNewArticleItem): void;
13
- onSearchWhatsNewArticlesShowMoreClick?(event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent): void;
14
- onGetWhatsNewArticle?(id: articleId): Promise<WhatsNewArticle>;
13
+ productName?: string;
14
+ whatsNewGetNotificationProvider?: Promise<NotificationLogProvider>;
15
15
  }
16
16
  interface WhatsNewArticleContextInterface extends WhatsNewArticleSharedInterface {
17
17
  onSearchWhatsNewArticles?(filter?: WHATS_NEW_ITEM_TYPES | '', numberOfItems?: number, page?: string): Promise<void>;
18
- searchWhatsNewArticlesState: REQUEST_STATE;
19
18
  searchWhatsNewArticlesResult: whatsNewSearchResult | null;
19
+ searchWhatsNewArticlesState: REQUEST_STATE;
20
20
  }
21
21
  interface WhatsNewArticleProviderInterface extends WhatsNewArticleSharedInterface {
22
22
  onSearchWhatsNewArticles?(filter?: WHATS_NEW_ITEM_TYPES | '', numberOfItems?: number, page?: string): Promise<whatsNewSearchResult>;
@@ -14,20 +14,20 @@ export declare const HelpBodyAi: ({ children }: {
14
14
  children: React.ReactNode;
15
15
  }) => JSX.Element;
16
16
  type HomeProps = {
17
+ children: React.ReactNode;
17
18
  isOverlayFullyVisible?: boolean;
18
19
  isOverlayVisible?: boolean;
19
- children: React.ReactNode;
20
20
  };
21
21
  export declare const Home: ({ isOverlayFullyVisible, isOverlayVisible, children }: HomeProps) => JSX.Element;
22
22
  export declare const HomeAi: ({ isOverlayFullyVisible, isOverlayVisible, children }: HomeProps) => JSX.Element;
23
23
  export declare const HelpFooter: ({ children, ...rest }: {
24
- children: React.ReactNode;
25
24
  [rest: string]: any;
25
+ children: React.ReactNode;
26
26
  }) => JSX.Element;
27
27
  export declare const BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS = 220;
28
28
  export declare const BackButtonContainer: ({ transitionState, children, }: {
29
- transitionState: TransitionStatus;
30
29
  children: React.ReactNode;
30
+ transitionState: TransitionStatus;
31
31
  }) => JSX.Element;
32
32
  export declare const StyledUl: ({ children }: {
33
33
  children: React.ReactNode;
@@ -9,28 +9,28 @@ export declare enum ARTICLE_ITEM_TYPES {
9
9
  topicInProduct = "topicInProduct"
10
10
  }
11
11
  export interface ArticleItem {
12
+ contentAri?: string;
12
13
  description?: string;
14
+ href?: string;
13
15
  id: string;
14
16
  lastPublished: string;
15
- title: string;
16
- type: ARTICLE_ITEM_TYPES;
17
+ productName?: string;
17
18
  routes?: {
18
- routeName: string;
19
19
  routeGroup: string;
20
+ routeName: string;
20
21
  }[];
22
+ source?: string;
23
+ title: string;
21
24
  topicId?: string;
22
- productName?: string;
23
- href?: string;
24
25
  trustFactors?: {
25
- numViews?: number;
26
26
  helpfulCount?: number;
27
+ numViews?: number;
27
28
  };
28
- source?: string;
29
- contentAri?: string;
29
+ type: ARTICLE_ITEM_TYPES;
30
30
  }
31
31
  export interface ArticleFeedback {
32
- wasHelpful: boolean;
32
+ contactMe: boolean;
33
33
  feedbackReason: string;
34
34
  feedbackReasonText: string;
35
- contactMe: boolean;
35
+ wasHelpful: boolean;
36
36
  }
@@ -9,17 +9,17 @@ export declare enum ARTICLE_TYPE {
9
9
  WHATS_NEW = "WHATS_NEW"
10
10
  }
11
11
  export interface HistoryItem {
12
- uid: number;
12
+ article?: Article | WhatsNewArticle;
13
+ contentAri?: string;
13
14
  id: string;
14
15
  state: REQUEST_STATE;
15
16
  type: ARTICLE_TYPE;
16
- article?: Article | WhatsNewArticle;
17
- contentAri?: string;
17
+ uid: number;
18
18
  }
19
19
  export interface articleId {
20
+ contentAri?: string;
20
21
  id: string;
21
22
  type: ARTICLE_TYPE;
22
- contentAri?: string;
23
23
  }
24
24
  export interface Help {
25
25
  ai?: {
@@ -27,24 +27,22 @@ export interface Help {
27
27
  onAiTabClicked?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
28
28
  onSearchTabClicked?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
29
29
  };
30
+ children?: React.ReactNode;
31
+ footer?: React.ReactNode;
30
32
  header?: {
31
- onCloseButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
32
33
  onBackButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
34
+ onCloseButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
35
+ };
36
+ helpArticle?: {
37
+ onGetHelpArticle?(articleId: articleId): Promise<Article>;
38
+ onHelpArticleLoadingFailTryAgainButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleId: articleId): void;
39
+ onWasHelpfulNoButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, ArticleItem: ArticleItem): void;
40
+ onWasHelpfulSubmit?(analyticsEvent: UIAnalyticsEvent, articleFeedback: ArticleFeedback, articleData: ArticleItem): Promise<boolean>;
41
+ onWasHelpfulYesButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, ArticleItem: ArticleItem): void;
33
42
  };
34
- footer?: React.ReactNode;
35
43
  home?: {
36
44
  homeOptions?: HelpContentButtonProps[];
37
45
  };
38
- search?: {
39
- onSearch?(value: string): Promise<ArticleItem[]>;
40
- onSearchInputChanged?(event: React.KeyboardEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent, value: string): void;
41
- onSearchInputCleared?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
42
- onSearchResultItemClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem): void;
43
- onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
44
- searchExternalUrl?: string;
45
- openExternalSearchUrlInNewTab?: boolean;
46
- searchOnEnterKeyPress?: boolean;
47
- };
48
46
  navigation?: {
49
47
  navigationData?: {
50
48
  articleId: articleId;
@@ -55,28 +53,30 @@ export interface Help {
55
53
  history?: HistoryItem[];
56
54
  }): void;
57
55
  };
58
- helpArticle?: {
59
- onGetHelpArticle?(articleId: articleId): Promise<Article>;
60
- onHelpArticleLoadingFailTryAgainButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleId: articleId): void;
61
- onWasHelpfulSubmit?(analyticsEvent: UIAnalyticsEvent, articleFeedback: ArticleFeedback, articleData: ArticleItem): Promise<boolean>;
62
- onWasHelpfulYesButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, ArticleItem: ArticleItem): void;
63
- onWasHelpfulNoButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, ArticleItem: ArticleItem): void;
64
- };
65
56
  relatedArticles?: {
66
- routeGroup?: string;
67
- routeName?: string;
68
57
  onGetRelatedArticles?(routeGroup?: string, routeName?: string): Promise<ArticleItem[]>;
69
- onRelatedArticlesShowMoreClick?(event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent, isCollapsed: boolean): void;
70
58
  onRelatedArticlesListItemClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem) => void;
59
+ onRelatedArticlesShowMoreClick?(event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent, isCollapsed: boolean): void;
60
+ routeGroup?: string;
61
+ routeName?: string;
62
+ };
63
+ search?: {
64
+ onSearch?(value: string): Promise<ArticleItem[]>;
65
+ onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
66
+ onSearchInputChanged?(event: React.KeyboardEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent, value: string): void;
67
+ onSearchInputCleared?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
68
+ onSearchResultItemClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem): void;
69
+ openExternalSearchUrlInNewTab?: boolean;
70
+ searchExternalUrl?: string;
71
+ searchOnEnterKeyPress?: boolean;
71
72
  };
72
73
  whatsNew?: {
73
- whatsNewGetNotificationProvider?: Promise<NotificationLogProvider>;
74
- productName?: string;
75
- onWhatsNewButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
74
+ onGetWhatsNewArticle?(id: articleId): Promise<WhatsNewArticle>;
76
75
  onSearchWhatsNewArticles?(filter?: WHATS_NEW_ITEM_TYPES | '', numberOfItems?: number, page?: string): Promise<whatsNewSearchResult>;
77
- onWhatsNewResultItemClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, whatsNewArticleData: WhatsNewArticleItem): void;
78
76
  onSearchWhatsNewShowMoreClick?(event: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent): void;
79
- onGetWhatsNewArticle?(id: articleId): Promise<WhatsNewArticle>;
77
+ onWhatsNewButtonClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
78
+ onWhatsNewResultItemClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, whatsNewArticleData: WhatsNewArticleItem): void;
79
+ productName?: string;
80
+ whatsNewGetNotificationProvider?: Promise<NotificationLogProvider>;
80
81
  };
81
- children?: React.ReactNode;
82
82
  }
@@ -8,22 +8,22 @@ export declare enum WHATS_NEW_ITEM_TYPES {
8
8
  EXPERIMENT = "Experiment"
9
9
  }
10
10
  export interface WhatsNewArticle extends WhatsNewArticleItem {
11
- description: string | AdfDoc;
12
11
  bodyFormat?: BODY_FORMAT_TYPES;
12
+ description: string | AdfDoc;
13
13
  }
14
14
  export interface WhatsNewArticleItem {
15
- title?: string;
16
15
  changeTargetSchedule?: string;
17
- type?: WHATS_NEW_ITEM_TYPES;
18
- status?: string;
19
- featureRolloutDate?: string;
20
- relatedExternalLinks?: string;
21
16
  communityUrl?: string;
17
+ featureRolloutDate?: string;
22
18
  href?: string;
23
19
  id: string;
20
+ relatedExternalLinks?: string;
21
+ status?: string;
22
+ title?: string;
23
+ type?: WHATS_NEW_ITEM_TYPES;
24
24
  }
25
25
  export interface whatsNewSearchResult {
26
26
  articles: WhatsNewArticleItem[];
27
- nextPage: string;
28
27
  hasNextPage: boolean;
28
+ nextPage: string;
29
29
  }
@@ -11,15 +11,15 @@ export declare const DividerLine: ({ style }: {
11
11
  * Loading container
12
12
  */
13
13
  type LoadingRectangleProps = {
14
- style?: React.CSSProperties;
15
- contentWidth?: string;
16
14
  contentHeight?: string;
15
+ contentWidth?: string;
17
16
  marginTop?: string;
17
+ style?: React.CSSProperties;
18
18
  };
19
19
  export declare const LoadingRectangle: ({ style, contentHeight, contentWidth, marginTop, }: LoadingRectangleProps) => JSX.Element;
20
20
  type WhatsNewTypeIconProps = {
21
- type?: WHATS_NEW_ITEM_TYPES;
22
21
  children?: React.ReactNode;
22
+ type?: WHATS_NEW_ITEM_TYPES;
23
23
  };
24
24
  export declare const WhatsNewTypeIcon: ({ type, children }: WhatsNewTypeIconProps) => JSX.Element;
25
25
  export {};