Commit Graph

58 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
0c860b0d92
All: Remove usage of jQuery positional selectors
jQuery positional selectors () have been deprecated in
[jQuery 3.4.0](https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/)
and they'll be removed in jQuery 4.0.0. This PR removes their usage.

Most of the changes were possible without changing public API. However,
dropping `:even` usage required a change to the
[`header` option](https://api.jqueryui.com/accordion/#option-header)
of the accordion widget. I made it an optional function; this will need
to be documented.

The polyfill for `.even()` & `.odd()` is added for jQuery <3.5.0. There was
no usage of the :odd selector in the code but the `.odd()` method is also
polyfilled for completeness.

Closes gh-1904
2020-01-22 16:44:34 +01:00
Jörn Zaefferer
b698f809de Tests: Use demo bootstrap for visual tests
Adds a data-composite option and fixes paths for effects. Otherwise
just applies the same conversion as already applied to demos, sometimes
moving a <style> element to the right place.
2015-09-30 17:55:20 +02:00
Alexander Schmitz
3064793d5b Selectmenu: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
TJ VanToll
3002d460de Theme: Change default widget font-size to 1em
Fixes #10131
Closes gh-1374
2014-10-24 07:23:31 -07:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
Jörn Zaefferer
a40647f0e5 All: Rename jquery.js to exclude version in filename 2014-03-05 10:19:11 +01:00
Jörn Zaefferer
1c278f97fc Selectmenu: Fix invalid empty options in visual test 2014-02-21 19:49:54 +01:00
Jörn Zaefferer
60a5f1a499 Selectmenu: Fix whitespace in visual test 2014-02-21 19:49:09 +01:00
Scott González
cf85f6726b Tests: Use .bind() instead of .on() 2014-02-11 11:54:55 -08:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Felix Nagel
1656cd2f34 Selectmenu Tests: add unit and visual tests for width option 2013-12-07 19:10:50 +01:00
Felix Nagel
f3e4b24485 Selectmenu: improve disabled item handling 2013-10-29 19:52:54 +01:00
Felix Nagel
2290e30891 Selectmenu: Updating jQuery to 1.10.2. 2013-07-09 23:00:22 +02:00
Jörn Zaefferer
ab72fd1666 Selectmenu: Fix htmllint warnings 2013-06-05 15:22:03 +02:00
Felix Nagel
33317c9372 Selectmenu tests: combine visual tests to one 2013-05-30 22:07:52 +02:00
Felix Nagel
5e06985fb4 Selectmenu Tests: add visual test selectmenu in tabs, removed old compatibility test 2013-05-01 00:07:09 +02:00
Felix Nagel
ad30163f1c Selectmenu Tests: added labels to disabled empty visual test 2013-04-29 21:34:10 +02:00
Felix Nagel
c1667ba01d Selectmenu Tests: change doctype to lower case 2013-04-29 21:13:33 +02:00
Felix Nagel
78f9362882 Selectmenu: Updating jQuery to 1.9.1. 2013-02-09 03:31:43 +01:00
Felix Nagel
110cab160e Selectmenu tests: remove toggle event as its removed 2013-02-09 03:25:47 +01:00
Felix Nagel
de149c47d7 Selectmenu: Updating to jQuery 1.9.0 2013-01-18 19:28:13 +01:00
Felix Nagel
84621940bf Selectmenu tests: remove option dropdown 2012-12-20 00:12:35 +01:00
Felix Nagel
58f2706cbb Selectmenu tests: improve compatibility visual test in order to work with ui-front 2012-12-15 02:24:45 +01:00
Felix Nagel
25023c3040 Selectmenu tests: fixed headlines in disable / empty visual test 2012-12-15 01:07:10 +01:00
Felix Nagel
21e46b8bc6 Selectmenu tests: improve and merge visual tests 2012-12-13 01:15:48 +01:00
Felix Nagel
6fd9d8f93c Selectmenu tests: add button widget js file to fix compatibility test 2012-11-29 20:36:48 +01:00
Felix Nagel
d1c9837a51 Selectmenu tests: remove themeswitcher as its no longer available 2012-11-29 20:35:29 +01:00
Felix Nagel
0d4a8dca55 Selectmenu tests: Upgrade jQuery to 1.8.3 2012-11-23 13:45:01 +01:00
Felix Nagel
d24e62bade Selectmenu tests: lint fixes 2012-11-13 22:28:10 +01:00
Felix Nagel
fc729a8c8e Selectmenu: Upgrade jQuery to 1.8.2. 2012-10-03 22:43:03 +02:00
Felix Nagel
5e12c54be1 Selectmenu tests: Upgrade visual tests to jQuery to 1.8.0. 2012-09-04 12:17:04 +02:00
Felix Nagel
c7e9906cd0 Selectmenu: added complex menu demo to compatibility visual test 2012-07-13 00:30:47 +02:00
Felix Nagel
c3f6bd912e Selectmenu: trim trailing spaces 2012-05-16 20:43:42 +02:00
Felix Nagel
4460376a85 Selectmenu: Upgrade tests to jQuery 1.7.2 2012-05-16 20:11:42 +02:00
Felix Nagel
e299e9ad66 Selectmenu: added empty.html visual test, small improvements in html files 2012-02-26 02:52:23 +01:00
Felix Nagel
156d0fbf09 Selectmenu: fix for IEs item hover problem, overflow CSS properties now included 2012-02-26 02:16:50 +01:00
Felix Nagel
1fbf5cb4c7 Selectmenu: small typo in visual test 2012-02-26 01:04:32 +01:00
Felix Nagel
29effb38eb Selectmenu: removed Button widget dependency 2012-02-23 23:25:03 +01:00
Felix Nagel
af0d520704 Selectmenu: merge themeswitcher with compatibility visual test 2012-02-22 00:22:08 +01:00
Jörn Zaefferer
59d15809a3 Selectmenu: Introduce menuWidget method, to get access to the menu element. Fix various tests and simplify demos accordingly. Add comment about optgroup-click-handling. 2012-02-21 20:22:13 +01:00
Felix Nagel
30211901a8 Selectmenu: removed space from file name 2012-01-25 22:30:18 +01:00
Felix Nagel
08de75cbec Selectmenu: add refresh method to visual test 2012-01-20 00:49:10 +01:00
Felix Nagel
3369ec340d Selectmenu: removed option value 2012-01-12 22:01:49 +01:00
Felix Nagel
c00b685cb8 Selectmenu: added visual test for themeswitcher 2011-12-01 20:31:52 +01:00
Felix Nagel
aef2d2fc6c Selectmenu: improved visual tests (title and merging widget compatibility tests) 2011-12-01 20:09:57 +01:00
Jörn Zaefferer
769abbabc3 Upgrade jQuery to 1.7.1. 2011-11-24 11:27:35 +01:00
Felix Nagel
0d064bba4e Selectmenu: fixed jQuery version 2011-11-21 21:43:52 +01:00
Felix Nagel
5cbd109792 Selectmenu: added visual tests for testing compatibility with other widgets 2011-11-02 19:46:51 +01:00
Felix Nagel
404f4c1263 Selectmenu: added open and close method demo 2011-10-17 22:06:07 +02:00
Felix Nagel
2be6e70bba Selectmenu: added test for methods 2011-10-10 20:09:03 +02:00