| 1 | ### 2.9.3
|
|---|
| 2 |
|
|---|
| 3 | - Fix types export for TypeScript 4.7 ❤️ [@pkishorez](https://github.com/pkishorez)
|
|---|
| 4 |
|
|---|
| 5 | ### 2.9.2
|
|---|
| 6 |
|
|---|
| 7 | - Fix: Add "package.json" to exports map
|
|---|
| 8 |
|
|---|
| 9 | ### 2.9.1
|
|---|
| 10 |
|
|---|
| 11 | - Fix: Make minification lossless
|
|---|
| 12 | - Fix: Minify to name only if color is opaque
|
|---|
| 13 |
|
|---|
| 14 | ### 2.9.0
|
|---|
| 15 |
|
|---|
| 16 | - New plugin: Color string minification 🗜
|
|---|
| 17 |
|
|---|
| 18 | ### 2.8.0
|
|---|
| 19 |
|
|---|
| 20 | - New `delta` method to calculate the perceived color difference between two colors ❤️ [@EricRovell](https://github.com/EricRovell)
|
|---|
| 21 |
|
|---|
| 22 | ### 2.7.0
|
|---|
| 23 |
|
|---|
| 24 | - Improve `mix` plugin by adding new `tints`, `tones` and `shades` methods ❤️ [@EricRovell](https://github.com/EricRovell)
|
|---|
| 25 |
|
|---|
| 26 | ### 2.6.0
|
|---|
| 27 |
|
|---|
| 28 | - Support "double split complementary" color harmony generation ❤️ [@EricRovell](https://github.com/EricRovell) & [@lbragile](https://github.com/lbragile)
|
|---|
| 29 |
|
|---|
| 30 | ### 2.5.0
|
|---|
| 31 |
|
|---|
| 32 | - New `closest` option of `toName` method allows you to find the closest color if there is no exact match
|
|---|
| 33 |
|
|---|
| 34 | ### 2.4.0
|
|---|
| 35 |
|
|---|
| 36 | - New plugin: Color harmonies generator ❤️ [@EricRovell](https://github.com/EricRovell)
|
|---|
| 37 |
|
|---|
| 38 | ### 2.3.0
|
|---|
| 39 |
|
|---|
| 40 | - Add new `isEqual` method ❤️ [@EricRovell](https://github.com/EricRovell)
|
|---|
| 41 |
|
|---|
| 42 | ### 2.2.0
|
|---|
| 43 |
|
|---|
| 44 | - New plugin: CMYK color space ❤️ [@EricRovell](https://github.com/EricRovell)
|
|---|
| 45 |
|
|---|
| 46 | ### 2.1.0
|
|---|
| 47 |
|
|---|
| 48 | - Add new `hue` and `rotate` methods
|
|---|
| 49 |
|
|---|
| 50 | ### 2.0.1
|
|---|
| 51 |
|
|---|
| 52 | - Improve the precision of alpha values
|
|---|
| 53 |
|
|---|
| 54 | ### 2.0.0
|
|---|
| 55 |
|
|---|
| 56 | - Strict string color parsing conforming to the CSS Color Level specifications
|
|---|
| 57 |
|
|---|
| 58 | ### 1.7.2
|
|---|
| 59 |
|
|---|
| 60 | - Simplify package "exports" field to improve different environments support
|
|---|
| 61 |
|
|---|
| 62 | ### 1.7.1
|
|---|
| 63 |
|
|---|
| 64 | - Parse a color name disregarding the case
|
|---|
| 65 |
|
|---|
| 66 | ### 1.7.0
|
|---|
| 67 |
|
|---|
| 68 | - New `getFormat` utility
|
|---|
| 69 | - Support HWB color strings (CSS functional notation)
|
|---|
| 70 | - Clamp LAB values as defined in CSS Color Level 4 specs
|
|---|
| 71 |
|
|---|
| 72 | ### 1.6.0
|
|---|
| 73 |
|
|---|
| 74 | - Improvement: You can now use every angle unit supported by CSS (`deg`, `rad`, `grad`, `turn`)
|
|---|
| 75 |
|
|---|
| 76 | ### 1.5.0
|
|---|
| 77 |
|
|---|
| 78 | - New utility: Random color generation
|
|---|
| 79 |
|
|---|
| 80 | ### 1.4.1
|
|---|
| 81 |
|
|---|
| 82 | - Mix colors through CIE LAB color space
|
|---|
| 83 |
|
|---|
| 84 | ### 1.4.0
|
|---|
| 85 |
|
|---|
| 86 | - New plugin: Color mixing
|
|---|
| 87 | - Adjust XYZ, LAB and LCH conversions to the D50 white point ([according to the latest CSS specs](https://drafts.csswg.org/css-color-5/#color-spaces)).
|
|---|
| 88 |
|
|---|
| 89 | ### 1.3.1
|
|---|
| 90 |
|
|---|
| 91 | - Support modern CSS notations of RGB, HSL and LCH color functions
|
|---|
| 92 |
|
|---|
| 93 | ### 1.3.0
|
|---|
| 94 |
|
|---|
| 95 | - New plugin: CIE LCH color space
|
|---|
| 96 |
|
|---|
| 97 | ### 1.2.1
|
|---|
| 98 |
|
|---|
| 99 | - Fix: Do not treat 7-digit hex as a valid color ❤️ [@subzey](https://github.com/subzey)
|
|---|
| 100 | - Parser update: Turn NaN input values into valid numbers ❤️ [@subzey](https://github.com/subzey)
|
|---|
| 101 |
|
|---|
| 102 | ### 1.2.0
|
|---|
| 103 |
|
|---|
| 104 | - New plugin: CIE LAB color space
|
|---|
| 105 |
|
|---|
| 106 | ### 1.1.1
|
|---|
| 107 |
|
|---|
| 108 | - Make bundle 1% lighter
|
|---|
| 109 |
|
|---|
| 110 | ### 1.1.0
|
|---|
| 111 |
|
|---|
| 112 | - Add `isValid` method
|
|---|
| 113 |
|
|---|
| 114 | ### 1.0
|
|---|
| 115 |
|
|---|
| 116 | - An official production-ready release
|
|---|
| 117 |
|
|---|
| 118 | ### 0.10.2
|
|---|
| 119 |
|
|---|
| 120 | - Sort named colors dictionary for better compression ❤️ [@subzey](https://github.com/subzey)
|
|---|
| 121 |
|
|---|
| 122 | ### 0.10.1
|
|---|
| 123 |
|
|---|
| 124 | - Ignore `null` input in the parsers
|
|---|
| 125 |
|
|---|
| 126 | ### 0.10
|
|---|
| 127 |
|
|---|
| 128 | - Shorten conversion method names (`toRgba` to `toRgb`, etc)
|
|---|
| 129 |
|
|---|
| 130 | ### 0.9.3
|
|---|
| 131 |
|
|---|
| 132 | - New plugin: HWB color model
|
|---|
| 133 | - More accurate HSL and HSV conversions
|
|---|
| 134 |
|
|---|
| 135 | ### 0.9.2
|
|---|
| 136 |
|
|---|
| 137 | - Names plugin: Support "transparent" keyword
|
|---|
| 138 |
|
|---|
| 139 | ### 0.9.1
|
|---|
| 140 |
|
|---|
| 141 | - Improve package exports
|
|---|
| 142 |
|
|---|
| 143 | ### 0.9
|
|---|
| 144 |
|
|---|
| 145 | - Add CommonJS exports
|
|---|
| 146 |
|
|---|
| 147 | ### 0.8
|
|---|
| 148 |
|
|---|
| 149 | - New plugin: a11y (Accessibility)
|
|---|
| 150 |
|
|---|
| 151 | ### 0.7
|
|---|
| 152 |
|
|---|
| 153 | - New plugin: CIE XYZ color space
|
|---|
| 154 |
|
|---|
| 155 | ### 0.6.2
|
|---|
| 156 |
|
|---|
| 157 | - 20% speed improvement ❤️ [@jeetiss](https://github.com/jeetiss)
|
|---|
| 158 |
|
|---|
| 159 | ### 0.6.1
|
|---|
| 160 |
|
|---|
| 161 | - 100% code coverage
|
|---|
| 162 |
|
|---|
| 163 | ### 0.6
|
|---|
| 164 |
|
|---|
| 165 | - Make plugin available in Parcel which doesn't support exports map yet
|
|---|
| 166 | - Fix names plugin TS declarations export
|
|---|
| 167 | - Documentation
|
|---|
| 168 |
|
|---|
| 169 | ### 0.5
|
|---|
| 170 |
|
|---|
| 171 | - New plugin: CSS color names
|
|---|
| 172 |
|
|---|
| 173 | ### 0.4
|
|---|
| 174 |
|
|---|
| 175 | - Make the library ESM-first
|
|---|
| 176 | - Add code coverage reports
|
|---|
| 177 |
|
|---|
| 178 | ### 0.3
|
|---|
| 179 |
|
|---|
| 180 | - Implement Plugin API
|
|---|
| 181 |
|
|---|
| 182 | ### 0.2
|
|---|
| 183 |
|
|---|
| 184 | - Support 4 and 8 digit Hex
|
|---|
| 185 |
|
|---|
| 186 | ### 0.1
|
|---|
| 187 |
|
|---|
| 188 | - Basic API
|
|---|