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

bemto-input

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bemto-input - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

.stylelintrc

6

Changelog.md
## Changelog
### v0.2.0 (2018-04-05)
- Added stylelint (don't seem to work for some reason O_o?).
- Fixed events.
- Updated deps.
### v0.1.0 (2018-03-05)
- Initial basic version

10

lib/index.js

@@ -53,11 +53,11 @@ const bemto = require('bemto-components');

onChange: (props, state, component) => e => {
props.onChange && props.onChange();
props.onChange && props.onChange(e);
component.setState({ value: e.target.value });
},
onFocus: (props, state, component) => () => {
props.onFocus && props.onFocus();
onFocus: (props, state, component) => e => {
props.onFocus && props.onFocus(e);
component.setState({ isFocused: true });
},
onBlur: (props, state, component) => () => {
props.onBlur && props.onBlur();
onBlur: (props, state, component) => e => {
props.onBlur && props.onBlur(e);
component.setState({ isFocused: false });

@@ -64,0 +64,0 @@ }

{
"name": "bemto-input",
"version": "0.1.0",
"version": "0.2.0",
"description": "Complex input 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.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.1"
}
}
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