import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { omitThemingProps, useStyleConfig } from "../core/theme.js";
import { vui } from "../core/vui.js";
import t_default from "../t/t.js";
import "../t/index.js";
import "../core/index.js";
import { useBreadcrumbsContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/breadcrumbs/breadcrumbsItem.tsx
/** A Breadcrumb item. */
const BreadcrumbsItem = vui((props, ref) => {
	const { className, children, ...rest } = omitThemingProps(props);
	const parentContext = useBreadcrumbsContext();
	const styles = useStyleConfig("Breadcrumbs", parentContext);
	return /* @__PURE__ */ jsx(t_default, {
		variant: "navigation",
		size: parentContext.size,
		alignItems: "center",
		className: cs("vui-breadcrumbs-item", className),
		ref,
		...styles.item,
		...rest,
		children
	});
});
BreadcrumbsItem.displayName = "BreadcrumbsItem";
var breadcrumbsItem_default = BreadcrumbsItem;

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