Commit Graph

2678 Commits

Author SHA1 Message Date
Felix Nagel
2b611bad90 Calendar: Create helper methods for Date object creation 2017-04-14 11:34:55 +02:00
Felix Nagel
7ef7f3ab9e Datepicker tests: Add ARIA tests 2017-03-31 22:11:17 +02:00
Felix Nagel
b09c7e8cee Calendar tests: Add basic ARIA attribute tests 2017-03-31 21:51:08 +02:00
Felix Nagel
27f9f87fa2 Calendar tests: Remove unused and outdated daylight saving tests 2017-03-31 21:33:06 +02:00
Felix Nagel
a31bc8b7ee Date tests: Add basic timestamp tests 2017-03-31 21:30:40 +02:00
Felix Nagel
4267e4283c Merge branch 'master' into datepicker
# Conflicts:
#	ui/i18n/datepicker-sv.js
#	ui/widgets/datepicker.js
2017-03-30 23:18:25 +02:00
Konstantin Dinev
278d1e1108 Resizable: Keep user defined handles on _setOption
Fixes #15084
Closes gh-1795
2017-02-24 14:30:58 -05:00
Scott González
a3b9129be1 Spinner: Ignore mousewheel events when not focused
Fixes #15139
Closes gh-1794
2017-02-21 12:45:19 -05:00
Scott González
162377fba2 Build: Add missing semicolon 2017-02-06 10:20:50 -05:00
Eirik Sletteberg
4fa0267edc Qunit: Add bootstrap config for running tests with jQuery Migrate
Closes gh-1774
2017-02-06 08:23:18 -05:00
Felix Nagel
188550faff Calendar: Make sure option numberOfMonth could be changed after creation 2017-01-25 18:29:45 +01:00
Felix Nagel
767d173040 Calendar: Introduce refresh callback event 2017-01-21 13:49:36 +01:00
Felix Nagel
8b864309f6 Datepicker: Make select and change event pass the current value 2017-01-21 13:49:35 +01:00
Felix Nagel
de20614bd7 Calendar: Make select and change event pass the current value 2017-01-21 13:49:35 +01:00
Felix Nagel
b49d12d088 Calendar: Use old globalize for spinner tests
Workaround has been removed when merged with master.
This commit adds the proper dependency again to fix the tests.
2017-01-19 00:04:31 +01:00
Felix Nagel
800307be2a Datepicker tests: Update to QUnit 2.x, shift to use no globals 2016-12-11 17:53:53 +01:00
Felix Nagel
c0f1bd6526 Calendar tests: Update to QUnit 2.x, shift to use no globals 2016-12-11 17:53:41 +01:00
Felix Nagel
55b01ab1de Date tests: Update to QUnit 2.x, shift to use no globals 2016-12-11 17:53:17 +01:00
Scott González
a2b25ef6ca Selectmenu: Don't render options with the hidden attribute
Fixes #15098
2016-11-16 12:52:15 -05:00
Felix Nagel
6b8ac7ef1b Merge branch 'master' into datepicker 2016-11-09 10:13:28 +01:00
Felix Nagel
68028e7262 Calendar tests: use dateEqual assert instead of timestamp compare
Fix travis unit test issue due to timezone difference.
2016-11-04 11:26:18 +01:00
Michał Gołębiowski
4673c8808b Build: Add jQuery 3.1.1
Closes gh-1766
2016-11-02 12:52:22 -04:00
Felix Nagel
f010087aca Calendar: Clear value if an invalid min / max option value was given 2016-10-25 01:34:06 +02:00
Felix Nagel
bd488f97a4 Calendar: Clear value if an invalid input was given 2016-10-12 18:47:22 +02:00
Felix Nagel
f64a7a4812 Calendar: Use name space for timestamp data attribute 2016-10-12 01:31:22 +02:00
Felix Nagel
890510c0a0 Calendar tests: Use assert.expect instead of global expect 2016-10-12 01:23:24 +02:00
Felix Nagel
96b5a760c4 Calendar tests: Simplify timeout steps 2016-10-12 01:09:03 +02:00
Felix Nagel
9fc83a085c Calendar: Add change event 2016-10-12 01:04:26 +02:00
Felix Nagel
9428256ad3 Datepicker: Add min / max option tests 2016-10-12 01:04:26 +02:00
Felix Nagel
877937e5c6 Calendar tests: Add basic value option tests 2016-10-12 01:04:25 +02:00
Felix Nagel
18ad526cfd Calendar tests: Use setup and teardown methods 2016-10-12 01:04:24 +02:00
Felix Nagel
2963622420 Datepicker tests: Use setup and teardown methods, remove helper file 2016-10-11 19:18:15 +02:00
Scott González
0627eb3645 Form: Rename from .form() to ._form() since its not for public use
Fixes #15074
Closes gh-1760
2016-10-11 10:15:04 -04:00
Felix Nagel
85fe55335c Calendar tests: Add dateEqual assertion, clean up helper methods 2016-10-05 18:32:11 +02:00
Kevin Cupp
87eab46a58 Sortable: Setting table row placeholder height to be same as sorted row
Fixes #13662
Closes gh-1578
2016-10-04 15:22:14 -04:00
milk54
b9ffc34710 Tabs: Remove presentation role
Fixes #10122
Closes gh-1748
2016-09-29 10:15:19 -04:00
Felix Nagel
d1152a39e6 Calendar tests: Add select event unit tests 2016-09-29 15:19:05 +02:00
Felix Nagel
ea6c475da4 Datepicker: Make use of Calendar widget icons option
Fix missing classes options defaults in tests.
2016-09-29 15:10:47 +02:00
Felix Nagel
d7939faae2 Calendar: Add icons option support 2016-09-29 15:10:46 +02:00
Felix Nagel
bd7a6f1468 Calendar: Use classes option for non performance critical rendering 2016-09-29 15:10:46 +02:00
Felix Nagel
280cda31d0 Datepicker: Always focus calendar grid when opening
Remove arrow down key requirement.
2016-09-28 18:28:33 +02:00
Sergei Ratnikov
c481400f22 Resizable: Fix aspectRatio cannot be changed after initialization.
Fixes #4186
Closes gh-1750
2016-09-28 11:55:13 -04:00
Alexander Schmitz
89af4c292e Widget: Untrack classes elements when they are removed from the DOM
Fixes #15043
Closes gh-1744
2016-09-13 15:11:34 -04:00
Ryan Oriecuia
8c66934434 Draggable: Fix spurious blur in dialogs on mousedown
I was running into a problem with a popup menu control in a dialog; clicks
weren't working (but keyboard was working fine). It turned out that the menu
was getting destroyed before the click event could fire.

Tracked down the issue to the way draggable blurs focused controls; it was
doing the blur before it ran through the logic to figure out if the drag was
actually on the handle. I've moved the blur below these checks, so it'll only
blur things if it actually needs to handle the drag. Otherwise, it asserts no
opinion on what should and shouldn't be focused, which seems like the way
things ought to be.

Also, added a unit test to check for the expected behavior.

Fixes #15046
Closes gh-1730
2016-09-13 08:53:00 -04:00
Scott González
51461d5238 Slider: Add demo for custom handle
Fixes #15023
Closes gh-1740
2016-09-13 08:41:33 -04:00
Scott González
4e39014803 Dialog: Fix code style 2016-08-31 11:22:54 -04:00
Scott González
d2ce363200 Dialog: Allow for subpixel calculation errors in tests
Tests were failing in IE 10-11 with values that were off by 0.01 pixels.

Closes gh-1737
2016-08-31 11:01:39 -04:00
Scott González
3a45a47968 Effects: Adjust animation duration in tests
With jQuery 3 using `requestAnimationFrame()`, the `setTimeout()` timing
for short animations wasn't working consistently. This resulted in infrequent
failures everywhere (but infrequent enough that it's hard to even notice), but
consistent failures in IE and Edge. Bumping up the duration and running the
assertions in the middle seems to give consistent results.

Eventually, we should refactor this to use `requestAnimationFrame()` in the
tests themselves to avoid problems like this.

Closes gh-1738
2016-08-30 16:37:24 -04:00
Felix Nagel
ac9ca9e52c Menu: Support number pad keyboard input
Fixes #15031
Closes gh-1732
2016-08-24 11:56:26 -04:00
Scott González
3dd8a09b44 Widget: instance() should return undefined for empty sets
Fixes #15019
2016-08-04 09:04:49 -04:00