import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import Box from "../box/box.js";
import { useFooterContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/footer/footerSlimColumn.tsx
/** Organizes sections with links into a single column. Different width per breakpoint. */
const FooterSlimColumn = vui((props, ref) => {
	const { children, ...rest } = props;
	const styles = useStyleConfig("Footer", useFooterContext());
	return /* @__PURE__ */ jsx(Box, {
		className: cs("vui-footerSlimColumn"),
		column: true,
		flex: {
			xs: "0 0 50%",
			sm: "0 0 20%",
			md: "0 0 20%"
		},
		minW: 164,
		p: {
			xs: 1,
			sm: 1,
			md: 1.25,
			lg: 1.5
		},
		ref,
		spaceY: 4,
		...styles.column,
		...rest,
		children
	});
});
FooterSlimColumn.displayName = "FooterSlimColumn";

//#endregion
export { FooterSlimColumn as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=footerSlimColumn.js.map