@atlaskit/help 9.0.2 → 9.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -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 +6 -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/ArticlesList/ArticlesListItem/styled.js +6 -2
- package/dist/cjs/components/BackButton/index.js +1 -1
- package/dist/cjs/components/HelpContent.js +4 -4
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.compiled.css +10 -2
- package/dist/cjs/components/HelpContentButton/styled.js +31 -5
- package/dist/cjs/components/RelatedArticles/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/index.js +1 -1
- 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/styled.compiled.css +7 -0
- package/dist/cjs/components/styled.js +10 -3
- 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 +7 -2
- 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/ArticlesList/ArticlesListItem/styled.js +6 -2
- package/dist/es2019/components/BackButton/index.js +1 -1
- package/dist/es2019/components/HelpContent.js +5 -5
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.compiled.css +10 -2
- package/dist/es2019/components/HelpContentButton/styled.js +30 -9
- package/dist/es2019/components/RelatedArticles/index.js +1 -1
- package/dist/es2019/components/Search/SearchInput/index.js +1 -1
- 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/styled.compiled.css +7 -0
- package/dist/es2019/components/styled.js +8 -2
- 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 +7 -2
- 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/ArticlesList/ArticlesListItem/styled.js +6 -2
- package/dist/esm/components/BackButton/index.js +1 -1
- package/dist/esm/components/HelpContent.js +5 -5
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.compiled.css +10 -2
- package/dist/esm/components/HelpContentButton/styled.js +31 -5
- package/dist/esm/components/RelatedArticles/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/index.js +1 -1
- 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/styled.compiled.css +7 -0
- package/dist/esm/components/styled.js +9 -2
- package/dist/types/components/styled.d.ts +3 -0
- package/dist/types-ts4.5/components/styled.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,31 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
._11c8376l{font:var(--ds-font-body,inherit)}
|
|
2
|
+
._19itglyw{border:none}
|
|
2
3
|
._2rko1l7b{border-radius:3px}
|
|
3
4
|
._2rko1y44{border-radius:4px}
|
|
5
|
+
._18u0idpf{margin-left:0}
|
|
4
6
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
5
7
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
8
|
+
._19pkidpf{margin-top:0}
|
|
6
9
|
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
7
10
|
._1bsbgktf{width:20px}
|
|
8
11
|
._1bsbnau3{width:calc(100% - var(--ds-space-200, 1pc))}
|
|
9
12
|
._1bsbwgn3{width:calc(100% - 20px)}
|
|
10
13
|
._1e0c1o8l{display:inline-block}
|
|
11
14
|
._1e0c1ule{display:block}
|
|
15
|
+
._1e0c5mfb{display:table}
|
|
12
16
|
._1eab1ooe span{transform:translate(-50%,-50%)}
|
|
13
17
|
._1t181ssb span{top:50%}
|
|
14
18
|
._1t981ssb span{left:50%}
|
|
19
|
+
._2hwxidpf{margin-right:0}
|
|
15
20
|
._4t3igktf{height:20px}
|
|
16
21
|
._80omtlke{cursor:pointer}
|
|
22
|
+
._bfhk1j28{background-color:transparent}
|
|
17
23
|
._ca0qidpf{padding-top:0}
|
|
18
24
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
19
25
|
._kqswh2mm{position:relative}
|
|
20
26
|
._n3tdidpf{padding-bottom:0}
|
|
21
27
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
28
|
+
._otyridpf{margin-bottom:0}
|
|
22
29
|
._s7n4nkob{vertical-align:middle}
|
|
23
30
|
._syazc8hx{color:var(--ds-text-subtle,#344563)}
|
|
24
31
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
25
32
|
._vchhusvi{box-sizing:border-box}
|
|
26
33
|
._vr2wstnw span{position:absolute}
|
|
27
34
|
._7ehi1ssq:focus{box-shadow:var(--ds-border-focused,#4c9aff) 0 0 0 2px inset}
|
|
28
|
-
._irr314ae:hover{background-color:var(--ds-background-neutral-subtle-hovered,#ebecf0)}
|
|
35
|
+
._irr314ae:hover{background-color:var(--ds-background-neutral-subtle-hovered,#ebecf0)}
|
|
36
|
+
._13roglyw:active, ._1bg4glyw:focus, ._1qb1glyw:hover, ._1dnaglyw:visited{outline-offset:none}
|
|
29
37
|
._1di61l7b:active{background-color:var(--ds-background-neutral-subtle-pressed,#deebff)}
|
|
30
38
|
._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover, ._1726nqa1:visited{text-decoration-style:solid}
|
|
31
39
|
._1nrm1r31:active, ._1a3b1r31:focus, ._9oik1r31:hover, ._1ydc1r31:visited{text-decoration-color:currentColor}
|
|
@@ -3,6 +3,8 @@ import "./styled.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { B100, B50, N30, N600 } from '@atlaskit/theme/colors';
|
|
6
|
+
const wrappedSpanStyles = null;
|
|
7
|
+
const parentListItemHelpContentButtonContainerStyles = null;
|
|
6
8
|
const helpContentButtonContainerStyles = null;
|
|
7
9
|
export const HelpContentButtonContainer = ({
|
|
8
10
|
onClick,
|
|
@@ -12,15 +14,34 @@ export const HelpContentButtonContainer = ({
|
|
|
12
14
|
tabIndex,
|
|
13
15
|
target,
|
|
14
16
|
children
|
|
15
|
-
}) =>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
}) => {
|
|
18
|
+
if (href) {
|
|
19
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
20
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf"])
|
|
21
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
22
|
+
onClick: onClick,
|
|
23
|
+
onKeyDown: onKeyDown,
|
|
24
|
+
href: href,
|
|
25
|
+
id: id,
|
|
26
|
+
tabIndex: tabIndex,
|
|
27
|
+
target: target,
|
|
28
|
+
className: ax(["_2rko1l7b _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbnau3 _syazc8hx _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehi1ssq _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8hc8hx _f8pjc8hx _30l3c8hx _1053c8hx _irr314ae _1di61l7b"])
|
|
29
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
30
|
+
className: ax(["_1e0c5mfb"])
|
|
31
|
+
}, children)));
|
|
32
|
+
}
|
|
33
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
34
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf"])
|
|
35
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
36
|
+
onClick: onClick,
|
|
37
|
+
onKeyDown: onKeyDown,
|
|
38
|
+
id: id,
|
|
39
|
+
tabIndex: tabIndex,
|
|
40
|
+
className: ax(["_2rko1l7b _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbnau3 _syazc8hx _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehi1ssq _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8hc8hx _f8pjc8hx _30l3c8hx _1053c8hx _irr314ae _1di61l7b"])
|
|
41
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
42
|
+
className: ax(["_1e0c5mfb"])
|
|
43
|
+
}, children)));
|
|
44
|
+
};
|
|
24
45
|
const helpContentButtonIconStyles = null;
|
|
25
46
|
export const HelpContentButtonIcon = ({
|
|
26
47
|
children
|
|
@@ -16,7 +16,7 @@ import { RelatedArticlesTitle } from './styled';
|
|
|
16
16
|
import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
17
17
|
import { usePrevious } from '../../util/hooks/previous';
|
|
18
18
|
const packageName = "@atlaskit/help";
|
|
19
|
-
const packageVersion = "9.0.
|
|
19
|
+
const packageVersion = "9.0.3";
|
|
20
20
|
const buttonStyles = null;
|
|
21
21
|
export const RelatedArticles = ({
|
|
22
22
|
style = 'primary',
|
|
@@ -19,7 +19,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
|
|
|
19
19
|
const ANALYTICS_CONTEXT_DATA = {
|
|
20
20
|
componentName: 'searchInput',
|
|
21
21
|
packageName: "@atlaskit/help",
|
|
22
|
-
packageVersion: "9.0.
|
|
22
|
+
packageVersion: "9.0.3"
|
|
23
23
|
};
|
|
24
24
|
const buttonStyles = null;
|
|
25
25
|
export const SearchInput = ({
|
|
@@ -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: "9.0.
|
|
14
|
+
packageVersion: "9.0.3"
|
|
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: "9.0.
|
|
11
|
+
packageVersion: "9.0.3"
|
|
12
12
|
};
|
|
13
13
|
export const WhatsNewResultListItem = ({
|
|
14
14
|
intl: {
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
._qtt8glyw{list-style:none}
|
|
2
3
|
._v5641kd4{transition:left .22s,opacity .22s}
|
|
3
4
|
._x3domfkj{border-top:var(--ds-space-025,2px) solid var(--ds-border,#ebecf0)}._16jlkb7n{flex-grow:1}
|
|
4
5
|
._18m91wug{overflow-y:auto}
|
|
6
|
+
._18u0idpf{margin-left:0}
|
|
5
7
|
._19bvidpf{padding-left:0}
|
|
6
8
|
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
9
|
+
._19pkidpf{margin-top:0}
|
|
7
10
|
._19pkou31{margin-top:var(--ds-space-200,14px)}
|
|
8
11
|
._1bah1yb4{justify-content:space-between}
|
|
9
12
|
._1bsb1osq{width:100%}
|
|
@@ -17,19 +20,23 @@
|
|
|
17
20
|
._1reo1wug{overflow-x:auto}
|
|
18
21
|
._1tkeidpf{min-height:0}
|
|
19
22
|
._1wpz1wug{align-self:auto}
|
|
23
|
+
._2hwxidpf{margin-right:0}
|
|
20
24
|
._2lx21bp4{flex-direction:column}
|
|
21
25
|
._4cvr1y6m{align-items:flex-start}
|
|
22
26
|
._4t3i1osq{height:100%}
|
|
23
27
|
._4t3ixy5q{height:var(--ds-space-400,2pc)}
|
|
24
28
|
._ae4v1fhb{align-content:stretch}
|
|
25
29
|
._bfhk1gi7{background-color:var(--ds-background-neutral,#fafbfc)}
|
|
30
|
+
._ca0qidpf{padding-top:0}
|
|
26
31
|
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
27
32
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
28
33
|
._i0dl1wug{flex-basis:auto}
|
|
29
34
|
._kqswh2mm{position:relative}
|
|
30
35
|
._kqswstnw{position:absolute}
|
|
36
|
+
._n3tdidpf{padding-bottom:0}
|
|
31
37
|
._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
|
|
32
38
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
39
|
+
._otyridpf{margin-bottom:0}
|
|
33
40
|
._tzy4idpf{opacity:0}
|
|
34
41
|
._u5f3idpf{padding-right:0}
|
|
35
42
|
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
@@ -32,7 +32,7 @@ export const Home = ({
|
|
|
32
32
|
display: isOverlayFullyVisible ? 'none' : 'block',
|
|
33
33
|
overflow: isOverlayVisible ? 'hidden' : 'auto'
|
|
34
34
|
},
|
|
35
|
-
className: ax(["_1reo1wug _18m91wug _1e0c1ule _4t3i1osq _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _vchhusvi"])
|
|
35
|
+
className: ax(["_1reo1wug _18m91wug _1e0c1ule _4t3i1osq _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _vchhusvi _19pkidpf"])
|
|
36
36
|
}, children);
|
|
37
37
|
const homeAiStyles = null;
|
|
38
38
|
export const HomeAi = ({
|
|
@@ -44,7 +44,7 @@ export const HomeAi = ({
|
|
|
44
44
|
display: isOverlayFullyVisible ? 'none' : 'block',
|
|
45
45
|
overflow: isOverlayVisible ? 'hidden' : 'auto'
|
|
46
46
|
},
|
|
47
|
-
className: ax(["_1reo1wug _18m91wug _1e0c1ule _19bvpxbi _u5f3pxbi _n3tdpxbi _vchhusvi"])
|
|
47
|
+
className: ax(["_1reo1wug _18m91wug _1e0c1ule _19bvpxbi _u5f3pxbi _n3tdpxbi _vchhusvi _19pkidpf"])
|
|
48
48
|
}, children);
|
|
49
49
|
const helpFooterStyles = null;
|
|
50
50
|
export const HelpFooter = ({
|
|
@@ -72,4 +72,10 @@ export const BackButtonContainer = ({
|
|
|
72
72
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
73
73
|
style: backButtonContainerTransitionStyles[transitionState],
|
|
74
74
|
className: ax(["_v5641kd4 _kqswstnw _19pkou31 _1ltv1ejb _4t3ixy5q _tzy4idpf"])
|
|
75
|
+
}, children);
|
|
76
|
+
const ulStyles = null;
|
|
77
|
+
export const StyledUl = ({
|
|
78
|
+
children
|
|
79
|
+
}) => /*#__PURE__*/React.createElement("ul", {
|
|
80
|
+
className: ax(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf"])
|
|
75
81
|
}, children);
|
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: "9.0.
|
|
13
|
+
packageVersion: "9.0.3"
|
|
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: "9.0.
|
|
9
|
+
packageVersion: "9.0.3"
|
|
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: "9.0.
|
|
9
|
+
packageVersion: "9.0.3"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -5,7 +5,7 @@ import "./index.compiled.css";
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
/** @jsxFrag */
|
|
7
7
|
|
|
8
|
-
import React, { useState } from 'react';
|
|
8
|
+
import React, { useRef, useState } from 'react';
|
|
9
9
|
import { injectIntl } from 'react-intl-next';
|
|
10
10
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
11
11
|
import SectionMessage from '@atlaskit/section-message';
|
|
@@ -26,7 +26,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
26
26
|
var ANALYTICS_CONTEXT_DATA = {
|
|
27
27
|
componentName: 'ArticleWasHelpfulForm',
|
|
28
28
|
packageName: "@atlaskit/help",
|
|
29
|
-
packageVersion: "9.0.
|
|
29
|
+
packageVersion: "9.0.3"
|
|
30
30
|
};
|
|
31
31
|
var buttonStyles = null;
|
|
32
32
|
export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
@@ -64,6 +64,7 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
|
64
64
|
setWasHelpfulFormSubmitedFailed = _useState14[1];
|
|
65
65
|
var _useAnalyticsEvents = useAnalyticsEvents(),
|
|
66
66
|
createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
|
|
67
|
+
var wasHelpfulFormClickedButtonRef = useRef(null);
|
|
67
68
|
var negativeFeedbackReason = [{
|
|
68
69
|
name: 'negativeFeedbackReason',
|
|
69
70
|
value: 'noAccurate',
|
|
@@ -82,12 +83,14 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
|
82
83
|
onWasHelpfulYesButtonClick(event, analyticsEvent);
|
|
83
84
|
}
|
|
84
85
|
setWasHelpful(true);
|
|
86
|
+
wasHelpfulFormClickedButtonRef.current = event.currentTarget;
|
|
85
87
|
};
|
|
86
88
|
var handleArticleWasHelpfulNoButtonClick = (onWasHelpfulNoButtonClick || onWasHelpfulSubmit) && function (event, analyticsEvent) {
|
|
87
89
|
if (onWasHelpfulNoButtonClick) {
|
|
88
90
|
onWasHelpfulNoButtonClick(event, analyticsEvent);
|
|
89
91
|
}
|
|
90
92
|
setWasHelpful(false);
|
|
93
|
+
wasHelpfulFormClickedButtonRef.current = event.currentTarget;
|
|
91
94
|
};
|
|
92
95
|
var radioGroupReasonOnChange = function radioGroupReasonOnChange(event) {
|
|
93
96
|
setFeedbackReason(event.currentTarget.value);
|
|
@@ -129,7 +132,9 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
|
129
132
|
}
|
|
130
133
|
};
|
|
131
134
|
var onFeedbackSubmitCancel = function onFeedbackSubmitCancel() {
|
|
135
|
+
var _wasHelpfulFormClicke, _wasHelpfulFormClicke2;
|
|
132
136
|
setWasHelpful(null);
|
|
137
|
+
(_wasHelpfulFormClicke = wasHelpfulFormClickedButtonRef.current) === null || _wasHelpfulFormClicke === void 0 || (_wasHelpfulFormClicke2 = _wasHelpfulFormClicke.focus) === null || _wasHelpfulFormClicke2 === void 0 || _wasHelpfulFormClicke2.call(_wasHelpfulFormClicke);
|
|
133
138
|
};
|
|
134
139
|
var handleTryAgainOnClick = function handleTryAgainOnClick() {
|
|
135
140
|
var feedback = {
|
|
@@ -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: "9.0.
|
|
59
|
+
packageVersion: "9.0.3"
|
|
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: "9.0.
|
|
16
|
+
packageVersion: "9.0.3"
|
|
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: "9.0.
|
|
11
|
+
packageVersion: "9.0.3"
|
|
12
12
|
};
|
|
13
13
|
var highlightText = function highlightText(text) {
|
|
14
14
|
if (!text) {
|
|
@@ -8,6 +8,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
8
8
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
9
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
10
|
import React from 'react';
|
|
11
|
+
import Heading from '@atlaskit/heading';
|
|
11
12
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
12
13
|
import { B100, B50, N200, N30, N400, N400A, N800, Y100 } from '@atlaskit/theme/colors';
|
|
13
14
|
var heading = fontFallback.heading,
|
|
@@ -51,13 +52,16 @@ export var ArticlesListItemLinkIcon = function ArticlesListItemLinkIcon(_ref4) {
|
|
|
51
52
|
var articlesListItemTitleTextStyles = null;
|
|
52
53
|
export var ArticlesListItemTitleText = function ArticlesListItemTitleText(_ref5) {
|
|
53
54
|
var children = _ref5.children;
|
|
54
|
-
return /*#__PURE__*/React.createElement("
|
|
55
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
55
56
|
className: ax(["_4bfu1r31 _1hmsglyw _ajmmnqa1 _11c81ysy _1reo15vq _18m915vq _syaz1o8f _1e0c1o8l _o5724jg8 _otyrh9hh"]),
|
|
56
57
|
style: {
|
|
57
58
|
"--_ggxzyp": ix("var(--ds-text, ".concat(N800, ")")),
|
|
58
59
|
"--_9taizs": ix("var(--ds-font-heading-xsmall, ".concat(heading.xsmall, ")"))
|
|
59
60
|
}
|
|
60
|
-
},
|
|
61
|
+
}, /*#__PURE__*/React.createElement(Heading, {
|
|
62
|
+
size: "xsmall",
|
|
63
|
+
as: "h3"
|
|
64
|
+
}, children));
|
|
61
65
|
};
|
|
62
66
|
var articlesListItemDescriptionStyles = null;
|
|
63
67
|
export var ArticlesListItemDescription = function ArticlesListItemDescription(_ref6) {
|
|
@@ -49,7 +49,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
49
49
|
data: {
|
|
50
50
|
componentName: 'backButton',
|
|
51
51
|
packageName: "@atlaskit/help",
|
|
52
|
-
packageVersion: "9.0.
|
|
52
|
+
packageVersion: "9.0.3"
|
|
53
53
|
}
|
|
54
54
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
55
55
|
};
|
|
@@ -17,7 +17,7 @@ import WhatsNewResults from './WhatsNew/WhatsNewResults';
|
|
|
17
17
|
import HelpContentButton from './HelpContentButton';
|
|
18
18
|
import BackButton from './BackButton';
|
|
19
19
|
import { NeedMoreHelp } from './NeedMoreHelp';
|
|
20
|
-
import { HelpBodyContainer, HelpBody, Home, HomeAi, HelpBodyAi } from './styled';
|
|
20
|
+
import { HelpBodyContainer, HelpBody, Home, HomeAi, HelpBodyAi, StyledUl } from './styled';
|
|
21
21
|
import { HelpFooter } from './styled';
|
|
22
22
|
import { Tabs } from './Tabs';
|
|
23
23
|
import AiChatIcon from '@atlaskit/icon/core/ai-chat';
|
|
@@ -116,13 +116,13 @@ export var HelpContent = function HelpContent(_ref) {
|
|
|
116
116
|
}), /*#__PURE__*/React.createElement(HomeAi, {
|
|
117
117
|
isOverlayFullyVisible: isOverlayFullyVisible,
|
|
118
118
|
isOverlayVisible: isOverlayVisible
|
|
119
|
-
}, homeContent, onSearchWhatsNewArticles && onGetWhatsNewArticle && /*#__PURE__*/React.createElement(WhatsNewButton, {
|
|
119
|
+
}, homeContent, /*#__PURE__*/React.createElement(StyledUl, null, onSearchWhatsNewArticles && onGetWhatsNewArticle && /*#__PURE__*/React.createElement(WhatsNewButton, {
|
|
120
120
|
productName: productName
|
|
121
121
|
}), homeOptions && homeOptions.map(function (defaultOption) {
|
|
122
122
|
return /*#__PURE__*/React.createElement(HelpContentButton, _extends({
|
|
123
123
|
key: defaultOption.id
|
|
124
124
|
}, defaultOption));
|
|
125
|
-
}))), /*#__PURE__*/React.createElement(WhatsNewResults, null)), /*#__PURE__*/React.createElement(NeedMoreHelp, {
|
|
125
|
+
})))), /*#__PURE__*/React.createElement(WhatsNewResults, null)), /*#__PURE__*/React.createElement(NeedMoreHelp, {
|
|
126
126
|
label: formatMessage(messages.help_need_more_help_label),
|
|
127
127
|
onNeedMoreHelpClick: handleNeedMoreHelpClick
|
|
128
128
|
}), footer && /*#__PURE__*/React.createElement(HelpFooter, {
|
|
@@ -137,13 +137,13 @@ export var HelpContent = function HelpContent(_ref) {
|
|
|
137
137
|
}, /*#__PURE__*/React.createElement(HelpBodyContainer, null, /*#__PURE__*/React.createElement(HelpBody, null, /*#__PURE__*/React.createElement(SearchResults, null), /*#__PURE__*/React.createElement(ArticleComponent, null), /*#__PURE__*/React.createElement(Home, {
|
|
138
138
|
isOverlayFullyVisible: isOverlayFullyVisible,
|
|
139
139
|
isOverlayVisible: isOverlayVisible
|
|
140
|
-
}, homeContent, onSearchWhatsNewArticles && onGetWhatsNewArticle && /*#__PURE__*/React.createElement(WhatsNewButton, {
|
|
140
|
+
}, homeContent, /*#__PURE__*/React.createElement(StyledUl, null, onSearchWhatsNewArticles && onGetWhatsNewArticle && /*#__PURE__*/React.createElement(WhatsNewButton, {
|
|
141
141
|
productName: productName
|
|
142
142
|
}), homeOptions && homeOptions.map(function (defaultOption) {
|
|
143
143
|
return /*#__PURE__*/React.createElement(HelpContentButton, _extends({
|
|
144
144
|
key: defaultOption.id
|
|
145
145
|
}, defaultOption));
|
|
146
|
-
}))), /*#__PURE__*/React.createElement(WhatsNewResults, null)));
|
|
146
|
+
})))), /*#__PURE__*/React.createElement(WhatsNewResults, null)));
|
|
147
147
|
return isAiEnabled ? HelpLayoutWithAi : HelpLayoutWithoutAi;
|
|
148
148
|
};
|
|
149
149
|
export default injectIntl(HelpContent);
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
var analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "9.0.
|
|
10
|
+
packageVersion: "9.0.3"
|
|
11
11
|
};
|
|
12
12
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
13
13
|
var _ref$id = _ref.id,
|
|
@@ -1,31 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
._11c8376l{font:var(--ds-font-body,inherit)}
|
|
2
|
+
._19itglyw{border:none}
|
|
2
3
|
._2rko1l7b{border-radius:3px}
|
|
3
4
|
._2rko1y44{border-radius:4px}
|
|
5
|
+
._18u0idpf{margin-left:0}
|
|
4
6
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
5
7
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
8
|
+
._19pkidpf{margin-top:0}
|
|
6
9
|
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
7
10
|
._1bsbb8xr{width:var(--_2br7en)}
|
|
8
11
|
._1bsbgktf{width:20px}
|
|
9
12
|
._1bsbwgn3{width:calc(100% - 20px)}
|
|
10
13
|
._1e0c1o8l{display:inline-block}
|
|
11
14
|
._1e0c1ule{display:block}
|
|
15
|
+
._1e0c5mfb{display:table}
|
|
12
16
|
._1eab1ooe span{transform:translate(-50%,-50%)}
|
|
13
17
|
._1t181ssb span{top:50%}
|
|
14
18
|
._1t981ssb span{left:50%}
|
|
19
|
+
._2hwxidpf{margin-right:0}
|
|
15
20
|
._4t3igktf{height:20px}
|
|
16
21
|
._80omtlke{cursor:pointer}
|
|
22
|
+
._bfhk1j28{background-color:transparent}
|
|
17
23
|
._ca0qidpf{padding-top:0}
|
|
18
24
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
19
25
|
._kqswh2mm{position:relative}
|
|
20
26
|
._n3tdidpf{padding-bottom:0}
|
|
21
27
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
28
|
+
._otyridpf{margin-bottom:0}
|
|
22
29
|
._s7n4nkob{vertical-align:middle}
|
|
23
30
|
._syaz1a5u{color:var(--_1oh641w)}
|
|
24
31
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
25
32
|
._vchhusvi{box-sizing:border-box}
|
|
26
33
|
._vr2wstnw span{position:absolute}
|
|
27
34
|
._7ehiu5t6:focus{box-shadow:var(--_ow3z6t)}
|
|
28
|
-
._irr32tgk:hover{background-color:var(--_1y60f1n)}
|
|
35
|
+
._irr32tgk:hover{background-color:var(--_1y60f1n)}
|
|
36
|
+
._13roglyw:active, ._1bg4glyw:focus, ._1qb1glyw:hover, ._1dnaglyw:visited{outline-offset:none}
|
|
29
37
|
._1di618xb:active{background-color:var(--_18th9fi)}
|
|
30
38
|
._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover, ._1726nqa1:visited{text-decoration-style:solid}
|
|
31
39
|
._1nrm1r31:active, ._1a3b1r31:focus, ._9oik1r31:hover, ._1ydc1r31:visited{text-decoration-color:currentColor}
|
|
@@ -3,6 +3,8 @@ import "./styled.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { B100, B50, N30, N600 } from '@atlaskit/theme/colors';
|
|
6
|
+
var wrappedSpanStyles = null;
|
|
7
|
+
var parentListItemHelpContentButtonContainerStyles = null;
|
|
6
8
|
var helpContentButtonContainerStyles = null;
|
|
7
9
|
export var HelpContentButtonContainer = function HelpContentButtonContainer(_ref) {
|
|
8
10
|
var onClick = _ref.onClick,
|
|
@@ -12,14 +14,36 @@ export var HelpContentButtonContainer = function HelpContentButtonContainer(_ref
|
|
|
12
14
|
tabIndex = _ref.tabIndex,
|
|
13
15
|
target = _ref.target,
|
|
14
16
|
children = _ref.children;
|
|
15
|
-
|
|
17
|
+
if (href) {
|
|
18
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
19
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf"])
|
|
20
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
21
|
+
onClick: onClick,
|
|
22
|
+
onKeyDown: onKeyDown,
|
|
23
|
+
href: href,
|
|
24
|
+
id: id,
|
|
25
|
+
tabIndex: tabIndex,
|
|
26
|
+
target: target,
|
|
27
|
+
className: ax(["_2rko1l7b _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbb8xr _syaz1a5u _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehiu5t6 _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8h1a5u _f8pj1a5u _30l31a5u _10531a5u _irr32tgk _1di618xb"]),
|
|
28
|
+
style: {
|
|
29
|
+
"--_2br7en": ix("calc(100% - ".concat("var(--ds-space-200, 16px)", ")")),
|
|
30
|
+
"--_1oh641w": ix("var(--ds-text-subtle, ".concat(N600, ")")),
|
|
31
|
+
"--_ow3z6t": ix("".concat("var(--ds-border-focused, ".concat(B100, ")"), " 0 0 0 2px inset")),
|
|
32
|
+
"--_1y60f1n": ix("var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")")),
|
|
33
|
+
"--_18th9fi": ix("var(--ds-background-neutral-subtle-pressed, ".concat(B50, ")"))
|
|
34
|
+
}
|
|
35
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
36
|
+
className: ax(["_1e0c5mfb"])
|
|
37
|
+
}, children)));
|
|
38
|
+
}
|
|
39
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
40
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf"])
|
|
41
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
16
42
|
onClick: onClick,
|
|
17
43
|
onKeyDown: onKeyDown,
|
|
18
|
-
href: href,
|
|
19
44
|
id: id,
|
|
20
45
|
tabIndex: tabIndex,
|
|
21
|
-
|
|
22
|
-
className: ax(["_2rko1l7b _1e0c1ule _80omtlke _1bsbb8xr _syaz1a5u _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehiu5t6 _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8h1a5u _f8pj1a5u _30l31a5u _10531a5u _irr32tgk _1di618xb"]),
|
|
46
|
+
className: ax(["_2rko1l7b _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbb8xr _syaz1a5u _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehiu5t6 _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8h1a5u _f8pj1a5u _30l31a5u _10531a5u _irr32tgk _1di618xb"]),
|
|
23
47
|
style: {
|
|
24
48
|
"--_2br7en": ix("calc(100% - ".concat("var(--ds-space-200, 16px)", ")")),
|
|
25
49
|
"--_1oh641w": ix("var(--ds-text-subtle, ".concat(N600, ")")),
|
|
@@ -27,7 +51,9 @@ export var HelpContentButtonContainer = function HelpContentButtonContainer(_ref
|
|
|
27
51
|
"--_1y60f1n": ix("var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")")),
|
|
28
52
|
"--_18th9fi": ix("var(--ds-background-neutral-subtle-pressed, ".concat(B50, ")"))
|
|
29
53
|
}
|
|
30
|
-
},
|
|
54
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
55
|
+
className: ax(["_1e0c5mfb"])
|
|
56
|
+
}, children)));
|
|
31
57
|
};
|
|
32
58
|
var helpContentButtonIconStyles = null;
|
|
33
59
|
export var HelpContentButtonIcon = function HelpContentButtonIcon(_ref2) {
|
|
@@ -20,7 +20,7 @@ import { RelatedArticlesTitle } from './styled';
|
|
|
20
20
|
import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
21
21
|
import { usePrevious } from '../../util/hooks/previous';
|
|
22
22
|
var packageName = "@atlaskit/help";
|
|
23
|
-
var packageVersion = "9.0.
|
|
23
|
+
var packageVersion = "9.0.3";
|
|
24
24
|
var buttonStyles = null;
|
|
25
25
|
export var RelatedArticles = function RelatedArticles(_ref) {
|
|
26
26
|
var _ref$style = _ref.style,
|
|
@@ -19,7 +19,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
|
|
|
19
19
|
var ANALYTICS_CONTEXT_DATA = {
|
|
20
20
|
componentName: 'searchInput',
|
|
21
21
|
packageName: "@atlaskit/help",
|
|
22
|
-
packageVersion: "9.0.
|
|
22
|
+
packageVersion: "9.0.3"
|
|
23
23
|
};
|
|
24
24
|
var buttonStyles = null;
|
|
25
25
|
export var SearchInput = function SearchInput(_ref) {
|
|
@@ -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: "9.0.
|
|
14
|
+
packageVersion: "9.0.3"
|
|
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: "9.0.
|
|
11
|
+
packageVersion: "9.0.3"
|
|
12
12
|
};
|
|
13
13
|
export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
._qtt8glyw{list-style:none}
|
|
2
3
|
._v5641tic{transition:var(--_m9bkgq)}
|
|
3
4
|
._x3do3yx5{border-top:var(--_1it2dty)}._16jlkb7n{flex-grow:1}
|
|
4
5
|
._18m91wug{overflow-y:auto}
|
|
6
|
+
._18u0idpf{margin-left:0}
|
|
5
7
|
._19bvidpf{padding-left:0}
|
|
6
8
|
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
9
|
+
._19pkidpf{margin-top:0}
|
|
7
10
|
._19pkou31{margin-top:var(--ds-space-200,14px)}
|
|
8
11
|
._1bah1yb4{justify-content:space-between}
|
|
9
12
|
._1bsb1osq{width:100%}
|
|
@@ -17,19 +20,23 @@
|
|
|
17
20
|
._1reo1wug{overflow-x:auto}
|
|
18
21
|
._1tkeidpf{min-height:0}
|
|
19
22
|
._1wpz1wug{align-self:auto}
|
|
23
|
+
._2hwxidpf{margin-right:0}
|
|
20
24
|
._2lx21bp4{flex-direction:column}
|
|
21
25
|
._4cvr1y6m{align-items:flex-start}
|
|
22
26
|
._4t3i1osq{height:100%}
|
|
23
27
|
._4t3ixy5q{height:var(--ds-space-400,2pc)}
|
|
24
28
|
._ae4v1fhb{align-content:stretch}
|
|
25
29
|
._bfhk1v7z{background-color:var(--_1xglsrh)}
|
|
30
|
+
._ca0qidpf{padding-top:0}
|
|
26
31
|
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
27
32
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
28
33
|
._i0dl1wug{flex-basis:auto}
|
|
29
34
|
._kqswh2mm{position:relative}
|
|
30
35
|
._kqswstnw{position:absolute}
|
|
36
|
+
._n3tdidpf{padding-bottom:0}
|
|
31
37
|
._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
|
|
32
38
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
39
|
+
._otyridpf{margin-bottom:0}
|
|
33
40
|
._tzy4idpf{opacity:0}
|
|
34
41
|
._u5f3idpf{padding-right:0}
|
|
35
42
|
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
@@ -40,7 +40,7 @@ export var Home = function Home(_ref4) {
|
|
|
40
40
|
display: isOverlayFullyVisible ? 'none' : 'block',
|
|
41
41
|
overflow: isOverlayVisible ? 'hidden' : 'auto'
|
|
42
42
|
},
|
|
43
|
-
className: ax(["_1reo1wug _18m91wug _1e0c1ule _4t3i1osq _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _vchhusvi"])
|
|
43
|
+
className: ax(["_1reo1wug _18m91wug _1e0c1ule _4t3i1osq _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _vchhusvi _19pkidpf"])
|
|
44
44
|
}, children);
|
|
45
45
|
};
|
|
46
46
|
var homeAiStyles = null;
|
|
@@ -53,7 +53,7 @@ export var HomeAi = function HomeAi(_ref5) {
|
|
|
53
53
|
display: isOverlayFullyVisible ? 'none' : 'block',
|
|
54
54
|
overflow: isOverlayVisible ? 'hidden' : 'auto'
|
|
55
55
|
},
|
|
56
|
-
className: ax(["_1reo1wug _18m91wug _1e0c1ule _19bvpxbi _u5f3pxbi _n3tdpxbi _vchhusvi"])
|
|
56
|
+
className: ax(["_1reo1wug _18m91wug _1e0c1ule _19bvpxbi _u5f3pxbi _n3tdpxbi _vchhusvi _19pkidpf"])
|
|
57
57
|
}, children);
|
|
58
58
|
};
|
|
59
59
|
var helpFooterStyles = null;
|
|
@@ -89,4 +89,11 @@ export var BackButtonContainer = function BackButtonContainer(_ref7) {
|
|
|
89
89
|
"--_m9bkgq": ix("left ".concat(BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS, "ms, opacity ").concat(BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS, "ms"))
|
|
90
90
|
})
|
|
91
91
|
}, children);
|
|
92
|
+
};
|
|
93
|
+
var ulStyles = null;
|
|
94
|
+
export var StyledUl = function StyledUl(_ref8) {
|
|
95
|
+
var children = _ref8.children;
|
|
96
|
+
return /*#__PURE__*/React.createElement("ul", {
|
|
97
|
+
className: ax(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf"])
|
|
98
|
+
}, children);
|
|
92
99
|
};
|
|
@@ -29,4 +29,7 @@ export declare const BackButtonContainer: ({ transitionState, children, }: {
|
|
|
29
29
|
transitionState: TransitionStatus;
|
|
30
30
|
children: React.ReactNode;
|
|
31
31
|
}) => JSX.Element;
|
|
32
|
+
export declare const StyledUl: ({ children }: {
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
}) => JSX.Element;
|
|
32
35
|
export {};
|