@thi.ng/layout 3.0.44 → 3.0.46
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 +1 -1
- package/README.md +5 -3
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 198 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -82,6 +82,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.19 KB
|
|
|
82
82
|
- [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/develop/packages/arrays)
|
|
83
83
|
- [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/develop/packages/checks)
|
|
84
84
|
|
|
85
|
+
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
86
|
+
|
|
85
87
|
## Usage examples
|
|
86
88
|
|
|
87
89
|
Four projects in this repo's
|
|
@@ -112,7 +114,7 @@ The code producing this layout (incl. the visualization itself):
|
|
|
112
114
|
```ts tangle:export/readme-grid.ts
|
|
113
115
|
import * as g from "@thi.ng/geom";
|
|
114
116
|
import { gridLayout, type LayoutBox } from "@thi.ng/layout";
|
|
115
|
-
import { writeFileSync }
|
|
117
|
+
import { writeFileSync } "node:fs";
|
|
116
118
|
|
|
117
119
|
// collection of generated layout cells
|
|
118
120
|
const cells: g.Group[] = [];
|
|
@@ -208,7 +210,7 @@ The code producing this layout (incl. the visualization itself):
|
|
|
208
210
|
```ts tangle:export/readme-stacked.ts
|
|
209
211
|
import * as g from "@thi.ng/geom";
|
|
210
212
|
import { stackedLayout, type LayoutBox } from "@thi.ng/layout";
|
|
211
|
-
import { writeFileSync }
|
|
213
|
+
import { writeFileSync } "node:fs";
|
|
212
214
|
|
|
213
215
|
// collection of generated layout cells
|
|
214
216
|
const cells: g.Group[] = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/layout",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.46",
|
|
4
4
|
"description": "Configurable nested 2D grid layout generators",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.11.
|
|
40
|
-
"@thi.ng/arrays": "^2.9.
|
|
41
|
-
"@thi.ng/checks": "^3.6.
|
|
39
|
+
"@thi.ng/api": "^8.11.7",
|
|
40
|
+
"@thi.ng/arrays": "^2.9.13",
|
|
41
|
+
"@thi.ng/checks": "^3.6.9"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@microsoft/api-extractor": "^7.47.0",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
],
|
|
96
96
|
"year": 2019
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "bd22b0826134b79064169371665b4d6caa9b6066\n"
|
|
99
99
|
}
|