Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jul 17:27
· 8 commits to main since this release

v0.2.0

2022-07-19

Summary

Fixed some unfortunate misspellings of WCAG, renamed a bunch of functions and added lots more documentation.

Commits

  • [2d95d74] Yet another tiny mistake
  • [105b82b] Temporarily disable doc tests
  • [a5f5ea9] Update README
  • [145b249] Fix totally wrong values in apcaContrastValue docs
  • [ad05e86] Add documentation to isValidColor
  • [12eb2e9] Rename more things, more documentation
  • [a0eebf0] Create new wcagContrastValue function, more
    documentation
  • [170b205] Yeah, nah, no more grouped exports
  • [99d110c] And export the class
  • [0027b63] Fix names being wrong 🤦
  • [bdb7b48] Try with a class instead
  • [75818aa] Actually export wcag object
  • [797f2a1] Function renaming, add documentation
  • [cfc5893] Convert functions to named functions for deno doc
  • [e9b3e07] Add documentation, example to 'toHex' function
  • [0d20fe6] Change toHex method to use bit shifting dark magics
  • [cfb3d73] Run doctests on CI, fix README/examples so they
    compile
  • [f53d244] Fix wrong URL to documentation

v0.1.0

2022-07-19

Summary

Initial release of the package. See the README for usage notes.

Commits

  • [e8bfaf1] Move node setup to top of pipeline
  • [b46fd9a] Publish job depends on the pipeline job
  • [f27a99d] Make publish step a separate CI job
  • [b11d19d] Run dnt on CI, add publishing step and tasks
  • [5b25f03] Fix links in README
  • [1eaaefe] Fix number 100 for optional, partial, default options
  • [8023a6f] Update README
  • [84c3904] Remove uneeded function, fix passing WCAG parameters
  • [590de6c] Remove redundant assert in tests
  • [633ea4c] Create utility function to validate a font against a
    Lc value
  • [6cb7616] Add documentation
  • [97c6609] Refactor and simplify some APCA functions
  • [19c1267] Add tests to the interpolated font lookup
  • [9258c5a] Implement fontLookupAPCA
  • [35602d8] Add contrast to font size table
  • [12b3e0a] Add function to get font size contrast
  • [e2de2a6] Refactor font contrast to a record object
  • [9fd2cd2] Add APCA font to contrast table
  • [c061efe] Rename generic 'Readability' type to 'WCAG'
  • [7cc8203] Fix some exporting names
  • [ce84c99] Fix formatting, convert deno.json -> deno.jsonc
  • [fd7ca69] Add dnt build tool for npm publishing
  • [3105938] Update README
  • [8bb9e82] Hide internal parsing functions
  • [1f9a9d3] Change Color type to be a tuple instead of object
  • [0755453] Remove WCAG 2.0/2.1 stuff
  • [4a52171] Add APCA contrast checking from WCAG3.0
  • [6328844] Add WCAG 2.0/2.1/2.2 changes to code
  • [755ea00] Extract WCAG stuff to their own file
  • [7be066b] Fix stupid misspelling of RGB
  • [ad5d21d] Start extracting functionality into small functions
  • [318ffd0] Extract parsing to its own file
  • [30108be] Port over color code from empyreum
  • [f877b41] Add basic RGB and RGBA functionality