Skip to content

Releases: gridstack/gridstack.js

v0.5.0

06 Nov 19:11
50ab44e
Compare
Choose a tag to compare
  • 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

11 May 15:01
7b6df18
Compare
Choose a tag to compare
  • 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' in draggable 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

22 Apr 01:02
Compare
Choose a tag to compare
  • 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 called gsresizestop (#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 functionisNodeChangedPosition, minor optimization to move/drag.
  • drag'n'drop plugin system. Move jQuery UI dependencies to separate plugin file.

v0.2.6

17 Aug 16:31
Compare
Choose a tag to compare
  • 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

03 Mar 04:43
Compare
Choose a tag to compare
  • 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

15 Feb 17:33
Compare
Choose a tag to compare
  • 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

23 Jun 07:10
Compare
Choose a tag to compare
  • 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

24 Dec 00:23
Compare
Choose a tag to compare
  • fix grid initialization
  • add cell_height/cell_width API methods
  • fix boolean attributes (issue #31)

v0.2.1

09 Dec 22:47
Compare
Choose a tag to compare
  • add widgets locking (issue #19)
  • add will_it_fit API method
  • fix auto-positioning (issue #20)
  • add animation (thanks to @ishields)
  • fix y coordinate calculation when dragging (issue #18)
  • fix remove_widget (issue #16)
  • minor fixes

v0.2.0

30 Nov 19:06
Compare
Choose a tag to compare

Changes

  • add height option
  • auto-generate css rules (widgets height and top)
  • add GridStackUI.Utils.sort utility function
  • add remove_all API method
  • add resize and move API methods
  • add resizable and movable API methods
  • add data-gs-no-move attribute
  • add float option
  • fix default css rule for inner content
  • minor fixes