Commit Graph

154 Commits

Author SHA1 Message Date
Felix Nagel
6fdf14f99a Datepicker: Make use of classes option 2016-09-29 15:10:46 +02:00
Felix Nagel
bd7a6f1468 Calendar: Use classes option for non performance critical rendering 2016-09-29 15:10:46 +02:00
Felix Nagel
e02ef66389 Calendar: Add missing day cell and month label ARIA attributes 2016-09-28 18:28:34 +02:00
Felix Nagel
f2bbea2cec Calendar: Use shift and ctrl key as modifier for page up / down 2016-09-28 18:28:33 +02:00
Felix Nagel
280cda31d0 Datepicker: Always focus calendar grid when opening
Remove arrow down key requirement.
2016-09-28 18:28:33 +02:00
Felix Nagel
b92f1b0f2f Merge branch 'master' into datepicker 2016-04-12 22:46:36 +02:00
Maksim Ryzhikov
c19fc10e84 Sortable: Fix incorrect top containment for document
Fixes #14927
Closes gh-1695
2016-04-12 15:39:06 -04:00
dstrohl
9aca706732 Sortable: Update _contactContainers to use page clientX/Y values
The sortable was using the window position compared with page position to
determine where to drop objects.  this was only a problem for sortables far
enough down to require scrolling.

Fixes #10727
Fixes #5039
Closes gh-1475
Closes gh-1585
2016-03-30 18:48:29 -04:00
Rand Scullard
d21aeee809 Menu: Check that there is an active item in _activate()
Closes gh-1606
2016-03-30 14:43:03 -04:00
Konstantin Dinev
623b64eefc Resizable: Implement setOption for handles
Fixes #3423
Closes gh-1666
2016-03-30 14:08:41 -04:00
Mukul Hase
a1905e2c5e Slider: Fixed max value miscalculation
Fixes #12852
Closes gh-1664
2016-03-30 13:28:04 -04:00
Alexander Schmitz
bff8277fbc Selectmenu: Prepend icon and move overflow to text span
Fixes #14938
Closes gh-1685
2016-03-30 11:53:28 -04:00
Piotr Baran
bf5d6f314b Datepicker: Fixed keyboard navigation
Fixes #7956
Closes gh-1677
2016-03-30 09:42:38 -04:00
Alexander Schmitz
882eb4cbf2 Checkboxradio: Check that there is an icon before toggeling class
Fixes #14939
Closes gh-1686
2016-03-30 09:25:11 -04:00
Francesc Baeta
89fe04af3d Resizable: Fix top jump with rotated element
Fix top jump when resizing a rotated element (90°) using north handle
and exceeding the minmal height (default 10px).

Bug was found using a resizable-rotation-patch:
https://github.com/unlocomqx/jQuery-ui-resizable-rotation-patch

Closes gh-1687
2016-03-30 09:24:03 -04:00
Jörn Zaefferer
4866e14922 Menu: Remove active class from top-level item when menu is blurred
This issue was introduced by 0bbd156918,
which reduced the use of ui-state-focus and ui-state-active to using
only ui-state-focus. This introduced the issue addressed here.

The fix is more of a workaround. With test test in place, we can
investigate a better solution in the future.

Fixes #14919
2016-03-11 18:27:58 +01:00
Alexander Schmitz
20466d5027 Selectmenu: Fixed selectmenu icon float right
Also removes the icon space as its not needed with a floated icon

Fixes #14914
Closes gh-1671
2016-02-24 11:29:44 -05:00
Fahad Ahmad
8564641fb8 Datepicker: Use getFullYear() instead of deprecated getYear()
Fixes #14920
Closes gh-1678
2016-02-21 12:38:23 -05:00
Scott González
cbceca7091 Autocomplete: Work around isContentEditable bug in Chrome
Fixes #14917
Closes gh-1673
2016-02-16 12:22:10 -05:00
Alyosha Pushak
c87653bc24 Accordion: Correct height calculated when closed
Fixes #11938
Closes gh-1536
Closes gh-1616
2016-02-09 14:40:29 -05:00
Scott González
63c103dd54 Draggable: Improve detection for when to blur the active element
Fixes #12472
Fixes #14905
Closes gh-1548
2016-02-09 13:37:26 -05:00
Felix Nagel
e17e7b0d87 Calendar: Fix line indention 2016-01-20 12:16:56 +01:00
Felix Nagel
3cf5308917 Calendar: Do not rebuild whole calendar when selecting date 2016-01-20 12:16:55 +01:00
Felix Nagel
7ac903b076 Calendar: Let datepicker handle focus after date selection 2016-01-20 12:16:55 +01:00
Felix Nagel
14392056e1 Datepicker: Improve tab order handling
Remove unneeded tabindex attribute change. Set focus to input after tab,
let default behavior decide which elements gains focus next.
2015-12-10 12:07:50 +01:00
Felix Nagel
a68048ff54 Calendar: Fix ARIA ids for multiple months 2015-12-10 12:07:50 +01:00
Felix Nagel
501c67ef24 Calendar: Fix focus issues
* Change next / prev button structure for better tabindex
* Improve focus and active handling
2015-12-10 12:07:49 +01:00
Felix Nagel
e0bbcb854d Calendar: Add css-dependency-comments based on jQuery Mobile
Related 45744efd26
2015-12-02 18:53:26 +01:00
Felix Nagel
8c10fce536 Calendar: Fix header data 2015-12-02 18:50:13 +01:00
Felix Nagel
5d3bdde5f1 Calendar: Update Button widget implementation to latest changes 2015-12-02 18:44:20 +01:00
Felix Nagel
c10ef0a170 Merge branch 'master' into datepicker 2015-12-02 18:30:05 +01:00
Felix Nagel
9a879d0fdc Calendar: Fix first day of week calculation for non latin locales 2015-11-25 22:40:28 +01:00
Felix Nagel
1566cf1b39 Calendar: Remove Globalize.cldr.supplemental.weekData dependency 2015-11-16 22:54:44 +01:00
Benjamin Albert
cd7f8f02cf Datepicker: Refactor _updateAlternate() method
Closes gh-1647
2015-11-13 10:50:36 -05:00
Scott González
7cc88bfe32 Resizable: Fix data reference for ui-resizable-alsoresize
Fixes #14788
2015-11-09 09:16:13 -05:00
Scott González
6a681c2c13 Resizable: Don't use CSS shorthand properties with .css()
Fixes #7766
Closes gh-1644
2015-11-05 11:44:09 -05:00
Scott González
e77fbe5388 Checkboxradio: Properly find radio groups from the associated form
Fixes #9973
Closes gh-1631
2015-10-29 11:19:13 -04:00
Jörn Zaefferer
9644e7bae9 Dialog: Escape closeText option before passing it to button
Ref gh-1632
Fixes jquery/api.jqueryui.com#281
2015-10-28 19:48:35 +01:00
Scott González
17b5386e8c Mouse: Ignore mousemove events triggered by key presses in Safari
If the user presses control, meta, shift, or alt during a drag operation,
Safari will trigger an event where `event.which` is `0`. We use that scenario
to detect that a `mouseup` occurred in a different document, so we need to
ignore these events when one of the keys are pressed.

Fixes #14461
Closes gh-1620
2015-10-27 14:12:00 -04:00
Jörn Zaefferer
39853fda45 Selectmenu: Handle form resets
Fixes #12236
Ref gh-1550
2015-10-27 10:28:04 -04:00
Scott González
5d7e8b1824 Button: Fix call to ._toggleClass() 2015-10-26 16:58:49 -04:00
Jörn Zaefferer
09fde89a24 Controlgroup: Fix create and destroy for controlgroupLabel
Creating the label broke while doing a refactoring, the lack of tests
allowed that to go unnoticed. Shouldn't happen again with the extra
tests, covering both controlgroupLabel and spinner.
2015-10-26 10:09:20 -04:00
Jörn Zaefferer
cb69f0025f All: Fix manifest issues for categories and CSS dependencies
Collapses "UI Core" and "Core" into just "Core".

Fixes bad paths for CSS dependencies. Regressed when moving widgets
into the widgets subfolder.
2015-10-23 09:09:51 -04:00
Hannah Methvin
a1d69208ba Mouse: Don't stop propagation of mouseup
Fixes #10818
2015-10-18 12:36:43 -04:00
Mani Mishra
d573232707 Tooltip: Use show.delay update only when track option is active
Fixes #14682
Closes gh-1613
2015-10-17 16:14:41 -04:00
Scott González
548fbf570c Autocomplete: Close the menu on any outside interactions
This ensures that the menu will close if the user interacts with a
draggable, resizable, etc. element since those interactions don't
change focus.

Ref #6642
Closes gh-1614
2015-10-16 14:09:05 -04:00
Scott González
7df2f1905a Resizable: Remove mysterious helper dimension adjustments
Fixes #11113
Closes gh-1615
2015-10-16 10:30:03 -04:00
Jörn Zaefferer
52d9ec6c4d Checkboxradio: Add ui-state-highlight class to icon on create
This was already toggled in _toggleClasses, but that isn't called
on create.
2015-10-08 14:03:00 -04:00
Jörn Zaefferer
2bf307313b Checkboxradio: Fix invalid chars, remove unused var, add comment 2015-10-08 14:02:59 -04:00
Jörn Zaefferer
6ed30a6a5e Controlgroup: Convert to onevar, fix guard-clause/else, rm tmp var 2015-10-08 14:02:59 -04:00