@oliasoft-open-source/react-ui-library 3.11.0-beta-18 → 3.11.0-beta-19

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/global.css CHANGED
@@ -15249,15 +15249,11 @@ html[data-theme='dark'] {
15249
15249
  ._detailedLabel_16b8a_662 :last-child {
15250
15250
  float: right;
15251
15251
  }
15252
- ._paginationContainer_1g3st_1 {
15252
+ ._paginationContainer_1tmz4_1 {
15253
15253
  display: flex;
15254
15254
  align-items: center;
15255
- }
15256
- ._pagination_1g3st_1 {
15257
- display: flex;
15258
- padding-left: 0;
15259
- list-style: none;
15260
- margin: 0 1rem;
15255
+ flex-wrap: wrap;
15256
+ gap: 4px;
15261
15257
  }
15262
15258
  /*
15263
15259
  This file has shared variables that are re-used in other LESS files/modules
package/dist/index.js CHANGED
@@ -29358,13 +29358,11 @@ const validateSelectedPage = (selectedPage, numPages, errorMessageTemplate = "Se
29358
29358
  }
29359
29359
  return valid;
29360
29360
  };
29361
- const paginationContainer = "_paginationContainer_1g3st_1";
29362
- const pagination = "_pagination_1g3st_1";
29361
+ const paginationContainer = "_paginationContainer_1tmz4_1";
29363
29362
  const styles$k = {
29364
- paginationContainer,
29365
- pagination
29363
+ paginationContainer
29366
29364
  };
29367
- const Pagination = ({ pagination: pagination2 }) => {
29365
+ const Pagination = ({ pagination }) => {
29368
29366
  const {
29369
29367
  rowCount,
29370
29368
  selectedPage,
@@ -29372,7 +29370,7 @@ const Pagination = ({ pagination: pagination2 }) => {
29372
29370
  onSelectPage,
29373
29371
  rowsPerPage,
29374
29372
  errorMessageTemplate
29375
- } = pagination2;
29373
+ } = pagination;
29376
29374
  const showAll = Number(rowsPerPage == null ? void 0 : rowsPerPage.value) === 0;
29377
29375
  const numPages = numberOfPages(rowCount, rowsPerPage);
29378
29376
  const [unvalidatedSelectedPage, setUnvalidatedSelectedPage] = useState(
@@ -29416,6 +29414,7 @@ const Pagination = ({ pagination: pagination2 }) => {
29416
29414
  }),
29417
29415
  /* @__PURE__ */ jsxRuntime.exports.jsx(Button$1, {
29418
29416
  small: small2,
29417
+ round: true,
29419
29418
  basic: true,
29420
29419
  icon: /* @__PURE__ */ jsxRuntime.exports.jsx(FaAngleDoubleLeft, {}),
29421
29420
  onClick: () => setSelectedPage(String(1)),
@@ -29423,6 +29422,7 @@ const Pagination = ({ pagination: pagination2 }) => {
29423
29422
  }),
29424
29423
  /* @__PURE__ */ jsxRuntime.exports.jsx(Button$1, {
29425
29424
  small: small2,
29425
+ round: true,
29426
29426
  basic: true,
29427
29427
  icon: /* @__PURE__ */ jsxRuntime.exports.jsx(FaAngleLeft, {}),
29428
29428
  onClick: () => setSelectedPage(String(selectedPage - 1)),
@@ -29451,6 +29451,7 @@ const Pagination = ({ pagination: pagination2 }) => {
29451
29451
  }),
29452
29452
  /* @__PURE__ */ jsxRuntime.exports.jsx(Button$1, {
29453
29453
  small: small2,
29454
+ round: true,
29454
29455
  basic: true,
29455
29456
  icon: /* @__PURE__ */ jsxRuntime.exports.jsx(FaAngleRight, {}),
29456
29457
  onClick: () => setSelectedPage(String(selectedPage + 1)),
@@ -29458,6 +29459,7 @@ const Pagination = ({ pagination: pagination2 }) => {
29458
29459
  }),
29459
29460
  /* @__PURE__ */ jsxRuntime.exports.jsx(Button$1, {
29460
29461
  small: small2,
29462
+ round: true,
29461
29463
  basic: true,
29462
29464
  icon: /* @__PURE__ */ jsxRuntime.exports.jsx(FaAngleDoubleRight, {}),
29463
29465
  onClick: () => setSelectedPage(String(numPages)),
@@ -59183,12 +59185,12 @@ const styles$8 = {
59183
59185
  section
59184
59186
  };
59185
59187
  const Footer = (props) => {
59186
- const { colSpan, pagination: pagination2, actions: actions2, content: content2 } = props;
59188
+ const { colSpan, pagination, actions: actions2, content: content2 } = props;
59187
59189
  const hasActions2 = actions2 && actions2.length;
59188
59190
  const hasContent = content2 != null;
59189
59191
  const hasPagination = () => {
59190
- if (pagination2) {
59191
- const { rowCount, rowsPerPage } = pagination2;
59192
+ if (pagination) {
59193
+ const { rowCount, rowsPerPage } = pagination;
59192
59194
  const minRows = rowsPerPage.options[0].value;
59193
59195
  return rowCount > minRows;
59194
59196
  }
@@ -59208,7 +59210,7 @@ const Footer = (props) => {
59208
59210
  className: styles$8.section,
59209
59211
  children: [
59210
59212
  hasPagination() ? /* @__PURE__ */ jsxRuntime.exports.jsx(Pagination, {
59211
- pagination: pagination2
59213
+ pagination
59212
59214
  }) : /* @__PURE__ */ jsxRuntime.exports.jsx("div", {}),
59213
59215
  /* @__PURE__ */ jsxRuntime.exports.jsx("div", {
59214
59216
  children: /* @__PURE__ */ jsxRuntime.exports.jsx(Actions, {