v1.95.0 #152
prjctimg
announced in
Announcements
v1.95.0
#152
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
1.95.0 (stable)
Notable changes
.d.tsfiles. This is eliminate the need for a build step just to be able to test our code. It will also make it possible to run this library on NPM+RunkitNew features 🧰
getFarthestChromaFromgetFarthestHueFromgetFarthestLightnessFromgetNearestChromaFromgetNearestHueFromgetNearestLightnessFromWhich are similar to i.e
getNearestChromabut take an additional against param which takes every color in the collection as a subtrahend and returning the specified extremum of the factor being queried.Enhancements 💊
ArrayLikeobjects as well as plain objects andMapobjects. In short its fully generic. If a plain object is passed as the collection it returns aMap. This is true for infilterByfunctions which will return aMapwith the falsy colors removed. InsortByfunctions, an orderedMapis returned because this object remembers insertion order and is more effecient if you want to perform frequent actions on the collection.colorspaceparameter for examplenum2rgb. See the updated converters hereisAchromaticnow checks if a color is achromatic in additional colorspaces as well. This is optional via a second paramcolorspace. The default colorspace is 'lch'Bug fixes 🐌
... And more!!!
This discussion was created from the release v1.95.0.
Beta Was this translation helpful? Give feedback.
All reactions