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.modern.js
CHANGED
@@ -763,7 +763,7 @@ var Property = function Property(props) {
|
|
763
763
|
|
764
764
|
var value2 = value || initial;
|
765
765
|
|
766
|
-
if (options) {
|
766
|
+
if (options && Array.isArray(options)) {
|
767
767
|
var opt = options.find(function (option) {
|
768
768
|
return option.value == value2;
|
769
769
|
});
|
@@ -1646,8 +1646,9 @@ var DataTableRow = function DataTableRow(props) {
|
|
1646
1646
|
toggleInfo = _useState3[1];
|
1647
1647
|
|
1648
1648
|
var infoIcon = isInfoOpen ? 'expand_more' : 'expand_less';
|
1649
|
+
var style = expanded ? "expanded" : "";
|
1649
1650
|
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("tr", {
|
1650
|
-
className: className,
|
1651
|
+
className: style + " " + className,
|
1651
1652
|
onClick: function onClick(ev) {
|
1652
1653
|
return onSelect(row, ev);
|
1653
1654
|
}
|