@dsmjs/components
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -21,3 +21,3 @@ 'use strict'; | ||
var padding = "0.25em 1em 0.25em 0"; | ||
var padding = "0.38em 1em 0.38em 0"; | ||
var color = "#fff"; | ||
@@ -95,3 +95,3 @@ var textAlign = "right"; | ||
{ href: '/' }, | ||
React.createElement(Logo, { styleOverrides: { float: 'left', height: 160 } }) | ||
React.createElement(Logo, { styleOverrides: { float: 'left', height: '8em' } }) | ||
), | ||
@@ -151,2 +151,9 @@ React.createElement(DsmJsBar, null), | ||
var fontFamily = "Quicksand, sans-serif"; | ||
var fontSize$1 = 24; | ||
var globalStyles = { | ||
fontFamily: fontFamily, | ||
fontSize: fontSize$1 | ||
}; | ||
function Layout(_ref) { | ||
@@ -158,4 +165,4 @@ var sponsor = _ref.sponsor, | ||
return React.createElement( | ||
'div', | ||
null, | ||
glamorous.Div, | ||
{ css: Object.assign({}, globalStyles, { marginTop: '1em', maxWidth: 1000, margin: '0 auto' }) }, | ||
React.createElement(Header, { sponsor: sponsor, location: location }), | ||
@@ -162,0 +169,0 @@ children, |
import React from 'react'; | ||
import glamorous, { Img } from 'glamorous'; | ||
import glamorous, { Div, Img } from 'glamorous'; | ||
@@ -14,3 +14,3 @@ function Logo(_ref) { | ||
var padding = "0.25em 1em 0.25em 0"; | ||
var padding = "0.38em 1em 0.38em 0"; | ||
var color = "#fff"; | ||
@@ -88,3 +88,3 @@ var textAlign = "right"; | ||
{ href: '/' }, | ||
React.createElement(Logo, { styleOverrides: { float: 'left', height: 160 } }) | ||
React.createElement(Logo, { styleOverrides: { float: 'left', height: '8em' } }) | ||
), | ||
@@ -144,2 +144,9 @@ React.createElement(DsmJsBar, null), | ||
var fontFamily = "Quicksand, sans-serif"; | ||
var fontSize$1 = 24; | ||
var globalStyles = { | ||
fontFamily: fontFamily, | ||
fontSize: fontSize$1 | ||
}; | ||
function Layout(_ref) { | ||
@@ -151,4 +158,4 @@ var sponsor = _ref.sponsor, | ||
return React.createElement( | ||
'div', | ||
null, | ||
Div, | ||
{ css: Object.assign({}, globalStyles, { marginTop: '1em', maxWidth: 1000, margin: '0 auto' }) }, | ||
React.createElement(Header, { sponsor: sponsor, location: location }), | ||
@@ -155,0 +162,0 @@ children, |
@@ -1,1 +0,1 @@ | ||
{"name":"@dsmjs/components","description":"React components for the dsmjs.com site","license":"MIT","main":"lib/components.cjs.js","module":"lib/components.es.js","author":"dsmJS","maintainers":["Matt Travi <npm@travi.org> (https://matt.travi.org/)"],"repository":"dsmjs/components","bugs":"https://github.com/dsmjs/components/issues","homepage":"https://github.com/dsmjs/components#readme","scripts":{"clean":"rimraf lib/","lint:md":"globstar --node -- markdownlint **/*.md","tests:unit":"mocha --recursive src/**/test.js","test":"run-s lint:* coverage","coverage":"nyc run-s tests:unit","coverage:report":"nyc report --reporter=text-lcov > coverage.lcov && codecov","commitmsg":"validate-commit-msg","precommit":"npm test","start":"start-storybook -p 6006","build:js":"rollup -c","build":"run-s clean build:*","build-storybook":"build-storybook","deploy":"gh-pages -r \"https://$GH_TOKEN@github.com/dsmjs/components.git\" -d storybook-static/","greenkeeper:update-lockfile":"greenkeeper-lockfile-update","greenkeeper:upload-lockfile":"greenkeeper-lockfile-upload","prepublish":"run-s build","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"access":"public"},"devDependencies":{"@storybook/addon-actions":"3.2.17","@storybook/addon-links":"3.2.17","@storybook/react":"3.2.17","@travi/any":"1.6.0","babel-plugin-transform-object-rest-spread":"6.26.0","babel-plugin-transform-react-remove-prop-types":"0.4.10","babel-preset-env":"1.6.1","babel-preset-react":"6.24.1","babel-register":"6.26.0","chai":"4.1.2","codecov":"3.0.0","cz-conventional-changelog":"2.1.0","enzyme":"2.9.1","gh-pages":"1.1.0","globstar":"1.0.0","greenkeeper-lockfile":"1.12.0","husky":"0.14.3","markdownlint-cli":"0.5.0","mocha":"4.0.1","npm-run-all":"4.1.2","nyc":"11.3.0","react":"15.6.2","react-dom":"15.6.2","react-test-renderer":"16.2.0","rollup":"0.52.1","rollup-plugin-babel":"3.0.2","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.0.0","semantic-release":"8.2.0","validate-commit-msg":"2.14.0"},"peerDependencies":{"react":"^15.6.1","react-dom":"^15.6.1"},"dependencies":{"glamor":"2.20.40","glamorous":"4.11.0"},"version":"1.0.3"} | ||
{"name":"@dsmjs/components","description":"React components for the dsmjs.com site","license":"MIT","main":"lib/components.cjs.js","module":"lib/components.es.js","author":"dsmJS","maintainers":["Matt Travi <npm@travi.org> (https://matt.travi.org/)"],"repository":"dsmjs/components","bugs":"https://github.com/dsmjs/components/issues","homepage":"https://github.com/dsmjs/components#readme","scripts":{"clean":"rimraf lib/","lint:md":"globstar --node -- markdownlint **/*.md","tests:unit":"mocha --recursive src/**/test.js","test":"run-s lint:* coverage","coverage":"nyc run-s tests:unit","coverage:report":"nyc report --reporter=text-lcov > coverage.lcov && codecov","commitmsg":"validate-commit-msg","precommit":"npm test","start":"start-storybook -p 6006","build:js":"rollup -c","build":"run-s clean build:*","build-storybook":"build-storybook","deploy":"gh-pages -r \"https://$GH_TOKEN@github.com/dsmjs/components.git\" -d storybook-static/","greenkeeper:update-lockfile":"greenkeeper-lockfile-update","greenkeeper:upload-lockfile":"greenkeeper-lockfile-upload","prepublish":"run-s build","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"access":"public"},"devDependencies":{"@storybook/addon-actions":"3.2.17","@storybook/addon-links":"3.2.17","@storybook/react":"3.2.17","@travi/any":"1.6.0","babel-plugin-transform-object-rest-spread":"6.26.0","babel-plugin-transform-react-remove-prop-types":"0.4.10","babel-preset-env":"1.6.1","babel-preset-react":"6.24.1","babel-register":"6.26.0","chai":"4.1.2","codecov":"3.0.0","cz-conventional-changelog":"2.1.0","enzyme":"2.9.1","gh-pages":"1.1.0","globstar":"1.0.0","greenkeeper-lockfile":"1.12.0","husky":"0.14.3","markdownlint-cli":"0.5.0","mocha":"4.0.1","npm-run-all":"4.1.2","nyc":"11.3.0","react":"15.6.2","react-dom":"15.6.2","react-test-renderer":"16.2.0","rollup":"0.52.1","rollup-plugin-babel":"3.0.2","rollup-plugin-json":"2.3.0","rollup-plugin-node-resolve":"3.0.0","semantic-release":"8.2.0","validate-commit-msg":"2.14.0"},"peerDependencies":{"react":"^15.6.1","react-dom":"^15.6.1"},"dependencies":{"glamor":"2.20.40","glamorous":"4.11.0"},"version":"1.0.4"} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
26168
315