Fix bug where using a hexadecimal color string would inaccurately parse the alpha channel, causing it to (almost) always be fully opaque
Create Gradient.toSVG() function which creates a <linearGradient> element to be appended onto <defs>, since SVG elements cannot use the CSS linear gradient styling methods
Allow different string representations of a color using a parameter in the toString() function:
RGB (red, green, blue)
RGBA (RGB with transparency)
Hexadecimal color code
Hexadecimal with transparency
Update unit tests
1.1.7
This version is functionally identical to the previous, but is published as a test of the updated workflow, with a cleaned up package.json file
1.1.6
Update typescript dependency version to 5.7.2
Publish with provenance
Update dependency versions
1.1.5
Update typescript dependency version to 5.5.4
Rebuild package and documentation in monorepo style
Replace testing framework dependency
1.1.4
Update dependency versions
Update donation URL
Minor readme template updates
1.1.3
Update dependency versions
Update build scripts
1.1.2
Update dependency versions
Use global TypeDoc configuration file
Compile and build documentation simultaneously
Remove dependency on typescript (TypeDoc will take care of this)
Remove declaration types for test on build output
Output tsc version on npm test
1.1.1
Update dependency versions
1.1.0
Truncate decimal places off RGBA channels
1.0.13
Update tagline
Add exray as a development dependency
Write unit tests using exray framework
Run unit tests on build step
1.0.12
Fix bug where type declarations were not generated or packaged with the npm package
Update smath dependency
1.0.11
Relative "Home" link does not work well. Changing to absolute link.
Update contact details.
1.0.10
Automate how examples are written into main readme file
Write examples as JavaScript modules
Stricter requirements on example file names
Will not republish documentation if there was an error publishing to npm
Add additional instructions for running examples
Combine build and types scripts
"Home" link is now a relative link
Update dependency versions
1.0.9
Update internal packing scripts
Update smath dependency to 1.1.7
1.0.8
Readme fixes (move builtin palettes to the top)
Update smath dependency to 1.1.6
Update typedoc (0.25.12) and typescript (5.4.2) dev dependency versions
1.0.7
Use readme template (adds new badges, guidelines, and more)
1.0.6
Remove bug tracker (automatically populated by repository field)
Bump up smath dependency to 1.1.2
1.0.5
Clean up package.json
Add bug tracker
Update contact information
1.0.4
Update documentation for Color.getContrastingColor()
Update examples on readme
Update how Gradient.getColor() works
Instead of requiring a normalized value, it can now accept a number and range, and will automatically normalize it
1.0.3
Update documentation for new Gradient
Add documentation under builtin palettes
1.0.2
Add package keywords
Add npm badges to readme
Make gradient colors public
1.0.1
Export palette name type
1.0.0
Add color palettes on readme
Remove packageDocumentation in Palette
Add credits in Palette documentation
Remove Palette type
Add examples in Color and Gradient
Add program examples in readme
First full release
0.0.4
Export palette
Update tagline description
0.0.3
Add default color gradient palettes
Generate CSS from color gradient
Define colors from hexadecimal strings
0.0.2
Add and export class to compute linear, uniform gradients based on an array of colors