buildgrid-ui 1.15.20 → 1.15.21

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.
@@ -9,6 +9,7 @@ interface PaginatedItemsProps<Entry> {
9
9
  isLoading?: boolean;
10
10
  loadingVariant?: 'loader' | 'skeleton';
11
11
  showItemsCounter?: boolean;
12
+ counterText?: string;
12
13
  }
13
14
  export declare const PaginatedItems: <Entry extends {
14
15
  id?: string;
@@ -20977,30 +20977,23 @@ const Fl = ({
20977
20977
  totalPages: r,
20978
20978
  pageTotalItems: o,
20979
20979
  currentPage: a,
20980
- showItemsCounter: i = !0
20981
- }) => /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col gap-2 items-end", children: [
20982
- i && /* @__PURE__ */ s.jsxs("p", { children: [
20983
- /* @__PURE__ */ s.jsx("b", { children: e + 1 }),
20984
- " - ",
20985
- /* @__PURE__ */ s.jsx("b", { children: e + o }),
20986
- " (",
20987
- n,
20988
- ")"
20989
- ] }),
20990
- r > 1 && /* @__PURE__ */ s.jsx(
20991
- wg,
20992
- {
20993
- currentPage: a,
20994
- onPageChange: t,
20995
- totalPages: r,
20996
- totalItems: n,
20997
- startIndex: e,
20998
- endIndex: e + o,
20999
- onPreviousPage: () => t(a - 1),
21000
- onNextPage: () => t(a + 1)
21001
- }
21002
- )
21003
- ] }), dM = (e) => {
20980
+ showItemsCounter: i = !0,
20981
+ counterText: c
20982
+ }) => /* @__PURE__ */ s.jsx("div", { className: "flex flex-col gap-2 items-end", children: r > 1 && /* @__PURE__ */ s.jsx(
20983
+ wg,
20984
+ {
20985
+ currentPage: a,
20986
+ onPageChange: t,
20987
+ totalPages: r,
20988
+ totalItems: n,
20989
+ startIndex: e,
20990
+ endIndex: e + o,
20991
+ onPreviousPage: () => t(a - 1),
20992
+ onNextPage: () => t(a + 1),
20993
+ counterText: c,
20994
+ showItemsCounter: i
20995
+ }
20996
+ ) }), dM = (e) => {
21004
20997
  const {
21005
20998
  data: t = [],
21006
20999
  perPage: n = 50,