From cacc674804df540216028ac32f1a5bb739851a23 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Mon, 25 Jan 2021 19:06:19 -0800 Subject: [PATCH] rev 3.2.0 --- README.md | 10 +++++----- doc/CHANGES.md | 6 +++--- package.json | 2 +- src/gridstack-dd.ts | 2 +- src/gridstack-ddi.ts | 2 +- src/gridstack-engine.ts | 2 +- src/gridstack-extra.scss | 2 +- src/gridstack.scss | 2 +- src/gridstack.ts | 2 +- src/h5/dd-base-impl.ts | 2 +- src/h5/dd-draggable.ts | 2 +- src/h5/dd-droppable.ts | 2 +- src/h5/dd-element.ts | 2 +- src/h5/dd-manager.ts | 2 +- src/h5/dd-resizable-handle.ts | 2 +- src/h5/dd-resizable.ts | 2 +- src/h5/dd-utils.ts | 2 +- src/h5/gridstack-dd-native.ts | 2 +- src/index-h5.ts | 2 +- src/index-jq.ts | 2 +- src/index-static.ts | 2 +- src/types.ts | 2 +- src/utils.ts | 2 +- 23 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 779685512..cd72cdd55 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ import 'gridstack/dist/gridstack.min.css'; import GridStack from 'gridstack'; // THEN to get HTML5 drag&drop import 'gridstack/dist/h5/gridstack-dd-native'; -// OR to get legacy jquery-ui drag&drop +// OR to get legacy jquery-ui drag&drop (support Mobile touch devices, h5 does not yet) import 'gridstack/dist/jq/gridstack-dd-jqueryui'; // OR nothing to get static grids (API driven, no user drag&drop) ``` @@ -83,15 +83,15 @@ Alternatively in html ```html - + - + - + ``` -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) +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) ## Basic usage diff --git a/doc/CHANGES.md b/doc/CHANGES.md index ed1c9c8b9..892e70112 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/)* -- [3.1.5-dev](#315-dev) +- [3.2.0 (2021-1-25)](#320-2021-1-25) - [3.1.5 (2021-1-23)](#315-2021-1-23) - [3.1.4 (2021-1-11)](#314-2021-1-11) - [3.1.3 (2021-1-2)](#313-2021-1-2) @@ -46,10 +46,10 @@ Change log - [v0.1.0 (2014-11-18)](#v010-2014-11-18) -## 3.1.5-dev +## 3.2.0 (2021-1-25) - 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` -into the JQ version (only 2k) so mobile devices (android, iphone, ipad, touchpad) are supported out of the box. +into the JQ version (only 2k) so mobile devices (android, iphone, ipad, ms surface, etc...) are supported out of the box. HTML5 version will require re-write to plain `mousemove` & mobile `touchmove` instead of drag events in a future release. ## 3.1.5 (2021-1-23) diff --git a/package.json b/package.json index cded32286..abbdfa70d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gridstack", - "version": "3.1.5-dev", + "version": "3.2.0", "description": "TypeScript/Javascript lib for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, Ember, knockout...)", "main": "./dist/gridstack.js", "types": "./dist/gridstack.d.ts", diff --git a/src/gridstack-dd.ts b/src/gridstack-dd.ts index 8edb468d0..99d95bd3f 100644 --- a/src/gridstack-dd.ts +++ b/src/gridstack-dd.ts @@ -1,4 +1,4 @@ -// gridstack-GridStackDD.get().ts 3.1.5-dev @preserve +// gridstack-GridStackDD.get().ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/gridstack-ddi.ts b/src/gridstack-ddi.ts index 7c15aa278..270060d44 100644 --- a/src/gridstack-ddi.ts +++ b/src/gridstack-ddi.ts @@ -1,4 +1,4 @@ -// gridstack-ddi.ts 3.1.5-dev @preserve +// gridstack-ddi.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/gridstack-engine.ts b/src/gridstack-engine.ts index 7293ef33c..0e9ba4b04 100644 --- a/src/gridstack-engine.ts +++ b/src/gridstack-engine.ts @@ -1,4 +1,4 @@ -// gridstack-engine.ts 3.1.5-dev @preserve +// gridstack-engine.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/gridstack-extra.scss b/src/gridstack-extra.scss index cdf82efd6..0697e455b 100644 --- a/src/gridstack-extra.scss +++ b/src/gridstack-extra.scss @@ -1,5 +1,5 @@ /*! - * gridstack 3.1.5-dev extra CSS for [2-11] columns (non default) + * gridstack 3.2.0 extra CSS for [2-11] columns (non default) * https://gridstackjs.com/ * (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov * gridstack.js may be freely distributed under the MIT license. diff --git a/src/gridstack.scss b/src/gridstack.scss index 8d2382b8e..ce7b6ef95 100644 --- a/src/gridstack.scss +++ b/src/gridstack.scss @@ -1,5 +1,5 @@ /*! - * 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 + * 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 * https://gridstackjs.com/ * (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov * gridstack.js may be freely distributed under the MIT license. diff --git a/src/gridstack.ts b/src/gridstack.ts index c20ce449b..6688f7150 100644 --- a/src/gridstack.ts +++ b/src/gridstack.ts @@ -1,4 +1,4 @@ -// gridstack.ts 3.1.5-dev @preserve +// gridstack.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/dd-base-impl.ts b/src/h5/dd-base-impl.ts index fde15f27f..aa88eb496 100644 --- a/src/h5/dd-base-impl.ts +++ b/src/h5/dd-base-impl.ts @@ -1,4 +1,4 @@ -// dd-base-impl.ts 3.1.5-dev @preserve +// dd-base-impl.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/dd-draggable.ts b/src/h5/dd-draggable.ts index 55d6ea677..0adfef875 100644 --- a/src/h5/dd-draggable.ts +++ b/src/h5/dd-draggable.ts @@ -1,4 +1,4 @@ -// dd-draggable.ts 3.1.5-dev @preserve +// dd-draggable.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/dd-droppable.ts b/src/h5/dd-droppable.ts index b26535ea7..211178329 100644 --- a/src/h5/dd-droppable.ts +++ b/src/h5/dd-droppable.ts @@ -1,4 +1,4 @@ -// dd-droppable.ts 3.1.5-dev @preserve +// dd-droppable.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/dd-element.ts b/src/h5/dd-element.ts index c8adae53a..6bd25b590 100644 --- a/src/h5/dd-element.ts +++ b/src/h5/dd-element.ts @@ -1,4 +1,4 @@ -// dd-elements.ts 3.1.5-dev @preserve +// dd-elements.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/dd-manager.ts b/src/h5/dd-manager.ts index 63d9b6efa..76986461b 100644 --- a/src/h5/dd-manager.ts +++ b/src/h5/dd-manager.ts @@ -1,4 +1,4 @@ -// dd-manager.ts 3.1.5-dev @preserve +// dd-manager.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/dd-resizable-handle.ts b/src/h5/dd-resizable-handle.ts index b25d38a31..c3c85a2d7 100644 --- a/src/h5/dd-resizable-handle.ts +++ b/src/h5/dd-resizable-handle.ts @@ -1,4 +1,4 @@ -// dd-resizable-handle.ts 3.1.5-dev @preserve +// dd-resizable-handle.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/dd-resizable.ts b/src/h5/dd-resizable.ts index 6caa6a728..64a530404 100644 --- a/src/h5/dd-resizable.ts +++ b/src/h5/dd-resizable.ts @@ -1,4 +1,4 @@ -// dd-resizable.ts 3.1.5-dev @preserve +// dd-resizable.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/dd-utils.ts b/src/h5/dd-utils.ts index 2a649eeb0..e5217ef37 100644 --- a/src/h5/dd-utils.ts +++ b/src/h5/dd-utils.ts @@ -1,4 +1,4 @@ -// dd-utils.ts 3.1.5-dev @preserve +// dd-utils.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/h5/gridstack-dd-native.ts b/src/h5/gridstack-dd-native.ts index 64dc925c5..d33e1076f 100644 --- a/src/h5/gridstack-dd-native.ts +++ b/src/h5/gridstack-dd-native.ts @@ -1,4 +1,4 @@ -// gridstack-dd-native.ts 3.1.5-dev @preserve +// gridstack-dd-native.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/index-h5.ts b/src/index-h5.ts index aad09dc67..53cb9c760 100644 --- a/src/index-h5.ts +++ b/src/index-h5.ts @@ -1,4 +1,4 @@ -// index.html5.ts 3.1.5-dev - everything you need for a Grid that uses HTML5 native drag&drop (work in progress) @preserve +// index.html5.ts 3.2.0 - everything you need for a Grid that uses HTML5 native drag&drop (work in progress) @preserve // import './gridstack-poly.js'; diff --git a/src/index-jq.ts b/src/index-jq.ts index 6633eb3cc..06e982177 100644 --- a/src/index-jq.ts +++ b/src/index-jq.ts @@ -1,4 +1,4 @@ -// index.jq.ts 3.1.5-dev - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature) @preserve +// index.jq.ts 3.2.0 - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature) @preserve // import './gridstack-poly.js'; diff --git a/src/index-static.ts b/src/index-static.ts index c18f5417a..3bad892b3 100644 --- a/src/index-static.ts +++ b/src/index-static.ts @@ -1,4 +1,4 @@ -// index.static.ts 3.1.5-dev - everything you need for a static Grid (non draggable) @preserve +// index.static.ts 3.2.0 - everything you need for a static Grid (non draggable) @preserve // import './gridstack-poly.js'; diff --git a/src/types.ts b/src/types.ts index 7eae5abb9..27a135c39 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,4 @@ -// types.ts 3.1.5-dev @preserve +// types.ts 3.2.0 @preserve /** * https://gridstackjs.com/ diff --git a/src/utils.ts b/src/utils.ts index 0a9f6b29c..f5a561ef5 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,4 +1,4 @@ -// utils.ts 3.1.5-dev @preserve +// utils.ts 3.2.0 @preserve /** * https://gridstackjs.com/