Releases: code4rena-dev/components-library
Minor Version - Contest Tile Tags
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
Bug Fix - Contest Tile container height
This version includes changes to address the following issue: #33
Major Version - Icons + minor optimizations
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
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
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)
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
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
This release includes a new Avatar component as well as some minor bug fixes and reduced bundle size.