@apexcura/ui-components 0.0.11-Beta253 → 0.0.11-Beta255

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
@@ -619,7 +619,7 @@ var import_antd13 = require("antd");
619
619
  // src/Components/ModelBody.tsx
620
620
  var import_react19 = __toESM(require("react"));
621
621
  var ModelBody = (props) => {
622
- return props.modelContent && /* @__PURE__ */ import_react19.default.createElement("div", { className: props.modalContent.className }, props.modalContent && props.modalContent.fields.map((eachField) => {
622
+ return /* @__PURE__ */ import_react19.default.createElement("div", { className: props.modalContent && props.modalContent.className }, props.modalContent && props.modalContent.fields.map((eachField) => {
623
623
  if (eachField.element === "div") {
624
624
  return /* @__PURE__ */ import_react19.default.createElement("div", { className: eachField.className }, eachField.label);
625
625
  } else if (eachField.element === "input-radio") {
@@ -709,7 +709,7 @@ var TableElement = (props) => {
709
709
  pagination: {
710
710
  showTotal: (total) => `Total: ${total} items`,
711
711
  total: count,
712
- showSizeChanger: false
712
+ showSizeChanger: count > 10
713
713
  },
714
714
  dataSource,
715
715
  columns,
package/dist/index.mjs CHANGED
@@ -567,7 +567,7 @@ import { Modal } from "antd";
567
567
  // src/Components/ModelBody.tsx
568
568
  import React18 from "react";
569
569
  var ModelBody = (props) => {
570
- return props.modelContent && /* @__PURE__ */ React18.createElement("div", { className: props.modalContent.className }, props.modalContent && props.modalContent.fields.map((eachField) => {
570
+ return /* @__PURE__ */ React18.createElement("div", { className: props.modalContent && props.modalContent.className }, props.modalContent && props.modalContent.fields.map((eachField) => {
571
571
  if (eachField.element === "div") {
572
572
  return /* @__PURE__ */ React18.createElement("div", { className: eachField.className }, eachField.label);
573
573
  } else if (eachField.element === "input-radio") {
@@ -657,7 +657,7 @@ var TableElement = (props) => {
657
657
  pagination: {
658
658
  showTotal: (total) => `Total: ${total} items`,
659
659
  total: count,
660
- showSizeChanger: false
660
+ showSizeChanger: count > 10
661
661
  },
662
662
  dataSource,
663
663
  columns,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta253",
3
+ "version": "0.0.11-Beta255",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",