I'm refactoring the aui-calendar-datepicker out of the Calendar rollup into being it's own widget.
The reasons prompting this are:
1. Slow performance in IE
Currently in IE6 and IE7, the render cycle causes an entire repaint, often of the entire page
2. Confusing architecture
The widget is the datepicker, but the select boxes and button behave as their own widget. In reality, this should be a separate widget that uses the Calendar widget
The main changes I've made here are around properly handling of the srcNode. The srcNode should not be used as the contentBox, and the reshifting around of elements during the render cycle causes large delays and repaints, especially in IE 6 and 7.
Also the calendar is configured via the "calendar" attribute, and the created calendar widget is accessed via the ".calendar" property. All of the events of the calendar widget bubble up to the datepicker select, so we can listen for events like "calendar:eventName".
Also, some handling of syncing values using BIND_UI_ATTRS to bind to the calendar events, and some general cleanup have been done.