Commit Graph

4003 Commits

Author SHA1 Message Date
Felix Nagel
8a169db7f4 Calendar: Remove all unused methods from custom date object 2015-09-27 19:12:00 +02:00
Felix Nagel
dcef453594 Calendar: Move custom date object to ui namespace 2015-09-27 18:45:53 +02:00
Felix Nagel
af7d2009ce Calendar: Remove some obsolete todo comments 2015-09-27 18:11:35 +02: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
Jörn Zaefferer
ef8ac2a9f2 Tooltip: Don't apply disabled style changes on create
Ref #9151
Ref gh-1599
2015-09-25 13:47:17 -04:00
Jörn Zaefferer
1397ce4df6 Spinner: Remove redundant handling of disabled option on create
Ref #9151
Ref gh-1599
2015-09-25 13:47:14 -04:00
Jörn Zaefferer
897dc718c6 Slider: Remove redundant handling of disabled option on create
Ref #9151
Ref gh-1599
2015-09-25 13:47:11 -04:00
Jörn Zaefferer
d2f62041f9 Selectmenu: Remove redundant handling of disabled option on create
Ref #9151
Ref gh-1599
2015-09-25 13:47:09 -04:00
Jörn Zaefferer
7ceaa61842 Progressbar: Handle disabled option on create, using _setOptionDisabled
Ref #9151
Ref gh-1599
2015-09-25 13:47:07 -04:00
Jörn Zaefferer
8d031215c6 Menu: Remove redundant handling of disabled option on create
Ref #9151
Ref gh-1599
2015-09-25 13:47:04 -04:00
Jörn Zaefferer
83725a8fab Draggable: Remove redundant handling of disabled class on create
_setOptionDisabled in $.Widget is now handling that.

Ref #9151
Ref gh-1599
2015-09-25 13:47:02 -04:00
Jörn Zaefferer
11bd6d28b7 Dialog: Override disabled option on create, force always-enabled state
Without this, _on will still respect the disabled option and ends up
preventing closing the dialog.

Ref #9151
Ref gh-1599
2015-09-25 13:46:53 -04:00
Jörn Zaefferer
874b4a0316 Accordion: Handle disabled option on create, through _setOptionDisabled
Ref #9151
Ref gh-1599
2015-09-25 13:46:41 -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
2d4b4ef360 Datepicker: Fix date format for ko locale
Fixes #14595
Closes gh-1595
2015-09-23 11:30:55 -04:00
Scott González
ce50178430 Autocomplete: Use a div instead of a span for the live region
Fixes #14587
2015-09-18 11:19:59 -04:00
Scott González
0ff7a16534 Resizable: Don't round dimensions 2015-09-17 09:51:44 -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
Scott González
d31e342e1d Widget: Style updates
Closes gh-1597
2015-09-16 12:45:54 -04:00
Alexander Schmitz
5053f4ad3d Datepicker: Style updates to KO locale for jscs 2015-09-11 08:42:24 -04:00
Alexander Schmitz
5b5cb6153c Mouse: Style fixes for jscs 2015-09-11 08:42:02 -04:00
Alexander Schmitz
806c2a4606 Widget: Update to use camelCase identifiers 2015-09-11 08:36:41 -04:00
Alexander Schmitz
013a411a48 Spinner: Update to use camelcase identifiers 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
14b3b607e5 Autocomplete: Style updates
Ref #14246
2015-09-11 08:36:40 -04:00
Alexander Schmitz
b2bf10e0ec Button: Style updates
Ref #14246
2015-09-11 08:36:40 -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
a3a847f23a Mouse: 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
Felix Nagel
31908a1465 Calendar: Make header prev / next buttons min / max option aware
* Disable / enable header buttons according to min / max
* Add tests for header button states
* Improve header button rendering and refreshing
* Improve header button label escaping on create
* Create button pane for multiple pickers (bugfix)
2015-09-10 23:21:24 +02:00
Felix Nagel
c5b2d8552c Calendar: Make use of escapeSelector method 2015-09-10 23:21:23 +02:00
Felix Nagel
09be7b328e Calendar: Fix view when moving between multiple months with keyboard
Make sure numberOfMonths is taken into account while navigating with keyboard
when rendering multiple calendar grids (numberOfMonths > 1).
2015-09-10 23:21:23 +02:00
Liran Sharir
9b82001a70 Mouse: Fix delay timeout clearing upon mouseup
Fixes #14458
Closes gh-1579
2015-08-31 16:01:38 -04:00
Myeongjin Lee
e5c3004c8e Datepicker: Translate weekHeader in ko locale
Closes gh-1582
2015-08-31 15:10:51 -04:00
Scott González
eec0cfd7fe Datepicker: Remove stray line
Fixes #14416
2015-08-28 10:20:45 -04:00
Felix Nagel
a307992375 Calendar: Fix weekday name jumping when using numberOfMonths option
Fixes weekday name jumping when clicking the last day of the last
grid. Includes some basic tests for multiple month demo and this
specific issue.
2015-08-25 17:47:13 +02:00
Alexander Schmitz
fe5534b347 Core: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
8e28f474e5 Position: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
b5f0fae57a Widget: 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
20fae727d9 Mouse: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:23 -04:00
Alexander Schmitz
e4f42beea6 Progressbar: 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
Scott González
31d9184aa3 Merge branch 'master' into datepicker 2015-08-20 09:48:11 -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
5dc88353d4 Mouse: Move mouse 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
72bfafbede Core: Move scrollParent into its own module
Ref #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
26fc3b5587 Core: Move safe blur into its own module
Ref #9647
2015-08-08 00:29:37 -04:00
Alexander Schmitz
2b84531ae9 Core: Move safeActiveElement into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
0a9df3af52 Core: Move plugin into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
2d03e1280a Core: Move backcompat for core 1.7 into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
2c92f10747 Core: Move labels into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
bddb7efe00 Core: Move keyCode into its own module
Ref #9647
2015-08-08 00:29:36 -04:00
Alexander Schmitz
677fdbf7be Core: Move $.ui.ie 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
47188b7926 Core: Move escape selector 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
4916487440 Core: Move disable-selection 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
3d71fb83fe Core: Move version and creation of the ui namespace into its own module
Ref #9647
2015-08-08 00:29:35 -04:00
Felix Nagel
8bd4030443 Datepicker: Re-introduce formatDate option, simplify Globalize usage 2015-07-29 00:06:30 +02:00
Felix Nagel
ce704462b2 Datepicker: Update to Globalize 1.0.0 2015-07-29 00:06:29 +02:00
Felix Nagel
6db02da67c Calendar: Re-introduce formatDate option 2015-07-29 00:06:29 +02:00
Felix Nagel
f9ba50df66 Calendar: Update Globalize to 1.0.0 2015-07-29 00:06:29 +02:00
Felix Nagel
8238c25980 Merge branch 'datepicker' into datepicker-globalize-1.x 2015-07-29 00:06:29 +02:00
Felix Nagel
8732ff7a8c Datepicker: Use Globalize 1.0.0
- Fix merge conflict in value method
- Fix common unit tests
- Fix calendar localization tests
- Fix rebase regression: labels update on refresh
- Add new pass through options
- lint fixes
2015-07-29 00:04:22 +02:00
Rafael Xavier de Souza
e56c2b4812 (fix) Datepicker: Use Globalize 1.0.0
- Use format/parse generators
2015-07-29 00:04:01 +02:00
Rafael Xavier de Souza
5d044dd88c (fix) Datepicker: Use Globalize 1.0.0
- user cannot provide locale: {fn1: ..., fn2:...} with all the
  formatters and parsers
2015-07-29 00:04:00 +02:00
Rafael Xavier de Souza
b6d7436756 (fix) Datepicker: Use Globalize 1.0.0
- parseYMD
2015-07-29 00:04:00 +02:00
Rafael Xavier de Souza
82ea79ce5f Datepicker: Use Globalize 1.0.0
- Move external/date.js -> ui/calendar/date.js and UMDify it;
- Create a locale option as discussed during Chicago's meeting:
  - [String] A String with locale value, e.g. "en"; or
  - [Object] An object with all the formatters.
  TODO: Use the Globalize to-be-created generators instead of these wrap
  functions.
2015-07-29 00:03:59 +02:00
Rafael Xavier de Souza
fda7a7e98f Datepicker: Use Globalize 1.0.0
- \o/ \o/ \o/ get rid of all name translations
2015-07-29 00:03:37 +02:00
Rafael Xavier de Souza
d0a5a7a0e6 Datepicker: Use Globalize 1.0.0
- Update Globalize to 1.0.0-alpha.6
2015-07-29 00:03:35 +02:00
Scott González
62446d957e Dialog: Fix removal of event listener for modal dialogs
Fixes #13649
2015-07-17 11:00:44 -04:00
Scott González
71d8f16ad4 Merge branch 'master' into datepicker 2015-07-15 09:40:38 -04:00
Victor Homyakov
f7ee8524b3 Sortable: Optimize _intersectsWithPointer()
Closes gh-1574
2015-07-08 13:00:50 -04:00
Alexander Schmitz
b3a9b13a21 Position: Guard against passing window to offset
Starting in jQuery 3.0 this will throw an error

Fixes #13493
Closes gh-1565
2015-07-08 00:15:34 -04:00
Jörn Zaefferer
de4984da24 Autocomplete: Revert mistaken event alias change
This is a call on the menu widget, not using an event alias.

Ref 8b4ce807cd
Ref #12770
2015-07-01 14:36:08 +02: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
a17180202d Resizable: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:57 -04:00
Alexander Schmitz
7c419a7ba1 Mouse: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:57 -04:00
Alexander Schmitz
456c463a91 Core: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:57 -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
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
dcd3cd516c Slider: 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
Alexander Schmitz
1ee8e230bd Tabs: Use $.ui.escapeSelector to avoid invalid selectors 2015-05-05 21:43:57 -04:00
Alexander Schmitz
737b690cde Selectmenu: Use $.ui.escapeSelector 2015-05-05 21:43:57 -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
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
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
Felix Nagel
a3df6dd8a8 Calendar: Add comment in _needsRefresh method 2015-04-11 00:04:33 +02: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
Ablay Keldibek
bf03479cc1 Slider: Proper animation of range
Fixes #9459
Closes gh-1530
2015-04-06 16:59:45 -04:00
Scott González
0de27b0609 Core: Work around more IE activeElement bugs
Closes gh-1523
2015-03-29 09:51:23 -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
dc6703756d All: Include native dialogs in appendTo logic (ui-front walking)
Ref #10739
Ref gh-1517
2015-03-26 07:35:20 -04:00
Scott González
8cf98798a5 Tooltip: Follow the standard appendTo logic
Even though there's no reason to ever configure the parent element via an
`appendTo` option, following the standard logic is useful for scrollable
elements and native dialogs.

Fixes #10739
Closes gh-1517
2015-03-26 07:35:20 -04:00
Scott González
e109e76819 Spinner: Properly handle empty attributes in create with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516
2015-03-25 15:55:19 -04:00
Scott González
fdbb85be39 Dialog: Properly handle empty title with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516
2015-03-25 15:55:16 -04:00
Scott González
12643739a9 Core: Fix :focusable and :tabbable with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`

Ref gh-1516
2015-03-25 15:55:03 -04:00
Scott González
76c27556f4 Core: Handle IE11 bug with document.activeElement in iframes
Fixes #11539
Closes gh-1518
2015-03-24 18:28:12 -04:00
Felix Nagel
4c2229fc51 Calendar: Fix month jumping WIP
Fixes multiple-month demo and other-month demo.
2015-03-24 01:57:59 +01:00
Felix Nagel
ec0d679e64 Calendar: Remove selected property from $.date 2015-03-20 23:36:56 +01:00
Jörn Zaefferer
1696405c09 Menu: Default for classes option is defined in $.Widget
Ref #7053
2015-03-18 18:36:07 +01:00
Jörn Zaefferer
d024d4d119 Autocomplete: Default for classes option is defined in $.Widget
Ref #7053
2015-03-18 18:34:28 +01:00
Scott González
3970e8c681 Position: Simplify fraction support test
Also makes the test lazy to avoid any potential layouts/recalculations during
initialization.

Fixes #9898
Ref #9899
2015-03-18 10:55:53 -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
Jörn Zaefferer
868e8c70e3 Effects: Fix style issues in individual effects
Skipping ui/effect.js since embedded jquery-color has many issues.

Closes gh-1510
2015-03-18 15:42:55 +01:00
Scott González
c16a5e58f9 All: Consolidate .removeAttr() calls
Closes gh-1505
2015-03-18 10:39:25 -04:00
Jörn Zaefferer
92a9d8de14 Tabs: Fix style issues
Closes gh-1494
2015-03-18 14:49:37 +01:00
Jörn Zaefferer
a10847a9db Menu: Fix style issues
Closes gh-1491
2015-03-18 14:43:31 +01:00
Jörn Zaefferer
fac517ebb9 Autocomplete: Fix style issues
Closes gh-1504
2015-03-18 12:44:54 +01:00
Jörn Zaefferer
c4bcd243da Spinner: Fix style issues
Closes gh-1501
2015-03-18 12:38:58 +01:00
Jörn Zaefferer
bf6bbcdced Widget: Fix style issues
Closes gh-1500
2015-03-18 12:38:02 +01:00
Jörn Zaefferer
6b34ae952b Position: Fix style issues
Closes gh-1499
2015-03-18 12:34:46 +01:00
Jörn Zaefferer
62e0092156 Selectmenu: Fix style issues
Closes gh-1498
2015-03-18 12:33:49 +01:00
Jörn Zaefferer
aa61e001f3 Dialog: Fix style issues
Closes gh-1497
2015-03-18 12:25:28 +01:00
Jörn Zaefferer
ffd2fbf28b Core: Fix style issues
Closes gh-1496
2015-03-18 12:24:17 +01:00
Jörn Zaefferer
1e266bb636 Accordion: Fix style issues
Closes gh-1495
2015-03-18 12:23:14 +01:00
Jörn Zaefferer
b99f5b305f Progressbar: Fix style issues
Closes gh-1493
2015-03-18 12:11:44 +01:00
Jörn Zaefferer
adcc9680ec Tooltip: Fix style issues
Closes gh-1492
2015-03-18 12:10:43 +01:00
Jörn Zaefferer
4212d072a1 Autocomplete: Simplify _create() method
Uses logical expressions in place of conditional expressions.

Closes #1490
2015-03-17 16:05:31 +01:00
Scott González
581bfb55bf Autocomplete: Restore focus after clicking a menu item, if necessary
Fixes #9201
Closes gh-1470
2015-03-12 11:28:09 -04:00
Scott González
f33027840c Core: Add methods to work around IE active element bugs
Closes gh-1478
2015-03-12 07:35:27 -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
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
90c27b4b51 Sortable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:18 -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
2a7873dd57 Selectable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:01 -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
e9bb449b5d Draggable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:30 -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
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
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
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
Scott González
4b017b414f Accordion: Handle box-sizing: border-box in animations
Fixes #9264
Closes gh-1287
Closes gh-1459
2015-03-03 08:28:52 -05:00
Scott González
c077e0a347 Core: Drop feature detection for version check to support jQuery 1.7
Fixes #11197
Closes gh-1458
2015-02-27 09:08:56 -05:00
Felix Nagel
c29b5e465d Calendar: Fix border style for multiple months
Ref gh-1432
2015-02-26 09:27:43 -05:00
Felix Nagel
11c1735275 Calendar: Use button instead of link elements for day items
Ref gh-1432
2015-02-26 09:27:41 -05:00
Felix Nagel
a5734cdd4d Datepicker: Remove whitespace
Ref gh-1432
2015-02-26 09:27:38 -05:00
Felix Nagel
876aed3cd5 Datepicker: Make Calendar pass-through options more dynamic
Move calendarOptions variable into datepicker prototype.

Ref gh-1432
2015-02-26 09:27:30 -05:00
Rafael Xavier de Souza
45744efd26 All: Add css-dependency-comments based on jQuery Mobile
Ref gh-1029
Ref jquery/download.jqueryui.com#178
Closes gh-1440
2015-02-26 09:23:33 -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
Scott González
c1dfb98d45 Tabs: Use standard promise methods for jqXHR
The old success(), error() and complete() methods have been deprecated for a
while and have been removed in upstream master.

Closes gh-1455
2015-02-24 10:24:58 -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
d95c23ae6c Dialog: Fix typo
Closes gh-1447

Thanks Spencer Davis
2015-02-23 16:33:18 -05:00
TJ VanToll
ec1f393c39 Dialog: Stop tracking instance in destroy() to avoid memory leaks
Fixes #11125
Closes gh-1448
2015-02-20 09:48:42 -05:00
Marcus Warren
17c7f698a2 Sortable: Add support for iframes
Fixes #9604
Closes gh-1443
2015-02-03 13:09:32 -05:00
Scott González
2ea46ae1af Calendar: Add build metadata 2015-01-29 18:01:31 -05:00
Scott González
c1b6891c9a Datepicker: Update description metadata 2015-01-29 18:01:31 -05:00
Felix Nagel
9d423e5b6f Calendar: Sanitize active descendant id selector 2015-01-29 18:01:30 -05:00
Felix Nagel
43f66b8b67 Calendar: Make use of _setOptions to call refresh
Prevents refresh from being called multiple times.
2015-01-29 18:01:30 -05:00
Felix Nagel
ee83c37e0f Calendar: Remove option method overwrite 2015-01-29 18:01:30 -05:00
Felix Nagel
32891588f4 Datepicker: Add missing handling for disabled option 2015-01-29 18:01:30 -05:00
Felix Nagel
e507477603 Calendar: Use _on for link hover events 2015-01-29 18:01:30 -05:00
Felix Nagel
9461f6680b Calendar: Add buttons option 2015-01-29 18:01:29 -05:00
Felix Nagel
5df6d39d13 Datepicker: Improve localization handling, code style 2015-01-29 18:01:29 -05:00
Felix Nagel
2e2787dcfe Calendar: Fix hover event setting and removing 2015-01-29 18:01:29 -05:00
Felix Nagel
b9d8f624ba Datepicker: Several minor code improvements
Several minor code improvements and make suppressExpandOnFocus
an internal variable, remove partial button widget usage in header
2015-01-29 18:01:29 -05:00
Felix Nagel
90c704f1a8 Calendar: Fix broken day table cell attributes 2015-01-29 18:01:28 -05:00
Felix Nagel
43025392c5 Datepicker: Improve document click event 2015-01-29 18:01:28 -05:00
Felix Nagel
258a3ff4e5 Datepicker: Simplify usage of calendar options and avoid duplications 2015-01-29 18:01:28 -05:00
Felix Nagel
63bdc3ef81 Datepicker: Remove unwanted keyboard shortcut
Remove shortcut for closing the calendar and erasing the date (CTRL+END).
Remove unwanted CTRL+HOME shortcut and support for enter key on input.
2015-01-29 18:01:28 -05:00
Felix Nagel
57736406f1 Datepicker: Code clean up for events 2015-01-29 18:01:22 -05:00
Felix Nagel
6ef023f0e4 Calendar: Remove select callback reference 2015-01-29 17:52:50 -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
ab2cb90240 Datepicker: Properly define default for dateFormat option 2015-01-29 17:48:25 -05:00
Felix Nagel
f28b70eb7a Datepicker: Rename select() method to _select()
Make `select()` a private method as it's not part of the specification.
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
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
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
ab94999105 Datepicker: Allow dateFormat to be changed after init 2015-01-29 17:47:48 -05:00