Skip to content

Commit dc09cc4

Browse files
authored
Merge pull request #1671 from adumesny/develop
v4.0.1
2 parents b8997a5 + 5bba391 commit dc09cc4

24 files changed

+107
-48
lines changed

doc/CHANGES.md

Lines changed: 2 additions & 2 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-
- [4.0.0-dev](#400-dev)
8+
- [4.0.1 (2021-3-20)](#401-2021-3-20)
99
- [4.0.0 (2021-3-19)](#400-2021-3-19)
1010
- [3.3.0 (2021-2-2)](#330-2021-2-2)
1111
- [3.2.0 (2021-1-25)](#320-2021-1-25)
@@ -49,7 +49,7 @@ Change log
4949
- [v0.1.0 (2014-11-18)](#v010-2014-11-18)
5050

5151
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
52-
## 4.0.0-dev
52+
## 4.0.1 (2021-3-20)
5353

5454
- fix [#1669](https://github.com/gridstack/gridstack.js/issues/1669) JQ resize broken
5555
- fix [#1661](https://github.com/gridstack/gridstack.js/issues/1661) serialization of nested grid

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gridstack",
3-
"version": "4.0.0-dev",
3+
"version": "4.0.1",
44
"description": "TypeScript/JS lib for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)",
55
"main": "./dist/gridstack.js",
66
"types": "./dist/gridstack.d.ts",
@@ -46,7 +46,7 @@
4646
"Dylan Weiss <dylan.weiss@gmail.com> (https://dylandreams.com)",
4747
"Alain Dumesny <alaind831+github@gmail.com> (https://github.com/adumesny)"
4848
],
49-
"license": "MIT",
49+
"license": "see GridStack root license",
5050
"bugs": {
5151
"url": "https://github.com/gridstack/gridstack.js/issues"
5252
},

src/gridstack-dd.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// gridstack-GridStackDD.get().ts 4.0.0-dev
2-
// (c) 2021 Alain Dumesny - see root license
1+
/**
2+
* gridstack-dd.ts 4.0.1
3+
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
4+
*/
5+
36
/* eslint-disable @typescript-eslint/no-unused-vars */
47
import { GridStackDDI } from './gridstack-ddi';
58
import { GridItemHTMLElement, GridStackNode, GridStackElement, DDUIData, DDDragInOpt, GridStackPosition } from './types';

src/gridstack-ddi.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// gridstack-ddi.ts 4.0.0-dev
2-
// (c) 2021 Alain Dumesny - see root license
1+
/**
2+
* gridstack-ddi.ts 4.0.1
3+
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
4+
*/
5+
36
import { GridItemHTMLElement } from './types';
47

58
/**

src/gridstack-engine.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
// gridstack-engine.ts 4.0.0-dev
2-
// (c) 2021 Alain Dumesny - see root license
1+
/**
2+
* gridstack-engine.ts 4.0.1
3+
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
4+
*/
5+
36
import { Utils } from './utils';
47
import { GridStackNode, ColumnOptions, GridStackPosition, GridStackMoveOpts } from './types';
58

69
export type onChangeCB = (nodes: GridStackNode[], removeDOM?: boolean) => void;
7-
810
/** options used for creations - similar to GridStackOptions */
911
export interface GridStackEngineOptions {
1012
column?: number;

src/gridstack-extra.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// (c) 2021 Alain Dumesny - see root license
2-
// default to generate [2-11] columns as 1 (oneColumnMode) and 12 (default) are in the main css
1+
/**
2+
* default to generate [2-11] columns as 1 (oneColumnMode) and 12 (default) are in the main css
3+
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
4+
*/
5+
36
$gridstack-columns-start: 2 !default;
47
$gridstack-columns: 11 !default;
58

src/gridstack-poly.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// gridstack-poly.js 2.0.0
2-
// (c) 2021 Alain Dumesny - see root license
1+
/**
2+
* gridstack-poly.ts 4.0.1 - used for older browser support (not currently supported in v2+)
3+
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
4+
*/
5+
36
/* eslint-disable prefer-rest-params */
47
/* eslint-disable no-var */
58

src/gridstack.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// (c) 2021 Alain Dumesny - see root license
1+
/**
2+
* gridstack SASS styles 4.0.1
3+
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
4+
*/
5+
26
$gridstack-columns: 12 !default;
37
$animation_speed: .3s !default;
48

src/gridstack.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
// gridstack.ts 4.0.0-dev
21
/*!
3-
* (c) 2021 Alain Dumesny - see root license
2+
* GridStack 4.0.1
3+
* https://gridstackjs.com/
4+
*
5+
* Copyright (c) 2021 Alain Dumesny
6+
* see root license https://github.com/gridstack/gridstack.js/blob/develop/LICENSE
47
*/
8+
59
import { GridStackEngine } from './gridstack-engine';
610
import { Utils, HeightData } from './utils';
711
import { ColumnOptions, GridItemHTMLElement, GridStackElement, GridStackEventHandlerCallback,

src/h5/dd-base-impl.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// dd-base-impl.ts 4.0.0-dev
2-
// (c) 2021 Alain Dumesny - see root license
1+
/**
2+
* dd-base-impl.ts 4.0.1
3+
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
4+
*/
5+
36
export type EventCallback = (event: Event) => boolean|void;
47
export abstract class DDBaseImplement {
58
/** returns the enable state, but you have to call enable()/disable() to change (as other things need to happen) */

0 commit comments

Comments
 (0)