@atlaskit/quiz-widget 2.1.4 → 2.1.6
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 +12 -0
- package/package.json +3 -3
- package/tmp/api-report-tmp.d.ts +0 -45
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/quiz-widget",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
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",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"atlaskit:src": "src/index.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/button": "^
|
|
37
|
-
"@atlaskit/icon": "^
|
|
36
|
+
"@atlaskit/button": "^17.0.0",
|
|
37
|
+
"@atlaskit/icon": "^22.0.0",
|
|
38
38
|
"@atlaskit/radio": "^6.0.0",
|
|
39
39
|
"@atlaskit/spinner": "^16.0.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/quiz-widget"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
|
|
9
|
-
// @public (undocumented)
|
|
10
|
-
interface Props {
|
|
11
|
-
// (undocumented)
|
|
12
|
-
correctAnswers?: QuizElement | null;
|
|
13
|
-
// (undocumented)
|
|
14
|
-
onNextButtonClick?: () => void;
|
|
15
|
-
// (undocumented)
|
|
16
|
-
onSubmitButtonClick?: (choosenAnswers: string[]) => void;
|
|
17
|
-
// (undocumented)
|
|
18
|
-
quizContent: QuizInterface;
|
|
19
|
-
// (undocumented)
|
|
20
|
-
score: null | number;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// @public (undocumented)
|
|
24
|
-
type QuizElement = {
|
|
25
|
-
[key: number]: string;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
interface QuizInterface {
|
|
30
|
-
// (undocumented)
|
|
31
|
-
answers: {
|
|
32
|
-
[key: number]: string[];
|
|
33
|
-
};
|
|
34
|
-
// (undocumented)
|
|
35
|
-
name: string;
|
|
36
|
-
// (undocumented)
|
|
37
|
-
questions: QuizElement;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// @public (undocumented)
|
|
41
|
-
export const QuizWidget: (props: Props) => JSX.Element;
|
|
42
|
-
|
|
43
|
-
// (No @packageDocumentation comment for this package)
|
|
44
|
-
|
|
45
|
-
```
|