Releases: custardcream98/utility-class-components
Releases · custardcream98/utility-class-components
v0.2.5
Published on npmjs
- fixed issue not able to use parenthesis inside arbitarary values
v0.2.4
Published on npmjs
- Changed React peerDependency version to be ">=17.0.0"
- Refactored some codes
v0.2.3
Published on npmjs
- Experimental Feature: Grouping Variants now can be nested
v0.2.1
Published on npmjs
- Improved bundle size to be smaller (353KB -> 70.8KB)
v0.2.0
Published on npmjs
- Added "Make sure certain props are not passed or rendered" feature.
- example:
const Box = utld.div<{ $isRed: boolean }>`
${({ $isRed }) => $isRed && "bg-red-500"}
w-[100px]
h-[100px]
`;
// `$isRed` prop will not be rendered in the DOM
v0.1.4
Published on npmjs
- fixed some dependency issues