operational-ui
operational-ui copied to clipboard
DatePicker code quality
The date picker's code can use some general code quality enhancements, especially as it will be enhanced to support more sophisticated needs in the future.
Some ideas:
- add a nice abstraction to take away code repetition in
DatePicker.Month.ts
. - consolidate styles.
- rethink public API with the following alternatives:
- keep things as they are but add warnings
- date object
- a stricter
{ year: 2011, month: 12: day: 2 }
setup - TBA