Releases: MiguelHigueraDev/discord-card-react
Releases · MiguelHigueraDev/discord-card-react
2.2.0
What's Changed
- build(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #30
- build(deps): bump rollup from 4.13.0 to 4.23.0 by @dependabot in #31
- build(deps-dev): bump vite from 5.1.7 to 5.4.8 by @dependabot in #32
- feat: add
BaseDiscordCard
export by @BossDaily in #34
New Contributors
- @BossDaily made their first contribution in #34
Full Changelog: v2.1.0...v2.2.0
2.1.0
2.0.1
- Tweaked role styling
2.0.0
- Added "by" and "on" string to
SpotifySection
- Renamed
GameSection
toActivitySection
- Added
LanyardDiscordCard
Activity and Spotify props
Breaking change:
- Changed
ActivitySection
andSpotifySection
props inLanyardDiscordCard
to an object
Instead of passing each prop individually like before:
showSpotify, spotifyTitle, etc.
Now they are passed like this:
spotify={{
show: true,
title: "Listening to Spotify",
buttonText: "Play on Spotify",
byText: "by",
onText: "on",
}}
activity={{
show: true,
title: "Playing a game",
showElapsedTime: true,
timeElapsedText: "elapsed",
timeAlignment: "left",
}}
- Updated readme to reflect the changes
1.3.2
Improve role styling to make it look closer to Discord UI.
- Increased transparency
- Removed vertical padding
- Lowered font size
1.3.1
Version 1.3.0
- Added option to translate the "Play on Spotify" text on
SpotifySection
. - Refactored certain parts of the code to make it cleaner.
- Improved some accessibility stuff.
- Updated README.
Full Changelog
Version 1.2.4
- Fixed regression because of not checking undefined images
Version 1.2.3
- Normalized margins to give the card a more cohesive look
- Fixed external assets bug so they now load correctly #4
Full changelog:
Version 1.2.2
- Improved activity button (Spotify and Games) styling by applying the primary color like Discord does. (@TomasMatarazzo)
- Added Spotify logo to "Play on Spotify" button (@TomasMatarazzo)
- Updated readme
Thanks @TomasMatarazzo for making your contribution helping with the button style, it's greatly appreciated!
Full changelog:
- docs: update readme by @MiguelHigueraDev in #13
- Issue improve activity button styling by @TomasMatarazzo in #14
- feat(SpotifySection,GameSection): improve buttons by @MiguelHigueraDev in #15
New Contributors
- @TomasMatarazzo made their first contribution in #14