From 2e2a317f21c281c405a387e4fc46201741478536 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Wed, 5 Feb 2020 13:05:07 -0800 Subject: [PATCH] rev 0.6.3 --- README.md | 14 +++++++------- bower.json | 2 +- doc/CHANGES.md | 15 ++++++++++----- package.json | 2 +- src/gridstack-extra.scss | 2 +- src/gridstack-poly.js | 2 +- src/gridstack.d.ts | 2 +- src/gridstack.jQueryUI.js | 2 +- src/gridstack.js | 2 +- src/gridstack.scss | 2 +- 10 files changed, 25 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 405666be3..0b0e00f11 100644 --- a/README.md +++ b/README.md @@ -64,19 +64,19 @@ Using gridstack.js with jQuery UI * Using CDN (minimized): ```html - + - + ``` * Using CDN (debug): ```html - + - - - + + + ``` * or local: @@ -196,7 +196,7 @@ $('.grid-stack').gridstack( {column: N} ); 2) include `gridstack-extra.css` if **N < 12** (else custom CSS - see next). Without these, things will not render/work correctly. ```html - +
...
``` diff --git a/bower.json b/bower.json index 054cf7319..9c9884402 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "gridstack", - "version": "0.6.2-dev", + "version": "0.6.3-dev", "homepage": "https://github.com/gridstack/gridstack.js", "authors": [ "Pavel Reznikov ", diff --git a/doc/CHANGES.md b/doc/CHANGES.md index ee6f3805c..c95b0b14c 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -5,7 +5,8 @@ Change log **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* -- [v0.6.2-dev (upcoming changes)](#v062-dev-upcoming-changes) +- [v0.6.3-dev (Upcoming changes)](#v063-dev-upcoming-changes) +- [v0.6.3 (2020-02-05)](#v063-2020-02-05) - [v0.6.2 (2020-02-03)](#v062-2020-02-03) - [v0.6.1 (2020-02-02)](#v061-2020-02-02) - [v0.6.0 (2019-12-24)](#v060-2019-12-24) @@ -28,7 +29,11 @@ Change log -## v0.6.2-dev (upcoming changes) +## v0.6.3-dev (upcoming changes) + +- TBD + +## v0.6.3 (2020-02-05) - fix [#1132](https://github.com/gridstack/gridstack.js/issues/1132) oneColumnMode missing CSS to do layout - del `oneColumnModeClass` / `.grid-stack-one-column-mode` and associated code. If you depended on this, use class `.grid-stack-1` instead since it is 1 column layout anyway [1134](https://github.com/gridstack/gridstack.js/pull/1134) @@ -52,16 +57,16 @@ us full resize/re-order of items capabilities rather than a locked CSS only layo - add `compact()` to reclaim any empty space and relayout grid items [#1101](https://github.com/gridstack/gridstack.js/pull/1101) - add `options.dragOut` to let user drag nested grid items out of a parent or not (default false) and jQuery UI `draggable.containment` can now be specified in options. You can now drag&drop between 2 nested grids [#1105](https://github.com/gridstack/gridstack.js/pull/1105) -- Allow percentage as a valid unit for height [#1093](https://github.com/gridstack/gridstack.js/pull/1093). thank you +- add `%` as a valid unit for height [#1093](https://github.com/gridstack/gridstack.js/pull/1093). thank you [@trevisanweb](https://github.com/trevisanweb) [@aureality](https://github.com/aureality) [@ZoolWay](https://github.com/ZoolWay) -- fixed callbacks to get either `added, removed, change` or combination if adding a node require also to change its (x,y) for example. +- fix callbacks to get either `added, removed, change` or combination if adding a node require also to change its (x,y) for example. Also you can now call `batchUpdate()` before calling a bunch of `addWidget()` and get a single event callback (more efficient). [#1096](https://github.com/gridstack/gridstack.js/pull/1096) - `removeAll()` is now much faster (no relayout) and calls `removed` event just once with a list [#1097](https://github.com/gridstack/gridstack.js/pull/1097) - `setColumn()` complete re-write and is no longer "Experimental". We now do a reasonable job at sizing/position the widgets (especially 1 column) and also now cache each column layout so you can go back to say 12 column and not loose original layout. [#1098](https://github.com/gridstack/gridstack.js/pull/1098) -- fix bug where `addWidget(el)` (no data) would not render item at correct location, and overlap item at (0,0) [#1098](https://github.com/gridstack/gridstack.js/pull/1098) +- fix `addWidget(el)` (no data) would not render item at correct location, and overlap item at (0,0) [#1098](https://github.com/gridstack/gridstack.js/pull/1098) - you can now pre-define size of dragable elements from a sidebar using standard `data-gs-width` and `data-gs-height` - fix [#413](https://github.com/gridstack/gridstack.js/issues/413), [#914](https://github.com/gridstack/gridstack.js/issues/914), [#918](https://github.com/gridstack/gridstack.js/issues/918), [#922](https://github.com/gridstack/gridstack.js/issues/922), [#933](https://github.com/gridstack/gridstack.js/issues/933) diff --git a/package.json b/package.json index f46a200ea..3a2192afb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gridstack", - "version": "0.6.2-dev", + "version": "0.6.3-dev", "description": "gridstack.js is a jQuery plugin for widget layout, with many wrappers (React, @angular, knockout...)", "main": "dist/gridstack.js", "repository": { diff --git a/src/gridstack-extra.scss b/src/gridstack-extra.scss index acf94dd29..239c58cda 100644 --- a/src/gridstack-extra.scss +++ b/src/gridstack-extra.scss @@ -1,5 +1,5 @@ /*! - * gridstack 0.6.2-dev extra CSS for [2-11] columns (non default) + * gridstack 0.6.3-dev 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-poly.js b/src/gridstack-poly.js index 6ed1bc2bf..84ff52cda 100644 --- a/src/gridstack-poly.js +++ b/src/gridstack-poly.js @@ -1,4 +1,4 @@ -/** gridstack.js 0.6.2-dev - IE and older browsers Polyfills for this library @preserve*/ +/** gridstack.js 0.6.3-dev - IE and older browsers Polyfills for this library @preserve*/ /** * https://gridstackjs.com/ * (c) 2019-2020 Alain Dumesny diff --git a/src/gridstack.d.ts b/src/gridstack.d.ts index e1ef62486..ce4a18515 100644 --- a/src/gridstack.d.ts +++ b/src/gridstack.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Gridstack 0.6.2-dev +// Type definitions for Gridstack 0.6.3-dev // Project: https://gridstackjs.com/ // Definitions by: Pascal Senn // Ricky Blankenaufulland diff --git a/src/gridstack.jQueryUI.js b/src/gridstack.jQueryUI.js index 16008daf5..8af747008 100644 --- a/src/gridstack.jQueryUI.js +++ b/src/gridstack.jQueryUI.js @@ -1,4 +1,4 @@ -/** gridstack.js 0.6.2-dev - JQuery UI Drag&Drop plugin @preserve */ +/** gridstack.js 0.6.3-dev - JQuery UI Drag&Drop plugin @preserve */ /** * https://gridstackjs.com/ * (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov diff --git a/src/gridstack.js b/src/gridstack.js index b0fa04622..b56c7be11 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -1,5 +1,5 @@ /** - * gridstack.js 0.6.2-dev + * gridstack.js 0.6.3-dev * 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 f7b37368b..d536c80ad 100644 --- a/src/gridstack.scss +++ b/src/gridstack.scss @@ -1,5 +1,5 @@ /*! - * required gridstack 0.6.2-dev CSS for default 12 and 1 columnMode size. Use gridstack-extra.css for others + * required gridstack 0.6.3-dev CSS for default 12 and 1 columnMode size. Use gridstack-extra.css for others * https://gridstackjs.com/ * (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov * gridstack.js may be freely distributed under the MIT license.