clay-checkbox
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -10,5 +10,5 @@ 'use strict'; | ||
var _metalComponent = require('metal-component'); | ||
var _clayComponent = require('clay-component'); | ||
var _metalComponent2 = _interopRequireDefault(_metalComponent); | ||
var _clayComponent2 = _interopRequireDefault(_clayComponent); | ||
@@ -39,6 +39,6 @@ var _metalWebComponent = require('metal-web-component'); | ||
* Implementation of the Metal Clay Checkbox. | ||
* @extends Component | ||
* @extends ClayComponent | ||
*/ | ||
var ClayCheckbox = function (_Component) { | ||
_inherits(ClayCheckbox, _Component); | ||
var ClayCheckbox = function (_ClayComponent) { | ||
_inherits(ClayCheckbox, _ClayComponent); | ||
@@ -63,3 +63,3 @@ function ClayCheckbox() { | ||
return ClayCheckbox; | ||
}(_metalComponent2.default); | ||
}(_clayComponent2.default); | ||
@@ -93,2 +93,21 @@ /** | ||
/** | ||
* Data to add to the element. | ||
* @default undefined | ||
* @instance | ||
* @memberof ClayCheckbox | ||
* @type {?object} | ||
*/ | ||
data: _metalState.Config.object(), | ||
/** | ||
* Object that wires events with default listeners | ||
* @default undefined | ||
* @instance | ||
* @memberof ClayCheckbox | ||
* @review | ||
* @type {?(object|undefined)} | ||
*/ | ||
defaultEventHandler: _metalState.Config.object(), | ||
/** | ||
* Flag to indicate if checkbox is disabled. | ||
@@ -95,0 +114,0 @@ * @default false |
{ | ||
"name": "clay-checkbox", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Clay Checkbox Component", | ||
@@ -31,2 +31,3 @@ "license": "BSD", | ||
"dependencies": { | ||
"clay-component": "^2.5.1", | ||
"metal": "^2.16.0", | ||
@@ -44,8 +45,8 @@ "metal-component": "^2.16.0", | ||
"babel-preset-env": "^1.6.0", | ||
"browserslist-config-clay": "^2.5.0", | ||
"clay-css": "^2.5.0", | ||
"browserslist-config-clay": "^2.5.1", | ||
"clay-css": "^2.5.1", | ||
"metal-dom": "^2.13.2", | ||
"metal-tools-soy": "^6.0.0", | ||
"webpack": "^3.0.0", | ||
"webpack-config-clay": "^2.5.0" | ||
"webpack-config-clay": "^2.5.1" | ||
}, | ||
@@ -55,3 +56,3 @@ "browserslist": [ | ||
], | ||
"gitHead": "0274003197fe979a381e7c82c5226166d54088a0" | ||
"gitHead": "086527d96ec2a7448d7b92d6f62746fbfb10d249" | ||
} |
@@ -1,2 +0,2 @@ | ||
import Component from 'metal-component'; | ||
import ClayComponent from 'clay-component'; | ||
import defineWebComponent from 'metal-web-component'; | ||
@@ -10,5 +10,5 @@ import Soy from 'metal-soy'; | ||
* Implementation of the Metal Clay Checkbox. | ||
* @extends Component | ||
* @extends ClayComponent | ||
*/ | ||
class ClayCheckbox extends Component { | ||
class ClayCheckbox extends ClayComponent { | ||
/** | ||
@@ -47,2 +47,21 @@ * @inheritDoc | ||
/** | ||
* Data to add to the element. | ||
* @default undefined | ||
* @instance | ||
* @memberof ClayCheckbox | ||
* @type {?object} | ||
*/ | ||
data: Config.object(), | ||
/** | ||
* Object that wires events with default listeners | ||
* @default undefined | ||
* @instance | ||
* @memberof ClayCheckbox | ||
* @review | ||
* @type {?(object|undefined)} | ||
*/ | ||
defaultEventHandler: Config.object(), | ||
/** | ||
* Flag to indicate if checkbox is disabled. | ||
@@ -49,0 +68,0 @@ * @default false |
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
72833
808
6
+ Addedclay-component@^2.5.1
+ Addedclay-component@2.24.1(transitive)