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

Skip to content

Commit bab2a19

Browse files
committed
v2.2.0 release
1 parent b1eb1da commit bab2a19

File tree

9 files changed

+19
-14
lines changed

9 files changed

+19
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ alternatively in html
9696
or using CDN (minimized):
9797

9898
```html
99-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gridstack@2.1.0/dist/gridstack.min.css" />
100-
<script src="https://cdn.jsdelivr.net/npm/gridstack@2.1.0/dist/gridstack.all.js"></script>
99+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gridstack@2.2.0/dist/gridstack.min.css" />
100+
<script src="https://cdn.jsdelivr.net/npm/gridstack@2.2.0/dist/gridstack.all.js"></script>
101101
```
102102

103103
.map files are included for debugging purposes.
@@ -194,7 +194,7 @@ GridStack.init( {column: N} );
194194

195195
2) include `gridstack-extra.css` if **N < 12** (else custom CSS - see next). Without these, things will not render/work correctly.
196196
```html
197-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gridstack@2.1.0/dist/gridstack-extra.css"/>
197+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gridstack@2.2.0/dist/gridstack-extra.css"/>
198198

199199
<div class="grid-stack grid-stack-N">...</div>
200200
```

doc/CHANGES.md

Lines changed: 9 additions & 4 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-
- [2.1.0-dev](#210-dev)
8+
- [2.2.0-dev](#220-dev)
9+
- [2.2.0 (2020-11-7)](#220-2020-11-7)
910
- [2.1.0 (2020-10-28)](#210-2020-10-28)
1011
- [2.0.2 (2020-10-05)](#202-2020-10-05)
1112
- [2.0.1 (2020-09-26)](#201-2020-09-26)
@@ -40,13 +41,17 @@ Change log
4041

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

43-
## 2.1.0-dev
44+
## 2.2.0-dev
4445

45-
- fix `class="ui-draggable-disabled ui-resizable-disabled"` have been added back to static grid items, so existing CSS rule to style continue working [1435](https://github.com/gridstack/gridstack.js/issues/1435)
46+
- TBD
47+
48+
## 2.2.0 (2020-11-7)
49+
50+
- add `margin` option now support multi values CSS format `'5px 10px 0 20px'` or `'5em 10em'`
4651
- add `data-gs-static-grid` attribute
52+
- fix `class="ui-draggable-disabled ui-resizable-disabled"` have been added back to static grid items, so existing CSS rule to style continue working [1435](https://github.com/gridstack/gridstack.js/issues/1435)
4753
- fix getting DOM element by id with number works (api that uses `GridStackElement` handle more string formats)
4854
- fix setting `marginTop` (or any 4 sides) to cause resize to break. Thanks [@deadivan](https://github.com/deadivan) for suggested fix.
49-
- add `margin` support multi CSS format `'5px 10px 0 20px'` or `'5em 10em'`
5055

5156
## 2.1.0 (2020-10-28)
5257

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": "2.1.0-dev",
3+
"version": "2.2.0-dev",
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-dd.ts 2.1.0-dev @preserve
1+
// gridstack-dd.ts 2.2.0-dev @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 2.1.0-dev @preserve
1+
// gridstack-engine.ts 2.2.0-dev @preserve
22

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

src/gridstack.ts

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

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

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 2.1.0-dev @preserve
1+
// gridstack-dd-jqueryui.ts 2.2.0-dev @preserve
22

33
/** JQuery UI Drag&Drop plugin
44
* https://gridstackjs.com/

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// types.ts 2.1.0-dev @preserve
1+
// types.ts 2.2.0-dev @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 2.1.0-dev @preserve
1+
// utils.ts 2.2.0-dev @preserve
22

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

0 commit comments

Comments
 (0)