Commit Graph

455 Commits

Author SHA1 Message Date
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
jzaefferer
b90438d90e Implemented menu/nested2 visual test, implementation doesn't rip DOM apart, way simpler then original approach 2010-03-24 17:53:48 -04:00
jzaefferer
b7ad981e69 Fixing styles for menu to work properly in IEs, even with nested menus (updated the nested-menu protoype nested2.html with themeroller) - kills the hover-border in IE6, but we have to live with that 2010-03-24 17:01:30 -04:00
jzaefferer
7443cb8e40 Menu: Testing nested menus without the DOM restructuring, just need to fix display issue in IE6 2010-03-23 05:10:54 +01:00
jzaefferer
e7c2eb42d0 Remove width:100%; from menu-item styles (was there for icon-support, which was dropped); also fixed the nested-menu visual test to position properly in IE6 2010-03-22 21:44:32 +01:00
jzaefferer
339543636f Tooltip: Added another element for testing the issue with mouseover/out 2010-03-21 22:45:36 +01:00
jzaefferer
7dbf7ecfc1 Copying files from old Googlecode dev branch for tooltip 2010-03-21 22:28:32 +01:00
jzaefferer
f5a14de1b1 Cleaning up visual tests
Fixes #5395 - Visual Tests Cleanup
2010-03-21 21:07:25 +01:00
jzaefferer
304a45c159 Position Visual Test: Corrected page title - Testcase for #5284 Position: Smarter collision detection 2010-03-21 19:52:18 +01:00
jzaefferer
ff6c15b83e Position: Adding visual testcase for #5284 - Position: Smarter collision detection 2010-03-21 19:48:30 +01:00
jzaefferer
d4ad2cb837 line-endings 2010-03-20 21:51:53 +01:00
jzaefferer
8f680fb347 Widgets in Dialog compound visual test: Added more widgets and linked Slider with Progressbar 2010-03-20 21:51:12 +01:00
jzaefferer
f4fd024cde Compound visual dialog tests: Add some content to the page for better testing 2010-03-20 21:21:02 +01:00
jzaefferer
3d5adba51a Added visual menu tests from (old) dev-branch and fixed nested-menu 2010-03-20 21:04:04 +01:00
Jörn Zaefferer
e4f8f54607 added new compound test, still incomplete 2010-03-20 14:39:20 +00:00
Jörn Zaefferer
e6516ad3e6 Added mouse, position, draggable and resizable dependencies 2010-03-20 14:39:05 +00:00
Jörn Zaefferer
253e94555b Added some margin to body to avoid horizontal scrollbar 2010-03-20 14:38:50 +00:00
Jörn Zaefferer
627fa1b522 Removed jQuery (not used); Added links to all.html, effects.all.html and compound tests 2010-03-20 14:38:34 +00:00
Jörn Zaefferer
2206bbf10c Added Button and Autocomplete 2010-03-20 14:38:24 +00:00
Jörn Zaefferer
d7e33373ad replaced pearl with perl 2010-03-20 14:37:18 +00:00
Richard Worth
2725bf3e2f sortable ticket #5355 visual test case - minor cleanup, added eol-style property 2010-03-17 23:37:02 +00:00
Jörn Zaefferer
b69ba4d9b4 Partial visual test for #5355 2010-03-16 15:44:02 +00:00
Richard Worth
a0ac772745 Dialog visual test - corrected page title, added heading 2010-03-15 13:42:05 +00:00