Skip to content

Releases: StackOverflowIsBetterThanAnyAI/fetch-loading

v0.0.7_alpha

05 Aug 08:27
065a3ff
Compare
Choose a tag to compare

What's Changed

Feature

  • new optional ariaLabel attribute to enhance accessibility
    • specifying a value for ariaLabel adds role="status", aria-live="polite", aria-label={ariaLabel} to the component

Dependencies

  • Bump typescript from 5.8.2 to 5.8.3 by @dependabot[bot] in #11
  • Bump @rollup/plugin-commonjs from 28.0.3 to 28.0.6 by @dependabot[bot] in #28
  • Bump @rollup/plugin-typescript from 12.1.2 to 12.1.4 by @dependabot[bot] in #32

Full Changelog: v0.0.6...v0.0.7

v0.0.6

03 Apr 08:06
Compare
Choose a tag to compare
  • removed -D from installation guide as this is not a dev dependency
  • moved react to peer dependencies
  • moved rollup and rollup-plugin-postcss to dev dependencies

v0.0.5

26 Mar 19:45
Compare
Choose a tag to compare

new:

  • theme property can now be a Hex value with 3 or 6 digits
  • theme property can now be a Hex value with an alpha channel
  • theme property can now be an RGB value
  • theme property can now be an RGBA value

v0.0.4

19 Mar 20:35
Compare
Choose a tag to compare

fix error: missing type declarations
change output folder from /src to /dist

v0.0.3

19 Mar 20:14
Compare
Choose a tag to compare

fix implementation error

v0.0.1

13 Feb 20:25
Compare
Choose a tag to compare

Loading animation which can be displayed while data is fetched from an API.

Pass any Hex-value as an argument for the theme property.

Usage

import { FetchLoading } from 'fetch-loading'

...

<FetchLoading />

### with no arguments being passed, the animation will fall back to its default color #52525c

<FetchLoading theme="#a2d1aa" />

<FetchLoading theme="#fafafa" />

<FetchLoading theme="#000000" />

...