react-loading-skeleton-placeholders
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"main": "./index.js", | ||
@@ -11,0 +11,0 @@ "keywords": [ |
var _createClass = 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
var _templateObject = _taggedTemplateLiteral(["\n > div {\n &:nth-child(n+", ") {\n width: 75% !important;\n }\n }\n "], ["\n > div {\n &:nth-child(n+", ") {\n width: 75% !important;\n }\n }\n "]); | ||
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
@@ -11,2 +15,3 @@ | ||
import PropTypes from "prop-types"; | ||
import styled from "styled-components"; | ||
@@ -53,2 +58,3 @@ import Bone from "../Bone"; | ||
value: function render() { | ||
var Bones = styled.div(_templateObject, this.props.amount > 1 ? this.props.amount : null); | ||
var _props = this.props, | ||
@@ -76,3 +82,3 @@ skull = _props.skull, | ||
React.createElement( | ||
"div", | ||
Bones, | ||
{ style: direction === 'row' ? boneFlexRowStyle : null }, | ||
@@ -79,0 +85,0 @@ bones |
{ | ||
"name": "react-loading-skeleton-placeholders", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"main": "./lib/index.js", | ||
@@ -136,2 +136,3 @@ "engines": { | ||
"style-loader": "0.19.0", | ||
"styled-components": "^1.4.5", | ||
"sw-precache-webpack-plugin": "0.11.4", | ||
@@ -138,0 +139,0 @@ "url-loader": "0.6.2", |
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
20874
193
52