Skip to content

Releases: code4rena-dev/components-library

Minor Version - Contest Tile Tags

14 Feb 23:59
f622063
Compare
Choose a tag to compare

This version includes the following changes:

  • Additional icons (bell, eye-open, eye-closed, logo-polkadot, logo-ethereum, grab-vertical)
  • Updated tag component
  • Added tag support for audit ecosystem and coding languages on all templates

Minor Version - Card Component + Icon Fix

08 Feb 16:05
3e8eace
Compare
Choose a tag to compare

This Minor version contains the following minor styling fixes:

Added missing dynamic size to 'more-vertical' icon 2b9a3d8
Enforced min size for image in Card component, Break/wrap text in Card component #43

Bug Fix - Contest Tile container height

19 Jan 17:16
1e878a6
Compare
Choose a tag to compare

This version includes changes to address the following issue: #33

Major Version - Icons + minor optimizations

15 Jan 16:37
658490d
Compare
Choose a tag to compare

This version adds support for icons commonly used in the main Code4rena website as well as some minor optimizations https://components-library-wine.vercel.app/

Bug Fix - fix logic for bot race indicator on ContestTile

08 Jan 19:41
cd2858a
Compare
Choose a tag to compare

Some public contests do not have bot races, so we use the presence of a bot race findings repo as a signal for whether or not the contest has a bot race.

Bug Fix - Container Queries

18 Dec 19:17
e000089
Compare
Choose a tag to compare

This version adds container query support for older browsers.

Currently, the contest tile uses container queries instead of media queries; while it is already widely supported at this point, this properly implements the container-query-polyfill to make sure that container queries work in older browsers that do not support it. This ensures that our component looks exactly as intended in older browsers.

Bug Fix - Stopping event propagation (ContestTile)

15 Dec 17:48
f1cb434
Compare
Choose a tag to compare

This version contains a bug fix to stop event propagation on click of anchors contained within the ContestTile.

This is important in case the ContestTile is wrapped in an anchor tag; in cases like these, anchor clicks were previously ignored for the preferred parent anchor.

Minor Version - Bug Bounty Option For Contest Tiles

15 Dec 05:12
e17ed7e
Compare
Choose a tag to compare

This version includes styling changes for the ContestTile as well as support for bug bounties.

Now, if a tile for contests is desired, contest data should be passed through the contestData prop.

If a bounty tile is desired, bounty information should be passed through the bountyData prop.

Major Version - Avatar Component + Optimizations

23 Nov 17:37
56a5056
Compare
Choose a tag to compare

This release includes a new Avatar component as well as some minor bug fixes and reduced bundle size.

Minor Version - Contest Tile component updates

01 Nov 20:18
f4699bf
Compare
Choose a tag to compare

This release adds two new variants to the Contest Tile component called COMPACT_LIGHT & COMPACT_DARK.

These compact cards have a simplified layout, displaying only contest title, price amount, contest type, and contest status:

Screen Shot 2023-11-01 at 4 20 31 PM