All of that is fine and well, but a EVSE is specifically required by NEC 625 to be considered a continuous load.
625.14 Rating. Electric vehicle supply equipment shall have
sufficient rating to supply the load served. For the purposes of
this article, electric vehicle charging loads shall be considered
to be continuous loads.
This dictates that a LEAF on a "30 amp" EVSE (and a 6.6Kw LEAF internal charger will draw 27.5 amps at 240v) needs to be protected with a 40 amp breaker and would thus use #8 or heavier wiring.
If you used #10 wire and a 30 amp breaker, then the EVSE needs to be setup to handshake with the car for the car to not draw more than 24 amps.
If the LEAF has a standard 3.3Kw internal charger, then you are OK. You can easily determine the difference as a standard 3.3Kw equipped car will not have the large Level 3 CHAdeMO fast charge inlet in the front next to the Level 2 inlet. If the car has a fast charger connection, then it has the 6.6Kw internal charger.
You can also tell the car to downgrade to a 24 amp or less level by going thru the setup buttons on the instrument panel.
EDIT: I looked at the manual and cannot find where you can force the charger to downgrade, also went thru the car menus and did not find it, I had never tried it and was thinking you could. I know my GE EVSE has a jumper that can be installed to down grade it to a lower max amps, a few brands have controls on the face of them to do that. The EVSE handshakes with the car and the car agrees to downgrade the charge level if needed.
The car will, of course, charge slower/take longer, at the lower amp/Kw.
Where I work, they recently installed ten Charge Point Level 2 stations, Previously I could not drive the LEAF to work (46 miles one way) and make it home, but now I can drive the LEAF and charge it for a couple of dollars, a bargain to keep from running up mileage on my other vehicles. However, the ones at work are powered by 208 (tapped off 460 three phase) and thus the car charges at a max of 5.75Kw, and takes measurably longer than my home units for the same battery percentage.
Charles