@schrodinger/ui-checkbox
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -130,3 +130,3 @@ 'use strict'; | ||
return (React__default['default'].createElement("label", { className: labelClassNames(props, context), title: props.title }, | ||
React__default['default'].createElement("input", { checked: props.checked === true, type: "checkbox", name: props.name, value: props.value, "data-name": props.name, onChange: props.onChange, disabled: props.disabled, readOnly: props.readonly || !lodash.isFunction(props.onChange) }), | ||
React__default['default'].createElement("input", { checked: props.checked === true, type: props.type === exports.CheckboxType.RADIO ? 'radio' : 'checkbox', name: props.name, value: props.value, "data-name": props.name, onChange: props.onChange, disabled: props.disabled, readOnly: props.readonly || !lodash.isFunction(props.onChange) }), | ||
React__default['default'].createElement("span", { className: checkmarkClassNames(props) }), | ||
@@ -133,0 +133,0 @@ children)); |
@@ -122,3 +122,3 @@ import React, { createContext } from 'react'; | ||
return (React.createElement("label", { className: labelClassNames(props, context), title: props.title }, | ||
React.createElement("input", { checked: props.checked === true, type: "checkbox", name: props.name, value: props.value, "data-name": props.name, onChange: props.onChange, disabled: props.disabled, readOnly: props.readonly || !isFunction(props.onChange) }), | ||
React.createElement("input", { checked: props.checked === true, type: props.type === CheckboxType.RADIO ? 'radio' : 'checkbox', name: props.name, value: props.value, "data-name": props.name, onChange: props.onChange, disabled: props.disabled, readOnly: props.readonly || !isFunction(props.onChange) }), | ||
React.createElement("span", { className: checkmarkClassNames(props) }), | ||
@@ -125,0 +125,0 @@ children)); |
{ | ||
"name": "@schrodinger/ui-checkbox", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "description", | ||
@@ -29,4 +29,4 @@ "keywords": [], | ||
"devDependencies": { | ||
"@schrodinger/ui-context": "^0.0.10", | ||
"@schrodinger/ui-scripts": "^0.0.10", | ||
"@schrodinger/ui-context": "^0.0.11", | ||
"@schrodinger/ui-scripts": "^0.0.11", | ||
"react": "16.x" | ||
@@ -40,3 +40,3 @@ }, | ||
}, | ||
"gitHead": "7bd9959c9109809867d0129026cf9d1cf2841a78" | ||
"gitHead": "42660f0f400c8f374a2e0215e2957130157373f6" | ||
} |
Sorry, the diff of this file is not supported yet
46628
487