@moving-walls/design-system 1.0.23 → 1.0.24

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 CHANGED
@@ -36382,9 +36382,10 @@ function CalendarMonth(_ref) {
36382
36382
  }
36383
36383
  // Next month's leading days
36384
36384
  var totalCells = Math.ceil(days.length / 7) * 7;
36385
- for (var _i = days.length; _i < totalCells; _i++) {
36386
- var _date2 = new Date(lastDayOfMonth);
36387
- _date2.setDate(_date2.getDate() + (_i - days.length + 1));
36385
+ var nextMonthStart = days.length;
36386
+ for (var _i = nextMonthStart; _i < totalCells; _i++) {
36387
+ var nextDay = _i - nextMonthStart + 1;
36388
+ var _date2 = new Date(currentMonth.getFullYear(), currentMonth.getMonth() + 1, nextDay);
36388
36389
  days.push({
36389
36390
  date: _date2,
36390
36391
  isCurrentMonth: false
@@ -49571,7 +49572,8 @@ function AgGridTableInner(props) {
49571
49572
  cacheBlockSize = props.cacheBlockSize,
49572
49573
  footerData = props.footerData,
49573
49574
  _props$pagination = props.pagination,
49574
- pagination = _props$pagination === void 0 ? true : _props$pagination;
49575
+ pagination = _props$pagination === void 0 ? true : _props$pagination,
49576
+ onBodyScrollEnd = props.onBodyScrollEnd;
49575
49577
  var gridRef = React.useRef(null);
49576
49578
  var apiRef = React.useRef(null);
49577
49579
  var isSortFromExternalRef = React.useRef(false);
@@ -49739,6 +49741,9 @@ function AgGridTableInner(props) {
49739
49741
  paginationPageSize: useGridPagination ? (_a = serverSideConfig === null || serverSideConfig === void 0 ? void 0 : serverSideConfig.pageSize) !== null && _a !== void 0 ? _a : 10 : undefined,
49740
49742
  paginationPageSizeSelector: useGridPagination ? (_b = serverSideConfig === null || serverSideConfig === void 0 ? void 0 : serverSideConfig.pageSizeSelector) !== null && _b !== void 0 ? _b : DEFAULT_PAGE_SIZE_SELECTOR : undefined,
49741
49743
  cacheBlockSize: cacheBlockSize,
49744
+ onBodyScrollEnd: onBodyScrollEnd ? function () {
49745
+ return onBodyScrollEnd();
49746
+ } : undefined,
49742
49747
  pinnedBottomRowData: footerData === null || footerData === void 0 ? void 0 : footerData.map(function (row, i) {
49743
49748
  return _typeof(row) === "object" && row !== null && !("id" in row) ? Object.assign(Object.assign({}, row), {
49744
49749
  id: "pinned-bottom-".concat(i)