@thi.ng/layout 2.0.1 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,46 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.5...@thi.ng/layout@2.0.6) (2021-10-28)
7
+
8
+ **Note:** Version bump only for package @thi.ng/layout
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.4...@thi.ng/layout@2.0.5) (2021-10-28)
15
+
16
+ **Note:** Version bump only for package @thi.ng/layout
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.3...@thi.ng/layout@2.0.4) (2021-10-25)
23
+
24
+ **Note:** Version bump only for package @thi.ng/layout
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.2...@thi.ng/layout@2.0.3) (2021-10-15)
31
+
32
+ **Note:** Version bump only for package @thi.ng/layout
33
+
34
+
35
+
36
+
37
+
38
+ ## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.1...@thi.ng/layout@2.0.2) (2021-10-15)
39
+
40
+ **Note:** Version bump only for package @thi.ng/layout
41
+
42
+
43
+
44
+
45
+
6
46
  ## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.0...@thi.ng/layout@2.0.1) (2021-10-13)
7
47
 
8
48
  **Note:** Version bump only for package @thi.ng/layout
package/README.md CHANGED
@@ -57,7 +57,7 @@ node --experimental-repl-await
57
57
  > const layout = await import("@thi.ng/layout");
58
58
  ```
59
59
 
60
- Package sizes (gzipped, pre-treeshake): ESM: 709 bytes
60
+ Package sizes (gzipped, pre-treeshake): ESM: 677 bytes
61
61
 
62
62
  ## Dependencies
63
63
 
package/grid-layout.js CHANGED
@@ -1,19 +1,6 @@
1
1
  import { isNumber } from "@thi.ng/checks/is-number";
2
2
  const DEFAULT_SPANS = [1, 1];
3
3
  export class GridLayout {
4
- parent;
5
- cols;
6
- width;
7
- x;
8
- y;
9
- cellW;
10
- cellH;
11
- cellWG;
12
- cellHG;
13
- gap;
14
- currCol;
15
- currRow;
16
- rows;
17
4
  constructor(parent, x, y, width, cols, rowH, gap) {
18
5
  this.parent = parent;
19
6
  this.cols = cols;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/layout",
3
- "version": "2.0.1",
3
+ "version": "2.0.6",
4
4
  "description": "Configurable nested 2D grid layout manager",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,10 +34,10 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/checks": "^3.0.1"
37
+ "@thi.ng/checks": "^3.0.6"
38
38
  },
39
39
  "devDependencies": {
40
- "@thi.ng/testament": "^0.1.1"
40
+ "@thi.ng/testament": "^0.1.6"
41
41
  },
42
42
  "keywords": [
43
43
  "2d",
@@ -81,5 +81,5 @@
81
81
  "thi.ng": {
82
82
  "year": 2019
83
83
  },
84
- "gitHead": "2e6b3d7c0f4c5686c1e9bdb4902ed7d3f90bcc19"
84
+ "gitHead": "c17a556ad25f6882dfa8f806a1d9e8ed7ac7cd71"
85
85
  }