Commit Graph

115 Commits

Author SHA1 Message Date
Klaus Hartl
c0f4c0f8ef UI Tabs: started with writing tests 2008-09-28 11:47:07 +00:00
Scott González
f69b4fe35e Dialog: Added more tests. 2008-09-28 01:43:12 +00:00
Richard Worth
2b0cb8c231 Updated draggable defaults unit test 2008-09-27 16:10:43 +00:00
Ca-Phun Ung
c73e5e5fdc Spinner: Removed external jquery.mousewheel.js call from visual test. 2008-09-26 07:26:20 +00:00
Ca-Phun Ung
24afc68d5b Spinner: added a timer to mousewheel interaction which fires a change event when the mousewheel stops spinning.
Added a few missing options to test case.
2008-09-26 07:21:56 +00:00
Ca-Phun Ung
b5ce43ac6a Spinner: Add change event to dblclick and created a new visual test for all callbacks. timer is now set to 0 after being cleared. 2008-09-23 07:58:29 +00:00
David Bolter
5f9ffb28d3 Accept boolean values for aria state. (Thanks for catch Scott González) 2008-09-22 18:21:38 +00:00
David Bolter
fb3a5d4010 Added ariaRole and ariaState to ui.core with tests.
Added ARIA role and state to ui.dialog
Fixes #3350
(Inspired by jARIA plugin from Chris Hoffman)
2008-09-22 15:47:41 +00:00
Ca-Phun Ung
b6ad959811 Spinner: implemented init callback via trigger (thanks Scott González) 2008-09-22 11:22:14 +00:00
Ca-Phun Ung
dcb341e7f8 Spinner: new options: format, items & decimals (r728).
items: accepts a array of objects which will be converted to a list of items by the spinner.

format: printf style formatting of each item - accepts named arguments.
2008-09-20 19:04:01 +00:00
Richard Worth
77cea8f364 set svn:eol-style to native 2008-09-20 17:42:04 +00:00
Richard Worth
057d3c677e HTML5 doctype 2008-09-20 17:30:51 +00:00
Eduardo Lundgren
99f8a711de Progressbar - Added suport for animated equations (easeInOutQuint, ...) 2008-09-20 04:22:53 +00:00
Eduardo Lundgren
2f842cedd6 Progressbar duration option fixed 2008-09-20 04:09:27 +00:00
Scott González
14e0450dc7 Dialog: Added an id to the title span (needed for ARIA support). 2008-09-19 18:28:31 +00:00
Scott González
90d7b7f708 Dialog: Fixed #3087: Added beforeclose callback for dialogs (can prevent closing the dialog by returning false). 2008-09-19 02:07:54 +00:00
Paul Bakaus
cef66ee99f sortable: Fixed the floating functional demo, implemented forcePlaceholderSize 2008-09-16 12:40:48 +00:00
Paul Bakaus
7ba2beb903 - kickass draggable refactoring - fixes many bugs, many edge case issues
- added many new tests to draggable, especially related to scrolling and helper clone
2008-09-15 20:26:42 +00:00
Ca-Phun Ung
accc76bc64 Spinner: added an init callback which exposes the addItem method for dynamic population of spinner via an external objects. 2008-09-09 08:23:29 +00:00
Scott González
48cce41f39 Dialog: Added some more tests. 2008-09-07 22:14:15 +00:00
Keith Wood
41811fb8c3 Fixed 3183 onSelect and onClose have inconsistent signatures 2008-09-07 08:38:09 +00:00
Keith Wood
0db0ffe580 Fixed 3267 Alternate field not updated when using "setDate" 2008-09-07 07:55:02 +00:00
Scott González
0b771b43c6 Core: Improved :tabbable selector
- check tabindex >= 0 instead of != -1
  - check anchor tags for href
  - check for hidden input types
  - check styles (display and visibility; self and ancestors)
Added tests for :tabbable selector
2008-09-06 03:44:32 +00:00
Ca-Phun Ung
9248368f20 Spinner: For DOM based spinners, the height is now calculated based on number of children. 2008-08-30 20:01:23 +00:00
Ca-Phun Ung
66d90af241 spinner: changed data list to support any DOM container not just <ul> 2008-08-30 19:15:08 +00:00
Ca-Phun Ung
3ac690bcde spinner: fixed styling issues in IE 2008-08-26 07:50:40 +00:00
Ca-Phun Ung
ea0ce45c97 spinner: Included support for generic objects - currently only supports <ul>. See visual test (#s4) for example usage. Needs more work... 2008-08-26 07:28:14 +00:00
Eduardo Lundgren
5d261bf7b1 Remove invalid includes 2008-08-24 23:36:20 +00:00
Keith Wood
732c7fb7d5 Added tests for 3191 - handling NaN and other invalid values for relative dates 2008-08-21 09:33:39 +00:00
Chi Cheng
50fae3972c spinner test: currency 2008-08-19 18:35:25 +00:00
Chi Cheng
6d0e27d2de Spinner test: up, down callback 2008-08-19 17:58:57 +00:00
Chi Cheng
c0147da718 Spinner: ui() doesn't return instance 2008-08-19 16:31:42 +00:00
Chi Cheng
bf1d243ce7 Spinner: this.options._decimals -> this._decimals
decimal test
2008-08-19 15:52:35 +00:00
Chi Cheng
62ed7d0388 spinner test 2008-08-19 09:54:47 +00:00
Chi Cheng
1de76c6f77 Spinner test: a bug when set stepping:0.3 2008-08-19 08:56:48 +00:00
Chi Cheng
9da87e28e6 Spinner test: currency and decimal options
test all: .load to load html from single html
2008-08-19 08:51:59 +00:00
Ca-Phun Ung
9858045fcc updated testcase to reflect the new ui.spinner changes:
- removed div.* for case #9 because ui.spinner now uses <button>
- changed case #5 because LEFT and RIGHT keys no longer change the value of the input box. This is by design so that users could move the cursor within the input box
2008-08-19 07:33:30 +00:00
Ca-Phun Ung
198d809f9b Added enhancements to ui.spinner as seen at http://yelotofu.com/labs/jquery/UI/spinner/spinner.html
Enhancements include:
- removal of all hardcoded styling for better theming capability
- visual test page made more appealing supporting browser zooming
- added utility functions to disable, enable and destroy ui.spinner
- up/down buttons listens to more mouse and keyboard events
- support for decimal and currency format
- ui.spinner now restricts input on keydown
- cleanup occurs when the input textbox loses focus. this seems to be a better approach for future scalability
2008-08-19 07:18:04 +00:00
Chi Cheng
b4e2e0e9ca Progressbar test: init 2008-08-19 06:32:56 +00:00
Chi Cheng
951312cfcb Spinner test: spin without auto-incremental stepping 2008-08-19 06:24:24 +00:00
Chi Cheng
2ac541d500 Spinner test: callback 2008-08-19 06:07:56 +00:00
Chi Cheng
1f6a9c9eda Spinner test: spin with auto-incremental stepping 2008-08-19 05:54:49 +00:00
Chi Cheng
f50d9f0a95 home key to start if min not set. 2008-08-18 11:44:42 +00:00
Chi Cheng
da0ebd589e Spinner: test case 2008-08-18 11:38:12 +00:00
Chi Cheng
a48241c831 typo 2008-08-18 10:38:23 +00:00
Scott González
4705f5cc2e Dialog: Added tests for isOpen method. 2008-08-15 15:07:09 +00:00
Paul Bakaus
d90fe750a3 visual tests: added stripped down autocomplete demo 2008-08-11 09:35:12 +00:00
Eduardo Lundgren
a3977524f3 Progressbar updates 2008-08-09 23:51:46 +00:00
Eduardo Lundgren
c654cd6ac5 Progressbar updates - using .animate() 2008-08-09 23:06:18 +00:00
Keith Wood
edd4ab0ccd Added tests for stepMonths and stepBigMonths
Added tests for onChangeMonthYear callback from setDate
2008-08-08 10:36:52 +00:00