@thi.ng/layout 3.0.43 → 3.0.45

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
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-07-06T12:02:18Z
3
+ - **Last updated**: 2024-07-22T13:15:57Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
  <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/layout](https://media.thi.ng/umbrella/banners-20230807/thing-layout.svg?4984f585)
3
+ # ![@thi.ng/layout](https://media.thi.ng/umbrella/banners-20230807/thing-layout.svg?d285f417)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/layout.svg)](https://www.npmjs.com/package/@thi.ng/layout)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/layout.svg)
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 188 standalone projects, maintained as part
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,9 +82,11 @@ 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
- Several projects in this repo's
89
+ Four projects in this repo's
88
90
  [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
89
91
  directory are using this package:
90
92
 
@@ -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 } from "fs";
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 } from "fs";
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.43",
3
+ "version": "3.0.45",
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.5",
40
- "@thi.ng/arrays": "^2.9.10",
41
- "@thi.ng/checks": "^3.6.7"
39
+ "@thi.ng/api": "^8.11.7",
40
+ "@thi.ng/arrays": "^2.9.12",
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": "ba4f2cd15eeb0cae30efe222524da4fed2a57267\n"
98
+ "gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
99
99
  }