@widergy/energy-ui 1.106.0 → 1.106.1
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.106.1](https://github.com/widergy/energy-ui/compare/v1.106.0...v1.106.1) (2021-12-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* checked ([#252](https://github.com/widergy/energy-ui/issues/252)) ([74ed6db](https://github.com/widergy/energy-ui/commit/74ed6dba93c720c2b41354eb75a66d904addf0ae))
|
|
7
|
+
|
|
1
8
|
# [1.106.0](https://github.com/widergy/energy-ui/compare/v1.105.1...v1.106.0) (2021-12-15)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -60,7 +60,6 @@ Checked.defaultProps = {
|
|
|
60
60
|
|
|
61
61
|
var UTCheckbox = function UTCheckbox(_ref) {
|
|
62
62
|
var value = _ref.value,
|
|
63
|
-
checked = _ref.checked,
|
|
64
63
|
disabled = _ref.disabled,
|
|
65
64
|
item = _ref.item,
|
|
66
65
|
CustomRowLabel = _ref.customRowLabel,
|
|
@@ -86,7 +85,7 @@ var UTCheckbox = function UTCheckbox(_ref) {
|
|
|
86
85
|
input = _ref.input,
|
|
87
86
|
onChange = _ref.onChange;
|
|
88
87
|
|
|
89
|
-
var _useMutableState = (0, _energyHooks.useMutableState)(
|
|
88
|
+
var _useMutableState = (0, _energyHooks.useMutableState)(value),
|
|
90
89
|
_useMutableState2 = _slicedToArray(_useMutableState, 2),
|
|
91
90
|
checkedRef = _useMutableState2[0],
|
|
92
91
|
setChecked = _useMutableState2[1];
|
|
@@ -141,7 +140,6 @@ UTCheckbox.propTypes = {
|
|
|
141
140
|
value: _propTypes.string,
|
|
142
141
|
CustomCheckedIcon: _propTypes.node,
|
|
143
142
|
CustomUncheckedIcon: _propTypes.node,
|
|
144
|
-
checked: _propTypes.bool,
|
|
145
143
|
// eslint-disable-next-line react/forbid-prop-types
|
|
146
144
|
item: (0, _propTypes.shape)(_propTypes.any),
|
|
147
145
|
color: _propTypes.string,
|