@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.53 → 0.0.1-alpha.54

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.
@@ -26378,8 +26378,7 @@ const EnrichedTable = ({
26378
26378
  additionalPrinterColumnsColWidths,
26379
26379
  selectData,
26380
26380
  withoutControls = false,
26381
- tableProps,
26382
- maxHeight
26381
+ tableProps
26383
26382
  }) => {
26384
26383
  const navigate = useNavigate();
26385
26384
  if (!columns) {
@@ -26417,15 +26416,15 @@ const EnrichedTable = ({
26417
26416
  {
26418
26417
  dataSource,
26419
26418
  columns: columnsWithControls,
26420
- pagination: maxHeight ? false : {
26419
+ pagination: tableProps?.disablePagination ? false : {
26421
26420
  position: tableProps?.paginationPosition || ["bottomLeft"],
26422
26421
  showSizeChanger: true,
26423
26422
  defaultPageSize: 10,
26424
26423
  hideOnSinglePage: false,
26425
26424
  showTotal
26426
26425
  },
26427
- scroll: { x: maxHeight ? void 0 : "max-content", y: maxHeight },
26428
- virtual: !!maxHeight,
26426
+ scroll: { x: "max-content", y: tableProps?.maxHeight },
26427
+ virtual: tableProps?.virtual,
26429
26428
  rowSelection: selectData ? {
26430
26429
  type: "checkbox",
26431
26430
  columnWidth: 48,
@@ -33384,8 +33383,7 @@ const EnrichedTableProvider = ({
33384
33383
  tableMappingsReplaceValues,
33385
33384
  forceDefaultAdditionalPrinterColumns,
33386
33385
  selectData,
33387
- tableProps,
33388
- maxHeight
33386
+ tableProps
33389
33387
  }) => {
33390
33388
  const [preparedProps, setPreparedProps] = useState();
33391
33389
  const [isLoading, setIsLoading] = useState(false);
@@ -33434,8 +33432,7 @@ const EnrichedTableProvider = ({
33434
33432
  additionalPrinterColumnsTrimLengths: preparedProps.additionalPrinterColumnsTrimLengths,
33435
33433
  additionalPrinterColumnsColWidths: preparedProps.additionalPrinterColumnsColWidths,
33436
33434
  selectData,
33437
- tableProps,
33438
- maxHeight
33435
+ tableProps
33439
33436
  }
33440
33437
  );
33441
33438
  };