Skip to content

Commit f110cda

Browse files
committed
7.2.0-dev
1 parent 00f43a3 commit f110cda

21 files changed

+28
-27
lines changed

demo/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@angular/platform-browser": "~12.2.0",
1919
"@angular/platform-browser-dynamic": "~12.2.0",
2020
"@angular/router": "~12.2.0",
21-
"gridstack": "^7.1.2",
21+
"gridstack": "^7.2",
2222
"rxjs": "~6.6.0",
2323
"tslib": "^2.3.0",
2424
"zone.js": "~0.11.4"

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.0
2+
* gridstack-item.component.ts 7.2.0-dev
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.0
2+
* gridstack.component.ts 7.2.0-dev
33
* Copyright (c) 2022 Alain Dumesny - see GridStack root license
44
*/
55

demo/angular/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3724,10 +3724,10 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0,
37243724
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"
37253725
integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
37263726

3727-
gridstack@^7.1.2:
3728-
version "7.1.2"
3729-
resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-7.1.2.tgz#288ccccf786e0440094a48d5f8d654064fb18566"
3730-
integrity sha512-vc0sHheyOCKe2VE9JgNlNjHroaYJAbOsl/R4sF6TY5WqKTa6owJz4pj3D+W3QQZ43zS18yttLw6m+R9UNuoC3A==
3727+
gridstack@^7.2:
3728+
version "7.2.0"
3729+
resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-7.2.0.tgz#d6c0ed0e1e9ad4e13de4a91135bcb1655091cba6"
3730+
integrity sha512-mOsR7SU2fEEK9O1XZwvmDWkd9eZG2GHOjqMDBOfuhr1M4M2IMuBdFBX1l44vTDxtfSypKB83FISJ4tSAXG7FuQ==
37313731

37323732
handle-thing@^2.0.0:
37333733
version "2.0.1"

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.0",
3+
"version": "7.2.0-dev",
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",

spec/gridstack-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,7 @@ describe('gridstack', function() {
17891789
let grid = GridStack.init();
17901790
grid.load([{h:3, id:'gsItem1'}], () => null);
17911791
let layout = grid.save(false);
1792-
expect(layout).toEqual([{x:0, y:0, w:4, h:3, id:'gsItem1'}, {x:4, y:0, w:4, h:4, id:'gsItem2'}]);
1792+
expect(layout).toEqual([{x:0, y:0, w:4, h:3, id:'gsItem1'}]);
17931793
});
17941794
});
17951795

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.0
2+
* dd-base-impl.ts 7.2.0-dev
33
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
44
*/
55

src/dd-draggable.ts

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

@@ -307,8 +307,9 @@ export class DDDraggable extends DDBaseImplement implements HTMLElementExtendOpt
307307
let helper = this.helper;
308308
// don't animate, otherwise we animate offseted when switching back to 'absolute' from 'fixed'.
309309
// TODO: this also removes resizing animation which doesn't have this issue, but others.
310-
// Ideally both would animate ('move' would immediately restore 'absolute' and adjust coordinate to match, then trigger a delay (repaint) to restore to final dest with animate)
311-
// but then we need to make sure 'resizestop' is called AFTER 'transitionend' event is received (see https://github.com/gridstack/gridstack.js/issues/2033)
310+
// Ideally both would animate ('move' would immediately restore 'absolute' and adjust coordinate to match,
311+
// then trigger a delay (repaint) to restore to final dest with animate) but then we need to make sure 'resizestop'
312+
// is called AFTER 'transitionend' event is received (see https://github.com/gridstack/gridstack.js/issues/2033)
312313
let transition = this.dragElementOriginStyle['transition'] || null;
313314
helper.style.transition = this.dragElementOriginStyle['transition'] = 'none'; // can't be NULL #1973
314315
DDDraggable.originStyleProp.forEach(prop => helper.style[prop] = this.dragElementOriginStyle[prop] || null);

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.0
2+
* dd-droppable.ts 7.2.0-dev
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.0
2+
* dd-elements.ts 7.2.0-dev
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

0 commit comments

Comments
 (0)