componenteshospitais 4.7.1 → 4.7.2

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/cjs/index.js CHANGED
@@ -17009,7 +17009,7 @@ var TableStandardButtons = function (_a) {
17009
17009
  React.useEffect(function () {
17010
17010
  setCurrentPageLocal(currentPage);
17011
17011
  }, [currentPage]);
17012
- return (React.createElement("div", { className: "".concat(styles$3.tableResponsive, " ").concat(empresa === '6' || maxHeight ? styles$3.tableHeightFixed : ''), style: { minHeight: minHeight ? minHeight : '', maxHeight: maxHeight ? "".concat(maxHeight) : (empresa === '6' && !maxHeight ? '500px' : '') } },
17012
+ return (React.createElement("div", { className: "".concat(styles$3.tableResponsive, " ").concat(ocultaPaginacao === true || maxHeight ? styles$3.tableHeightFixed : ''), style: { minHeight: minHeight ? minHeight : '', maxHeight: maxHeight ? "".concat(maxHeight) : (ocultaPaginacao === true && !maxHeight ? '500px' : '') } },
17013
17013
  React.createElement("div", { style: { minWidth: minWidth ? "".concat(minWidth, "px") : '' }, className: empresaClass },
17014
17014
  showExcelDownloadButton && (React.createElement("div", { className: styles$3.excelWrapper },
17015
17015
  React.createElement("button", { onClick: handleDownloadClick, className: styles$3.excelButton },
package/dist/esm/index.js CHANGED
@@ -17007,7 +17007,7 @@ var TableStandardButtons = function (_a) {
17007
17007
  useEffect(function () {
17008
17008
  setCurrentPageLocal(currentPage);
17009
17009
  }, [currentPage]);
17010
- return (React.createElement("div", { className: "".concat(styles$3.tableResponsive, " ").concat(empresa === '6' || maxHeight ? styles$3.tableHeightFixed : ''), style: { minHeight: minHeight ? minHeight : '', maxHeight: maxHeight ? "".concat(maxHeight) : (empresa === '6' && !maxHeight ? '500px' : '') } },
17010
+ return (React.createElement("div", { className: "".concat(styles$3.tableResponsive, " ").concat(ocultaPaginacao === true || maxHeight ? styles$3.tableHeightFixed : ''), style: { minHeight: minHeight ? minHeight : '', maxHeight: maxHeight ? "".concat(maxHeight) : (ocultaPaginacao === true && !maxHeight ? '500px' : '') } },
17011
17011
  React.createElement("div", { style: { minWidth: minWidth ? "".concat(minWidth, "px") : '' }, className: empresaClass },
17012
17012
  showExcelDownloadButton && (React.createElement("div", { className: styles$3.excelWrapper },
17013
17013
  React.createElement("button", { onClick: handleDownloadClick, className: styles$3.excelButton },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "componenteshospitais",
3
- "version": "4.7.1",
3
+ "version": "4.7.2",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -294,7 +294,7 @@ const TableStandardButtons: React.FC<TableStandardButtonsProps> = ({
294
294
  }, [currentPage]);
295
295
 
296
296
  return (
297
- <div className={`${styles.tableResponsive} ${empresa === '6' || maxHeight ? styles.tableHeightFixed : ''}`} style={{minHeight: minHeight ? minHeight : '', maxHeight: maxHeight ? `${maxHeight}` : (empresa === '6' && !maxHeight ? '500px' : '')}}>
297
+ <div className={`${styles.tableResponsive} ${ocultaPaginacao === true || maxHeight ? styles.tableHeightFixed : ''}`} style={{minHeight: minHeight ? minHeight : '', maxHeight: maxHeight ? `${maxHeight}` : (ocultaPaginacao === true && !maxHeight ? '500px' : '')}}>
298
298
  <div style={{minWidth: minWidth ? `${minWidth}px` : ''}} className={empresaClass}>
299
299
  {showExcelDownloadButton && (
300
300
  <div className={styles.excelWrapper}>