/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
"use client";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
const require_components_client_Switch_SwitchBase = require("../../components/client/Switch/SwitchBase.cjs");
const require_css_animation_Switch_SwitchStaticHandle = require("./SwitchStaticHandle.cjs");
let react = require("react");
react = require_runtime.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/css-animation/Switch/Switch.tsx
/**
* CSS-animation Switch variant. This component intentionally never imports motion.
*
* @componentType Client component
*
* @example
* ```tsx
* 'use client';
* import { Switch } from '@yahoo/uds/css-animation';
*
* <Switch label="Name" required />
* ```
*/
const Switch = (0, react.forwardRef)(function Switch(props, parentRef) {
	const cssAnimationDuration = "duration-120";
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Switch_SwitchBase.SwitchBase, {
		...props,
		ref: parentRef,
		cssAnimationDuration,
		renderHandle: ({ size, isOn, isOnTranslateClass, disabled, onIcon, offIcon, cssAnimationDuration, handleSlotProps }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_css_animation_Switch_SwitchStaticHandle.SwitchStaticHandle, {
			size,
			isOn,
			isOnTranslateClass,
			cssAnimationDuration,
			disabled,
			onIcon,
			offIcon,
			handleSlotProps
		})
	});
});
Switch.displayName = "Switch";
//#endregion
exports.Switch = Switch;
