diff --git a/.all-contributorsrc b/.all-contributorsrc
index b66aa0f055..79df1a226c 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -259,6 +259,24 @@
"bug",
"code"
]
+ },
+ {
+ "login": "chancyk",
+ "name": "Chancy Kennedy",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/1731217?v=4",
+ "profile": "https://github.com/chancyk",
+ "contributions": [
+ "financial"
+ ]
+ },
+ {
+ "login": "Jarred-Sumner",
+ "name": "Jarred Sumner",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/709451?v=4",
+ "profile": "https://jarredsumner.com",
+ "contributions": [
+ "bug"
+ ]
}
],
"contributorsPerLine": 7,
diff --git a/README.md b/README.md
index bb1ef6e5fd..d478edd0a4 100644
--- a/README.md
+++ b/README.md
@@ -423,6 +423,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Pedro Henriques dos Santos Teixeira 💵 |
Jamie Owen 🐛 |
Robert Kesteson 🐛 💻 |
+ Chancy Kennedy 💵 |
+ Jarred Sumner 🐛 |
diff --git a/assets/color/swatches-duo-bright.svg b/assets/color/swatches-duo-bright.svg
new file mode 100644
index 0000000000..95b7941eb6
--- /dev/null
+++ b/assets/color/swatches-duo-bright.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-cool.svg b/assets/color/swatches-duo-cool.svg
new file mode 100644
index 0000000000..6ae5224e1d
--- /dev/null
+++ b/assets/color/swatches-duo-cool.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-dark.svg b/assets/color/swatches-duo-dark.svg
new file mode 100644
index 0000000000..93597469f5
--- /dev/null
+++ b/assets/color/swatches-duo-dark.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-fresh.svg b/assets/color/swatches-duo-fresh.svg
new file mode 100644
index 0000000000..5f4258d571
--- /dev/null
+++ b/assets/color/swatches-duo-fresh.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-hard.svg b/assets/color/swatches-duo-hard.svg
new file mode 100644
index 0000000000..5349176d8b
--- /dev/null
+++ b/assets/color/swatches-duo-hard.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-intense.svg b/assets/color/swatches-duo-intense.svg
new file mode 100644
index 0000000000..bad59f11e4
--- /dev/null
+++ b/assets/color/swatches-duo-intense.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-light.svg b/assets/color/swatches-duo-light.svg
new file mode 100644
index 0000000000..68afcebdc2
--- /dev/null
+++ b/assets/color/swatches-duo-light.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-neutral.svg b/assets/color/swatches-duo-neutral.svg
new file mode 100644
index 0000000000..49823eea30
--- /dev/null
+++ b/assets/color/swatches-duo-neutral.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-soft.svg b/assets/color/swatches-duo-soft.svg
new file mode 100644
index 0000000000..c9af2f227d
--- /dev/null
+++ b/assets/color/swatches-duo-soft.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-warm.svg b/assets/color/swatches-duo-warm.svg
new file mode 100644
index 0000000000..e2c3beadc1
--- /dev/null
+++ b/assets/color/swatches-duo-warm.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-duo-weak.svg b/assets/color/swatches-duo-weak.svg
new file mode 100644
index 0000000000..b362ede965
--- /dev/null
+++ b/assets/color/swatches-duo-weak.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-ex01.svg b/assets/color/swatches-ex01.svg
new file mode 100644
index 0000000000..34806a10d1
--- /dev/null
+++ b/assets/color/swatches-ex01.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-ex02.svg b/assets/color/swatches-ex02.svg
new file mode 100644
index 0000000000..08b60fa026
--- /dev/null
+++ b/assets/color/swatches-ex02.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-bright.svg b/assets/color/swatches-green-bright.svg
new file mode 100644
index 0000000000..51ba0c13fd
--- /dev/null
+++ b/assets/color/swatches-green-bright.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-cool.svg b/assets/color/swatches-green-cool.svg
new file mode 100644
index 0000000000..9f9a4d2d47
--- /dev/null
+++ b/assets/color/swatches-green-cool.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-dark.svg b/assets/color/swatches-green-dark.svg
new file mode 100644
index 0000000000..f85860c8c2
--- /dev/null
+++ b/assets/color/swatches-green-dark.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-fresh.svg b/assets/color/swatches-green-fresh.svg
new file mode 100644
index 0000000000..f03297c295
--- /dev/null
+++ b/assets/color/swatches-green-fresh.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-hard.svg b/assets/color/swatches-green-hard.svg
new file mode 100644
index 0000000000..0f4d5c6edc
--- /dev/null
+++ b/assets/color/swatches-green-hard.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-intense.svg b/assets/color/swatches-green-intense.svg
new file mode 100644
index 0000000000..c2245a98b2
--- /dev/null
+++ b/assets/color/swatches-green-intense.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-light.svg b/assets/color/swatches-green-light.svg
new file mode 100644
index 0000000000..16b37436c3
--- /dev/null
+++ b/assets/color/swatches-green-light.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-neutral.svg b/assets/color/swatches-green-neutral.svg
new file mode 100644
index 0000000000..18f1c9d374
--- /dev/null
+++ b/assets/color/swatches-green-neutral.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-soft.svg b/assets/color/swatches-green-soft.svg
new file mode 100644
index 0000000000..a6c63fa449
--- /dev/null
+++ b/assets/color/swatches-green-soft.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-warm.svg b/assets/color/swatches-green-warm.svg
new file mode 100644
index 0000000000..3eed818084
--- /dev/null
+++ b/assets/color/swatches-green-warm.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-green-weak.svg b/assets/color/swatches-green-weak.svg
new file mode 100644
index 0000000000..afdbecf083
--- /dev/null
+++ b/assets/color/swatches-green-weak.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-bright.svg b/assets/color/swatches-range-bright.svg
new file mode 100644
index 0000000000..b9ad885d8b
--- /dev/null
+++ b/assets/color/swatches-range-bright.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-cool.svg b/assets/color/swatches-range-cool.svg
new file mode 100644
index 0000000000..6daa81828a
--- /dev/null
+++ b/assets/color/swatches-range-cool.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-dark.svg b/assets/color/swatches-range-dark.svg
new file mode 100644
index 0000000000..027c891b59
--- /dev/null
+++ b/assets/color/swatches-range-dark.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-fresh.svg b/assets/color/swatches-range-fresh.svg
new file mode 100644
index 0000000000..4953ef9ba5
--- /dev/null
+++ b/assets/color/swatches-range-fresh.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-hard.svg b/assets/color/swatches-range-hard.svg
new file mode 100644
index 0000000000..c620dab789
--- /dev/null
+++ b/assets/color/swatches-range-hard.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-intense.svg b/assets/color/swatches-range-intense.svg
new file mode 100644
index 0000000000..89f3aad1b3
--- /dev/null
+++ b/assets/color/swatches-range-intense.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-light.svg b/assets/color/swatches-range-light.svg
new file mode 100644
index 0000000000..6593ca7542
--- /dev/null
+++ b/assets/color/swatches-range-light.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-neutral.svg b/assets/color/swatches-range-neutral.svg
new file mode 100644
index 0000000000..0bf115f90f
--- /dev/null
+++ b/assets/color/swatches-range-neutral.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-soft.svg b/assets/color/swatches-range-soft.svg
new file mode 100644
index 0000000000..526ad59fce
--- /dev/null
+++ b/assets/color/swatches-range-soft.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-warm.svg b/assets/color/swatches-range-warm.svg
new file mode 100644
index 0000000000..0497aa93cf
--- /dev/null
+++ b/assets/color/swatches-range-warm.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/color/swatches-range-weak.svg b/assets/color/swatches-range-weak.svg
new file mode 100644
index 0000000000..3a24cd3ee0
--- /dev/null
+++ b/assets/color/swatches-range-weak.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/examples/text-canvas-image.png b/assets/examples/text-canvas-image.png
new file mode 100644
index 0000000000..15ea027667
Binary files /dev/null and b/assets/examples/text-canvas-image.png differ
diff --git a/assets/text-canvas/ansi256.png b/assets/text-canvas/ansi256.png
new file mode 100644
index 0000000000..38a3654b18
Binary files /dev/null and b/assets/text-canvas/ansi256.png differ
diff --git a/examples/ellipse-proximity/package.json b/examples/ellipse-proximity/package.json
index 07373607df..6a9a9eb55a 100644
--- a/examples/ellipse-proximity/package.json
+++ b/examples/ellipse-proximity/package.json
@@ -14,6 +14,7 @@
"@thi.ng/geom-closest-point": "latest",
"@thi.ng/rdom": "latest",
"@thi.ng/rdom-canvas": "latest",
+ "@thi.ng/rstream": "latest",
"@thi.ng/rstream-gestures": "latest",
"@thi.ng/transducers": "latest",
"@thi.ng/vectors": "latest"
diff --git a/examples/fft-synth/package.json b/examples/fft-synth/package.json
index 948fb00a6a..7fa047f3ca 100644
--- a/examples/fft-synth/package.json
+++ b/examples/fft-synth/package.json
@@ -11,6 +11,7 @@
"build": "../../node_modules/.bin/snowpack build"
},
"dependencies": {
+ "@thi.ng/api": "latest",
"@thi.ng/atom": "latest",
"@thi.ng/dsp": "latest",
"@thi.ng/hdom-canvas": "latest",
diff --git a/examples/hdom-canvas-shapes/package.json b/examples/hdom-canvas-shapes/package.json
index 577d04c531..77e9f5ce79 100644
--- a/examples/hdom-canvas-shapes/package.json
+++ b/examples/hdom-canvas-shapes/package.json
@@ -14,7 +14,6 @@
"@thi.ng/color": "latest",
"@thi.ng/dl-asset": "latest",
"@thi.ng/geom": "latest",
- "@thi.ng/hdom": "latest",
"@thi.ng/hdom-canvas": "latest",
"@thi.ng/hdom-components": "latest",
"@thi.ng/hiccup": "latest",
diff --git a/examples/hdom-local-render/package.json b/examples/hdom-local-render/package.json
index 0a17c02186..ad7fc2c9b1 100644
--- a/examples/hdom-local-render/package.json
+++ b/examples/hdom-local-render/package.json
@@ -11,8 +11,10 @@
"build": "../../node_modules/.bin/snowpack build"
},
"dependencies": {
- "@thi.ng/api": "latest",
+ "@thi.ng/hdom": "latest",
+ "@thi.ng/memoize": "latest",
"@thi.ng/rstream": "latest",
+ "@thi.ng/transducers": "latest",
"@thi.ng/transducers-hdom": "latest"
},
"browserslist": [
diff --git a/examples/hiccup-canvas-arcs/package.json b/examples/hiccup-canvas-arcs/package.json
index 143f5cae1f..bf08074e5f 100644
--- a/examples/hiccup-canvas-arcs/package.json
+++ b/examples/hiccup-canvas-arcs/package.json
@@ -11,11 +11,14 @@
"build": "../../node_modules/.bin/snowpack build"
},
"dependencies": {
+ "@thi.ng/color": "latest",
"@thi.ng/geom": "latest",
"@thi.ng/hiccup-canvas": "latest",
"@thi.ng/math": "latest",
+ "@thi.ng/random": "latest",
"@thi.ng/rstream": "latest",
- "@thi.ng/transducers": "latest"
+ "@thi.ng/transducers": "latest",
+ "@thi.ng/vectors": "latest"
},
"browserslist": [
"last 3 Chrome versions"
diff --git a/examples/interceptor-basics2/package.json b/examples/interceptor-basics2/package.json
index 43bfa63cbd..76e2ca3f7b 100644
--- a/examples/interceptor-basics2/package.json
+++ b/examples/interceptor-basics2/package.json
@@ -12,9 +12,9 @@
},
"dependencies": {
"@thi.ng/api": "latest",
+ "@thi.ng/atom": "latest",
"@thi.ng/hdom": "latest",
- "@thi.ng/interceptors": "latest",
- "@thi.ng/paths": "latest"
+ "@thi.ng/interceptors": "latest"
},
"browserslist": [
"last 3 Chrome versions"
diff --git a/examples/login-form/package.json b/examples/login-form/package.json
index 6570057ebe..5d0ae87e4c 100644
--- a/examples/login-form/package.json
+++ b/examples/login-form/package.json
@@ -11,9 +11,9 @@
"build": "../../node_modules/.bin/snowpack build"
},
"dependencies": {
+ "@thi.ng/api": "latest",
"@thi.ng/atom": "latest",
"@thi.ng/hdom": "latest",
- "@thi.ng/paths": "latest",
"@thi.ng/strings": "latest"
},
"browserslist": [
@@ -23,7 +23,11 @@
"process": false
},
"thi.ng": {
- "readme": true
+ "readme": [
+ "atom",
+ "hdom",
+ "strings"
+ ]
},
"devDependencies": {
"@types/snowpack-env": "^2.3.3"
diff --git a/examples/mandelbrot/package.json b/examples/mandelbrot/package.json
index ad5c04d1b2..31b67323e5 100644
--- a/examples/mandelbrot/package.json
+++ b/examples/mandelbrot/package.json
@@ -15,7 +15,6 @@
"@thi.ng/compose": "latest",
"@thi.ng/dl-asset": "latest",
"@thi.ng/equiv": "latest",
- "@thi.ng/hdom": "latest",
"@thi.ng/hdom-components": "latest",
"@thi.ng/math": "latest",
"@thi.ng/rstream": "latest",
diff --git a/examples/package-stats/package.json b/examples/package-stats/package.json
index 6b03edc49a..3fdc45f71f 100644
--- a/examples/package-stats/package.json
+++ b/examples/package-stats/package.json
@@ -21,8 +21,7 @@
"@thi.ng/math": "latest",
"@thi.ng/paths": "latest",
"@thi.ng/strings": "latest",
- "@thi.ng/transducers": "latest",
- "@thi.ng/vectors": "latest"
+ "@thi.ng/transducers": "latest"
},
"browserslist": [
"last 3 Chrome versions"
diff --git a/examples/rdom-basics/package.json b/examples/rdom-basics/package.json
index 8f56b9a059..529d68106b 100644
--- a/examples/rdom-basics/package.json
+++ b/examples/rdom-basics/package.json
@@ -11,7 +11,6 @@
"build": "../../node_modules/.bin/snowpack build"
},
"dependencies": {
- "@thi.ng/api": "latest",
"@thi.ng/checks": "latest",
"@thi.ng/compose": "latest",
"@thi.ng/rdom": "latest",
diff --git a/examples/rotating-voronoi/package.json b/examples/rotating-voronoi/package.json
index 1df325edbe..c6d2be81e8 100644
--- a/examples/rotating-voronoi/package.json
+++ b/examples/rotating-voronoi/package.json
@@ -23,7 +23,6 @@
"@thi.ng/geom": "latest",
"@thi.ng/geom-resample": "latest",
"@thi.ng/geom-voronoi": "latest",
- "@thi.ng/hdom": "latest",
"@thi.ng/hdom-canvas": "latest",
"@thi.ng/math": "latest",
"@thi.ng/random": "latest",
diff --git a/examples/shader-ast-workers/package.json b/examples/shader-ast-workers/package.json
index 4e118235fb..cd8209bade 100644
--- a/examples/shader-ast-workers/package.json
+++ b/examples/shader-ast-workers/package.json
@@ -12,10 +12,9 @@
"build:worker": "../../node_modules/.bin/webpack --config webpack.worker.js --mode production"
},
"dependencies": {
- "@thi.ng/api": "latest",
"@thi.ng/bench": "latest",
"@thi.ng/color": "latest",
- "@thi.ng/hdom-canvas": "latest",
+ "@thi.ng/hiccup-canvas": "latest",
"@thi.ng/math": "latest",
"@thi.ng/pixel": "latest",
"@thi.ng/rstream": "latest",
diff --git a/examples/text-canvas-image/.gitignore b/examples/text-canvas-image/.gitignore
new file mode 100644
index 0000000000..211b157174
--- /dev/null
+++ b/examples/text-canvas-image/.gitignore
@@ -0,0 +1,6 @@
+build
+dev
+node_modules
+yarn.lock
+!snowpack.config.js
+!*.d.ts
diff --git a/examples/text-canvas-image/README.md b/examples/text-canvas-image/README.md
new file mode 100644
index 0000000000..f65afd4f91
--- /dev/null
+++ b/examples/text-canvas-image/README.md
@@ -0,0 +1,13 @@
+# text-canvas-image
+
+[Live demo](http://demo.thi.ng/umbrella/text-canvas-image/)
+
+Please refer to the [example build instructions](https://github.com/thi-ng/umbrella/wiki/Example-build-instructions) on the wiki.
+
+## Authors
+
+- Karsten Schmidt
+
+## License
+
+© 2020 Karsten Schmidt // Apache Software License 2.0
diff --git a/examples/text-canvas-image/package.json b/examples/text-canvas-image/package.json
new file mode 100644
index 0000000000..d42ffb9319
--- /dev/null
+++ b/examples/text-canvas-image/package.json
@@ -0,0 +1,30 @@
+{
+ "name": "text-canvas-image",
+ "version": "0.0.1",
+ "description": "Textmode image warping w/ 16bit color output",
+ "repository": "https://github.com/thi-ng/umbrella",
+ "author": "Karsten Schmidt ",
+ "license": "Apache-2.0",
+ "scripts": {
+ "clean": "../../node_modules/.bin/rimraf build node_modules/.cache",
+ "start": "../../node_modules/.bin/snowpack dev",
+ "build": "../../node_modules/.bin/snowpack build"
+ },
+ "devDependencies": {
+ "@thi.ng/snowpack-env": "^2.3.3"
+ },
+ "dependencies": {
+ "@thi.ng/pixel": "latest",
+ "@thi.ng/text-canvas": "latest"
+ },
+ "browserslist": [
+ "last 3 Chrome versions"
+ ],
+ "browser": {
+ "process": false
+ },
+ "thi.ng": {
+ "readme": true,
+ "screenshot": "examples/text-canvas-image.png"
+ }
+}
diff --git a/examples/text-canvas-image/public/index.html b/examples/text-canvas-image/public/index.html
new file mode 100644
index 0000000000..c3e990ab86
--- /dev/null
+++ b/examples/text-canvas-image/public/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+ text-canvas-image
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/text-canvas-image/snowpack.config.js b/examples/text-canvas-image/snowpack.config.js
new file mode 100644
index 0000000000..194cfe1778
--- /dev/null
+++ b/examples/text-canvas-image/snowpack.config.js
@@ -0,0 +1,29 @@
+/** @type {import("snowpack").SnowpackUserConfig } */
+module.exports = {
+ mount: {
+ public: "/",
+ src: "/_dist_",
+ },
+ plugins: [
+ "@snowpack/plugin-typescript",
+ [
+ "@snowpack/plugin-webpack",
+ {
+ extendConfig: (config) => {
+ config.node = {
+ process: false,
+ setImmediate: false,
+ util: "empty",
+ };
+ return config;
+ },
+ },
+ ],
+ ],
+ installOptions: {
+ installTypes: true,
+ },
+ buildOptions: {
+ baseUrl: "/umbrella/text-canvas-image",
+ },
+};
diff --git a/examples/text-canvas-image/src/index.ts b/examples/text-canvas-image/src/index.ts
new file mode 100644
index 0000000000..59e25f12cc
--- /dev/null
+++ b/examples/text-canvas-image/src/index.ts
@@ -0,0 +1,45 @@
+import { imagePromise, PackedBuffer, RGB565 } from "@thi.ng/pixel";
+import { canvas, FMT_HTML_565, setAt, toString } from "@thi.ng/text-canvas";
+import IMG from "./test.png";
+
+// text canvas size
+const W = 64;
+const H = 48;
+
+(async () => {
+ const el = document.getElementById("app")!;
+ const img = await imagePromise(IMG);
+ const iw = img.width;
+ const ih = img.height;
+ // create 16bit color buffer from image
+ const buf = PackedBuffer.fromImage(img, RGB565);
+ // create text canvas
+ const c = canvas(W, H, 0xffff);
+ // define 16bit formatter
+ const fmt = FMT_HTML_565();
+ // precalc charcode for each pixel
+ const char = "▓".charCodeAt(0);
+
+ let start = 0;
+
+ const update = (time: number) => {
+ if (!start) start = time;
+ const t = (time - start) * 0.001;
+ for (let y = 0; y < H; y++) {
+ const v = y / H;
+ for (let x = 0; x < W; x++) {
+ // compute texture coordinates
+ const u = x / W;
+ const uu = (u + 0.1 * Math.cos(u + 20 * v - 8 * t)) * iw;
+ const vv = (v + 0.1 * Math.sin(v + 20 * u + 8 * t)) * ih;
+ // set pixel w/ color from image
+ setAt(c, x, y, char, buf.getAt(uu, vv) || 0xffff);
+ }
+ }
+ // format text canvas as HTML spans
+ el.innerHTML = toString(c, fmt);
+ requestAnimationFrame(update);
+ };
+
+ requestAnimationFrame(update);
+})();
diff --git a/examples/text-canvas-image/src/static.d.ts b/examples/text-canvas-image/src/static.d.ts
new file mode 100644
index 0000000000..67d9623753
--- /dev/null
+++ b/examples/text-canvas-image/src/static.d.ts
@@ -0,0 +1,51 @@
+/* Use this file to declare any custom file extensions for importing */
+/* Use this folder to also add/extend a package d.ts file, if needed. */
+
+/* CSS MODULES */
+declare module "*.module.css" {
+ const classes: { [key: string]: string };
+ export default classes;
+}
+declare module "*.module.scss" {
+ const classes: { [key: string]: string };
+ export default classes;
+}
+declare module "*.module.sass" {
+ const classes: { [key: string]: string };
+ export default classes;
+}
+declare module "*.module.less" {
+ const classes: { [key: string]: string };
+ export default classes;
+}
+declare module "*.module.styl" {
+ const classes: { [key: string]: string };
+ export default classes;
+}
+
+/* CSS */
+declare module "*.css";
+declare module "*.scss";
+declare module "*.sass";
+declare module "*.less";
+declare module "*.styl";
+
+/* IMAGES */
+declare module "*.svg" {
+ const ref: string;
+ export default ref;
+}
+declare module "*.gif" {
+ const ref: string;
+ export default ref;
+}
+declare module "*.jpg" {
+ const ref: string;
+ export default ref;
+}
+declare module "*.png" {
+ const ref: string;
+ export default ref;
+}
+
+/* CUSTOM: ADD YOUR OWN HERE */
diff --git a/examples/text-canvas-image/src/test.png b/examples/text-canvas-image/src/test.png
new file mode 100644
index 0000000000..06c075bef3
Binary files /dev/null and b/examples/text-canvas-image/src/test.png differ
diff --git a/examples/text-canvas-image/tsconfig.json b/examples/text-canvas-image/tsconfig.json
new file mode 100644
index 0000000000..48d558b4f8
--- /dev/null
+++ b/examples/text-canvas-image/tsconfig.json
@@ -0,0 +1,8 @@
+{
+ "extends": "../tsconfig.json",
+ "include": ["src"],
+ "compilerOptions": {
+ "baseUrl": "./",
+ "paths": { "*": ["web_modules/.types/*"] }
+ }
+}
diff --git a/examples/todo-list/package.json b/examples/todo-list/package.json
index 578d230264..e94405fc58 100644
--- a/examples/todo-list/package.json
+++ b/examples/todo-list/package.json
@@ -14,7 +14,6 @@
"@thi.ng/api": "latest",
"@thi.ng/atom": "latest",
"@thi.ng/hdom": "latest",
- "@thi.ng/paths": "latest",
"@thi.ng/transducers": "latest"
},
"browserslist": [
diff --git a/examples/wolfram/package.json b/examples/wolfram/package.json
index 19609effea..e8e0296ab2 100644
--- a/examples/wolfram/package.json
+++ b/examples/wolfram/package.json
@@ -12,7 +12,6 @@
},
"dependencies": {
"@thi.ng/dl-asset": "latest",
- "@thi.ng/hdom": "latest",
"@thi.ng/hdom-components": "latest",
"@thi.ng/rstream": "latest",
"@thi.ng/transducers": "latest",
diff --git a/package.json b/package.json
index f9a4dd155f..6ea840b423 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"doc:ae": "lerna run doc:ae && scripts/collect-apis",
"doc:examples": "ts-node -P tools/tsconfig.json tools/src/readme-examples.ts",
"examples": "scripts/build-examples",
- "pub": "lerna publish --registry https://registry.npmjs.org/ && yarn doc && scripts/upload-docs",
+ "pub": "lerna publish --registry https://registry.npmjs.org/ && yarn doc && scripts/deploy-docs",
"test": "yarn build && yarn test:only",
"test:only": "lerna run test",
"tool:imports": "ts-node -P tools/tsconfig.json tools/src/check-imports.ts",
diff --git a/packages/adapt-dpi/CHANGELOG.md b/packages/adapt-dpi/CHANGELOG.md
index be95a5bb35..c7bd982d0e 100644
--- a/packages/adapt-dpi/CHANGELOG.md
+++ b/packages/adapt-dpi/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@1.0.12...@thi.ng/adapt-dpi@1.0.13) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/adapt-dpi
+
+
+
+
+
## [1.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@1.0.11...@thi.ng/adapt-dpi@1.0.12) (2020-12-22)
**Note:** Version bump only for package @thi.ng/adapt-dpi
diff --git a/packages/adapt-dpi/README.md b/packages/adapt-dpi/README.md
index 68b75c1677..b8f5df586c 100644
--- a/packages/adapt-dpi/README.md
+++ b/packages/adapt-dpi/README.md
@@ -98,4 +98,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2015 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2015 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/adapt-dpi/package.json b/packages/adapt-dpi/package.json
index e108d48cda..7db8a00703 100644
--- a/packages/adapt-dpi/package.json
+++ b/packages/adapt-dpi/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/adapt-dpi",
- "version": "1.0.12",
+ "version": "1.0.13",
"description": "HDPI canvas adapter / styling utility",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -44,7 +44,7 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"files": [
diff --git a/packages/adjacency/CHANGELOG.md b/packages/adjacency/CHANGELOG.md
index b7c2e25397..7466adef36 100644
--- a/packages/adjacency/CHANGELOG.md
+++ b/packages/adjacency/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.2.0...@thi.ng/adjacency@0.2.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/adjacency
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.67...@thi.ng/adjacency@0.2.0) (2020-12-22)
diff --git a/packages/adjacency/README.md b/packages/adjacency/README.md
index 7e0fc91ec6..637c66ca9e 100644
--- a/packages/adjacency/README.md
+++ b/packages/adjacency/README.md
@@ -88,4 +88,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/adjacency/package.json b/packages/adjacency/package.json
index 40ab2dbd25..982e32ac87 100644
--- a/packages/adjacency/package.json
+++ b/packages/adjacency/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/adjacency",
- "version": "0.2.0",
+ "version": "0.2.1",
"description": "Sparse & bitwise adjacency matrices and related functions for directed & undirected graphs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,29 +33,29 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.12.1",
- "@thi.ng/vectors": "^4.8.3",
+ "@thi.ng/vectors": "^4.8.4",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/binary": "^2.0.20",
- "@thi.ng/bitfield": "^0.3.26",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/dcons": "^2.3.4",
- "@thi.ng/sparse": "^0.1.59"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/binary": "^2.0.21",
+ "@thi.ng/bitfield": "^0.3.27",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/dcons": "^2.3.5",
+ "@thi.ng/sparse": "^0.1.60"
},
"files": [
"*.js",
diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md
index 4314914208..f2a09997fd 100644
--- a/packages/api/CHANGELOG.md
+++ b/packages/api/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.13.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@6.13.5...@thi.ng/api@6.13.6) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/api
+
+
+
+
+
## [6.13.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@6.13.4...@thi.ng/api@6.13.5) (2020-12-22)
**Note:** Version bump only for package @thi.ng/api
diff --git a/packages/api/README.md b/packages/api/README.md
index 1ffbc4fda8..ca6d792124 100644
--- a/packages/api/README.md
+++ b/packages/api/README.md
@@ -102,4 +102,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/api/package.json b/packages/api/package.json
index 7aa8221f97..f6d001bae6 100644
--- a/packages/api/package.json
+++ b/packages/api/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/api",
- "version": "6.13.5",
+ "version": "6.13.6",
"description": "Common, generic types, interfaces & mixins",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib api decorators mixins",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,7 +45,7 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"files": [
diff --git a/packages/arrays/CHANGELOG.md b/packages/arrays/CHANGELOG.md
index 0654915056..5e47416c83 100644
--- a/packages/arrays/CHANGELOG.md
+++ b/packages/arrays/CHANGELOG.md
@@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [0.9.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.8.5...@thi.ng/arrays@0.9.0) (2021-01-02)
+
+
+### Features
+
+* **arrays:** add bisect(), bisectWith() ([17d06a4](https://github.com/thi-ng/umbrella/commit/17d06a43e338aca5f2dc61110382363639daecc5))
+* **arrays:** add into(), sortByCachedKey() ([b94f64c](https://github.com/thi-ng/umbrella/commit/b94f64c2c351cfed5ea9ade5e42ad0b7076ef9e9))
+* **arrays:** update sortByCachedKey(), add tests ([64e8f6e](https://github.com/thi-ng/umbrella/commit/64e8f6e4e83c26c73e23a4831483bd328b78bc49))
+
+
+
+
+
## [0.8.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.8.4...@thi.ng/arrays@0.8.5) (2020-12-22)
**Note:** Version bump only for package @thi.ng/arrays
diff --git a/packages/arrays/README.md b/packages/arrays/README.md
index afc5c42f01..e6ecd729ed 100644
--- a/packages/arrays/README.md
+++ b/packages/arrays/README.md
@@ -42,7 +42,7 @@ yarn add @thi.ng/arrays
```
-Package sizes (gzipped, pre-treeshake): ESM: 1.84 KB / CJS: 2.00 KB / UMD: 1.99 KB
+Package sizes (gzipped, pre-treeshake): ESM: 2.00 KB / CJS: 2.18 KB / UMD: 2.15 KB
## Dependencies
@@ -117,4 +117,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/arrays/package.json b/packages/arrays/package.json
index 6adee97f7a..bb0173ad8a 100644
--- a/packages/arrays/package.json
+++ b/packages/arrays/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/arrays",
- "version": "0.8.5",
+ "version": "0.9.0",
"description": "Array / Arraylike utilities",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,16 +45,16 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/compare": "^1.3.21",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/random": "^2.1.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/compare": "^1.3.22",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/random": "^2.1.4"
},
"files": [
"*.js",
diff --git a/packages/arrays/src/bisect.ts b/packages/arrays/src/bisect.ts
new file mode 100644
index 0000000000..4f7861b72f
--- /dev/null
+++ b/packages/arrays/src/bisect.ts
@@ -0,0 +1,26 @@
+import type { Predicate } from "@thi.ng/api";
+
+/**
+ * Splits array at given index (default: floor(src.length/2)) and returns tuple of [lhs, rhs].
+ *
+ * @param src
+ * @param i
+ */
+export const bisect = (src: T[], i = src.length >>> 1) => [
+ src.slice(0, i),
+ src.slice(i),
+];
+
+/**
+ * Similar to {@link bisect}, but first finds split index via provided
+ * predicate. The item for which the predicate first returns a truthy result,
+ * will be the first item in the RHS array. If the predicate never succeeds, the
+ * function returns `[src, []]`, i.e. all items will remain in the LHS.
+ *
+ * @param src
+ * @param pred
+ */
+export const bisectWith = (src: T[], pred: Predicate) => {
+ const i = src.findIndex(pred);
+ return i >= 0 ? bisect(src, i) : [src, []];
+};
diff --git a/packages/arrays/src/index.ts b/packages/arrays/src/index.ts
index 2ea51d2581..ffa20f967b 100644
--- a/packages/arrays/src/index.ts
+++ b/packages/arrays/src/index.ts
@@ -1,5 +1,6 @@
export * from "./api";
export * from "./binary-search";
+export * from "./bisect";
export * from "./ends-with";
export * from "./ensure-array";
export * from "./ensure-iterable";
@@ -7,11 +8,13 @@ export * from "./find";
export * from "./fill-range";
export * from "./fuzzy-match";
export * from "./is-sorted";
+export * from "./into";
export * from "./iterator";
export * from "./levenshtein";
export * from "./peek";
export * from "./quicksort";
export * from "./shuffle";
+export * from "./sort-cached";
export * from "./starts-with";
export * from "./swap";
export * from "./swizzle";
diff --git a/packages/arrays/src/into.ts b/packages/arrays/src/into.ts
new file mode 100644
index 0000000000..78050cc8e2
--- /dev/null
+++ b/packages/arrays/src/into.ts
@@ -0,0 +1,15 @@
+/**
+ * Appends `max` items (default: all) from `src` iterable to `dest` array.
+ * Returns `dest`.
+ *
+ * @param dest
+ * @param src
+ * @param max
+ */
+export const into = (dest: T[], src: Iterable, max = Infinity) => {
+ for (let x of src) {
+ if (--max < 0) break;
+ dest.push(x);
+ }
+ return dest;
+};
diff --git a/packages/arrays/src/sort-cached.ts b/packages/arrays/src/sort-cached.ts
new file mode 100644
index 0000000000..426132113f
--- /dev/null
+++ b/packages/arrays/src/sort-cached.ts
@@ -0,0 +1,43 @@
+import { assert, Comparator, Fn } from "@thi.ng/api";
+import { isFunction } from "@thi.ng/checks";
+import { compare } from "@thi.ng/compare";
+import { quickSort } from "./quicksort";
+import { multiSwap } from "./swap";
+
+/**
+ * Takes a `src` array and `key` array of function to provide the sort key of
+ * each item. If a function, it will be first applied to pre-compute a new array
+ * of all sort keys. Then uses {@link quickSort} to sort `src` array, based on
+ * the ordering of cached keys and the optionally given comparator. Returns
+ * `src`.
+ *
+ * @remarks
+ * This function is primarily intended for use cases where an array needs to be
+ * sorted based on the item order of another array, or where sort keys are
+ * derived from non-trivial computations and need to be cached, rather than be
+ * re-evaluated multiple times from within a comparator.
+ *
+ * @example
+ * ```ts
+ * // sort by length in descending order
+ * sortByCachedKey(["a","bbbb","ccc","dd"], (x) => x.length, (a, b) => b - a);
+ * // [ 'bbbb', 'ccc', 'dd', 'a' ]
+ *
+ * sortByCachedKey(["a", "b", "c", "d"], [3, 2, 1, 0])
+ * // [ 'd', 'c', 'b', 'a' ]
+ * ```
+ *
+ * @param src
+ * @param key
+ * @param cmp
+ */
+export const sortByCachedKey = (
+ src: T[],
+ key: K[] | Fn,
+ cmp: Comparator = compare
+) => {
+ const keys = isFunction(key) ? src.map(key) : key;
+ assert(keys.length === src.length, `keys.length != src.length`);
+ quickSort(keys, cmp, multiSwap(src));
+ return src;
+};
diff --git a/packages/arrays/test/sort-cached.ts b/packages/arrays/test/sort-cached.ts
new file mode 100644
index 0000000000..6417cb0e79
--- /dev/null
+++ b/packages/arrays/test/sort-cached.ts
@@ -0,0 +1,38 @@
+import { compare, reverse } from "@thi.ng/compare";
+import * as assert from "assert";
+import { sortByCachedKey } from "../src";
+
+describe("sortCached", () => {
+ it("key fn", () => {
+ assert.deepStrictEqual(
+ sortByCachedKey(["a", "bbbb", "ccc", "dd"], (x) => x),
+ ["a", "bbbb", "ccc", "dd"]
+ );
+ assert.deepStrictEqual(
+ sortByCachedKey(
+ ["a", "bbbb", "ccc", "dd"],
+ (x) => x,
+ reverse(compare)
+ ),
+ ["dd", "ccc", "bbbb", "a"]
+ );
+ assert.deepStrictEqual(
+ sortByCachedKey(
+ ["a", "bbbb", "ccc", "dd"],
+ (x) => x.length,
+ (a, b) => b - a
+ ),
+ ["bbbb", "ccc", "dd", "a"]
+ );
+ });
+
+ it("key array", () => {
+ assert.deepStrictEqual(
+ sortByCachedKey(["a", "b", "c", "d"], [3, 2, 1, 0]),
+ ["d", "c", "b", "a"]
+ );
+ });
+
+ it("wrong key length", () =>
+ assert.throws(() => sortByCachedKey(["a", "b", "c", "d"], [])));
+});
diff --git a/packages/associative/CHANGELOG.md b/packages/associative/CHANGELOG.md
index 8ce196d0c8..4dcfdded25 100644
--- a/packages/associative/CHANGELOG.md
+++ b/packages/associative/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [5.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@5.0.12...@thi.ng/associative@5.0.13) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/associative
+
+
+
+
+
## [5.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@5.0.11...@thi.ng/associative@5.0.12) (2020-12-22)
**Note:** Version bump only for package @thi.ng/associative
diff --git a/packages/associative/README.md b/packages/associative/README.md
index 40bdea4b0c..a3b8cceaa2 100644
--- a/packages/associative/README.md
+++ b/packages/associative/README.md
@@ -24,7 +24,7 @@ This project is part of the
- [SortedMap](#sortedmap)
- [Ranged queries](#ranged-queries)
- [SortedSet](#sortedset)
- - [SparseSet8/16/32](#sparseset8-16-32)
+ - [SparseSet8/16/32](#sparseset81632)
- [TrieMap](#triemap)
- [MultiTrie](#multitrie)
- [Authors](#authors)
@@ -393,4 +393,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2017 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2017 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/associative/package.json b/packages/associative/package.json
index 5a59fda408..4333821793 100644
--- a/packages/associative/package.json
+++ b/packages/associative/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/associative",
- "version": "5.0.12",
+ "version": "5.0.13",
"description": "Alternative Map and Set implementations with customizable equality semantics & supporting operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib internal",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,18 +45,18 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/binary": "^2.0.20",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/compare": "^1.3.21",
- "@thi.ng/dcons": "^2.3.4",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/transducers": "^7.5.3",
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/binary": "^2.0.21",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/compare": "^1.3.22",
+ "@thi.ng/dcons": "^2.3.5",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/transducers": "^7.5.4",
"tslib": "2.0.1"
},
"files": [
diff --git a/packages/atom/CHANGELOG.md b/packages/atom/CHANGELOG.md
index 657a1a1dd6..5bbb75cfa1 100644
--- a/packages/atom/CHANGELOG.md
+++ b/packages/atom/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [4.1.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@4.1.25...@thi.ng/atom@4.1.26) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/atom
+
+
+
+
+
## [4.1.25](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@4.1.24...@thi.ng/atom@4.1.25) (2020-12-22)
**Note:** Version bump only for package @thi.ng/atom
diff --git a/packages/atom/README.md b/packages/atom/README.md
index 9b7c8abc98..d96e71c2cb 100644
--- a/packages/atom/README.md
+++ b/packages/atom/README.md
@@ -27,7 +27,7 @@ This project is part of the
- [External modifications during active transaction](#external-modifications-during-active-transaction)
- [Cursor](#cursor)
- [Derived views](#derived-views)
- - [Undo / Redo history](#undo---redo-history)
+ - [Undo / Redo history](#undo--redo-history)
- [Authors](#authors)
- [License](#license)
@@ -660,4 +660,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2017 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2017 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/atom/package.json b/packages/atom/package.json
index 1f812f1aa5..5db6cc7ea5 100644
--- a/packages/atom/package.json
+++ b/packages/atom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/atom",
- "version": "4.1.25",
+ "version": "4.1.26",
"description": "Mutable wrappers for nested immutable values with optional undo/redo history and transaction support",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,14 +45,14 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/paths": "^4.1.11",
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/paths": "^4.1.12",
"tslib": "2.0.1"
},
"files": [
diff --git a/packages/bench/CHANGELOG.md b/packages/bench/CHANGELOG.md
index 6b29997c57..5a9ce6bc1b 100644
--- a/packages/bench/CHANGELOG.md
+++ b/packages/bench/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/bench@2.0.25...@thi.ng/bench@2.0.26) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/bench
+
+
+
+
+
## [2.0.25](https://github.com/thi-ng/umbrella/compare/@thi.ng/bench@2.0.24...@thi.ng/bench@2.0.25) (2020-12-22)
**Note:** Version bump only for package @thi.ng/bench
diff --git a/packages/bench/README.md b/packages/bench/README.md
index ef910544b9..80c07b38db 100644
--- a/packages/bench/README.md
+++ b/packages/bench/README.md
@@ -157,4 +157,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/bench/package.json b/packages/bench/package.json
index ff9f85fa82..568652971e 100644
--- a/packages/bench/package.json
+++ b/packages/bench/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bench",
- "version": "2.0.25",
+ "version": "2.0.26",
"description": "Benchmarking utilities w/ optional statistics",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,7 +45,7 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"files": [
diff --git a/packages/bencode/CHANGELOG.md b/packages/bencode/CHANGELOG.md
index cb528fffe6..a053ec4cd7 100644
--- a/packages/bencode/CHANGELOG.md
+++ b/packages/bencode/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.45](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.3.44...@thi.ng/bencode@0.3.45) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/bencode
+
+
+
+
+
## [0.3.44](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.3.43...@thi.ng/bencode@0.3.44) (2020-12-22)
**Note:** Version bump only for package @thi.ng/bencode
diff --git a/packages/bencode/README.md b/packages/bencode/README.md
index c80c43951f..32b84348b4 100644
--- a/packages/bencode/README.md
+++ b/packages/bencode/README.md
@@ -10,7 +10,7 @@ This project is part of the
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
- [About](#about)
- - [Features / behaviors](#features---behaviors)
+ - [Features / behaviors](#features--behaviors)
- [Booleans](#booleans)
- [String handling](#string-handling)
- [Floating point values](#floating-point-values)
@@ -127,4 +127,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/bencode/package.json b/packages/bencode/package.json
index 967d0df374..4064dbb3d6 100644
--- a/packages/bencode/package.json
+++ b/packages/bencode/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bencode",
- "version": "0.3.44",
+ "version": "0.3.45",
"description": "Bencode binary encoder / decoder with optional UTF8 encoding & floating point support",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,17 +45,17 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/arrays": "^0.8.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/defmulti": "^1.3.3",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/transducers-binary": "^0.6.0"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/arrays": "^0.9.0",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/defmulti": "^1.3.4",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/transducers-binary": "^0.6.1"
},
"files": [
"*.js",
diff --git a/packages/binary/CHANGELOG.md b/packages/binary/CHANGELOG.md
index 7f1b7aa559..6c4cf2a425 100644
--- a/packages/binary/CHANGELOG.md
+++ b/packages/binary/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/binary@2.0.20...@thi.ng/binary@2.0.21) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/binary
+
+
+
+
+
## [2.0.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/binary@2.0.19...@thi.ng/binary@2.0.20) (2020-12-22)
**Note:** Version bump only for package @thi.ng/binary
diff --git a/packages/binary/README.md b/packages/binary/README.md
index 59967d31be..6f36dd14bd 100644
--- a/packages/binary/README.md
+++ b/packages/binary/README.md
@@ -83,4 +83,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/binary/package.json b/packages/binary/package.json
index 37ac3d1c0d..2f0ae264e2 100644
--- a/packages/binary/package.json
+++ b/packages/binary/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/binary",
- "version": "2.0.20",
+ "version": "2.0.21",
"description": "95+ assorted binary / bitwise operations, conversions, utilities",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,11 +45,11 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5"
+ "@thi.ng/api": "^6.13.6"
},
"files": [
"*.js",
diff --git a/packages/bitfield/CHANGELOG.md b/packages/bitfield/CHANGELOG.md
index f114c6857f..6ad22afebb 100644
--- a/packages/bitfield/CHANGELOG.md
+++ b/packages/bitfield/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitfield@0.3.26...@thi.ng/bitfield@0.3.27) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/bitfield
+
+
+
+
+
## [0.3.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitfield@0.3.25...@thi.ng/bitfield@0.3.26) (2020-12-22)
**Note:** Version bump only for package @thi.ng/bitfield
diff --git a/packages/bitfield/README.md b/packages/bitfield/README.md
index 55e911037d..a9bbd9553b 100644
--- a/packages/bitfield/README.md
+++ b/packages/bitfield/README.md
@@ -116,4 +116,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/bitfield/package.json b/packages/bitfield/package.json
index 91729f2e02..f49bfede73 100644
--- a/packages/bitfield/package.json
+++ b/packages/bitfield/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bitfield",
- "version": "0.3.26",
+ "version": "0.3.27",
"description": "1D / 2D bit field implementations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/binary": "^2.0.20",
- "@thi.ng/strings": "^1.11.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/binary": "^2.0.21",
+ "@thi.ng/strings": "^1.11.4"
},
"files": [
"*.js",
diff --git a/packages/bitstream/CHANGELOG.md b/packages/bitstream/CHANGELOG.md
index 0e9d154f3a..e811d6051a 100644
--- a/packages/bitstream/CHANGELOG.md
+++ b/packages/bitstream/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.31](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitstream@1.1.30...@thi.ng/bitstream@1.1.31) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/bitstream
+
+
+
+
+
## [1.1.30](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitstream@1.1.29...@thi.ng/bitstream@1.1.30) (2020-12-22)
**Note:** Version bump only for package @thi.ng/bitstream
diff --git a/packages/bitstream/README.md b/packages/bitstream/README.md
index 658b41a816..4f5db95751 100644
--- a/packages/bitstream/README.md
+++ b/packages/bitstream/README.md
@@ -166,4 +166,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/bitstream/package.json b/packages/bitstream/package.json
index d7c15c092a..ec2392fc22 100644
--- a/packages/bitstream/package.json
+++ b/packages/bitstream/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bitstream",
- "version": "1.1.30",
+ "version": "1.1.31",
"description": "ES6 iterator based read/write bit streams with support for variable word widths",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,11 +45,11 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/errors": "^1.2.25"
+ "@thi.ng/errors": "^1.2.26"
},
"files": [
"*.js",
diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md
index 0ec3f151cd..4053f30c70 100644
--- a/packages/cache/CHANGELOG.md
+++ b/packages/cache/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.0.65](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.64...@thi.ng/cache@1.0.65) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/cache
+
+
+
+
+
## [1.0.64](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.63...@thi.ng/cache@1.0.64) (2020-12-22)
**Note:** Version bump only for package @thi.ng/cache
diff --git a/packages/cache/README.md b/packages/cache/README.md
index 310449855b..b2055ba225 100644
--- a/packages/cache/README.md
+++ b/packages/cache/README.md
@@ -235,4 +235,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/cache/package.json b/packages/cache/package.json
index 807e33a8d2..30deaa21db 100644
--- a/packages/cache/package.json
+++ b/packages/cache/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/cache",
- "version": "1.0.64",
+ "version": "1.0.65",
"description": "In-memory cache implementations with ES6 Map-like API and different eviction strategies",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/dcons": "^2.3.4",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/dcons": "^2.3.5",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/checks/CHANGELOG.md b/packages/checks/CHANGELOG.md
index 9c12b2d2a8..558867d0f0 100644
--- a/packages/checks/CHANGELOG.md
+++ b/packages/checks/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.7.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.12...@thi.ng/checks@2.7.13) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/checks
+
+
+
+
+
## [2.7.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.11...@thi.ng/checks@2.7.12) (2020-12-22)
**Note:** Version bump only for package @thi.ng/checks
diff --git a/packages/checks/README.md b/packages/checks/README.md
index 6e1593553b..a4993877c2 100644
--- a/packages/checks/README.md
+++ b/packages/checks/README.md
@@ -79,4 +79,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/checks/package.json b/packages/checks/package.json
index f86c3e27c5..0c63ad0233 100644
--- a/packages/checks/package.json
+++ b/packages/checks/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/checks",
- "version": "2.7.12",
+ "version": "2.7.13",
"description": "Collection of 50+ type, feature & value checks",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,7 +45,7 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
diff --git a/packages/color/CHANGELOG.md b/packages/color/CHANGELOG.md
index a25e5fa81e..8d85d69000 100644
--- a/packages/color/CHANGELOG.md
+++ b/packages/color/CHANGELOG.md
@@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@2.0.0...@thi.ng/color@2.1.0) (2021-01-02)
+
+
+### Bug Fixes
+
+* **color:** fix cosineGradient() return type ([651590c](https://github.com/thi-ng/umbrella/commit/651590c2f3c4365e06f4bab85d2c9f9b99d3c4c1))
+
+
+### Features
+
+* **color:** add color swatch hiccup helpers ([5ecc528](https://github.com/thi-ng/umbrella/commit/5ecc5285fdea2d35535e5469d4d81a2b4d6878e9))
+* **color:** add declarative range/theme iterators ([971d5dc](https://github.com/thi-ng/umbrella/commit/971d5dcbf061b0c4c52ffa1aca24d7150dea81e9))
+* **color:** add HSV/RGB distance fns ([3bd3969](https://github.com/thi-ng/umbrella/commit/3bd396927c3aab7942853ec9b9f6013a1248389c))
+* **color:** add HSV/RGB gray axis checks ([927202b](https://github.com/thi-ng/umbrella/commit/927202b77deaa808b57ee189ff483839975804d0))
+* **color:** add sortColors(), comparators ([6761feb](https://github.com/thi-ng/umbrella/commit/6761feb65e24545290547408b8ba62a3ba4baedc))
+* **color:** update ColorRangeOpts, add docstrings ([350fbe5](https://github.com/thi-ng/umbrella/commit/350fbe568b8abfc968a104cbada5abdeeb2b4107))
+
+
+
+
+
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@1.3.2...@thi.ng/color@2.0.0) (2020-12-22)
diff --git a/packages/color/README.md b/packages/color/README.md
index a8811f80dc..321df95047 100644
--- a/packages/color/README.md
+++ b/packages/color/README.md
@@ -12,8 +12,10 @@ This project is part of the
For the Clojure version, please visit: [thi.ng/color-clj](https://thi.ng/color-clj)
- [About](#about)
- - [Color spaces / modes](#color-spaces---modes)
+ - [Color spaces / modes](#color-spaces--modes)
- [Class wrappers](#class-wrappers)
+ - [Color theme generation](#color-theme-generation)
+ - [Color sorting](#color-sorting)
- [RGBA transformations](#rgba-transformations)
- [RGBA Porter-Duff compositing](#rgba-porter-duff-compositing)
- [Cosine gradients](#cosine-gradients)
@@ -29,7 +31,7 @@ For the Clojure version, please visit: [thi.ng/color-clj](https://thi.ng/color-c
## About
-Array-based color ops, conversions, multi-color gradients, presets.
+Array-based color types, conversions, transformations, declarative theme generation, multi-color gradients, presets.
### Color spaces / modes
@@ -64,6 +66,147 @@ aliases (in addition to array indexing) and are fully compatible with
all functions (and act as syntax sugar for generic conversion
functions). Wrapper factory functions are provided for convenience.
+### Color theme generation
+
+The package provides several methods for procedural & declarative color theme
+generations. The latter relies on the concept of HSV color ranges, which can be
+sampled directly and/or mixed with a base color to produce randomized
+variations. Furthermore, multiple such ranges can be combined into a weighted
+set to define probabilistic color themes.
+
+```ts
+// single random color drawn from the "bright" color range preset
+colorFromRange(RANGES.bright);
+// [ 0.7302125322518669, 0.8519945301256682, 0.8134374983367859, 1 ]
+
+// single random color based on given HSV base color and preset
+colorFromRange(RANGES.warm, [0.33, 1, 1])
+// [ 0.3065587375218628, 0.8651353734302525, 0.748781892650323, 1 ]
+
+// infinite iterator of colors sampled from the preset
+// (see table below)
+const colors = colorsFromRange(RANGES.bright);
+colors.next();
+// {
+// value: [ 0.006959075656347791, 0.8760165887192115, 0.912149937028727, 1 ],
+// done: false
+// }
+
+// 10 cool reds, w/ 10% hue variance
+[...colorsFromRange(RANGES.cool, [0, 0.8, 1], { num: 10, variance: 0.1 })]
+
+// generate colors based on given (weighted) textual description(s)
+// here using named CSS colors, but could also be HSV tuples
+[...colorsFromTheme(
+ [["warm", "goldenrod"], ["cool", "springgreen", 0.1]],
+ { num: 100, variance: 0.05 }
+)]
+
+// theme parts can also be given in the format used internally
+// note: base colors are always in HSV
+// all keys are optional (range, base, weight),
+// but at least `range` or `base` must be given...
+[...colorsFromTheme(
+ [
+ { range: "warm", base: "goldenrod" },
+ { range: RANGES.cool, base: [0, 1, 0.5], weight: 0.1 }
+ ],
+ { num: 100, variance: 0.05 }
+)]
+```
+
+| ID | 100 colors drawn from color range preset only, sorted by hue |
+|-----------|--------------------------------------------------------------------------------------------------------------------|
+| `bright` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-bright.svg) |
+| `cool` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-cool.svg) |
+| `dark` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-dark.svg) |
+| `fresh` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-fresh.svg) |
+| `hard` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-hard.svg) |
+| `intense` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-intense.svg) |
+| `light` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-light.svg) |
+| `neutral` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-neutral.svg) |
+| `soft` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-soft.svg) |
+| `warm` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-warm.svg) |
+| `weak` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-weak.svg) |
+
+| ID | 100 colors, single base color w/ color range preset, sorted by hue |
+|-----------|--------------------------------------------------------------------------------------------------------------------|
+| `bright` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-bright.svg) |
+| `cool` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-cool.svg) |
+| `dark` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-dark.svg) |
+| `fresh` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-fresh.svg) |
+| `hard` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-hard.svg) |
+| `intense` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-intense.svg) |
+| `light` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-light.svg) |
+| `neutral` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-neutral.svg) |
+| `soft` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-soft.svg) |
+| `warm` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-warm.svg) |
+| `weak` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-weak.svg) |
+
+| ID | 100 colors, 2 base colors w/ color range preset, sorted by brightness |
+|-----------|------------------------------------------------------------------------------------------------------------------|
+| `bright` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-bright.svg) |
+| `cool` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-cool.svg) |
+| `dark` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-dark.svg) |
+| `fresh` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-fresh.svg) |
+| `hard` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-hard.svg) |
+| `intense` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-intense.svg) |
+| `light` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-light.svg) |
+| `neutral` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-neutral.svg) |
+| `soft` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-soft.svg) |
+| `warm` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-warm.svg) |
+| `weak` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-weak.svg) |
+
+Full example:
+
+```ts
+import { colorsFromTheme, hsva, swatchesH } from "@thi.ng/color";
+import { serialize } from "@thi.ng/hiccup";
+import { svg } from "@thi.ng/hiccup-svg";
+import { writeFileSync } from "fs";
+
+// color theme definition using:
+// color range preset names, CSS colors and weights
+const theme: ColorThemePartTuple[] = [
+ ["cool", "goldenrod"],
+ ["fresh", "hotpink", 0.1],
+ ["light", "springgreen", 0.1],
+];
+
+// generate 200 HSV colors based on above description
+const colors = [...colorsFromTheme(theme, { num: 200, variance: 0.05 })];
+
+// create SVG doc of color swatches (hiccup format)
+// (convert colors to RGB for smaller file size)
+const doc = svg(
+ { width: 1000, height: 50, convert: true },
+ swatchesH(colors.map((x) => hsvaRgba([], x)), 5, 50)
+);
+
+// serialize to SVG file
+writeFileSync("export/swatches-ex01.svg", serialize(doc));
+```
+
+![example result color swatches](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-ex01.svg)
+
+### Color sorting
+
+The `sortColors()` function can be used to sort an array of colors using
+arbitrary sort criteria. The following comparators are bundled:
+
+- `selectChannel(i)` - sort by channel
+- `proximityHSV(target)` - sort by distance to target color (HSV colors)
+- `proximityRGB(target)` - sort by distance to target color (RGB colors)
+
+```ts
+// (see above example)
+const colors = [...colorsFromTheme(theme, { num: 200, variance: 0.05 })];
+
+sortColors(colors, proximityHSV([0,1,0.5]));
+```
+
+![sorted color swatches](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-ex02.svg)
+
### RGBA transformations
RGBA [color matrix
@@ -194,16 +337,19 @@ yarn add @thi.ng/color
```
-Package sizes (gzipped, pre-treeshake): ESM: 7.08 KB / CJS: 7.44 KB / UMD: 7.00 KB
+Package sizes (gzipped, pre-treeshake): ESM: 8.42 KB / CJS: 8.85 KB / UMD: 8.31 KB
## Dependencies
- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
+- [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/develop/packages/arrays)
- [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/develop/packages/checks)
+- [@thi.ng/compare](https://github.com/thi-ng/umbrella/tree/develop/packages/compare)
- [@thi.ng/compose](https://github.com/thi-ng/umbrella/tree/develop/packages/compose)
- [@thi.ng/defmulti](https://github.com/thi-ng/umbrella/tree/develop/packages/defmulti)
- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
- [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/develop/packages/math)
+- [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random)
- [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/develop/packages/strings)
- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers)
- [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors)
@@ -283,4 +429,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/color/package.json b/packages/color/package.json
index 2c8beac3c0..39d334fe88 100644
--- a/packages/color/package.json
+++ b/packages/color/package.json
@@ -1,7 +1,7 @@
{
"name": "@thi.ng/color",
- "version": "2.0.0",
- "description": "Array-based color ops, conversions, multi-color gradients, presets",
+ "version": "2.1.0",
+ "description": "Array-based color types, conversions, transformations, declarative theme generation, multi-color gradients, presets",
"module": "./index.js",
"main": "./lib/index.js",
"umd:main": "./lib/index.umd.js",
@@ -33,9 +33,10 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib internal",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "pub": "yarn build:release && yarn publish --access public"
+ "pub": "yarn build:release && yarn publish --access public",
+ "tool:swatches": "ts-node -P tools/tsconfig.json tools/index.ts"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
@@ -45,19 +46,22 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/compose": "^1.4.22",
- "@thi.ng/defmulti": "^1.3.3",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/strings": "^1.11.3",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/arrays": "^0.9.0",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/compare": "^1.3.22",
+ "@thi.ng/compose": "^1.4.23",
+ "@thi.ng/defmulti": "^1.3.4",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/random": "^2.1.4",
+ "@thi.ng/strings": "^1.11.4",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
@@ -74,6 +78,7 @@
"conversion",
"cosine",
"css",
+ "declarative",
"filter",
"gradient",
"hcy",
@@ -84,6 +89,8 @@
"porter-duff",
"rgb",
"srgb",
+ "swatches",
+ "theme",
"typescript",
"xyz",
"ycbcr"
diff --git a/packages/color/src/analog.ts b/packages/color/src/analog.ts
new file mode 100644
index 0000000000..e0e24fdefd
--- /dev/null
+++ b/packages/color/src/analog.ts
@@ -0,0 +1,82 @@
+import type { FnN } from "@thi.ng/api";
+import { clamp01 } from "@thi.ng/math";
+import { IRandom, SYSTEM } from "@thi.ng/random";
+import { setC4 } from "@thi.ng/vectors";
+import type { Color, ReadonlyColor } from "./api";
+import { ensureAlpha } from "./internal/ensure-alpha";
+import { ensureHue } from "./internal/ensure-hue";
+
+const $analog = (x: number, delta: number, rnd: IRandom, post: FnN = clamp01) =>
+ delta !== 0 ? post(x + rnd.norm(delta)) : x;
+
+const $alpha = (a: number, delta: number, rnd: IRandom) =>
+ delta !== 0
+ ? clamp01((a !== undefined ? a : 1) + rnd.norm(delta))
+ : ensureAlpha(a);
+
+/**
+ * Similar to {@link analogRGB}. Returns an analog color based on given HSVA
+ * color,with each channel randomly varied by given delta amounts (and
+ * optionally given {@link @thi.ng/random#IRandom} PRNG).
+ *
+ * @remarks
+ * By default (unless `deltaS`, `deltaV`, `deltaA` are provided) only the hue of
+ * the color will be modulated.
+ *
+ * @param out
+ * @param src
+ * @param deltaH
+ * @param deltaS
+ * @param deltaV
+ * @param deltaA
+ * @param rnd
+ */
+export const analogHSV = (
+ out: Color | null,
+ src: ReadonlyColor,
+ deltaH: number,
+ deltaS = 0,
+ deltaV = 0,
+ deltaA = 0,
+ rnd: IRandom = SYSTEM
+) =>
+ setC4(
+ out || src,
+ $analog(src[0], deltaH, rnd, ensureHue),
+ $analog(src[1], deltaS, rnd),
+ $analog(src[2], deltaV, rnd),
+ $alpha(src[3], deltaA, rnd)
+ );
+
+/**
+ * Similar to {@link analogHSV}. Returns an analog color based on given RGBA
+ * color, with each channel randomly varied by given delta amounts (and
+ * optionally given {@link @thi.ng/random#IRandom} PRNG).
+ *
+ * @remarks
+ * By default the green and blue channel variance will be the same as `deltaR`.
+ *
+ * @param out
+ * @param src
+ * @param deltaR
+ * @param deltaG
+ * @param deltaB
+ * @param deltaA
+ * @param rnd
+ */
+export const analogRGB = (
+ out: Color | null,
+ src: ReadonlyColor,
+ deltaR: number,
+ deltaG = deltaR,
+ deltaB = deltaR,
+ deltaA = 0,
+ rnd: IRandom = SYSTEM
+) =>
+ setC4(
+ out || src,
+ $analog(src[0], deltaR, rnd),
+ $analog(src[1], deltaG, rnd),
+ $analog(src[2], deltaB, rnd),
+ $alpha(src[3], deltaA, rnd)
+ );
diff --git a/packages/color/src/api.ts b/packages/color/src/api.ts
index 8e8cc42673..360eaef342 100644
--- a/packages/color/src/api.ts
+++ b/packages/color/src/api.ts
@@ -1,4 +1,5 @@
-import type { Tuple } from "@thi.ng/api";
+import type { FnU2, Tuple } from "@thi.ng/api";
+import type { IRandom } from "@thi.ng/random";
import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
export type ColorMode =
@@ -12,6 +13,192 @@ export type ColorMode =
| "xyz"
| "ycbcr";
+export type CSSColorName =
+ | "aliceblue"
+ | "antiquewhite"
+ | "aqua"
+ | "aquamarine"
+ | "azure"
+ | "beige"
+ | "bisque"
+ | "black"
+ | "blanchedalmond"
+ | "blue"
+ | "blueviolet"
+ | "brown"
+ | "burlywood"
+ | "cadetblue"
+ | "chartreuse"
+ | "chocolate"
+ | "coral"
+ | "cornflowerblue"
+ | "cornsilk"
+ | "crimson"
+ | "cyan"
+ | "darkblue"
+ | "darkcyan"
+ | "darkgoldenrod"
+ | "darkgray"
+ | "darkgreen"
+ | "darkgrey"
+ | "darkkhaki"
+ | "darkmagenta"
+ | "darkolivegreen"
+ | "darkorange"
+ | "darkorchid"
+ | "darkred"
+ | "darksalmon"
+ | "darkseagreen"
+ | "darkslateblue"
+ | "darkslategray"
+ | "darkslategrey"
+ | "darkturquoise"
+ | "darkviolet"
+ | "deeppink"
+ | "deepskyblue"
+ | "dimgray"
+ | "dimgrey"
+ | "dodgerblue"
+ | "firebrick"
+ | "floralwhite"
+ | "forestgreen"
+ | "fuchsia"
+ | "gainsboro"
+ | "ghostwhite"
+ | "gold"
+ | "goldenrod"
+ | "gray"
+ | "grey"
+ | "green"
+ | "greenyellow"
+ | "honeydew"
+ | "hotpink"
+ | "indianred"
+ | "indigo"
+ | "ivory"
+ | "khaki"
+ | "lavender"
+ | "lavenderblush"
+ | "lawngreen"
+ | "lemonchiffon"
+ | "lightblue"
+ | "lightcoral"
+ | "lightcyan"
+ | "lightgoldenrodyellow"
+ | "lightgray"
+ | "lightgreen"
+ | "lightgrey"
+ | "lightpink"
+ | "lightsalmon"
+ | "lightseagreen"
+ | "lightskyblue"
+ | "lightslategray"
+ | "lightslategrey"
+ | "lightsteelblue"
+ | "lightyellow"
+ | "lime"
+ | "limegreen"
+ | "linen"
+ | "magenta"
+ | "maroon"
+ | "mediumaquamarine"
+ | "mediumblue"
+ | "mediumorchid"
+ | "mediumpurple"
+ | "mediumseagreen"
+ | "mediumslateblue"
+ | "mediumspringgreen"
+ | "mediumturquoise"
+ | "mediumvioletred"
+ | "midnightblue"
+ | "mintcream"
+ | "mistyrose"
+ | "moccasin"
+ | "navajowhite"
+ | "navy"
+ | "oldlace"
+ | "olive"
+ | "olivedrab"
+ | "orange"
+ | "orangered"
+ | "orchid"
+ | "palegoldenrod"
+ | "palegreen"
+ | "paleturquoise"
+ | "palevioletred"
+ | "papayawhip"
+ | "peachpuff"
+ | "peru"
+ | "pink"
+ | "plum"
+ | "powderblue"
+ | "purple"
+ | "red"
+ | "rosybrown"
+ | "royalblue"
+ | "saddlebrown"
+ | "salmon"
+ | "sandybrown"
+ | "seagreen"
+ | "seashell"
+ | "sienna"
+ | "silver"
+ | "skyblue"
+ | "slateblue"
+ | "slategray"
+ | "slategrey"
+ | "snow"
+ | "springgreen"
+ | "steelblue"
+ | "tan"
+ | "teal"
+ | "thistle"
+ | "tomato"
+ | "turquoise"
+ | "violet"
+ | "wheat"
+ | "white"
+ | "whitesmoke"
+ | "yellow"
+ | "yellowgreen";
+
+export type ColorRangePreset =
+ | "light"
+ | "dark"
+ | "bright"
+ | "weak"
+ | "neutral"
+ | "fresh"
+ | "soft"
+ | "hard"
+ | "warm"
+ | "cool"
+ | "intense";
+
+export type CosineGradientPreset =
+ | "blue-cyan"
+ | "blue-magenta-orange"
+ | "blue-white-red"
+ | "cyan-magenta"
+ | "green-blue-orange"
+ | "green-cyan"
+ | "green-magenta"
+ | "green-red"
+ | "heat1"
+ | "magenta-green"
+ | "orange-blue"
+ | "orange-magenta-blue"
+ | "purple-orange-cyan"
+ | "rainbow1"
+ | "rainbow2"
+ | "rainbow3"
+ | "rainbow4"
+ | "red-blue"
+ | "yellow-green-blue"
+ | "yellow-magenta-cyan"
+ | "yellow-purple-magenta"
+ | "yellow-red";
+
export type Color = Vec;
export type ReadonlyColor = ReadonlyVec;
@@ -26,6 +213,88 @@ export type CosGradientSpec = Tuple;
export type ColorConversion = (out: Color, src: T) => Color;
export type ColorOp = (out: Color | null, src: ReadonlyColor) => Color;
+export type ColorDistance = FnU2;
+
export interface IColor {
readonly mode: ColorMode;
}
+
+export type Range = [number, number];
+
+export interface ColorRange {
+ /**
+ * Hue ranges
+ */
+ h?: Range[];
+ /**
+ * Saturation ranges
+ */
+ s?: Range[];
+ /**
+ * Brightness ranges
+ */
+ v?: Range[];
+ /**
+ * Alpha ranges
+ */
+ a?: Range[];
+ /**
+ * Black point ranges
+ */
+ b?: Range[];
+ /**
+ * White point ranges
+ */
+ w?: Range[];
+}
+
+export interface ColorRangeOpts {
+ /**
+ * Nunber of result colors.
+ *
+ * @defaultValue ∞
+ */
+ num: number;
+ /**
+ * Max. normalized & randomized hue shift for result colors. Only used if a
+ * base color is given.
+ *
+ * @defaultValue 0.025
+ */
+ variance: number;
+ /**
+ * Tolerance for grayscale check (used for both saturation and brightness).
+ *
+ * @defaultValue 0.001
+ */
+ eps: number;
+ /**
+ * PRNG instance to use for randomized values
+ *
+ * @defaultValue {@link @thi.ng/random#SYSTEM}
+ */
+ rnd: IRandom;
+}
+
+export interface ColorThemePart {
+ /**
+ * Color range spec to use
+ */
+ range?: ColorRange | ColorRangePreset;
+ /**
+ * HSV(A) base color
+ */
+ base?: ReadonlyColor | CSSColorName;
+ /**
+ * Relative weight of this theme part
+ *
+ * @defaultValue 1.0
+ */
+ weight?: number;
+}
+
+export type ColorThemePartTuple =
+ | [ColorRangePreset, CSSColorName, number?]
+ | [ColorRangePreset | CSSColorName, number?]
+ | ColorRangePreset
+ | CSSColorName;
diff --git a/packages/color/src/checks.ts b/packages/color/src/checks.ts
new file mode 100644
index 0000000000..b844580cb8
--- /dev/null
+++ b/packages/color/src/checks.ts
@@ -0,0 +1,22 @@
+import { eqDelta } from "@thi.ng/math";
+import type { ReadonlyColor } from "./api";
+
+const EPS = 1e-3;
+
+export const isGrayHsv = (x: ReadonlyColor, eps = EPS) => x[1] <= eps;
+
+export const isGrayRGB = (x: ReadonlyColor, eps = EPS) =>
+ eqDelta(x[0], x[1], eps) && eqDelta(x[0], x[2], eps);
+
+export const isBlackHsv = (x: ReadonlyColor, eps = EPS) => x[2] <= eps;
+
+export const isBlackRGB = (x: ReadonlyColor, eps = EPS) =>
+ x[0] <= eps && x[1] <= eps && x[2] <= eps;
+
+export const isWhiteHsv = (x: ReadonlyColor, eps = EPS) =>
+ x[1] <= eps && x[2] >= 1 - eps;
+
+export const isWhiteRGB = (x: ReadonlyColor, eps = EPS) => {
+ eps = 1 - eps;
+ return x[0] >= eps && x[1] >= eps && x[2] >= eps;
+};
diff --git a/packages/color/src/color-range.ts b/packages/color/src/color-range.ts
new file mode 100644
index 0000000000..5c789b64fe
--- /dev/null
+++ b/packages/color/src/color-range.ts
@@ -0,0 +1,265 @@
+import { peek } from "@thi.ng/arrays";
+import { isArray, isNumber, isString } from "@thi.ng/checks";
+import { illegalArgs } from "@thi.ng/errors";
+import { IRandom, SYSTEM, weightedRandom } from "@thi.ng/random";
+import { analogHSV } from "./analog";
+import type {
+ Color,
+ ColorRange,
+ ColorRangeOpts,
+ ColorRangePreset,
+ ColorThemePart,
+ ColorThemePartTuple,
+ Range,
+ ReadonlyColor,
+} from "./api";
+import { isBlackHsv, isGrayHsv, isWhiteHsv } from "./checks";
+import { ensureAlpha } from "./internal/ensure-alpha";
+import { ensureHue } from "./internal/ensure-hue";
+import { parseCss } from "./parse-css";
+import { rgbaHsva } from "./rgba-hsva";
+
+/**
+ * Preset {@link ColorRange}s for use with {@link colorsFromRange},
+ * {@link colorsFromTheme} etc.
+ */
+export const RANGES: Record = {
+ light: {
+ s: [[0.3, 0.7]],
+ v: [[0.9, 1]],
+ b: [[0.15, 0.3]],
+ w: [[0.3, 1]],
+ },
+ dark: {
+ s: [[0.7, 1]],
+ v: [[0.15, 0.4]],
+ b: [[0, 0.5]],
+ w: [[0.5, 0.75]],
+ },
+ bright: {
+ s: [[0.8, 1]],
+ v: [[0.8, 1]],
+ },
+ weak: {
+ s: [[0.15, 0.3]],
+ v: [[0.7, 1]],
+ b: [[0.2, 0.2]],
+ w: [[0.2, 1]],
+ },
+ neutral: {
+ s: [[0.25, 0.35]],
+ v: [[0.3, 0.7]],
+ b: [[0.15, 0.15]],
+ w: [[0.9, 1]],
+ },
+ fresh: {
+ s: [[0.4, 0.8]],
+ v: [[0.8, 1]],
+ b: [[0.05, 0.3]],
+ w: [[0.8, 1]],
+ },
+ soft: {
+ s: [[0.2, 0.3]],
+ v: [[0.6, 0.9]],
+ b: [[0.05, 0.15]],
+ w: [[0.6, 0.9]],
+ },
+ hard: {
+ s: [[0.9, 1]],
+ v: [[0.4, 1]],
+ },
+ warm: {
+ s: [[0.6, 0.9]],
+ v: [[0.4, 0.9]],
+ b: [[0.2, 0.2]],
+ w: [[0.8, 1]],
+ },
+ cool: {
+ s: [[0.05, 0.2]],
+ v: [[0.9, 1]],
+ b: [[0, 0.95]],
+ w: [[0.95, 1]],
+ },
+ intense: {
+ s: [[0.9, 1]],
+ v: [
+ [0.2, 0.35],
+ [0.8, 1],
+ ],
+ },
+};
+
+const FULL: Range[] = [[0, 1]];
+
+const DEFAULT_RANGE: ColorRange = {
+ h: FULL,
+ s: FULL,
+ v: FULL,
+ b: FULL,
+ w: FULL,
+ a: [[1, 1]],
+};
+
+const DEFAULT_OPTS: ColorRangeOpts = {
+ num: Infinity,
+ variance: 0.025,
+ eps: 1e-3,
+ rnd: SYSTEM,
+};
+
+const $rnd = (ranges: Range[], rnd: IRandom) =>
+ rnd.minmax(...ranges[rnd.int() % ranges.length]);
+
+/**
+ * Takes a {@link ColorRange}, optional base color (HSV(A)) and options to produce
+ * a single new result color. This color is randomized within the channel limits
+ * of the given `range`. If a `base` color is provided, its hue is used as bias
+ * and the `variance` option defines the max. -/+ normalized hue shift of the
+ * result color.
+ *
+ * @remarks
+ * If the base color is a shade of gray (incl. black & white), the result will
+ * be another gray and is based on the range's black and white point sub-ranges.
+ *
+ * The alpha channel of the result color will only be randomized (based on
+ * `range.a` settings) iff no `base` color was provided. If `base` is given, the
+ * result will used the same alpha.
+ *
+ * A custom PRNG can be defined via the `rnd` option (default: `Math.random`).
+ *
+ * @param range
+ * @param base
+ * @param opts
+ */
+export const colorFromRange = (
+ range: ColorRange,
+ base?: ReadonlyColor,
+ opts?: Partial>
+): Color => {
+ range = { ...DEFAULT_RANGE, ...range };
+ const { variance, rnd, eps } = { ...DEFAULT_OPTS, ...opts };
+ let h: number, a: number;
+ if (base) {
+ h = base[0];
+ a = ensureAlpha(base[3]);
+ if (isBlackHsv(base, eps)) return [h, 0, $rnd(range.b!, rnd), a];
+ if (isWhiteHsv(base, eps)) return [h, 0, $rnd(range.w!, rnd), a];
+ if (isGrayHsv(base, eps))
+ return [
+ h,
+ 0,
+ $rnd(rnd.float() < 0.5 ? range.b! : range.w!, rnd),
+ a,
+ ];
+ h = ensureHue(h + rnd.norm(variance));
+ } else {
+ h = $rnd(range.h!, rnd);
+ a = $rnd(range.a!, rnd);
+ }
+ return [h, $rnd(range.s!, rnd), $rnd(range.v!, rnd), a];
+};
+
+/**
+ * Generator version of {@link colorFromRange}, by default yielding an infinite
+ * sequence of random colors based on given range, base color (optional) and
+ * other opts. Use `num` option to limit number of results.
+ *
+ * @param range
+ * @param base
+ * @param opts
+ */
+export function* colorsFromRange(
+ range: ColorRange,
+ base?: ReadonlyColor,
+ opts: Partial = {}
+) {
+ let num = opts.num != undefined ? opts.num : Infinity;
+ while (--num >= 0) yield colorFromRange(range, base, opts);
+}
+
+/** @internal */
+const asThemePart = (p: ColorThemePart | ColorThemePartTuple) => {
+ let spec: ColorThemePart;
+ let weight: number;
+ if (isArray(p)) {
+ const [a, ...xs] = p;
+ if (isNumber(peek(xs))) {
+ weight = peek(xs);
+ xs.pop();
+ } else {
+ weight = 1;
+ }
+ spec = (
+ (xs.length === 1
+ ? { range: a, base: xs[0], weight }
+ : xs.length === 0
+ ? RANGES[a]
+ ? { range: a, weight }
+ : { base: a, weight }
+ : illegalArgs(`invalid theme part: "${p}"`))
+ );
+ } else if (isString(p)) {
+ spec = (
+ (RANGES[p]
+ ? { range: p, weight: 1 }
+ : { base: p, weight: 1 })
+ );
+ } else {
+ spec = p;
+ spec.weight == null && (spec.weight = 1);
+ }
+ isString(spec.range) && (spec.range = RANGES[spec.range]);
+ isString(spec.base) && (spec.base = rgbaHsva([], parseCss(spec.base)));
+ return spec;
+};
+
+/**
+ * Probabilistic color theme generator. Yield randomized colors based on given
+ * weighted set of theme part specs.
+ *
+ * @remarks
+ * Each theme part is a tuple of either:
+ *
+ * - `[range, color, weight?]`
+ * - `[range, weight?]`
+ * - `[color, weight?]`
+ *
+ * `range` can be either a {@link ColorRange} or the name of a {@link RANGE}
+ * preset. Likewise, `color` can be an HSV(A) color tuple or a CSS color name.
+ * The `weight` of each part defines the relative importance/probability of this
+ * theme part, compared to others. Default weight is 1.0.
+ *
+ * @example
+ * ```ts
+ * [...colorsFromTheme(
+ * [["cool", "aliceblue"], ["bright", "orange", 0.25], ["hotpink", 0.1]],
+ * { num: 10 }
+ * )]
+ * ```
+ *
+ * @param parts
+ * @param opts
+ */
+export function* colorsFromTheme(
+ parts: (ColorThemePart | ColorThemePartTuple)[],
+ opts: Partial = {}
+) {
+ let { num, variance } = { ...DEFAULT_OPTS, ...opts };
+ const theme = parts.map(asThemePart);
+ const choice = weightedRandom(
+ theme,
+ theme.map((x) => x.weight!)
+ );
+ while (--num! >= 0) {
+ const spec = choice();
+ if (spec.range) {
+ yield colorFromRange(
+ spec.range,
+ spec.base,
+ opts
+ );
+ } else if (spec.base) {
+ yield analogHSV([], spec.base, variance!);
+ }
+ }
+}
diff --git a/packages/color/src/cosine-gradients.ts b/packages/color/src/cosine-gradients.ts
index eb29492b60..6e1d6f8345 100644
--- a/packages/color/src/cosine-gradients.ts
+++ b/packages/color/src/cosine-gradients.ts
@@ -9,39 +9,25 @@ import {
tween,
zip,
} from "@thi.ng/transducers";
-import type { Color, CosCoeffs, CosGradientSpec, ReadonlyColor } from "./api";
+import type {
+ Color,
+ CosCoeffs,
+ CosGradientSpec,
+ CosineGradientPreset,
+ ReadonlyColor,
+} from "./api";
import { clamp } from "./clamp";
-export type GradientPresets = Record<
- | "blue-cyan"
- | "blue-magenta-orange"
- | "blue-white-red"
- | "cyan-magenta"
- | "green-blue-orange"
- | "green-cyan"
- | "green-magenta"
- | "green-red"
- | "heat1"
- | "magenta-green"
- | "orange-blue"
- | "orange-magenta-blue"
- | "purple-orange-cyan"
- | "rainbow1"
- | "rainbow2"
- | "rainbow3"
- | "rainbow4"
- | "red-blue"
- | "yellow-green-blue"
- | "yellow-magenta-cyan"
- | "yellow-purple-magenta"
- | "yellow-red",
- CosGradientSpec
->;
-
-// see http://dev.thi.ng/gradients/ - unlike the clojure version, these
-// presets are for RGBA (though the alpha channel is configured to
-// always be 1.0)
-export const GRADIENTS: GradientPresets = {
+/**
+ * Preset cosine gradient definitions. See previews at:
+ * https://github.com/thi-ng/umbrella/tree/develop/packages/color#cosine-gradients
+ *
+ * @remarks
+ * See http://dev.thi.ng/gradients/ for a gradient designer. Note: unlike the
+ * linked original Clojure version, these presets here are for RGBA (though the
+ * alpha channel is configured to always be 1.0)
+ */
+export const GRADIENTS: Record = {
"blue-cyan": [
[0, 0.5, 0.5, 1],
[0, 0.5, 0.5, 0],
@@ -176,6 +162,13 @@ export const GRADIENTS: GradientPresets = {
],
};
+/**
+ * Computes a single RGBA color for given gradient spec and normalized position
+ * `t` (in [0..1] interval).
+ *
+ * @param spec
+ * @param t
+ */
export const cosineColor = (spec: CosGradientSpec, t: number): Color =>
transduce(
map(([a, b, c, d]) =>
@@ -186,8 +179,15 @@ export const cosineColor = (spec: CosGradientSpec, t: number): Color =>
zip(...spec)
);
+/**
+ * Computes a full cosine gradient and returns an array of `n` sampled RGBA
+ * colors.
+ *
+ * @param n
+ * @param spec
+ */
export const cosineGradient = (n: number, spec: CosGradientSpec) =>
- transduce(map(partial(cosineColor, spec)), push(), normRange(n - 1));
+ transduce(map(partial(cosineColor, spec)), push(), normRange(n - 1));
/**
* Returns coefficients to produce a cosine gradient between the two
diff --git a/packages/color/src/distance.ts b/packages/color/src/distance.ts
new file mode 100644
index 0000000000..eee9e96c37
--- /dev/null
+++ b/packages/color/src/distance.ts
@@ -0,0 +1,50 @@
+import { cossin, TAU } from "@thi.ng/math";
+import type { ColorDistance } from "./api";
+import { luminanceRGB } from "./luminance-rgb";
+
+/**
+ * Computes distance between two HSV colors, i.e. the eucledian distance between
+ * points in a cyclinder.
+ *
+ * @param a
+ * @param b
+ */
+export const distHSV: ColorDistance = (a, b) => {
+ const aa = cossin(a[0] * TAU, a[1]);
+ const bb = cossin(b[0] * TAU, b[1]);
+ return Math.hypot(aa[0] - bb[0], aa[1] - bb[1], a[2] - b[2]);
+};
+
+/**
+ * Computes difference in saturation between two HSV colors.
+ *
+ * @param a
+ * @param b
+ */
+export const distSatHSV: ColorDistance = (a, b) => Math.abs(a[1] - b[1]);
+
+/**
+ * Computes difference in brightness between two HSV or two HSL colors.
+ *
+ * @param a
+ * @param b
+ */
+export const distLumaHSV: ColorDistance = (a, b) => Math.abs(a[2] - b[2]);
+
+/**
+ * Computes eucledian distance between two RGB colors.
+ *
+ * @param a
+ * @param b
+ */
+export const distRGB: ColorDistance = (a, b) =>
+ Math.hypot(a[0] - b[0], a[1] - b[1], a[2] - b[2]);
+
+/**
+ * Computes difference in luminance between two RGB colors.
+ *
+ * @param a
+ * @param b
+ */
+export const distLumaRGB: ColorDistance = (a, b) =>
+ Math.abs(luminanceRGB(a) - luminanceRGB(b));
diff --git a/packages/color/src/index.ts b/packages/color/src/index.ts
index dab7a0934d..f08948cf1c 100644
--- a/packages/color/src/index.ts
+++ b/packages/color/src/index.ts
@@ -42,11 +42,17 @@ export * from "./xyza";
export * from "./ycbcr";
export * from "./alpha";
+export * from "./analog";
+export * from "./checks";
export * from "./clamp";
export * from "./closest-hue";
+export * from "./color-range";
export * from "./cosine-gradients";
+export * from "./distance";
export * from "./invert";
export * from "./luminance";
export * from "./luminance-rgb";
export * from "./mix";
+export * from "./sort";
+export * from "./swatches";
export * from "./transform";
diff --git a/packages/color/src/names.ts b/packages/color/src/names.ts
index 4d3ec21eab..0693bcaf36 100644
--- a/packages/color/src/names.ts
+++ b/packages/color/src/names.ts
@@ -1,6 +1,6 @@
-import type { IObjectOf } from "@thi.ng/api";
+import type { CSSColorName } from "./api";
-export const CSS_NAMES: IObjectOf = {
+export const CSS_NAMES: Record = {
aliceblue: "f0f8ff",
antiquewhite: "faebd7",
aqua: "0ff",
diff --git a/packages/color/src/parse-css.ts b/packages/color/src/parse-css.ts
index 1da5d9c746..210a63b4e0 100644
--- a/packages/color/src/parse-css.ts
+++ b/packages/color/src/parse-css.ts
@@ -2,7 +2,7 @@ import type { IDeref } from "@thi.ng/api";
import { illegalArgs } from "@thi.ng/errors";
import { clamp01 } from "@thi.ng/math";
import { maybeParseFloat, maybeParseInt } from "@thi.ng/strings";
-import type { Color } from "./api";
+import type { Color, CSSColorName } from "./api";
import { INV8BIT } from "./constants";
import { hslaRgba } from "./hsla-rgba";
import { int32Rgba } from "./int-rgba";
@@ -34,7 +34,7 @@ export const parseCss = (col: string | IDeref) => {
]);
}
} else {
- const c = CSS_NAMES[col];
+ const c = CSS_NAMES[col];
!c && illegalArgs(`invalid color: "${col}"`);
return int32Rgba([], parseHex(c));
}
diff --git a/packages/color/src/sort.ts b/packages/color/src/sort.ts
new file mode 100644
index 0000000000..42f5a48fd5
--- /dev/null
+++ b/packages/color/src/sort.ts
@@ -0,0 +1,19 @@
+import type { Fn } from "@thi.ng/api";
+import { sortByCachedKey } from "@thi.ng/arrays";
+import { compareNumAsc, compareNumDesc } from "@thi.ng/compare";
+import type { ReadonlyColor } from "./api";
+import { distHSV, distRGB } from "./distance";
+
+export const selectChannel = (id: number) => (col: ReadonlyColor) => col[id];
+
+export const proximityHSV = (target: ReadonlyColor) => (col: ReadonlyColor) =>
+ distHSV(target, col);
+
+export const proximityRGB = (target: ReadonlyColor) => (col: ReadonlyColor) =>
+ distRGB(target, col);
+
+export const sortColors = (
+ cols: ReadonlyColor[],
+ key: Fn,
+ isReverse = false
+) => sortByCachedKey(cols, key, isReverse ? compareNumDesc : compareNumAsc);
diff --git a/packages/color/src/swatches.ts b/packages/color/src/swatches.ts
new file mode 100644
index 0000000000..0690519282
--- /dev/null
+++ b/packages/color/src/swatches.ts
@@ -0,0 +1,22 @@
+import type { Fn2, IObjectOf } from "@thi.ng/api";
+import type { ReadonlyColor } from "./api";
+
+export const swatches = (
+ cols: ReadonlyColor[],
+ fn: Fn2,
+ attribs: IObjectOf = {}
+) => ["g", attribs, ...cols.map(fn)];
+
+export const swatchesH = (
+ cols: ReadonlyColor[],
+ w = 5,
+ h = 50,
+ attribs?: IObjectOf
+) => swatches(cols, (fill, i) => ["rect", { fill }, [i * w, 0], w, h], attribs);
+
+export const swatchesV = (
+ cols: ReadonlyColor[],
+ w = 50,
+ h = 5,
+ attribs: IObjectOf = {}
+) => swatches(cols, (fill, i) => ["rect", { fill }, [0, i * h], w, h], attribs);
diff --git a/packages/color/tools/index.ts b/packages/color/tools/index.ts
index 981d54aa6d..4a6f94b5d5 100644
--- a/packages/color/tools/index.ts
+++ b/packages/color/tools/index.ts
@@ -1,20 +1,51 @@
-import { asSvg, rect, svgDoc } from "@thi.ng/geom";
+import { serialize } from "@thi.ng/hiccup";
+import { svg } from "@thi.ng/hiccup-svg";
import { writeFileSync } from "fs";
-import { cosineGradient, GRADIENTS } from "../src";
+import {
+ colorsFromTheme,
+ ColorThemePartTuple,
+ cosineGradient,
+ CosineGradientPreset,
+ GRADIENTS,
+ hsvaRgba,
+ swatchesH,
+} from "../src";
Object.keys(GRADIENTS).forEach((id) => {
const fname = `export/gradient-${id}.svg`;
console.log(fname);
writeFileSync(
fname,
- asSvg(
- svgDoc(
- {},
- ...cosineGradient(
- 100,
- GRADIENTS[id]
- ).map((col, i) => rect([i * 5, 0], [5, 50], { fill: col }))
+ serialize(
+ svg(
+ { width: 500, height: 50, convert: true },
+ swatchesH(
+ cosineGradient(100, GRADIENTS[id]),
+ 5,
+ 50
+ )
)
)
);
});
+
+////////////////////////////////////////////////////////////
+
+const theme = [
+ ["cool", "goldenrod"],
+ ["fresh", "hotpink", 0.1],
+ ["light", "springgreen", 0.1],
+];
+
+const colors = [...colorsFromTheme(theme, { num: 200, variance: 0.05 })];
+
+const doc = svg(
+ { width: 1000, height: 50, convert: true },
+ swatchesH(
+ colors.map((x) => hsvaRgba([], x)),
+ 5,
+ 50
+ )
+);
+
+writeFileSync("export/swatches-ex01.svg", serialize(doc));
diff --git a/packages/color/tpl.readme.md b/packages/color/tpl.readme.md
index fde9472eb1..b1f9e5e260 100644
--- a/packages/color/tpl.readme.md
+++ b/packages/color/tpl.readme.md
@@ -48,6 +48,147 @@ aliases (in addition to array indexing) and are fully compatible with
all functions (and act as syntax sugar for generic conversion
functions). Wrapper factory functions are provided for convenience.
+### Color theme generation
+
+The package provides several methods for procedural & declarative color theme
+generations. The latter relies on the concept of HSV color ranges, which can be
+sampled directly and/or mixed with a base color to produce randomized
+variations. Furthermore, multiple such ranges can be combined into a weighted
+set to define probabilistic color themes.
+
+```ts
+// single random color drawn from the "bright" color range preset
+colorFromRange(RANGES.bright);
+// [ 0.7302125322518669, 0.8519945301256682, 0.8134374983367859, 1 ]
+
+// single random color based on given HSV base color and preset
+colorFromRange(RANGES.warm, [0.33, 1, 1])
+// [ 0.3065587375218628, 0.8651353734302525, 0.748781892650323, 1 ]
+
+// infinite iterator of colors sampled from the preset
+// (see table below)
+const colors = colorsFromRange(RANGES.bright);
+colors.next();
+// {
+// value: [ 0.006959075656347791, 0.8760165887192115, 0.912149937028727, 1 ],
+// done: false
+// }
+
+// 10 cool reds, w/ 10% hue variance
+[...colorsFromRange(RANGES.cool, [0, 0.8, 1], { num: 10, variance: 0.1 })]
+
+// generate colors based on given (weighted) textual description(s)
+// here using named CSS colors, but could also be HSV tuples
+[...colorsFromTheme(
+ [["warm", "goldenrod"], ["cool", "springgreen", 0.1]],
+ { num: 100, variance: 0.05 }
+)]
+
+// theme parts can also be given in the format used internally
+// note: base colors are always in HSV
+// all keys are optional (range, base, weight),
+// but at least `range` or `base` must be given...
+[...colorsFromTheme(
+ [
+ { range: "warm", base: "goldenrod" },
+ { range: RANGES.cool, base: [0, 1, 0.5], weight: 0.1 }
+ ],
+ { num: 100, variance: 0.05 }
+)]
+```
+
+| ID | 100 colors drawn from color range preset only, sorted by hue |
+|-----------|--------------------------------------------------------------------------------------------------------------------|
+| `bright` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-bright.svg) |
+| `cool` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-cool.svg) |
+| `dark` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-dark.svg) |
+| `fresh` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-fresh.svg) |
+| `hard` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-hard.svg) |
+| `intense` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-intense.svg) |
+| `light` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-light.svg) |
+| `neutral` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-neutral.svg) |
+| `soft` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-soft.svg) |
+| `warm` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-warm.svg) |
+| `weak` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-range-weak.svg) |
+
+| ID | 100 colors, single base color w/ color range preset, sorted by hue |
+|-----------|--------------------------------------------------------------------------------------------------------------------|
+| `bright` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-bright.svg) |
+| `cool` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-cool.svg) |
+| `dark` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-dark.svg) |
+| `fresh` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-fresh.svg) |
+| `hard` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-hard.svg) |
+| `intense` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-intense.svg) |
+| `light` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-light.svg) |
+| `neutral` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-neutral.svg) |
+| `soft` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-soft.svg) |
+| `warm` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-warm.svg) |
+| `weak` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-green-weak.svg) |
+
+| ID | 100 colors, 2 base colors w/ color range preset, sorted by brightness |
+|-----------|------------------------------------------------------------------------------------------------------------------|
+| `bright` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-bright.svg) |
+| `cool` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-cool.svg) |
+| `dark` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-dark.svg) |
+| `fresh` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-fresh.svg) |
+| `hard` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-hard.svg) |
+| `intense` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-intense.svg) |
+| `light` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-light.svg) |
+| `neutral` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-neutral.svg) |
+| `soft` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-soft.svg) |
+| `warm` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-warm.svg) |
+| `weak` | ![color swatch](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-duo-weak.svg) |
+
+Full example:
+
+```ts
+import { colorsFromTheme, hsva, swatchesH } from "@thi.ng/color";
+import { serialize } from "@thi.ng/hiccup";
+import { svg } from "@thi.ng/hiccup-svg";
+import { writeFileSync } from "fs";
+
+// color theme definition using:
+// color range preset names, CSS colors and weights
+const theme: ColorThemePartTuple[] = [
+ ["cool", "goldenrod"],
+ ["fresh", "hotpink", 0.1],
+ ["light", "springgreen", 0.1],
+];
+
+// generate 200 HSV colors based on above description
+const colors = [...colorsFromTheme(theme, { num: 200, variance: 0.05 })];
+
+// create SVG doc of color swatches (hiccup format)
+// (convert colors to RGB for smaller file size)
+const doc = svg(
+ { width: 1000, height: 50, convert: true },
+ swatchesH(colors.map((x) => hsvaRgba([], x)), 5, 50)
+);
+
+// serialize to SVG file
+writeFileSync("export/swatches-ex01.svg", serialize(doc));
+```
+
+![example result color swatches](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-ex01.svg)
+
+### Color sorting
+
+The `sortColors()` function can be used to sort an array of colors using
+arbitrary sort criteria. The following comparators are bundled:
+
+- `selectChannel(i)` - sort by channel
+- `proximityHSV(target)` - sort by distance to target color (HSV colors)
+- `proximityRGB(target)` - sort by distance to target color (RGB colors)
+
+```ts
+// (see above example)
+const colors = [...colorsFromTheme(theme, { num: 200, variance: 0.05 })];
+
+sortColors(colors, proximityHSV([0,1,0.5]));
+```
+
+![sorted color swatches](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/color/swatches-ex02.svg)
+
### RGBA transformations
RGBA [color matrix
diff --git a/packages/colored-noise/CHANGELOG.md b/packages/colored-noise/CHANGELOG.md
index 58a065636c..2345456865 100644
--- a/packages/colored-noise/CHANGELOG.md
+++ b/packages/colored-noise/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/colored-noise@0.1.7...@thi.ng/colored-noise@0.1.8) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/colored-noise
+
+
+
+
+
## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/colored-noise@0.1.6...@thi.ng/colored-noise@0.1.7) (2020-12-22)
**Note:** Version bump only for package @thi.ng/colored-noise
diff --git a/packages/colored-noise/README.md b/packages/colored-noise/README.md
index 45efc33dd8..057ce7cbed 100644
--- a/packages/colored-noise/README.md
+++ b/packages/colored-noise/README.md
@@ -13,7 +13,7 @@ This project is part of the
- [Blue noise](#blue-noise)
- [Green noise](#green-noise)
- [Pink noise](#pink-noise)
- - [Red / brown noise](#red---brown-noise)
+ - [Red / brown noise](#red--brown-noise)
- [Violet noise](#violet-noise)
- [White noise](#white-noise)
- [Status](#status)
@@ -21,7 +21,7 @@ This project is part of the
- [Installation](#installation)
- [Dependencies](#dependencies)
- [API](#api)
- - [Use as IGen in @thi.ng/dsp](#use-as-igen-in-thing-dsp)
+ - [Use as IGen in @thi.ng/dsp](#use-as-igen-in-thingdsp)
- [Authors](#authors)
- [License](#license)
@@ -442,4 +442,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2015 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2015 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/colored-noise/package.json b/packages/colored-noise/package.json
index dc1a9cc660..5fe9c96100 100644
--- a/packages/colored-noise/package.json
+++ b/packages/colored-noise/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/colored-noise",
- "version": "0.1.7",
+ "version": "0.1.8",
"description": "Customizable O(1) ES6 generators for colored noise",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,29 +34,29 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.12.1",
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/dsp": "^3.0.0",
- "@thi.ng/dsp-io-wav": "^0.1.34",
- "@thi.ng/text-canvas": "^0.2.36",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/vectors": "^4.8.3",
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/dsp": "^3.0.1",
+ "@thi.ng/dsp-io-wav": "^0.1.35",
+ "@thi.ng/text-canvas": "^0.3.0",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/vectors": "^4.8.4",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/binary": "^2.0.20",
- "@thi.ng/random": "^2.1.3"
+ "@thi.ng/binary": "^2.0.21",
+ "@thi.ng/random": "^2.1.4"
},
"files": [
"*.js",
diff --git a/packages/compare/CHANGELOG.md b/packages/compare/CHANGELOG.md
index 2003d6361e..adc9bfd510 100644
--- a/packages/compare/CHANGELOG.md
+++ b/packages/compare/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.3.22](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@1.3.21...@thi.ng/compare@1.3.22) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/compare
+
+
+
+
+
## [1.3.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@1.3.20...@thi.ng/compare@1.3.21) (2020-12-22)
**Note:** Version bump only for package @thi.ng/compare
diff --git a/packages/compare/README.md b/packages/compare/README.md
index 3ea8ef98de..f54ad02ead 100644
--- a/packages/compare/README.md
+++ b/packages/compare/README.md
@@ -16,7 +16,7 @@ This project is part of the
- [Usage examples](#usage-examples)
- [API](#api)
- [ICompare support](#icompare-support)
- - [Cluster sort w/ multiple sort keys](#cluster-sort-w--multiple-sort-keys)
+ - [Cluster sort w/ multiple sort keys](#cluster-sort-w-multiple-sort-keys)
- [Authors](#authors)
- [License](#license)
@@ -167,4 +167,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/compare/package.json b/packages/compare/package.json
index f9798ba9dc..009e8d5824 100644
--- a/packages/compare/package.json
+++ b/packages/compare/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/compare",
- "version": "1.3.21",
+ "version": "1.3.22",
"description": "Comparators with support for types implementing the @thi.ng/api/ICompare interface",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,11 +45,11 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5"
+ "@thi.ng/api": "^6.13.6"
},
"files": [
"*.js",
diff --git a/packages/compose/CHANGELOG.md b/packages/compose/CHANGELOG.md
index de9afba900..d3a5c68d12 100644
--- a/packages/compose/CHANGELOG.md
+++ b/packages/compose/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.4.23](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.4.22...@thi.ng/compose@1.4.23) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/compose
+
+
+
+
+
## [1.4.22](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.4.21...@thi.ng/compose@1.4.22) (2020-12-22)
**Note:** Version bump only for package @thi.ng/compose
diff --git a/packages/compose/README.md b/packages/compose/README.md
index b39a34e4f5..aa9e5b8d69 100644
--- a/packages/compose/README.md
+++ b/packages/compose/README.md
@@ -77,4 +77,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/compose/package.json b/packages/compose/package.json
index 8ce1eb0b4d..c64498dcf3 100644
--- a/packages/compose/package.json
+++ b/packages/compose/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/compose",
- "version": "1.4.22",
+ "version": "1.4.23",
"description": "Optimized functional composition helpers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,12 +45,12 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/errors": "^1.2.25"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/errors": "^1.2.26"
},
"files": [
"*.js",
diff --git a/packages/csp/CHANGELOG.md b/packages/csp/CHANGELOG.md
index bc9aee9836..14fbbb02bf 100644
--- a/packages/csp/CHANGELOG.md
+++ b/packages/csp/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.45](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.1.44...@thi.ng/csp@1.1.45) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/csp
+
+
+
+
+
## [1.1.44](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.1.43...@thi.ng/csp@1.1.44) (2020-12-22)
**Note:** Version bump only for package @thi.ng/csp
diff --git a/packages/csp/README.md b/packages/csp/README.md
index 6951b089b6..c0cbcdad06 100644
--- a/packages/csp/README.md
+++ b/packages/csp/README.md
@@ -254,4 +254,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/csp/package.json b/packages/csp/package.json
index b3ae21b16b..01a6cdc1f5 100644
--- a/packages/csp/package.json
+++ b/packages/csp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/csp",
- "version": "1.1.44",
+ "version": "1.1.45",
"description": "ES6 promise based CSP primitives & operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public",
"testasync": "tsc -p test && node build/test/async.js",
@@ -49,16 +49,16 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/arrays": "^0.8.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/dcons": "^2.3.4",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/arrays": "^0.9.0",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/dcons": "^2.3.5",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/csv/CHANGELOG.md b/packages/csv/CHANGELOG.md
index 87558bfb9b..3052cf53e1 100644
--- a/packages/csv/CHANGELOG.md
+++ b/packages/csv/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/csv@0.1.3...@thi.ng/csv@0.1.4) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/csv
+
+
+
+
+
## [0.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/csv@0.1.2...@thi.ng/csv@0.1.3) (2020-12-22)
**Note:** Version bump only for package @thi.ng/csv
diff --git a/packages/csv/README.md b/packages/csv/README.md
index 20349e18aa..cfb99280a0 100644
--- a/packages/csv/README.md
+++ b/packages/csv/README.md
@@ -130,4 +130,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2014 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2014 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/csv/package.json b/packages/csv/package.json
index a1ccfd1f9f..128d6750be 100644
--- a/packages/csv/package.json
+++ b/packages/csv/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/csv",
- "version": "0.1.3",
+ "version": "0.1.4",
"description": "Customizable, transducer-based CSV parser/object mapper and transformer",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,14 +45,14 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/strings": "^1.11.3",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/strings": "^1.11.4",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/date/CHANGELOG.md b/packages/date/CHANGELOG.md
index 3c4e2b16b9..5468246649 100644
--- a/packages/date/CHANGELOG.md
+++ b/packages/date/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/date@0.2.4...@thi.ng/date@0.2.5) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/date
+
+
+
+
+
## [0.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/date@0.2.3...@thi.ng/date@0.2.4) (2020-12-22)
**Note:** Version bump only for package @thi.ng/date
diff --git a/packages/date/README.md b/packages/date/README.md
index fc76d9eace..08b96c1588 100644
--- a/packages/date/README.md
+++ b/packages/date/README.md
@@ -234,4 +234,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/date/package.json b/packages/date/package.json
index b6f7f02d87..f0aeed9b39 100644
--- a/packages/date/package.json
+++ b/packages/date/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/date",
- "version": "0.2.4",
+ "version": "0.2.5",
"description": "Date/timestamp iterators, formatters, rounding",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,11 +45,11 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5"
+ "@thi.ng/api": "^6.13.6"
},
"files": [
"*.js",
diff --git a/packages/dcons/CHANGELOG.md b/packages/dcons/CHANGELOG.md
index 2f2d715775..d5cfccbf63 100644
--- a/packages/dcons/CHANGELOG.md
+++ b/packages/dcons/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.3.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.3.4...@thi.ng/dcons@2.3.5) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dcons
+
+
+
+
+
## [2.3.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.3.3...@thi.ng/dcons@2.3.4) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dcons
diff --git a/packages/dcons/README.md b/packages/dcons/README.md
index 6c8e66e9a3..10eb4c463b 100644
--- a/packages/dcons/README.md
+++ b/packages/dcons/README.md
@@ -169,4 +169,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2017 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2017 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dcons/package.json b/packages/dcons/package.json
index 0ca63a3934..8f7ff42450 100644
--- a/packages/dcons/package.json
+++ b/packages/dcons/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dcons",
- "version": "2.3.4",
+ "version": "2.3.5",
"description": "Double-linked lists with comprehensive set of operations (incl. optional self-organizing behaviors)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,17 +45,17 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/compare": "^1.3.21",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/random": "^2.1.3",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/compare": "^1.3.22",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/random": "^2.1.4",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/defmulti/CHANGELOG.md b/packages/defmulti/CHANGELOG.md
index 36cd6af62d..88eee8dff7 100644
--- a/packages/defmulti/CHANGELOG.md
+++ b/packages/defmulti/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.3.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/defmulti@1.3.3...@thi.ng/defmulti@1.3.4) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/defmulti
+
+
+
+
+
## [1.3.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/defmulti@1.3.2...@thi.ng/defmulti@1.3.3) (2020-12-22)
**Note:** Version bump only for package @thi.ng/defmulti
diff --git a/packages/defmulti/README.md b/packages/defmulti/README.md
index a9bc59ac67..5114a3f405 100644
--- a/packages/defmulti/README.md
+++ b/packages/defmulti/README.md
@@ -20,7 +20,7 @@ This project is part of the
- [implementations()](#implementations)
- [defmultiN()](#defmultin)
- [Usage examples](#usage-examples)
- - [Dynamic dispatch: Simple S-expression interpreter](#dynamic-dispatch--simple-s-expression-interpreter)
+ - [Dynamic dispatch: Simple S-expression interpreter](#dynamic-dispatch-simple-s-expression-interpreter)
- [True multiple arg dispatch](#true-multiple-arg-dispatch)
- [Dispatch value graph visualization](#dispatch-value-graph-visualization)
- [Authors](#authors)
@@ -386,4 +386,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/defmulti/package.json b/packages/defmulti/package.json
index d91550ee4d..c36954cb32 100644
--- a/packages/defmulti/package.json
+++ b/packages/defmulti/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/defmulti",
- "version": "1.3.3",
+ "version": "1.3.4",
"description": "Dynamic, extensible multiple dispatch via user supplied dispatch function.",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,12 +45,12 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/errors": "^1.2.25"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/errors": "^1.2.26"
},
"files": [
"*.js",
diff --git a/packages/dgraph-dot/CHANGELOG.md b/packages/dgraph-dot/CHANGELOG.md
index 2c8b308d52..a6075ba06e 100644
--- a/packages/dgraph-dot/CHANGELOG.md
+++ b/packages/dgraph-dot/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.33](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph-dot@0.1.32...@thi.ng/dgraph-dot@0.1.33) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dgraph-dot
+
+
+
+
+
## [0.1.32](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph-dot@0.1.31...@thi.ng/dgraph-dot@0.1.32) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dgraph-dot
diff --git a/packages/dgraph-dot/README.md b/packages/dgraph-dot/README.md
index 9171bed657..dbecf4fe5b 100644
--- a/packages/dgraph-dot/README.md
+++ b/packages/dgraph-dot/README.md
@@ -112,4 +112,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dgraph-dot/package.json b/packages/dgraph-dot/package.json
index 016b932e2e..dfc9f9c0d3 100644
--- a/packages/dgraph-dot/package.json
+++ b/packages/dgraph-dot/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dgraph-dot",
- "version": "0.1.32",
+ "version": "0.1.33",
"description": "Customizable Graphviz DOT serialization for @thi.ng/dgraph",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/dgraph": "^1.3.3",
- "@thi.ng/dot": "^1.2.22"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/dgraph": "^1.3.4",
+ "@thi.ng/dot": "^1.2.23"
},
"files": [
"*.js",
diff --git a/packages/dgraph/CHANGELOG.md b/packages/dgraph/CHANGELOG.md
index e6f00625a5..43670bf14e 100644
--- a/packages/dgraph/CHANGELOG.md
+++ b/packages/dgraph/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.3.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.3.3...@thi.ng/dgraph@1.3.4) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dgraph
+
+
+
+
+
## [1.3.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.3.2...@thi.ng/dgraph@1.3.3) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dgraph
diff --git a/packages/dgraph/README.md b/packages/dgraph/README.md
index e37d17bc5e..6349fffce5 100644
--- a/packages/dgraph/README.md
+++ b/packages/dgraph/README.md
@@ -118,4 +118,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2015 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2015 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dgraph/package.json b/packages/dgraph/package.json
index f30801e5d3..b0fc940cdc 100644
--- a/packages/dgraph/package.json
+++ b/packages/dgraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dgraph",
- "version": "1.3.3",
+ "version": "1.3.4",
"description": "Type-agnostic directed acyclic graph (DAG) & graph operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,15 +45,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/associative": "^5.0.12",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/associative": "^5.0.13",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/diff/CHANGELOG.md b/packages/diff/CHANGELOG.md
index b7dd793435..1ff9a4d7f6 100644
--- a/packages/diff/CHANGELOG.md
+++ b/packages/diff/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [4.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/diff@4.0.0...@thi.ng/diff@4.0.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/diff
+
+
+
+
+
# [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/diff@3.2.35...@thi.ng/diff@4.0.0) (2020-12-22)
diff --git a/packages/diff/README.md b/packages/diff/README.md
index 74315bd5de..e726258962 100644
--- a/packages/diff/README.md
+++ b/packages/diff/README.md
@@ -83,4 +83,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/diff/package.json b/packages/diff/package.json
index eb1395f235..607ed7c35a 100644
--- a/packages/diff/package.json
+++ b/packages/diff/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/diff",
- "version": "4.0.0",
+ "version": "4.0.1",
"description": "Customizable diff implementations for arrays (sequential) & objects (associative), with or without linear edit logs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -44,12 +44,12 @@
"@types/node": "^14.14.14",
"mocha": "^8.2.1",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/equiv": "^1.0.34"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/equiv": "^1.0.35"
},
"files": [
"*.js",
diff --git a/packages/dl-asset/CHANGELOG.md b/packages/dl-asset/CHANGELOG.md
index d7e338fc98..ca4fb5e14f 100644
--- a/packages/dl-asset/CHANGELOG.md
+++ b/packages/dl-asset/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.4.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/dl-asset@0.4.10...@thi.ng/dl-asset@0.4.11) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dl-asset
+
+
+
+
+
## [0.4.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/dl-asset@0.4.9...@thi.ng/dl-asset@0.4.10) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dl-asset
diff --git a/packages/dl-asset/README.md b/packages/dl-asset/README.md
index 4c8374bd4a..2e8f93269f 100644
--- a/packages/dl-asset/README.md
+++ b/packages/dl-asset/README.md
@@ -119,4 +119,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dl-asset/package.json b/packages/dl-asset/package.json
index 7540630d83..0b411b1b5b 100644
--- a/packages/dl-asset/package.json
+++ b/packages/dl-asset/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dl-asset",
- "version": "0.4.10",
+ "version": "0.4.11",
"description": "Local asset download for web apps, with automatic MIME type detection",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/mime": "^0.1.26"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/mime": "^0.1.27"
},
"files": [
"*.js",
diff --git a/packages/dlogic/CHANGELOG.md b/packages/dlogic/CHANGELOG.md
index 6a79aff401..7345fefaaa 100644
--- a/packages/dlogic/CHANGELOG.md
+++ b/packages/dlogic/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.0.37](https://github.com/thi-ng/umbrella/compare/@thi.ng/dlogic@1.0.36...@thi.ng/dlogic@1.0.37) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dlogic
+
+
+
+
+
## [1.0.36](https://github.com/thi-ng/umbrella/compare/@thi.ng/dlogic@1.0.35...@thi.ng/dlogic@1.0.36) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dlogic
diff --git a/packages/dlogic/README.md b/packages/dlogic/README.md
index 2f095737dd..b5611e5c4d 100644
--- a/packages/dlogic/README.md
+++ b/packages/dlogic/README.md
@@ -94,4 +94,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2017 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2017 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dlogic/package.json b/packages/dlogic/package.json
index d3f428ab7b..4e1625614f 100644
--- a/packages/dlogic/package.json
+++ b/packages/dlogic/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dlogic",
- "version": "1.0.36",
+ "version": "1.0.37",
"description": "Assorted digital logic ops / constructs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,11 +45,11 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5"
+ "@thi.ng/api": "^6.13.6"
},
"files": [
"*.js",
diff --git a/packages/dot/CHANGELOG.md b/packages/dot/CHANGELOG.md
index f5705d249a..4fa5897226 100644
--- a/packages/dot/CHANGELOG.md
+++ b/packages/dot/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.23](https://github.com/thi-ng/umbrella/compare/@thi.ng/dot@1.2.22...@thi.ng/dot@1.2.23) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dot
+
+
+
+
+
## [1.2.22](https://github.com/thi-ng/umbrella/compare/@thi.ng/dot@1.2.21...@thi.ng/dot@1.2.22) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dot
diff --git a/packages/dot/README.md b/packages/dot/README.md
index 5cc94a1461..51a36fd524 100644
--- a/packages/dot/README.md
+++ b/packages/dot/README.md
@@ -168,4 +168,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dot/package.json b/packages/dot/package.json
index 08edea126c..7fc0742fc6 100644
--- a/packages/dot/package.json
+++ b/packages/dot/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dot",
- "version": "1.2.22",
+ "version": "1.2.23",
"description": "Graphviz document abstraction & serialization to DOT format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,12 +45,12 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13"
},
"files": [
"*.js",
diff --git a/packages/dsp-io-wav/CHANGELOG.md b/packages/dsp-io-wav/CHANGELOG.md
index a7c5b10248..14ccd89e94 100644
--- a/packages/dsp-io-wav/CHANGELOG.md
+++ b/packages/dsp-io-wav/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.35](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp-io-wav@0.1.34...@thi.ng/dsp-io-wav@0.1.35) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dsp-io-wav
+
+
+
+
+
## [0.1.34](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp-io-wav@0.1.33...@thi.ng/dsp-io-wav@0.1.34) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dsp-io-wav
diff --git a/packages/dsp-io-wav/README.md b/packages/dsp-io-wav/README.md
index 0249dfb651..ce5df49101 100644
--- a/packages/dsp-io-wav/README.md
+++ b/packages/dsp-io-wav/README.md
@@ -89,4 +89,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dsp-io-wav/package.json b/packages/dsp-io-wav/package.json
index 3591ea764f..bf323de9b3 100644
--- a/packages/dsp-io-wav/package.json
+++ b/packages/dsp-io-wav/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dsp-io-wav",
- "version": "0.1.34",
+ "version": "0.1.35",
"description": "WAV file format generation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,14 +45,14 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/binary": "^2.0.20",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/transducers-binary": "^0.6.0"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/binary": "^2.0.21",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/transducers-binary": "^0.6.1"
},
"files": [
"*.js",
diff --git a/packages/dsp/CHANGELOG.md b/packages/dsp/CHANGELOG.md
index 712a236256..c47acbcf98 100644
--- a/packages/dsp/CHANGELOG.md
+++ b/packages/dsp/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp@3.0.0...@thi.ng/dsp@3.0.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dsp
+
+
+
+
+
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp@2.1.5...@thi.ng/dsp@3.0.0) (2020-12-22)
diff --git a/packages/dsp/README.md b/packages/dsp/README.md
index 0c94d17291..33c2646c34 100644
--- a/packages/dsp/README.md
+++ b/packages/dsp/README.md
@@ -569,4 +569,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2015 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2015 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dsp/package.json b/packages/dsp/package.json
index f9ba04e3d3..52bf124f8b 100644
--- a/packages/dsp/package.json
+++ b/packages/dsp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dsp",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib comp fft gen osc proc util",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,16 +45,16 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/random": "^2.1.3",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/random": "^2.1.4",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/dual-algebra/CHANGELOG.md b/packages/dual-algebra/CHANGELOG.md
index abee0c31c4..e7b0071677 100644
--- a/packages/dual-algebra/CHANGELOG.md
+++ b/packages/dual-algebra/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/dual-algebra@0.1.5...@thi.ng/dual-algebra@0.1.6) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dual-algebra
+
+
+
+
+
## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/dual-algebra@0.1.4...@thi.ng/dual-algebra@0.1.5) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dual-algebra
diff --git a/packages/dual-algebra/README.md b/packages/dual-algebra/README.md
index aadc147a99..df03e5805c 100644
--- a/packages/dual-algebra/README.md
+++ b/packages/dual-algebra/README.md
@@ -210,4 +210,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dual-algebra/package.json b/packages/dual-algebra/package.json
index 8a009c3137..60d270b0bc 100644
--- a/packages/dual-algebra/package.json
+++ b/packages/dual-algebra/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dual-algebra",
- "version": "0.1.5",
+ "version": "0.1.6",
"description": "Multivariate dual number algebra, automatic differentiation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,11 +45,11 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5"
+ "@thi.ng/api": "^6.13.6"
},
"files": [
"*.js",
diff --git a/packages/dynvar/CHANGELOG.md b/packages/dynvar/CHANGELOG.md
index 8c4daa5259..876c5a291a 100644
--- a/packages/dynvar/CHANGELOG.md
+++ b/packages/dynvar/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.29](https://github.com/thi-ng/umbrella/compare/@thi.ng/dynvar@0.1.28...@thi.ng/dynvar@0.1.29) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/dynvar
+
+
+
+
+
## [0.1.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/dynvar@0.1.27...@thi.ng/dynvar@0.1.28) (2020-12-22)
**Note:** Version bump only for package @thi.ng/dynvar
diff --git a/packages/dynvar/README.md b/packages/dynvar/README.md
index 7666a1a7e0..8d85d0016e 100644
--- a/packages/dynvar/README.md
+++ b/packages/dynvar/README.md
@@ -142,4 +142,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/dynvar/package.json b/packages/dynvar/package.json
index 8bf7704e7e..c11a937510 100644
--- a/packages/dynvar/package.json
+++ b/packages/dynvar/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dynvar",
- "version": "0.1.28",
+ "version": "0.1.29",
"description": "Dynamically scoped variable bindings",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,11 +45,11 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5"
+ "@thi.ng/api": "^6.13.6"
},
"files": [
"*.js",
diff --git a/packages/ecs/CHANGELOG.md b/packages/ecs/CHANGELOG.md
index 0dbe9141d9..a25e71614c 100644
--- a/packages/ecs/CHANGELOG.md
+++ b/packages/ecs/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.4.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/ecs@0.4.4...@thi.ng/ecs@0.4.5) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/ecs
+
+
+
+
+
## [0.4.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/ecs@0.4.3...@thi.ng/ecs@0.4.4) (2020-12-22)
**Note:** Version bump only for package @thi.ng/ecs
diff --git a/packages/ecs/README.md b/packages/ecs/README.md
index 8503504ee1..b7c88eeb26 100644
--- a/packages/ecs/README.md
+++ b/packages/ecs/README.md
@@ -169,4 +169,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2019 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2019 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/ecs/package.json b/packages/ecs/package.json
index 3d50b46a1d..46e0038690 100644
--- a/packages/ecs/package.json
+++ b/packages/ecs/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/ecs",
- "version": "0.4.4",
+ "version": "0.4.5",
"description": "Entity Component System based around typed arrays & sparse sets",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,30 +34,30 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib caches components groups",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.12.1",
- "@thi.ng/equiv": "^1.0.34",
+ "@thi.ng/equiv": "^1.0.35",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/associative": "^5.0.12",
- "@thi.ng/binary": "^2.0.20",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/dcons": "^2.3.4",
- "@thi.ng/idgen": "^0.2.28",
- "@thi.ng/malloc": "^4.2.4",
- "@thi.ng/transducers": "^7.5.3",
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/associative": "^5.0.13",
+ "@thi.ng/binary": "^2.0.21",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/dcons": "^2.3.5",
+ "@thi.ng/idgen": "^0.2.29",
+ "@thi.ng/malloc": "^4.2.5",
+ "@thi.ng/transducers": "^7.5.4",
"tslib": "2.0.1"
},
"files": [
diff --git a/packages/egf/CHANGELOG.md b/packages/egf/CHANGELOG.md
index 568f4fbdbd..07484f4ad3 100644
--- a/packages/egf/CHANGELOG.md
+++ b/packages/egf/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/egf@0.3.5...@thi.ng/egf@0.3.6) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/egf
+
+
+
+
+
## [0.3.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/egf@0.3.4...@thi.ng/egf@0.3.5) (2020-12-22)
**Note:** Version bump only for package @thi.ng/egf
diff --git a/packages/egf/README.md b/packages/egf/README.md
index 3e0bf808ff..10ca9f227e 100644
--- a/packages/egf/README.md
+++ b/packages/egf/README.md
@@ -22,7 +22,7 @@ This project is part of the
- [Node references](#node-references)
- [Prefixed IDs](#prefixed-ids)
- [Includes](#includes)
- - [EGF generation / serialization](#egf-generation---serialization)
+ - [EGF generation / serialization](#egf-generation--serialization)
- [Authors](#authors)
- [License](#license)
@@ -527,4 +527,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/egf/package.json b/packages/egf/package.json
index 0fb144fdc9..1e2280d02a 100644
--- a/packages/egf/package.json
+++ b/packages/egf/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/egf",
- "version": "0.3.5",
+ "version": "0.3.6",
"description": "Extensible Graph Format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -28,31 +28,31 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public",
"pub:wip": "yarn publish --access public --no-git-tag-version"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.12.1",
- "@thi.ng/equiv": "^1.0.34",
+ "@thi.ng/equiv": "^1.0.35",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/associative": "^5.0.12",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/dot": "^1.2.22",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/prefixes": "^0.1.9",
- "@thi.ng/strings": "^1.11.3",
- "@thi.ng/transducers-binary": "^0.6.0"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/associative": "^5.0.13",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/dot": "^1.2.23",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/prefixes": "^0.1.10",
+ "@thi.ng/strings": "^1.11.4",
+ "@thi.ng/transducers-binary": "^0.6.1"
},
"files": [
"*.js",
diff --git a/packages/equiv/CHANGELOG.md b/packages/equiv/CHANGELOG.md
index 6256771ff7..febacb10a6 100644
--- a/packages/equiv/CHANGELOG.md
+++ b/packages/equiv/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.0.35](https://github.com/thi-ng/umbrella/compare/@thi.ng/equiv@1.0.34...@thi.ng/equiv@1.0.35) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/equiv
+
+
+
+
+
## [1.0.34](https://github.com/thi-ng/umbrella/compare/@thi.ng/equiv@1.0.33...@thi.ng/equiv@1.0.34) (2020-12-22)
**Note:** Version bump only for package @thi.ng/equiv
diff --git a/packages/equiv/README.md b/packages/equiv/README.md
index eed527e15b..009b795109 100644
--- a/packages/equiv/README.md
+++ b/packages/equiv/README.md
@@ -124,4 +124,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/equiv/package.json b/packages/equiv/package.json
index 8eaae3f033..0647c8340a 100644
--- a/packages/equiv/package.json
+++ b/packages/equiv/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/equiv",
- "version": "1.0.34",
+ "version": "1.0.35",
"description": "Extensible deep value equivalence checking for any data types",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -46,7 +46,7 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"files": [
diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md
index 0c59db14c8..992ed27437 100644
--- a/packages/errors/CHANGELOG.md
+++ b/packages/errors/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/errors@1.2.25...@thi.ng/errors@1.2.26) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/errors
+
+
+
+
+
## [1.2.25](https://github.com/thi-ng/umbrella/compare/@thi.ng/errors@1.2.24...@thi.ng/errors@1.2.25) (2020-12-22)
**Note:** Version bump only for package @thi.ng/errors
diff --git a/packages/errors/README.md b/packages/errors/README.md
index 6d1d253691..2c3de0550b 100644
--- a/packages/errors/README.md
+++ b/packages/errors/README.md
@@ -102,4 +102,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/errors/package.json b/packages/errors/package.json
index 7e28d154ce..87a17f0d29 100644
--- a/packages/errors/package.json
+++ b/packages/errors/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/errors",
- "version": "1.2.25",
+ "version": "1.2.26",
"description": "Custom error types and error factory functions",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,7 +45,7 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"files": [
diff --git a/packages/fsm/CHANGELOG.md b/packages/fsm/CHANGELOG.md
index 9740d59a6e..92ad8e6876 100644
--- a/packages/fsm/CHANGELOG.md
+++ b/packages/fsm/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.4.31](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.4.30...@thi.ng/fsm@2.4.31) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/fsm
+
+
+
+
+
## [2.4.30](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.4.29...@thi.ng/fsm@2.4.30) (2020-12-22)
**Note:** Version bump only for package @thi.ng/fsm
diff --git a/packages/fsm/README.md b/packages/fsm/README.md
index 0b759ab8a3..cf108e21df 100644
--- a/packages/fsm/README.md
+++ b/packages/fsm/README.md
@@ -147,4 +147,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/fsm/package.json b/packages/fsm/package.json
index 49fa3ec98c..e3c40eeaa5 100644
--- a/packages/fsm/package.json
+++ b/packages/fsm/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/fsm",
- "version": "2.4.30",
+ "version": "2.4.31",
"description": "Composable primitives for building declarative, transducer based Finite-State Machines & matchers for arbitrary data streams",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,16 +45,16 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/arrays": "^0.8.5",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/strings": "^1.11.3",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/arrays": "^0.9.0",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/strings": "^1.11.4",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/fuzzy-viz/CHANGELOG.md b/packages/fuzzy-viz/CHANGELOG.md
index ed8d761581..b098de5621 100644
--- a/packages/fuzzy-viz/CHANGELOG.md
+++ b/packages/fuzzy-viz/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/fuzzy-viz@0.1.0...@thi.ng/fuzzy-viz@0.1.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/fuzzy-viz
+
+
+
+
+
# 0.1.0 (2020-12-22)
diff --git a/packages/fuzzy-viz/README.md b/packages/fuzzy-viz/README.md
index a0c621cc03..9e300940bc 100644
--- a/packages/fuzzy-viz/README.md
+++ b/packages/fuzzy-viz/README.md
@@ -155,4 +155,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/fuzzy-viz/package.json b/packages/fuzzy-viz/package.json
index 6a17a5d86a..68e2bdf29e 100644
--- a/packages/fuzzy-viz/package.json
+++ b/packages/fuzzy-viz/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/fuzzy-viz",
- "version": "0.1.0",
+ "version": "0.1.1",
"description": "Visualization, instrumentation & introspection utils for @thi.ng/fuzzy",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,17 +45,17 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/fuzzy": "^0.1.0",
- "@thi.ng/hiccup": "^3.6.5",
- "@thi.ng/hiccup-svg": "^3.6.6",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/strings": "^1.11.3",
- "@thi.ng/text-canvas": "^0.2.36"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/fuzzy": "^0.1.1",
+ "@thi.ng/hiccup": "^3.6.6",
+ "@thi.ng/hiccup-svg": "^3.7.0",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/strings": "^1.11.4",
+ "@thi.ng/text-canvas": "^0.3.0"
},
"files": [
"*.js",
diff --git a/packages/fuzzy/CHANGELOG.md b/packages/fuzzy/CHANGELOG.md
index c303ad75b5..086d4de26f 100644
--- a/packages/fuzzy/CHANGELOG.md
+++ b/packages/fuzzy/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/fuzzy@0.1.0...@thi.ng/fuzzy@0.1.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/fuzzy
+
+
+
+
+
# 0.1.0 (2020-12-22)
diff --git a/packages/fuzzy/README.md b/packages/fuzzy/README.md
index bc551c3f72..4715b25fc2 100644
--- a/packages/fuzzy/README.md
+++ b/packages/fuzzy/README.md
@@ -11,7 +11,7 @@ This project is part of the
- [About](#about)
- [Features](#features)
- - [References / Further reading](#references---further-reading)
+ - [References / Further reading](#references--further-reading)
- [Status](#status)
- [Support packages](#support-packages)
- [Installation](#installation)
@@ -140,6 +140,7 @@ const temp = variable(
}
);
+// evaluate all fuzzy sets for given domain value
evaluate(temp, 18)
// {
// freezing: 2.220446049250313e-16,
@@ -237,8 +238,8 @@ Using `instrumentStrategy()` from the upcoming
package, we can also visualize the final, transformed fuzzy sets used to compute
crisp results and highlight the position of the crisp result value.
-Here is the ASCII art output for the [COG
-strategy](https://github.com/thi-ng/umbrella/blob/develop/packages/fuzzy/src/strategy/centroid.ts)
+Here is the ASCII art output for the
+[`centroidStrategy`](https://github.com/thi-ng/umbrella/blob/develop/packages/fuzzy/src/strategies/centroid.ts)
and using `tnormMin` (the default) to transform each rule's output set(s):
```ts
@@ -341,4 +342,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/fuzzy/package.json b/packages/fuzzy/package.json
index 342b832069..cb35cddd32 100644
--- a/packages/fuzzy/package.json
+++ b/packages/fuzzy/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/fuzzy",
- "version": "0.1.0",
+ "version": "0.1.1",
"description": "Fuzzy logic operators & configurable rule inferencing engine",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib strategies",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,12 +45,12 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/math": "^3.0.0"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/math": "^3.0.1"
},
"files": [
"*.js",
diff --git a/packages/fuzzy/src/strategies/maxima.ts b/packages/fuzzy/src/strategies/maxima.ts
index 684cd0b0d8..65600f2791 100644
--- a/packages/fuzzy/src/strategies/maxima.ts
+++ b/packages/fuzzy/src/strategies/maxima.ts
@@ -103,7 +103,7 @@ export const firstOfMaximaStrategy = (
};
/**
- * Higher-order function. Returns First-of-Maxima defuzzification strategy,
+ * Higher-order function. Returns Last-of-Maxima defuzzification strategy,
* yielding the approx. final position of the maximum region of a given fuzzy
* set.
*
@@ -115,7 +115,7 @@ export const firstOfMaximaStrategy = (
* @example
* ```ts
* lastOfMaximaStrategy()(trapezoid(0,1,5,6), [0,6])
- * // 1.02
+ * // 4.98
*
* // ......▁██████████████████████████|▁.....
* // ......███████████████████████████|█.....
diff --git a/packages/fuzzy/tpl.readme.md b/packages/fuzzy/tpl.readme.md
index 9888ca4570..81587da030 100644
--- a/packages/fuzzy/tpl.readme.md
+++ b/packages/fuzzy/tpl.readme.md
@@ -115,6 +115,7 @@ const temp = variable(
}
);
+// evaluate all fuzzy sets for given domain value
evaluate(temp, 18)
// {
// freezing: 2.220446049250313e-16,
@@ -212,8 +213,8 @@ Using `instrumentStrategy()` from the upcoming
package, we can also visualize the final, transformed fuzzy sets used to compute
crisp results and highlight the position of the crisp result value.
-Here is the ASCII art output for the [COG
-strategy](https://github.com/thi-ng/umbrella/blob/develop/packages/fuzzy/src/strategy/centroid.ts)
+Here is the ASCII art output for the
+[`centroidStrategy`](https://github.com/thi-ng/umbrella/blob/develop/packages/fuzzy/src/strategies/centroid.ts)
and using `tnormMin` (the default) to transform each rule's output set(s):
```ts
diff --git a/packages/geom-accel/CHANGELOG.md b/packages/geom-accel/CHANGELOG.md
index be6c740599..221b51265d 100644
--- a/packages/geom-accel/CHANGELOG.md
+++ b/packages/geom-accel/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.1.30](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@2.1.29...@thi.ng/geom-accel@2.1.30) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-accel
+
+
+
+
+
## [2.1.29](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@2.1.28...@thi.ng/geom-accel@2.1.29) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-accel
diff --git a/packages/geom-accel/README.md b/packages/geom-accel/README.md
index 94ebd0c694..40743a545e 100644
--- a/packages/geom-accel/README.md
+++ b/packages/geom-accel/README.md
@@ -107,4 +107,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2013 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-accel/package.json b/packages/geom-accel/package.json
index af0f8d6393..093228e69a 100644
--- a/packages/geom-accel/package.json
+++ b/packages/geom-accel/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-accel",
- "version": "2.1.29",
+ "version": "2.1.30",
"description": "n-D spatial indexing data structures with a shared ES6 Map/Set-like API",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib internal",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -46,20 +46,20 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/arrays": "^0.8.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/geom-isec": "^0.7.3",
- "@thi.ng/heaps": "^1.2.29",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/arrays": "^0.9.0",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/geom-isec": "^0.7.4",
+ "@thi.ng/heaps": "^1.2.30",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-api/CHANGELOG.md b/packages/geom-api/CHANGELOG.md
index a2f7c579c6..0e48f8b6d3 100644
--- a/packages/geom-api/CHANGELOG.md
+++ b/packages/geom-api/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@2.0.0...@thi.ng/geom-api@2.0.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-api
+
+
+
+
+
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@1.1.4...@thi.ng/geom-api@2.0.0) (2020-12-22)
diff --git a/packages/geom-api/README.md b/packages/geom-api/README.md
index 86875e5c83..d92229b94b 100644
--- a/packages/geom-api/README.md
+++ b/packages/geom-api/README.md
@@ -71,4 +71,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2013 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-api/package.json b/packages/geom-api/package.json
index e272196a47..3bb6f2da85 100644
--- a/packages/geom-api/package.json
+++ b/packages/geom-api/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-api",
- "version": "2.0.0",
+ "version": "2.0.1",
"description": "Shared type & interface declarations for @thi.ng/geom packages",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,12 +45,12 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-arc/CHANGELOG.md b/packages/geom-arc/CHANGELOG.md
index 5e2f3d4cf6..39590ab3cc 100644
--- a/packages/geom-arc/CHANGELOG.md
+++ b/packages/geom-arc/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.3.18...@thi.ng/geom-arc@0.3.19) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-arc
+
+
+
+
+
## [0.3.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.3.17...@thi.ng/geom-arc@0.3.18) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-arc
diff --git a/packages/geom-arc/README.md b/packages/geom-arc/README.md
index 1e49b1fa23..8c3426828a 100644
--- a/packages/geom-arc/README.md
+++ b/packages/geom-arc/README.md
@@ -74,4 +74,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-arc/package.json b/packages/geom-arc/package.json
index f4542e8b25..1c92c91fce 100644
--- a/packages/geom-arc/package.json
+++ b/packages/geom-arc/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-arc",
- "version": "0.3.18",
+ "version": "0.3.19",
"description": "2D circular / elliptic arc operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,15 +45,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/geom-resample": "^0.2.51",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/geom-resample": "^0.2.52",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-clip-line/CHANGELOG.md b/packages/geom-clip-line/CHANGELOG.md
index e70fcc9615..b1d49da33b 100644
--- a/packages/geom-clip-line/CHANGELOG.md
+++ b/packages/geom-clip-line/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-line@1.2.14...@thi.ng/geom-clip-line@1.2.15) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-clip-line
+
+
+
+
+
## [1.2.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-line@1.2.13...@thi.ng/geom-clip-line@1.2.14) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-clip-line
diff --git a/packages/geom-clip-line/README.md b/packages/geom-clip-line/README.md
index 3a7f291052..958d58f842 100644
--- a/packages/geom-clip-line/README.md
+++ b/packages/geom-clip-line/README.md
@@ -100,4 +100,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2013 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-clip-line/package.json b/packages/geom-clip-line/package.json
index f676de3b9a..d6b3b0d8d0 100644
--- a/packages/geom-clip-line/package.json
+++ b/packages/geom-clip-line/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-clip-line",
- "version": "1.2.14",
+ "version": "1.2.15",
"description": "2D line clipping (Liang-Barsky)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/geom-isec": "^0.7.3",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/geom-isec": "^0.7.4",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-clip-poly/CHANGELOG.md b/packages/geom-clip-poly/CHANGELOG.md
index cea921ddae..693912f8f4 100644
--- a/packages/geom-clip-poly/CHANGELOG.md
+++ b/packages/geom-clip-poly/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.0.40](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@1.0.39...@thi.ng/geom-clip-poly@1.0.40) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-clip-poly
+
+
+
+
+
## [1.0.39](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@1.0.38...@thi.ng/geom-clip-poly@1.0.39) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-clip-poly
diff --git a/packages/geom-clip-poly/README.md b/packages/geom-clip-poly/README.md
index 589e40601e..e705b743c7 100644
--- a/packages/geom-clip-poly/README.md
+++ b/packages/geom-clip-poly/README.md
@@ -79,4 +79,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2013 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-clip-poly/package.json b/packages/geom-clip-poly/package.json
index 0ee98efcff..8a6593ce0f 100644
--- a/packages/geom-clip-poly/package.json
+++ b/packages/geom-clip-poly/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-clip-poly",
- "version": "1.0.39",
+ "version": "1.0.40",
"description": "2D convex polygon clipping (Sutherland-Hodgeman)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,14 +45,14 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/geom-isec": "^0.7.3",
- "@thi.ng/geom-poly-utils": "^0.3.0",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/geom-isec": "^0.7.4",
+ "@thi.ng/geom-poly-utils": "^0.3.1",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-closest-point/CHANGELOG.md b/packages/geom-closest-point/CHANGELOG.md
index 6ce44a2cc9..fff036f96c 100644
--- a/packages/geom-closest-point/CHANGELOG.md
+++ b/packages/geom-closest-point/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.5.5...@thi.ng/geom-closest-point@0.5.6) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-closest-point
+
+
+
+
+
## [0.5.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.5.4...@thi.ng/geom-closest-point@0.5.5) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-closest-point
diff --git a/packages/geom-closest-point/README.md b/packages/geom-closest-point/README.md
index 05f0272188..b016c6c52a 100644
--- a/packages/geom-closest-point/README.md
+++ b/packages/geom-closest-point/README.md
@@ -100,4 +100,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-closest-point/package.json b/packages/geom-closest-point/package.json
index e0b7967e87..edad76563c 100644
--- a/packages/geom-closest-point/package.json
+++ b/packages/geom-closest-point/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-closest-point",
- "version": "0.5.5",
+ "version": "0.5.6",
"description": "2D / 3D closest point / proximity helpers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-fuzz/CHANGELOG.md b/packages/geom-fuzz/CHANGELOG.md
index 75235840f5..97c1b85fb9 100644
--- a/packages/geom-fuzz/CHANGELOG.md
+++ b/packages/geom-fuzz/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-fuzz@0.1.26...@thi.ng/geom-fuzz@0.1.27) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-fuzz
+
+
+
+
+
## [0.1.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-fuzz@0.1.25...@thi.ng/geom-fuzz@0.1.26) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-fuzz
diff --git a/packages/geom-fuzz/README.md b/packages/geom-fuzz/README.md
index 2d35e7573b..8f9a392436 100644
--- a/packages/geom-fuzz/README.md
+++ b/packages/geom-fuzz/README.md
@@ -100,4 +100,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-fuzz/package.json b/packages/geom-fuzz/package.json
index aebc09d6ac..4e5eb38994 100644
--- a/packages/geom-fuzz/package.json
+++ b/packages/geom-fuzz/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-fuzz",
- "version": "0.1.26",
+ "version": "0.1.27",
"description": "Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -44,20 +44,20 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/associative": "^5.0.12",
- "@thi.ng/color": "^2.0.0",
- "@thi.ng/geom": "^2.0.0",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/geom-clip-line": "^1.2.14",
- "@thi.ng/geom-resample": "^0.2.51",
- "@thi.ng/grid-iterators": "^0.4.16",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/associative": "^5.0.13",
+ "@thi.ng/color": "^2.1.0",
+ "@thi.ng/geom": "^2.0.1",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/geom-clip-line": "^1.2.15",
+ "@thi.ng/geom-resample": "^0.2.52",
+ "@thi.ng/grid-iterators": "^0.4.17",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-hull/CHANGELOG.md b/packages/geom-hull/CHANGELOG.md
index 37991cfed8..7f61a1ff1b 100644
--- a/packages/geom-hull/CHANGELOG.md
+++ b/packages/geom-hull/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.0.72](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.71...@thi.ng/geom-hull@0.0.72) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-hull
+
+
+
+
+
## [0.0.71](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.70...@thi.ng/geom-hull@0.0.71) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-hull
diff --git a/packages/geom-hull/README.md b/packages/geom-hull/README.md
index df11238471..c8cd5c53c8 100644
--- a/packages/geom-hull/README.md
+++ b/packages/geom-hull/README.md
@@ -92,4 +92,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2013 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-hull/package.json b/packages/geom-hull/package.json
index 7dd112c1f4..00ea9a2bdb 100644
--- a/packages/geom-hull/package.json
+++ b/packages/geom-hull/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-hull",
- "version": "0.0.71",
+ "version": "0.0.72",
"description": "Fast 2D convex hull (Graham Scan)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,12 +45,12 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-io-obj/CHANGELOG.md b/packages/geom-io-obj/CHANGELOG.md
index fb0eaeb81a..104c337a6a 100644
--- a/packages/geom-io-obj/CHANGELOG.md
+++ b/packages/geom-io-obj/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.30](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-io-obj@0.1.29...@thi.ng/geom-io-obj@0.1.30) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-io-obj
+
+
+
+
+
## [0.1.29](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-io-obj@0.1.28...@thi.ng/geom-io-obj@0.1.29) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-io-obj
diff --git a/packages/geom-io-obj/README.md b/packages/geom-io-obj/README.md
index 28133748bd..c397067c53 100644
--- a/packages/geom-io-obj/README.md
+++ b/packages/geom-io-obj/README.md
@@ -170,4 +170,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-io-obj/package.json b/packages/geom-io-obj/package.json
index e829cd54b3..aaf9b54ab2 100644
--- a/packages/geom-io-obj/package.json
+++ b/packages/geom-io-obj/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-io-obj",
- "version": "0.1.29",
+ "version": "0.1.30",
"description": "Wavefront OBJ parser (& exporter soon)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,12 +45,12 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-isec/CHANGELOG.md b/packages/geom-isec/CHANGELOG.md
index dc8929ad12..fe7108d0af 100644
--- a/packages/geom-isec/CHANGELOG.md
+++ b/packages/geom-isec/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.7.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.7.3...@thi.ng/geom-isec@0.7.4) (2021-01-02)
+
+
+### Bug Fixes
+
+* **geom-isec:** fix [#269](https://github.com/thi-ng/umbrella/issues/269) update rayBox() ([441cddb](https://github.com/thi-ng/umbrella/commit/441cddbdc4707465a182f3fa903a4c6bdc4e9004))
+
+
+
+
+
## [0.7.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.7.2...@thi.ng/geom-isec@0.7.3) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-isec
diff --git a/packages/geom-isec/README.md b/packages/geom-isec/README.md
index b2dc4b9ce7..b3067fbfad 100644
--- a/packages/geom-isec/README.md
+++ b/packages/geom-isec/README.md
@@ -105,4 +105,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-isec/package.json b/packages/geom-isec/package.json
index 76c6a5b77d..6711e32693 100644
--- a/packages/geom-isec/package.json
+++ b/packages/geom-isec/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-isec",
- "version": "0.7.3",
+ "version": "0.7.4",
"description": "2D/3D shape intersection checks",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,15 +45,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/geom-closest-point": "^0.5.5",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/geom-closest-point": "^0.5.6",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-isec/src/ray-rect.ts b/packages/geom-isec/src/ray-rect.ts
index 122f498977..0d3fd93ef2 100644
--- a/packages/geom-isec/src/ray-rect.ts
+++ b/packages/geom-isec/src/ray-rect.ts
@@ -53,12 +53,12 @@ const rayBox: FnU4 = (rpos, dir, bmin, bmax) => {
d = 1 / dir[1];
t1 = (bmin[1] - p) * d;
t2 = (bmax[1] - p) * d;
+ tmin = max(tmin, min(t1, t2));
+ tmax = min(tmax, max(t1, t2));
p = rpos[2];
d = 1 / dir[2];
t1 = (bmin[2] - p) * d;
t2 = (bmax[2] - p) * d;
- tmin = max(tmin, min(t1, t2));
- tmax = min(tmax, max(t1, t2));
return [max(tmin, min(t1, t2)), min(tmax, max(t1, t2))];
};
@@ -73,9 +73,9 @@ const intersectWith = (
? inside
? {
type: IntersectionType.INTERSECT,
- inside,
isec: [maddN([], dir, tmax, rpos)],
alpha: tmax,
+ inside,
}
: {
type: IntersectionType.INTERSECT,
diff --git a/packages/geom-isec/test/ray.ts b/packages/geom-isec/test/ray.ts
new file mode 100644
index 0000000000..6e802eae06
--- /dev/null
+++ b/packages/geom-isec/test/ray.ts
@@ -0,0 +1,71 @@
+import { eqDelta, maddN3, mulN3, normalize, Vec } from "@thi.ng/vectors";
+import * as assert from "assert";
+import { intersectRayAABB } from "../src";
+
+describe("ray intersection", () => {
+ it("rayBox inside", () => {
+ const dirs: Vec[] = [
+ [-1, -1, -1],
+ [-1, -1, 0],
+ [-1, -1, 1],
+ [-1, 0, -1],
+ [-1, 0, 0],
+ [-1, 0, 1],
+ [-1, 1, -1],
+ [-1, 1, 0],
+ [-1, 1, 1],
+ [0, -1, -1],
+ [0, -1, 0],
+ [0, -1, 1],
+ [0, 0, -1],
+ [0, 0, 1],
+ [0, 1, -1],
+ [0, 1, 0],
+ [0, 1, 1],
+ [1, -1, -1],
+ [1, -1, 0],
+ [1, -1, 1],
+ [1, 0, -1],
+ [1, 0, 0],
+ [1, 0, 1],
+ [1, 1, -1],
+ [1, 1, 0],
+ [1, 1, 1],
+ ];
+ for (let d of dirs) {
+ const n = normalize([], d);
+ const i = intersectRayAABB([5, 5, 5], n, [0, 0, 0], [10, 10, 10]);
+ const expected = maddN3([], n, i.alpha!, [5, 5, 5]);
+ assert(i.inside, `inside d=${d}`);
+ assert(
+ eqDelta(expected, i.isec![0]),
+ `d=${d} isec=${i.isec}, exp=${expected}`
+ );
+ }
+ });
+
+ it("rayBox outside", () => {
+ const dirs: Vec[] = [
+ [1, 0, 0],
+ [0, 1, 0],
+ [0, 0, 1],
+ ];
+ for (let d of dirs) {
+ let o = mulN3([], d, -10);
+ let i = intersectRayAABB(o, d, [-5, -5, -5], [5, 5, 5]);
+ let expected = maddN3([], d, i.alpha!, o);
+ assert(
+ eqDelta(expected, i.isec![0]),
+ `d=${d} isec=${i.isec}, exp=${expected}`
+ );
+ d = mulN3(d, d, -1);
+ o = mulN3([], d, -10);
+ i = intersectRayAABB(o, d, [-5, -5, -5], [5, 5, 5]);
+ expected = maddN3([], d, i.alpha!, o);
+ assert(
+ eqDelta(expected, i.isec![0]),
+ `d=${d} isec=${i.isec}, exp=${expected}`
+ );
+ }
+ });
+});
diff --git a/packages/geom-isoline/CHANGELOG.md b/packages/geom-isoline/CHANGELOG.md
index a85351578a..265549bf68 100644
--- a/packages/geom-isoline/CHANGELOG.md
+++ b/packages/geom-isoline/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.70](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.69...@thi.ng/geom-isoline@0.1.70) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-isoline
+
+
+
+
+
## [0.1.69](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.68...@thi.ng/geom-isoline@0.1.69) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-isoline
diff --git a/packages/geom-isoline/README.md b/packages/geom-isoline/README.md
index d14019d3eb..ba024a284d 100644
--- a/packages/geom-isoline/README.md
+++ b/packages/geom-isoline/README.md
@@ -138,4 +138,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2015 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2015 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-isoline/package.json b/packages/geom-isoline/package.json
index f868c9a3e3..d4da9b2461 100644
--- a/packages/geom-isoline/package.json
+++ b/packages/geom-isoline/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-isoline",
- "version": "0.1.69",
+ "version": "0.1.70",
"description": "Fast 2D contour line extraction / generation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-poly-utils/CHANGELOG.md b/packages/geom-poly-utils/CHANGELOG.md
index e8a8563739..66f24495ef 100644
--- a/packages/geom-poly-utils/CHANGELOG.md
+++ b/packages/geom-poly-utils/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.3.0...@thi.ng/geom-poly-utils@0.3.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-poly-utils
+
+
+
+
+
# [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.2.2...@thi.ng/geom-poly-utils@0.3.0) (2020-12-22)
diff --git a/packages/geom-poly-utils/README.md b/packages/geom-poly-utils/README.md
index da893dfba4..5ac21cb5e9 100644
--- a/packages/geom-poly-utils/README.md
+++ b/packages/geom-poly-utils/README.md
@@ -88,4 +88,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-poly-utils/package.json b/packages/geom-poly-utils/package.json
index 23fd265060..e10f8bd71a 100644
--- a/packages/geom-poly-utils/package.json
+++ b/packages/geom-poly-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-poly-utils",
- "version": "0.3.0",
+ "version": "0.3.1",
"description": "2D polygon/polyline analysis & processing utilities",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,15 +45,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-resample/CHANGELOG.md b/packages/geom-resample/CHANGELOG.md
index e6643ca89c..87ae3dc261 100644
--- a/packages/geom-resample/CHANGELOG.md
+++ b/packages/geom-resample/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.52](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.2.51...@thi.ng/geom-resample@0.2.52) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-resample
+
+
+
+
+
## [0.2.51](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.2.50...@thi.ng/geom-resample@0.2.51) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-resample
diff --git a/packages/geom-resample/README.md b/packages/geom-resample/README.md
index 1678cbd42d..aa20879387 100644
--- a/packages/geom-resample/README.md
+++ b/packages/geom-resample/README.md
@@ -110,4 +110,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2013 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-resample/package.json b/packages/geom-resample/package.json
index 1bf3dcb3e7..05400363e1 100644
--- a/packages/geom-resample/package.json
+++ b/packages/geom-resample/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-resample",
- "version": "0.2.51",
+ "version": "0.2.52",
"description": "Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,15 +45,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/geom-closest-point": "^0.5.5",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/geom-closest-point": "^0.5.6",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-splines/CHANGELOG.md b/packages/geom-splines/CHANGELOG.md
index 350b933e19..502cd4b726 100644
--- a/packages/geom-splines/CHANGELOG.md
+++ b/packages/geom-splines/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.39](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.5.38...@thi.ng/geom-splines@0.5.39) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-splines
+
+
+
+
+
## [0.5.38](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.5.37...@thi.ng/geom-splines@0.5.38) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-splines
diff --git a/packages/geom-splines/README.md b/packages/geom-splines/README.md
index 472e979a64..2d0cd2c6b2 100644
--- a/packages/geom-splines/README.md
+++ b/packages/geom-splines/README.md
@@ -127,4 +127,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-splines/package.json b/packages/geom-splines/package.json
index b5aafab5cc..c4e0a0b0b3 100644
--- a/packages/geom-splines/package.json
+++ b/packages/geom-splines/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-splines",
- "version": "0.5.38",
+ "version": "0.5.39",
"description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib internal",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,17 +45,17 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/geom-arc": "^0.3.18",
- "@thi.ng/geom-resample": "^0.2.51",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/geom-arc": "^0.3.19",
+ "@thi.ng/geom-resample": "^0.2.52",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-subdiv-curve/CHANGELOG.md b/packages/geom-subdiv-curve/CHANGELOG.md
index 476e5cfc4a..221d55bb94 100644
--- a/packages/geom-subdiv-curve/CHANGELOG.md
+++ b/packages/geom-subdiv-curve/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.70](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.69...@thi.ng/geom-subdiv-curve@0.1.70) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-subdiv-curve
+
+
+
+
+
## [0.1.69](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.68...@thi.ng/geom-subdiv-curve@0.1.69) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-subdiv-curve
diff --git a/packages/geom-subdiv-curve/README.md b/packages/geom-subdiv-curve/README.md
index f005c4aaec..408de35a1c 100644
--- a/packages/geom-subdiv-curve/README.md
+++ b/packages/geom-subdiv-curve/README.md
@@ -94,4 +94,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-subdiv-curve/package.json b/packages/geom-subdiv-curve/package.json
index bd6b1927e0..7d8e24939c 100644
--- a/packages/geom-subdiv-curve/package.json
+++ b/packages/geom-subdiv-curve/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-subdiv-curve",
- "version": "0.1.69",
+ "version": "0.1.70",
"description": "Freely customizable, iterative nD subdivision curves for open / closed geometries",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,14 +45,14 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-tessellate/CHANGELOG.md b/packages/geom-tessellate/CHANGELOG.md
index d0ed1ce034..5e332a8843 100644
--- a/packages/geom-tessellate/CHANGELOG.md
+++ b/packages/geom-tessellate/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.53](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.2.52...@thi.ng/geom-tessellate@0.2.53) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-tessellate
+
+
+
+
+
## [0.2.52](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.2.51...@thi.ng/geom-tessellate@0.2.52) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-tessellate
diff --git a/packages/geom-tessellate/README.md b/packages/geom-tessellate/README.md
index 3ed98d8127..e6f7493f7f 100644
--- a/packages/geom-tessellate/README.md
+++ b/packages/geom-tessellate/README.md
@@ -99,4 +99,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-tessellate/package.json b/packages/geom-tessellate/package.json
index c09806779b..41df21cf0f 100644
--- a/packages/geom-tessellate/package.json
+++ b/packages/geom-tessellate/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-tessellate",
- "version": "0.2.52",
+ "version": "0.2.53",
"description": "2D/3D convex polygon tessellators",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,16 +45,16 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/geom-isec": "^0.7.3",
- "@thi.ng/geom-poly-utils": "^0.3.0",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/geom-isec": "^0.7.4",
+ "@thi.ng/geom-poly-utils": "^0.3.1",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom-voronoi/CHANGELOG.md b/packages/geom-voronoi/CHANGELOG.md
index 0eb5b8aa84..8b829e3e1a 100644
--- a/packages/geom-voronoi/CHANGELOG.md
+++ b/packages/geom-voronoi/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.2.14...@thi.ng/geom-voronoi@0.2.15) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom-voronoi
+
+
+
+
+
## [0.2.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.2.13...@thi.ng/geom-voronoi@0.2.14) (2020-12-22)
**Note:** Version bump only for package @thi.ng/geom-voronoi
diff --git a/packages/geom-voronoi/README.md b/packages/geom-voronoi/README.md
index 9ea12f7e3c..6470d7a6cd 100644
--- a/packages/geom-voronoi/README.md
+++ b/packages/geom-voronoi/README.md
@@ -133,4 +133,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom-voronoi/package.json b/packages/geom-voronoi/package.json
index b6dcbf4baa..88882a06ab 100644
--- a/packages/geom-voronoi/package.json
+++ b/packages/geom-voronoi/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-voronoi",
- "version": "0.2.14",
+ "version": "0.2.15",
"description": "Fast, incremental 2D Delaunay & Voronoi mesh implementation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,19 +45,19 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/geom-clip-line": "^1.2.14",
- "@thi.ng/geom-clip-poly": "^1.0.39",
- "@thi.ng/geom-isec": "^0.7.3",
- "@thi.ng/geom-poly-utils": "^0.3.0",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/quad-edge": "^0.2.27",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/geom-clip-line": "^1.2.15",
+ "@thi.ng/geom-clip-poly": "^1.0.40",
+ "@thi.ng/geom-isec": "^0.7.4",
+ "@thi.ng/geom-poly-utils": "^0.3.1",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/quad-edge": "^0.2.28",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/geom/CHANGELOG.md b/packages/geom/CHANGELOG.md
index 1894c2e6ff..f0443dec5c 100644
--- a/packages/geom/CHANGELOG.md
+++ b/packages/geom/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@2.0.0...@thi.ng/geom@2.0.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/geom
+
+
+
+
+
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.13.4...@thi.ng/geom@2.0.0) (2020-12-22)
diff --git a/packages/geom/README.md b/packages/geom/README.md
index 554e0b5023..a0cc06b08e 100644
--- a/packages/geom/README.md
+++ b/packages/geom/README.md
@@ -154,4 +154,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2013 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/geom/package.json b/packages/geom/package.json
index cd5d1c6419..9296a32623 100644
--- a/packages/geom/package.json
+++ b/packages/geom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom",
- "version": "2.0.0",
+ "version": "2.0.1",
"description": "Functional, polymorphic API for 2D geometry types & SVG generation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib api ctors internal ops",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,36 +45,36 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/arrays": "^0.8.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/defmulti": "^1.3.3",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/geom-api": "^2.0.0",
- "@thi.ng/geom-arc": "^0.3.18",
- "@thi.ng/geom-clip-line": "^1.2.14",
- "@thi.ng/geom-clip-poly": "^1.0.39",
- "@thi.ng/geom-closest-point": "^0.5.5",
- "@thi.ng/geom-hull": "^0.0.71",
- "@thi.ng/geom-isec": "^0.7.3",
- "@thi.ng/geom-poly-utils": "^0.3.0",
- "@thi.ng/geom-resample": "^0.2.51",
- "@thi.ng/geom-splines": "^0.5.38",
- "@thi.ng/geom-subdiv-curve": "^0.1.69",
- "@thi.ng/geom-tessellate": "^0.2.52",
- "@thi.ng/hiccup": "^3.6.5",
- "@thi.ng/hiccup-svg": "^3.6.6",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/matrices": "^0.6.38",
- "@thi.ng/random": "^2.1.3",
- "@thi.ng/strings": "^1.11.3",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/arrays": "^0.9.0",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/defmulti": "^1.3.4",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/geom-api": "^2.0.1",
+ "@thi.ng/geom-arc": "^0.3.19",
+ "@thi.ng/geom-clip-line": "^1.2.15",
+ "@thi.ng/geom-clip-poly": "^1.0.40",
+ "@thi.ng/geom-closest-point": "^0.5.6",
+ "@thi.ng/geom-hull": "^0.0.72",
+ "@thi.ng/geom-isec": "^0.7.4",
+ "@thi.ng/geom-poly-utils": "^0.3.1",
+ "@thi.ng/geom-resample": "^0.2.52",
+ "@thi.ng/geom-splines": "^0.5.39",
+ "@thi.ng/geom-subdiv-curve": "^0.1.70",
+ "@thi.ng/geom-tessellate": "^0.2.53",
+ "@thi.ng/hiccup": "^3.6.6",
+ "@thi.ng/hiccup-svg": "^3.7.0",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/matrices": "^0.6.39",
+ "@thi.ng/random": "^2.1.4",
+ "@thi.ng/strings": "^1.11.4",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/gp/CHANGELOG.md b/packages/gp/CHANGELOG.md
index b9dc2f5239..45028fe8df 100644
--- a/packages/gp/CHANGELOG.md
+++ b/packages/gp/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/gp@0.2.0...@thi.ng/gp@0.2.1) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/gp
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/gp@0.1.35...@thi.ng/gp@0.2.0) (2020-12-22)
diff --git a/packages/gp/README.md b/packages/gp/README.md
index a193031141..7f53fad98d 100644
--- a/packages/gp/README.md
+++ b/packages/gp/README.md
@@ -122,4 +122,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2019 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2019 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/gp/package.json b/packages/gp/package.json
index 6c18aea1bb..498ad3c5ad 100644
--- a/packages/gp/package.json
+++ b/packages/gp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/gp",
- "version": "0.2.0",
+ "version": "0.2.1",
"description": "Genetic programming helpers & strategies (tree based & multi-expression programming)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -45,15 +45,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/random": "^2.1.3",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/zipper": "^0.1.30"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/random": "^2.1.4",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/zipper": "^0.1.31"
},
"files": [
"*.js",
diff --git a/packages/grid-iterators/CHANGELOG.md b/packages/grid-iterators/CHANGELOG.md
index 4a4c567669..dc5f207e66 100644
--- a/packages/grid-iterators/CHANGELOG.md
+++ b/packages/grid-iterators/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.4.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/grid-iterators@0.4.16...@thi.ng/grid-iterators@0.4.17) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/grid-iterators
+
+
+
+
+
## [0.4.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/grid-iterators@0.4.15...@thi.ng/grid-iterators@0.4.16) (2020-12-22)
**Note:** Version bump only for package @thi.ng/grid-iterators
diff --git a/packages/grid-iterators/README.md b/packages/grid-iterators/README.md
index 680a977626..d7c0567821 100644
--- a/packages/grid-iterators/README.md
+++ b/packages/grid-iterators/README.md
@@ -228,4 +228,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2019 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2019 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/grid-iterators/package.json b/packages/grid-iterators/package.json
index 6f1107e1f6..9aacaddca0 100644
--- a/packages/grid-iterators/package.json
+++ b/packages/grid-iterators/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/grid-iterators",
- "version": "0.4.16",
+ "version": "0.4.17",
"description": "2D grid iterators w/ multiple orderings",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -46,15 +46,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/arrays": "^0.8.5",
- "@thi.ng/binary": "^2.0.20",
- "@thi.ng/morton": "^2.0.29",
- "@thi.ng/random": "^2.1.3",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/arrays": "^0.9.0",
+ "@thi.ng/binary": "^2.0.21",
+ "@thi.ng/morton": "^2.0.30",
+ "@thi.ng/random": "^2.1.4",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/hdiff/CHANGELOG.md b/packages/hdiff/CHANGELOG.md
index f75fdd6453..28934dc20a 100644
--- a/packages/hdiff/CHANGELOG.md
+++ b/packages/hdiff/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdiff@0.1.20...@thi.ng/hdiff@0.1.21) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hdiff
+
+
+
+
+
## [0.1.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdiff@0.1.19...@thi.ng/hdiff@0.1.20) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hdiff
diff --git a/packages/hdiff/README.md b/packages/hdiff/README.md
index 04f0d62c78..f8197c2a21 100644
--- a/packages/hdiff/README.md
+++ b/packages/hdiff/README.md
@@ -132,4 +132,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hdiff/package.json b/packages/hdiff/package.json
index 00da56b861..e236eddf43 100644
--- a/packages/hdiff/package.json
+++ b/packages/hdiff/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdiff",
- "version": "0.1.20",
+ "version": "0.1.21",
"description": "String diffing w/ hiccup output for further processing, e.g. with @thi.ng/hdom, @thi.ng/hiccup. Includes CLI util to generate HTML, with theme support and code folding",
"module": "./index.js",
"main": "./lib/index.js",
@@ -36,7 +36,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -47,15 +47,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/diff": "^4.0.0",
- "@thi.ng/hiccup": "^3.6.5",
- "@thi.ng/hiccup-css": "^1.1.43",
- "@thi.ng/strings": "^1.11.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/diff": "^4.0.1",
+ "@thi.ng/hiccup": "^3.6.6",
+ "@thi.ng/hiccup-css": "^1.1.44",
+ "@thi.ng/strings": "^1.11.4"
},
"files": [
"*.js",
diff --git a/packages/hdom-canvas/CHANGELOG.md b/packages/hdom-canvas/CHANGELOG.md
index 519f21e3c6..4ab01e281a 100644
--- a/packages/hdom-canvas/CHANGELOG.md
+++ b/packages/hdom-canvas/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.0.25](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@3.0.24...@thi.ng/hdom-canvas@3.0.25) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hdom-canvas
+
+
+
+
+
## [3.0.24](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@3.0.23...@thi.ng/hdom-canvas@3.0.24) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hdom-canvas
diff --git a/packages/hdom-canvas/README.md b/packages/hdom-canvas/README.md
index 9d255d8ee3..369daa95fa 100644
--- a/packages/hdom-canvas/README.md
+++ b/packages/hdom-canvas/README.md
@@ -296,4 +296,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hdom-canvas/package.json b/packages/hdom-canvas/package.json
index 49ab953fc4..e57306f531 100644
--- a/packages/hdom-canvas/package.json
+++ b/packages/hdom-canvas/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom-canvas",
- "version": "3.0.24",
+ "version": "3.0.25",
"description": "@thi.ng/hdom component wrapper for declarative canvas scenegraphs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib draw",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,15 +45,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/diff": "^4.0.0",
- "@thi.ng/hdom": "^8.2.14",
- "@thi.ng/hiccup-canvas": "^1.1.14"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/diff": "^4.0.1",
+ "@thi.ng/hdom": "^8.2.15",
+ "@thi.ng/hiccup-canvas": "^1.1.15"
},
"files": [
"*.js",
diff --git a/packages/hdom-components/CHANGELOG.md b/packages/hdom-components/CHANGELOG.md
index 3f8879c52b..46940a76cd 100644
--- a/packages/hdom-components/CHANGELOG.md
+++ b/packages/hdom-components/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [4.0.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@4.0.18...@thi.ng/hdom-components@4.0.19) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hdom-components
+
+
+
+
+
## [4.0.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@4.0.17...@thi.ng/hdom-components@4.0.18) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hdom-components
diff --git a/packages/hdom-components/README.md b/packages/hdom-components/README.md
index 1b0a28a915..4766c8ff7f 100644
--- a/packages/hdom-components/README.md
+++ b/packages/hdom-components/README.md
@@ -130,4 +130,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hdom-components/package.json b/packages/hdom-components/package.json
index b48542b091..d92d7103dd 100644
--- a/packages/hdom-components/package.json
+++ b/packages/hdom-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom-components",
- "version": "4.0.18",
+ "version": "4.0.19",
"description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib utils",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,16 +45,16 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/adapt-dpi": "^1.0.12",
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/transducers": "^7.5.3",
- "@thi.ng/transducers-stats": "^1.1.44"
+ "@thi.ng/adapt-dpi": "^1.0.13",
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/transducers": "^7.5.4",
+ "@thi.ng/transducers-stats": "^1.1.45"
},
"files": [
"*.js",
diff --git a/packages/hdom-mock/CHANGELOG.md b/packages/hdom-mock/CHANGELOG.md
index 18a2851971..bbde1a88f7 100644
--- a/packages/hdom-mock/CHANGELOG.md
+++ b/packages/hdom-mock/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.47](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.46...@thi.ng/hdom-mock@1.1.47) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hdom-mock
+
+
+
+
+
## [1.1.46](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.45...@thi.ng/hdom-mock@1.1.46) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hdom-mock
diff --git a/packages/hdom-mock/README.md b/packages/hdom-mock/README.md
index 0665785373..8d580af31b 100644
--- a/packages/hdom-mock/README.md
+++ b/packages/hdom-mock/README.md
@@ -119,4 +119,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hdom-mock/package.json b/packages/hdom-mock/package.json
index a4cedc3bc4..eea567caa3 100644
--- a/packages/hdom-mock/package.json
+++ b/packages/hdom-mock/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom-mock",
- "version": "1.1.46",
+ "version": "1.1.47",
"description": "Mock base implementation for @thi.ng/hdom API",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/hdom": "^8.2.14"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/hdom": "^8.2.15"
},
"files": [
"*.js",
diff --git a/packages/hdom/CHANGELOG.md b/packages/hdom/CHANGELOG.md
index a5abb5d07f..f599ffbc5b 100644
--- a/packages/hdom/CHANGELOG.md
+++ b/packages/hdom/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [8.2.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.2.14...@thi.ng/hdom@8.2.15) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hdom
+
+
+
+
+
## [8.2.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.2.13...@thi.ng/hdom@8.2.14) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hdom
diff --git a/packages/hdom/README.md b/packages/hdom/README.md
index 31f46b3a3a..f2a871f560 100644
--- a/packages/hdom/README.md
+++ b/packages/hdom/README.md
@@ -16,15 +16,15 @@ This project is part of the
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Usage examples](#usage-examples)
- - [Minimal example #1: Local state, RAF update](#minimal-example-1--local-state--raf-update)
- - [Minimal example #2: Reactive, push-based state & update](#minimal-example-2--reactive--push-based-state--update)
- - [Minimal example #3: Immutable app state & interceptors](#minimal-example-3--immutable-app-state--interceptors)
- - [Minimal example #4: Canvas scene tree / branch-local behavior](#minimal-example-4--canvas-scene-tree---branch-local-behavior)
+ - [Minimal example #1: Local state, RAF update](#minimal-example-1-local-state-raf-update)
+ - [Minimal example #2: Reactive, push-based state & update](#minimal-example-2-reactive-push-based-state--update)
+ - [Minimal example #3: Immutable app state & interceptors](#minimal-example-3-immutable-app-state--interceptors)
+ - [Minimal example #4: Canvas scene tree / branch-local behavior](#minimal-example-4-canvas-scene-tree--branch-local-behavior)
- [API](#api)
- [The hdom data flow](#the-hdom-data-flow)
- [Nested arrays](#nested-arrays)
- [Attribute objects](#attribute-objects)
- - [Pure functions and/or closures](#pure-functions-and-or-closures)
+ - [Pure functions and/or closures](#pure-functions-andor-closures)
- [Iterators](#iterators)
- [Interface support](#interface-support)
- [Component objects with life cycle methods](#component-objects-with-life-cycle-methods)
@@ -44,12 +44,12 @@ This project is part of the
- [User context](#user-context)
- [`value` attribute handling](#value-attribute-handling)
- [Behavior control attributes](#behavior-control-attributes)
- - [\_\_impl](#impl)
- - [\_\_diff](#diff)
- - [\_\_normalize](#normalize)
- - [\_\_release](#release)
- - [\_\_serialize](#serialize)
- - [\_\_skip](#skip)
+ - [\_\_impl](#__impl)
+ - [\_\_diff](#__diff)
+ - [\_\_normalize](#__normalize)
+ - [\_\_release](#__release)
+ - [\_\_serialize](#__serialize)
+ - [\_\_skip](#__skip)
- [Benchmarks](#benchmarks)
- [Authors](#authors)
- [Maintainer](#maintainer)
@@ -1242,4 +1242,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2015 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2015 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hdom/package.json b/packages/hdom/package.json
index 72982a06ed..984f349c42 100644
--- a/packages/hdom/package.json
+++ b/packages/hdom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom",
- "version": "8.2.14",
+ "version": "8.2.15",
"description": "Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,30 +33,30 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.12.1",
- "@thi.ng/atom": "^4.1.25",
+ "@thi.ng/atom": "^4.1.26",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/diff": "^4.0.0",
- "@thi.ng/equiv": "^1.0.34",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/hiccup": "^3.6.5",
- "@thi.ng/prefixes": "^0.1.9"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/diff": "^4.0.1",
+ "@thi.ng/equiv": "^1.0.35",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/hiccup": "^3.6.6",
+ "@thi.ng/prefixes": "^0.1.10"
},
"files": [
"*.js",
diff --git a/packages/heaps/CHANGELOG.md b/packages/heaps/CHANGELOG.md
index 9f4330a6cf..e454a806f5 100644
--- a/packages/heaps/CHANGELOG.md
+++ b/packages/heaps/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.30](https://github.com/thi-ng/umbrella/compare/@thi.ng/heaps@1.2.29...@thi.ng/heaps@1.2.30) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/heaps
+
+
+
+
+
## [1.2.29](https://github.com/thi-ng/umbrella/compare/@thi.ng/heaps@1.2.28...@thi.ng/heaps@1.2.29) (2020-12-22)
**Note:** Version bump only for package @thi.ng/heaps
diff --git a/packages/heaps/README.md b/packages/heaps/README.md
index 5cf76bd5c4..a3273b63b3 100644
--- a/packages/heaps/README.md
+++ b/packages/heaps/README.md
@@ -101,4 +101,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2017 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2017 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/heaps/package.json b/packages/heaps/package.json
index ad4185bf3b..967dcbe9be 100644
--- a/packages/heaps/package.json
+++ b/packages/heaps/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/heaps",
- "version": "1.2.29",
+ "version": "1.2.30",
"description": "Various heap implementations for arbitrary values and with customizable ordering",
"module": "./index.js",
"main": "./lib/index.js",
@@ -34,7 +34,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -46,12 +46,12 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/compare": "^1.3.21"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/compare": "^1.3.22"
},
"files": [
"*.js",
diff --git a/packages/hex/CHANGELOG.md b/packages/hex/CHANGELOG.md
index 40ee2983d4..31d11b6b9b 100644
--- a/packages/hex/CHANGELOG.md
+++ b/packages/hex/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@0.1.2...@thi.ng/hex@0.1.3) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hex
+
+
+
+
+
## [0.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@0.1.1...@thi.ng/hex@0.1.2) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hex
diff --git a/packages/hex/README.md b/packages/hex/README.md
index a5601e8900..baaea52505 100644
--- a/packages/hex/README.md
+++ b/packages/hex/README.md
@@ -108,4 +108,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hex/package.json b/packages/hex/package.json
index 02342fd519..1e81596e18 100644
--- a/packages/hex/package.json
+++ b/packages/hex/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hex",
- "version": "0.1.2",
+ "version": "0.1.3",
"description": "Hex string formatters for 4/8/16/24/32/48/64bit words",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,7 +45,7 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"files": [
diff --git a/packages/hiccup-canvas/CHANGELOG.md b/packages/hiccup-canvas/CHANGELOG.md
index 79045b5218..78a30e2f14 100644
--- a/packages/hiccup-canvas/CHANGELOG.md
+++ b/packages/hiccup-canvas/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-canvas@1.1.14...@thi.ng/hiccup-canvas@1.1.15) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hiccup-canvas
+
+
+
+
+
## [1.1.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-canvas@1.1.13...@thi.ng/hiccup-canvas@1.1.14) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hiccup-canvas
diff --git a/packages/hiccup-canvas/README.md b/packages/hiccup-canvas/README.md
index bcecf15c1d..f8847ce2c9 100644
--- a/packages/hiccup-canvas/README.md
+++ b/packages/hiccup-canvas/README.md
@@ -22,12 +22,12 @@ This project is part of the
- [Definition group](#definition-group)
- [Circle](#circle)
- [Circular arc](#circular-arc)
- - [Ellipse / elliptic arc](#ellipse---elliptic-arc)
+ - [Ellipse / elliptic arc](#ellipse--elliptic-arc)
- [Rect](#rect)
- [Line](#line)
- [Horizontal Line](#horizontal-line)
- [Vertical Line](#vertical-line)
- - [Polyline / Polygon](#polyline---polygon)
+ - [Polyline / Polygon](#polyline--polygon)
- [Path](#path)
- [SVG paths with arc segments](#svg-paths-with-arc-segments)
- [Points](#points)
@@ -40,7 +40,7 @@ This project is part of the
- [String](#string)
- [Number](#number)
- [Array](#array)
- - [@thi.ng/color values](#thing-color-values)
+ - [@thi.ng/color values](#thingcolor-values)
- [Coordinate transformations](#coordinate-transformations)
- [Transform matrix](#transform-matrix)
- [Override transform](#override-transform)
@@ -503,4 +503,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hiccup-canvas/package.json b/packages/hiccup-canvas/package.json
index 27d9913c94..729651dc7c 100644
--- a/packages/hiccup-canvas/package.json
+++ b/packages/hiccup-canvas/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-canvas",
- "version": "1.1.14",
+ "version": "1.1.15",
"description": "Hiccup shape tree renderer for vanilla Canvas 2D contexts",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -44,15 +44,15 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/color": "^2.0.0",
- "@thi.ng/math": "^3.0.0",
- "@thi.ng/vectors": "^4.8.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/color": "^2.1.0",
+ "@thi.ng/math": "^3.0.1",
+ "@thi.ng/vectors": "^4.8.4"
},
"files": [
"*.js",
diff --git a/packages/hiccup-carbon-icons/CHANGELOG.md b/packages/hiccup-carbon-icons/CHANGELOG.md
index 07c5513df6..37b057f0cc 100644
--- a/packages/hiccup-carbon-icons/CHANGELOG.md
+++ b/packages/hiccup-carbon-icons/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@2.0.8...@thi.ng/hiccup-carbon-icons@2.0.9) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hiccup-carbon-icons
+
+
+
+
+
## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@2.0.7...@thi.ng/hiccup-carbon-icons@2.0.8) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hiccup-carbon-icons
diff --git a/packages/hiccup-carbon-icons/README.md b/packages/hiccup-carbon-icons/README.md
index 07cdc43c6f..c62e4fa190 100644
--- a/packages/hiccup-carbon-icons/README.md
+++ b/packages/hiccup-carbon-icons/README.md
@@ -160,4 +160,4 @@ If this project contributes to an academic publication, please cite it as:
The copyright of the original icons is with IBM. The icons were published under
the same license as this package.
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hiccup-carbon-icons/package.json b/packages/hiccup-carbon-icons/package.json
index c048b504b3..56862b9617 100644
--- a/packages/hiccup-carbon-icons/package.json
+++ b/packages/hiccup-carbon-icons/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-carbon-icons",
- "version": "2.0.8",
+ "version": "2.0.9",
"description": "Full set of IBM's Carbon icons in hiccup format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -35,20 +35,20 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.map *.d.ts .nyc_output build coverage doc lib utils",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.12.1",
- "@thi.ng/hiccup": "^3.6.5",
+ "@thi.ng/hiccup": "^3.6.6",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"files": [
diff --git a/packages/hiccup-css/CHANGELOG.md b/packages/hiccup-css/CHANGELOG.md
index fed65d0c80..777c94748a 100644
--- a/packages/hiccup-css/CHANGELOG.md
+++ b/packages/hiccup-css/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.44](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.1.43...@thi.ng/hiccup-css@1.1.44) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hiccup-css
+
+
+
+
+
## [1.1.43](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.1.42...@thi.ng/hiccup-css@1.1.43) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hiccup-css
diff --git a/packages/hiccup-css/README.md b/packages/hiccup-css/README.md
index de7ace0ef4..8dfc11b6a6 100644
--- a/packages/hiccup-css/README.md
+++ b/packages/hiccup-css/README.md
@@ -663,4 +663,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hiccup-css/package.json b/packages/hiccup-css/package.json
index 64b505e526..802e2d3557 100644
--- a/packages/hiccup-css/package.json
+++ b/packages/hiccup-css/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-css",
- "version": "1.1.43",
+ "version": "1.1.44",
"description": "CSS from nested JS data structures",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,14 +45,14 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/hiccup-html/CHANGELOG.md b/packages/hiccup-html/CHANGELOG.md
index e563bcaa6c..dcb8ec40d5 100644
--- a/packages/hiccup-html/CHANGELOG.md
+++ b/packages/hiccup-html/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@0.3.10...@thi.ng/hiccup-html@0.3.11) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hiccup-html
+
+
+
+
+
## [0.3.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@0.3.9...@thi.ng/hiccup-html@0.3.10) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hiccup-html
diff --git a/packages/hiccup-html/README.md b/packages/hiccup-html/README.md
index 7dc7b12311..3306301f81 100644
--- a/packages/hiccup-html/README.md
+++ b/packages/hiccup-html/README.md
@@ -11,13 +11,13 @@ This project is part of the
- [About](#about)
- [Supported elements](#supported-elements)
- - [Head / metadata](#head---metadata)
+ - [Head / metadata](#head--metadata)
- [Sections](#sections)
- [Text content](#text-content)
- [Lists](#lists)
- [Tables](#tables)
- [Inline](#inline)
- - [Forms / inputs](#forms---inputs)
+ - [Forms / inputs](#forms--inputs)
- [Media](#media)
- [Compatibility](#compatibility)
- [Status](#status)
@@ -352,4 +352,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2020 Karsten Schmidt // Apache Software License 2.0
+© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hiccup-html/package.json b/packages/hiccup-html/package.json
index dbdfe7e328..a52c5b6bb0 100644
--- a/packages/hiccup-html/package.json
+++ b/packages/hiccup-html/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-html",
- "version": "0.3.10",
+ "version": "0.3.11",
"description": "100+ type-checked HTML5 element functions for @thi.ng/hiccup related infrastructure",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
@@ -44,11 +44,11 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5"
+ "@thi.ng/api": "^6.13.6"
},
"files": [
"*.js",
diff --git a/packages/hiccup-markdown/CHANGELOG.md b/packages/hiccup-markdown/CHANGELOG.md
index 1a24bf2d00..70cbb0eb3a 100644
--- a/packages/hiccup-markdown/CHANGELOG.md
+++ b/packages/hiccup-markdown/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.40](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.2.39...@thi.ng/hiccup-markdown@1.2.40) (2021-01-02)
+
+**Note:** Version bump only for package @thi.ng/hiccup-markdown
+
+
+
+
+
## [1.2.39](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.2.38...@thi.ng/hiccup-markdown@1.2.39) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hiccup-markdown
diff --git a/packages/hiccup-markdown/README.md b/packages/hiccup-markdown/README.md
index 01b5f63bbd..8ea441f0c3 100644
--- a/packages/hiccup-markdown/README.md
+++ b/packages/hiccup-markdown/README.md
@@ -413,4 +413,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hiccup-markdown/package.json b/packages/hiccup-markdown/package.json
index e25dceb1e9..c33be71c1c 100644
--- a/packages/hiccup-markdown/package.json
+++ b/packages/hiccup-markdown/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-markdown",
- "version": "1.2.39",
+ "version": "1.2.40",
"description": "Markdown parser & serializer from/to Hiccup format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,20 +45,20 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/api": "^6.13.5",
- "@thi.ng/arrays": "^0.8.5",
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/defmulti": "^1.3.3",
- "@thi.ng/errors": "^1.2.25",
- "@thi.ng/fsm": "^2.4.30",
- "@thi.ng/hiccup": "^3.6.5",
- "@thi.ng/strings": "^1.11.3",
- "@thi.ng/text-canvas": "^0.2.36",
- "@thi.ng/transducers": "^7.5.3"
+ "@thi.ng/api": "^6.13.6",
+ "@thi.ng/arrays": "^0.9.0",
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/defmulti": "^1.3.4",
+ "@thi.ng/errors": "^1.2.26",
+ "@thi.ng/fsm": "^2.4.31",
+ "@thi.ng/hiccup": "^3.6.6",
+ "@thi.ng/strings": "^1.11.4",
+ "@thi.ng/text-canvas": "^0.3.0",
+ "@thi.ng/transducers": "^7.5.4"
},
"files": [
"*.js",
diff --git a/packages/hiccup-svg/CHANGELOG.md b/packages/hiccup-svg/CHANGELOG.md
index f19d9f6749..da4d627221 100644
--- a/packages/hiccup-svg/CHANGELOG.md
+++ b/packages/hiccup-svg/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [3.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.6.6...@thi.ng/hiccup-svg@3.7.0) (2021-01-02)
+
+
+### Features
+
+* **hiccup-svg:** update svg(), add convert attrib ([cd67a09](https://github.com/thi-ng/umbrella/commit/cd67a09c61c93bc7a84ac63eab48f85ab6c52d2a))
+
+
+
+
+
## [3.6.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.6.5...@thi.ng/hiccup-svg@3.6.6) (2020-12-22)
**Note:** Version bump only for package @thi.ng/hiccup-svg
diff --git a/packages/hiccup-svg/README.md b/packages/hiccup-svg/README.md
index 7ffa88ad7f..b4459b7a94 100644
--- a/packages/hiccup-svg/README.md
+++ b/packages/hiccup-svg/README.md
@@ -11,7 +11,7 @@ This project is part of the
- [About](#about)
- [Important](#important)
- - [SVG conversion of @thi.ng/geom & @thi.ng/hdom-canvas shape trees](#svg-conversion-of-thing-geom--thing-hdom-canvas-shape-trees)
+ - [SVG conversion of @thi.ng/geom & @thi.ng/hdom-canvas shape trees](#svg-conversion-of-thinggeom--thinghdom-canvas-shape-trees)
- [Automatic attribute conversions](#automatic-attribute-conversions)
- [Colors](#colors)
- [Transforms](#transforms)
@@ -61,6 +61,28 @@ returns a new tree. The original remains untouched, as will any
unrecognized tree / shape nodes (those will be transferred as-is to the
result tree). See example below.
+Since v3.7.0 tree conversion can be implicitly triggered by providing a
+`convert: true` attribute to the root `svg()` element.
+
+```ts
+// create SVG root element and convert body
+svg(
+ { width: 100, height: 100, convert: true},
+ ["rect", { fill: [1, 0, 0] }, [0,0], 100, 100]
+)
+// [
+// 'svg',
+// {
+// version: '1.1',
+// xmlns: 'http://www.w3.org/2000/svg',
+// 'xmlns:xlink': 'http://www.w3.org/1999/xlink',
+// width: 100,
+// height: 100
+// },
+// [ 'rect', { fill: '#ff0000', x: 0, y: 0, width: 100, height: 100 } ]
+// ]
+```
+
### Automatic attribute conversions
#### Colors
@@ -131,7 +153,7 @@ yarn add @thi.ng/hiccup-svg
```
-Package sizes (gzipped, pre-treeshake): ESM: 2.49 KB / CJS: 2.61 KB / UMD: 2.53 KB
+Package sizes (gzipped, pre-treeshake): ESM: 2.51 KB / CJS: 2.63 KB / UMD: 2.56 KB
## Dependencies
@@ -244,4 +266,4 @@ If this project contributes to an academic publication, please cite it as:
## License
-© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
+© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
diff --git a/packages/hiccup-svg/package.json b/packages/hiccup-svg/package.json
index 16a51f21f2..4624b329dd 100644
--- a/packages/hiccup-svg/package.json
+++ b/packages/hiccup-svg/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-svg",
- "version": "3.6.6",
+ "version": "3.7.0",
"description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -33,7 +33,7 @@
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc --theme ../../tools/doc/typedoc-theme src",
+ "doc": "node_modules/.bin/typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
@@ -45,13 +45,13 @@
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
- "typedoc": "^0.19.2",
+ "typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"dependencies": {
- "@thi.ng/checks": "^2.7.12",
- "@thi.ng/color": "^2.0.0",
- "@thi.ng/prefixes": "^0.1.9"
+ "@thi.ng/checks": "^2.7.13",
+ "@thi.ng/color": "^2.1.0",
+ "@thi.ng/prefixes": "^0.1.10"
},
"files": [
"*.js",
diff --git a/packages/hiccup-svg/src/svg.ts b/packages/hiccup-svg/src/svg.ts
index c5e74c0896..b48820f37b 100644
--- a/packages/hiccup-svg/src/svg.ts
+++ b/packages/hiccup-svg/src/svg.ts
@@ -1,21 +1,31 @@
import { XML_SVG, XML_XLINK } from "@thi.ng/prefixes";
+import { convertTree } from "./convert";
import { fattribs } from "./format";
/**
* Defines an