ywana-core8 0.0.555 → 0.0.558

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.cjs CHANGED
@@ -771,7 +771,7 @@ var Property = function Property(props) {
771
771
 
772
772
  var value2 = value || initial;
773
773
 
774
- if (options) {
774
+ if (options && Array.isArray(options)) {
775
775
  var opt = options.find(function (option) {
776
776
  return option.value == value2;
777
777
  });
@@ -1654,8 +1654,9 @@ var DataTableRow = function DataTableRow(props) {
1654
1654
  toggleInfo = _useState3[1];
1655
1655
 
1656
1656
  var infoIcon = isInfoOpen ? 'expand_more' : 'expand_less';
1657
+ var style = expanded ? "expanded" : "";
1657
1658
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("tr", {
1658
- className: className,
1659
+ className: style + " " + className,
1659
1660
  onClick: function onClick(ev) {
1660
1661
  return onSelect(row, ev);
1661
1662
  }