@atlaskit/quiz-widget 3.0.7 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/quiz-widget
|
|
2
2
|
|
|
3
|
+
## 3.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
|
|
8
|
+
[`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
|
|
9
|
+
Migrated usage of renamed/deprecated icons
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.0.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -12,12 +12,14 @@ var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
|
12
12
|
var _checkMarkCheck = _interopRequireDefault(require("@atlaskit/icon/core/migration/check-mark--check"));
|
|
13
13
|
var _chevronLeftChevronLeftLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-left--chevron-left-large"));
|
|
14
14
|
var _chevronRightChevronRightLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-right--chevron-right-large"));
|
|
15
|
-
var
|
|
15
|
+
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross"));
|
|
16
16
|
var _radio = require("@atlaskit/radio");
|
|
17
17
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
18
18
|
var _styled = require("./styled");
|
|
19
19
|
var _primitives = require("@atlaskit/primitives");
|
|
20
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
21
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
22
|
+
|
|
21
23
|
var boxWrapperStyles = (0, _primitives.xcss)({
|
|
22
24
|
width: '32px',
|
|
23
25
|
height: '32px',
|
|
@@ -76,7 +78,7 @@ var QuizWidget = function QuizWidget(props) {
|
|
|
76
78
|
spacing: "spacious",
|
|
77
79
|
label: "right",
|
|
78
80
|
color: "var(--ds-icon-success, #22A06B)"
|
|
79
|
-
}) : answer === checkedAnswer && /*#__PURE__*/_react.default.createElement(
|
|
81
|
+
}) : answer === checkedAnswer && /*#__PURE__*/_react.default.createElement(_cross.default, {
|
|
80
82
|
spacing: "spacious",
|
|
81
83
|
label: "wrong",
|
|
82
84
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
@@ -3,10 +3,11 @@ import Button from '@atlaskit/button';
|
|
|
3
3
|
import CheckIcon from '@atlaskit/icon/core/migration/check-mark--check';
|
|
4
4
|
import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
|
|
5
5
|
import ChevronRightLargeIcon from '@atlaskit/icon/core/migration/chevron-right--chevron-right-large';
|
|
6
|
-
import CrossIcon from '@atlaskit/icon/core/migration/
|
|
6
|
+
import CrossIcon from '@atlaskit/icon/core/migration/cross';
|
|
7
7
|
import { Radio } from '@atlaskit/radio';
|
|
8
8
|
import Spinner from '@atlaskit/spinner';
|
|
9
9
|
import { Answer, Footer, Header, NavQuiz, Question, Quiz, QuizBlock, QuizName, Score, NavAction } from './styled';
|
|
10
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
10
11
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
11
12
|
const boxWrapperStyles = xcss({
|
|
12
13
|
width: '32px',
|
|
@@ -4,10 +4,11 @@ import Button from '@atlaskit/button';
|
|
|
4
4
|
import CheckIcon from '@atlaskit/icon/core/migration/check-mark--check';
|
|
5
5
|
import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
|
|
6
6
|
import ChevronRightLargeIcon from '@atlaskit/icon/core/migration/chevron-right--chevron-right-large';
|
|
7
|
-
import CrossIcon from '@atlaskit/icon/core/migration/
|
|
7
|
+
import CrossIcon from '@atlaskit/icon/core/migration/cross';
|
|
8
8
|
import { Radio } from '@atlaskit/radio';
|
|
9
9
|
import Spinner from '@atlaskit/spinner';
|
|
10
10
|
import { Answer, Footer, Header, NavQuiz, Question, Quiz, QuizBlock, QuizName, Score, NavAction } from './styled';
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
11
12
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
12
13
|
var boxWrapperStyles = xcss({
|
|
13
14
|
width: '32px',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/quiz-widget",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
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",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"atlaskit:src": "src/index.ts",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@atlaskit/button": "^23.2.0",
|
|
38
|
-
"@atlaskit/icon": "^27.
|
|
39
|
-
"@atlaskit/primitives": "^14.
|
|
38
|
+
"@atlaskit/icon": "^27.5.0",
|
|
39
|
+
"@atlaskit/primitives": "^14.10.0",
|
|
40
40
|
"@atlaskit/radio": "^8.1.0",
|
|
41
41
|
"@atlaskit/spinner": "^18.0.0",
|
|
42
|
-
"@atlaskit/tokens": "^5.
|
|
42
|
+
"@atlaskit/tokens": "^5.6.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/styled": "^11.0.0"
|
|
45
45
|
},
|