@luminati-io/uikit 6.3.99 → 6.3.100
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.js +24 -24
- package/dist/index.js.map +1 -1
- package/dist/umd/uikit.development.js +8 -20
- package/dist/umd/uikit.development.js.map +1 -1
- package/dist/umd/uikit.production.min.js +24 -24
- package/package.json +1 -1
@@ -60229,40 +60229,28 @@ var Body = function Body(props) {
|
|
60229
60229
|
if (draggableRows) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dnd__WEBPACK_IMPORTED_MODULE_12__.TableDndBody, props);
|
60230
60230
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(GenericBody, props);
|
60231
60231
|
};
|
60232
|
-
var MemoizedRow = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.memo)(function (_ref6) {
|
60233
|
-
var row = _ref6.row,
|
60234
|
-
index = _ref6.index,
|
60235
|
-
renderRowProp = _ref6.renderRow,
|
60236
|
-
onPointerEnter = _ref6.onPointerEnter;
|
60237
|
-
return renderRowProp({
|
60238
|
-
row: row,
|
60239
|
-
index: index,
|
60240
|
-
wrapperProps: {
|
60241
|
-
onPointerEnter: onPointerEnter
|
60242
|
-
}
|
60243
|
-
});
|
60244
|
-
});
|
60245
|
-
MemoizedRow.displayName = 'MemoizedRow';
|
60246
60232
|
var GenericBody = function GenericBody(props) {
|
60247
60233
|
var rows = props.rows;
|
60248
60234
|
var _useRowHoverActions = (0,_row_hover_actions__WEBPACK_IMPORTED_MODULE_13__.useRowHoverActions)(),
|
60249
60235
|
renderHoverActions = _useRowHoverActions.renderHoverActions,
|
60250
60236
|
rowHoverEvents = _useRowHoverActions.rowHoverEvents;
|
60251
60237
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, rows.map(function (row, index) {
|
60252
|
-
return
|
60253
|
-
key: row.id || index,
|
60238
|
+
return props.renderRow({
|
60254
60239
|
row: row,
|
60255
60240
|
index: index,
|
60256
|
-
|
60257
|
-
|
60241
|
+
wrapperProps: _objectSpread(_objectSpread({}, rowHoverEvents), {}, {
|
60242
|
+
onPointerEnter: function onPointerEnter(e) {
|
60243
|
+
return rowHoverEvents.onPointerEnter(e, row);
|
60244
|
+
}
|
60245
|
+
})
|
60258
60246
|
});
|
60259
60247
|
}), renderHoverActions());
|
60260
60248
|
};
|
60261
60249
|
var TableBodyRowGroup = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
60262
60250
|
displayName: "TableBodyRowGroup",
|
60263
60251
|
componentId: "sc-ebeoik-2"
|
60264
|
-
})(["", ""], function (
|
60265
|
-
var scrollbars =
|
60252
|
+
})(["", ""], function (_ref6) {
|
60253
|
+
var scrollbars = _ref6.theme.scrollbars;
|
60266
60254
|
return scrollbars.thin;
|
60267
60255
|
});
|
60268
60256
|
|