@atlaskit/quiz-widget 3.0.19 → 3.0.20

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,13 @@
1
1
  # @atlaskit/quiz-widget
2
2
 
3
+ ## 3.0.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [`6a82d7964a37b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6a82d7964a37b) -
8
+ Icon entrypoint migration
9
+ - Updated dependencies
10
+
3
11
  ## 3.0.19
4
12
 
5
13
  ### Patch Changes
@@ -9,9 +9,9 @@ exports.default = void 0;
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
  var _button = _interopRequireDefault(require("@atlaskit/button"));
12
- var _checkMarkCheck = _interopRequireDefault(require("@atlaskit/icon/core/migration/check-mark--check"));
13
- var _chevronLeftChevronLeftLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-left--chevron-left-large"));
14
- var _chevronRightChevronRightLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-right--chevron-right-large"));
12
+ var _checkMark = _interopRequireDefault(require("@atlaskit/icon/core/check-mark"));
13
+ var _chevronLeft = _interopRequireDefault(require("@atlaskit/icon/core/chevron-left"));
14
+ var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
15
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"));
@@ -74,7 +74,7 @@ var QuizWidget = function QuizWidget(props) {
74
74
  onChange: function onChange(e) {
75
75
  return _onChange(e, currentQuestionNumber);
76
76
  }
77
- }), props.score && correctAnswer && /*#__PURE__*/_react.default.createElement("span", null, answer === correctAnswer ? /*#__PURE__*/_react.default.createElement(_checkMarkCheck.default, {
77
+ }), props.score && correctAnswer && /*#__PURE__*/_react.default.createElement("span", null, answer === correctAnswer ? /*#__PURE__*/_react.default.createElement(_checkMark.default, {
78
78
  spacing: "spacious",
79
79
  label: "right",
80
80
  color: "var(--ds-icon-success, #6A9A23)"
@@ -94,7 +94,7 @@ var QuizWidget = function QuizWidget(props) {
94
94
  xcss: boxWrapperStyles,
95
95
  alignItems: "center",
96
96
  justifyContent: "center"
97
- }, /*#__PURE__*/_react.default.createElement(_chevronLeftChevronLeftLarge.default, {
97
+ }, /*#__PURE__*/_react.default.createElement(_chevronLeft.default, {
98
98
  label: "prev",
99
99
  color: "currentColor",
100
100
  LEGACY_size: "large",
@@ -112,7 +112,7 @@ var QuizWidget = function QuizWidget(props) {
112
112
  xcss: boxWrapperStyles,
113
113
  alignItems: "center",
114
114
  justifyContent: "center"
115
- }, /*#__PURE__*/_react.default.createElement(_chevronRightChevronRightLarge.default, {
115
+ }, /*#__PURE__*/_react.default.createElement(_chevronRight.default, {
116
116
  label: "next",
117
117
  color: "currentColor",
118
118
  LEGACY_size: "large",
@@ -125,7 +125,7 @@ var QuizWidget = function QuizWidget(props) {
125
125
  xcss: boxWrapperStyles,
126
126
  alignItems: "center",
127
127
  justifyContent: "center"
128
- }, /*#__PURE__*/_react.default.createElement(_chevronRightChevronRightLarge.default, {
128
+ }, /*#__PURE__*/_react.default.createElement(_chevronRight.default, {
129
129
  label: "next",
130
130
  color: "currentColor",
131
131
  LEGACY_size: "large",
@@ -1,8 +1,8 @@
1
1
  import React, { useState } from 'react';
2
2
  import Button from '@atlaskit/button';
3
- import CheckIcon from '@atlaskit/icon/core/migration/check-mark--check';
4
- import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
5
- import ChevronRightLargeIcon from '@atlaskit/icon/core/migration/chevron-right--chevron-right-large';
3
+ import CheckIcon from '@atlaskit/icon/core/check-mark';
4
+ import ChevronLeftLargeIcon from '@atlaskit/icon/core/chevron-left';
5
+ import ChevronRightLargeIcon from '@atlaskit/icon/core/chevron-right';
6
6
  import CrossIcon from '@atlaskit/icon/core/migration/cross';
7
7
  import { Radio } from '@atlaskit/radio';
8
8
  import Spinner from '@atlaskit/spinner';
@@ -1,9 +1,9 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import React, { useState } from 'react';
3
3
  import Button from '@atlaskit/button';
4
- import CheckIcon from '@atlaskit/icon/core/migration/check-mark--check';
5
- import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
6
- import ChevronRightLargeIcon from '@atlaskit/icon/core/migration/chevron-right--chevron-right-large';
4
+ import CheckIcon from '@atlaskit/icon/core/check-mark';
5
+ import ChevronLeftLargeIcon from '@atlaskit/icon/core/chevron-left';
6
+ import ChevronRightLargeIcon from '@atlaskit/icon/core/chevron-right';
7
7
  import CrossIcon from '@atlaskit/icon/core/migration/cross';
8
8
  import { Radio } from '@atlaskit/radio';
9
9
  import Spinner from '@atlaskit/spinner';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/quiz-widget",
3
- "version": "3.0.19",
3
+ "version": "3.0.20",
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",
@@ -31,12 +31,12 @@
31
31
  ],
32
32
  "atlaskit:src": "src/index.ts",
33
33
  "dependencies": {
34
- "@atlaskit/button": "^23.6.0",
35
- "@atlaskit/icon": "^29.0.0",
36
- "@atlaskit/primitives": "^16.4.0",
34
+ "@atlaskit/button": "^23.9.0",
35
+ "@atlaskit/icon": "^29.3.0",
36
+ "@atlaskit/primitives": "^17.0.0",
37
37
  "@atlaskit/radio": "^8.3.0",
38
38
  "@atlaskit/spinner": "^19.0.0",
39
- "@atlaskit/tokens": "^8.3.0",
39
+ "@atlaskit/tokens": "^9.0.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "@emotion/styled": "^11.0.0"
42
42
  },
@@ -45,7 +45,7 @@
45
45
  "react-dom": "^18.2.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@testing-library/react": "^13.4.0",
48
+ "@testing-library/react": "^16.3.0",
49
49
  "enzyme": "^3.10.0",
50
50
  "wait-for-expect": "^1.2.0"
51
51
  }