@thi.ng/color-palettes 0.9.8 → 1.0.1
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 +33 -1
- package/README.md +293 -157
- package/api.d.ts +11 -0
- package/api.js +1 -0
- package/binary.d.ts +3 -0
- package/binary.js +5 -0
- package/filter.d.ts +107 -0
- package/filter.js +139 -0
- package/index.d.ts +4 -193
- package/index.js +4 -1531
- package/package.json +27 -9
- package/query.d.ts +106 -0
- package/query.js +135 -0
- package/theme.d.ts +55 -0
- package/theme.js +109 -0
- package/themes.d.ts +3 -0
- package/themes.js +24 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-
|
|
3
|
+
- **Last updated**: 2023-02-10T14:03:10Z
|
|
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,38 @@ 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
|
+
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@1.0.0) (2023-02-10)
|
|
13
|
+
|
|
14
|
+
#### 🛑 Breaking changes
|
|
15
|
+
|
|
16
|
+
- major restructuring/updates ([410d99d](https://github.com/thi-ng/umbrella/commit/410d99d))
|
|
17
|
+
- BREAKING CHANGE: entirely new pkg structure & API
|
|
18
|
+
- themes now stored in single flat byte array
|
|
19
|
+
- remove need for KSUID theme IDs
|
|
20
|
+
- add single theme accessors: asCSS()/asRGB()
|
|
21
|
+
- add multi theme iterators: cssThemes()/rgbThemes()
|
|
22
|
+
- add new /tools/encode.ts to generate /src/binary.ts
|
|
23
|
+
- update swatch/table generator
|
|
24
|
+
- update dependencies
|
|
25
|
+
- update readme
|
|
26
|
+
- regenerate & rename assets (swatch files)
|
|
27
|
+
|
|
28
|
+
#### 🚀 Features
|
|
29
|
+
|
|
30
|
+
- add 18 new themes ([d9ea6dd](https://github.com/thi-ng/umbrella/commit/d9ea6dd))
|
|
31
|
+
- add LCH support, update iterators ([8f1bf32](https://github.com/thi-ng/umbrella/commit/8f1bf32))
|
|
32
|
+
- add asLCH(), lchThemes()
|
|
33
|
+
- return typed colors for theme getters (SRGB/LCH)
|
|
34
|
+
- update all theme iterators to accept filter predicates or indices
|
|
35
|
+
- add theme filter predicates ([e8e7a23](https://github.com/thi-ng/umbrella/commit/e8e7a23))
|
|
36
|
+
- add defFilter(), compFilter()
|
|
37
|
+
- add hue(), chroma(), luma() filters
|
|
38
|
+
- add proximityRGB/LCH() filters
|
|
39
|
+
- add packed ARGB int format support ([73a3d8e](https://github.com/thi-ng/umbrella/commit/73a3d8e))
|
|
40
|
+
- add/update types
|
|
41
|
+
- add asInt(), intThemes()
|
|
42
|
+
- update deps
|
|
43
|
+
|
|
12
44
|
## [0.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/color-palettes@0.9.0) (2022-08-23)
|
|
13
45
|
|
|
14
46
|
#### 🚀 Features
|