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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/property.js +1 -1
- package/src/html/table.js +2 -2
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
|
}
|