import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { ClimateModeMenu } from '../../../lib/ui/thermostat/ClimateModeMenu.js';
import { TemperatureControlGroup, } from '../../../lib/ui/thermostat/TemperatureControlGroup.js';
export function ClimateSettingControlGroup(props) {
    const { mode, onModeChange, ...rest } = props;
    return (_jsxs("div", { className: 'seam-climate-setting-control-group', children: [_jsx(ClimateModeMenu, { mode: mode, onChange: onModeChange }), mode !== 'off' && (_jsx("div", { className: 'seam-climate-setting-slider-container', children: _jsx(TemperatureControlGroup, { mode: mode, ...rest }) }))] }));
}
//# sourceMappingURL=ClimateSettingControlGroup.js.map