import r, { css as t } from "styled-components";
import { getSpacing as n, convertToTransientProps as d } from "../../../../utils/index.js";
const e = r.div.withConfig(
  {
    shouldForwardProp: d([
      "stackedActionButtons",
      "hasBodyPadding",
      "dismissAction",
      "pinnedFooter"
    ])
  }
)`
  flex-grow: 1;
  ${({ hasBodyPadding: o }) => o && t`
      padding: ${n("s04", "s03")};
    `}

  ${({ pinnedFooter: o, dismissAction: i, stackedActionButtons: s }) => o && t`
      --dismissActionMarBot: ${s && i ? "60px" : "0px"};
      margin-bottom: calc(85px + var(--dismissActionMarBot));
    `}
`;
export {
  e as BottomSheetBodyWrapper
};
