@shoplflow/base 0.32.43 → 0.32.45

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
@@ -966,12 +966,11 @@ var ScrollArea = React3.forwardRef((_a, ref) => {
966
966
  }, [onResize]);
967
967
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: Boolean(windowWidth) && Boolean(windowHeight) && /* @__PURE__ */ jsxRuntime.jsx(
968
968
  Scrollbars__default.default,
969
- __spreadProps(__spreadValues({
969
+ __spreadProps(__spreadValues({}, rest), {
970
970
  ref: mergeRef,
971
971
  autoHide: true,
972
972
  autoHideTimeout: 1e3,
973
- autoHideDuration: 200
974
- }, rest), {
973
+ autoHideDuration: 200,
975
974
  "data-shoplflow": "ScrollArea",
976
975
  children
977
976
  })
@@ -1062,7 +1061,7 @@ var ModalBody = ({
1062
1061
  universal: true,
1063
1062
  autoHeight: !modalContainerHeight,
1064
1063
  autoHeightMin: _autoHeightMin,
1065
- autoHeightMax: "100%",
1064
+ autoHeightMax: setAutoHeightMax() - heightToDeduct,
1066
1065
  style: {},
1067
1066
  children: /* @__PURE__ */ jsxRuntime.jsx(ModalBodyContainerInner, { children: /* @__PURE__ */ jsxRuntime.jsx(ModalBodyContent, { isIncludeHeader, sizeVar, children }) })
1068
1067
  }
@@ -4257,7 +4256,7 @@ var getHoverTabStyleByStyleVar = (styleVar) => {
4257
4256
  position: absolute;
4258
4257
  left: 0px;
4259
4258
  right: 0px;
4260
- bottom: -2px;
4259
+ bottom: -1px;
4261
4260
  height: 2px;
4262
4261
  background: ${exports.colorTokens.neutral500};
4263
4262
  }
@@ -4289,7 +4288,7 @@ var getActiveTriggerStyleByStyleVar = (styleVar) => {
4289
4288
  position: absolute;
4290
4289
  left: 0px;
4291
4290
  right: 0px;
4292
- bottom: -2px;
4291
+ bottom: -1px;
4293
4292
  height: 2px;
4294
4293
  background: #000;
4295
4294
  }
package/dist/index.js CHANGED
@@ -939,12 +939,11 @@ var ScrollArea = forwardRef((_a, ref) => {
939
939
  }, [onResize]);
940
940
  return /* @__PURE__ */ jsx(Fragment, { children: Boolean(windowWidth) && Boolean(windowHeight) && /* @__PURE__ */ jsx(
941
941
  Scrollbars,
942
- __spreadProps(__spreadValues({
942
+ __spreadProps(__spreadValues({}, rest), {
943
943
  ref: mergeRef,
944
944
  autoHide: true,
945
945
  autoHideTimeout: 1e3,
946
- autoHideDuration: 200
947
- }, rest), {
946
+ autoHideDuration: 200,
948
947
  "data-shoplflow": "ScrollArea",
949
948
  children
950
949
  })
@@ -1035,7 +1034,7 @@ var ModalBody = ({
1035
1034
  universal: true,
1036
1035
  autoHeight: !modalContainerHeight,
1037
1036
  autoHeightMin: _autoHeightMin,
1038
- autoHeightMax: "100%",
1037
+ autoHeightMax: setAutoHeightMax() - heightToDeduct,
1039
1038
  style: {},
1040
1039
  children: /* @__PURE__ */ jsx(ModalBodyContainerInner, { children: /* @__PURE__ */ jsx(ModalBodyContent, { isIncludeHeader, sizeVar, children }) })
1041
1040
  }
@@ -4230,7 +4229,7 @@ var getHoverTabStyleByStyleVar = (styleVar) => {
4230
4229
  position: absolute;
4231
4230
  left: 0px;
4232
4231
  right: 0px;
4233
- bottom: -2px;
4232
+ bottom: -1px;
4234
4233
  height: 2px;
4235
4234
  background: ${colorTokens.neutral500};
4236
4235
  }
@@ -4262,7 +4261,7 @@ var getActiveTriggerStyleByStyleVar = (styleVar) => {
4262
4261
  position: absolute;
4263
4262
  left: 0px;
4264
4263
  right: 0px;
4265
- bottom: -2px;
4264
+ bottom: -1px;
4266
4265
  height: 2px;
4267
4266
  background: #000;
4268
4267
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/base",
3
- "version": "0.32.43",
3
+ "version": "0.32.45",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",