Commit Graph

3895 Commits

Author SHA1 Message Date
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
800d76ac17 Core: Remove header and manifest
This file is deprecated and should not be included, by default, in
builds anymore.
2015-10-23 09:25:15 -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
Alexander Schmitz
dbadc01fbd Controlgroup: Typos and minor style fixes 2015-10-08 14:02:59 -04:00
Alexander Schmitz
874011ef0a Checkboxradio: Typos and minor style fixes 2015-10-08 14:02:58 -04:00
Alexander Schmitz
add78440f8 Button: Typos 2015-10-08 14:02:58 -04:00
Jörn Zaefferer
754e041cbd Controlgroup: Optimize and simplify data access and storage 2015-10-08 14:02:58 -04:00
Jörn Zaefferer
256a449213 Controlgroup: Improve comments and remove a misleading blank line 2015-10-08 14:02:58 -04:00
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
26f4dbce8e Spinner: Address review comments 2015-10-08 14:02:58 -04:00
Alexander Schmitz
4acdfa14b2 Controlgroup: 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
c5d6ea4baa Spinner: Style updates 2015-10-08 14:02:57 -04:00
Alexander Schmitz
f16ecced92 Controlgroup: Style updates 2015-10-08 14:02:57 -04:00
Alexander Schmitz
739e71911e Spinner: Update markup for buttons 2015-10-08 14:02:47 -04:00
Alexander Schmitz
eae5671dc5 Fixup: .dsstore 2015-10-08 14:02:47 -04:00
Alexander Schmitz
50a7a3d6a9 Controlgroup: Fixes for spinner 2015-10-08 14:02:47 -04:00
Alexander Schmitz
3330634c4e Controlgroup: fixup for spinner and label 2015-10-08 14:02:47 -04:00
Alexander Schmitz
6c1390dc0d Controlgroup: Add controlgroup labels 2015-10-08 14:02:47 -04:00
Alexander Schmitz
77be50d7a6 Controlgroup: Add spinner to widgets controlgroup works with 2015-10-08 14:02:46 -04:00
Alexander Schmitz
f6879fc0f5 Controlgroup: Fix headers and demos 2015-10-08 14:02:36 -04:00
Alexander Schmitz
a00c02513d Controlgroup: Add missing entry to demos bootstrap 2015-10-08 14:02:36 -04:00
Alexander Schmitz
a8fa502853 Checkboxxradio: Adjust demo headers 2015-10-08 14:02:35 -04:00
Alexander Schmitz
16abde399d Spinner: Updates for new button widget and classes option 2015-10-08 14:02:35 -04:00
Felix Nagel
2fe43bbbe2 Calendar: Fix jscs errors after merging master 2015-10-08 15:06:55 +02:00
Felix Nagel
7e8b7234b2 Merge branch 'master' into datepicker 2015-10-08 00:40:37 +02:00
Felix Nagel
66828b1a83 Calendar: Remove _refresh method 2015-10-08 00:18:48 +02:00
Felix Nagel
d650fa9a7e Calendar: Fix some jshint issues 2015-10-08 00:18:48 +02: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
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
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