@apexcura/ui-components 0.0.14-Beta174 → 0.0.14-Beta175

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
@@ -845,11 +845,13 @@ var TableElement = (props) => {
845
845
  import_antd14.Table,
846
846
  {
847
847
  className: props.className,
848
- pagination: props.pagination && {
849
- showTotal: (total) => `Total: ${total} items`,
850
- total: props.count,
851
- showSizeChanger: props.count ? props.count > 10 : 0 > 10,
852
- onChange: onChangePage
848
+ ...props.pagination && {
849
+ pagination: {
850
+ showTotal: (total) => `Total: ${total} items`,
851
+ total: props.count,
852
+ showSizeChanger: props.count ? props.count > 10 : false,
853
+ onChange: onChangePage
854
+ }
853
855
  },
854
856
  onRow: (record) => {
855
857
  return {
package/dist/index.mjs CHANGED
@@ -779,11 +779,13 @@ var TableElement = (props) => {
779
779
  Table2,
780
780
  {
781
781
  className: props.className,
782
- pagination: props.pagination && {
783
- showTotal: (total) => `Total: ${total} items`,
784
- total: props.count,
785
- showSizeChanger: props.count ? props.count > 10 : 0 > 10,
786
- onChange: onChangePage
782
+ ...props.pagination && {
783
+ pagination: {
784
+ showTotal: (total) => `Total: ${total} items`,
785
+ total: props.count,
786
+ showSizeChanger: props.count ? props.count > 10 : false,
787
+ onChange: onChangePage
788
+ }
787
789
  },
788
790
  onRow: (record) => {
789
791
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta174",
3
+ "version": "0.0.14-Beta175",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",