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
TJ VanToll
13cd6c2fe5
Datepicker: Support changing eachDay
after initialization
2015-01-29 17:47:47 -05:00
TJ VanToll
1a83120fff
Datepicker: Support position
option changes after init
2015-01-29 17:47:47 -05:00
TJ VanToll
5fbe668d86
Datepicker: Various changes for the showWeek
option
...
* Re-add `ui-datepicker-week-col` class name currently used.
* Add test suite.
* Support changing option after initialization.
2015-01-29 17:47:47 -05:00
TJ VanToll
b5893906df
Datepicker: Support changing the appendTo
option after init
2015-01-29 17:47:47 -05:00
TJ VanToll
9bdb4783fd
Datepicker: Only apply the ui-state-focus
class name to one cell
...
This is specifically for multi month pickers. This makes the assumption that
the keyboard is always interacting with the first month in a multi month
calendar. The next step is to store which grid currently has focus and to base
the focus logic off of that.
2015-01-29 17:47:46 -05:00
Jörn Zaefferer
9ec69ccb73
Datepicker: Fix the eachDay
option
...
Use the `eachDay` option in the other-months demo.
Fix handling of `extraClasses` property, split on space.
2015-01-29 17:47:46 -05:00
TJ VanToll
e50d6d3bd2
Datepicker: Update tests and demos for new structure
2015-01-29 17:47:46 -05:00
Scott González
5a7835595e
Datepicker: Remove delayed focus
2015-01-29 17:47:40 -05:00
TJ VanToll
68f8e3c2e3
Datepicker: Initial commit of widget rewrite work from old branch
...
History is on the datepicker-dead branch.
2015-01-29 13:42:45 -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
Jasper de Groot
79c4fa1e7a
Theme: Improve default theme styling
...
Changes tooltip to use the ui-widget-shadow class, which now applies the
box-shadow style. .ui-widget-shadow was created when box-shadow wasn't
available. By now, there's no point in faking a custom shadow anymore.
This removes the only non-structural CSS from a widget-specific file.
Updates demos to use the same font-family, removes unused images.
Will be available as the new default theme on ThemeRoller called "Base",
while "UI Smoothness" and "UI Lightness" will still be available in the
gallery.
Fixes #10617
Fixes #10880
Closes gh-1436
Ref jquery/download.jqueryui.com#248
2015-01-27 13:23:53 +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