"use client";
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
const require_use_props = require("../../../core/MantineProvider/use-props/use-props.cjs");
const require_factory = require("../../../core/factory/factory.cjs");
const require_Box = require("../../../core/Box/Box.cjs");
const require_AppShell_context = require("../AppShell.context.cjs");
const require_AppShell_module = require("../AppShell.module.cjs");
let react = require("react");
react = require_runtime.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region packages/@mantine/core/src/components/AppShell/AppShellNavbar/AppShellNavbar.tsx
const AppShellNavbar = require_factory.factory((_props) => {
	const { classNames, className, style, styles, unstyled, vars, withBorder, zIndex, mod, ...others } = require_use_props.useProps("AppShellNavbar", null, _props);
	const ctx = require_AppShell_context.useAppShellContext();
	if (ctx.disabled) return null;
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
		component: "nav",
		mod: [{ "with-border": withBorder ?? ctx.withBorder }, mod],
		...ctx.getStyles("navbar", {
			className,
			classNames,
			styles,
			style
		}),
		...others,
		__vars: { "--app-shell-navbar-z-index": `calc(${zIndex ?? ctx.zIndex} + 1)` }
	});
});
AppShellNavbar.classes = require_AppShell_module.default;
AppShellNavbar.displayName = "@mantine/core/AppShellNavbar";
//#endregion
exports.AppShellNavbar = AppShellNavbar;

//# sourceMappingURL=AppShellNavbar.cjs.map