State-dependent ideal free distributions