A large number of sweet treats have been stolen from a North Yorkshire supermarket.