@thi.ng/layout 4.1.8 → 4.1.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/README.md +21 -20
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
- <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/layout](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-layout.svg?d285f417)
2
+ <!-- Please see: https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
+ # ![@thi.ng/layout](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/banners/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)
@@ -8,11 +8,12 @@
8
8
 
9
9
  > [!NOTE]
10
10
  > This is one of 214 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
11
+ > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
14
- > 🚀 Please help me to work full-time on these projects by [sponsoring me on
15
- > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring
15
+ > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
16
+ > Thank you! ❤️
16
17
 
17
18
  - [About](#about)
18
19
  - [Status](#status)
@@ -42,11 +43,11 @@ below.
42
43
 
43
44
  **STABLE** - used in production
44
45
 
45
- [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Blayout%5D+in%3Atitle)
46
+ [Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Blayout%5D)
46
47
 
47
48
  ## Related packages
48
49
 
49
- - [@thi.ng/imgui](https://github.com/thi-ng/umbrella/tree/develop/packages/imgui) - Immediate mode GUI with flexible state handling & data only shape output
50
+ - [@thi.ng/imgui](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/imgui) - Immediate mode GUI with flexible state handling & data only shape output
50
51
 
51
52
  ## Installation
52
53
 
@@ -78,25 +79,25 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.24 KB
78
79
 
79
80
  ## Dependencies
80
81
 
81
- - [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
82
- - [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/develop/packages/arrays)
83
- - [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/develop/packages/checks)
82
+ - [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
83
+ - [@thi.ng/arrays](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/arrays)
84
+ - [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
84
85
 
85
86
  Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
86
87
 
87
88
  ## Usage examples
88
89
 
89
90
  Five projects in this repo's
90
- [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
91
+ [/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
91
92
  directory are using this package:
92
93
 
93
- | Screenshot | Description | Live demo | Source |
94
- |:--------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------|:--------------------------------------------------------|:-------------------------------------------------------------------------------------|
95
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/calibration-sheet.avif" width="240"/> | Parametrically design calibration sheet for B&W photography | [Demo](https://demo.thi.ng/umbrella/calibration-sheet/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/calibration-sheet) |
96
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/fft-synth.png" width="240"/> | Interactive inverse FFT toy synth | [Demo](https://demo.thi.ng/umbrella/fft-synth/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/fft-synth) |
97
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/imgui/imgui-all.png" width="240"/> | Canvas based Immediate Mode GUI components | [Demo](https://demo.thi.ng/umbrella/imgui/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/imgui) |
98
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/imgui-basics.png" width="240"/> | Minimal IMGUI usage example | [Demo](https://demo.thi.ng/umbrella/imgui-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/imgui-basics) |
99
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/layout-gridgen.png" width="240"/> | Randomized space-filling, nested grid layout generator | [Demo](https://demo.thi.ng/umbrella/layout-gridgen/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/layout-gridgen) |
94
+ | Screenshot | Description | Live demo | Source |
95
+ |:--------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------|:--------------------------------------------------------|:---------------------------------------------------------------------------------------------|
96
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/calibration-sheet.avif" width="240"/> | Parametrically design calibration sheet for B&W photography | [Demo](https://demo.thi.ng/umbrella/calibration-sheet/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/calibration-sheet) |
97
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/fft-synth.png" width="240"/> | Interactive inverse FFT toy synth | [Demo](https://demo.thi.ng/umbrella/fft-synth/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/fft-synth) |
98
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/imgui/imgui-all.png" width="240"/> | Canvas based Immediate Mode GUI components | [Demo](https://demo.thi.ng/umbrella/imgui/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/imgui) |
99
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/imgui-basics.png" width="240"/> | Minimal IMGUI usage example | [Demo](https://demo.thi.ng/umbrella/imgui-basics/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/imgui-basics) |
100
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/layout-gridgen.png" width="240"/> | Randomized space-filling, nested grid layout generator | [Demo](https://demo.thi.ng/umbrella/layout-gridgen/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/layout-gridgen) |
100
101
 
101
102
  ## API
102
103
 
@@ -108,7 +109,7 @@ The `GridLayout` class supports infinite nesting and column/row-based
108
109
  space allocation, based on an initial configuration and supporting
109
110
  multiple column/row spans.
110
111
 
111
- ![screenshot](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/layout/readme-grid.png)
112
+ ![screenshot](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/layout/readme-grid.png)
112
113
 
113
114
  The code producing this layout (incl. the visualization itself):
114
115
 
@@ -205,7 +206,7 @@ IMPORTANT: As with GridLayout, nested layouts **MUST** be completed first before
205
206
  requesting new cells (aka `LayoutBoxes`) from a parent, otherwise unintended
206
207
  overlaps will occur.
207
208
 
208
- ![screenshot](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/layout/readme-stacked.png)
209
+ ![screenshot](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/layout/readme-stacked.png)
209
210
 
210
211
  The code producing this layout (incl. the visualization itself):
211
212
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/layout",
3
- "version": "4.1.8",
3
+ "version": "4.1.10",
4
4
  "description": "Configurable nested 2D grid layout generators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,7 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/thi-ng/umbrella.git",
11
+ "url": "git+https://codeberg.org/thi.ng/umbrella.git",
12
12
  "directory": "packages/layout"
13
13
  },
14
14
  "homepage": "https://thi.ng/layout",
@@ -40,13 +40,13 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.17",
44
- "@thi.ng/arrays": "^2.14.13",
45
- "@thi.ng/checks": "^3.8.7"
43
+ "@thi.ng/api": "^8.12.19",
44
+ "@thi.ng/arrays": "^2.14.15",
45
+ "@thi.ng/checks": "^3.8.9"
46
46
  },
47
47
  "devDependencies": {
48
- "esbuild": "^0.27.2",
49
- "typedoc": "^0.28.16",
48
+ "esbuild": "^0.28.0",
49
+ "typedoc": "^0.28.18",
50
50
  "typescript": "^5.9.3"
51
51
  },
52
52
  "keywords": [
@@ -99,5 +99,5 @@
99
99
  ],
100
100
  "year": 2019
101
101
  },
102
- "gitHead": "1107498d31504dc63d1a457b5def387d7a134f69\n"
102
+ "gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
103
103
  }