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

clay-radio

Package Overview
Dependencies
Maintainers
4
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clay-radio - npm Package Compare versions

Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4

lib/ClayRadio.js

8

package.json
{
"name": "clay-radio",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"description": "Clay Radio Component",
"license": "BSD",
"repository": "metal/metal-clay-components",
"repository": "https://github.com/metal/metal-clay-components/tree/master/packages/clay-radio",
"engines": {

@@ -21,2 +21,4 @@ "node": ">=0.12.0",

"build": "npm run soy && webpack",
"compile": "babel -d lib/ src/ -s --ignore src/__tests__",
"prepublish": "npm run soy && npm run compile",
"soy": "metalsoy"

@@ -41,3 +43,3 @@ },

"browserslist-config-clay-components": "^1.0.0-alpha.2",
"clay": "^2.0.0-beta.1",
"clay": "^2.0.0-beta.2",
"metal-dom": "^2.13.2",

@@ -44,0 +46,0 @@ "metal-tools-soy": "^4.2.1",

@@ -38,2 +38,12 @@ import ClayRadio from '../ClayRadio';

it('should generate a checked and disabled radio', () => {
clayRadio = new ClayRadio({
checked: true,
disabled: true,
label: 'My Radio',
});
expect(clayRadio).toMatchSnapshot();
});
it('should generate a radio with hidden label', () => {

@@ -40,0 +50,0 @@ clayRadio = new ClayRadio({

@@ -128,3 +128,3 @@ /* jshint ignore:start */

if (disabled) {
incrementalDom.attr('disabled', '');
incrementalDom.attr('disabled', 'disabled');
}

@@ -131,0 +131,0 @@ incrementalDom.attr('class', 'custom-control-input');

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