Skip to content

Releases: dominnya/cvet

v4.0.0

20 Sep 17:59

Choose a tag to compare

🌈 Changelog

πŸš€ Enhancements

  • Add automatic color detection for Palette & Filter classes
  • Add prepublish script for bundle building
  • Add automatic color detection to every tool and utility
  • Update color type parameter to optional
  • Move all utilities from a single file to a separate directory
  • Add Palette & Filter classes function shorthands - palette & filter
  • Add optional color model detection unit tests
  • Add detect(color) utility unit tests
  • Rewrite stringify(color) to detect(color) utility usage

πŸ“– Documentation

  • Add pnpm add cvet as an installation option in README.md
  • Add documentation for automatic and manual color type setting for classes in README.md
  • Add missing alpha getter of Palette class in README.md
  • Add more information on type usage in README.md
  • Add examples of automatic color detection for tools in README.md
  • Fix notes' syntax
  • Add padHEX(R/G/B value of HEX) deprecation warning

v3.3.0

20 Sep 16:40

Choose a tag to compare

🌈 Changelog

πŸš€ Enhancements

  • Add tsup bundling - decreasing bundle size from 129 kB to 43.8 kB (#1)
  • Add vitest over jest as a unit test framework

v3.2.1

20 Sep 16:36

Choose a tag to compare

🌈 Changelog

πŸš€ Enhancements

  • Add rounding up to integer for stringify(color) utility method
  • Add unit tests for blend(RGB, Amount) method

πŸ“– Documentation

  • Add blend(RGB, Amount) method in README.md

v3.2.0

20 Sep 16:32

Choose a tag to compare

🌈 Changelog

πŸš€ Enhancements

  • Add blend(RGB, Amount) method in Filter class to mix 2 colors with certain percentage

v3.1.1

20 Sep 16:24

Choose a tag to compare

🌈 Changelog

🩹 Fixes

  • Add rounding to fixed for float values of stringify(color) utility method

v3.1.0

20 Sep 16:22

Choose a tag to compare

🌈 Changelog

πŸš€ Enhancements

  • Add stringify(color) utility method to convert Palette & Filter class models into CSS string
  • Add unit tests for stringify(color) utility method

🩹 Fixes

  • Fix npm bundle build

πŸ“– Documentation

  • Add stringify(color) utility method in the list of utilities in README.md

v3.0.1

20 Sep 16:18

Choose a tag to compare

🌈 Changelog

🩹 Fixes

  • Fix GitHub links in npm bundle

v3.0.0

20 Sep 16:15

Choose a tag to compare

🌈 Changelog

πŸš€ Enhancements

  • Update @types/jest version to ^29.5.1
  • Update jest version to ^29.6.2
  • Update prettier version to ^3.0.3
  • Update ts-jest version to ^29.1.0
  • Update @cvet/types version to ^3.0.0
  • Add new rgbToHsl(RGB) utility as RGB to HSL converter
  • Add unit tests for alpha channel values
  • Add complete support of alpha channel models for Filter & Palette classes
  • Add RGBA & HSLA color models

🩹 Fixes

  • Update LICENSE username
  • Fix return type for red, green, blue getters of Palette class

πŸ“– Documentation

  • Add periods in JSDocs
  • Add rgba & hsla getters in README.md
  • Add 2 more color types as type for classes

v2.2.7

20 Sep 16:06

Choose a tag to compare

🌈 Changelog

πŸš€ Enhancements

  • Update @cvet/types version to ^2.2.7

v2.2.6

20 Sep 16:04

Choose a tag to compare

🌈 Changelog

πŸš€ Enhancements

  • Add quantity option for every tool in the package
  • Add unit tests for tool quantity testing
  • Update @cvet/types version to ^2.2.6

πŸ“– Documentation

  • Clarifying tool quantity in README.md