Skip to content

Releases: gridstack/gridstack.js

v2.0.2

06 Oct 06:56
a858509
Compare
Choose a tag to compare
  • fix animate to not re-create CSS style each time (should be faster too) and made it default now since so much nicer. pass {animate: false} grid options if you want instant again #937
  • fix resizable: { handles: ...} forcing alwaysShowResizeHandle behavior #1373

v2.0.1

27 Sep 02:56
391b144
Compare
Choose a tag to compare

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

08 Sep 01:50
b3d3011
Compare
Choose a tag to compare
  • 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() and load() to serialize grids from JSON, saving all attributes (not just w,h,x,y) #1286
  • add margin to replace verticalMargin 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

04 Sep 19:14
054b3dc
Compare
Choose a tag to compare
2.0.0-rc3 Pre-release
Pre-release
  • fixed package.json main and types field, some doc updates. No code change

v1.2.1

04 Sep 17:53
7813d86
Compare
Choose a tag to compare

fix #1341 Enable the UMD behavior for bundlers compatibility

v2.0.0-rc2

17 Aug 06:05
d4b546e
Compare
Choose a tag to compare
v2.0.0-rc2 Pre-release
Pre-release

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

11 Aug 17:16
be7f0d6
Compare
Choose a tag to compare
v2.0.0-rc Pre-release
Pre-release
  • 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() and load() to serialize grids from JSON, saving all attributes (not just w,h,x,y) #1286
  • add margin to replace verticalMargin 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

01 Aug 16:12
c60a11f
Compare
Choose a tag to compare
  • fix #1311 domAttr is not defined
  • adds styleInHead option to allow for selecting older behavior (adding STYLE element to HEAD element instead of parentNode)
  • update jquery to v3.5.1

v1.1.2

17 May 22:10
aed3252
Compare
Choose a tag to compare
  • fix #1229 staticGrid no longer disable oneColumnMode
  • fix #1195 options broken with ember hash helper - thanks @btecu
  • fix #1250 don't remove item from another grid
  • fix #1261 init() clones passed options so second doesn't affect first one
  • fix #1276 addWidget() ignores data attributes

v1.1.1

17 Mar 23:44
ab3b022
Compare
Choose a tag to compare
  • 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