@invisionag/iris-react-animation
Advanced tools
Comparing version 2.4.5 to 2.4.6
@@ -117,4 +117,12 @@ module.exports = | ||
"use strict"; | ||
// ESM COMPAT FLAG | ||
__webpack_require__.r(__webpack_exports__); | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "AnimationStateChanger", function() { return /* reexport */ AnimationStateChanger; }); | ||
__webpack_require__.d(__webpack_exports__, "AnimationDelayer", function() { return /* reexport */ delayer; }); | ||
__webpack_require__.d(__webpack_exports__, "AnimationDelayContext", function() { return /* reexport */ AnimationDelayContext; }); | ||
__webpack_require__.d(__webpack_exports__, "defaultLottieOptions", function() { return /* binding */ defaultLottieOptions; }); | ||
__webpack_require__.d(__webpack_exports__, "Animation", function() { return /* binding */ src_Animation; }); | ||
// EXTERNAL MODULE: external "react" | ||
@@ -144,3 +152,3 @@ var external_react_ = __webpack_require__(0); | ||
var AnimationStateChanger = external_styled_components_default()('div').withConfig({ | ||
var AnimationStateChanger = /*#__PURE__*/external_styled_components_default()('div').withConfig({ | ||
displayName: "styles__AnimationStateChanger", | ||
@@ -159,2 +167,4 @@ componentId: "koddox-0" | ||
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } | ||
@@ -164,2 +174,4 @@ | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } | ||
@@ -180,5 +192,5 @@ | ||
var _super = _createSuper(AnimationDelayer); | ||
function AnimationDelayer() { | ||
var _getPrototypeOf2; | ||
var _this; | ||
@@ -192,3 +204,3 @@ | ||
_this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(AnimationDelayer)).call.apply(_getPrototypeOf2, [this].concat(args))); | ||
_this = _super.call.apply(_super, [this].concat(args)); | ||
_this.timeoutId = null; | ||
@@ -225,5 +237,5 @@ _this.state = { | ||
var children = this.props.children; | ||
return external_react_default.a.createElement(AnimationDelayContext.Provider, { | ||
return /*#__PURE__*/external_react_default.a.createElement(AnimationDelayContext.Provider, { | ||
value: this.state | ||
}, external_react_default.a.createElement(AnimationStateChanger, { | ||
}, /*#__PURE__*/external_react_default.a.createElement(AnimationStateChanger, { | ||
paused: animationDelayed | ||
@@ -242,7 +254,2 @@ }, children)); | ||
// CONCATENATED MODULE: ./packages/react-animation/src/index.js | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultLottieOptions", function() { return defaultLottieOptions; }); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Animation", function() { return src_Animation; }); | ||
/* concated harmony reexport AnimationStateChanger */__webpack_require__.d(__webpack_exports__, "AnimationStateChanger", function() { return AnimationStateChanger; }); | ||
/* concated harmony reexport AnimationDelayer */__webpack_require__.d(__webpack_exports__, "AnimationDelayer", function() { return delayer; }); | ||
/* concated harmony reexport AnimationDelayContext */__webpack_require__.d(__webpack_exports__, "AnimationDelayContext", function() { return AnimationDelayContext; }); | ||
function src_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { src_typeof = function _typeof(obj) { return typeof obj; }; } else { src_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return src_typeof(obj); } | ||
@@ -268,2 +275,4 @@ | ||
function src_createSuper(Derived) { return function () { var Super = src_getPrototypeOf(Derived), result; if (src_isNativeReflectConstruct()) { var NewTarget = src_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return src_possibleConstructorReturn(this, result); }; } | ||
function src_possibleConstructorReturn(self, call) { if (call && (src_typeof(call) === "object" || typeof call === "function")) { return call; } return src_assertThisInitialized(self); } | ||
@@ -273,2 +282,4 @@ | ||
function src_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
function src_getPrototypeOf(o) { src_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return src_getPrototypeOf(o); } | ||
@@ -297,5 +308,5 @@ | ||
var _super = src_createSuper(Animation); | ||
function Animation() { | ||
var _getPrototypeOf2; | ||
var _this; | ||
@@ -309,3 +320,3 @@ | ||
_this = src_possibleConstructorReturn(this, (_getPrototypeOf2 = src_getPrototypeOf(Animation)).call.apply(_getPrototypeOf2, [this].concat(args))); | ||
_this = _super.call.apply(_super, [this].concat(args)); | ||
_this.ref = void 0; | ||
@@ -347,3 +358,3 @@ _this.animation = void 0; | ||
if (typeof children !== 'function') return null; | ||
return external_react_default.a.createElement(AnimationDelayContext.Consumer, null, function (_ref) { | ||
return /*#__PURE__*/external_react_default.a.createElement(AnimationDelayContext.Consumer, null, function (_ref) { | ||
var animationDelayed = _ref.animationDelayed; | ||
@@ -378,3 +389,3 @@ | ||
return external_react_default.a.createElement(iris_react_image_container_default.a, _extends({}, rest, { | ||
return /*#__PURE__*/external_react_default.a.createElement(iris_react_image_container_default.a, _extends({}, rest, { | ||
ref: onRef | ||
@@ -381,0 +392,0 @@ })); |
{ | ||
"name": "@invisionag/iris-react-animation", | ||
"version": "2.4.5", | ||
"version": "2.4.6", | ||
"main": "dist/index.js", | ||
@@ -8,5 +8,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@invisionag/iris-react-image-container": "^2.5.5", | ||
"@invisionag/iris-settings": "^6.3.5", | ||
"@invisionag/iris-tools": "^4.3.4", | ||
"@invisionag/iris-react-image-container": "^2.5.6", | ||
"@invisionag/iris-settings": "^6.3.6", | ||
"@invisionag/iris-tools": "^4.3.5", | ||
"classnames": "^2.2.6", | ||
@@ -17,3 +17,3 @@ "lottie-web": "^5.6.5" | ||
"@invisionag/injixo-tokens": "^1.0.4", | ||
"@invisionag/iris-react-spinner": "^4.4.5" | ||
"@invisionag/iris-react-spinner": "^4.4.6" | ||
}, | ||
@@ -23,3 +23,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "662296b8420b3238b91e155127cbd1b5bb00accb" | ||
"gitHead": "d0f35d85f2add012d1d0f01ec3a5cf9109c7e618" | ||
} |
@@ -31,3 +31,3 @@ // @flow | ||
*/ | ||
children?: RenderPropParams => React$Node, | ||
children?: (RenderPropParams) => React$Node, | ||
/** | ||
@@ -34,0 +34,0 @@ * Options that will be passed on to lottie. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30009
464