US retail sales continued their upward trajectory in July with the results consistent with a confident consumer, new figures show, but increased trade tensions could spark a wind of caution in consumer spending in the weeks ahead.