Skip to content

Releases: code4rena-dev/components-library

Patch - Fixes CSS bug in Card component

31 Oct 18:57
e7cfe15
Compare
Choose a tag to compare

This release includes a CSS bug fix for images in the Card component

Minor Version - Library Bundling Changes

19 Oct 22:38
0caeaca
Compare
Choose a tag to compare

This release includes changes to facilitate library imports and resolve typescript issues on applications importing the library's components and types.

Changes included:

  1. App bundling setup and code export structure (now importing components and types separately)
  2. Component import remains the same through named imports:
import { Button} from "@code4rena/components-library;
  1. Prop Type imports can now also be done through named imports:
import { ButtonSize, ButtonType, ButtonVariant } from "@code4rena/components-library/types"
  1. Styles import now has an updated import path:
/* In CSS/SCSS file: */
@import "@code4rena/components-library/styles"
// Or, in wrapping layout/page/component:
import "@code4rena/components-library/styles"

V 1.0.0

27 Sep 18:50
7bd02b4
Compare
Choose a tag to compare
  • Add Card component

Initial Library Release

08 Aug 16:39
37914c5
Compare
Choose a tag to compare
Pre-release

This initial minor release is mainly for testing and verifying that all project configurations for this library work properly and that the entire flow from bundling, to publishing to NPM, to finally using it in third-party applications is working as expected. Since components will still undergo some minor changes, this is being marked as a pre-release. Avoid using it in production until a major version is released.

Included Code4rena components:

  • Alert
  • Button
  • ContestStatus
  • ContestTile
  • Dropdown
  • EyebrowBar
  • Input
  • NavBar
  • Tag