Comparing version 0.3.12 to 0.3.13
{ | ||
"name": "material", | ||
"version": "0.3.12", | ||
"version": "0.3.13", | ||
"description": "A lightweight implementation of Material Design Components - ES6", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -150,5 +150,5 @@ 'use strict' | ||
if (value) { | ||
this.check() | ||
this.check(value) | ||
} else { | ||
this.unCheck() | ||
this.unCheck(value) | ||
} | ||
@@ -155,0 +155,0 @@ } |
@@ -11,2 +11,3 @@ 'use strict' | ||
import Button from './button' | ||
import Divider from './divider' | ||
@@ -59,8 +60,13 @@ const defaults = { | ||
var item | ||
if (info.type === 'divider') { | ||
item = new Divider() | ||
} else { | ||
item = new Button({ | ||
name: info.name, | ||
text: info.text || info.name | ||
}) | ||
item = new Button({ | ||
name: info.name, | ||
text: info.text || info.name | ||
}) | ||
} | ||
return item | ||
@@ -67,0 +73,0 @@ }, |
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
625340
10431