Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43fded5

Browse files
authored
Merge pull request gridstack#1715 from adumesny/master
v4.1.0
2 parents a5e277d + 8c40380 commit 43fded5

24 files changed

+26
-26
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,9 @@ v4 is a complete re-write of the collision and drag in/out heuristics to fix som
431431
432432
We now have a native HTML5 drag'n'drop through the plugin system (default), but the jquery-ui version can be used instead. It will bundle `jquery` (3.5.1) + `jquery-ui` (1.12.1 minimal drag|drop|resize) + `jquery-ui-touch-punch` (1.0.8 for mobile support) in `gridstack-jq.js`.
433433
434-
**NOTE: in v1.x** IFF you want to use gridstack-jq instead and your app needs to bring your own JQ version, you should **instead** include `gridstack-poly.min.js` (optional IE support) + `gridstack.min.js` + `gridstack.jQueryUI.min.js` after you import your JQ libs. But note that there are issue with jQuery and ES6 import (see [1306](https://github.com/gridstack/gridstack.js/issues/1306)).
434+
**NOTE: in v4, v3**: we ES6 module import jquery & jquery-ui by name, so you need to specify location of those .js files, which means you might be able to bring your own version as well. See the include instructions.
435435
436-
**NOTE 2: in v4.0.4+**: (not tested in v2.x / v3.x) for [1709](https://github.com/gridstack/gridstack.js/issues/1709) we now import jquery & jquery-ui by name, so ES6 module import need to specify location of those .js files, which means you might be able to bring your own version as well. See the include instructions.
436+
**NOTE: in v1.x** IFF you want to use gridstack-jq instead and your app needs to bring your own JQ version, you should **instead** include `gridstack-poly.min.js` (optional IE support) + `gridstack.min.js` + `gridstack.jQueryUI.min.js` after you import your JQ libs. But note that there are issue with jQuery and ES6 import (see [1306](https://github.com/gridstack/gridstack.js/issues/1306)).
437437
438438
As for events, you can still use `$(".grid-stack").on(...)` for the version that uses jquery-ui for things we don't support.
439439

doc/CHANGES.md

Lines changed: 2 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-
- [4.0.3-dev](#403-dev)
8+
- [4.1.0 (2021-4-7)](#410-2021-4-7)
99
- [4.0.3 (2021-3-28)](#403-2021-3-28)
1010
- [4.0.2 (2021-3-27)](#402-2021-3-27)
1111
- [4.0.1 (2021-3-20)](#401-2021-3-20)
@@ -52,7 +52,7 @@ Change log
5252
- [v0.1.0 (2014-11-18)](#v010-2014-11-18)
5353

5454
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
55-
## 4.0.3-dev
55+
## 4.1.0 (2021-4-7)
5656

5757
- fix [#219](https://github.com/gridstack/gridstack.js/issues/219) **fixing another 6 years old request** we now automatically insert extra rows
5858
when dragging an item at the bottom below others to make it easier to insert below.

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": "4.0.3-dev",
3+
"version": "4.1.0",
44
"description": "TypeScript/JS lib for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)",
55
"main": "./dist/gridstack.js",
66
"types": "./dist/gridstack.d.ts",

src/gridstack-dd.ts

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

src/gridstack-ddi.ts

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

src/gridstack-h5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* index-h5.ts 4.0.3-dev - everything you need for a Grid that uses HTML5 native drag&drop
2+
* index-h5.ts 4.1.0 - everything you need for a Grid that uses HTML5 native drag&drop
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-jq.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* index-jq.ts 4.0.3-dev - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature)
2+
* index-jq.ts 4.1.0 - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature)
33
* Copyright (c) 2021 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 4.0.3-dev - used for older browser support (not currently supported in v2+)
2+
* gridstack-poly.ts 4.1.0 - used for older browser support (not currently supported in v2+)
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-static.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* index-static.ts 4.0.3-dev - much smaller, everything you need for a static Grid (non draggable, API driven)
2+
* index-static.ts 4.1.0 - much smaller, everything you need for a static Grid (non draggable, API driven)
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 4.0.3-dev
2+
* gridstack SASS styles 4.1.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* GridStack 4.0.3-dev
2+
* GridStack 4.1.0
33
* https://gridstackjs.com/
44
*
55
* Copyright (c) 2021 Alain Dumesny

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

src/h5/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 4.0.3-dev
2+
* dd-draggable.ts 4.1.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

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

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

src/h5/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 4.0.3-dev
2+
* dd-manager.ts 4.1.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/h5/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 4.0.3-dev
2+
* dd-resizable-handle.ts 4.1.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/h5/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 4.0.3-dev
2+
* dd-resizable.ts 4.1.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/h5/dd-utils.ts

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

src/h5/gridstack-dd-native.ts

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

src/jq/gridstack-dd-jqueryui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// gridstack-dd-jqueryui.ts 4.0.3-dev
1+
// gridstack-dd-jqueryui.ts 4.1.0
22
// Copyright (c) 2021 Alain Dumesny - see root license
33
import { GridStackElement } from '../gridstack';
44
import { GridStackDD, DDOpts, DDKey, DDDropOpt, DDCallback, DDValue } from '../gridstack-dd';

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 4.0.3-dev
2+
* types.ts 4.1.0
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 4.0.3-dev
2+
* utils.ts 4.1.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

0 commit comments

Comments
 (0)