Releases: gridstack/gridstack.js
Releases · gridstack/gridstack.js
v0.5.0
- emit
dropped
event when a widget is dropped from one grid into another (#823). - don't throw error if no bounding scroll element is found (#891).
- don't push locked widgets even if they are at the top of the grid (#882).
- RequireJS and CommonJS now export on the
exports
module fix (#643). - automatically scroll page when widget is moving beyond viewport (#827).
- removed lodash dependencies (#693).
- don't overwrite globals jQuery when in a modular environment (#974).
- removed z-index from
.grid-stack-item-content
causing child modal dialog clipping (#984). - convert project to use yarn (#983).
v0.4.0
- widgets can have their own resize handles. Use
data-gs-resize-handles
element attribute to use. For example,data-gs-resize-handles="e,w"
will make the particular widget only resize west and east. (#494). - enable sidebar items to be duplicated properly. Pass
helper: 'clone'
indraggable
options. (#661, (#396, (#499). - fix
staticGrid
grid option (#743) - preserve inline styles when moving/cloning items (thanks @silverwind)
- fix bug causing heights not to get set (#744)
- allow grid to have min-height, fixes (#628) (thanks @adumesny)
- widget x and y are now ints (thanks @DonnchaC)
- allow all droppable options (thanks @vigor-vlad)
- properly track mouse position in
getCellFromPixel
(thanks @aletorrado) - remove instance of
!important
(thanks @krilllind) - scroll when moving widget up or down out of viewport (#827)
v0.3.0
- remove placeholder when dragging widget below grid (already worked when dragging left, above, and to the right of grid).
- prevent extra checks for removing widget when dragging off grid.
- trigger
added
when a widget is added via dropping from one grid to another. - trigger
removed
when a widget is removed via dropping from one grid to another. - trigger
removed
when a widget is removed via dropping on a removable zone (#607 and [#550])(#550)). - trigger custom event for
resizestop
calledgsresizestop
(#577 and #398). - prevent dragging/resizing in
oneColumnMode
(#593). - add
oneColumnModeClass
option to grid. - remove 768px CSS styles, moved to grid-stack-one-column-mode class.
- add max-width override on grid-stck-one-column-mode (#462).
- add internal function
isNodeChangedPosition
, minor optimization to move/drag. - drag'n'drop plugin system. Move jQuery UI dependencies to separate plugin file.
v0.2.6
- update requirements to the latest versions of jQuery (v3.1.0+) and jquery-ui (v1.12.0+).
- fix jQuery size() (#486).
- update destroy([detachGrid]) call (#422).
- don't mutate options when calling draggable and resizable. (#505).
- update _notify to allow detach (#411).
- fix code that checks for jquery-ui (#481).
- fix cellWidth calculation on empty grid
v0.2.5
- update names to respect js naming convention.
- cellHeight and verticalMargin can now be string (e.g. '3em', '20px') (Thanks to @jlowcs).
- add maxWidth/maxHeight methods.
- add enableMove/enableResize methods.
- fix window resize issue #331.
- add options disableDrag and disableResize.
- fix batchUpdate/commit (Thank to @radiolips)
- remove dependency of FontAwesome
- RTL support
- 'auto' value for cellHeight option
- fix setStatic method
- add setAnimation method to API
- add setGridWidth method (#227)
- add removable/removeTimeout (experimental)
- add detachGrid parameter to destroy method (#216) (thanks @jhpedemonte)
- add useOffset parameter to getCellFromPixel method (#237)
- add minWidth, maxWidth, minHeight, maxHeight, id parameters to addWidget (#188)
- add added and removed events for when a widget is added or removed, respectively. (#54)
- add acceptWidgets parameter. Widgets can now be draggable between grids or from outside (experimental)
v0.2.4
- fix closure compiler/linter warnings
- add static_grid option.
- add min_width/min_height methods (Thanks to @cvillemure)
- add destroy method (Thanks to @zspitzer)
- add placeholder_text option (Thanks to @slauyama)
- add handle_class option.
- add make_widget method.
- lodash v 4.x support (Thanks to Andy Robbins)
v0.2.3
- gridstack-extra.css
- add support of lodash.js
- add
is_area_empty
method - nested grids
- add
batch_update
/commit
methods - add
update
method - allow to override
resizable
/draggable
options - add
disable
/enable
methods - add
get_cell_from_pixel
(thanks to @juchi) - AMD support
- fix nodes sorting
- improved touch devices support
- add
always_show_resize_handle
option - minor fixes and improvements
v0.2.2
v0.2.1
v0.2.0
Changes
- add
height
option - auto-generate css rules (widgets
height
andtop
) - add
GridStackUI.Utils.sort
utility function - add
remove_all
API method - add
resize
andmove
API methods - add
resizable
andmovable
API methods - add
data-gs-no-move
attribute - add
float
option - fix default css rule for inner content
- minor fixes