Commit Graph

3738 Commits

Author SHA1 Message Date
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