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.modern.js
CHANGED
|
@@ -12100,6 +12100,12 @@ var CheckBox = function CheckBox(_ref11) {
|
|
|
12100
12100
|
onChange: function onChange(e) {
|
|
12101
12101
|
return _onChange(e.target.checked);
|
|
12102
12102
|
},
|
|
12103
|
+
onKeyDown: function onKeyDown(e) {
|
|
12104
|
+
if (e.key === 'Enter') {
|
|
12105
|
+
e.preventDefault();
|
|
12106
|
+
_onChange(!checked);
|
|
12107
|
+
}
|
|
12108
|
+
},
|
|
12103
12109
|
disabled: disabled,
|
|
12104
12110
|
"$borderSize": borderSize
|
|
12105
12111
|
})), label && React.createElement(LabelSpan, {
|