npm.nicfv.com

    Changelog

    • 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
    • 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
    • Update typescript dependency version to 5.7.2
    • Publish with provenance
    • Update dependency versions
    • Update typescript dependency version to 5.5.4
    • Rebuild package and documentation in monorepo style
    • Replace testing framework dependency
    • Update dependency versions
    • Update donation URL
    • Minor readme template updates
    • Update dependency versions
    • Update build scripts
    • 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
    • Update dependency versions
    • Truncate decimal places off RGBA channels
    • Update tagline
    • Add exray as a development dependency
    • Write unit tests using exray framework
    • Run unit tests on build step
    • Fix bug where type declarations were not generated or packaged with the npm package
    • Update smath dependency
    • Relative "Home" link does not work well. Changing to absolute link.
    • Update contact details.
    • 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
    • Update internal packing scripts
    • Update smath dependency to 1.1.7
    • 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
    • Use readme template (adds new badges, guidelines, and more)
    • Remove bug tracker (automatically populated by repository field)
    • Bump up smath dependency to 1.1.2
    • Clean up package.json
    • Add bug tracker
    • Update contact information
    • 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
    • Update documentation for new Gradient
    • Add documentation under builtin palettes
    • Add package keywords
    • Add npm badges to readme
    • Make gradient colors public
    • Export palette name type
    • 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
    • Export palette
    • Update tagline description
    • Add default color gradient palettes
    • Generate CSS from color gradient
    • Define colors from hexadecimal strings
    • Add and export class to compute linear, uniform gradients based on an array of colors
    • Set up package details in package.json
    • Install developer dependencies (typescript, typedoc)
    • Install smath@1.1.1 as dependency
    • Add and export color class
    • Add package documentation
    • Initialize empty package
    • No longer available on npm
    MMNEPVFCICPMFPCPTTAAATR