Commit Graph

24 Commits

Author SHA1 Message Date
Rafael Xavier de Souza
5d044dd88c (fix) Datepicker: Use Globalize 1.0.0
- user cannot provide locale: {fn1: ..., fn2:...} with all the
  formatters and parsers
2015-07-29 00:04:00 +02:00
Rafael Xavier de Souza
82ea79ce5f Datepicker: Use Globalize 1.0.0
- Move external/date.js -> ui/calendar/date.js and UMDify it;
- Create a locale option as discussed during Chicago's meeting:
  - [String] A String with locale value, e.g. "en"; or
  - [Object] An object with all the formatters.
  TODO: Use the Globalize to-be-created generators instead of these wrap
  functions.
2015-07-29 00:03:59 +02:00
Rafael Xavier de Souza
fda7a7e98f Datepicker: Use Globalize 1.0.0
- \o/ \o/ \o/ get rid of all name translations
2015-07-29 00:03:37 +02:00
Rafael Xavier de Souza
d0a5a7a0e6 Datepicker: Use Globalize 1.0.0
- Update Globalize to 1.0.0-alpha.6
2015-07-29 00:03:35 +02:00
Scott González
71d8f16ad4 Merge branch 'master' into datepicker 2015-07-15 09:40:38 -04:00
Felix Nagel
a3df6dd8a8 Calendar: Add comment in _needsRefresh method 2015-04-11 00:04:33 +02:00
Felix Nagel
4c2229fc51 Calendar: Fix month jumping WIP
Fixes multiple-month demo and other-month demo.
2015-03-24 01:57:59 +01:00
Felix Nagel
ec0d679e64 Calendar: Remove selected property from $.date 2015-03-20 23:36:56 +01:00
Felix Nagel
c29b5e465d Calendar: Fix border style for multiple months
Ref gh-1432
2015-02-26 09:27:43 -05:00
Felix Nagel
11c1735275 Calendar: Use button instead of link elements for day items
Ref gh-1432
2015-02-26 09:27:41 -05:00
Scott González
2ea46ae1af Calendar: Add build metadata 2015-01-29 18:01:31 -05:00
Felix Nagel
9d423e5b6f Calendar: Sanitize active descendant id selector 2015-01-29 18:01:30 -05:00
Felix Nagel
43f66b8b67 Calendar: Make use of _setOptions to call refresh
Prevents refresh from being called multiple times.
2015-01-29 18:01:30 -05:00
Felix Nagel
ee83c37e0f Calendar: Remove option method overwrite 2015-01-29 18:01:30 -05:00
Felix Nagel
32891588f4 Datepicker: Add missing handling for disabled option 2015-01-29 18:01:30 -05:00
Felix Nagel
e507477603 Calendar: Use _on for link hover events 2015-01-29 18:01:30 -05:00
Felix Nagel
9461f6680b Calendar: Add buttons option 2015-01-29 18:01:29 -05:00
Felix Nagel
5df6d39d13 Datepicker: Improve localization handling, code style 2015-01-29 18:01:29 -05:00
Felix Nagel
2e2787dcfe Calendar: Fix hover event setting and removing 2015-01-29 18:01:29 -05:00
Felix Nagel
b9d8f624ba Datepicker: Several minor code improvements
Several minor code improvements and make suppressExpandOnFocus
an internal variable, remove partial button widget usage in header
2015-01-29 18:01:29 -05:00
Felix Nagel
90c704f1a8 Calendar: Fix broken day table cell attributes 2015-01-29 18:01:28 -05:00
Felix Nagel
6ef023f0e4 Calendar: Remove select callback reference 2015-01-29 17:52:50 -05:00
Felix Nagel
f88a06352a Calendar: Add min and max option.
Improve render day cell mechanism.
2015-01-29 17:52:50 -05:00
Felix Nagel
510ba08cff Calendar: Add calendar widget
Add calendar widget by copying and renaming datepicker widget files.
Remove datepicker functionality, options and methods from Calendar.
Remove calendar functionality, options and methods from Datepicker.
Adjust tests due to split and changed specification. Remove duplicated
demo files and fix some demos. Simplify calendar generation, use CSS
instead of inline styles. Fix destroy method. Make use of uniqueId
method. Fix focus highlighting when month is changed. Add version
property. Add common unit tests. Fix input keyboard handling.
2015-01-29 17:52:46 -05:00