Skip to content

Commit 49e409e

Browse files
authored
Merge pull request #2174 from adumesny/master
regression fix: nested grids style issue. v7.2.2
2 parents 662d33e + f1a178e commit 49e409e

19 files changed

+22
-22
lines changed

demo/angular/src/app/gridstack-item.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack-item.component.ts 7.2.1-dev
2+
* gridstack-item.component.ts 7.2.2
33
* Copyright (c) 2022 Alain Dumesny - see GridStack root license
44
*/
55

demo/angular/src/app/gridstack.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack.component.ts 7.2.1-dev
2+
* gridstack.component.ts 7.2.2
33
* Copyright (c) 2022 Alain Dumesny - see GridStack root license
44
*/
55

doc/CHANGES.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Change log
55
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
66
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
77

8-
- [7.2.1-dev (TBD)](#721-dev-tbd)
8+
- [7.2.2 (2023-01-16)](#722-2023-01-16)
99
- [7.2.1 (2023-01-14)](#721-2023-01-14)
1010
- [7.2.0 (2023-01-07)](#720-2023-01-07)
1111
- [7.1.2 (2022-12-29)](#712-2022-12-29)
@@ -80,8 +80,9 @@ Change log
8080

8181
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
8282

83-
## 7.2.1-dev (TBD)
83+
## 7.2.2 (2023-01-16)
8484
* fix [#2171](https://github.com/gridstack/gridstack.js/issues/2171) `save()` nested grid has extra nested children & options
85+
* regression for fix #2110: nested grids lost their styles causing wrong rendering when dragging to create sub nesting
8586

8687
## 7.2.1 (2023-01-14)
8788
* 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gridstack",
3-
"version": "7.2.1-dev",
3+
"version": "7.2.2",
44
"description": "TypeScript/JS lib for dashboard layout and creation, responsive, mobile support, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)",
55
"main": "./dist/gridstack.js",
66
"types": "./dist/gridstack.d.ts",

src/dd-base-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* dd-base-impl.ts 7.2.1-dev
2+
* dd-base-impl.ts 7.2.2
33
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-draggable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* dd-draggable.ts 7.2.1-dev
2+
* dd-draggable.ts 7.2.2
33
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-droppable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* dd-droppable.ts 7.2.1-dev
2+
* dd-droppable.ts 7.2.2
33
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* dd-elements.ts 7.2.1-dev
2+
* dd-elements.ts 7.2.2
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-gridstack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* dd-gridstack.ts 7.2.1-dev
2+
* dd-gridstack.ts 7.2.2
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* dd-manager.ts 7.2.1-dev
2+
* dd-manager.ts 7.2.2
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-resizable-handle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* dd-resizable-handle.ts 7.2.1-dev
2+
* dd-resizable-handle.ts 7.2.2
33
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-resizable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* dd-resizable.ts 7.2.1-dev
2+
* dd-resizable.ts 7.2.2
33
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-touch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* touch.ts 7.2.1-dev
2+
* touch.ts 7.2.2
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack-engine.ts 7.2.1-dev
2+
* gridstack-engine.ts 7.2.2
33
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-poly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* 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)
2+
* 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)
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack SASS styles 7.2.1-dev
2+
* gridstack SASS styles 7.2.2
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* GridStack 7.2.1-dev
2+
* GridStack 7.2.2
33
* https://gridstackjs.com/
44
*
55
* Copyright (c) 2021-2022 Alain Dumesny
@@ -1623,7 +1623,7 @@ export class GridStack {
16231623
return this;
16241624
}
16251625

1626-
static GDRev = '7.2.1-dev';
1626+
static GDRev = '7.2.2';
16271627

16281628
/* ===========================================================================================
16291629
* drag&drop methods that used to be stubbed out and implemented in dd-gridstack.ts
@@ -1967,7 +1967,6 @@ export class GridStack {
19671967
Utils.copyPos(node, this._readAttr(this.placeholder)); // placeholder values as moving VERY fast can throw things off #1578
19681968
Utils.removePositioningStyles(el);// @ts-ignore
19691969
this._writeAttr(el, node);
1970-
el.className = '';
19711970
el.classList.add(gridDefaults.itemClass, this.opts.itemClass);
19721971
this.el.appendChild(el);// @ts-ignore // TODO: now would be ideal time to _removeHelperStyle() overriding floating styles (native only)
19731972
if (subGrid) {

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* types.ts 7.2.1-dev
2+
* types.ts 7.2.2
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* utils.ts 7.2.1-dev
2+
* utils.ts 7.2.2
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

0 commit comments

Comments
 (0)