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(
|
|
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(
|
|
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
|
@@ -294,7 +294,7 @@ const TableStandardButtons: React.FC<TableStandardButtonsProps> = ({
|
|
|
294
294
|
}, [currentPage]);
|
|
295
295
|
|
|
296
296
|
return (
|
|
297
|
-
<div className={`${styles.tableResponsive} ${
|
|
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}>
|