@micromag/screen-quiz 0.3.365 → 0.3.369

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/es/index.js CHANGED
@@ -24,7 +24,7 @@ import Text from '@micromag/element-text';
24
24
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
25
25
  import { faCheck } from '@fortawesome/free-solid-svg-icons/faCheck';
26
26
  import { faTimes } from '@fortawesome/free-solid-svg-icons/faTimes';
27
- import { animated, useTransition } from '@react-spring/web';
27
+ import { animated, useTransition, easings } from '@react-spring/web';
28
28
  import Button from '@micromag/element-button';
29
29
  import { TransitionGroup, CSSTransition } from 'react-transition-group';
30
30
 
@@ -223,9 +223,10 @@ var Answers = function Answers(_ref) {
223
223
  height: hidden && showAnimation && !withoutGoodAnswer && !collapseAnimated && answersFinalCollapse ? 0 : 'auto'
224
224
  };
225
225
  },
226
+ // config: { tension: 300, friction: 35 },
226
227
  config: {
227
- tension: 300,
228
- friction: 35
228
+ duration: 300,
229
+ easing: easings.easeOutSine
229
230
  }
230
231
  });
231
232
  return /*#__PURE__*/React.createElement("div", {
package/lib/index.js CHANGED
@@ -246,9 +246,10 @@ var Answers = function Answers(_ref) {
246
246
  height: hidden && showAnimation && !withoutGoodAnswer && !collapseAnimated && answersFinalCollapse ? 0 : 'auto'
247
247
  };
248
248
  },
249
+ // config: { tension: 300, friction: 35 },
249
250
  config: {
250
- tension: 300,
251
- friction: 35
251
+ duration: 300,
252
+ easing: web.easings.easeOutSine
252
253
  }
253
254
  });
254
255
  return /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-quiz",
3
- "version": "0.3.365",
3
+ "version": "0.3.369",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,18 +52,18 @@
52
52
  "@fortawesome/fontawesome-svg-core": "^1.2.32",
53
53
  "@fortawesome/free-solid-svg-icons": "^5.15.1",
54
54
  "@fortawesome/react-fontawesome": "^0.1.13",
55
- "@micromag/core": "^0.3.362",
56
- "@micromag/data": "^0.3.362",
57
- "@micromag/element-background": "^0.3.362",
58
- "@micromag/element-button": "^0.3.362",
59
- "@micromag/element-container": "^0.3.362",
60
- "@micromag/element-footer": "^0.3.362",
61
- "@micromag/element-header": "^0.3.362",
62
- "@micromag/element-heading": "^0.3.362",
63
- "@micromag/element-layout": "^0.3.362",
64
- "@micromag/element-scroll": "^0.3.362",
65
- "@micromag/element-text": "^0.3.362",
66
- "@micromag/transforms": "^0.3.362",
55
+ "@micromag/core": "^0.3.369",
56
+ "@micromag/data": "^0.3.369",
57
+ "@micromag/element-background": "^0.3.369",
58
+ "@micromag/element-button": "^0.3.369",
59
+ "@micromag/element-container": "^0.3.369",
60
+ "@micromag/element-footer": "^0.3.369",
61
+ "@micromag/element-header": "^0.3.369",
62
+ "@micromag/element-heading": "^0.3.369",
63
+ "@micromag/element-layout": "^0.3.369",
64
+ "@micromag/element-scroll": "^0.3.369",
65
+ "@micromag/element-text": "^0.3.369",
66
+ "@micromag/transforms": "^0.3.369",
67
67
  "@react-spring/core": "^9.6.1",
68
68
  "@react-spring/web": "^9.6.1",
69
69
  "classnames": "^2.2.6",
@@ -76,5 +76,5 @@
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
- "gitHead": "6780ed31ccb0eba2293dc6b0fd067e98c5e56324"
79
+ "gitHead": "55706624c2879ead4acff84015ad51df2b7d293b"
80
80
  }