Commit Graph

477 Commits

Author SHA1 Message Date
Jörn Zaefferer
cd92ad09f5 Promote menubar and popup to their own top level files 2011-05-07 16:22:04 +02:00
Jörn Zaefferer
5973b4fa3f Popup: Better key handling on trigger, along with a few more TODO comments 2011-05-07 15:18:50 +02:00
Jörn Zaefferer
f7e8331e26 Popup: Improve key handling 2011-05-07 00:43:07 +02:00
Jörn Zaefferer
2cf85da23f Popup/Tooltip: Fix tab order and add notifications (on select) in
video-player demo.
2011-05-07 00:43:07 +02:00
Jörn Zaefferer
fbe982b9fb Popup: If popup is a menu, focus the first menu item, as menubar does. 2011-05-07 00:43:07 +02:00
Jörn Zaefferer
28017052a4 Popup: Fix the reopens-issue when clicking the trigger while popup is
visible, while still handling an actualy blur properly.
2011-05-07 00:43:07 +02:00
Jörn Zaefferer
993d37af1d Popup: Rename open flag to isOpen to avoid name conflict with open method. 2011-05-05 14:21:26 +02:00
gnarf
d4bdd19429 effects.test: adding a test for size using toggle 2011-05-04 23:41:42 -05:00
gnarf
c73e40adbe effects.tests: Adding 'size' effect to the visual effect tests 2011-05-04 21:07:12 -05:00
Jörn Zaefferer
fd1b4f84fe Menubar: Code formatting. A bit of cleanup: Replace self with that;
replace an unnecessary each.
2011-05-04 11:50:07 +02:00
Jörn Zaefferer
c7459df062 Popup: Also expose open method 2011-05-04 11:21:30 +02:00
Jörn Zaefferer
018590064f Popup: Prevent SPACE key event on trigger from scrolling the page 2011-05-04 11:20:04 +02:00
Jörn Zaefferer
b96126b398 Popup: Rename _close to close and use it when selecting something within a popup. 2011-05-04 11:14:32 +02:00
Jörn Zaefferer
bba4cb2be6 Popup: Partial fix for closing popup when trigger is clicked again. 2011-05-04 11:06:32 +02:00
Jörn Zaefferer
f519bc0ebb Menubar review 2011-05-04 08:31:14 +02:00
Jörn Zaefferer
8201c13928 Popup: Update popup test 2011-05-04 08:20:41 +02:00
Jörn Zaefferer
f5ee22c74a Popup: Add a non-menu popup example 2011-05-03 22:42:35 +02:00
gnarf
1f3f7bf787 Effects (blind): direction now accepts up/down/left/right as well as vertical(up) and horizontal(left) - Fixes #4480 - Invert the blind effect. 2011-05-03 09:16:30 -04:00
Jörn Zaefferer
94b7e6bf18 Tooltip: Add drop effect to tooltip animations test 2011-05-02 14:56:53 +02:00
Jörn Zaefferer
804a6ca7bf Tooltip: Add visual testpage for animations 2011-05-02 14:40:26 +02:00
Jörn Zaefferer
cd61fb1b55 Merge branch 'master' into menubar
Conflicts:
	ui/jquery.ui.menu.js
2011-04-26 22:05:44 +02:00
Hans Hillen
f7d2fdbab8 removed unbind for focusin and focusout 2011-04-23 17:35:03 +02:00
Hans Hillen
54795b5650 change self.open to this.open 2011-04-23 17:31:25 +02:00
Hans Hillen
42e11d8e41 Fix error for Escape key on menubar item 2011-04-22 23:11:53 +02:00
Hans Hillen
45c418d293 Added focusin & focusout handler for menubar 2011-04-22 20:22:16 +02:00
Hans Hillen
03132f93fc Fix menubar escape key + minor css fix 2011-04-20 20:15:26 +02:00
jzaefferer
34e3a2401a Menu: Add icons support 2011-04-20 17:18:15 +02:00
Hans Hillen
d77185a5a1 Fix "menubar does not collapse when clicking on other menubar" + minor changes 2011-04-18 23:05:50 +02:00
jzaefferer
5076f233db Close popup when blurred and make sure that shift-tab when popup is open
skips the trigger.
2011-04-18 17:07:08 +02:00
Hans Hillen
e448cd0761 Added icon removal to _destroy 2011-04-15 20:31:43 +02:00
Hans Hillen
c6cbd8143b Updated menubar test to use UL elements rather than DIVs 2011-04-15 19:19:27 +02:00
Hans Hillen
8a0df90bf1 Accessibility / bug fixes for menubar 2011-04-15 19:18:58 +02:00
jzaefferer
00559b388a Update popup utility: Defer _open call and let click event propagate.
Fixes other popups to close. Also update aria usage.
2011-04-13 18:37:32 +02:00
jzaefferer
67d49f593b Overhaul tooltip implementation. Avoid queuing and other problems by
creating the tooltip element on the fly, never reusing it.
Use aria-describedby attribute to find the associated tooltip again.
Allows customizing animations much easier (just replace fadeIn/fadeOut),
still open.
Updated demos and visual test to replace now-missing .widget() method.
Added tooltipClass for that.
2011-04-13 14:01:46 +02:00
jzaefferer
9d9e1ce122 Adding popup utility prototype to visual menu tests 2011-04-08 15:31:06 +02:00
Richard Worth
54016b8469 Sortable: Reverted 56b0da59d7 as #4551 is invalid. 2011-04-07 09:08:48 -04:00
Scott González
91c2f3eca0 Visual tests: Removed index page. A directory listing of all files is more useful than an incomplete listing of tests. 2011-03-29 18:21:04 -04:00
Scott González
6c6a64c40c Dialog: Removed unnecessary visual test files. 2011-03-29 18:18:21 -04:00
gnarf
504e599569 effects.tests: changing the way the effects test runs - using delay() instead of callbacks can help us see if we have places where we destroyed the queue 2011-03-27 06:32:04 -05:00
Scott González
a2015497fc Progressbar: Removed visual test pages. 2011-03-23 10:31:12 -04:00
Scott González
928c7e4e9a Tabs: Removed visual test pages. 2011-03-23 10:30:08 -04:00
Scott González
6af1e7a51d Autocomplete: Removed visual test pages. 2011-03-23 10:28:54 -04:00
Scott González
d847a1ee20 Accordion: Removed visual test pages. 2011-03-23 10:26:10 -04:00
jzaefferer
c0f7afd160 Menubar: Don't close active menu on mouseenter of associated button 2011-03-17 15:47:56 +01:00
jzaefferer
80d6d358f2 Menubar: on a single-button menubar, ignore reopening the same menu 2011-03-17 15:44:09 +01:00
jzaefferer
cb17d6d209 Menubar: Another fix for tab/focus handling 2011-03-17 15:37:27 +01:00
jzaefferer
24d1952045 Menubar: Fix closing with escape key 2011-03-17 15:26:06 +01:00
jzaefferer
133137b39b Menubar: Focus/tab handling, improved much 2011-03-17 15:10:25 +01:00
jzaefferer
d4a81ec043 Menubar: Put focus back to button when closing menu 2011-03-17 14:23:35 +01:00
jzaefferer
b53f242d2c Menubar: Close submenus on Escape first, only close all when on top-level 2011-03-17 13:58:57 +01:00
jzaefferer
37fee24ea6 Menubar: Handle cursor UP/DOWN to open menu 2011-03-17 12:04:22 +01:00
jzaefferer
2e38e04535 Menubar: Handle ESCAPE to close and refactor document-click code to also use _bind 2011-03-17 12:00:37 +01:00
jzaefferer
4f8c913b4a Menu: menubar cleanup 2011-03-17 11:51:38 +01:00
jzaefferer
4a04ad2019 Menu: Fix menubar tab and focus handling 2011-03-17 11:50:21 +01:00
jzaefferer
2ddf83faf3 Menu: More test markup 2011-03-17 10:35:18 +01:00
jzaefferer
5bc57a82c8 Menu: Add menubar-with-one-button-in-table example. 2011-03-11 18:17:28 +01:00
jzaefferer
5a5a809e7f Menu: Improve CSS on testpage 2011-03-11 18:17:28 +01:00
Scott González
8a0394debe Mouse visual test: Bump jQuery version. 2011-03-08 00:52:07 -06:00
awgy
1ac9aa49fb Mouse: Adding visual test for issue #6946 - Mouse: click event suppressed after drag in Gecko 2011-03-08 00:52:07 -06:00
Richard Worth
103744415c Switched to latest stable jQuery 1.5.1 2011-03-08 00:52:06 -06:00
gnarf
8ce879e51b Adding fade to the tests 2011-03-06 15:24:48 -06:00
gnarf
0b18671d28 Should add a visual test for the standard show/hide method to make sure we don't break it by overriding it 2011-03-02 19:46:19 -06:00
jzaefferer
58b730f7c7 Menubar: Close menu on input click when already open 2011-02-28 22:53:06 +01:00
jzaefferer
f76e7498e7 Menubar: Remove dependency on button and simplify CSS accordingly. 2011-02-28 22:49:49 +01:00
jzaefferer
643e20ca3d Menu: Optimize menu positioning in menubar 2011-02-24 23:03:58 +01:00
jzaefferer
105ef8b851 Menu: Add ui-state-active to active menu bar button 2011-02-24 22:57:44 +01:00
maggiewachs
63a72814be Added two options to set the button style and add down arrow icons 2011-02-24 16:00:32 -05:00
maggiewachs
75afd3319b Added a second example to show a menubar with buttons and icons and one without (default) 2011-02-24 16:00:01 -05:00
maggiewachs
9e7820a258 Added another nested list for testing 2011-02-24 11:35:34 -05:00
maggiewachs
af0db70ae4 Line 58: document click function was missing event parameter 2011-02-24 11:16:15 -05:00
maggiewachs
b50fa469a4 Added menubar styles and removed ui-widget-header class from markup 2011-02-24 11:06:47 -05:00
maggiewachs
9340da37b7 Added ui-* classes to widget container 2011-02-24 11:06:12 -05:00
maggiewachs
7b3a4e71d3 Added menubar styles 2011-02-24 11:05:24 -05:00
jzaefferer
84d59ded92 Menu: Update menubar to use menu instead of removed flyoutmenu. 2011-02-24 16:39:08 +01:00
jzaefferer
0ddf677e40 Menu: Integrated flyoutmenu into menu, and moved flyoutmenu.html
testmenu into contextmenu.html
2011-02-24 15:51:51 +01:00
jzaefferer
38cfcfffe9 Menu: Update autocomplete to use deactivate and check for focus class 2011-02-24 12:05:20 +01:00
jzaefferer
5c687be331 Menu: Refactoring flyout menu in prepartion for merging into menu 2011-02-24 11:14:20 +01:00
jzaefferer
6bd95efe5e Menu: Fix filter matching to work with flyout menu 2011-02-24 11:14:19 +01:00
jzaefferer
5d3f91bcbe Menu: Move item matching code into menu 2011-02-24 11:14:19 +01:00
jzaefferer
ee34b0dabb Menu: Get rid of .css(top:0,left:0) workaround, not necessary anymore 2011-02-24 10:22:50 +01:00
jzaefferer
0d659d44c3 Menu: Rename activate to focus and deactivate to blur method 2011-02-24 10:06:08 +01:00
jzaefferer
d7682daaa8 Menu: Add some testing for ensure that id-attributes aren't overwritten. 2011-02-23 17:01:19 +01:00
jzaefferer
98fef9cde5 Menu: Test page for table-based menu (hackity hack) 2011-02-23 12:26:43 +01:00
jzaefferer
ddfd5e632c Menu: Introducing position option into flyout menu 2011-02-23 12:12:29 +01:00
jzaefferer
faa4b970a7 Menu: Rename nested.html to flyoutmenu.html, updated headers 2011-02-22 16:15:11 +01:00
jzaefferer
f8091f761c Menu: Overhauled menubar, again starting with Michael Lang's fork. Added
working keyboard navigation, including nested menus. Still need to
properly style the menu buttons, e.g. highlight the button of the
currently open menu.
2011-02-22 15:14:12 +01:00
jzaefferer
68c13cd6a6 Menu: Escape characters for RegExp matching for keyboard item matching. 2011-02-22 12:09:03 +01:00
jzaefferer
355705878a Menu: Overhauled nested menu via flyoutmenu.js backported from Michael
Lang's fork. Changed key input handling by setting focus to menu,
getting rid of input option.
2011-02-22 11:51:08 +01:00
jzaefferer
5082e3e971 Menu: Fix visual test to use select event (was selected) 2011-02-21 10:38:30 +01:00
Scott González
da1517eda7 Compound visual test: Added missing reference to autocomplete. 2011-01-10 22:07:03 -05:00
Scott González
392d79f2fe Fixed broken reference to theme file. 2011-01-10 21:40:03 -05:00
Scott González
16692ed5f0 Fixed references to jQuery. 2011-01-10 21:38:58 -05:00
jzaefferer
e724f585bf Fixed bad references to jQuery-1.4.4.js 2010-12-22 18:59:29 +01:00
jzaefferer
0479ab6af6 Merge remote branch 'origin/tooltip'
Conflicts:
	demos/autocomplete/combobox.html
	demos/index.html
	tests/unit/index.html
2010-12-22 18:58:57 +01:00
jzaefferer
3552947c19 Merge remote branch 'origin/menu'
Conflicts:
	demos/autocomplete/categories.html
	demos/autocomplete/combobox.html
	demos/autocomplete/custom-data.html
	demos/autocomplete/default.html
	demos/autocomplete/folding.html
	demos/autocomplete/multiple-remote.html
	demos/autocomplete/multiple.html
	demos/autocomplete/remote-jsonp.html
	demos/autocomplete/remote-with-cache.html
	demos/autocomplete/remote.html
	demos/autocomplete/xml.html
	demos/button/splitbutton.html
	demos/index.html
	tests/visual/menu/nested.html
	themes/base/jquery.ui.autocomplete.css
	ui/jquery.ui.autocomplete.js
2010-12-22 18:31:27 +01:00
jzaefferer
2c89e9587e Merge remote branch 'origin/spinner' 2010-12-22 17:36:41 +01:00
Scott González
e0ae1929a0 Merge remote branch 'Adovenmuehle/master' into accordion-height 2010-12-19 16:14:13 -05:00
Scott González
c4701388e4 addClass: Added visual test page for animation queueing. 2010-12-17 11:35:47 -05:00
Alex Dovenmuehle
490792be6a Accordion: API Redesign. Merged autoHeight, fillSpace, and clearStyle into a new option called heightStyle 2010-12-16 22:55:59 -05:00
jzaefferer
13f9310783 Spinner: Added Themeswitcher to visual testpage 2010-12-01 22:56:58 +01:00
jzaefferer
aa59bdf700 Spinner: Add spinner to visual tests index page 2010-12-01 22:56:38 +01:00
Phillip Barnes
ff4154bb5d Lossless compression of all non-theme images using ImageOptim 2010-11-19 14:27:18 -05:00
Scott González
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -05:00
jzaefferer
c55977d2ef Menu: Refactored next/previousPage logic and activate-scrolling, improved much! 2010-10-28 19:15:27 +02:00
jzaefferer
9fa6edcbec Spinner: Visual test page for events 2010-10-27 17:47:49 +02:00
jzaefferer
48a5977d33 Tooltip: Implementing event delegation support. 2010-10-26 17:07:22 +02:00
jzaefferer
bdd815e8dc Tooltip: Demo and tests update 2010-10-26 15:36:43 +02:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
jzaefferer
732a485676 Tooltip: Adding another ajax example to visual testcase. Fixing async response handling (taking IE cached response quirk into account) and simplifying fade animations a ton. 2010-10-21 21:03:48 +02:00
Scott González
7d9d2b551f External: Updated bgiframe to 2.1.2. Fixes #6190 - Dialog demos don't work in IE9 because of bgiframe. 2010-10-19 23:05:13 -04:00
Scott González
ddb9a783a8 Position: Added visual test for flipping with margin and box-shadow. 2010-09-03 10:39:19 -04:00
jzaefferer
3f45f5ccf9 Improving visual testcase for position. Partial fix for #5284 - Position: Smarter collision detection 2010-07-30 11:33:49 +02:00
Scott González
a090faa833 Menu: float .ui-menu since all .ui-menu-item elements are floated. Fixes #5691 - wrong menu size calculation in webkit browsers (Autocomplete). 2010-07-19 11:22:32 -04:00
Scott González
369474f315 Button performance test: Don't use alert(). 2010-07-16 10:45:26 -07:00
Scott González
b368491f70 Button performance test: Added alert for time to initialize. 2010-07-16 11:53:37 -04:00
Scott González
cdd6161419 Dialog: Add positioning for content div. Fixes #4319 - Accordion overflow breaks when displayed inside a dialog on Internet Explorer. 2010-07-14 13:47:06 -04:00
jzaefferer
b376fa8dda Menu: Implemented destroy method and disabled option, modified test to pass html-compare-destroy test and extended default visual test for testing destroy and disabled features 2010-06-18 10:57:20 +02:00
Richard D. Worth
5074bf38d3 Datepicker: Added visual test for #5676 - DatePicker Dialog defaultDate incorrect behaviour 2010-05-30 05:06:17 -04:00
Richard D. Worth
202ddd0c58 Button: Removed ui-button-text-icon class. Added ui-button-text-icon-primary and ui-button-text-icon-secondary classes. Fixed #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left 2010-05-26 15:08:37 -04:00
jzaefferer
e815e7c1e4 Visual test for #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left 2010-05-26 18:28:31 +02:00
Carl Fürstenberg
956f48adf8 Draggable, Resizable: ticket: #5335 - visual test
reduced test to the relevant parts, also fix things pointed out by
rdworth
2010-05-23 10:22:42 +08:00
Carl Fürstenberg
5d95633bed Draggable, Resizable: ticket: #5335 - visual test 2010-05-23 10:22:29 +08:00
jzaefferer
9f56913dcc Tooltip: Enhanced visual test to include a few more buttons and a high element to get a scrollbar 2010-05-15 16:37:52 +02:00
jzaefferer
bf673476ee Fixed visual test for Autocomplete to include select event. Test for #5405 Autocomplete: select event not triggered when mousedown duration > blur timeout 2010-05-15 16:09:12 +02:00
paulirish
37e8dd605d more inline widgets and variations added to theme test page 2010-05-01 18:05:04 +08:00
jzaefferer
c3d3249656 First attempt at a menubar 2010-04-30 14:46:12 +02:00
jzaefferer
adf19a1849 Renamed menu event selected to select to be consistent with naming conventions, already updated spec on wiki 2010-04-30 13:18:34 +02:00
jzaefferer
abfdb2a8b6 First attempt at integrating key handling into menu 2010-04-30 13:04:09 +02:00
jzaefferer
c9e9e0a080 Added themeswitcher to drilldown test 2010-04-30 10:18:36 +02:00
jzaefferer
5a55f3ad97 Need to pass-through event arg to activate method 2010-04-30 10:17:30 +02:00
jzaefferer
de5091ddc3 Added menu statics and visual tests to index files 2010-04-30 09:12:44 +02:00
paulirish
57c5b07ef8 visual test page to demonstrate theme. adapted from the UI download build. 2010-04-29 02:14:57 +08:00
jzaefferer
17f8079bc2 Menu: Extracted menu code from autocomplete, updated all dependencies 2010-04-21 21:01:08 +02:00
jzaefferer
6204e1a3c4 The accidental merge of tooltip into master was reverted in master, that revert got merged back into tooltip; now reverting that revert to get the tooltip stuff back, should then make it easy to merge into master once tooltip is done 2010-04-08 23:21:47 +02:00
jzaefferer
ab1f806293 crlf mess, round XIIIMD 2010-04-01 10:00:13 +02:00
jzaefferer
00fdd8bcd9 Revert accidental "Merge branch 'tooltip' of github.com:jquery/jquery-ui"
This reverts commit df31e22b95, reversing
changes made to ab8d155217.

Need to revert this revert later on when actually merging the tooltip branch into master.
2010-04-01 09:33:25 +02:00
jzaefferer
df31e22b95 Merge branch 'tooltip' of github.com:jquery/jquery-ui 2010-04-01 09:25:21 +02:00
unknown
b173418cd3 Added tooltip to widgets_in_dialog compound test 2010-03-31 20:18:12 +02:00
jzaefferer
cac005aca1 Adding a visual testpage for button for profiling 2010-03-29 16:47:37 +02:00
jzaefferer
a009595bd3 Merge branch 'master' into tooltip 2010-03-27 11:06:31 +01:00
jzaefferer
885fea1f3d Drilldown menu: First attempt at drilldown animations 2010-03-26 20:13:50 -04:00
jzaefferer
e49af16c5a Menu prototypes: Renamed newer ones to old names 2010-03-26 20:00:54 -04:00
jzaefferer
cd32b3fc5a Menu prototypes: Remove early nested and drilldown prototypes, to be replaced with nested2/drilldown2 2010-03-26 19:59:17 -04:00
jzaefferer
f1933142e4 Merge branch 'master' into tooltip 2010-03-26 12:45:32 -04:00
jzaefferer
e8f397bc14 Added compound test for Tabs with Tooltips 2010-03-25 18:23:11 -04:00
jzaefferer
87533753f4 Tooltip: Add Button to visual test page to test interoperability 2010-03-25 18:06:16 -04:00
jzaefferer
e285e43d2b Tooltip: Replacing mouseover/out with mouseenter/leave, dropping (for now) support for event delegation 2010-03-25 14:46:42 -04:00
jzaefferer
0752719de1 Drilldown menu: Fixing type-to-search, missing event argument to menu-activate method 2010-03-25 11:27:08 -04:00
jzaefferer
37774bb516 Menu: new prototype for drilldown menu with keyboard handling 2010-03-24 23:32:37 -04:00
jzaefferer
27c5debb59 Improved drilldown keyboard handling 2010-03-24 18:01:43 -04:00