Commit Graph

2673 Commits

Author SHA1 Message Date
Jörn Zaefferer
6fc2cb3c7c Controlgroup: Rename excludeInvisible to onlyVisible
Gets rid of the double negative.
2015-10-08 14:02:58 -04:00
Alexander Schmitz
1beeb94196 Dialog: address review comments 2015-10-08 14:02:57 -04:00
Alexander Schmitz
6b05034283 Selectmenu: Address review comments 2015-10-08 14:02:57 -04:00
Alexander Schmitz
344ce3c87c Checkboxradio: Address review comments 2015-10-08 14:02:57 -04:00
Alexander Schmitz
197061be56 Button: address review comments 2015-10-08 14:02:57 -04:00
Alexander Schmitz
3a30eef1c1 Controlgroup: Style updates 2015-10-08 14:02:57 -04:00
Alexander Schmitz
641c5ed17a Checkboxradio: Style updates 2015-10-08 14:02:56 -04:00
Alexander Schmitz
3330634c4e Controlgroup: fixup for spinner and label 2015-10-08 14:02:47 -04:00
Alexander Schmitz
a00c02513d Controlgroup: Add missing entry to demos bootstrap 2015-10-08 14:02:36 -04:00
Alexander Schmitz
16abde399d Spinner: Updates for new button widget and classes option 2015-10-08 14:02:35 -04:00
Alexander Schmitz
9f7f0a4279 Selectmenu: update to use button css
This ensures consistency between different form elements
2015-10-07 10:57:59 -04:00
Alexander Schmitz
897ec38e63 Dialog: Updating dialog and tests for new button API 2015-10-07 10:57:59 -04:00
Alexander Schmitz
40a9d1dfdb Controlgroup: Inital commit of new widget
This widget replaces the buttonset widget
2015-10-07 10:57:59 -04:00
Alexander Schmitz
25d0c85718 Checkboxradio: Initial commit of new widget 2015-10-07 10:57:59 -04:00
Alexander Schmitz
02033262ee Button: Initial commit of button re-factor
Move to using element stats rather then js class states remove
ui-button-text spans.
Removed button set
2015-10-07 10:57:59 -04:00
Alexander Schmitz
79d312f3f5 Tests: Allow widgets to not have a default element 2015-10-07 10:47:43 -04:00
Jörn Zaefferer
7f3bb4dc4f Tests: Fix jshint includes for datepicker and effects 2015-10-01 12:13:35 +02: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
Scott González
d3025968f3 Focusable: Fix handling of visibility: inherit
Ref #14596
Ref gh-1583
Closes gh-1605
2015-09-29 12:48:11 -04:00
Jörn Zaefferer
0bfbd21d4f Tabs: Adjust handling of disabled option, using _setOptionDisabled
Tabs support multiple values to disable individual tabs. Only add the
ui-tabs-disabled class when all tabs are disabled.

Ref #9151
Closes gh-1599
2015-09-25 13:47:27 -04:00
Scott González
7dde5c9d75 Widget: Call ._setOptionDisabled() on init if the widget is disabled
Fixes #9151
Ref gh-1599
2015-09-25 13:46:25 -04:00
Weston Ruter
0db243a736 Core: Remove ancestor visibility requirement from :focusable selector
* Check computed visibility in addition to :visible
* Add tests for nested visibility override

Fixes #14596
Closes gh-1583
2015-09-24 08:13:59 -04:00
Scott González
e19d462f16 All: Delegate to base _getCreateOptions().
Ensures that any extensions to the base widget will be handled properly by
individual widgets.

Closes gh-1598
2015-09-17 08:47:28 -04:00
Jörn Zaefferer
afbcdbe47e Datepicker: Fix tests on TestSwarm by requiring $.ui.ie in the test
The check that checks for IE wouldn't match since $.ui.ie was extracted
to its own file.
2015-09-17 14:21:23 +02:00
Alexander Schmitz
3d43f0d7a4 Build: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
eefe81bbee FormRestMixin: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
4b39e131b5 Position: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
f520f9ef42 Effects: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
e021e4d6e2 Widget: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
a380d2d09e Datepicker: Style updates
Ref #14246
2015-09-11 08:36:40 -04:00
Alexander Schmitz
f8c2bbb0c8 Dialog: Style updates
Ref #14246
2015-09-11 08:29:09 -04:00
Alexander Schmitz
8336ba7b69 Draggable: Style updates
Ref #14246
2015-09-11 08:29:09 -04:00
Alexander Schmitz
0cab9f0a2f Droppable: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
85ff520560 Menu: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
12be35562a Progressbar: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
5850a5c755 Resizable: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
9a015df3a3 Selectable: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
e583a512d7 Slider: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
62c8217185 Sortable: Style updates
Ref #14246
2015-09-11 08:29:08 -04:00
Alexander Schmitz
23d0884e66 Spinner: Style updates
Ref #14246
2015-09-11 08:29:07 -04:00
Alexander Schmitz
6c0bb24918 Tabs: Style updates
Ref #14246
2015-09-11 08:29:07 -04:00
Alexander Schmitz
a0892eca70 Tooltip: Style updates
Ref #14246
2015-09-11 08:29:07 -04:00
Alexander Schmitz
cfd48ed037 Selectmenu: Style updates
Ref #14246
2015-09-11 08:29:07 -04:00
Scott González
9bb9a8bac0 Tests: Load ui/jquery-1-7.js when testing against jQuery 1.7.x 2015-08-31 15:33:02 -04:00
Alexander Schmitz
3188e1c40c Tests: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
fe5534b347 Core: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
c13ddf22ed Tests: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
1f7164660e Button: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
de242d8ca9 Effects: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
009850abbf Accordion: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
8029cc94e1 Autocomplete: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
a6499c0dee Datepicker: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
9ef84a6bf0 Dialog: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
f75c8761cb Draggable: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
f43311da93 Droppable: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
3b99bf4cc8 Menu: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
f378e34789 Resizable: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
824e05c337 Selectable: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
7e43405269 Selectmenu: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:22 -04:00
Alexander Schmitz
1d572f051a Slider: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:22 -04:00
Alexander Schmitz
d86ac025ee Sortable: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:22 -04:00
Alexander Schmitz
2626be4533 Spinner: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:22 -04:00
Alexander Schmitz
063885f592 Tabs: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:22 -04:00
Alexander Schmitz
b7278a3968 Tooltip: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:22 -04:00
Alexander Schmitz
10e2343e77 Tests: adjust jshint path for moving all widgets into folder
Ref #13885
2015-08-08 00:29:39 -04:00
Alexander Schmitz
eeb962027e Tooltip: Move tooltip into widgets directory
Ref #13885
2015-08-08 00:29:39 -04:00
Alexander Schmitz
18486cb60c Tabs: Move tabs into widgets directory
Ref #13885
2015-08-08 00:29:39 -04:00
Alexander Schmitz
33e135061f Spinner: Move spinner into widgets folder
Ref #13885
2015-08-08 00:29:39 -04:00
Alexander Schmitz
657b6d0f58 Sortable: Move sortable into widgets folder
Ref #13885
2015-08-08 00:29:39 -04:00
Alexander Schmitz
149a1a2a82 Slider: Move slider into widgets folder
Ref #13885
2015-08-08 00:29:39 -04:00
Alexander Schmitz
e7c9e8877e Selectmenu: Move selectmenu into widgets folder
Ref #13885
2015-08-08 00:29:39 -04:00
Alexander Schmitz
2a279db00a Selectable: Move selectable into widgets folder
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
e59b596141 Resizable: Move resizable into widgets folder
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
92e267903e Progressbar: Move progressbar into widgets folder
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
8140d0c901 Menu: Move menu into widgets folder
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
8b3005fd58 Droppable: Move droppable into widgets folder
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
59ea81003d Effects: Move individual effects into effects folder
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
3b2db14b3b Draggable: Move draggable into widgets folder
Ref #13885
2015-08-08 00:29:38 -04:00
Alexander Schmitz
5efa98361e Dialog: Move dialog into widgets folder
Ref #13885
2015-08-08 00:29:37 -04:00
Alexander Schmitz
f1ce6e5de5 Datepicker: Move datepicker into widgets folder
Ref #13885
2015-08-08 00:29:37 -04:00
Alexander Schmitz
dd6a99f140 Button: Move button into widgets folder
Ref #13885
2015-08-08 00:29:37 -04:00
Alexander Schmitz
4c6b1463ea Autocomplete: Move autocomplete into widgets folder
Ref #13885
2015-08-08 00:29:37 -04:00
Alexander Schmitz
12d5aed283 Accordion: Move accordion into widgets folder
Ref #13885
2015-08-08 00:29:37 -04:00
Alexander Schmitz
37602d7e64 Core: Movie uniqueId into its own module and deprecate core module
uniqueId was the last thing in the core module, and it is now just a helper
which require all the modules it used to contain.

Closes #9647
2015-08-08 00:29:37 -04:00
Alexander Schmitz
6064a5e048 Core: Move tabbable into its own module
Ref #9647
2015-08-08 00:29:37 -04:00
Alexander Schmitz
2c92f10747 Core: Move labels into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
64076ecfb5 Core: Move form method into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
475ccefd97 Core: Move focusable into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
f0260fd91b Core: Move data selector from core into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
d4719bf616 Spinner: Deprecate _uiSpinnerHtml and _buttonHtml extension points
Fixes #11097
Closes gh-1560
2015-06-03 08:37:45 -04:00
Alexander Schmitz
6fd9fc92a3 Tests: Add custom build of core to tests
This adds a custom build which excludes the event/alias and deprecated modules

Fixes #12770
Closes gh-1556
2015-05-20 14:28:55 -04:00
Alexander Schmitz
27d746cdd6 Tests: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:58 -04:00
Alexander Schmitz
ba37ca9ea5 Position: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:58 -04:00
Alexander Schmitz
5ee324dd72 Effects: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:57 -04:00
Alexander Schmitz
e543253468 Widget: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:57 -04:00
Alexander Schmitz
24f1ce9ea0 Tooltip: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:57 -04:00
Alexander Schmitz
c25a541fc4 Tabs: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:57 -04:00
Alexander Schmitz
89bf0d057b Spinner: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
Alexander Schmitz
d157b59a51 Sortable: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
Alexander Schmitz
dcd3cd516c Slider: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
Alexander Schmitz
cdbce0c724 Menu: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
Alexander Schmitz
3064793d5b Selectmenu: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
Alexander Schmitz
35ef105430 Droppable: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
Alexander Schmitz
ce949812b6 Draggable: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:56 -04:00
Alexander Schmitz
be0a176b1f Dialog: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Alexander Schmitz
183422bd9f Datepicker: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Alexander Schmitz
12df1b7dad Button: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Alexander Schmitz
8b4ce807cd Autocomplete: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Alexander Schmitz
b240eed81b Accordion: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Scott González
ad98cb1673 Form Reset: Add form reset mixin
Fixes #12638
Closes gh-1555
2015-05-14 20:39:51 -04:00
Scott González
556b2710f0 Widget: Support mixins
Fixes #12601
Closes gh-1554
2015-05-14 20:36:00 -04:00
Scott González
ae25cdb688 Build: Upgrade to jQuery 1.11.3 2015-05-14 08:25:16 -04:00
Scott González
e1751383f1 Tests: Use new jquery-compat-git and jquery-git files 2015-05-14 07:44:13 -04:00
Scott González
f9ad17d575 Widget tests: Clean up $.fn methods 2015-05-13 14:58:39 -04:00
Alexander Schmitz
803eaf29f7 Core: Add $.fn.labels, $.fn.form, and $.ui.escapeSelector methods
$.fn.labels and $.fn.form mimic the native labels and form properties
$.ui.escapeSelector is for escaping attributes and urls for use as selectors

Closes gh-1546
2015-05-05 21:43:57 -04:00
Alexander Schmitz
6a03b0f2ba Build: Update to qunit-assert-classes to V 1.0.2
Closes gh-1547
2015-05-01 07:11:35 -04:00
Jörn Zaefferer
8b89f8c59b Effect: Make .transfer() callback optional
Adds two tests to at least check that no exception is thrown.

Fixes #12223
Closes gh-1545
2015-04-24 15:13:07 +02:00
Ablay Keldibek
897a238332 Slider: Range fills all space after changing orientation
Resets width/height of range

Fixes #12205
Closes gh-1533
2015-04-22 12:55:54 -04:00
Jiabao Wu
2cef124bf2 Tooltip: Remove name attribute from elements in the live region
Fixes #11272
Closes gh-1544
2015-04-22 10:20:11 -04:00
Ablay Keldibek
adcc8eff43 Slider: Pass 0 value if slider reaches it
Fixes #12196
Closes gh-1540
2015-04-20 19:27:26 -04:00
Scott González
0fc9bd208a Position: Remove IE6 workarounds in tests
Closes gh-1543
2015-04-20 14:32:31 -04:00
Jörn Zaefferer
74ccbc18a4 Tabs: Rename ui-tab class to ui-tabs-tab for consistent prefixes
Fixes #12061
Closes gh-1538
Ref #7053
Ref jquery/api.jqueryui.com#256
2015-04-18 08:58:33 +02:00
Scott González
1d193c24dc Tests: Fix loading in TestSwarm 2015-04-17 13:45:13 -04:00
Scott González
6231b161b9 Tests: Fix AMD loading in IE8
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
2015-04-17 12:13:38 -04:00
Scott González
45797b9b41 Tests: Fix domEqual handling for invalid input 2015-04-17 12:10:36 -04:00
Scott González
4bf80d209a Tests: Use the qunit-assert-close module
Moved QUnit assertion dependencies from `lib/bootstrap` to `lib/qunit`.

Corrected bad draggable assertions.

Ref gh-1528
2015-04-09 09:28:25 -04:00
Scott González
bde431bb44 Tests: Rename files
Ref gh-1528
2015-04-09 09:27:00 -04:00
Scott González
dc4b015a8b Tests: Widget test helpers extend the main helper
Ref #10119
Ref gh-1528
2015-04-09 09:26:58 -04:00
Scott González
42566bdd03 Tests: Remove old test infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:28 -04:00
Scott González
669e62d61b Droppable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:28 -04:00
Scott González
a2da340e0d Tooltip: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
7d4811206f Dialog: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
0714f55ad4 Tests: Support $.uiBackCompat = false via data-no-back-compat
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
7d168ce630 Datepicker: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
8bda52c8d1 Spinner: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
23a7a113ac Widget: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
94f5c15df9 Tabs: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
31e36e6ae4 Sortable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
a856dd9b7e Slider: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
3522fd9618 Selectmenu: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
b8625346f6 Selectable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
4e7407cd69 Resizable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
df3e8c4deb Progressbar: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
739f9b3f63 Position: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
f2ca8f92f0 Menu: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
a0e3da0459 Effects: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
fbc55446fb Draggable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
9fb04e42a2 Core: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
f908a7793b Button: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
aff3c32ee1 Autocomplete: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
e39ee9d669 Accordion: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
2e1c72fb59 Tests: Convert closeEnough() to a proper QUnit assertion
Should eventually replace with qunit-assert-close.

Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
7c896ddb85 Tests: Change test infrastructure to use AMD and reduce boilerplate
Ref #10119
Ref gh-1528

* Adds RequireJS and relies on AMD for loading dependencies.
* Updates to grunt-contrib-qunit 0.6.0.
* Convert `domEqual()` to a proper QUnit assertion.
* Introduces two bootstrap files (JS and CSS) which use `data-` attributes to
reduce the amount of boilerplate needed in each test
2015-04-09 09:21:06 -04:00
TJ VanToll
d0ea32e3ad Revert "Draggable: Set explicit width/height instead of right/bottom"
This reverts commit 8eca7b8f45.

Fixes #10725
2015-04-08 13:15:41 -04:00
Jörn Zaefferer
c770605db0 Menu: Ignore bubbled mouseenter events on parent items
Test uses QUnit 2.x API - inconsistent with the other tests, but also
a good reference.

Fixes #11641
Closes gh-1535
2015-04-08 16:34:26 +02:00
Scott González
500f6b4992 Tests: Switch to the new qunit-composite module
This module was created from our existing implementation.

Closes gh-1532
2015-04-07 09:03:36 -04:00
TJ VanToll
65f4feb70b Tests: Add slider visual test to the index page 2015-04-05 11:46:50 -04:00
Scott González
c42a07a2e3 All: Standard spacing inside selector strings
Closes gh-1521
2015-03-26 07:47:17 -04:00
Scott González
899d90709a Tests: Handle jQuery git returning null for empty attributes
jQuery now returns `null` for empty attributes instead of `undefined`.

Closes gh-1516
2015-03-25 15:55:53 -04:00
Scott González
e4363ab82d Tests: Update domEqual() to work with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516
2015-03-25 15:55:12 -04:00
Ablay Keldibek
dff1c74dd4 Slider: Fix handle order when setting values of range slider to max
When both values are set to the maximum change them in descending order

Fixes #9046
Closes gh-1502
2015-03-18 10:49:01 -04:00
Ablay Keldibek
6111b17710 Slider: Pass handle index to events
Added a `handleIndex` property to the event data which indicates the index of
the handle being changed.

Fixes #7630
Closes gh-1486
2015-03-12 07:29:50 -04:00
Ablay Keldibek
21831f5036 Slider: Verify value constraint with a max that is a step mismatch
Ref #10078
Closes gh-1485
2015-03-12 07:21:36 -04:00
Alexander Schmitz
61232cb745 Widget: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:41 -04:00
Alexander Schmitz
7b01dc3d2c Tooltip: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:41 -04:00
Alexander Schmitz
b88a821070 Tabs: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:41 -04:00
Alexander Schmitz
f7645783bf Spinner: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
8f26f0ad1a Sortable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
cba7fd5466 Slider: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
8eb29fd90c Selectmenu: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
9af91bcfa9 Selectable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
5b359d0e10 Resizable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
3b85fd240e Progressbar: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
144826d175 Menu: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
53d1bc2ce1 Effects: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
15a9ed7708 Droppable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
2d5857ca9e Draggable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
a9fa490418 Dialog: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
415675eca1 Button: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
0f370b3e35 Autocomplete: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
66001a2f28 Accordion: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:38 -04:00
Alexander Schmitz
9d71547394 Tooltip: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:33 -04:00
Alexander Schmitz
aaddfbfa8b Tabs: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:28 -04:00
Alexander Schmitz
28dccda377 Spinner: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:23 -04:00
Alexander Schmitz
491bb9c7f4 Slider: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:12 -04:00
Alexander Schmitz
3483486a15 Selectmenu: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:07 -04:00
Alexander Schmitz
2665aa0146 Resizable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:56 -04:00
Alexander Schmitz
ea35ded6ed Progressbar: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:48 -04:00
Alexander Schmitz
2ebef69efe Menu: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:42 -04:00
Alexander Schmitz
f58277a521 Droppable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:34 -04:00
Alexander Schmitz
6f4884f6f5 Dialog: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:11 -04:00
Alexander Schmitz
cff1fb2a13 Autocomplete: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:02:12 -04:00
Alexander Schmitz
7c6a7d71e9 Accordion: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:01:44 -04:00
Alexander Schmitz
c192d4086d Widget: Add classes option and _add/_remove/_toggleClass methods
Fixes #7053
Closes gh-1411
2015-03-11 16:00:04 -04:00
Scott González
8ea36f5e0c Accordion: Fix tests in IE 11 with jQuery 1.7-1.8
Closes gh-1482
2015-03-11 08:43:17 -04:00
Scott González
1f9821c000 Dialog: Remove animation stopping in destroy
Effects wrappers are no longer used, so the workaround and test are no
longer necessary.

This fixes tests in IE8 with jQuery 1.7.

Effectively a complete revert of 13505e5945

Closes gh-1481
2015-03-11 08:42:12 -04:00
Scott González
a6a18d1ed8 Dialog: Fix focus tests in IE8 with jQuery 1.7
Ref gh-1481
2015-03-11 08:42:04 -04:00
Scott González
08eb844552 Tests: Use jquery-git1 instead of jquery-git
Closes gh-1480
2015-03-11 08:39:31 -04:00
Jörn Zaefferer
ac2a1113bb Tests: Fix missing wrapper in widget extend unit tests 2015-03-06 16:27:46 +01:00
Jörn Zaefferer
9a28197f89 Tests: Fix missing wrappers in progressbar tests 2015-03-06 16:27:46 +01:00
Ablay Keldibek
60c00cd4ec Slider: Modified to allow value to reach max value with float step
Fixes #11286
Closes gh-1465
2015-03-05 13:16:54 -05:00
Scott González
af4c35df9d Selectmenu: Support width: false and default to 14em
`width: null` still matches the width of the original element.
`width: false` prevents an inline style from being set for the width. This
makes it easy to set the width via a stylesheet and allows the use of any
unit for setting the width, such as the new default of `14em`.

Fixes #11198
Closes gh-1467
2015-03-05 11:42:49 -05:00
Jörn Zaefferer
666f051c3a Tests: Reduce timeouts to optimize testsuite runtime 2015-03-04 23:04:07 +01:00
Ben Mosher
19783fd3e6 Resizable: alsoResize more than one element of a jQuery selection
Fixes #4666
Closes gh-1324
Closes gh-1461
2015-03-04 08:51:06 -05:00
Patricia Juarez
18e301f4e2 Resizable: Modified to allow jquery objects as handles
Custom handlers did not work as jquery objects (outside the resizable element)

Fixes #9658
Closes gh-1445
2015-03-03 08:52:21 -05:00
Marco Ziech
c4e367bb31 Tooltip: Register event handlers before content is loaded
Fixes #8740
Closes gh-1053
Closes gh-1456
2015-02-25 15:35:49 -05:00
Nils Heuermann
962e05dc1d Sortable: Append a tr with td to the placeholder of tbody elements
When sorting tbody elements of a table the placeholder needs to have a tr with
td elements to be visible. The appended elements are created in the same way
as for the placeholder of a tr element; the first row of the sorted tbody is
used for that.

Fixes #10682
Closes gh-1380
2015-02-24 09:36:12 -05:00
Scott González
8fdfea5fe9 Build: Upgrade to jQuery 1.11.2
Adds jQuery 1.11.0, 1.11.1, 1.11.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3
2015-02-23 14:01:03 -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
Lisa Seacat DeLuca
2500bb39c2 Theme: Carat should be named caret
Fixes #10683
Closes gh-1382
2014-11-03 13:40:58 -05:00
TJ VanToll
e9643f6bfc Selectmenu: Re-add wrappers to menu items 2014-10-25 10:10:38 -07:00
TJ VanToll
4ac7b1f679 Autocomplete: Re-add wrappers to menu items 2014-10-25 10:10:38 -07:00
TJ VanToll
de2ef2a585 Menu: Wrap menu items in a <div>
This avoids styling issues where ui-state-focus rules apply to submenus.

Fixes #10162
Closes gh-1342
2014-10-25 10:10:30 -07: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
TJ VanToll
42b896123c Tests: Removing unused visual theme test 2014-10-24 07:19:19 -07:00
TJ VanToll
ae577ae108 Tests: Adding missing dependency 2014-10-24 07:17:49 -07:00
Scott González
6d7589351e All: Drop support for IE7
Fixes #9838
Closes gh-1365
2014-10-21 09:06:58 -04:00
Scott González
faf87d9924 Core: Remove .zIndex()
Fixes #9156
2014-10-20 19:29:35 -04:00
Scott González
89ed68fb05 Core: Removed .focus( delay )
Fixes #9649
2014-10-20 19:26:01 -04:00
Scott González
b2a477f1bf Dialog: Remove leftover backcompat flag in tests 2014-10-20 19:07:43 -04:00
Scott González
8825d93dc8 Tooltip: Properly track hiding and closing for delegated tooltips
Fixes #10602
Closes gh-1353
2014-10-09 10:40:58 -04:00
Jyoti Deka
6833a31697 Slider: Don't allow a slider's value to exceed its max
Fixes #9376
Closes gh-1016
2014-10-08 09:04:41 -04:00
Scott González
d85016abf0 Datepicker: Fix test for French locale
Ref #10651
2014-10-07 11:21:04 -04:00
Trisha Crowley
c48b18b388 Menu: Typeahead now accounts for leading whitespace
Fixes #10649
Closes gh-1356
2014-10-07 07:45:01 -04:00
TJ VanToll
6b6b49f678 Menu: Maintain focus on already selected item during typeahead
Fixes #10644
Closes gh-1354
2014-10-03 09:30:49 -04:00
Simen Bekkhus
e3e5a9ffa6 Menu: Filter out non-items when typing
Fixes #10571
Closes gh-1329
2014-09-29 14:36:46 -04:00
Mike Sherov
d8a79a5e0e Effects tests: Add clip visual test
Closes gh-1338
2014-09-03 14:46:52 -04:00
Scott González
be3b2b2d8b Tests: Cleanup 2014-09-03 08:37:51 -04:00
Mike Sherov
7f82fffbe9 Effects Tests: Add shake visual test
Closes gh-1328
2014-09-02 19:24:48 -04:00