react-crud-mobile 1.0.625 → 1.0.627
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/react-crud-mobile.cjs.development.js +7 -7
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +7 -7
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/core/UIListRow.tsx +10 -10
|
@@ -692,13 +692,6 @@ function UIListRow(props) {
|
|
|
692
692
|
data: item
|
|
693
693
|
}))),
|
|
694
694
|
row = _useState[0];
|
|
695
|
-
var getRowStyle = function getRowStyle() {
|
|
696
|
-
var css = row.getStyle('row', _extends({}, styles.row));
|
|
697
|
-
if (cols > 0) {
|
|
698
|
-
css.width = rowWidth;
|
|
699
|
-
}
|
|
700
|
-
return css;
|
|
701
|
-
};
|
|
702
695
|
var onClick = function onClick(item) {
|
|
703
696
|
row.call('click', {
|
|
704
697
|
value: item,
|
|
@@ -711,6 +704,13 @@ function UIListRow(props) {
|
|
|
711
704
|
updateIndex = _useState2[0],
|
|
712
705
|
setUpdateIndex = _useState2[1];
|
|
713
706
|
var key = scope.key('item');
|
|
707
|
+
var getRowStyle = function getRowStyle() {
|
|
708
|
+
var css = row.getStyle('row', _extends({}, styles.row));
|
|
709
|
+
if (cols > 0) {
|
|
710
|
+
css.width = rowWidth;
|
|
711
|
+
}
|
|
712
|
+
return css;
|
|
713
|
+
};
|
|
714
714
|
row.update = function () {
|
|
715
715
|
scope.updateIndex = scope.updateIndex + 1;
|
|
716
716
|
setUpdateIndex(++updateIndex);
|