labsense-ui-kit 1.4.52 → 1.4.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12105,6 +12105,12 @@ var CheckBox = function CheckBox(_ref11) {
|
|
|
12105
12105
|
onChange: function onChange(e) {
|
|
12106
12106
|
return _onChange(e.target.checked);
|
|
12107
12107
|
},
|
|
12108
|
+
onKeyDown: function onKeyDown(e) {
|
|
12109
|
+
if (e.key === 'Enter') {
|
|
12110
|
+
e.preventDefault();
|
|
12111
|
+
_onChange(!checked);
|
|
12112
|
+
}
|
|
12113
|
+
},
|
|
12108
12114
|
disabled: disabled,
|
|
12109
12115
|
"$borderSize": borderSize
|
|
12110
12116
|
})), label && React__default.createElement(LabelSpan, {
|