@atlaskit/help-layout 4.2.18 → 4.3.1
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 +149 -59
- package/afm-jira/tsconfig.json +39 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Header/BackButton.js +1 -1
- package/dist/cjs/components/Header/CloseButton.js +1 -1
- package/dist/cjs/components/Header/styled.js +14 -1
- package/dist/cjs/components/styled.js +16 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Header/BackButton.js +3 -1
- package/dist/es2019/components/Header/CloseButton.js +1 -1
- package/dist/es2019/components/Header/styled.js +14 -1
- package/dist/es2019/components/styled.js +33 -18
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Header/BackButton.js +1 -1
- package/dist/esm/components/Header/CloseButton.js +1 -1
- package/dist/esm/components/Header/styled.js +14 -1
- package/dist/esm/components/styled.js +16 -1
- package/dist/types/components/Header/BackButton.d.ts +2 -2
- package/dist/types/components/Header/CloseButton.d.ts +2 -2
- package/dist/types/components/Header/index.d.ts +2 -2
- package/dist/types/components/Header/styled.d.ts +1 -1
- package/dist/types/components/HelpLayout.d.ts +2 -2
- package/dist/types/components/HelpLayoutContent.d.ts +2 -2
- package/dist/types/components/MessagesIntlProvider.d.ts +1 -1
- package/dist/types/model/HelpLayout.d.ts +1 -1
- package/dist/types-ts4.5/components/Header/BackButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/CloseButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/styled.d.ts +1 -1
- package/dist/types-ts4.5/components/HelpLayout.d.ts +2 -2
- package/dist/types-ts4.5/components/HelpLayoutContent.d.ts +2 -2
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +1 -1
- package/dist/types-ts4.5/model/HelpLayout.d.ts +1 -1
- package/package.json +79 -81
- package/report.api.md +33 -34
|
@@ -1,23 +1,34 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
6
|
export const HeaderContainer = styled.div({
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
5
8
|
backgroundColor: `var(--ds-background-neutral, ${colors.N10})`,
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
6
10
|
borderBottom: `${"var(--ds-space-025, 2px)"} solid ${`var(--ds-border, ${colors.N30})`}`,
|
|
7
11
|
justifyContent: 'space-between',
|
|
8
12
|
position: 'relative'
|
|
9
13
|
});
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
16
|
export const CloseButtonContainer = styled.div({
|
|
11
17
|
position: 'absolute',
|
|
12
18
|
right: "var(--ds-space-100, 8px)",
|
|
13
19
|
top: "var(--ds-space-150, 12px)"
|
|
14
20
|
});
|
|
21
|
+
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
23
|
export const BackButtonContainer = styled.div({
|
|
16
24
|
position: 'absolute',
|
|
17
25
|
top: "var(--ds-space-150, 12px)",
|
|
18
26
|
left: "var(--ds-space-100, 8px)"
|
|
19
27
|
});
|
|
20
|
-
|
|
28
|
+
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
|
+
export const HeaderTitle = styled.h2({
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
21
32
|
color: `var(--ds-text-subtle, ${colors.N500})`,
|
|
22
33
|
textAlign: 'center',
|
|
23
34
|
fontSize: '1rem',
|
|
@@ -30,6 +41,8 @@ export const HeaderTitle = styled.div({
|
|
|
30
41
|
overflow: 'hidden',
|
|
31
42
|
verticalAlign: 'middle'
|
|
32
43
|
});
|
|
44
|
+
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
33
46
|
export const HeaderContent = styled.div({
|
|
34
47
|
padding: `0 ${"var(--ds-space-200, 16px)"} ${"var(--ds-space-200, 16px)"} ${"var(--ds-space-200, 16px)"}`
|
|
35
48
|
});
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression */
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
6
|
import { keyframes } from '@emotion/react';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
8
|
import styled from '@emotion/styled';
|
|
7
9
|
import * as colors from '@atlaskit/theme/colors';
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
11
|
export const Container = styled.div({
|
|
9
12
|
position: 'absolute',
|
|
10
13
|
top: 0,
|
|
@@ -15,13 +18,18 @@ export const Container = styled.div({
|
|
|
15
18
|
flexDirection: 'column',
|
|
16
19
|
backgroundColor: "var(--ds-surface, #FFFFFF)"
|
|
17
20
|
});
|
|
21
|
+
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
23
|
export const Section = styled.div({
|
|
19
24
|
flexGrow: 1,
|
|
20
25
|
display: 'flex',
|
|
21
26
|
flexDirection: 'column',
|
|
22
27
|
minHeight: 0
|
|
23
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
|
|
24
31
|
export const DividerLine = styled.div({
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
25
33
|
backgroundColor: `var(--ds-border, ${colors.N30A})`,
|
|
26
34
|
height: "var(--ds-space-025, 2px)",
|
|
27
35
|
width: '100%',
|
|
@@ -29,10 +37,14 @@ export const DividerLine = styled.div({
|
|
|
29
37
|
marginTop: "var(--ds-space-200, 16px)",
|
|
30
38
|
boxSizing: 'border-box'
|
|
31
39
|
});
|
|
40
|
+
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
32
42
|
export const HelpFooter = styled.div({
|
|
33
43
|
padding: `${"var(--ds-space-100, 8px)"} 0`,
|
|
34
44
|
boxSizing: 'border-box',
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
35
46
|
backgroundColor: `var(--ds-background-neutral, ${colors.N10})`,
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
36
48
|
borderTop: `${"var(--ds-space-025, 2px)"} solid ${`var(--ds-border, ${colors.N30})`}`,
|
|
37
49
|
justifyContent: 'space-between'
|
|
38
50
|
});
|
|
@@ -41,6 +53,7 @@ export const HelpFooter = styled.div({
|
|
|
41
53
|
* Loading
|
|
42
54
|
*/
|
|
43
55
|
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
57
|
export const LoadingContainer = styled.div({
|
|
45
58
|
padding: "var(--ds-space-200, 16px)",
|
|
46
59
|
height: '100%'
|
|
@@ -53,23 +66,25 @@ const shimmer = keyframes({
|
|
|
53
66
|
backgroundPosition: '1000px 0'
|
|
54
67
|
}
|
|
55
68
|
});
|
|
69
|
+
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
56
71
|
export const LoadingRectangle = styled.div`
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
position: relative;
|
|
73
|
+
height: ${props => props.contentHeight ? props.contentHeight : "var(--ds-space-200, 1rem)"};
|
|
74
|
+
margin-top: ${props => props.marginTop ? props.marginTop : "var(--ds-space-100, 8px)"};
|
|
75
|
+
width: ${props => props.contentWidth ? props.contentWidth : '100%'};
|
|
76
|
+
border-radius: ${"var(--ds-space-025, 2px)"};
|
|
77
|
+
animation-duration: 1.2s;
|
|
78
|
+
animation-fill-mode: forwards;
|
|
79
|
+
animation-iteration-count: infinite;
|
|
80
|
+
animation-name: ${shimmer};
|
|
81
|
+
animation-timing-function: linear;
|
|
82
|
+
background-color: ${`var(--ds-background-neutral, ${colors.N30})`};
|
|
83
|
+
background-image: linear-gradient(
|
|
84
|
+
to right,
|
|
85
|
+
${`var(--ds-background-neutral-subtle, ${colors.N30})`} 10%,
|
|
86
|
+
${`var(--ds-background-neutral, ${colors.N40})`} 20%,
|
|
87
|
+
${`var(--ds-background-neutral-subtle, ${colors.N30})`} 30%
|
|
88
|
+
);
|
|
89
|
+
background-repeat: no-repeat;
|
|
75
90
|
`;
|
package/dist/esm/analytics.js
CHANGED
|
@@ -68,7 +68,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
68
68
|
data: {
|
|
69
69
|
componentName: 'backButton',
|
|
70
70
|
packageName: "@atlaskit/help-layout",
|
|
71
|
-
packageVersion: "4.
|
|
71
|
+
packageVersion: "4.3.1"
|
|
72
72
|
}
|
|
73
73
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
74
74
|
};
|
|
@@ -43,7 +43,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
43
43
|
data: {
|
|
44
44
|
componentName: 'closeButton',
|
|
45
45
|
packageName: "@atlaskit/help-layout",
|
|
46
|
-
packageVersion: "4.
|
|
46
|
+
packageVersion: "4.3.1"
|
|
47
47
|
}
|
|
48
48
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
49
49
|
};
|
|
@@ -1,23 +1,34 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
6
|
export var HeaderContainer = styled.div({
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
5
8
|
backgroundColor: "var(--ds-background-neutral, ".concat(colors.N10, ")"),
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
6
10
|
borderBottom: "var(--ds-space-025, 2px)".concat(" solid ", "var(--ds-border, ".concat(colors.N30, ")")),
|
|
7
11
|
justifyContent: 'space-between',
|
|
8
12
|
position: 'relative'
|
|
9
13
|
});
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
16
|
export var CloseButtonContainer = styled.div({
|
|
11
17
|
position: 'absolute',
|
|
12
18
|
right: "var(--ds-space-100, 8px)",
|
|
13
19
|
top: "var(--ds-space-150, 12px)"
|
|
14
20
|
});
|
|
21
|
+
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
23
|
export var BackButtonContainer = styled.div({
|
|
16
24
|
position: 'absolute',
|
|
17
25
|
top: "var(--ds-space-150, 12px)",
|
|
18
26
|
left: "var(--ds-space-100, 8px)"
|
|
19
27
|
});
|
|
20
|
-
|
|
28
|
+
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
|
+
export var HeaderTitle = styled.h2({
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
21
32
|
color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
|
|
22
33
|
textAlign: 'center',
|
|
23
34
|
fontSize: '1rem',
|
|
@@ -30,6 +41,8 @@ export var HeaderTitle = styled.div({
|
|
|
30
41
|
overflow: 'hidden',
|
|
31
42
|
verticalAlign: 'middle'
|
|
32
43
|
});
|
|
44
|
+
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
33
46
|
export var HeaderContent = styled.div({
|
|
34
47
|
padding: "0 ".concat("var(--ds-space-200, 16px)", " ", "var(--ds-space-200, 16px)", " ", "var(--ds-space-200, 16px)")
|
|
35
48
|
});
|
|
@@ -4,9 +4,12 @@ var _templateObject;
|
|
|
4
4
|
/* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression */
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
8
|
import { keyframes } from '@emotion/react';
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
10
|
import styled from '@emotion/styled';
|
|
9
11
|
import * as colors from '@atlaskit/theme/colors';
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
13
|
export var Container = styled.div({
|
|
11
14
|
position: 'absolute',
|
|
12
15
|
top: 0,
|
|
@@ -17,13 +20,18 @@ export var Container = styled.div({
|
|
|
17
20
|
flexDirection: 'column',
|
|
18
21
|
backgroundColor: "var(--ds-surface, #FFFFFF)"
|
|
19
22
|
});
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
20
25
|
export var Section = styled.div({
|
|
21
26
|
flexGrow: 1,
|
|
22
27
|
display: 'flex',
|
|
23
28
|
flexDirection: 'column',
|
|
24
29
|
minHeight: 0
|
|
25
30
|
});
|
|
31
|
+
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
33
|
export var DividerLine = styled.div({
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
27
35
|
backgroundColor: "var(--ds-border, ".concat(colors.N30A, ")"),
|
|
28
36
|
height: "var(--ds-space-025, 2px)",
|
|
29
37
|
width: '100%',
|
|
@@ -31,10 +39,14 @@ export var DividerLine = styled.div({
|
|
|
31
39
|
marginTop: "var(--ds-space-200, 16px)",
|
|
32
40
|
boxSizing: 'border-box'
|
|
33
41
|
});
|
|
42
|
+
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
34
44
|
export var HelpFooter = styled.div({
|
|
35
45
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
36
46
|
boxSizing: 'border-box',
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
37
48
|
backgroundColor: "var(--ds-background-neutral, ".concat(colors.N10, ")"),
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
38
50
|
borderTop: "var(--ds-space-025, 2px)".concat(" solid ", "var(--ds-border, ".concat(colors.N30, ")")),
|
|
39
51
|
justifyContent: 'space-between'
|
|
40
52
|
});
|
|
@@ -43,6 +55,7 @@ export var HelpFooter = styled.div({
|
|
|
43
55
|
* Loading
|
|
44
56
|
*/
|
|
45
57
|
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
46
59
|
export var LoadingContainer = styled.div({
|
|
47
60
|
padding: "var(--ds-space-200, 16px)",
|
|
48
61
|
height: '100%'
|
|
@@ -55,7 +68,9 @@ var shimmer = keyframes({
|
|
|
55
68
|
backgroundPosition: '1000px 0'
|
|
56
69
|
}
|
|
57
70
|
});
|
|
58
|
-
|
|
71
|
+
|
|
72
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
73
|
+
export var LoadingRectangle = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: relative;\n\theight: ", ";\n\tmargin-top: ", ";\n\twidth: ", ";\n\tborder-radius: ", ";\n\tanimation-duration: 1.2s;\n\tanimation-fill-mode: forwards;\n\tanimation-iteration-count: infinite;\n\tanimation-name: ", ";\n\tanimation-timing-function: linear;\n\tbackground-color: ", ";\n\tbackground-image: linear-gradient(\n\t\tto right,\n\t\t", " 10%,\n\t\t", " 20%,\n\t\t", " 30%\n\t);\n\tbackground-repeat: no-repeat;\n"])), function (props) {
|
|
59
74
|
return props.contentHeight ? props.contentHeight : "var(--ds-space-200, 1rem)";
|
|
60
75
|
}, function (props) {
|
|
61
76
|
return props.marginTop ? props.marginTop : "var(--ds-space-100, 8px)";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
6
6
|
isVisible?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { HelpPanelHeader } from '../../model/HelpLayout';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type HelpPanelHeader } from '../../model/HelpLayout';
|
|
4
4
|
export declare const HelpContent: React.FC<HelpPanelHeader & WrappedComponentProps>;
|
|
5
5
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpPanelHeader & WrappedComponentProps>> & {
|
|
6
6
|
WrappedComponent: React.ComponentType<HelpPanelHeader & WrappedComponentProps>;
|
|
@@ -14,7 +14,7 @@ export declare const BackButtonContainer: import("@emotion/styled").StyledCompon
|
|
|
14
14
|
export declare const HeaderTitle: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
16
|
as?: import("react").ElementType<any> | undefined;
|
|
17
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
18
18
|
export declare const HeaderContent: import("@emotion/styled").StyledComponent<{
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
20
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
-
import { HelpLayout as HelpLayoutProps } from '../model/HelpLayout';
|
|
2
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type HelpLayout as HelpLayoutProps } from '../model/HelpLayout';
|
|
4
4
|
export type Props = HelpLayoutProps & WithAnalyticsEventsProps;
|
|
5
5
|
export declare class HelpLayout extends React.PureComponent<Props> {
|
|
6
6
|
render(): JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { HelpLayout } from '../model/HelpLayout';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type HelpLayout } from '../model/HelpLayout';
|
|
4
4
|
export declare const HelpContent: React.FC<HelpLayout & WrappedComponentProps>;
|
|
5
5
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpLayout & WrappedComponentProps>> & {
|
|
6
6
|
WrappedComponent: React.ComponentType<HelpLayout & WrappedComponentProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
6
6
|
isVisible?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
onClick(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { HelpPanelHeader } from '../../model/HelpLayout';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type HelpPanelHeader } from '../../model/HelpLayout';
|
|
4
4
|
export declare const HelpContent: React.FC<HelpPanelHeader & WrappedComponentProps>;
|
|
5
5
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpPanelHeader & WrappedComponentProps>> & {
|
|
6
6
|
WrappedComponent: React.ComponentType<HelpPanelHeader & WrappedComponentProps>;
|
|
@@ -14,7 +14,7 @@ export declare const BackButtonContainer: import("@emotion/styled").StyledCompon
|
|
|
14
14
|
export declare const HeaderTitle: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
16
|
as?: import("react").ElementType<any> | undefined;
|
|
17
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
18
18
|
export declare const HeaderContent: import("@emotion/styled").StyledComponent<{
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
20
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
-
import { HelpLayout as HelpLayoutProps } from '../model/HelpLayout';
|
|
2
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type HelpLayout as HelpLayoutProps } from '../model/HelpLayout';
|
|
4
4
|
export type Props = HelpLayoutProps & WithAnalyticsEventsProps;
|
|
5
5
|
export declare class HelpLayout extends React.PureComponent<Props> {
|
|
6
6
|
render(): JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { HelpLayout } from '../model/HelpLayout';
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import { type HelpLayout } from '../model/HelpLayout';
|
|
4
4
|
export declare const HelpContent: React.FC<HelpLayout & WrappedComponentProps>;
|
|
5
5
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpLayout & WrappedComponentProps>> & {
|
|
6
6
|
WrappedComponent: React.ComponentType<HelpLayout & WrappedComponentProps>;
|
package/package.json
CHANGED
|
@@ -1,82 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
}
|
|
2
|
+
"name": "@atlaskit/help-layout",
|
|
3
|
+
"version": "4.3.1",
|
|
4
|
+
"description": "Layout for the atlaskit/help component.",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"module:es2019": "dist/es2019/index.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"atlaskit:src": "src/index.ts",
|
|
25
|
+
"atlassian": {
|
|
26
|
+
"team": "Self-Help Experiences",
|
|
27
|
+
"releaseModel": "continuous",
|
|
28
|
+
"productPushConsumption": [
|
|
29
|
+
"jira"
|
|
30
|
+
],
|
|
31
|
+
"website": {
|
|
32
|
+
"name": "Help Layout"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
37
|
+
"@atlaskit/button": "^18.0.0",
|
|
38
|
+
"@atlaskit/icon": "^22.4.0",
|
|
39
|
+
"@atlaskit/theme": "^12.11.0",
|
|
40
|
+
"@atlaskit/tokens": "^1.52.0",
|
|
41
|
+
"@atlaskit/tooltip": "^18.5.0",
|
|
42
|
+
"@babel/runtime": "^7.0.0",
|
|
43
|
+
"@emotion/react": "^11.7.1",
|
|
44
|
+
"@emotion/styled": "^11.0.0",
|
|
45
|
+
"react-transition-group": "^4.4.1"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"react": "^16.8.0",
|
|
49
|
+
"react-dom": "^16.8.0",
|
|
50
|
+
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
51
|
+
"styled-components": "^3.2.6"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@atlaskit/navigation": "^37.0.0",
|
|
55
|
+
"@types/react-transition-group": "^2.0.6",
|
|
56
|
+
"algoliasearch": "^3.35.1",
|
|
57
|
+
"enzyme": "^3.10.0",
|
|
58
|
+
"react-test-renderer": "^16.8.0",
|
|
59
|
+
"typescript": "~5.4.2"
|
|
60
|
+
},
|
|
61
|
+
"keywords": [
|
|
62
|
+
"atlaskit",
|
|
63
|
+
"react",
|
|
64
|
+
"ui",
|
|
65
|
+
"help"
|
|
66
|
+
],
|
|
67
|
+
"techstack": {
|
|
68
|
+
"@repo/internal": {
|
|
69
|
+
"design-tokens": [
|
|
70
|
+
"color",
|
|
71
|
+
"spacing"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"af:exports": {
|
|
76
|
+
".": "./src/index.ts",
|
|
77
|
+
"./analytics": "./src/analytics.ts",
|
|
78
|
+
"./messages": "./src/messages.ts"
|
|
79
|
+
}
|
|
80
|
+
}
|