Releases: StackOverflowIsBetterThanAnyAI/fetch-loading
Releases · StackOverflowIsBetterThanAnyAI/fetch-loading
v0.0.7_alpha
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
- removed
-D
from installation guide as this is not a dev dependency - moved
react
topeer dependencies
- moved
rollup
androllup-plugin-postcss
todev dependencies
v0.0.5
new:
theme
property can now be a Hex value with 3 or 6 digitstheme
property can now be a Hex value with an alpha channeltheme
property can now be an RGB valuetheme
property can now be an RGBA value
v0.0.4
fix error: missing type declarations
change output folder from /src to /dist
v0.0.3
fix implementation error
v0.0.1
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" />
...