Releases: gridstack/gridstack.js
Releases · gridstack/gridstack.js
v2.0.2
v2.0.1
lots of bugs fixes (half are regressions) now that people have switched to 2.0
- fix
minWidth()
,minHeight()
,maxHeight()
to set node value as well #1359 - fix
GridStackOptions
spelling #1359 - fix remove window resize event when
grid.destroy()
#1369 - fix nested grid resize #1361
- fix resize with
cellHeight
'6rem' '6em' not working #1356 - fix preserve attributes (min/max/id/etc...) when dragging between grids #1367
- fix 2 drop shadows when dragging between grids #393
^^^ always wanted to fix that one. 4 years later.
v2.0.0
- re-write to native Typescript, removing all JQuery from main code and API (drag&drop plugin still using jqueryui for now)
- add
getGridItems()
to return list of HTML grid items - add
{dragIn | dragInOptions}
grid attributes to handle external drag&drop items - add
save()
andload()
to serialize grids from JSON, saving all attributes (not just w,h,x,y) #1286 - add
margin
to replaceverticalMargin
which affects both dimensions in code, rather than one in code the other in CSS.
You can now have perfect square cells (default) #723 - fix #1299 many columns round-off error
- fix #1102 loose functionality when they are moved to a new grid
- add optional params to
removeWidget()
to have quiet mode (no callbacks) - drop support for IE11 due to more compact ES6 output and newer TS code
2.0.0-rc3
v1.2.1
v2.0.0-rc2
good re-write of D&D with generic non jquery code. this fixes the following:
- #1329 D&D wasn't working correctly in 2.0.0-rc
went through entire code with fine comb. "had to change 'drop' signature to have 2 elements (original drag and helper) do handle both cases - #1102 we no longer make a copy when dragging between grids (just re-parent)
so all actions and settings stay the same.
Only time we make a copy is if dragging from an external toolbar and user has helper to clone item - #1335 some fixes for new
load()
API
v2.0.0-rc
- re-write to native Typescript, removing all JQuery from main code and API (drag&drop plugin still using jqueryui for now)
- add
getGridItems()
to return list of HTML grid items - add
{dragIn | dragInOptions}
grid attributes to handle external drag&drop items - add
save()
andload()
to serialize grids from JSON, saving all attributes (not just w,h,x,y) #1286 - add
margin
to replaceverticalMargin
which affects both dimensions in code, rather than one in code the other in CSS.
You can now have perfect square cells (default) #723 - fix #1299 many columns round-off error
v1.2.0
v1.1.2
v1.1.1
- fix #1187 IE support for
CustomEvent
polyfill - thanks @phil-blais - fix #1204 destroy drag&drop when removing node(s) instead of just disabling it.
- fix #1181 Locked widgets are still moveable by other widgets.
- fix #1217 If I set cellHeight to some vh, only first grid will take vh, rest will use px
- include SASS source files to npm package again #1193