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