Skip to content

Releases: MiguelHigueraDev/discord-card-react

2.2.0

31 Oct 17:13
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0

2.1.0

15 Aug 04:10
Compare
Choose a tag to compare

What's Changed

  • feat: add support for multiple activities at the same time as requested in #28

2.0.1

16 May 18:38
Compare
Choose a tag to compare
  • Tweaked role styling

2.0.0

21 Apr 07:00
a628797
Compare
Choose a tag to compare
  • Added "by" and "on" string to SpotifySection
  • Renamed GameSection to ActivitySection
  • Added LanyardDiscordCardActivity and Spotify props

Breaking change:

  • Changed ActivitySection and SpotifySection props in LanyardDiscordCard 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

20 Apr 04:01
Compare
Choose a tag to compare

Improve role styling to make it look closer to Discord UI.

  • Increased transparency
  • Removed vertical padding
  • Lowered font size

1.3.1

20 Apr 03:26
Compare
Choose a tag to compare
  • Improved image border so it looks like Discord.

Before:
image

After:
image

Version 1.3.0

18 Apr 22:46
Compare
Choose a tag to compare
  • 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

  • docs: update readme in #18
  • refactor: misc refactors in #19
  • fix: misc a11y fixes in #20
  • feat(SpotifySection): add translation to Play on Spotify text in #21

v1.2.4...v1.3.0

Version 1.2.4

16 Apr 22:01
Compare
Choose a tag to compare
  • Fixed regression because of not checking undefined images

Version 1.2.3

16 Apr 21:38
Compare
Choose a tag to compare
  • Normalized margins to give the card a more cohesive look
  • Fixed external assets bug so they now load correctly #4

Full changelog:

  • fix: normalize margins + refactor in #16
  • fix(LanyardDiscordCard): fix external assets in #17

v1.2.2...v1.2.3

Version 1.2.2

16 Apr 15:27
Compare
Choose a tag to compare
  • 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:

New Contributors

v1.2.1...v1.3.0