Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bemto-button

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bemto-button - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

.stylelintrc

6

Changelog.md
## Changelog
### v0.5.0 (2018-04-05)
- Added stylelint.
- Added border-radius inheritance on Content element.
- Updated deps.
### v0.4.0 (2018-03-05)

@@ -4,0 +10,0 @@

9

lib/index.js

@@ -77,3 +77,3 @@ const bemto = require('bemto-components');

const BemtoButton = styled(BemtoButtonTag)`
-moz-appearance: none;
-moz-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */

@@ -87,3 +87,3 @@ position: relative;

vertical-align: baseline;
overflow: visible; /* Needed for IE */
overflow: visible; /* Needed for IE */

@@ -95,5 +95,7 @@ box-sizing: border-box;

margin: 0;
border-radius: 0;
white-space: nowrap;
text-align: center; /* TODO: Apply only when there is a set width in style? */

@@ -128,2 +130,3 @@ justify-content: center;

width: 100%;
border-radius: inherit; /* [4] */
}

@@ -151,3 +154,3 @@

&:before {
&::before {
content: "\\a0"; /* nbsp */

@@ -154,0 +157,0 @@ }

{
"name": "bemto-button",
"version": "0.4.0",
"version": "0.5.0",
"description": "Complex button foundation based on bemto-components & styled-components",
"main": "lib/index.js",
"scripts": {
"lint:css": "stylelint 'lib/**/*.js'",
"test": "jest"

@@ -27,3 +28,3 @@ },

"dependencies": {
"bemto-components": "^2.0.0"
"bemto-components": "^2.3.1"
},

@@ -38,4 +39,8 @@ "peerDependencies": {

"jest-styled-components": "^5.0.0",
"react-test-renderer": "16.1.1"
"react-test-renderer": "16.1.1",
"stylelint": "^9.1.3",
"stylelint-config-standard": "^18.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.1"
}
}

@@ -10,5 +10,3 @@ import React from 'react';

${BemtoButton.focusCSS(`
box-shadow: 0 0 5px 5px pink;
`)}
${BemtoButton.focusCSS(`box-shadow: 0 0 5px 5px pink;`)}
`;

@@ -15,0 +13,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc