@shoplflow/base 0.27.2 → 0.27.4

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
@@ -957,7 +957,7 @@ var ModalBody = ({
957
957
  const headerFooterHeight = React3.useMemo(() => getHeaderFooterHeight(), [getHeaderFooterHeight]);
958
958
  const setAutoHeightMin = () => {
959
959
  if (sizeVar === "FULL") {
960
- return windowHeight - topBottomMargin - headerFooterHeight;
960
+ return windowHeight - headerFooterHeight;
961
961
  }
962
962
  if (modalContainerHeight) {
963
963
  if (modalContainerHeight <= 1200) {
@@ -1019,10 +1019,7 @@ var ModalBody = ({
1019
1019
  autoHeight: !modalContainerHeight,
1020
1020
  autoHeightMin: setAutoHeightMin(),
1021
1021
  autoHeightMax: setContentHeightMax(),
1022
- style: {
1023
- height: "100%",
1024
- overflow: "hidden"
1025
- },
1022
+ style: {},
1026
1023
  children: /* @__PURE__ */ jsxRuntime.jsx(ModalBodyContainerInner, { children: /* @__PURE__ */ jsxRuntime.jsx(ModalBodyContent, { isIncludeHeader, sizeVar, children }) })
1027
1024
  }
1028
1025
  )
@@ -2858,7 +2855,6 @@ var LeftElementWrapper = styled6__default.default.div`
2858
2855
  display: flex;
2859
2856
  flex-direction: row;
2860
2857
  align-items: center;
2861
- gap: 4px;
2862
2858
  `;
2863
2859
  var RightElementWrapper = styled6__default.default.div`
2864
2860
  display: flex;
@@ -2932,7 +2928,7 @@ exports.TreeItem = (_a) => {
2932
2928
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2933
2929
  /* @__PURE__ */ React3.createElement(StyledTreeItem, __spreadValues(__spreadProps(__spreadValues({ depth, variants: fadeInOut }, AnimateKey), { layout: true, key: String(label) }), rest), /* @__PURE__ */ jsxRuntime.jsxs(LeftElementWrapper, { children: [
2934
2930
  leftSource,
2935
- /* @__PURE__ */ jsxRuntime.jsx(exports.Text, { typography: "body1_400", lineClamp: 1, children: label })
2931
+ /* @__PURE__ */ jsxRuntime.jsx(exports.StackContainer, { padding: "0 0 0 4px", children: /* @__PURE__ */ jsxRuntime.jsx(exports.Text, { typography: "body1_400", lineClamp: 1, children: label }) })
2936
2932
  ] }), /* @__PURE__ */ jsxRuntime.jsxs(RightElementWrapper, { children: [
2937
2933
  rightSource,
2938
2934
  children && /* @__PURE__ */ jsxRuntime.jsx(exports.IconButton, { styleVar: "GHOST", onClick: handleToggle, children: /* @__PURE__ */ jsxRuntime.jsx(