Commit Graph

1938 Commits

Author SHA1 Message Date
Felix Nagel
1b885ff768 Merge branch 'master' into datepicker
# Conflicts:
#	ui/i18n/datepicker-pt.js
2017-08-26 13:08:14 +02:00
Scott González
50efd6e1b0 Menu: Ignore mouse events triggered due to page scrolling
Fixes #9356
Closes gh-1806
2017-05-02 15:16:17 -04:00
Scott González
a3e953b495 Menu: Don't focus dividers when wrapping via keyboard navigation
Fixes #15157
Closes gh-1804
2017-05-02 15:12:04 -04:00
Alexander Schmitz
abc9e7ce2f Button: Fix backcompat when called on collection of mixed elements
Fixes #15109
Closes gh-1808
2017-05-02 15:11:24 -04:00
Scott González
adcf9b6f6e Labels: Handle empty sets
Fixes #15184
2017-05-02 12:42:49 -04:00
Scott González
0d25a36eec Menu: Close menus immediately on selection or click outside
Fixes #15034
Closes gh-1807
2017-04-25 06:33:00 -04:00
Scott González
b3c0a7f71d Widget: Handle Object.create(null) for options objects
Fixes #15179
Closes gh-1809
2017-04-24 12:41:29 -04:00
Konstantin Dinev
c426b9a203 Resizable: Keep user-provided handles on destroy
Closes gh-1798
Ref gh-1795
2017-04-17 14:58:12 -04:00
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
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