@widergy/energy-ui 2.1.4 → 2.1.5

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
+ ## [2.1.5](https://github.com/widergy/energy-ui/compare/v2.1.4...v2.1.5) (2023-02-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix ([#347](https://github.com/widergy/energy-ui/issues/347)) ([f37126b](https://github.com/widergy/energy-ui/commit/f37126b374048e48917ea2a6688d83c5912d3d13))
7
+
1
8
  ## [2.1.4](https://github.com/widergy/energy-ui/compare/v2.1.3...v2.1.4) (2023-02-17)
2
9
 
3
10
 
@@ -120,7 +120,9 @@ var UTCheckList = function UTCheckList(_ref) {
120
120
  className: "".concat(_stylesModule.default.rows, " ").concat(classes.rowContainerClassName)
121
121
  }, list.map(function (item) {
122
122
  return /*#__PURE__*/_react.default.createElement("div", {
123
- className: "".concat(_stylesModule.default.row, " ").concat(withCheckRow && classes.checkRowContainer),
123
+ className: "".concat(_stylesModule.default.row, " ").concat(withCheckRow && classes.checkRowContainer, " ").concat(!!input.value.find(function (val) {
124
+ return val === item[valueKey];
125
+ }) && classes.customRowRootChecked, " "),
124
126
  key: item[valueKey]
125
127
  }, withCheckRow && label([valueKey, labelKey], item), /*#__PURE__*/_react.default.createElement(_UTCheckbox.default, {
126
128
  disabled: disabled || item.disabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",