Commit Graph

113 Commits

Author SHA1 Message Date
Alexander Schmitz
2665aa0146 Resizable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:56 -04:00
Alexander Schmitz
c192d4086d Widget: Add classes option and _add/_remove/_toggleClass methods
Fixes #7053
Closes gh-1411
2015-03-11 16:00:04 -04:00
Ben Mosher
19783fd3e6 Resizable: alsoResize more than one element of a jQuery selection
Fixes #4666
Closes gh-1324
Closes gh-1461
2015-03-04 08:51:06 -05:00
Patricia Juarez
18e301f4e2 Resizable: Modified to allow jquery objects as handles
Custom handlers did not work as jquery objects (outside the resizable element)

Fixes #9658
Closes gh-1445
2015-03-03 08:52:21 -05:00
Mike Sherov
9493839f23 Resizable: correct width when grid approaches zero
Fixes #10590
2015-01-27 22:08:05 -05:00
Mike Sherov
337e4110b0 Resizable: Whitespace Cleanup 2015-01-27 22:07:32 -05:00
Jörn Zaefferer
2aabd427eb Tests: Fix style issues with missing or multiple line breaks
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
2015-01-24 17:10:20 +01:00
Mike Sherov
aa425ab95d Build: Pull in jquery.simulate.js from Bower
Fixes #10563
2014-08-22 17:01:50 -04:00
Mike Sherov
ba5a60efa1 Resizable Tests: fix IE8 test fail due to unspecified border style
IE <9 does not correctly set the height of an element if the borderWidth
is non-zero but no borderStyle is specified.
2014-08-13 23:06:21 -04:00
Mike Sherov
7c8790dcc8 Resizable: account for padding & border in grids.
Fixes #10437
2014-08-05 14:16:11 -04:00
Jyoti Deka
750a8fd0c2 Resizable: Fix containment width with relative parent.
Refs #10140
Closes gh-1303
2014-08-04 10:04:50 -04:00
Mike Sherov
2779212a0e Resizable: Fix containment calculation with relative parent
Remove an incorrect fix introduced in 47cd5b6f that causes
width calculations to be incorrect once the correct fix
was introduced in c03cb807

Fixes #10140
2014-08-04 08:18:35 -04:00
Scott González
c017628e11 Tests: Fix composite tests 2014-08-01 12:25:14 -04:00
Scott González
5beae72e77 Resizable: Fix size/position changes in resize event
Fixes #10351
Closes gh-1292
2014-07-24 16:21:51 -04:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
Jörn Zaefferer
3576ceb360 Resizable: Remove bad workaround for draggable+resizable
This adds a compound test page for draggable+resizable, which had no coverage
before. Using that page shows that there is no way to reproduce the behaviour
described in the original ticket that caused this workaround, since its not
possible to resize an element beyond the window boundaries. Therefore removing
the workaround, which is 6+ years old and has no test coverage, seems like the
sanest approach.

Fixes #6939
Closes gh-1210
2014-04-16 18:47:15 +02:00
Jörn Zaefferer
a40647f0e5 All: Rename jquery.js to exclude version in filename 2014-03-05 10:19:11 +01:00
Jörn Zaefferer
822f3cd9d0 Tests: Update to sane QUnit markup 2014-02-20 17:05:02 +01:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Kris Borchers
20c1648f68 Resizable: Only resize/reposition if size is greater than specified grid
Fixes #9611
Closes gh-1132
2014-01-15 04:37:32 -05:00
Jyoti Deka
20f064662a Resizable: containment plugin restricts resizing within container
Fixes #7018
Fixes #9107
Closes gh-1122
2013-12-15 12:57:29 -05:00
Jyoti Deka
c03cb8079c Resizable: containment now works with non - immediate children
Fixes #7485
Closes gh-1130
2013-12-15 12:29:55 -05:00
Jyoti Deka
ec5f395260 Resizable: modified to allow resizing when resizables are nested.
Fixes #5025
Closes gh-1149
2013-12-14 16:08:44 -05:00
Kris Borchers
14065dc23b Resizable: Store size based on calculated helper size to prevent 1 pixel shifts. Fixes #9547 - Resizable: off-by-one pixel dimensions with helper and grid 2013-10-18 22:12:46 -05:00
Bruno M. Custódio
0d5eaab9bb Updating jQuery to 1.10.2.
Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the
tests directory.
2013-07-05 08:42:37 -04:00
Christian Klammer
6df5c1a4ae Resizable: Fixed sign error on offset calculation. Fixes #9307 - Resizable: Erratic behavior of contained elements within scrollable grandparents 2013-05-29 08:18:58 -04:00
Scott González
44d07173db Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable: disabled should not have ui-state-disabled

This reverts commit 23771d38ba.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
This reverts commit 4d67f4f349.
2013-03-14 15:07:06 -04:00
Mike Sherov
4d67f4f349 Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable : disabled should not have ui-state-disabled
2013-03-11 22:08:21 -04:00
Bruno M. Custódio
b440979ba6 Updating 'jQuery' to 1.9.1. 2013-02-05 13:47:59 +00:00
Kris Borchers
34409e7ddd Updating to jQuery 1.9.0 2013-01-17 00:28:41 -06:00
Mike Sherov
f667d090a7 Interactions: Update widget defaults to match documented API. 2013-01-02 18:27:22 -05:00
Mike Sherov
0d4022bceb Tests: Convert single quotes to double quotes. 2012-12-26 08:08:48 -05:00
Mike Sherov
a677ea7dc0 Dev: update jquery.simulate.js to latest version from http://github.com/jquery/jquery-simulate 2012-12-12 03:59:11 -05:00
Mike Sherov
9f76446775 Dev: remove unnecessary simulated drag delegation in test suite 2012-12-08 21:27:37 -05:00
Scott González
5ba267e7c7 Resizable: Respect containment for alsoResize option. Fixes #4603 - Resizable: alsoResize option doesn't work with containment. Fixes #5559 - Dialog: Content grows bigger than widget on resize at document edge. 2012-12-03 10:36:55 -05:00
Scott González
ee8d20ea06 Dialog: Moved resizable handle test from resizable. 2012-11-26 16:27:18 -05:00
TJ VanToll
0cd470b0d5 Resizable: Modified the default z-index value of resizable handles. Fixed #7960 - Dialog: Modal dialogs do not disable resizables on the page. 2012-11-26 12:42:44 +01:00
Mike Sherov
a1b32b59d5 Resizable: use css() instead of position() for absolute placement. Fixes #3815 - Resizable: absolutely positioned element inside scrollable element is repositioned when resized 2012-11-17 01:29:39 -05:00
Scott González
fb6119e182 Upgrade jQuery to 1.8.3. 2012-11-14 15:22:01 -05:00
Ethan Romba
3974b55ba5 Resizable: Update CSS dimensions selectively. Fixes #7605 - Setting width and height when only one is changing
Resizable: Trigger resize event only when element is resized. Fixes #5545 - Callbacks ignore the grid.

Resizable: Added event tests. Fixes #5817 - resize event reports unconstrained ui.size
2012-11-12 21:41:22 -05:00
Ethan Romba
6e0a0553ce Resizable: Grid now respects min/max dimensions. Fixed #8435 - grid does not respect min/max dimensions 2012-11-09 09:48:50 -05:00
Mathias Stenbom
0bff32a2b1 Resizable: Made handles work with complex markup. Fixes #8756 - Resizable: Complex markup for handles. 2012-11-05 13:16:48 -05:00
Mike Sherov
3df9ea29e6 Dev: remove globals from tests and moved test helpers to correct location - Fixed #8770 Dev: Remove globals and Standardize Test Suite 2012-11-03 16:17:16 -04:00
Mike Sherov
d85b0160f2 Dev: Standardized the resizable test suite. Fixed #8754 - Dev: Get resizable test suite to pass 2012-10-31 09:50:36 -04:00
Scott González
d68ef5e4e1 Tests: Removed old code that kept bad test suites out of TestSwarm. 2012-10-26 13:47:34 -04:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
a638acb583 Upgrade jQuery to 1.8.2. 2012-09-20 21:41:47 -04:00
Scott González
1e6b2b2298 Upgrade jQuery to 1.8.0. 2012-08-13 09:19:09 -04:00
Scott González
51863d5a71 Don't use :input selector. 2012-05-21 14:49:49 -04:00