@ceed/ads 1.2.8-next.2 → 1.2.8-next.3
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 +18 -16
- package/dist/index.js +18 -16
- package/framer/index.js +28 -28
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3368,21 +3368,23 @@ var BodyCell = (props) => {
|
|
|
3368
3368
|
)
|
|
3369
3369
|
);
|
|
3370
3370
|
};
|
|
3371
|
-
var BodyRow = (
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3371
|
+
var BodyRow = (0, import_react25.memo)(
|
|
3372
|
+
(props) => {
|
|
3373
|
+
const { tableId, columns, rowId, editMode, noWrap, row } = props;
|
|
3374
|
+
return /* @__PURE__ */ import_react25.default.createElement(import_react25.default.Fragment, null, columns.map((column, i) => /* @__PURE__ */ import_react25.default.createElement(
|
|
3375
|
+
BodyCell,
|
|
3376
|
+
{
|
|
3377
|
+
...column,
|
|
3378
|
+
tableId,
|
|
3379
|
+
key: `${rowId}_${column.field.toString()}_${i}`,
|
|
3380
|
+
row,
|
|
3381
|
+
rowId,
|
|
3382
|
+
editMode,
|
|
3383
|
+
noWrap
|
|
3384
|
+
}
|
|
3385
|
+
)));
|
|
3386
|
+
}
|
|
3387
|
+
);
|
|
3386
3388
|
function useDataTableRenderer({
|
|
3387
3389
|
rows: _rows,
|
|
3388
3390
|
columns: columnsProp,
|
|
@@ -3699,7 +3701,7 @@ function Component(props, apiRef) {
|
|
|
3699
3701
|
getScrollElement: () => parentRef.current,
|
|
3700
3702
|
estimateSize: () => 32,
|
|
3701
3703
|
measureElement: (element) => element.clientHeight,
|
|
3702
|
-
overscan:
|
|
3704
|
+
overscan: 10
|
|
3703
3705
|
});
|
|
3704
3706
|
const paginationModel = (0, import_react25.useMemo)(() => ({ page, pageSize }), [page, pageSize]);
|
|
3705
3707
|
const totalSize = virtualizer.getTotalSize();
|
package/dist/index.js
CHANGED
|
@@ -3318,21 +3318,23 @@ var BodyCell = (props) => {
|
|
|
3318
3318
|
)
|
|
3319
3319
|
);
|
|
3320
3320
|
};
|
|
3321
|
-
var BodyRow = (
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3321
|
+
var BodyRow = memo(
|
|
3322
|
+
(props) => {
|
|
3323
|
+
const { tableId, columns, rowId, editMode, noWrap, row } = props;
|
|
3324
|
+
return /* @__PURE__ */ React23.createElement(React23.Fragment, null, columns.map((column, i) => /* @__PURE__ */ React23.createElement(
|
|
3325
|
+
BodyCell,
|
|
3326
|
+
{
|
|
3327
|
+
...column,
|
|
3328
|
+
tableId,
|
|
3329
|
+
key: `${rowId}_${column.field.toString()}_${i}`,
|
|
3330
|
+
row,
|
|
3331
|
+
rowId,
|
|
3332
|
+
editMode,
|
|
3333
|
+
noWrap
|
|
3334
|
+
}
|
|
3335
|
+
)));
|
|
3336
|
+
}
|
|
3337
|
+
);
|
|
3336
3338
|
function useDataTableRenderer({
|
|
3337
3339
|
rows: _rows,
|
|
3338
3340
|
columns: columnsProp,
|
|
@@ -3649,7 +3651,7 @@ function Component(props, apiRef) {
|
|
|
3649
3651
|
getScrollElement: () => parentRef.current,
|
|
3650
3652
|
estimateSize: () => 32,
|
|
3651
3653
|
measureElement: (element) => element.clientHeight,
|
|
3652
|
-
overscan:
|
|
3654
|
+
overscan: 10
|
|
3653
3655
|
});
|
|
3654
3656
|
const paginationModel = useMemo8(() => ({ page, pageSize }), [page, pageSize]);
|
|
3655
3657
|
const totalSize = virtualizer.getTotalSize();
|