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