diff --git a/demo/angular/src/app/gridstack-item.component.ts b/demo/angular/src/app/gridstack-item.component.ts index acae9c0f8..e748542fa 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.1-dev + * gridstack-item.component.ts 7.2.2 * 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 a1c96c26d..fbc3d8ad7 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.1-dev + * gridstack.component.ts 7.2.2 * Copyright (c) 2022 Alain Dumesny - see GridStack root license */ diff --git a/doc/CHANGES.md b/doc/CHANGES.md index b8435a5c2..9a1230ae0 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.1-dev (TBD)](#721-dev-tbd) +- [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) - [7.1.2 (2022-12-29)](#712-2022-12-29) @@ -80,8 +80,9 @@ Change log -## 7.2.1-dev (TBD) +## 7.2.2 (2023-01-16) * fix [#2171](https://github.com/gridstack/gridstack.js/issues/2171) `save()` nested grid has extra nested children & options +* regression for fix #2110: nested grids lost their styles causing wrong rendering when dragging to create sub nesting ## 7.2.1 (2023-01-14) * fix [#2162](https://github.com/gridstack/gridstack.js/pull/2162) removing item from a grid (into another) will now call `change` if anything was also modified during the remove diff --git a/package.json b/package.json index 5c4328f3d..9010b98cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gridstack", - "version": "7.2.1-dev", + "version": "7.2.2", "description": "TypeScript/JS lib for dashboard layout and creation, responsive, mobile support, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)", "main": "./dist/gridstack.js", "types": "./dist/gridstack.d.ts", diff --git a/src/dd-base-impl.ts b/src/dd-base-impl.ts index 37c5585a8..c8f5a9934 100644 --- a/src/dd-base-impl.ts +++ b/src/dd-base-impl.ts @@ -1,5 +1,5 @@ /** - * dd-base-impl.ts 7.2.1-dev + * dd-base-impl.ts 7.2.2 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-draggable.ts b/src/dd-draggable.ts index 9c42e658b..ea6d6e6e7 100644 --- a/src/dd-draggable.ts +++ b/src/dd-draggable.ts @@ -1,5 +1,5 @@ /** - * dd-draggable.ts 7.2.1-dev + * dd-draggable.ts 7.2.2 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-droppable.ts b/src/dd-droppable.ts index ab073f92e..ef62d62b7 100644 --- a/src/dd-droppable.ts +++ b/src/dd-droppable.ts @@ -1,5 +1,5 @@ /** - * dd-droppable.ts 7.2.1-dev + * dd-droppable.ts 7.2.2 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-element.ts b/src/dd-element.ts index 73367d55e..bab6bcded 100644 --- a/src/dd-element.ts +++ b/src/dd-element.ts @@ -1,5 +1,5 @@ /** - * dd-elements.ts 7.2.1-dev + * dd-elements.ts 7.2.2 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-gridstack.ts b/src/dd-gridstack.ts index 09aa84ccc..7c9225def 100644 --- a/src/dd-gridstack.ts +++ b/src/dd-gridstack.ts @@ -1,5 +1,5 @@ /** - * dd-gridstack.ts 7.2.1-dev + * dd-gridstack.ts 7.2.2 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-manager.ts b/src/dd-manager.ts index 74ffc9ffe..38127a79d 100644 --- a/src/dd-manager.ts +++ b/src/dd-manager.ts @@ -1,5 +1,5 @@ /** - * dd-manager.ts 7.2.1-dev + * dd-manager.ts 7.2.2 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-resizable-handle.ts b/src/dd-resizable-handle.ts index 62337dc8e..b640f033f 100644 --- a/src/dd-resizable-handle.ts +++ b/src/dd-resizable-handle.ts @@ -1,5 +1,5 @@ /** - * dd-resizable-handle.ts 7.2.1-dev + * dd-resizable-handle.ts 7.2.2 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-resizable.ts b/src/dd-resizable.ts index 2809b37a3..e09dddc71 100644 --- a/src/dd-resizable.ts +++ b/src/dd-resizable.ts @@ -1,5 +1,5 @@ /** - * dd-resizable.ts 7.2.1-dev + * dd-resizable.ts 7.2.2 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/dd-touch.ts b/src/dd-touch.ts index 1fd4f637a..857a92472 100644 --- a/src/dd-touch.ts +++ b/src/dd-touch.ts @@ -1,5 +1,5 @@ /** - * touch.ts 7.2.1-dev + * touch.ts 7.2.2 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack-engine.ts b/src/gridstack-engine.ts index 29b2dddc1..e3e75dfec 100644 --- a/src/gridstack-engine.ts +++ b/src/gridstack-engine.ts @@ -1,5 +1,5 @@ /** - * gridstack-engine.ts 7.2.1-dev + * gridstack-engine.ts 7.2.2 * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack-poly.js b/src/gridstack-poly.js index 476aedc81..ad903d4b6 100644 --- a/src/gridstack-poly.js +++ b/src/gridstack-poly.js @@ -1,5 +1,5 @@ /** - * gridstack-poly.ts 7.2.1-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.2 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 174c3fb53..802757e82 100644 --- a/src/gridstack.scss +++ b/src/gridstack.scss @@ -1,5 +1,5 @@ /** - * gridstack SASS styles 7.2.1-dev + * gridstack SASS styles 7.2.2 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/gridstack.ts b/src/gridstack.ts index 9bf003b60..5ef5cda64 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -1,5 +1,5 @@ /*! - * GridStack 7.2.1-dev + * GridStack 7.2.2 * https://gridstackjs.com/ * * Copyright (c) 2021-2022 Alain Dumesny @@ -1623,7 +1623,7 @@ export class GridStack { return this; } - static GDRev = '7.2.1-dev'; + static GDRev = '7.2.2'; /* =========================================================================================== * drag&drop methods that used to be stubbed out and implemented in dd-gridstack.ts @@ -1967,7 +1967,6 @@ export class GridStack { Utils.copyPos(node, this._readAttr(this.placeholder)); // placeholder values as moving VERY fast can throw things off #1578 Utils.removePositioningStyles(el);// @ts-ignore this._writeAttr(el, node); - el.className = ''; el.classList.add(gridDefaults.itemClass, this.opts.itemClass); this.el.appendChild(el);// @ts-ignore // TODO: now would be ideal time to _removeHelperStyle() overriding floating styles (native only) if (subGrid) { diff --git a/src/types.ts b/src/types.ts index e8cba66a3..a83124afb 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,5 +1,5 @@ /** - * types.ts 7.2.1-dev + * types.ts 7.2.2 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ diff --git a/src/utils.ts b/src/utils.ts index b1915c826..86aea5d5a 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,5 +1,5 @@ /** - * utils.ts 7.2.1-dev + * utils.ts 7.2.2 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */