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

Skip to content

Commit 251bef1

Browse files
authored
Merge pull request #3019 from adumesny/gh-pages
web v12.0.0
2 parents fe732e9 + fa5e6e9 commit 251bef1

25 files changed

+39
-483
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ node_modules/gridstack/dist/*
1616
!node_modules/gridstack/dist/gridstack-all.js.map
1717
!node_modules/gridstack/dist/gridstack.css
1818
!node_modules/gridstack/dist/gridstack.min.css
19-
!node_modules/gridstack/dist/gridstack-extra.min.css
20-
!node_modules/gridstack/dist/gridstack-extra.css
2119
!node_modules/gridstack/dist/es5/
2220
node_modules/gridstack/dist/es5/*
2321
!node_modules/gridstack/dist/es5/gridstack-poly.js

demo/column.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<title>Column grid demo</title>
88

99
<link rel="stylesheet" href="demo.css"/>
10-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
1110
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
1211
</head>
1312
<body>

demo/mobile.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<title>Simple mobile demo</title>
88

99
<link rel="stylesheet" href="demo.css"/>
10-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
1110
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
1211

1312
</head>

demo/nested.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<title>Nested grids demo</title>
88
<link rel="stylesheet" href="demo.css"/>
9-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
109
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
1110
</head>
1211
<body>

demo/nested_advanced.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<title>Advance Nested grids demo</title>
88
<link rel="stylesheet" href="demo.css"/>
9-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
109
<!-- test using CSS rather than minRow -->
1110
<style type="text/css">
1211
.container-fluid > .grid-stack { min-height: 250px}
@@ -19,7 +18,6 @@ <h1>Advanced Nested grids demo</h1>
1918
<p>Create sub-grids (darker background) on the fly, by dragging items completely over others (nest) vs partially (push) using
2019
the new v7 API <code>GridStackOptions.subGridDynamic=true</code></p>
2120
<p>This will use the new delay drag&drop option <code>DDDragOpt.pause</code> to tell the gesture difference</p>
22-
<p>Note: <code>gridstack-extra.min.css</code> is required for [2-11] column of sub-grids</p>
2321
<a class="btn btn-primary" onClick="addMainWidget()" href="#">Add Widget</a>
2422
<a class="btn btn-primary" onClick="addNewWidget(0)" href="#">Add W Grid0</a>
2523
<a class="btn btn-primary" onClick="addNewWidget(1)" href="#">Add W Grid1</a>
@@ -41,7 +39,7 @@ <h1>Advanced Nested grids demo</h1>
4139
<script type="text/javascript">
4240
let subOptions = {
4341
cellHeight: 50, // should be 50 - top/bottom
44-
column: 'auto', // size to match container. make sure to include gridstack-extra.min.css
42+
column: 'auto', // size to match container
4543
acceptWidgets: true, // will accept .grid-stack-item by default
4644
margin: 5,
4745
subGridDynamic: true, // make it recursive for all future sub-grids

demo/nested_constraint.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<title>Constraint nested grids demo</title>
88
<link rel="stylesheet" href="demo.css"/>
9-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
109
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
1110
<style type="text/css">
1211
.grid-stack-item.sub .grid-stack-item-content {
@@ -41,7 +40,7 @@ <h1>Constraint Nested grids demo</h1>
4140
[...sub1, ...sub2].forEach(d => d.content = String(count++));
4241
let subOptions = {
4342
cellHeight: 50,
44-
column: 'auto', // size to match container. make sure to include gridstack-extra.min.css
43+
column: 'auto', // size to match container
4544
itemClass: 'sub', // style sub items differently and use to prevent dragging in/out
4645
acceptWidgets: '.grid-stack-item.sub', // only pink sub items can be inserted
4746
margin: 2,

demo/old_nested-jq.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<title>Nested JQuery grids demo (old v5.1.1) which never worked fully</title>
88
<link rel="stylesheet" href="demo.css"/>
9-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
109
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gridstack-jq.js"></script>
1110
<style type="text/css">
1211
/* make nested grids have slightly darker bg */
@@ -57,7 +56,7 @@ <h1>Nested JQuery grids demo</h1>
5756
[...sub1, ...sub2].forEach(d => d.content = String(count++));
5857
let subOptions = {
5958
cellHeight: 50, // should be 50 - top/bottom
60-
column: 'auto', // size to match container. make sure to include gridstack-extra.min.css
59+
column: 'auto', // size to match container
6160
acceptWidgets: true, // will accept .grid-stack-item by default
6261
margin: 5,
6362
draggable: {

demo/old_two-jq.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
1010
<link rel="stylesheet" href="demo.css"/>
11-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.css"/>
1211

1312
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gridstack-jq.js"></script>
1413
</head>

demo/react-hooks-controlled-multiple.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Gridstack.js React integration example</title>
88
<link rel="stylesheet" href="demo.css" />
9-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.css"/>
109

1110
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
1211

demo/responsive.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<title>Responsive column</title>
55

66
<link rel="stylesheet" href="demo.css"/>
7-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
87
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
98
</head>
109
<body>

demo/responsive_break.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<title>Responsive breakpoint</title>
55

66
<link rel="stylesheet" href="demo.css"/>
7-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
87
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
98
</head>
109
<body>

demo/responsive_none.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<title>Responsive layout:'none'</title>
88

99
<link rel="stylesheet" href="demo.css"/>
10-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.css"/>
1110
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
1211

1312
</head>

demo/sizeToContent.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<title>sizeToContent demo</title>
88

99
<link rel="stylesheet" href="demo.css"/>
10-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.css"/>
1110
<script src="../node_modules/gridstack/dist/gridstack-all.js"></script>
1211
<style type="text/css">
1312
.grid-stack-item-content {

demo/two.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
1010
<link rel="stylesheet" href="demo.css"/>
11-
<link rel="stylesheet" href="../node_modules/gridstack/dist/gridstack-extra.min.css"/>
1211
<style type="text/css">
1312
.with-lines { border: 1px dotted #777}
1413
</style>

node_modules/gridstack/dist/es5/gridstack-all.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/es5/gridstack-all.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/es5/gridstack-poly.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/gridstack-all.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gridstack/dist/gridstack-all.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)