@atlaskit/help 7.14.7 → 7.14.8
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 +6 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/BackButton/index.js +1 -1
- package/dist/cjs/components/HelpContent.js +9 -2
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/NeedMoreHelp/index.js +37 -0
- package/dist/cjs/components/NeedMoreHelp/styled.js +49 -0
- package/dist/cjs/components/RelatedArticles/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/index.js +2 -2
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +55 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +18 -1
- package/dist/cjs/messages.js +10 -0
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/BackButton/index.js +1 -1
- package/dist/es2019/components/HelpContent.js +9 -2
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/NeedMoreHelp/index.js +33 -0
- package/dist/es2019/components/NeedMoreHelp/styled.js +41 -0
- package/dist/es2019/components/RelatedArticles/index.js +1 -1
- package/dist/es2019/components/Search/SearchInput/index.js +2 -2
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +62 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +17 -0
- package/dist/es2019/messages.js +10 -0
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/BackButton/index.js +1 -1
- package/dist/esm/components/HelpContent.js +9 -2
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/NeedMoreHelp/index.js +30 -0
- package/dist/esm/components/NeedMoreHelp/styled.js +41 -0
- package/dist/esm/components/RelatedArticles/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/index.js +2 -2
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +56 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +17 -0
- package/dist/esm/messages.js +10 -0
- package/dist/types/components/NeedMoreHelp/index.d.ts +7 -0
- package/dist/types/components/NeedMoreHelp/styled.d.ts +17 -0
- package/dist/types/components/WhatsNew/WhatsNewResults/styled.d.ts +4 -0
- package/dist/types/messages.d.ts +10 -0
- package/dist/types-ts4.5/components/NeedMoreHelp/index.d.ts +7 -0
- package/dist/types-ts4.5/components/NeedMoreHelp/styled.d.ts +17 -0
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/styled.d.ts +4 -0
- package/dist/types-ts4.5/messages.d.ts +10 -0
- package/package.json +3 -3
|
@@ -21,7 +21,7 @@ import { Text } from '@atlaskit/primitives';
|
|
|
21
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
22
22
|
import { css, jsx } from '@emotion/react';
|
|
23
23
|
const packageName = "@atlaskit/help";
|
|
24
|
-
const packageVersion = "7.14.
|
|
24
|
+
const packageVersion = "7.14.8";
|
|
25
25
|
const buttonStyles = css({
|
|
26
26
|
padding: '0',
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -23,7 +23,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
|
|
|
23
23
|
const ANALYTICS_CONTEXT_DATA = {
|
|
24
24
|
componentName: 'searchInput',
|
|
25
25
|
packageName: "@atlaskit/help",
|
|
26
|
-
packageVersion: "7.14.
|
|
26
|
+
packageVersion: "7.14.8"
|
|
27
27
|
};
|
|
28
28
|
const buttonStyles = css({
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -88,7 +88,7 @@ export const SearchInput = ({
|
|
|
88
88
|
if (inputRef && inputRef.current) {
|
|
89
89
|
inputRef.current.value = searchValue;
|
|
90
90
|
}
|
|
91
|
-
if (view === VIEW.ARTICLE || view === VIEW.WHATS_NEW_ARTICLE) {
|
|
91
|
+
if (view === VIEW.ARTICLE || view === VIEW.WHATS_NEW_ARTICLE || view === VIEW.WHATS_NEW) {
|
|
92
92
|
return null;
|
|
93
93
|
}
|
|
94
94
|
return isAiEnabled ? jsx(SearchInputContainerAi, null, jsx(Textfield, {
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
const ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.14.
|
|
14
|
+
packageVersion: "7.14.8"
|
|
15
15
|
};
|
|
16
16
|
export const WhatsNewButton = ({
|
|
17
17
|
productName,
|
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.14.
|
|
11
|
+
packageVersion: "7.14.8"
|
|
12
12
|
};
|
|
13
13
|
export const WhatsNewResultListItem = ({
|
|
14
14
|
intl: {
|
|
@@ -10,11 +10,12 @@ import { REQUEST_STATE } from '../../../model/Requests';
|
|
|
10
10
|
import { FADEIN_OVERLAY_TRANSITION_DURATION_MS, NUMBER_OF_WHATS_NEW_ITEMS_PER_PAGE } from '../../constants';
|
|
11
11
|
import { useWhatsNewArticleContext } from '../../contexts/whatsNewArticleContext';
|
|
12
12
|
import { useNavigationContext } from '../../contexts/navigationContext';
|
|
13
|
+
import { useAiContext } from '../../contexts/aiAgentContext';
|
|
13
14
|
import WhatsNewResultsEmpty from './WhatsNewResultsEmpty';
|
|
14
15
|
import WhatsNewResultsError from './WhatsNewResultsError';
|
|
15
16
|
import WhatsNewResultsLoading from './WhatsNewResultsLoading';
|
|
16
17
|
import WhatsNewResultsList from './WhatsNewResultsList';
|
|
17
|
-
import { WhatsNewResultsContainer, SelectContainer, WhatsNewResultsListContainer } from './styled';
|
|
18
|
+
import { WhatsNewResultsContainer, SelectContainer, WhatsNewResultsListContainer, WhatsNewResultsContainerAi } from './styled';
|
|
18
19
|
const defaultStyle = {
|
|
19
20
|
transition: `opacity ${FADEIN_OVERLAY_TRANSITION_DURATION_MS}ms`,
|
|
20
21
|
opacity: 0,
|
|
@@ -46,6 +47,9 @@ export const WhatsNewResults = ({
|
|
|
46
47
|
const {
|
|
47
48
|
view: helpContextView
|
|
48
49
|
} = useNavigationContext();
|
|
50
|
+
const {
|
|
51
|
+
isAiEnabled
|
|
52
|
+
} = useAiContext();
|
|
49
53
|
const {
|
|
50
54
|
searchWhatsNewArticlesResult,
|
|
51
55
|
onSearchWhatsNewArticles,
|
|
@@ -107,7 +111,63 @@ export const WhatsNewResults = ({
|
|
|
107
111
|
timeout: FADEIN_OVERLAY_TRANSITION_DURATION_MS,
|
|
108
112
|
onEnter: handleOnEnter,
|
|
109
113
|
onExit: handleOnExit
|
|
110
|
-
}, state => /*#__PURE__*/React.createElement(
|
|
114
|
+
}, state => isAiEnabled ? /*#__PURE__*/React.createElement(WhatsNewResultsContainerAi, {
|
|
115
|
+
ref: containerRef,
|
|
116
|
+
style: {
|
|
117
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
118
|
+
...defaultStyle,
|
|
119
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
120
|
+
...transitionStyles[state]
|
|
121
|
+
}
|
|
122
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, searchWhatsNewArticlesState === REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/React.createElement(WhatsNewResultsLoading, null), (searchWhatsNewArticlesState === REQUEST_STATE.done || searchWhatsNewArticlesState === REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(Select, {
|
|
123
|
+
defaultValue: selectedOption
|
|
124
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
125
|
+
,
|
|
126
|
+
className: "single-select",
|
|
127
|
+
classNamePrefix: "react-select",
|
|
128
|
+
options: [{
|
|
129
|
+
value: '',
|
|
130
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_all)
|
|
131
|
+
}, {
|
|
132
|
+
value: WHATS_NEW_ITEM_TYPES.NEW_FEATURE,
|
|
133
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_new)
|
|
134
|
+
}, {
|
|
135
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_improvement),
|
|
136
|
+
value: WHATS_NEW_ITEM_TYPES.IMPROVEMENT
|
|
137
|
+
}, {
|
|
138
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_fix),
|
|
139
|
+
value: WHATS_NEW_ITEM_TYPES.FIX
|
|
140
|
+
}, {
|
|
141
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_removed),
|
|
142
|
+
value: WHATS_NEW_ITEM_TYPES.REMOVED
|
|
143
|
+
}, {
|
|
144
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_experiment),
|
|
145
|
+
value: WHATS_NEW_ITEM_TYPES.EXPERIMENT
|
|
146
|
+
}],
|
|
147
|
+
value: selectedOption,
|
|
148
|
+
onChange: option => {
|
|
149
|
+
if (onSearchWhatsNewArticles) {
|
|
150
|
+
const selectedOptionValue = option.value;
|
|
151
|
+
const selectedOptionLabel = option.label;
|
|
152
|
+
setSelectedOption({
|
|
153
|
+
value: selectedOptionValue,
|
|
154
|
+
label: selectedOptionLabel
|
|
155
|
+
});
|
|
156
|
+
onSearchWhatsNewArticles(selectedOptionValue, NUMBER_OF_WHATS_NEW_ITEMS_PER_PAGE, '');
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
})), /*#__PURE__*/React.createElement(WhatsNewResultsListContainer, null, searchWhatsNewArticlesResult.articles.length > 0 ? /*#__PURE__*/React.createElement(WhatsNewResultsList, {
|
|
160
|
+
whatsNewArticles: searchWhatsNewArticlesResult.articles,
|
|
161
|
+
onWhatsNewResultItemClick: onWhatsNewResultItemClick,
|
|
162
|
+
onShowMoreButtonClick: handleOnShowMoreButtonClick,
|
|
163
|
+
hasNextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.hasNextPage,
|
|
164
|
+
nextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.nextPage,
|
|
165
|
+
loadingMore: searchWhatsNewArticlesState === REQUEST_STATE.loading
|
|
166
|
+
}) : /*#__PURE__*/React.createElement(WhatsNewResultsEmpty, {
|
|
167
|
+
onClearFilter: handleOnClearFilter
|
|
168
|
+
}))), searchWhatsNewArticlesState === REQUEST_STATE.error && /*#__PURE__*/React.createElement(WhatsNewResultsError, {
|
|
169
|
+
onSearch: onSearchWhatsNewArticles
|
|
170
|
+
}))) : /*#__PURE__*/React.createElement(WhatsNewResultsContainer, {
|
|
111
171
|
ref: containerRef,
|
|
112
172
|
style: {
|
|
113
173
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
@@ -21,6 +21,23 @@ export const WhatsNewResultsContainer = styled.div({
|
|
|
21
21
|
padding: "var(--ds-space-200, 16px)"
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
|
+
export const WhatsNewResultsContainerAi = styled.div({
|
|
26
|
+
paddingBottom: "var(--ds-space-200, 16px)",
|
|
27
|
+
paddingLeft: "var(--ds-space-200, 16px)",
|
|
28
|
+
paddingRight: "var(--ds-space-200, 16px)",
|
|
29
|
+
position: 'absolute',
|
|
30
|
+
width: '100%',
|
|
31
|
+
top: "var(--ds-space-800, 60px)",
|
|
32
|
+
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
33
|
+
flex: 1,
|
|
34
|
+
flexDirection: 'column',
|
|
35
|
+
boxSizing: 'border-box',
|
|
36
|
+
overflowX: 'hidden',
|
|
37
|
+
overflowY: 'auto',
|
|
38
|
+
zIndex: 1
|
|
39
|
+
});
|
|
40
|
+
|
|
24
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
42
|
export const SelectContainer = styled.div({
|
|
26
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
package/dist/es2019/messages.js
CHANGED
|
@@ -274,5 +274,15 @@ export const messages = defineMessages({
|
|
|
274
274
|
id: 'help.search_tab.ai',
|
|
275
275
|
defaultMessage: 'Ask AI',
|
|
276
276
|
description: 'Ask AI tab text'
|
|
277
|
+
},
|
|
278
|
+
help_need_more_help_label: {
|
|
279
|
+
id: 'help.need_more_help.ai',
|
|
280
|
+
defaultMessage: 'Ask AI',
|
|
281
|
+
description: 'Ask AI label in need more help component'
|
|
282
|
+
},
|
|
283
|
+
help_need_more_help_text: {
|
|
284
|
+
id: 'help.need_more_help.text',
|
|
285
|
+
defaultMessage: 'Need more help?',
|
|
286
|
+
description: 'Need more help text'
|
|
277
287
|
}
|
|
278
288
|
});
|
package/dist/esm/analytics.js
CHANGED
|
@@ -10,7 +10,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer, LoadingErrorHeading }
|
|
|
10
10
|
var ANALYTICS_CONTEXT_DATA = {
|
|
11
11
|
componentName: 'ArticleLoadingFail',
|
|
12
12
|
packageName: "@atlaskit/help",
|
|
13
|
-
packageVersion: "7.14.
|
|
13
|
+
packageVersion: "7.14.8"
|
|
14
14
|
};
|
|
15
15
|
export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
16
16
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.14.
|
|
9
|
+
packageVersion: "7.14.8"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.14.
|
|
9
|
+
packageVersion: "7.14.8"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -31,7 +31,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
31
31
|
var ANALYTICS_CONTEXT_DATA = {
|
|
32
32
|
componentName: 'ArticleWasHelpfulForm',
|
|
33
33
|
packageName: "@atlaskit/help",
|
|
34
|
-
packageVersion: "7.14.
|
|
34
|
+
packageVersion: "7.14.8"
|
|
35
35
|
};
|
|
36
36
|
var buttonStyles = css({
|
|
37
37
|
padding: '0',
|
|
@@ -56,7 +56,7 @@ export var HelpArticle = function HelpArticle(_ref) {
|
|
|
56
56
|
analyticsEvent.payload.attributes = {
|
|
57
57
|
componentName: 'Article',
|
|
58
58
|
packageName: "@atlaskit/help",
|
|
59
|
-
packageVersion: "7.14.
|
|
59
|
+
packageVersion: "7.14.8"
|
|
60
60
|
};
|
|
61
61
|
if (onRelatedArticlesShowMoreClick) {
|
|
62
62
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
|
|
|
13
13
|
var analyticsContextData = {
|
|
14
14
|
componentName: 'ArticlesListItem',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.14.
|
|
16
|
+
packageVersion: "7.14.8"
|
|
17
17
|
};
|
|
18
18
|
export var WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
19
19
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.14.
|
|
11
|
+
packageVersion: "7.14.8"
|
|
12
12
|
};
|
|
13
13
|
var highlightText = function highlightText(text) {
|
|
14
14
|
if (!text) {
|
|
@@ -69,7 +69,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
69
69
|
data: {
|
|
70
70
|
componentName: 'backButton',
|
|
71
71
|
packageName: "@atlaskit/help",
|
|
72
|
-
packageVersion: "7.14.
|
|
72
|
+
packageVersion: "7.14.8"
|
|
73
73
|
}
|
|
74
74
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
75
75
|
};
|
|
@@ -16,6 +16,7 @@ import WhatsNewButton from './WhatsNew/WhatsNewButton';
|
|
|
16
16
|
import WhatsNewResults from './WhatsNew/WhatsNewResults';
|
|
17
17
|
import HelpContentButton from './HelpContentButton';
|
|
18
18
|
import BackButton from './BackButton';
|
|
19
|
+
import { NeedMoreHelp } from './NeedMoreHelp';
|
|
19
20
|
import { HelpBodyContainer, HelpBody, Home, HomeAi, HelpBodyAi } from './styled';
|
|
20
21
|
import { HelpFooter } from './styled';
|
|
21
22
|
import { Tabs } from './Tabs';
|
|
@@ -93,6 +94,9 @@ export var HelpContent = function HelpContent(_ref) {
|
|
|
93
94
|
label: formatMessage(messages.help_search_tab)
|
|
94
95
|
})
|
|
95
96
|
}];
|
|
97
|
+
var handleNeedMoreHelpClick = useCallback(function () {
|
|
98
|
+
setActiveTab(0);
|
|
99
|
+
}, []);
|
|
96
100
|
var HelpLayoutWithAi = /*#__PURE__*/React.createElement(HelpLayout, {
|
|
97
101
|
onCloseButtonClick: onClose,
|
|
98
102
|
isAiEnabled: isAiEnabled
|
|
@@ -100,7 +104,7 @@ export var HelpContent = function HelpContent(_ref) {
|
|
|
100
104
|
activeTab: activeTab,
|
|
101
105
|
onTabClick: handleTabClick,
|
|
102
106
|
tabs: tabs
|
|
103
|
-
}), activeTab === 0 && /*#__PURE__*/React.createElement("div", null, "ai agent here"), activeTab === 1 && /*#__PURE__*/React.createElement(HelpBodyContainer, null, /*#__PURE__*/React.createElement(HelpBodyAi, null, /*#__PURE__*/React.createElement(BackButton, {
|
|
107
|
+
}), activeTab === 0 && /*#__PURE__*/React.createElement("div", null, "ai agent here"), activeTab === 1 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(HelpBodyContainer, null, /*#__PURE__*/React.createElement(HelpBodyAi, null, /*#__PURE__*/React.createElement(BackButton, {
|
|
104
108
|
onClick: handleOnBackButtonClick,
|
|
105
109
|
isVisible: canNavigateBack
|
|
106
110
|
}), onSearch && /*#__PURE__*/React.createElement(SearchInput, {
|
|
@@ -118,7 +122,10 @@ export var HelpContent = function HelpContent(_ref) {
|
|
|
118
122
|
return /*#__PURE__*/React.createElement(HelpContentButton, _extends({
|
|
119
123
|
key: defaultOption.id
|
|
120
124
|
}, defaultOption));
|
|
121
|
-
}))), /*#__PURE__*/React.createElement(WhatsNewResults, null),
|
|
125
|
+
}))), /*#__PURE__*/React.createElement(WhatsNewResults, null)), /*#__PURE__*/React.createElement(NeedMoreHelp, {
|
|
126
|
+
label: formatMessage(messages.help_need_more_help_label),
|
|
127
|
+
onNeedMoreHelpClick: handleNeedMoreHelpClick
|
|
128
|
+
}), footer && /*#__PURE__*/React.createElement(HelpFooter, {
|
|
122
129
|
"data-testid": "inside-footer"
|
|
123
130
|
}, footer)));
|
|
124
131
|
var HelpLayoutWithoutAi = /*#__PURE__*/React.createElement(HelpLayout, {
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
var analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.14.
|
|
10
|
+
packageVersion: "7.14.8"
|
|
11
11
|
};
|
|
12
12
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
13
13
|
var _ref$id = _ref.id,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import LightbulbIcon from '@atlaskit/icon/core/migration/lightbulb';
|
|
3
|
+
import { Inline } from '@atlaskit/primitives';
|
|
4
|
+
import { useIntl } from 'react-intl-next';
|
|
5
|
+
import { NeedMoreHelpContainer, NeedMoreHelpContent, HelpAskAI } from './styled';
|
|
6
|
+
import { VIEW } from '../constants';
|
|
7
|
+
import { messages } from '../../messages';
|
|
8
|
+
import { useNavigationContext } from '../contexts/navigationContext';
|
|
9
|
+
export var NeedMoreHelp = function NeedMoreHelp(_ref) {
|
|
10
|
+
var onNeedMoreHelpClick = _ref.onNeedMoreHelpClick,
|
|
11
|
+
label = _ref.label;
|
|
12
|
+
var _useNavigationContext = useNavigationContext(),
|
|
13
|
+
view = _useNavigationContext.view;
|
|
14
|
+
var _useIntl = useIntl(),
|
|
15
|
+
formatMessage = _useIntl.formatMessage;
|
|
16
|
+
if (view === VIEW.ARTICLE || view === VIEW.WHATS_NEW_ARTICLE || view === VIEW.SEARCH || view === VIEW.WHATS_NEW) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
return /*#__PURE__*/React.createElement(NeedMoreHelpContainer, null, /*#__PURE__*/React.createElement(Inline, {
|
|
20
|
+
space: "space.050",
|
|
21
|
+
alignBlock: "center",
|
|
22
|
+
alignInline: "center"
|
|
23
|
+
}, /*#__PURE__*/React.createElement(LightbulbIcon, {
|
|
24
|
+
spacing: "none",
|
|
25
|
+
label: label,
|
|
26
|
+
LEGACY_size: "small"
|
|
27
|
+
}), /*#__PURE__*/React.createElement(NeedMoreHelpContent, null, formatMessage(messages.help_need_more_help_text)), /*#__PURE__*/React.createElement(HelpAskAI, {
|
|
28
|
+
onClick: onNeedMoreHelpClick
|
|
29
|
+
}, formatMessage(messages.help_need_more_help_label))));
|
|
30
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
|
+
import styled from '@emotion/styled';
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
|
+
export var NeedMoreHelpContainer = styled.div({
|
|
10
|
+
zIndex: 11,
|
|
11
|
+
alignSelf: 'center',
|
|
12
|
+
alignContent: 'center',
|
|
13
|
+
backgroundColor: "var(--ds-background-accent-yellow-subtlest, #FFF7D6)",
|
|
14
|
+
width: '187px',
|
|
15
|
+
height: "var(--ds-space-500, 42px)",
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
17
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 0px 0px 1px var(--shadow-overlay-third,rgba(188,214,240,0.00)) inset)",
|
|
18
|
+
filter: 'drop-shadow(0px 8px 12px var(--shadow-overlay-second, rgba(9,30,66,0.15))) drop-shadow(0px 0px 1px rgba(9,30,66,0.31))'
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
|
+
export var NeedMoreHelpContent = styled.p({
|
|
23
|
+
color: "var(--ds-text, #172B4D)",
|
|
24
|
+
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
25
|
+
display: 'inline-block',
|
|
26
|
+
alignSelf: 'center',
|
|
27
|
+
margin: 0
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
|
+
export var HelpAskAI = styled.p({
|
|
32
|
+
color: "var(--ds-text-selected, #0C66E4)",
|
|
33
|
+
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
34
|
+
display: 'inline-block',
|
|
35
|
+
alignSelf: 'center',
|
|
36
|
+
margin: 0,
|
|
37
|
+
cursor: 'pointer',
|
|
38
|
+
'&:hover': {
|
|
39
|
+
textDecoration: 'underline'
|
|
40
|
+
}
|
|
41
|
+
});
|
|
@@ -24,7 +24,7 @@ import { Text } from '@atlaskit/primitives';
|
|
|
24
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
import { css, jsx } from '@emotion/react';
|
|
26
26
|
var packageName = "@atlaskit/help";
|
|
27
|
-
var packageVersion = "7.14.
|
|
27
|
+
var packageVersion = "7.14.8";
|
|
28
28
|
var buttonStyles = css({
|
|
29
29
|
padding: '0',
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -23,7 +23,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
|
|
|
23
23
|
var ANALYTICS_CONTEXT_DATA = {
|
|
24
24
|
componentName: 'searchInput',
|
|
25
25
|
packageName: "@atlaskit/help",
|
|
26
|
-
packageVersion: "7.14.
|
|
26
|
+
packageVersion: "7.14.8"
|
|
27
27
|
};
|
|
28
28
|
var buttonStyles = css({
|
|
29
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -83,7 +83,7 @@ export var SearchInput = function SearchInput(_ref) {
|
|
|
83
83
|
if (inputRef && inputRef.current) {
|
|
84
84
|
inputRef.current.value = searchValue;
|
|
85
85
|
}
|
|
86
|
-
if (view === VIEW.ARTICLE || view === VIEW.WHATS_NEW_ARTICLE) {
|
|
86
|
+
if (view === VIEW.ARTICLE || view === VIEW.WHATS_NEW_ARTICLE || view === VIEW.WHATS_NEW) {
|
|
87
87
|
return null;
|
|
88
88
|
}
|
|
89
89
|
return isAiEnabled ? jsx(SearchInputContainerAi, null, jsx(Textfield, {
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
var ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.14.
|
|
14
|
+
packageVersion: "7.14.8"
|
|
15
15
|
};
|
|
16
16
|
export var WhatsNewButton = function WhatsNewButton(_ref) {
|
|
17
17
|
var productName = _ref.productName,
|
package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.14.
|
|
11
|
+
packageVersion: "7.14.8"
|
|
12
12
|
};
|
|
13
13
|
export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -14,11 +14,12 @@ import { REQUEST_STATE } from '../../../model/Requests';
|
|
|
14
14
|
import { FADEIN_OVERLAY_TRANSITION_DURATION_MS, NUMBER_OF_WHATS_NEW_ITEMS_PER_PAGE } from '../../constants';
|
|
15
15
|
import { useWhatsNewArticleContext } from '../../contexts/whatsNewArticleContext';
|
|
16
16
|
import { useNavigationContext } from '../../contexts/navigationContext';
|
|
17
|
+
import { useAiContext } from '../../contexts/aiAgentContext';
|
|
17
18
|
import WhatsNewResultsEmpty from './WhatsNewResultsEmpty';
|
|
18
19
|
import WhatsNewResultsError from './WhatsNewResultsError';
|
|
19
20
|
import WhatsNewResultsLoading from './WhatsNewResultsLoading';
|
|
20
21
|
import WhatsNewResultsList from './WhatsNewResultsList';
|
|
21
|
-
import { WhatsNewResultsContainer, SelectContainer, WhatsNewResultsListContainer } from './styled';
|
|
22
|
+
import { WhatsNewResultsContainer, SelectContainer, WhatsNewResultsListContainer, WhatsNewResultsContainerAi } from './styled';
|
|
22
23
|
var defaultStyle = {
|
|
23
24
|
transition: "opacity ".concat(FADEIN_OVERLAY_TRANSITION_DURATION_MS, "ms"),
|
|
24
25
|
opacity: 0,
|
|
@@ -46,6 +47,8 @@ export var WhatsNewResults = function WhatsNewResults(_ref) {
|
|
|
46
47
|
var formatMessage = _ref.intl.formatMessage;
|
|
47
48
|
var _useNavigationContext = useNavigationContext(),
|
|
48
49
|
helpContextView = _useNavigationContext.view;
|
|
50
|
+
var _useAiContext = useAiContext(),
|
|
51
|
+
isAiEnabled = _useAiContext.isAiEnabled;
|
|
49
52
|
var _useWhatsNewArticleCo = useWhatsNewArticleContext(),
|
|
50
53
|
searchWhatsNewArticlesResult = _useWhatsNewArticleCo.searchWhatsNewArticlesResult,
|
|
51
54
|
onSearchWhatsNewArticles = _useWhatsNewArticleCo.onSearchWhatsNewArticles,
|
|
@@ -108,7 +111,58 @@ export var WhatsNewResults = function WhatsNewResults(_ref) {
|
|
|
108
111
|
onEnter: handleOnEnter,
|
|
109
112
|
onExit: handleOnExit
|
|
110
113
|
}, function (state) {
|
|
111
|
-
return /*#__PURE__*/React.createElement(
|
|
114
|
+
return isAiEnabled ? /*#__PURE__*/React.createElement(WhatsNewResultsContainerAi, {
|
|
115
|
+
ref: containerRef,
|
|
116
|
+
style: _objectSpread(_objectSpread({}, defaultStyle), transitionStyles[state])
|
|
117
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, searchWhatsNewArticlesState === REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/React.createElement(WhatsNewResultsLoading, null), (searchWhatsNewArticlesState === REQUEST_STATE.done || searchWhatsNewArticlesState === REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(Select, {
|
|
118
|
+
defaultValue: selectedOption
|
|
119
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
120
|
+
,
|
|
121
|
+
className: "single-select",
|
|
122
|
+
classNamePrefix: "react-select",
|
|
123
|
+
options: [{
|
|
124
|
+
value: '',
|
|
125
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_all)
|
|
126
|
+
}, {
|
|
127
|
+
value: WHATS_NEW_ITEM_TYPES.NEW_FEATURE,
|
|
128
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_new)
|
|
129
|
+
}, {
|
|
130
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_improvement),
|
|
131
|
+
value: WHATS_NEW_ITEM_TYPES.IMPROVEMENT
|
|
132
|
+
}, {
|
|
133
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_fix),
|
|
134
|
+
value: WHATS_NEW_ITEM_TYPES.FIX
|
|
135
|
+
}, {
|
|
136
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_removed),
|
|
137
|
+
value: WHATS_NEW_ITEM_TYPES.REMOVED
|
|
138
|
+
}, {
|
|
139
|
+
label: formatMessage(messages.help_whats_new_filter_select_option_experiment),
|
|
140
|
+
value: WHATS_NEW_ITEM_TYPES.EXPERIMENT
|
|
141
|
+
}],
|
|
142
|
+
value: selectedOption,
|
|
143
|
+
onChange: function onChange(option) {
|
|
144
|
+
if (onSearchWhatsNewArticles) {
|
|
145
|
+
var selectedOptionValue = option.value;
|
|
146
|
+
var selectedOptionLabel = option.label;
|
|
147
|
+
setSelectedOption({
|
|
148
|
+
value: selectedOptionValue,
|
|
149
|
+
label: selectedOptionLabel
|
|
150
|
+
});
|
|
151
|
+
onSearchWhatsNewArticles(selectedOptionValue, NUMBER_OF_WHATS_NEW_ITEMS_PER_PAGE, '');
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
})), /*#__PURE__*/React.createElement(WhatsNewResultsListContainer, null, searchWhatsNewArticlesResult.articles.length > 0 ? /*#__PURE__*/React.createElement(WhatsNewResultsList, {
|
|
155
|
+
whatsNewArticles: searchWhatsNewArticlesResult.articles,
|
|
156
|
+
onWhatsNewResultItemClick: onWhatsNewResultItemClick,
|
|
157
|
+
onShowMoreButtonClick: handleOnShowMoreButtonClick,
|
|
158
|
+
hasNextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.hasNextPage,
|
|
159
|
+
nextPage: searchWhatsNewArticlesResult === null || searchWhatsNewArticlesResult === void 0 ? void 0 : searchWhatsNewArticlesResult.nextPage,
|
|
160
|
+
loadingMore: searchWhatsNewArticlesState === REQUEST_STATE.loading
|
|
161
|
+
}) : /*#__PURE__*/React.createElement(WhatsNewResultsEmpty, {
|
|
162
|
+
onClearFilter: handleOnClearFilter
|
|
163
|
+
}))), searchWhatsNewArticlesState === REQUEST_STATE.error && /*#__PURE__*/React.createElement(WhatsNewResultsError, {
|
|
164
|
+
onSearch: onSearchWhatsNewArticles
|
|
165
|
+
}))) : /*#__PURE__*/React.createElement(WhatsNewResultsContainer, {
|
|
112
166
|
ref: containerRef,
|
|
113
167
|
style: _objectSpread(_objectSpread({}, defaultStyle), transitionStyles[state])
|
|
114
168
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, searchWhatsNewArticlesState === REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/React.createElement(WhatsNewResultsLoading, null), (searchWhatsNewArticlesState === REQUEST_STATE.done || searchWhatsNewArticlesState === REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(Select, {
|
|
@@ -21,6 +21,23 @@ export var WhatsNewResultsContainer = styled.div({
|
|
|
21
21
|
padding: "var(--ds-space-200, 16px)"
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
|
+
export var WhatsNewResultsContainerAi = styled.div({
|
|
26
|
+
paddingBottom: "var(--ds-space-200, 16px)",
|
|
27
|
+
paddingLeft: "var(--ds-space-200, 16px)",
|
|
28
|
+
paddingRight: "var(--ds-space-200, 16px)",
|
|
29
|
+
position: 'absolute',
|
|
30
|
+
width: '100%',
|
|
31
|
+
top: "var(--ds-space-800, 60px)",
|
|
32
|
+
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
33
|
+
flex: 1,
|
|
34
|
+
flexDirection: 'column',
|
|
35
|
+
boxSizing: 'border-box',
|
|
36
|
+
overflowX: 'hidden',
|
|
37
|
+
overflowY: 'auto',
|
|
38
|
+
zIndex: 1
|
|
39
|
+
});
|
|
40
|
+
|
|
24
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
42
|
export var SelectContainer = styled.div({
|
|
26
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
package/dist/esm/messages.js
CHANGED
|
@@ -274,5 +274,15 @@ export var messages = defineMessages({
|
|
|
274
274
|
id: 'help.search_tab.ai',
|
|
275
275
|
defaultMessage: 'Ask AI',
|
|
276
276
|
description: 'Ask AI tab text'
|
|
277
|
+
},
|
|
278
|
+
help_need_more_help_label: {
|
|
279
|
+
id: 'help.need_more_help.ai',
|
|
280
|
+
defaultMessage: 'Ask AI',
|
|
281
|
+
description: 'Ask AI label in need more help component'
|
|
282
|
+
},
|
|
283
|
+
help_need_more_help_text: {
|
|
284
|
+
id: 'help.need_more_help.text',
|
|
285
|
+
defaultMessage: 'Need more help?',
|
|
286
|
+
description: 'Need more help text'
|
|
277
287
|
}
|
|
278
288
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
/// <reference types="react" />
|
|
6
|
+
export declare const NeedMoreHelpContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const NeedMoreHelpContent: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
14
|
+
export declare const HelpAskAI: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
@@ -3,6 +3,10 @@ export declare const WhatsNewResultsContainer: import("@emotion/styled").StyledC
|
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const WhatsNewResultsContainerAi: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
10
|
export declare const SelectContainer: import("@emotion/styled").StyledComponent<{
|
|
7
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
12
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -274,4 +274,14 @@ export declare const messages: {
|
|
|
274
274
|
defaultMessage: string;
|
|
275
275
|
description: string;
|
|
276
276
|
};
|
|
277
|
+
help_need_more_help_label: {
|
|
278
|
+
id: string;
|
|
279
|
+
defaultMessage: string;
|
|
280
|
+
description: string;
|
|
281
|
+
};
|
|
282
|
+
help_need_more_help_text: {
|
|
283
|
+
id: string;
|
|
284
|
+
defaultMessage: string;
|
|
285
|
+
description: string;
|
|
286
|
+
};
|
|
277
287
|
};
|