Skip to content

Update dependency gridstack to v8

This MR contains the following updates:

Package Type Update Change
gridstack (source) dependencies major ^7.3.0 -> ^8.3.0

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

gridstack/gridstack.js

v8.3.0

Compare Source

feat #​2358 column(N, 'list'|'compact'|...) resizing and compact('list'|'compact') now support reflowing content as list

v8.2.3

Compare Source

fix https://github.com/gridstack/gridstack.js/issues/2349 grid NoMove vs item NoMove support fix https://github.com/gridstack/gridstack.js/issues/2352 .ui-draggable-dragging z-index for modal dialogs fix https://github.com/gridstack/gridstack.js/issues/2357 NaN inf loop when using cellHeight rem/em fix https://github.com/gridstack/gridstack.js/issues/2354 max-w cloning issue fix

v8.2.2

Compare Source

v8.2.1

Compare Source

  • fix: make sure removeNode() uses internal _id (unique) and not node itself (since we clone those often)
  • fix: after calling addRemoveCB make sure we don't makeWidget() (incorrectly) a second time
  • break: GridStackWidget.id is now string only (used to be numberOrString) as it causes usage to have to check and cast

v8.2.0

Compare Source

  • feat: makeWidget() now take optional GridStackWidget for sizing
  • fix: make sure GridStack.saveCB is call in removeWidget()
  • feat: angular wrapper: serialize custom data support, and making sure destroy() is called on ng components

v8.1.2

Compare Source

v8.1.1

Compare Source

  • fix: #​2314 fix issue with having min-height/width instead of height/width for gs-h|x="1"
  • also further compressed CSS multi column rules (use .gs-# > .grid-stack-item instead of .grid-stack-# > .grid-stack-item)

v8.1.0

Compare Source

  • break: remove GridStackOptions.minWidth obsolete since 5.1, use oneColumnSize instead
  • optimize: CSS files now even 25% smaller (after being halfed in 8.0.0) by removing .grid-stack prefix for anything already gs based, and 3 digit rounding.
  • fix: #​2275 setupDragIn() signature tweaks (HTMLElement | Document)
  • feat: #​2205 added GridStackOptions.draggable.cancel for list of selectors that should prevent item dragging

v8.0.1

Compare Source

  • feat: #​2275 setupDragIn() now can take an array of elements (in addition to selector string) and optional parent root (for shadow DOM support)
  • fix: #​2234 Utils.getElements('1') (called by removeWidget() and others) now checks for digit 'selector' (becomes an id).
  • fix: #​2213 destroy() now removes event handlers too
  • feat: #​2292 ne nw resize handle
  • break: (meant to be in v8) removed GridStackOptions.dragInOptions since setupDragIn()has it replaced since 4.0

v8.0.0

Compare Source

  • package is now ES2020 (TS exported files), webpack all.js still umd (better than commonjs for browsers), still have es5/ files unchanged (for now)
  • optimize #​2243 removed gs-min|max_w|h attribute generated in CSS or written out as they are never used for rendering, only for initial load. This reduce our column/row CSS in half!
  • optimize: removed gs-w='1' and gs-h='1' dom attribute writing since we already have min-width/min-height set, no need to set more attributes.
  • optimize: remove 'ui-draggable' and 'ui-resizable' since wasn't used in CSS and we have the -disabled version when off (so we can use not(xyz-disabled)).
  • add: GridStack.saveCB global callback for each item during save so app can insert any custom data before serializing it. save() can now be passed optional callback
  • move: GridStack.addRemoveCB is now global instead of grid option. load() can still be passed different optional callback
  • fix: addGrid() to handle passing an existing initialized grid already
  • break: GridStackOptions.subGrid -> GridStackOptions.subGridOpts. We now have GridStackWidget.subGridOpts vs GridStackNode.subGrid (subclass) rather than try to merge the two at runtime since very different types...
  • tons of improvements for Angular wrapper - now shipped!

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by GitLab Dependency Bot

Merge request reports