From 8cb354fccdd401902b7a7bfae13ba6f086a38feb Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Thu, 2 Feb 2023 12:51:31 -0800 Subject: [PATCH] v7.2.3 release --- demo/angular/src/app/gridstack-item.component.ts | 2 +- demo/angular/src/app/gridstack.component.ts | 2 +- doc/CHANGES.md | 5 +++-- package.json | 2 +- src/dd-base-impl.ts | 2 +- src/dd-draggable.ts | 2 +- src/dd-droppable.ts | 2 +- src/dd-element.ts | 2 +- src/dd-gridstack.ts | 2 +- src/dd-manager.ts | 2 +- src/dd-resizable-handle.ts | 2 +- src/dd-resizable.ts | 2 +- src/dd-touch.ts | 2 +- src/gridstack-engine.ts | 2 +- src/gridstack-poly.js | 2 +- src/gridstack.scss | 2 +- src/gridstack.ts | 6 +++--- src/types.ts | 2 +- src/utils.ts | 2 +- 19 files changed, 23 insertions(+), 22 deletions(-) diff --git a/demo/angular/src/app/gridstack-item.component.ts b/demo/angular/src/app/gridstack-item.component.ts index 6b320d6cc..0d061b106 100644 --- a/demo/angular/src/app/gridstack-item.component.ts +++ b/demo/angular/src/app/gridstack-item.component.ts @@ -1,5 +1,5 @@ /** - * gridstack-item.component.ts 7.2.2-dev + * gridstack-item.component.ts 7.2.3 * Copyright (c) 2022 Alain Dumesny - see GridStack root license */ diff --git a/demo/angular/src/app/gridstack.component.ts b/demo/angular/src/app/gridstack.component.ts index 99110a324..5788023fb 100644 --- a/demo/angular/src/app/gridstack.component.ts +++ b/demo/angular/src/app/gridstack.component.ts @@ -1,5 +1,5 @@ /** - * gridstack.component.ts 7.2.2-dev + * gridstack.component.ts 7.2.3 * Copyright (c) 2022 Alain Dumesny - see GridStack root license */ diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 48e3d2182..1eff99be4 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -5,7 +5,7 @@ Change log **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* -- [7.2.2-dev (TBD)](#722-dev-tbd) +- [7.2.3 (2023-02-02)](#723-2023-02-02) - [7.2.2 (2023-01-16)](#722-2023-01-16) - [7.2.1 (2023-01-14)](#721-2023-01-14) - [7.2.0 (2023-01-07)](#720-2023-01-07) @@ -81,8 +81,9 @@ Change log -## 7.2.2-dev (TBD) +## 7.2.3 (2023-02-02) * fix `addWidget()` to handle passing just {el} which was needed for Angular HMTL template demo +* add `opts.draggable.scroll` back to disable scrolling. Thank you [@VincentMolinie](https://github.com/VincentMolinie) ## 7.2.2 (2023-01-16) * fix [#2171](https://github.com/gridstack/gridstack.js/issues/2171) `save()` nested grid has extra nested children & options diff --git a/package.json b/package.json index a42dbad1f..43fbe61e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gridstack", - "version": "7.2.2-dev", + "version": "7.2.3", "license": "MIT", "author": "Alain Dumesny (https://github.com/adumesny)", "contributors": [ diff --git a/src/dd-base-impl.ts b/src/dd-base-impl.ts index 16622e77c..e5be6238a 100644 --- a/src/dd-base-impl.ts +++ b/src/dd-base-impl.ts @@ -1,5 +1,5 @@ /** - * dd-base-impl.ts 7.2.2-dev + * dd-base-impl.ts 7.2.3 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-draggable.ts b/src/dd-draggable.ts index 40e436ca0..f721c05df 100644 --- a/src/dd-draggable.ts +++ b/src/dd-draggable.ts @@ -1,5 +1,5 @@ /** - * dd-draggable.ts 7.2.2-dev + * dd-draggable.ts 7.2.3 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-droppable.ts b/src/dd-droppable.ts index e24e489a1..6fecd6f72 100644 --- a/src/dd-droppable.ts +++ b/src/dd-droppable.ts @@ -1,5 +1,5 @@ /** - * dd-droppable.ts 7.2.2-dev + * dd-droppable.ts 7.2.3 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-element.ts b/src/dd-element.ts index 4112f4495..249279180 100644 --- a/src/dd-element.ts +++ b/src/dd-element.ts @@ -1,5 +1,5 @@ /** - * dd-elements.ts 7.2.2-dev + * dd-elements.ts 7.2.3 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-gridstack.ts b/src/dd-gridstack.ts index 88af0c77c..b87883f9d 100644 --- a/src/dd-gridstack.ts +++ b/src/dd-gridstack.ts @@ -1,5 +1,5 @@ /** - * dd-gridstack.ts 7.2.2-dev + * dd-gridstack.ts 7.2.3 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-manager.ts b/src/dd-manager.ts index 89e320e41..8841ae0c6 100644 --- a/src/dd-manager.ts +++ b/src/dd-manager.ts @@ -1,5 +1,5 @@ /** - * dd-manager.ts 7.2.2-dev + * dd-manager.ts 7.2.3 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-resizable-handle.ts b/src/dd-resizable-handle.ts index c56a56e1f..16fc76cd8 100644 --- a/src/dd-resizable-handle.ts +++ b/src/dd-resizable-handle.ts @@ -1,5 +1,5 @@ /** - * dd-resizable-handle.ts 7.2.2-dev + * dd-resizable-handle.ts 7.2.3 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-resizable.ts b/src/dd-resizable.ts index 4a335f0bf..872a270a3 100644 --- a/src/dd-resizable.ts +++ b/src/dd-resizable.ts @@ -1,5 +1,5 @@ /** - * dd-resizable.ts 7.2.2-dev + * dd-resizable.ts 7.2.3 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-touch.ts b/src/dd-touch.ts index ad6ef8ff0..d7fcb950c 100644 --- a/src/dd-touch.ts +++ b/src/dd-touch.ts @@ -1,5 +1,5 @@ /** - * touch.ts 7.2.2-dev + * touch.ts 7.2.3 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack-engine.ts b/src/gridstack-engine.ts index 6accd93fe..eaf8a0796 100644 --- a/src/gridstack-engine.ts +++ b/src/gridstack-engine.ts @@ -1,5 +1,5 @@ /** - * gridstack-engine.ts 7.2.2-dev + * gridstack-engine.ts 7.2.3 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack-poly.js b/src/gridstack-poly.js index 157131ca4..9059797b6 100644 --- a/src/gridstack-poly.js +++ b/src/gridstack-poly.js @@ -1,5 +1,5 @@ /** - * gridstack-poly.ts 7.2.2-dev used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4) + * gridstack-poly.ts 7.2.3 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4) * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack.scss b/src/gridstack.scss index df992da29..08da47859 100644 --- a/src/gridstack.scss +++ b/src/gridstack.scss @@ -1,5 +1,5 @@ /** - * gridstack SASS styles 7.2.2-dev + * gridstack SASS styles 7.2.3 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack.ts b/src/gridstack.ts index 653b36c41..b3ec474eb 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -1,5 +1,5 @@ /*! - * GridStack 7.2.2-dev + * GridStack 7.2.3 * https://gridstackjs.com/ * * Copyright (c) 2021-2022 Alain Dumesny @@ -1623,7 +1623,7 @@ export class GridStack { return this; } - static GDRev = '7.2.2-dev'; + static GDRev = '7.2.3'; /* =========================================================================================== * drag&drop methods that used to be stubbed out and implemented in dd-gridstack.ts @@ -2181,7 +2181,7 @@ export class GridStack { if (node._temporaryRemoved) return; // handled by dropover let distance = ui.position.top - node._prevYPix; node._prevYPix = ui.position.top; - if (this.opts.draggable.scroll) { + if (this.opts.draggable.scroll !== false) { Utils.updateScrollPosition(el, ui.position, distance); } diff --git a/src/types.ts b/src/types.ts index 7d3a0913e..ab226b152 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,5 +1,5 @@ /** - * types.ts 7.2.2-dev + * types.ts 7.2.3 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/utils.ts b/src/utils.ts index b4b9e830e..dfef15838 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,5 +1,5 @@ /** - * utils.ts 7.2.2-dev + * utils.ts 7.2.3 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */