@invisionag/iris-react-animation
Advanced tools
Comparing version 2.4.12 to 2.4.14
@@ -85,3 +85,3 @@ module.exports = | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 4); | ||
/******/ return __webpack_require__(__webpack_require__.s = 13); | ||
/******/ }) | ||
@@ -99,3 +99,3 @@ /************************************************************************/ | ||
module.exports = require("lottie-web"); | ||
module.exports = require("@babel/runtime/helpers/getPrototypeOf"); | ||
@@ -106,3 +106,3 @@ /***/ }), | ||
module.exports = require("@invisionag/iris-react-image-container"); | ||
module.exports = require("@babel/runtime/helpers/classCallCheck"); | ||
@@ -113,6 +113,60 @@ /***/ }), | ||
module.exports = require("@babel/runtime/helpers/createClass"); | ||
/***/ }), | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("@babel/runtime/helpers/inherits"); | ||
/***/ }), | ||
/* 5 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("@babel/runtime/helpers/possibleConstructorReturn"); | ||
/***/ }), | ||
/* 6 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("@babel/runtime/helpers/objectWithoutProperties"); | ||
/***/ }), | ||
/* 7 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("@babel/runtime/helpers/extends"); | ||
/***/ }), | ||
/* 8 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("@babel/runtime/helpers/defineProperty"); | ||
/***/ }), | ||
/* 9 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("lottie-web"); | ||
/***/ }), | ||
/* 10 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("@invisionag/iris-react-image-container"); | ||
/***/ }), | ||
/* 11 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral"); | ||
/***/ }), | ||
/* 12 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("styled-components"); | ||
/***/ }), | ||
/* 4 */ | ||
/* 13 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -131,2 +185,34 @@ | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends" | ||
var extends_ = __webpack_require__(7); | ||
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_); | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty" | ||
var defineProperty_ = __webpack_require__(8); | ||
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_); | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/objectWithoutProperties" | ||
var objectWithoutProperties_ = __webpack_require__(6); | ||
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties_); | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/classCallCheck" | ||
var classCallCheck_ = __webpack_require__(2); | ||
var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck_); | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/createClass" | ||
var createClass_ = __webpack_require__(3); | ||
var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass_); | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/inherits" | ||
var inherits_ = __webpack_require__(4); | ||
var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits_); | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/possibleConstructorReturn" | ||
var possibleConstructorReturn_ = __webpack_require__(5); | ||
var possibleConstructorReturn_default = /*#__PURE__*/__webpack_require__.n(possibleConstructorReturn_); | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/getPrototypeOf" | ||
var getPrototypeOf_ = __webpack_require__(1); | ||
var getPrototypeOf_default = /*#__PURE__*/__webpack_require__.n(getPrototypeOf_); | ||
// EXTERNAL MODULE: external "react" | ||
@@ -137,11 +223,15 @@ var external_react_ = __webpack_require__(0); | ||
// EXTERNAL MODULE: external "lottie-web" | ||
var external_lottie_web_ = __webpack_require__(1); | ||
var external_lottie_web_ = __webpack_require__(9); | ||
var external_lottie_web_default = /*#__PURE__*/__webpack_require__.n(external_lottie_web_); | ||
// EXTERNAL MODULE: external "@invisionag/iris-react-image-container" | ||
var iris_react_image_container_ = __webpack_require__(2); | ||
var iris_react_image_container_ = __webpack_require__(10); | ||
var iris_react_image_container_default = /*#__PURE__*/__webpack_require__.n(iris_react_image_container_); | ||
// EXTERNAL MODULE: external "@babel/runtime/helpers/taggedTemplateLiteral" | ||
var taggedTemplateLiteral_ = __webpack_require__(11); | ||
var taggedTemplateLiteral_default = /*#__PURE__*/__webpack_require__.n(taggedTemplateLiteral_); | ||
// EXTERNAL MODULE: external "styled-components" | ||
var external_styled_components_ = __webpack_require__(3); | ||
var external_styled_components_ = __webpack_require__(12); | ||
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_); | ||
@@ -152,2 +242,14 @@ | ||
function _templateObject() { | ||
var data = taggedTemplateLiteral_default()(["\n animation-play-state: ", ";\n\n * {\n animation-play-state: ", ";\n }\n"]); | ||
_templateObject = function _templateObject() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
var animationPlayState = function animationPlayState(_ref) { | ||
@@ -158,32 +260,17 @@ var paused = _ref.paused; | ||
var AnimationStateChanger = /*#__PURE__*/external_styled_components_default()('div').withConfig({ | ||
displayName: "styles__AnimationStateChanger", | ||
componentId: "koddox-0" | ||
})(["animation-play-state:", ";*{animation-play-state:", ";}"], animationPlayState, animationPlayState); | ||
var AnimationStateChanger = external_styled_components_default()('div')(_templateObject(), animationPlayState, animationPlayState); | ||
/* harmony default export */ var styles = ({}); | ||
// CONCATENATED MODULE: ./packages/react-animation/src/delayer.js | ||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = getPrototypeOf_default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf_default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn_default()(this, result); }; } | ||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } | ||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } | ||
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); } | ||
var AnimationDelayContext = external_react_default.a.createContext({ | ||
@@ -194,3 +281,3 @@ animationDelayed: false | ||
var delayer_AnimationDelayer = /*#__PURE__*/function (_React$Component) { | ||
_inherits(AnimationDelayer, _React$Component); | ||
inherits_default()(AnimationDelayer, _React$Component); | ||
@@ -202,3 +289,3 @@ var _super = _createSuper(AnimationDelayer); | ||
_classCallCheck(this, AnimationDelayer); | ||
classCallCheck_default()(this, AnimationDelayer); | ||
@@ -217,3 +304,3 @@ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
_createClass(AnimationDelayer, [{ | ||
createClass_default()(AnimationDelayer, [{ | ||
key: "componentDidMount", | ||
@@ -258,35 +345,19 @@ value: function componentDidMount() { | ||
// CONCATENATED MODULE: ./packages/react-animation/src/index.js | ||
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); } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
function src_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
function src_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
function src_createClass(Constructor, protoProps, staticProps) { if (protoProps) src_defineProperties(Constructor.prototype, protoProps); if (staticProps) src_defineProperties(Constructor, staticProps); return Constructor; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function src_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) src_setPrototypeOf(subClass, superClass); } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { defineProperty_default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function src_setPrototypeOf(o, p) { src_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return src_setPrototypeOf(o, p); } | ||
function src_createSuper(Derived) { var hasNativeReflectConstruct = src_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = getPrototypeOf_default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf_default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn_default()(this, result); }; } | ||
function src_createSuper(Derived) { var hasNativeReflectConstruct = src_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = src_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { 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); } | ||
function src_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } | ||
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); } | ||
@@ -298,3 +369,2 @@ | ||
var defaultLottieOptions = { | ||
@@ -309,3 +379,3 @@ renderer: 'svg', | ||
var src_Animation = /*#__PURE__*/function (_React$Component) { | ||
src_inherits(Animation, _React$Component); | ||
inherits_default()(Animation, _React$Component); | ||
@@ -317,3 +387,3 @@ var _super = src_createSuper(Animation); | ||
src_classCallCheck(this, Animation); | ||
classCallCheck_default()(this, Animation); | ||
@@ -344,3 +414,3 @@ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
src_createClass(Animation, [{ | ||
createClass_default()(Animation, [{ | ||
key: "componentWillUnmount", | ||
@@ -359,3 +429,3 @@ value: function componentWillUnmount() { | ||
lottieOptions = _this$props.lottieOptions, | ||
props = _objectWithoutProperties(_this$props, ["children", "data", "lottieOptions"]); | ||
props = objectWithoutProperties_default()(_this$props, ["children", "data", "lottieOptions"]); | ||
@@ -391,5 +461,5 @@ if (typeof children !== 'function') return null; | ||
var onRef = _ref2.onRef, | ||
rest = _objectWithoutProperties(_ref2, ["onRef"]); | ||
rest = objectWithoutProperties_default()(_ref2, ["onRef"]); | ||
return /*#__PURE__*/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_default()({}, rest, { | ||
ref: onRef | ||
@@ -396,0 +466,0 @@ })); |
{ | ||
"name": "@invisionag/iris-react-animation", | ||
"version": "2.4.12", | ||
"version": "2.4.14", | ||
"main": "dist/index.js", | ||
@@ -8,5 +8,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@invisionag/iris-react-image-container": "^2.5.12", | ||
"@invisionag/iris-settings": "^6.3.12", | ||
"@invisionag/iris-tools": "^4.3.11", | ||
"@invisionag/iris-react-image-container": "^2.5.14", | ||
"@invisionag/iris-settings": "^6.3.14", | ||
"@invisionag/iris-tools": "^4.3.13", | ||
"classnames": "^2.2.6", | ||
@@ -17,3 +17,3 @@ "lottie-web": "^5.6.5" | ||
"@invisionag/injixo-tokens": "^1.1.6", | ||
"@invisionag/iris-react-spinner": "^4.4.12" | ||
"@invisionag/iris-react-spinner": "^4.4.14" | ||
}, | ||
@@ -23,3 +23,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "4b169e42c7e788e8dd016d7bc6e1ae142da5fea9" | ||
"gitHead": "e6f652539f57bd98eaa59fd12ff0d61f5558d40b" | ||
} |
130
500
27650
+ Added@babel/runtime@7.26.7(transitive)
- Removed@babel/runtime@7.26.0(transitive)