@atlaskit/quiz-widget 3.0.31 → 3.0.32
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/components/QuizWidget/styled.js +12 -11
- package/dist/cjs/styled.js +3 -2
- package/dist/es2019/components/QuizWidget/styled.js +12 -11
- package/dist/es2019/styled.js +3 -2
- package/dist/esm/components/QuizWidget/styled.js +12 -11
- package/dist/esm/styled.js +3 -2
- package/dist/types/components/QuizWidget/styled.d.ts +33 -30
- package/dist/types/styled.d.ts +6 -3
- package/dist/types-ts4.5/components/QuizWidget/styled.d.ts +33 -30
- package/dist/types-ts4.5/styled.d.ts +6 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,9 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.Score = exports.QuizName = exports.QuizBlock = exports.Quiz = exports.Question = exports.NavQuiz = exports.NavAction = exports.Header = exports.Footer = exports.Answer = void 0;
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
|
-
|
|
9
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
10
|
+
/* eslint-disable @atlaskit/ui-styling-standard/no-styled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
10
11
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
13
|
var Quiz = exports.Quiz = _styled.default.div({
|
|
13
14
|
display: 'flex',
|
|
14
15
|
flexDirection: 'column',
|
|
@@ -21,21 +22,21 @@ var Quiz = exports.Quiz = _styled.default.div({
|
|
|
21
22
|
maxWidth: '380px'
|
|
22
23
|
});
|
|
23
24
|
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
26
|
var QuizName = exports.QuizName = _styled.default.div({
|
|
26
27
|
margin: '3px 0',
|
|
27
28
|
font: "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
28
29
|
paddingLeft: "var(--ds-space-250, 20px)"
|
|
29
30
|
});
|
|
30
31
|
|
|
31
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
32
33
|
var Header = exports.Header = _styled.default.div({
|
|
33
34
|
display: 'flex',
|
|
34
35
|
alignItems: 'start',
|
|
35
36
|
flexDirection: 'column'
|
|
36
37
|
});
|
|
37
38
|
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
39
40
|
var QuizBlock = exports.QuizBlock = _styled.default.ul({
|
|
40
41
|
paddingLeft: "var(--ds-space-200, 16px)",
|
|
41
42
|
marginBottom: "var(--ds-space-200, 16px)",
|
|
@@ -43,7 +44,7 @@ var QuizBlock = exports.QuizBlock = _styled.default.ul({
|
|
|
43
44
|
minHeight: '105px'
|
|
44
45
|
});
|
|
45
46
|
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
47
48
|
var Footer = exports.Footer = _styled.default.div({
|
|
48
49
|
paddingLeft: "var(--ds-space-100, 8px)",
|
|
49
50
|
display: 'flex',
|
|
@@ -52,7 +53,7 @@ var Footer = exports.Footer = _styled.default.div({
|
|
|
52
53
|
maxHeight: '32px'
|
|
53
54
|
});
|
|
54
55
|
|
|
55
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
56
57
|
var Question = exports.Question = _styled.default.div({
|
|
57
58
|
paddingLeft: "var(--ds-space-075, 6px)",
|
|
58
59
|
marginBottom: "var(--ds-space-150, 12px)",
|
|
@@ -61,7 +62,7 @@ var Question = exports.Question = _styled.default.div({
|
|
|
61
62
|
textAlign: 'left'
|
|
62
63
|
});
|
|
63
64
|
|
|
64
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
65
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
65
66
|
var NavQuiz = exports.NavQuiz = _styled.default.div({
|
|
66
67
|
display: 'flex',
|
|
67
68
|
alignContent: 'center',
|
|
@@ -73,7 +74,7 @@ var NavQuiz = exports.NavQuiz = _styled.default.div({
|
|
|
73
74
|
}
|
|
74
75
|
});
|
|
75
76
|
|
|
76
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
77
78
|
var NavAction = exports.NavAction = _styled.default.span({
|
|
78
79
|
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
79
80
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
@@ -81,7 +82,7 @@ var NavAction = exports.NavAction = _styled.default.span({
|
|
|
81
82
|
alignItems: 'center'
|
|
82
83
|
});
|
|
83
84
|
|
|
84
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
85
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
85
86
|
var Score = exports.Score = _styled.default.div({
|
|
86
87
|
marginTop: "var(--ds-space-150, 12px)",
|
|
87
88
|
paddingLeft: "var(--ds-space-075, 6px)",
|
|
@@ -92,7 +93,7 @@ var Score = exports.Score = _styled.default.div({
|
|
|
92
93
|
gap: "var(--ds-space-075, 6px)"
|
|
93
94
|
});
|
|
94
95
|
|
|
95
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
96
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
96
97
|
var Answer = exports.Answer = _styled.default.div({
|
|
97
98
|
display: 'flex',
|
|
98
99
|
alignItems: 'flex-end',
|
package/dist/cjs/styled.js
CHANGED
|
@@ -6,9 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.QuizWrapper = void 0;
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
|
-
|
|
9
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
10
|
+
/* eslint-disable @atlaskit/ui-styling-standard/no-styled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
10
11
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
13
|
var QuizWrapper = exports.QuizWrapper = _styled.default.div({
|
|
13
14
|
display: 'flex',
|
|
14
15
|
justifyContent: 'center',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
2
|
+
/* eslint-disable @atlaskit/ui-styling-standard/no-styled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
5
|
export const Quiz = styled.div({
|
|
5
6
|
display: 'flex',
|
|
6
7
|
flexDirection: 'column',
|
|
@@ -13,21 +14,21 @@ export const Quiz = styled.div({
|
|
|
13
14
|
maxWidth: '380px'
|
|
14
15
|
});
|
|
15
16
|
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
18
|
export const QuizName = styled.div({
|
|
18
19
|
margin: '3px 0',
|
|
19
20
|
font: "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
20
21
|
paddingLeft: "var(--ds-space-250, 20px)"
|
|
21
22
|
});
|
|
22
23
|
|
|
23
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
24
25
|
export const Header = styled.div({
|
|
25
26
|
display: 'flex',
|
|
26
27
|
alignItems: 'start',
|
|
27
28
|
flexDirection: 'column'
|
|
28
29
|
});
|
|
29
30
|
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
32
|
export const QuizBlock = styled.ul({
|
|
32
33
|
paddingLeft: "var(--ds-space-200, 16px)",
|
|
33
34
|
marginBottom: "var(--ds-space-200, 16px)",
|
|
@@ -35,7 +36,7 @@ export const QuizBlock = styled.ul({
|
|
|
35
36
|
minHeight: '105px'
|
|
36
37
|
});
|
|
37
38
|
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
39
40
|
export const Footer = styled.div({
|
|
40
41
|
paddingLeft: "var(--ds-space-100, 8px)",
|
|
41
42
|
display: 'flex',
|
|
@@ -44,7 +45,7 @@ export const Footer = styled.div({
|
|
|
44
45
|
maxHeight: '32px'
|
|
45
46
|
});
|
|
46
47
|
|
|
47
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
48
49
|
export const Question = styled.div({
|
|
49
50
|
paddingLeft: "var(--ds-space-075, 6px)",
|
|
50
51
|
marginBottom: "var(--ds-space-150, 12px)",
|
|
@@ -53,7 +54,7 @@ export const Question = styled.div({
|
|
|
53
54
|
textAlign: 'left'
|
|
54
55
|
});
|
|
55
56
|
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
57
58
|
export const NavQuiz = styled.div({
|
|
58
59
|
display: 'flex',
|
|
59
60
|
alignContent: 'center',
|
|
@@ -65,7 +66,7 @@ export const NavQuiz = styled.div({
|
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
|
|
68
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
69
70
|
export const NavAction = styled.span({
|
|
70
71
|
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
71
72
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
@@ -73,7 +74,7 @@ export const NavAction = styled.span({
|
|
|
73
74
|
alignItems: 'center'
|
|
74
75
|
});
|
|
75
76
|
|
|
76
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
77
78
|
export const Score = styled.div({
|
|
78
79
|
marginTop: "var(--ds-space-150, 12px)",
|
|
79
80
|
paddingLeft: "var(--ds-space-075, 6px)",
|
|
@@ -84,7 +85,7 @@ export const Score = styled.div({
|
|
|
84
85
|
gap: "var(--ds-space-075, 6px)"
|
|
85
86
|
});
|
|
86
87
|
|
|
87
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
88
89
|
export const Answer = styled.div({
|
|
89
90
|
display: 'flex',
|
|
90
91
|
alignItems: 'flex-end',
|
package/dist/es2019/styled.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
2
|
+
/* eslint-disable @atlaskit/ui-styling-standard/no-styled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
5
|
export const QuizWrapper = styled.div({
|
|
5
6
|
display: 'flex',
|
|
6
7
|
justifyContent: 'center',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
2
|
+
/* eslint-disable @atlaskit/ui-styling-standard/no-styled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
5
|
export var Quiz = styled.div({
|
|
5
6
|
display: 'flex',
|
|
6
7
|
flexDirection: 'column',
|
|
@@ -13,21 +14,21 @@ export var Quiz = styled.div({
|
|
|
13
14
|
maxWidth: '380px'
|
|
14
15
|
});
|
|
15
16
|
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
18
|
export var QuizName = styled.div({
|
|
18
19
|
margin: '3px 0',
|
|
19
20
|
font: "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
20
21
|
paddingLeft: "var(--ds-space-250, 20px)"
|
|
21
22
|
});
|
|
22
23
|
|
|
23
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
24
25
|
export var Header = styled.div({
|
|
25
26
|
display: 'flex',
|
|
26
27
|
alignItems: 'start',
|
|
27
28
|
flexDirection: 'column'
|
|
28
29
|
});
|
|
29
30
|
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
32
|
export var QuizBlock = styled.ul({
|
|
32
33
|
paddingLeft: "var(--ds-space-200, 16px)",
|
|
33
34
|
marginBottom: "var(--ds-space-200, 16px)",
|
|
@@ -35,7 +36,7 @@ export var QuizBlock = styled.ul({
|
|
|
35
36
|
minHeight: '105px'
|
|
36
37
|
});
|
|
37
38
|
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
39
40
|
export var Footer = styled.div({
|
|
40
41
|
paddingLeft: "var(--ds-space-100, 8px)",
|
|
41
42
|
display: 'flex',
|
|
@@ -44,7 +45,7 @@ export var Footer = styled.div({
|
|
|
44
45
|
maxHeight: '32px'
|
|
45
46
|
});
|
|
46
47
|
|
|
47
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
48
49
|
export var Question = styled.div({
|
|
49
50
|
paddingLeft: "var(--ds-space-075, 6px)",
|
|
50
51
|
marginBottom: "var(--ds-space-150, 12px)",
|
|
@@ -53,7 +54,7 @@ export var Question = styled.div({
|
|
|
53
54
|
textAlign: 'left'
|
|
54
55
|
});
|
|
55
56
|
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
57
58
|
export var NavQuiz = styled.div({
|
|
58
59
|
display: 'flex',
|
|
59
60
|
alignContent: 'center',
|
|
@@ -65,7 +66,7 @@ export var NavQuiz = styled.div({
|
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
|
|
68
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
69
70
|
export var NavAction = styled.span({
|
|
70
71
|
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
71
72
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
@@ -73,7 +74,7 @@ export var NavAction = styled.span({
|
|
|
73
74
|
alignItems: 'center'
|
|
74
75
|
});
|
|
75
76
|
|
|
76
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
77
78
|
export var Score = styled.div({
|
|
78
79
|
marginTop: "var(--ds-space-150, 12px)",
|
|
79
80
|
paddingLeft: "var(--ds-space-075, 6px)",
|
|
@@ -84,7 +85,7 @@ export var Score = styled.div({
|
|
|
84
85
|
gap: "var(--ds-space-075, 6px)"
|
|
85
86
|
});
|
|
86
87
|
|
|
87
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
88
89
|
export var Answer = styled.div({
|
|
89
90
|
display: 'flex',
|
|
90
91
|
alignItems: 'flex-end',
|
package/dist/esm/styled.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
2
|
+
/* eslint-disable @atlaskit/ui-styling-standard/no-styled -- legacy @emotion in quiz-widget; migrate go/DSP-18766 */
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
5
|
export var QuizWrapper = styled.div({
|
|
5
6
|
display: 'flex',
|
|
6
7
|
justifyContent: 'center',
|
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { type StyledComponent } from '@emotion/styled';
|
|
2
|
+
import type { Theme } from '@emotion/react';
|
|
3
|
+
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
|
+
export declare const Quiz: StyledComponent<{
|
|
3
5
|
as?: React.ElementType;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
+
export declare const QuizName: StyledComponent<{
|
|
7
9
|
as?: React.ElementType;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
+
export declare const Header: StyledComponent<{
|
|
11
13
|
as?: React.ElementType;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
theme?: Theme;
|
|
15
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
16
|
+
export declare const QuizBlock: StyledComponent<{
|
|
15
17
|
as?: React.ElementType;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
theme?: Theme;
|
|
19
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
20
|
+
export declare const Footer: StyledComponent<{
|
|
19
21
|
as?: React.ElementType;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
theme?: Theme;
|
|
23
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
24
|
+
export declare const Question: StyledComponent<{
|
|
23
25
|
as?: React.ElementType;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
theme?: Theme;
|
|
27
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
+
export declare const NavQuiz: StyledComponent<{
|
|
27
29
|
as?: React.ElementType;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
theme?: Theme;
|
|
31
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
|
+
export declare const NavAction: StyledComponent<{
|
|
31
33
|
as?: React.ElementType;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
theme?: Theme;
|
|
35
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
36
|
+
export declare const Score: StyledComponent<{
|
|
35
37
|
as?: React.ElementType;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
theme?: Theme;
|
|
39
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
40
|
+
export declare const Answer: StyledComponent<{
|
|
39
41
|
as?: React.ElementType;
|
|
40
|
-
|
|
42
|
+
theme?: Theme;
|
|
43
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/dist/types/styled.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { type StyledComponent } from '@emotion/styled';
|
|
2
|
+
import type { Theme } from '@emotion/react';
|
|
3
|
+
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
|
+
export declare const QuizWrapper: StyledComponent<{
|
|
3
5
|
as?: React.ElementType;
|
|
4
|
-
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { type StyledComponent } from '@emotion/styled';
|
|
2
|
+
import type { Theme } from '@emotion/react';
|
|
3
|
+
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
|
+
export declare const Quiz: StyledComponent<{
|
|
3
5
|
as?: React.ElementType;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
+
export declare const QuizName: StyledComponent<{
|
|
7
9
|
as?: React.ElementType;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
+
export declare const Header: StyledComponent<{
|
|
11
13
|
as?: React.ElementType;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
theme?: Theme;
|
|
15
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
16
|
+
export declare const QuizBlock: StyledComponent<{
|
|
15
17
|
as?: React.ElementType;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
theme?: Theme;
|
|
19
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
20
|
+
export declare const Footer: StyledComponent<{
|
|
19
21
|
as?: React.ElementType;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
theme?: Theme;
|
|
23
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
24
|
+
export declare const Question: StyledComponent<{
|
|
23
25
|
as?: React.ElementType;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
theme?: Theme;
|
|
27
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
+
export declare const NavQuiz: StyledComponent<{
|
|
27
29
|
as?: React.ElementType;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
theme?: Theme;
|
|
31
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
|
+
export declare const NavAction: StyledComponent<{
|
|
31
33
|
as?: React.ElementType;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
theme?: Theme;
|
|
35
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
36
|
+
export declare const Score: StyledComponent<{
|
|
35
37
|
as?: React.ElementType;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
theme?: Theme;
|
|
39
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
40
|
+
export declare const Answer: StyledComponent<{
|
|
39
41
|
as?: React.ElementType;
|
|
40
|
-
|
|
42
|
+
theme?: Theme;
|
|
43
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { type StyledComponent } from '@emotion/styled';
|
|
2
|
+
import type { Theme } from '@emotion/react';
|
|
3
|
+
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
|
+
export declare const QuizWrapper: StyledComponent<{
|
|
3
5
|
as?: React.ElementType;
|
|
4
|
-
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
}, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/quiz-widget",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.32",
|
|
4
4
|
"description": "A React component that gives a possibility to pass quizzes",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"atlaskit:src": "src/index.ts",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/button": "^23.11.0",
|
|
35
|
-
"@atlaskit/icon": "^
|
|
35
|
+
"@atlaskit/icon": "^35.0.0",
|
|
36
36
|
"@atlaskit/primitives": "^19.0.0",
|
|
37
|
-
"@atlaskit/radio": "^8.
|
|
37
|
+
"@atlaskit/radio": "^8.6.0",
|
|
38
38
|
"@atlaskit/spinner": "^19.1.0",
|
|
39
39
|
"@atlaskit/tokens": "^13.0.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|