@thi.ng/color 5.5.26 → 5.5.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-10-23T07:37:37Z
3
+ - **Last updated**: 2023-10-30T14:31:56Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [5.5.27](https://github.com/thi-ng/umbrella/tree/@thi.ng/color@5.5.27) (2023-10-27)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update vector imports ([95f1d64](https://github.com/thi-ng/umbrella/commit/95f1d64))
17
+
12
18
  ### [5.5.19](https://github.com/thi-ng/umbrella/tree/@thi.ng/color@5.5.19) (2023-09-19)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -602,7 +602,7 @@ For Node.js REPL:
602
602
  const color = await import("@thi.ng/color");
603
603
  ```
604
604
 
605
- Package sizes (brotli'd, pre-treeshake): ESM: 15.56 KB
605
+ Package sizes (brotli'd, pre-treeshake): ESM: 15.59 KB
606
606
 
607
607
  ## Dependencies
608
608
 
@@ -622,14 +622,13 @@ Package sizes (brotli'd, pre-treeshake): ESM: 15.56 KB
622
622
 
623
623
  ## Usage examples
624
624
 
625
- Several demos in this repo's
625
+ Several projects in this repo's
626
626
  [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
627
- directory are using this package.
628
-
629
- A selection:
627
+ directory are using this package:
630
628
 
631
629
  | Screenshot | Description | Live demo | Source |
632
630
  |:-------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------|
631
+ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/boid-basics.png" width="240"/> | Basic 2D boid simulation and spatial indexing neighbor lookups | [Demo](https://demo.thi.ng/umbrella/boid-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/boid-basics) |
633
632
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/color-themes.png" width="240"/> | Probabilistic color theme generator | [Demo](https://demo.thi.ng/umbrella/color-themes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/color-themes) |
634
633
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/commit-heatmap.png" width="240"/> | Heatmap visualization of this mono-repo's commits | | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/commit-heatmap) |
635
634
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/dominant-colors.png" width="240"/> | Color palette generation via dominant color extraction from uploaded images | [Demo](https://demo.thi.ng/umbrella/dominant-colors/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/dominant-colors) |
package/defcolor.js CHANGED
@@ -11,7 +11,7 @@ import { clamp4 } from "@thi.ng/vectors/clamp";
11
11
  import { declareIndices } from "@thi.ng/vectors/compile/accessors";
12
12
  import { eqDelta4 } from "@thi.ng/vectors/eqdelta";
13
13
  import { stridedValues } from "@thi.ng/vectors/iterator";
14
- import { randMinMax } from "@thi.ng/vectors/random";
14
+ import { randMinMax } from "@thi.ng/vectors/rand-minmax";
15
15
  import { set4 } from "@thi.ng/vectors/set";
16
16
  import { convert, defConversions } from "./convert.js";
17
17
  import { parseCss } from "./css/parse-css.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/color",
3
- "version": "5.5.26",
3
+ "version": "5.5.28",
4
4
  "description": "Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,18 +39,18 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@thi.ng/api": "^8.9.6",
42
- "@thi.ng/arrays": "^2.6.5",
43
- "@thi.ng/binary": "^3.3.34",
42
+ "@thi.ng/arrays": "^2.7.1",
43
+ "@thi.ng/binary": "^3.3.35",
44
44
  "@thi.ng/checks": "^3.4.6",
45
- "@thi.ng/compare": "^2.2.1",
46
- "@thi.ng/compose": "^2.1.44",
47
- "@thi.ng/defmulti": "^3.0.2",
45
+ "@thi.ng/compare": "^2.2.2",
46
+ "@thi.ng/compose": "^2.1.45",
47
+ "@thi.ng/defmulti": "^3.0.3",
48
48
  "@thi.ng/errors": "^2.4.0",
49
- "@thi.ng/math": "^5.6.3",
50
- "@thi.ng/random": "^3.6.10",
51
- "@thi.ng/strings": "^3.6.2",
52
- "@thi.ng/transducers": "^8.8.5",
53
- "@thi.ng/vectors": "^7.7.22"
49
+ "@thi.ng/math": "^5.7.1",
50
+ "@thi.ng/random": "^3.6.11",
51
+ "@thi.ng/strings": "^3.6.3",
52
+ "@thi.ng/transducers": "^8.8.7",
53
+ "@thi.ng/vectors": "^7.8.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@microsoft/api-extractor": "^7.38.0",
@@ -445,5 +445,5 @@
445
445
  "vectors"
446
446
  ]
447
447
  },
448
- "gitHead": "fc6e14052ed24bf9196896980ceb9f398b6ea6c1\n"
448
+ "gitHead": "bfa16829786146bd24df3cdbd44649a45a603e44\n"
449
449
  }