@thi.ng/layout 4.0.5 → 4.0.10

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.
Files changed (2) hide show
  1. package/package.json +101 -101
  2. package/CHANGELOG.md +0 -67
package/package.json CHANGED
@@ -1,102 +1,102 @@
1
1
  {
2
- "name": "@thi.ng/layout",
3
- "version": "4.0.5",
4
- "description": "Configurable nested 2D grid layout generators",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/layout",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.1",
43
- "@thi.ng/arrays": "^2.13.10",
44
- "@thi.ng/checks": "^3.7.17"
45
- },
46
- "devDependencies": {
47
- "esbuild": "^0.25.8",
48
- "typedoc": "^0.28.9",
49
- "typescript": "^5.9.2"
50
- },
51
- "keywords": [
52
- "2d",
53
- "align",
54
- "datastructure",
55
- "design",
56
- "grid",
57
- "gui",
58
- "layout",
59
- "recursion",
60
- "tree",
61
- "typescript",
62
- "ui"
63
- ],
64
- "publishConfig": {
65
- "access": "public"
66
- },
67
- "engines": {
68
- "node": ">=18"
69
- },
70
- "files": [
71
- "./*.js",
72
- "./*.d.ts"
73
- ],
74
- "exports": {
75
- ".": {
76
- "default": "./index.js"
77
- },
78
- "./api": {
79
- "default": "./api.js"
80
- },
81
- "./box": {
82
- "default": "./box.js"
83
- },
84
- "./checks": {
85
- "default": "./checks.js"
86
- },
87
- "./grid-layout": {
88
- "default": "./grid-layout.js"
89
- },
90
- "./stacked-layout": {
91
- "default": "./stacked-layout.js"
92
- }
93
- },
94
- "thi.ng": {
95
- "alias": "l",
96
- "related": [
97
- "imgui"
98
- ],
99
- "year": 2019
100
- },
101
- "gitHead": "f6ebc1302dc9211d588293aa0897173c6e54f4e5\n"
102
- }
2
+ "name": "@thi.ng/layout",
3
+ "version": "4.0.10",
4
+ "description": "Configurable nested 2D grid layout generators",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/layout",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/arrays": "^2.13.15",
44
+ "@thi.ng/checks": "^3.7.22"
45
+ },
46
+ "devDependencies": {
47
+ "esbuild": "^0.25.11",
48
+ "typedoc": "^0.28.14",
49
+ "typescript": "^5.9.3"
50
+ },
51
+ "keywords": [
52
+ "2d",
53
+ "align",
54
+ "datastructure",
55
+ "design",
56
+ "grid",
57
+ "gui",
58
+ "layout",
59
+ "recursion",
60
+ "tree",
61
+ "typescript",
62
+ "ui"
63
+ ],
64
+ "publishConfig": {
65
+ "access": "public"
66
+ },
67
+ "engines": {
68
+ "node": ">=18"
69
+ },
70
+ "files": [
71
+ "./*.js",
72
+ "./*.d.ts"
73
+ ],
74
+ "exports": {
75
+ ".": {
76
+ "default": "./index.js"
77
+ },
78
+ "./api": {
79
+ "default": "./api.js"
80
+ },
81
+ "./box": {
82
+ "default": "./box.js"
83
+ },
84
+ "./checks": {
85
+ "default": "./checks.js"
86
+ },
87
+ "./grid-layout": {
88
+ "default": "./grid-layout.js"
89
+ },
90
+ "./stacked-layout": {
91
+ "default": "./stacked-layout.js"
92
+ }
93
+ },
94
+ "thi.ng": {
95
+ "alias": "l",
96
+ "related": [
97
+ "imgui"
98
+ ],
99
+ "year": 2019
100
+ },
101
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
102
+ }
package/CHANGELOG.md DELETED
@@ -1,67 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-08-04T09:13:01Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- # [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@4.0.0) (2025-07-26)
15
-
16
- #### 🛑 Breaking changes
17
-
18
- - add support for separate X/Y gaps/gutters ([cdc3385](https://github.com/thi-ng/umbrella/commit/cdc3385))
19
- - BREAKING CHANGE: update `LayoutBox` and `IGridLayout`, split `gap` into `gapX` and `gapY`
20
- - update `LayoutBox`, `IGridLayout`
21
- - update `IGridLayout.nest()` to support differing gaps/gutters
22
- - update `GridLayout` and `StackedLayout` impls
23
- - add/update docs
24
-
25
- ## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@3.2.0) (2025-07-22)
26
-
27
- #### 🚀 Features
28
-
29
- - add `.height` getter ([a0188a6](https://github.com/thi-ng/umbrella/commit/a0188a6))
30
-
31
- ### [3.1.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@3.1.11) (2025-01-14)
32
-
33
- #### ♻️ Refactoring
34
-
35
- - use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
36
-
37
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@3.1.0) (2024-08-13)
38
-
39
- #### 🚀 Features
40
-
41
- - add StackedLayout.isEqualized() ([b93702c](https://github.com/thi-ng/umbrella/commit/b93702c))
42
-
43
- ### [3.0.37](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@3.0.37) (2024-04-20)
44
-
45
- #### ♻️ Refactoring
46
-
47
- - update type usage ([ec30ca2](https://github.com/thi-ng/umbrella/commit/ec30ca2))
48
-
49
- ### [3.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@3.0.2) (2023-11-09)
50
-
51
- #### ♻️ Refactoring
52
-
53
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
54
-
55
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@3.0.0) (2023-10-30)
56
-
57
- #### 🛑 Breaking changes
58
-
59
- - add IGridLayout generics ([52bad17](https://github.com/thi-ng/umbrella/commit/52bad17))
60
- - BREAKING CHANGE: IGridLayout requires a generic type now (for `.nest()`)
61
- - update GridLayout class
62
-
63
- #### 🚀 Features
64
-
65
- - add StackedLayout, update types & GridLayout ([1c1281f](https://github.com/thi-ng/umbrella/commit/1c1281f))
66
- - update StackedLayout.largestSpan() ([9ce54cd](https://github.com/thi-ng/umbrella/commit/9ce54cd))
67
- - add optional max. size constraint arg