@shoplflow/base 0.45.6 → 0.45.8

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
@@ -1073,13 +1073,12 @@ var ModalBody = ({
1073
1073
  return autoHeightMax;
1074
1074
  };
1075
1075
  const autoHeightMin = setAutoHeightMin();
1076
- const _autoHeightMin = typeof autoHeightMin === "string" ? autoHeightMin : autoHeightMin - heightToDeduct;
1077
1076
  return /* @__PURE__ */ jsxRuntime.jsx(
1078
1077
  BodyContainer,
1079
1078
  {
1080
1079
  isIncludeHeader,
1081
1080
  sizeVar,
1082
- minHeight: _autoHeightMin,
1081
+ minHeight: autoHeightMin,
1083
1082
  maxHeight: setAutoHeightMax() - heightToDeduct,
1084
1083
  padding,
1085
1084
  children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -1088,7 +1087,7 @@ var ModalBody = ({
1088
1087
  id: `scrollbar`,
1089
1088
  universal: true,
1090
1089
  autoHeight: !modalContainerHeight,
1091
- autoHeightMin: _autoHeightMin,
1090
+ autoHeightMin,
1092
1091
  autoHeightMax: setContentHeightMax() - heightToDeduct,
1093
1092
  style: {},
1094
1093
  children: /* @__PURE__ */ jsxRuntime.jsx(ModalBodyContainerInner, { children: /* @__PURE__ */ jsxRuntime.jsx(ModalBodyContent, { isIncludeHeader, sizeVar, padding, children }) })
package/dist/index.js CHANGED
@@ -1046,13 +1046,12 @@ var ModalBody = ({
1046
1046
  return autoHeightMax;
1047
1047
  };
1048
1048
  const autoHeightMin = setAutoHeightMin();
1049
- const _autoHeightMin = typeof autoHeightMin === "string" ? autoHeightMin : autoHeightMin - heightToDeduct;
1050
1049
  return /* @__PURE__ */ jsx(
1051
1050
  BodyContainer,
1052
1051
  {
1053
1052
  isIncludeHeader,
1054
1053
  sizeVar,
1055
- minHeight: _autoHeightMin,
1054
+ minHeight: autoHeightMin,
1056
1055
  maxHeight: setAutoHeightMax() - heightToDeduct,
1057
1056
  padding,
1058
1057
  children: /* @__PURE__ */ jsx(
@@ -1061,7 +1060,7 @@ var ModalBody = ({
1061
1060
  id: `scrollbar`,
1062
1061
  universal: true,
1063
1062
  autoHeight: !modalContainerHeight,
1064
- autoHeightMin: _autoHeightMin,
1063
+ autoHeightMin,
1065
1064
  autoHeightMax: setContentHeightMax() - heightToDeduct,
1066
1065
  style: {},
1067
1066
  children: /* @__PURE__ */ jsx(ModalBodyContainerInner, { children: /* @__PURE__ */ jsx(ModalBodyContent, { isIncludeHeader, sizeVar, padding, children }) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/base",
3
- "version": "0.45.6",
3
+ "version": "0.45.8",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -100,7 +100,7 @@
100
100
  "simplebar-react": "^3.2.6",
101
101
  "@shoplflow/hada-assets": "^0.1.10",
102
102
  "@shoplflow/utils": "^0.7.2",
103
- "@shoplflow/shopl-assets": "^0.12.31"
103
+ "@shoplflow/shopl-assets": "^0.12.32"
104
104
  },
105
105
  "homepage": "https://github.com/shopl/shoplflow#readme",
106
106
  "scripts": {