Skip to content

Commit 5da07b5

Browse files
authored
Merge pull request #1179 from adumesny/develop
rev 1.1.0
2 parents f75e9f8 + 6d12c54 commit 5da07b5

File tree

9 files changed

+28
-11
lines changed

9 files changed

+28
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ npm install --save gridstack
7777
* Using CDN (minimized):
7878

7979
```html
80-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gridstack@1.0.0/dist/gridstack.min.css" />
81-
<script src="https://cdn.jsdelivr.net/npm/gridstack@1.0.0/dist/gridstack.all.js"></script>
80+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gridstack@1.1.0/dist/gridstack.min.css" />
81+
<script src="https://cdn.jsdelivr.net/npm/gridstack@1.1.0/dist/gridstack.all.js"></script>
8282
```
8383

8484
if you need to debug, look at the git demo/ examples for non min includes.

doc/CHANGES.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ 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-
- [1.0.0-dev (upcoming)](#100-dev-upcoming)
8+
- [1.1.0-dev (upcoming)](#110-dev-upcoming)
9+
- [1.1.0 (2020-02-29)](#110-2020-02-29)
910
- [v1.0.0 (2020-02-23)](#v100-2020-02-23)
1011
- [v0.6.4 (2020-02-17)](#v064-2020-02-17)
1112
- [v0.6.3 (2020-02-05)](#v063-2020-02-05)
@@ -31,7 +32,11 @@ Change log
3132

3233
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
3334

34-
## 1.0.0-dev (upcoming)
35+
## 1.1.0-dev (upcoming)
36+
37+
- TBD
38+
39+
## 1.1.0 (2020-02-29)
3540

3641
- add `minRow` and `row` grid options (which set minRow=maxRow=N) [1172](https://github.com/gridstack/gridstack.js/issues/1172) - thanks [@RadoiAndrei](https://github.com/RadoiAndrei)
3742
- fix [1166](https://github.com/gridstack/gridstack.js/issues/1166) resize not taking margin height into account - thanks [@awjae](https://github.com/awjae)

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": "1.0.0-dev",
3+
"version": "1.1.0-dev",
44
"description": "JavaScript / TypeScript for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, Ember, knockout...)",
55
"main": "dist/gridstack",
66
"repository": {

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 1.0.0-dev extra CSS for [2-11] columns (non default)
2+
* gridstack 1.1.0-dev 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-poly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** gridstack.js 1.0.0-dev - IE and older browsers Polyfills for this library @preserve*/
1+
/** gridstack.js 1.1.0-dev - IE and older browsers Polyfills for this library @preserve*/
22
/**
33
* https://gridstackjs.com/
44
* (c) 2019-2020 Alain Dumesny

src/gridstack.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Gridstack 1.0.0-dev
1+
// Type definitions for Gridstack 1.1.0-dev
22
// Project: https://gridstackjs.com/
33
// Definitions by: Pascal Senn <https://github.com/PascalSenn>
44
// Ricky Blankenaufulland <https://github.com/ZoolWay>
@@ -569,6 +569,12 @@ interface GridstackOptions {
569569
*/
570570
maxRow ? : number;
571571

572+
/**
573+
* minimum rows amount. Default is `0`. You can also do this with `min-height` CSS attribute
574+
* on the grid div in pixels, which will round to the closest row.
575+
*/
576+
minRow?: number;
577+
572578
/**
573579
* minimal width. If window width is less, grid will be shown in one column mode (default?: 768)
574580
*/
@@ -605,6 +611,12 @@ interface GridstackOptions {
605611
*/
606612
removeTimeout ? : number;
607613

614+
/**
615+
* fix grid number of rows. This is a shortcut of writing `minRow:N, maxRow:N`.
616+
* (default `0` no constrain)
617+
*/
618+
row?: number;
619+
608620
/**
609621
* if true turns grid to RTL. Possible values are true, false, 'auto' (default?: 'auto')
610622
* See [example](http://gridstack.github.io/gridstack.js/demo/rtl.html)

src/gridstack.jQueryUI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** gridstack.js 1.0.0-dev - JQuery UI Drag&Drop plugin @preserve */
1+
/** gridstack.js 1.1.0-dev - JQuery UI Drag&Drop plugin @preserve */
22
/**
33
* https://gridstackjs.com/
44
* (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov

src/gridstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack.js 1.0.0-dev
2+
* gridstack.js 1.1.0-dev
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-
* required gridstack 1.0.0-dev CSS for default 12 and 1 columnMode size. Use gridstack-extra.css for others
2+
* required gridstack 1.1.0-dev CSS for default 12 and 1 columnMode size. Use gridstack-extra.css for others
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.

0 commit comments

Comments
 (0)