Releases: code4rena-dev/components-library
Releases · code4rena-dev/components-library
Patch - Fixes CSS bug in Card component
This release includes a CSS bug fix for images in the Card component
Minor Version - Library Bundling Changes
This release includes changes to facilitate library imports and resolve typescript issues on applications importing the library's components and types.
Changes included:
- App bundling setup and code export structure (now importing components and types separately)
- Component import remains the same through named imports:
import { Button} from "@code4rena/components-library;
- Prop Type imports can now also be done through named imports:
import { ButtonSize, ButtonType, ButtonVariant } from "@code4rena/components-library/types"
- 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
- Add Card component
Initial Library 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