Commit graph

76 commits

Author SHA1 Message Date
Pavel Reznikov
b5cdcb2496 extra CSS 2015-06-19 22:02:42 -07:00
Pavel Reznikov
899fee3330 do not fire onchange event with empty array 2015-06-18 19:48:23 -07:00
Pavel Reznikov
b6fec29756 attach placeholder just when it needed 2015-06-18 19:30:48 -07:00
Pavel Reznikov
14a9dba190 compile source CSS from SCSS 2015-06-18 18:33:26 -07:00
d
da3ab07e86 Merge branch 'master' into bugfix/amd-jquery-ui 2015-05-30 16:05:44 -04:00
d
203cc88ab8 Include AMD references to jQuery-ui to load properly. 2015-05-30 16:05:24 -04:00
Dylan Weiss
43b2f0b6ee $(window).width() is incorrect by about 5 pixels, causing _is_one_column_mode to be incorrect. To test this, go to any gridstack and make the page width 769px. Single column mode via CSS will not kick in, yet elements will not be draggable. 2015-05-19 17:40:04 -04:00
Pavel Reznikov
2e0dbc1e6a fix ‘w’ resize 2015-05-14 20:28:47 -07:00
Matt Widmann
5f2e795677 Correctly sort nodes by using the total width instead of individual node width (becomes a problem with nodes of variable width). 2015-04-14 16:19:03 -04:00
Rick Cuddy
6746234036 Update bower.json main files to match "standards"
This update allows use of bower.json main value in buildtools that rely on
the appropriate files being defined in this main array. It also points to
the unminified, but compiled dist versions as per bower spec:

https://github.com/bower/bower.json-spec#main

  * Changes main js file to use unminified version
  * Adds the gridstack.css file to the main files array
  * Moves compiled CSS into `dist` folder (upstream build process needs update)
  * Duplicate `src/gridstack.js` into `dist/gridstack.js` (upstream build process needs update)
  * Update demo html to point to `dist` instead of `src`
2015-03-21 16:23:18 +11:00
Pavel Reznikov
41b1a40fa0 fix floating mode (issue #93) 2015-03-12 19:52:26 -07:00
Pavel Reznikov
95328b7455 lodash.js support 2015-03-10 23:26:44 -07:00
Pavel Reznikov
6768a14802 lodash.js support 2015-03-10 23:10:26 -07:00
Pavel Reznikov
66388d020c improve memory usage 2015-03-09 21:37:08 -07:00
Pavel Reznikov
fc28ca5947 add detach_node param to remove_widget 2015-03-08 23:33:14 -07:00
Pavel Reznikov
94b4889eb7 add is_area_empty API method 2015-03-08 22:45:14 -07:00
Pavel Reznikov
3f5d6fca80 nested grids 2015-03-08 22:28:51 -07:00
Pavel Reznikov
b64accd45a fix styles initialization 2015-03-08 12:04:15 -07:00
Pavel Reznikov
160e56af30 remove default value for max height 2015-03-06 00:44:05 -08:00
Pavel Reznikov
ec6e6f5421 add batch_update/commit methods 2015-03-05 23:50:32 -08:00
Pavel Reznikov
8747785ba0 add update method 2015-03-05 23:46:59 -08:00
Pavel Reznikov
8cb3098d00 build css from scss 2015-03-05 23:06:20 -08:00
Pavel Reznikov
7ea4ea5e12 rename to gridstack.scss 2015-03-04 09:03:15 -08:00
Adam Verheyen
d4513f9463 Update and rename src to src/styles.scss 2015-03-04 11:59:03 -05:00
Pavel Reznikov
4a06cc10cb improve default resizable options 2015-03-03 22:30:07 -08:00
Pavel Reznikov
5b86a44cef fix _update_styles 2015-03-03 22:29:55 -08:00
Pavel Reznikov
56e147bb1f avoid runtime error in IE8 2015-03-01 22:32:14 -08:00
Pavel Reznikov
b34f3037f6 remove extra comma 2015-02-27 20:35:04 -08:00
Pavel Reznikov
e9d32cdd3d allow to override resizable/draggable options 2015-02-27 20:30:49 -08:00
Pavel Reznikov
409e401c70 resize handles 2015-02-27 20:30:20 -08:00
Pavel Reznikov
3e5100749a improve stylesheet creation 2015-02-27 16:00:36 -08:00
Pavel Reznikov
08f001570c min size for 1x1 cell 2015-02-27 16:00:02 -08:00
Pavel Reznikov
72de675282 fix IE9 resize handle issue 2015-02-26 23:23:10 -08:00
Pavel Reznikov
9aa5363269 fix css 2015-02-26 21:53:46 -08:00
Pavel Reznikov
4811c8c1f2 fix css styles 2015-02-26 21:48:25 -08:00
Pavel Reznikov
be1f6a420f add disable/enable methods 2015-02-17 23:17:27 -08:00
Pavel Reznikov
008f1d11dc respect max/min constrains when resize widgets 2015-02-13 21:52:08 -08:00
Julien Chichignoud
ef311e6fb1 add_widget() now returns the newly created widget 2015-01-29 11:12:22 +01:00
Julien Chichignoud
c6a6ad5210 add the get_cell_from_pixel() function 2015-01-28 16:04:30 +01:00
Pavel Reznikov
3f992b98be AMD support 2015-01-19 20:20:58 -08:00
Pavel Reznikov
c04b6aeb7c add copyright 2015-01-19 19:20:42 -08:00
Pavel Reznikov
5029594c03 improve nodes sorting 2015-01-19 18:37:32 -08:00
Pavel Reznikov
bbe9a08caf improve touch support 2015-01-08 19:41:07 -08:00
Pavel Reznikov
38532dd8fe fix #34 2014-12-19 17:54:03 -08:00
Pavel Reznikov
16884fdf20 fix grid initialization 2014-12-19 17:37:44 -08:00
Pavel Reznikov
3565ee586c add cell_width/cell_height 2014-12-11 21:41:18 -08:00
Pavel Reznikov
78199e2037 fix boolean attributes 2014-12-11 21:00:26 -08:00
ianshields
5183a823d2 Animates grid-stack container itself. 2014-12-07 16:13:44 -05:00
Pavel Reznikov
f866de98c3 fix locked for not floating grid 2014-12-05 20:35:24 -08:00
Pavel Reznikov
80f3b33210 locked widgets 2014-12-05 20:26:01 -08:00