@oliasoft-open-source/react-ui-library 5.0.9-beta-1 → 5.0.9

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.d.ts CHANGED
@@ -437,7 +437,7 @@ export declare interface IFlexProps {
437
437
 
438
438
  declare interface IFooterProps {
439
439
  colSpan?: number;
440
- pagination: IPagination;
440
+ pagination?: IPagination;
441
441
  actions?: IAction[];
442
442
  content?: ReactNode;
443
443
  testId?: string;
@@ -1384,6 +1384,7 @@ declare interface ITableTableProps {
1384
1384
  defaultEmptyRow?: any;
1385
1385
  stickyHeaders?: string | boolean;
1386
1386
  actions?: any;
1387
+ rowCount?: number;
1387
1388
  }
1388
1389
 
1389
1390
  declare interface ITabOption {
package/dist/index.js CHANGED
@@ -168494,7 +168494,7 @@ const Footer = ({
168494
168494
  children: [
168495
168495
  hasContent ? /* @__PURE__ */ jsx("div", { className: styles$a.section, children: /* @__PURE__ */ jsx("div", { children: content2 }) }) : null,
168496
168496
  hasActions2 || hasPagination() ? /* @__PURE__ */ jsxs("div", { className: styles$a.section, children: [
168497
- hasPagination() ? /* @__PURE__ */ jsx(Pagination, { pagination }) : /* @__PURE__ */ jsx("div", {}),
168497
+ pagination && hasPagination() ? /* @__PURE__ */ jsx(Pagination, { pagination }) : /* @__PURE__ */ jsx("div", {}),
168498
168498
  hasActions2 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
168499
168499
  ] }) : null
168500
168500
  ]
@@ -169466,7 +169466,7 @@ const TableVirtualScrollWrapper = ({
169466
169466
  const MIN_ITEM_HEIGHT = 30;
169467
169467
  const BORDER_WIDTH = 1;
169468
169468
  const virtualizer = useVirtualizer({
169469
- count: ((_a2 = table2.rows) == null ? void 0 : _a2.length) ?? 0,
169469
+ count: (table2 == null ? void 0 : table2.rowCount) ?? ((_a2 = table2.rows) == null ? void 0 : _a2.length) ?? 0,
169470
169470
  getScrollElement: () => containerRef.current,
169471
169471
  estimateSize: () => MIN_ITEM_HEIGHT + BORDER_WIDTH,
169472
169472
  overscan: 10