@eaze/footer
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -9,7 +9,2 @@ 'use strict'; | ||
var _templateObject = _taggedTemplateLiteral(['\n background-color: ', ';\n color: white;\n padding: 1rem;\n padding-bottom: 5rem;\n'], ['\n background-color: ', ';\n color: white;\n padding: 1rem;\n padding-bottom: 5rem;\n']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n max-width: 78rem;\n margin: 0 auto;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-around;\n\n @media(max-width: 767px) {\n justify-content: flex-start;\n }\n'], ['\n max-width: 78rem;\n margin: 0 auto;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-around;\n\n @media(max-width: 767px) {\n justify-content: flex-start;\n }\n']), | ||
_templateObject3 = _taggedTemplateLiteral(['\n display: flex;\n flex-direction: column;\n margin-top: 1rem;\n\n @media(max-width: 767px) {\n width: 50%\n }\n'], ['\n display: flex;\n flex-direction: column;\n margin-top: 1rem;\n\n @media(max-width: 767px) {\n width: 50%\n }\n']), | ||
_templateObject4 = _taggedTemplateLiteral(['\n margin-bottom: 2rem;\n font-size: 1.2rem;\n color: white;\n text-decoration: none;\n font-family: \'Open Sans\', Helvetica;\n'], ['\n margin-bottom: 2rem;\n font-size: 1.2rem;\n color: white;\n text-decoration: none;\n font-family: \'Open Sans\', Helvetica;\n']); | ||
var _react = require('react'); | ||
@@ -19,5 +14,5 @@ | ||
var _styledComponents = require('styled-components'); | ||
var _reactEmotion = require('react-emotion'); | ||
var _styledComponents2 = _interopRequireDefault(_styledComponents); | ||
var _reactEmotion2 = _interopRequireDefault(_reactEmotion); | ||
@@ -36,12 +31,10 @@ var _color = require('@eaze/color'); | ||
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } | ||
var Footer = /*#__PURE__*/(0, _reactEmotion2.default)('footer')('background-color:', _color2.default['accessory']['1'], ';color:white;padding:1rem;padding-bottom:5rem;'); | ||
var Footer = _styledComponents2.default.footer(_templateObject, _color2.default['accessory']['1']); | ||
var Content = /*#__PURE__*/(0, _reactEmotion2.default)('div')('max-width:78rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-around;@media(max-width:767px){justify-content:flex-start;}'); | ||
var Content = _styledComponents2.default.div(_templateObject2); | ||
var Section = /*#__PURE__*/(0, _reactEmotion2.default)('div')('display:flex;flex-direction:column;margin-top:1rem;@media(max-width:767px){width:50%}'); | ||
var Section = _styledComponents2.default.div(_templateObject3); | ||
var Link = /*#__PURE__*/(0, _reactEmotion2.default)('a')('margin-bottom:2rem;font-size:1.2rem;color:white;text-decoration:none;font-family:\'Open Sans\',Helvetica;'); | ||
var Link = _styledComponents2.default.a(_templateObject4); | ||
var FooterComponent = function (_PureComponent) { | ||
@@ -48,0 +41,0 @@ _inherits(FooterComponent, _PureComponent); |
{ | ||
"name": "@eaze/footer", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Footer component", | ||
@@ -24,2 +24,3 @@ "main": "dist/index.js", | ||
"babel-core": "~6.25.0", | ||
"babel-plugin-emotion": "~8.0.9", | ||
"babel-preset-es2015": "~6.24.1", | ||
@@ -31,6 +32,7 @@ "babel-preset-react": "~6.24.1", | ||
"@eaze/color": "^1.0.1", | ||
"emotion": "~8.0.9", | ||
"prop-types": "~15.5.10", | ||
"react": "~16.0.0", | ||
"react-dom": "~16.0.0", | ||
"styled-components": "~1.4.6" | ||
"react-emotion": "~8.0.9" | ||
}, | ||
@@ -37,0 +39,0 @@ "publishConfig": { |
import React, { PureComponent } from 'react' | ||
import styled from 'styled-components' | ||
import styled from 'react-emotion' | ||
import Colors from '@eaze/color' | ||
@@ -4,0 +4,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
82747
6
6
194
1
+ Addedemotion@~8.0.9
+ Addedreact-emotion@~8.0.9
+ Added@babel/helper-module-imports@7.0.0-beta.32(transitive)
+ Added@babel/types@7.0.0-beta.32(transitive)
+ Addedabbrev@1.1.1(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedbabel-macros@1.2.0(transitive)
+ Addedbabel-plugin-emotion@8.0.12(transitive)
+ Addedbabel-plugin-syntax-jsx@6.18.0(transitive)
+ Addedconvert-source-map@1.9.0(transitive)
+ Addedcosmiconfig@3.1.0(transitive)
+ Addedemotion@8.0.12(transitive)
+ Addedemotion-utils@8.0.12(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedfind-root@1.1.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-directory@0.3.1(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addednopt@1.0.10(transitive)
+ Addedparse-json@3.0.0(transitive)
+ Addedreact-emotion@8.0.12(transitive)
+ Addedrequire-from-string@2.0.2(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedsprintf-js@1.0.3(transitive)
+ Addedstylis@3.5.4(transitive)
+ Addedstylis-rule-sheet@0.0.5(transitive)
+ Addedto-fast-properties@2.0.0(transitive)
+ Addedtouch@1.0.0(transitive)
- Removedstyled-components@~1.4.6
- Removedbase64-js@1.5.1(transitive)
- Removedbowser@1.9.4(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcss-color-list@0.0.1(transitive)
- Removedcss-color-names@0.0.1(transitive)
- Removedcss-to-react-native@1.0.6(transitive)
- Removeddiscontinuous-range@1.0.0(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedhyphenate-style-name@1.1.0(transitive)
- Removedieee754@1.2.1(transitive)
- Removedinline-style-prefixer@2.0.5(transitive)
- Removedis-function@1.0.2(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedisobject@3.0.1(transitive)
- Removedmoo@0.5.2(transitive)
- Removednearley@2.20.1(transitive)
- Removedrailroad-diagrams@1.0.0(transitive)
- Removedrandexp@0.4.6(transitive)
- Removedreact@15.7.0(transitive)
- Removedret@0.1.15(transitive)
- Removedstyled-components@1.4.6(transitive)
- Removedsupports-color@3.2.3(transitive)