@blerp/design 1.3.0 → 1.3.2

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.
@@ -1,32 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var Lottie = require('react-lottie');
5
4
 
6
5
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
6
 
8
7
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
9
- var Lottie__default = /*#__PURE__*/_interopDefaultLegacy(Lottie);
10
8
 
11
9
  const LottieAnimation = _ref => {
12
- let {
13
- lotti,
14
- width,
15
- height
16
- } = _ref;
17
- const defaultOptions = {
18
- loop: true,
19
- autoplay: true,
20
- animationData: lotti,
21
- rendererSettings: {
22
- preserveAspectRatio: "xMidYMid slice"
23
- }
24
- };
25
- return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(Lottie__default['default'], {
26
- options: defaultOptions,
27
- height: height,
28
- width: width
29
- }));
10
+ return /*#__PURE__*/React__default['default'].createElement("div", null);
30
11
  };
31
12
 
32
13
  module.exports = LottieAnimation;
@@ -1,25 +1,7 @@
1
1
  import React from 'react';
2
- import Lottie from 'react-lottie';
3
2
 
4
3
  const LottieAnimation = _ref => {
5
- let {
6
- lotti,
7
- width,
8
- height
9
- } = _ref;
10
- const defaultOptions = {
11
- loop: true,
12
- autoplay: true,
13
- animationData: lotti,
14
- rendererSettings: {
15
- preserveAspectRatio: "xMidYMid slice"
16
- }
17
- };
18
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Lottie, {
19
- options: defaultOptions,
20
- height: height,
21
- width: width
22
- }));
4
+ return /*#__PURE__*/React.createElement("div", null);
23
5
  };
24
6
 
25
7
  export default LottieAnimation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blerp/design",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Blerp UI",
5
5
  "main": "dist/esm/index.js",
6
6
  "type": "module",
@@ -11,8 +11,7 @@
11
11
  "@mui/icons-material": "5.10.16",
12
12
  "@mui/material": "5.10.16",
13
13
  "react": "18.2.0",
14
- "react-dom": "18.2.0",
15
- "react-lottie": "^1.2.3"
14
+ "react-dom": "18.2.0"
16
15
  },
17
16
  "dependencies": {
18
17
  "@babel/runtime": "^7.14.0",