Commit graph

146 commits

Author SHA1 Message Date
Pavel Reznikov
4b13d407b0 rtl support 2016-02-20 00:11:06 -08:00
Pavel Reznikov
76f90a21f3 clean scss 2016-02-20 00:07:54 -08:00
Pavel Reznikov
cea9174bd3 move parseHeight to Utils 2016-02-19 23:37:25 -08:00
Pavel Reznikov
781776e408 remove dependency from FontAwesome 2016-02-19 23:23:27 -08:00
Pavel Reznikov
7c586417fb fix #267 2016-02-19 18:17:46 -08:00
Pavel Reznikov
c43a12ac06 code style 2016-02-19 16:45:30 -08:00
Pavel Reznikov
47218bd7a6 fix jshit warnings 2016-02-19 14:31:24 -08:00
Pavel Reznikov
b8bd181970 Viewport Size fix 2016-02-19 09:33:29 -08:00
d
ff15070de0 Fix #331. Add options to disable move and resize independently without impacting jquery-ui options. Update enableMove and enableResize methods to update these options on-the-fly. 2016-02-19 11:18:09 -05:00
d
03ca75717c Merge branch 'master' into bugfix/staticGrid
# Conflicts:
#	dist/gridstack.min.map
2016-02-18 16:52:57 -05:00
d
ca800454f1 #220. Add enableMove and enableResize. Fix staticGrid. 2016-02-18 16:48:16 -05:00
Pavel Reznikov
6e0aab4780 Revert "Viewport Size" 2016-02-18 09:49:33 -08:00
Stuardo -StR- Rodríguez
b979982cc5 Viewport
- do not parseInt but parseFloat
2016-02-18 11:33:49 -05:00
Stuardo -StR- Rodríguez
331eef1f57 Viewport Size
Allow viewport height units. Allow to use float as size.
example:  1.5em;  33vh;
2016-02-18 11:15:58 -05:00
Pavel Reznikov
02f0eba64d add maxWidth/maxHeight 2016-02-17 19:03:21 -08:00
Pavel Reznikov
e146e0d943 replace tab with spaces 2016-02-17 18:40:47 -08:00
d
7bcbeba849 Added previous PR. 2016-02-17 16:07:40 -05:00
d
64de4684e3 Added obsoletion code for deprecated methods and options. Added jscs settings and ensured code passed. Ensured code passed jshint. 2016-02-17 15:46:48 -05:00
Kevin Dietrich
1e75be19ed Preserve license comments in dist 2016-02-15 20:37:07 +01:00
Kevin Dietrich
f4e8b9e03e Development of 0.2.5 started 2016-02-15 20:31:19 +01:00
Pavel Reznikov
1edda7f24c v0.2.4 2016-02-15 09:31:43 -08:00
Dylan Weiss
cfb0dfc345 Fixed names of options. 2016-02-13 20:48:49 -05:00
Dylan Weiss
8b1f180135 Include resizable, draggable opts in all listeners for resizable, draggable, respectively. Fixes issue particularly when passing handle to draggable - was listening to everything on el rather than this.opts.draggable.handle. 2016-02-13 17:26:02 -05:00
Pavel Reznikov
90424c0d8a Merge pull request #264 from kdietrich/make-widget
Adding make_widget functionality
2016-02-10 23:15:48 -08:00
Pavel Reznikov
d11eaba9b8 placeholder_text option 2016-02-10 19:14:44 -08:00
Pavel Reznikov
928d9d3679 Merge pull request #319 from rharriso/master
allow default sass values to be overridden
2016-02-10 19:01:20 -08:00
Pavel Reznikov
deff21d822 Merge pull request #162 from martynsmall/master
Fix resize/move issue in one column mode
2016-02-10 18:54:26 -08:00
Pavel Reznikov
6017f346f8 Merge pull request #200 from derekm/fix-out-of-order-events
fix ordering of draggable and resizable event callbacks
2016-02-10 18:52:37 -08:00
Pavel Reznikov
4dae65aa46 merge PR #283 2016-02-10 18:29:49 -08:00
Ross Harrison
c679b26d02 allow default sass value to be preset 2016-02-10 11:13:47 -05:00
Ross Harrison
15a121e7d6 allow default sass values to be preset 2016-02-10 11:13:19 -05:00
Pavel Reznikov
b32b3f251f fix #276 2016-02-08 22:58:10 -08:00
Pavel Reznikov
64aa4734cc copy 2016-02-08 22:43:35 -08:00
Pavel Reznikov
7c7fd5ae0a Merge pull request #271 from mmrose/master
Adding enable and disable events
2016-02-08 22:39:55 -08:00
Pavel Reznikov
9237ae7fb7 Merge pull request #275 from zspitzer/master
toggle ui-draggable-handle class with draggable
2016-02-08 22:38:54 -08:00
Pavel Reznikov
48e96cd746 Merge pull request #245 from boreal-is/master
Fix for #63
2016-02-08 22:35:41 -08:00
Pavel Reznikov
7c8c08e101 Merge pull request #309 from andrewr88/master
Fixes for Lodash v4.0 breaking changes
2016-02-08 22:33:55 -08:00
Derek Moore
1fe90ee79b trigger resizestart on items for when nested grids are resized 2016-01-28 15:21:18 -06:00
Derek Moore
61a129e77c add event_stop_propagate to change event on gridstack objects 2016-01-28 14:17:21 -06:00
Florian Heinze
9c644eef98 [BUGFIX] offset problems for dragging and scaling with a lot of columns
When using a a lot of columns, e.g. more than 40
then the dashed box showing the next placement would
behave strangely compared to the box I am currently
dragging. This behavior increases while dragging
the box to the right side.

When scaling a box on the right side, the box would
jump one column to the left, which would then move around
all the boxes that I have already placed.

This behavior seems to be related to a rounding problem.
2016-01-25 14:08:18 +01:00
Andy Robbins
bce1eeaf06 fix calls for lodash v4.0 2016-01-15 13:46:23 -05:00
Jerome Louis
9bba3fbb18 generated CSS files should only be in dist folder 2015-11-18 16:48:27 +01:00
Zac Spitzer
912662bbbb toggle ui-draggable-handle class with draggable
On touch devices, it's not possible to scroll a page by dragging on an item even when draggable is
disabled due to the **ui-draggable-handle** class which is added to the **grid-stack-item-content**

JQuery-UI Draggable doesn't remove this class when it's disabled, so it prevents touch scrolling the page on the item

```
<div class="grid-stack-item-content ui-draggable-handle">

.ui-draggable-handle {
    -ms-touch-action: none;
    touch-action: none;
}
```
2015-11-06 13:48:11 +11:00
Martin Mrose
816071a077 Triggering enable and disable events on gridstack container 2015-11-03 00:14:57 +01:00
Kevin Dietrich
bee6ff6e31 API make_widget functionality 2015-10-26 12:31:06 +01:00
Chaoyu
3be2105a93 try load lodash, otherwise use global _ 2015-10-09 15:22:00 -07:00
Chaoyu
b7c7b3b8f3 fix 2015-10-09 15:10:22 -07:00
Chaoyu
5472f95252 common js suport 2015-10-09 14:46:12 -07:00
cvillemure
c2b1dee5fa Merge pull request #2 from troolee/master
Update from troolee
2015-10-08 15:06:23 -04:00
cvillemure
77159bfbe1 Fix for #63
Fix IE9 SE handle for #63
2015-10-08 14:55:24 -04:00