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"