fix(docs): date picker to use promise instead of callback