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

Skip to content

Commit 115b9c4

Browse files
authored
Merge pull request gridstack#1591 from adumesny/develop
rev 3.2.0
2 parents 5a35900 + cacc674 commit 115b9c4

23 files changed

+29
-29
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,23 @@ import 'gridstack/dist/gridstack.min.css';
7575
import GridStack from 'gridstack';
7676
// THEN to get HTML5 drag&drop
7777
import 'gridstack/dist/h5/gridstack-dd-native';
78-
// OR to get legacy jquery-ui drag&drop
78+
// OR to get legacy jquery-ui drag&drop (support Mobile touch devices, h5 does not yet)
7979
import 'gridstack/dist/jq/gridstack-dd-jqueryui';
8080
// OR nothing to get static grids (API driven, no user drag&drop)
8181
```
8282
Alternatively in html
8383

8484
```html
8585
<link href="node_modules/gridstack/dist/gridstack.min.css" rel="stylesheet"/>
86-
<!-- HTML5 drag&drop (63k) -->
86+
<!-- HTML5 drag&drop (64k) -->
8787
<script src="node_modules/gridstack/dist/gridstack-h5.js"></script>
88-
<!-- OR jquery-ui drag&drop (186k) -->
88+
<!-- OR jquery-ui drag&drop (189k) -->
8989
<script src="node_modules/gridstack/dist/gridstack-jq.js"></script>
90-
<!-- OR static grid (34k) -->
90+
<!-- OR static grid (36k) -->
9191
<script src="node_modules/gridstack/dist/gridstack-static.js"></script>
9292
```
9393

94-
Note: the API is the same, regardless of the plugin (or lack thereof) so you can switch at any time. The Jquery version will export $ that it bundles. Read more at [migrating to v3](#migrating-to-v3)
94+
Note: the API is the same, regardless of the plugin (or lack thereof) so you can switch at any time. The Jquery version will export $ that it bundles and currently the only one to support mobile/touch devices through `jquery.ui.touch-punch` (h5 version is planned). Read more at [migrating to v3](#migrating-to-v3)
9595

9696
## Basic usage
9797

doc/CHANGES.md

Lines changed: 3 additions & 3 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-
- [3.1.5-dev](#315-dev)
8+
- [3.2.0 (2021-1-25)](#320-2021-1-25)
99
- [3.1.5 (2021-1-23)](#315-2021-1-23)
1010
- [3.1.4 (2021-1-11)](#314-2021-1-11)
1111
- [3.1.3 (2021-1-2)](#313-2021-1-2)
@@ -46,10 +46,10 @@ Change log
4646
- [v0.1.0 (2014-11-18)](#v010-2014-11-18)
4747

4848
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
49-
## 3.1.5-dev
49+
## 3.2.0 (2021-1-25)
5050

5151
- fix [1413](https://github.com/gridstack/gridstack.js/issues/1413) website & lib works on mobile. We now compile the latest v1.0.8 `jquery.ui.touch-punch`
52-
into the JQ version (only 2k) so mobile devices (android, iphone, ipad, touchpad) are supported out of the box.
52+
into the JQ version (only 2k) so mobile devices (android, iphone, ipad, ms surface, etc...) are supported out of the box.
5353
HTML5 version will require re-write to plain `mousemove` & mobile `touchmove` instead of drag events in a future release.
5454

5555
## 3.1.5 (2021-1-23)

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": "3.1.5-dev",
3+
"version": "3.2.0",
44
"description": "TypeScript/Javascript lib for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, 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,4 +1,4 @@
1-
// gridstack-GridStackDD.get().ts 3.1.5-dev @preserve
1+
// gridstack-GridStackDD.get().ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/gridstack-ddi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// gridstack-ddi.ts 3.1.5-dev @preserve
1+
// gridstack-ddi.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/gridstack-engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// gridstack-engine.ts 3.1.5-dev @preserve
1+
// gridstack-engine.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/gridstack-extra.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* gridstack 3.1.5-dev extra CSS for [2-11] columns (non default)
2+
* gridstack 3.2.0 extra CSS for [2-11] columns (non default)
33
* https://gridstackjs.com/
44
* (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov
55
* gridstack.js may be freely distributed under the MIT license.

src/gridstack.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* gridstack 3.1.5-dev required CSS for default 12 and 1 column Mode size. Use gridstack-extra.css for column [2-11], else see https://github.com/gridstack/gridstack.js#custom-columns-css
2+
* gridstack 3.2.0 required CSS for default 12 and 1 column Mode size. Use gridstack-extra.css for column [2-11], else see https://github.com/gridstack/gridstack.js#custom-columns-css
33
* https://gridstackjs.com/
44
* (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov
55
* gridstack.js may be freely distributed under the MIT license.

src/gridstack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// gridstack.ts 3.1.5-dev @preserve
1+
// gridstack.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/dd-base-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dd-base-impl.ts 3.1.5-dev @preserve
1+
// dd-base-impl.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/dd-draggable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dd-draggable.ts 3.1.5-dev @preserve
1+
// dd-draggable.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/dd-droppable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dd-droppable.ts 3.1.5-dev @preserve
1+
// dd-droppable.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/dd-element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dd-elements.ts 3.1.5-dev @preserve
1+
// dd-elements.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/dd-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dd-manager.ts 3.1.5-dev @preserve
1+
// dd-manager.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/dd-resizable-handle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dd-resizable-handle.ts 3.1.5-dev @preserve
1+
// dd-resizable-handle.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/dd-resizable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dd-resizable.ts 3.1.5-dev @preserve
1+
// dd-resizable.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/dd-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dd-utils.ts 3.1.5-dev @preserve
1+
// dd-utils.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/h5/gridstack-dd-native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// gridstack-dd-native.ts 3.1.5-dev @preserve
1+
// gridstack-dd-native.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/index-h5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// index.html5.ts 3.1.5-dev - everything you need for a Grid that uses HTML5 native drag&drop (work in progress) @preserve
1+
// index.html5.ts 3.2.0 - everything you need for a Grid that uses HTML5 native drag&drop (work in progress) @preserve
22

33
// import './gridstack-poly.js';
44

src/index-jq.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// index.jq.ts 3.1.5-dev - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature) @preserve
1+
// index.jq.ts 3.2.0 - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature) @preserve
22

33
// import './gridstack-poly.js';
44

src/index-static.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// index.static.ts 3.1.5-dev - everything you need for a static Grid (non draggable) @preserve
1+
// index.static.ts 3.2.0 - everything you need for a static Grid (non draggable) @preserve
22

33
// import './gridstack-poly.js';
44

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// types.ts 3.1.5-dev @preserve
1+
// types.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// utils.ts 3.1.5-dev @preserve
1+
// utils.ts 3.2.0 @preserve
22

33
/**
44
* https://gridstackjs.com/

0 commit comments

Comments
 (0)