Releases: carforyou/carforyou-components-pkg
Releases · carforyou/carforyou-components-pkg
v2.0.0
We had Dropdown
component accepting menu
render prop that was rendering menu.
We wanted to use that to customize margins and paddings to the menu, but it turns out it was the same everywhere.
This release drops the menu
prop and moves default menu styling to the component
v2.0.0-0
v1.5.0
Added Dropdown
and DropdownWithAutosuggest
components
v1.4.0
v1.3.0
Changes:
- Added the prop dataTestid as a
string
for the cypress testing - Adjusted the onClick propType
(event: MouseEvent<HTMLButtonElement>) => void
v1.2.0
Add the teal-light
color
v1.1.2
How to integrate the component paths with the projects
In your next.config.js
, add the components paths to the purgeCssPaths, so the component libraries classnames don't get stripped:
const components = require("@carforyou/components").default
purgeCssPaths.concat(components.getComponentPaths())
v1.1.2-0: Merge pull request #3 from autoricardo/FS-4
FS4-Extract Button component - normal/hoverState/disabledState
v1.1.1: fixed gradients plugin
v1.1.0: Support for CSS assets
All files in assets
are copied to the package and can be imported in the projects CSS file:
@import '@carforyou/components/assets/index.css';
Additionally, various dependency updates and small improvements for development.