fui-fancyui
Version:
FancyUI Libary
26 lines (25 loc) • 859 B
JavaScript
import { styled as i } from "styled-components";
import { getBackgroundColor as e } from "../../../design/designFunctions/colorCalculatorForComponent/colorCalculatorForComponent.js";
const l = i.div`
overflow: hidden;
width: 100%;
height: 100%;
max-height: 100dvh;
border-radius: ${({ theme: o }) => o.borderRadius.xl} ${({ theme: o }) => o.borderRadius.xl} 0 0;
position: sticky;
top: 0;
box-shadow: unset;
display: grid;
align-items: flex-start;
padding-top: ${({ $giveSpace: o }) => o ? ({ theme: d }) => d.spacing.lg : "0"};
z-index: 101;
backdrop-filter: blur(4px);
background-color: ${({ theme: o, $themeType: d = "primary", $layer: r = 0 }) => e({ theme: o, $themeType: d, $layer: r })};
${({ $externalStyle: o }) => o}
`, n = i.div`
overflow: hidden;
`;
export {
n as OverflowHidden,
l as StyledSwipeUpContainer
};