@shoplflow/base 0.45.9 → 0.45.10

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.cjs CHANGED
@@ -1023,7 +1023,7 @@ var ModalBody = ({
1023
1023
  const headerFooterHeight = React3.useMemo(() => getHeaderFooterHeight(), [getHeaderFooterHeight]);
1024
1024
  const setAutoHeightMin = () => {
1025
1025
  if (sizeVar === "FULL") {
1026
- return windowHeight - headerFooterHeight;
1026
+ return windowHeight - headerFooterHeight - heightToDeduct;
1027
1027
  }
1028
1028
  if (modalContainerHeight) {
1029
1029
  if (modalContainerHeight <= 1200) {
package/dist/index.js CHANGED
@@ -996,7 +996,7 @@ var ModalBody = ({
996
996
  const headerFooterHeight = useMemo(() => getHeaderFooterHeight(), [getHeaderFooterHeight]);
997
997
  const setAutoHeightMin = () => {
998
998
  if (sizeVar === "FULL") {
999
- return windowHeight - headerFooterHeight;
999
+ return windowHeight - headerFooterHeight - heightToDeduct;
1000
1000
  }
1001
1001
  if (modalContainerHeight) {
1002
1002
  if (modalContainerHeight <= 1200) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/base",
3
- "version": "0.45.9",
3
+ "version": "0.45.10",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {