223 Commits

Author SHA1 Message Date
967984f16b Release v0.5.0 2014-02-14 13:13:39 +01:00
073fdc40e0 feat(draggable): Add toggle draggable method. 2014-02-14 13:09:03 +01:00
e21f63a05a fix(resize.stop): Call resize.stop at the latest possible moment
Previously the resize.stop callback was being called before the widget
had reached the end size that Gridster would make it (the widget grows
to match the placeholder size after releasing the drag)

This change pushes the resize.stop callback to the last possible moment
where the size of the widget the callback receives is more likely to be
correct.

Signed-off-by: ciaranj <ciaranj@gmail.com>

Conflicts:
	src/jquery.gridster.js
2014-02-14 13:09:03 +01:00
835c2df844 fix(autogrow): refining autogrow_cols behavior and grid width issues 2014-02-14 13:09:02 +01:00
9796c44dc6 Release v0.4.4 2014-02-13 11:27:48 +01:00
7ca8deec85 feat(resize): add start/stop/resize event triggers 2014-02-13 11:26:56 +01:00
6121eb6888 Release v0.4.3 2014-02-11 01:05:24 +01:00
f8b04f298e fix(generated-styles): cleaning cached serializations properly 2014-02-11 01:04:32 +01:00
e76eed7ac4 Release v0.4.2 2014-02-07 18:28:23 +01:00
4774597834 fix: recalculate grid width when adding widgets 2014-02-07 18:27:07 +01:00
7c1453c6be chore: fix mistakes in changelog 2014-02-07 15:15:30 +01:00
6eef93cc16 Release v0.4.1 2014-02-07 15:10:48 +01:00
5672edb05e fix: add resize.min_size option to default config object 2014-02-07 15:09:55 +01:00
46e0abe346 Release v0.4.0 2014-02-07 14:48:53 +01:00
1aee438bec chore: Updated node package dependencies to work on clean system.
qunit->qunitjs and jquery 2.0 isn't listed in npm repository so
replaced it with the git location.
2014-02-07 14:48:53 +01:00
7ed79e5672 fix(gridster): leaking options with multiple Gridster instances
`defaults` was being overwritten.

See [jQuery documentation](http://api.jquery.com/jQuery.extend/):

> Keep in mind that the target object (first argument) will be modified, and will also be returned from $.extend().
2014-02-07 14:48:53 +01:00
429c776aa9 feat(resize): add option to set min_size of a widget 2014-02-07 14:48:53 +01:00
e9d8d8d6e2 fix(readme): link title jsfiddle -> jsbin, edit 5) of process steps 2014-02-07 14:48:53 +01:00
6f20723039 fix(licenses): add required copyright message for underscore
Add the copyright message for the code taken from underscore as required
by the MIT license.
2014-02-07 14:48:53 +01:00
e9dc513457 fix(gridster): resize.axes default option only 'both'
If passing resize.axes option it will be
what is defined and not ['x','y','both'].
2014-02-07 14:48:53 +01:00
04cb32f6f3 Release v0.3.0 2014-02-07 14:48:53 +01:00
b65a802964 feat(gridster): increase grid width when dragging or resizing 2014-02-07 14:48:52 +01:00
8fa3ad258f feat(draggable): method to set drag limits dynamically 2014-02-07 14:48:52 +01:00
3e426c9301 chore: rename calculate_positions to calculate_dimensions 2014-02-07 14:48:52 +01:00
b0b4464a5c feat(draggable): support horizontal scrolling while dragging 2014-02-07 14:48:52 +01:00
381a881501 chore: use $ instead of jQuery inside gridster 2014-02-07 14:48:52 +01:00
b6ec35252d chore: add bitdeli badge to readme 2013-12-10 17:26:45 +01:00
26031042aa docs: add guidelines for contributing 2013-10-29 23:59:00 +01:00
bc94351205 Release v0.2.1 2013-10-28 23:57:52 +01:00
d4ec7140f7 feat(resize): Add start/stop/resize callbacks 2013-10-28 23:52:17 +01:00
277d8a7753 Release v0.2.0 2013-10-26 19:54:50 +02:00
21f53a7bd4 chore(readme): update readme 2013-10-26 19:52:10 +02:00
07ebe67540 chore(docs): update ducksboard logo URL 2013-10-26 19:52:10 +02:00
e19240532d feat(gridster): drag-and-drop widget resizing 2013-10-26 19:52:10 +02:00
65d93a44db chore(grunt): add css files to grunt watch command 2013-10-26 19:52:10 +02:00
8e58cf8a44 style: some whitespaces, line-breaks... 2013-10-26 19:52:10 +02:00
d0ca62826a chore(draggable): jQuery adapter returns Draggable instance
Draggable instance instead of a jQuery collection.
Why? Becomes a mess if Draggable is instantiated multiple times from
the same HTML element.

BREAKING CHANGES: If you was accessing to Draggable instances through
.data('drag') you should remove the `data` getter. Since now the instance
is returned directly.
2013-10-26 19:52:10 +02:00
4d9b2a84f1 feat(draggable): new config option to move or not the dragged element 2013-10-26 19:52:10 +02:00
0f95624925 feat(draggable): CSS selectors support in ignore_dragging config opt 2013-10-26 19:52:10 +02:00
055cc0e4f6 feat(draggable): pass previous position to the drag callback 2013-10-26 19:52:10 +02:00
91ca65721c feat(draggable): Don't start new drag if previous one hasn't stopped
Moving 4e6159fb by @atesgoral into draggable.js
2013-10-26 19:52:10 +02:00
4b1b2b7259 chore(draggable): add default helper config option for clarify 2013-10-26 19:49:31 +02:00
c1668d9ab6 chore(css naming): gs_w to gs-w following CSS naming conventions
BREAKING CHANGE: If you are using `gs_w` classes somewhere, replace
them with `gs-w`
2013-10-26 19:49:31 +02:00
8dda2410f3 feat(draggable): pass useful data to all drag callbacks
start/stop/drag callbacks receive: element offset, cursor position,
and references to $player and $helper elements.
2013-10-26 19:49:31 +02:00
faa6c5db00 feat(utils): add delay helper to utils 2013-10-26 19:49:31 +02:00
bdfff6ce67 chore(grunt): add grunt-conventinal-changelog 2013-10-26 19:49:31 +02:00
307f8ade36 chore(grunt): add grunt-bump to manage releases 2013-10-26 19:49:31 +02:00
21fcad9a28 style(generated-css): add line breaks in css declarations 2013-10-26 19:49:31 +02:00
ae02b32b92 fix: fixes and improvements in widget-resizing. Closes #32 2013-10-26 19:49:31 +02:00
1ade74e239 fix(gridster): the preview holder should not always use li
Use the same element as the original widget for the preview holder.
Using a <li> can cause a list item bullet to be displayed when widgets
are not necessarily <li> elements.
2013-10-26 19:49:30 +02:00