@thi.ng/color-palettes 1.5.26 → 1.5.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +95 -95
  2. package/CHANGELOG.md +0 -102
package/package.json CHANGED
@@ -1,96 +1,96 @@
1
1
  {
2
- "name": "@thi.ng/color-palettes",
3
- "version": "1.5.26",
4
- "description": "Collection of 200+ image based color themes & composable theme query filters",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/color-palettes",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:binary": "bun tools/encode.ts",
33
- "build:decl": "tsc --declaration --emitDeclarationOnly",
34
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
35
- "clean": "bun ../../tools/src/clean-package.ts",
36
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
37
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
- "pub": "yarn npm publish --access public",
39
- "test": "bun test",
40
- "tool:swatches": "bun tools/swatches.ts",
41
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
42
- },
43
- "dependencies": {
44
- "@thi.ng/api": "^8.12.2",
45
- "@thi.ng/base-n": "^2.7.48",
46
- "@thi.ng/checks": "^3.7.18",
47
- "@thi.ng/color": "^5.7.62",
48
- "@thi.ng/errors": "^2.5.42",
49
- "@thi.ng/hex": "^2.3.80"
50
- },
51
- "devDependencies": {
52
- "esbuild": "^0.25.9",
53
- "typedoc": "^0.28.12",
54
- "typescript": "^5.9.2"
55
- },
56
- "keywords": [
57
- "color",
58
- "css",
59
- "dominant",
60
- "image",
61
- "palette",
62
- "rgb",
63
- "swatches",
64
- "theme",
65
- "typescript"
66
- ],
67
- "publishConfig": {
68
- "access": "public"
69
- },
70
- "engines": {
71
- "node": ">=18"
72
- },
73
- "files": [
74
- "./*.js",
75
- "./*.d.ts"
76
- ],
77
- "exports": {
78
- ".": {
79
- "default": "./index.js"
80
- },
81
- "./api": {
82
- "default": "./api.js"
83
- },
84
- "./filter": {
85
- "default": "./filter.js"
86
- },
87
- "./theme": {
88
- "default": "./theme.js"
89
- }
90
- },
91
- "thi.ng": {
92
- "parent": "@thi.ng/color",
93
- "year": 2021
94
- },
95
- "gitHead": "fbf4b46ba8a5ecff8c5423f4c2d158d208d20fc8\n"
96
- }
2
+ "name": "@thi.ng/color-palettes",
3
+ "version": "1.5.31",
4
+ "description": "Collection of 200+ image based color themes & composable theme query filters",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/color-palettes",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:binary": "bun tools/encode.ts",
33
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
34
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
35
+ "clean": "bun ../../tools/src/clean-package.ts",
36
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
37
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
+ "pub": "npm publish --access public",
39
+ "test": "bun test",
40
+ "tool:swatches": "bun tools/swatches.ts",
41
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
42
+ },
43
+ "dependencies": {
44
+ "@thi.ng/api": "^8.12.7",
45
+ "@thi.ng/base-n": "^2.7.53",
46
+ "@thi.ng/checks": "^3.7.23",
47
+ "@thi.ng/color": "^5.8.0",
48
+ "@thi.ng/errors": "^2.5.47",
49
+ "@thi.ng/hex": "^2.3.85"
50
+ },
51
+ "devDependencies": {
52
+ "esbuild": "^0.25.11",
53
+ "typedoc": "^0.28.14",
54
+ "typescript": "^5.9.3"
55
+ },
56
+ "keywords": [
57
+ "color",
58
+ "css",
59
+ "dominant",
60
+ "image",
61
+ "palette",
62
+ "rgb",
63
+ "swatches",
64
+ "theme",
65
+ "typescript"
66
+ ],
67
+ "publishConfig": {
68
+ "access": "public"
69
+ },
70
+ "engines": {
71
+ "node": ">=18"
72
+ },
73
+ "files": [
74
+ "./*.js",
75
+ "./*.d.ts"
76
+ ],
77
+ "exports": {
78
+ ".": {
79
+ "default": "./index.js"
80
+ },
81
+ "./api": {
82
+ "default": "./api.js"
83
+ },
84
+ "./filter": {
85
+ "default": "./filter.js"
86
+ },
87
+ "./theme": {
88
+ "default": "./theme.js"
89
+ }
90
+ },
91
+ "thi.ng": {
92
+ "parent": "@thi.ng/color",
93
+ "year": 2021
94
+ },
95
+ "gitHead": "d977f819bcafdcb2b24c45f8d01a167fe29fc85a\n"
96
+ }
package/CHANGELOG.md DELETED
@@ -1,102 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.5.0) (2025-05-10)
15
-
16
- #### 🚀 Features
17
-
18
- - add 35 new themes ([1220656](https://github.com/thi-ng/umbrella/commit/1220656))
19
-
20
- ## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.4.0) (2024-06-29)
21
-
22
- #### 🚀 Features
23
-
24
- - add filteredThemes() ([58a9712](https://github.com/thi-ng/umbrella/commit/58a9712))
25
- - update asCSS/Int/LCH/RGB() args ([9aa2f43](https://github.com/thi-ng/umbrella/commit/9aa2f43))
26
- - accept existing themes (array of colors) as arg (in addition to theme IDs)
27
-
28
- ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.3.0) (2024-06-21)
29
-
30
- #### 🚀 Features
31
-
32
- - add themeIDs() iterator ([b86bb32](https://github.com/thi-ng/umbrella/commit/b86bb32))
33
-
34
- ### [1.2.30](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.2.30) (2024-02-06)
35
-
36
- #### ♻️ Refactoring
37
-
38
- - update base64 handling ([48918f1](https://github.com/thi-ng/umbrella/commit/48918f1))
39
-
40
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.2.0) (2023-09-25)
41
-
42
- #### 🚀 Features
43
-
44
- - add opt arg to get theme in reverse order ([4163fda](https://github.com/thi-ng/umbrella/commit/4163fda))
45
-
46
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.1.0) (2023-04-25)
47
-
48
- #### 🚀 Features
49
-
50
- - add new themes, update swatch gen & binary ([6b2405c](https://github.com/thi-ng/umbrella/commit/6b2405c))
51
-
52
- ### [1.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.0.2) (2023-02-17)
53
-
54
- #### ⏱ Performance improvements
55
-
56
- - update compFilter() for single arg ([ea8dc86](https://github.com/thi-ng/umbrella/commit/ea8dc86))
57
-
58
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.0.0) (2023-02-10)
59
-
60
- #### 🛑 Breaking changes
61
-
62
- - major restructuring/updates ([410d99d](https://github.com/thi-ng/umbrella/commit/410d99d))
63
- - BREAKING CHANGE: entirely new pkg structure & API
64
- - themes now stored in single flat byte array
65
- - remove need for KSUID theme IDs
66
- - add single theme accessors: asCSS()/asRGB()
67
- - add multi theme iterators: cssThemes()/rgbThemes()
68
- - add new /tools/encode.ts to generate /src/binary.ts
69
- - update swatch/table generator
70
- - update dependencies
71
- - update readme
72
- - regenerate & rename assets (swatch files)
73
-
74
- #### 🚀 Features
75
-
76
- - add 18 new themes ([d9ea6dd](https://github.com/thi-ng/umbrella/commit/d9ea6dd))
77
- - add LCH support, update iterators ([8f1bf32](https://github.com/thi-ng/umbrella/commit/8f1bf32))
78
- - add asLCH(), lchThemes()
79
- - return typed colors for theme getters (SRGB/LCH)
80
- - update all theme iterators to accept filter predicates or indices
81
- - add theme filter predicates ([e8e7a23](https://github.com/thi-ng/umbrella/commit/e8e7a23))
82
- - add defFilter(), compFilter()
83
- - add hue(), chroma(), luma() filters
84
- - add proximityRGB/LCH() filters
85
- - add packed ARGB int format support ([73a3d8e](https://github.com/thi-ng/umbrella/commit/73a3d8e))
86
- - add/update types
87
- - add asInt(), intThemes()
88
- - update deps
89
-
90
- ## [0.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@0.9.0) (2022-08-23)
91
-
92
- #### 🚀 Features
93
-
94
- - add new themes, update swatch tool ([1051b7e](https://github.com/thi-ng/umbrella/commit/1051b7e))
95
- - update swatch gen to emit 3-column tables
96
-
97
- ## [0.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@0.8.0) (2022-03-11)
98
-
99
- #### 🚀 Features
100
-
101
- - add 12 new palettes ([eab99c7](https://github.com/thi-ng/umbrella/commit/eab99c7))
102
- - add new themes ([f3d4446](https://github.com/thi-ng/umbrella/commit/f3d4446))