Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Marabyte authored Oct 28, 2024
1 parent d7bee4b commit 2fe0887
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

### Minor Changes

- a808056: Add getContrastRatioFromCSSRGB function
- a808056: Add getContrastRatioFromNamedCSSColour function
- 202ef96: Adds getContrastRatioFromHex
- a808056: Add getContrastRatio function
- a808056: Adds `getContrastRatioFromCSSRGB`
- a808056: Adds `getContrastRatioFromNamedCSSColour`
- 202ef96: Adds `getContrastRatioFromHex`
- a808056: Adds `getContrastRatio`

## 2.1.1

Expand All @@ -19,23 +19,23 @@

### Minor Changes

- d3ed0f8: feat: Adds a build compatible with unpkg CDN
- 2726662: feat: Adds convertHextoNamedCSSColour
feat: Adds convertNamedCSSColourtoRGB
feat: Adds convertCSSRGBtoRGB
feat: Adds convertRGBtoCSSRGB
feat: Adds convertRGBtoNamedCSSColour
feat: Adds findNearestColour
feat: Adds findNearestCSSRGBColour
feat: Adds findNearestHexColour
feat: Adds findNearestNamedCSSColour
feat: Adds findNearestRGBColour
- d3ed0f8: Adds a build compatible with unpkg CDN
- 2726662: Adds `convertHextoNamedCSSColour`
- 2726662: Adds `convertNamedCSSColourtoRGB`
- 2726662: Adds `convertCSSRGBtoRGB`
- 2726662: Adds `convertRGBtoCSSRGB`
- 2726662: Adds `convertRGBtoNamedCSSColour`
- 2726662: Adds `findNearestColour`
- 2726662: Adds `findNearestCSSRGBColour`
- 2726662: Adds `findNearestHexColour`
- 2726662: Adds `findNearestNamedCSSColour`
- 2726662: Adds `findNearestRGBColour`

## 2.0.2

### Patch Changes

- adfe49a: fix: Reverts default export to CJS
- adfe49a: Reverts default export to CJS

Some widely used tools like [Jest still don't support ESM](https://jestjs.io/docs/ecmascript-modules) yet.
This reverts the package to CJS, so node based tools can use it without any issues and we rely on modern bundlers to pick the ESM version when possible.
Expand All @@ -44,57 +44,57 @@

### Patch Changes

- e4aa71e: fix: Correctly sets package.json exports for ESM projects
- c1c02f0: bug: improves treeshaking for named CSS colours
- e4aa71e: Correctly sets package.json exports for ESM projects
- c1c02f0: Improves treeshaking for named CSS colours

## 2.0.0

### Major Changes

- f0ff977: chore: Sets Node 16 as minimum version
- 2db684b: chore: Adds @tsconfig/node16
- f0ff977: Sets Node 16 as minimum version
- 2db684b: Adds @tsconfig/node16

### Minor Changes

- b7147f9: chore: Adds compatibility with TypeScript's `"moduleResolution": "bundler"` compiler option
- b7147f9: Adds compatibility with TypeScript's `"moduleResolution": "bundler"` compiler option

## 1.6.1

### Patch Changes

- b45cbfc: fix: `convertCSSRGBtoRGB` now returns the alpha channel as `undefined` instead of `NaN` if no alpha is present in CSS RGB function
- b45cbfc: `convertCSSRGBtoRGB` now returns the alpha channel as `undefined` instead of `NaN` if no alpha is present in CSS RGB function

## 1.6.0

### Minor Changes

- 732f0ee: feat: Add convertNamedCSSColourtoHex
- 97eb272: feat: Add convertRGBtoHex
- 9dfb34f: feat: Add isDarkColour
- b35132a: feat: Add isCSSNamedDarkColour
- b35132a: feat: Add isCSSRGBColour
- b35132a: feat: Add isCSSRGBDarkColour
- b35132a: feat: Add isHexColour
- f16c7cf: feat: Add convertCSSRGBtoHex
- b35132a: feat: Increase coverage of different CSS RGB formats
- 732f0ee: Add `convertNamedCSSColourtoHex`
- 97eb272: Add `convertRGBtoHex`
- 9dfb34f: Add `isDarkColour`
- b35132a: Add `isCSSNamedDarkColour`
- b35132a: Add `isCSSRGBColour`
- b35132a: Add `isCSSRGBDarkColour`
- b35132a: Add `isHexColour`
- f16c7cf: Add `convertCSSRGBtoHex`
- b35132a: Increase coverage of different CSS RGB formats

## 1.5.0

### Minor Changes

- d513567: Add isHexDarkColour
- d513567: Add `isHexDarkColour`

## 1.4.0

### Minor Changes

- 748504c: feat: Add `pickHexColorContrast` function
- 748504c: Add `pickHexColorContrast`

## 1.3.0

### Minor Changes

- bea0ea2: feat: Add getSRGBLuminanceFromHex
- bea0ea2: Add `getSRGBLuminanceFromHex`

## 1.2.0

Expand All @@ -104,4 +104,4 @@

### Patch Changes

- 8f23abd: test: Added extra test
- 8f23abd: Added extra test

0 comments on commit 2fe0887

Please sign in to comment.