Commit Graph

1575 Commits

Author SHA1 Message Date
Felix Nagel
fd3a68cfa3 Calendar: Fix German localization 2015-01-29 18:01:29 -05:00
Felix Nagel
398ce1bd82 Datepicker tests: Rewrite event unit tests 2015-01-29 18:01:29 -05:00
Felix Nagel
6dfcd937f9 Datepicker tests: Add open and close unit tests 2015-01-29 18:01:28 -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
Felix Nagel
35b52a0dfc Datepicker: Introduce value option
Change status caching, fix existing value related methods, introduce
$.date construction with date object, selected property is null by
default, add selected getter
2015-01-29 17:48:26 -05:00
Felix Nagel
9c66d2e92f Datepicker: Use short instead of abbreviated format for table header
Revert to old behavior with two instead of three chars.
Fixes layout issue with wrong day table cell width.
2015-01-29 17:48:25 -05:00
Felix Nagel
cfea8df90a Datepicker: Fix code style issues 2015-01-29 17:48:19 -05:00
TJ VanToll
77d7dd21a7 Date: Make $.date() a constructor function
Move methods to prototype.
2015-01-29 17:47:50 -05:00
TJ VanToll
a9d6a65651 Date: Update test suite to coding standards 2015-01-29 17:47:50 -05:00
TJ VanToll
fd215f1863 Datepicker: Update the picker as the user types valid dates 2015-01-29 17:47:50 -05:00
TJ VanToll
feedc57486 Datepicker: Handle invalid values in value() and valueAsDate() 2015-01-29 17:47:50 -05:00
TJ VanToll
b4fe65a134 Datepicker: Add an isValid() method 2015-01-29 17:47:50 -05:00
TJ VanToll
104f3e6be0 Datepicker: Re-adding mouse tests 2015-01-29 17:47:49 -05:00
TJ VanToll
605387d6fc Datepicker: Update key handling implementation and tests 2015-01-29 17:47:49 -05:00
Rafael Xavier de Souza
ffc8ab2710 Datepicker: Use Globalize 1.0.0 2015-01-29 17:47:48 -05:00
TJ VanToll
ff4bfd643d Datepicker: Fix key handling implementation and tests 2015-01-29 17:47:48 -05:00
TJ VanToll
e87a5d8c05 Datepicker: Add value() and valueAsDate() methods 2015-01-29 17:47:48 -05:00
TJ VanToll
cc5a4bc5c8 Datepicker: Support destroying inline datepickers 2015-01-29 17:47:48 -05:00
TJ VanToll
bfd8f26bb4 Datepicker: Add test to ensure the <input>'s value is preselected 2015-01-29 17:47:48 -05:00
TJ VanToll
ab94999105 Datepicker: Allow dateFormat to be changed after init 2015-01-29 17:47:48 -05:00
TJ VanToll
13cd6c2fe5 Datepicker: Support changing eachDay after initialization 2015-01-29 17:47:47 -05:00
TJ VanToll
1a83120fff Datepicker: Support position option changes after init 2015-01-29 17:47:47 -05:00
TJ VanToll
5fbe668d86 Datepicker: Various changes for the showWeek option
* Re-add `ui-datepicker-week-col` class name currently used.
* Add test suite.
* Support changing option after initialization.
2015-01-29 17:47:47 -05:00
TJ VanToll
b5893906df Datepicker: Support changing the appendTo option after init 2015-01-29 17:47:47 -05:00
TJ VanToll
8983fee991 Datepicker: Clean up tests 2015-01-29 17:47:47 -05:00
TJ VanToll
e50d6d3bd2 Datepicker: Update tests and demos for new structure 2015-01-29 17:47:46 -05:00
TJ VanToll
68f8e3c2e3 Datepicker: Initial commit of widget rewrite work from old branch
History is on the datepicker-dead branch.
2015-01-29 13:42:45 -05:00
Mike Sherov
9493839f23 Resizable: correct width when grid approaches zero
Fixes #10590
2015-01-27 22:08:05 -05:00
Mike Sherov
337e4110b0 Resizable: Whitespace Cleanup 2015-01-27 22:07:32 -05:00
Jörn Zaefferer
2aabd427eb Tests: Fix style issues with missing or multiple line breaks
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
2015-01-24 17:10:20 +01:00
Michael Orchard
ac49929b07 All: Remove 1.6.x leftovers
Removes 1.6 versions from "All" tests and from the TestSwarm job.

Ref #10723
Ref gh-1422
Closes gh-1434
Closes gh-1435
2015-01-22 13:29:47 +01:00
Jörn Zaefferer
0bbd156918 Menu: Use ui-state-active consistently
So far we were using ui-state-active on active parent items,
ui-state-focus on active child items. The theme update highlighted the
visual inconsistency. With this change, only ui-state-active is used.

Fixes #10692
2015-01-21 18:07:43 +01:00
Jörn Zaefferer
9d0f44fd7b All: Drop support for jQuery 1.6.x
Affects core, effects, position and widget. Only position has unit tests
that fail with jQuery 1.6 without the workaround.

Drops the 1.6.x copies jQuery of jQuery and removes them from the select
in the testsuites.

Fixes #10723
Closes gh-1422
2015-01-13 15:05:54 +01:00
Scott González
65584c1640 Selectmenu: Better handling when there are no options
Fixes #10662
Closes gh-1370
Closes gh-1423
2015-01-12 13:00:38 -05:00
Daniel Owens
42099e4461 Tooltip: Accept HTMLElement and jQuery objects for the content option
Fixes #9278
Closes #983
Closes #1421
2015-01-12 18:37:57 +01:00
Jyoti Deka
ae1d6d5f90 Slider: Fix max calculation, when step is float
Fixes #10721
Closes gh-1398
2015-01-12 12:20:57 -05:00
Jörn Zaefferer
a3b43eeb58 Tests: Fix jQuery version references to match files in external/ 2015-01-12 17:12:05 +01:00
Jörn Zaefferer
d3bb0f7bdb Tests: Fix jquery reference in unit index file 2015-01-12 14:32:24 +01:00
Luke Page
0566e99457 DatePicker: increase date range so that tests still pass through 2015 2015-01-10 21:11:14 +00:00
Luke Page
c21700742b DatePicker: Fix tests to have unique names 2015-01-10 21:09:18 +00:00
Thomas Meyer
4de983c6d5 Position: Add unit tests for bug 8710
Ref #8710
Closes gh-1071
2015-01-09 15:10:06 -05:00
Scott González
ab798cb464 Accordion: Set aria-expanded when collapsing
Fixes #10703
Closes gh-1413
2015-01-05 16:50:27 -05:00
Mike Sherov
b6bec797d6 Effects: Rewrite
1. Introduces a set of helper methods to easily create and define new effects.
2. Uses clip animations and placeholders instead of wrappers for clip effects.
3. Ensures all animations are detectable as animated

Fixes #10599
Fixes #9477
Fixes #9257
Fixes #9066
Fixes #8867
Fixes #8671
Fixes #8505
Fixes #7885
Fixes #7041

Closes gh-1017
2014-12-10 16:58:38 -05:00
Scott González
347b2a5ecd Widget: Fix typos
Closes gh-1386
2014-11-10 08:08:37 -05:00
Mike Sherov
d8077dc562 Draggable: Ensure parent is correct after dragging through sortable
Fixes #10669
2014-11-08 20:27:05 -05:00
Scott González
6a242ab4eb Tabs: Suppress automatic activation when navigating with COMMAND
Fixes #9621
Closes gh-1383
2014-11-04 12:07:46 -05:00
Felix Nagel
979373983b Selectmenu: Copy title attributes
Fixes #10435
Closes gh-1298
2014-11-04 08:40:15 -05:00
TJ VanToll
f656aebe3f Sortable: Redetermine floating flag when recalculating positions
This addresses a bug where users initialize empty sortable lists are
add items dynamically. In this situation refresh() should recognize the
position and orientation of the new items.

Fixes #7498
Closes gh-1381
2014-11-04 08:15:26 -05:00
Felix Nagel
fb4124b7af Selectmenu: Introduce _renderButtonItem() method
Fixes #10142
Closes gh-1299
2014-11-04 08:02:48 -05:00