/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
const require_styles_styler = require('../../styles/styler.cjs');
const require_components_Divider_DividerCore = require('./DividerCore.cjs');
let react = require("react");
let react_jsx_runtime = require("react/jsx-runtime");

//#region src/components/Divider/DividerInternal.tsx
const DividerInternal = (0, react.forwardRef)(function Divider({ variant = "primary", layerClassNames, ...props }, ref) {
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Divider_DividerCore.DividerCore, {
		ref,
		layerClassNames: (0, react.useMemo)(() => ({
			root: require_styles_styler.cx(variant !== "inherit" && require_styles_styler.getStyles({ dividerVariantRoot: variant }), layerClassNames?.root),
			text: require_styles_styler.cx(variant !== "inherit" ? require_styles_styler.getStyles({ dividerVariantLabel: variant }) : void 0, layerClassNames?.text),
			line: require_styles_styler.cx(variant !== "inherit" && require_styles_styler.getStyles({ dividerVariantLine: variant }), layerClassNames?.line)
		}), [
			layerClassNames?.line,
			layerClassNames?.root,
			layerClassNames?.text,
			variant
		]),
		...props
	});
});
DividerInternal.displayName = "DividerInternal";

//#endregion
exports.DividerInternal = DividerInternal;