Releases: wethegit/component-library
Releases · wethegit/component-library
Release list
@wethegit/components@4.0.0
Major Changes
- c10218d:
- COMP: Removes barrel files (
index.ts) from each component. Barrel files are known to cause circular reference issues, so we've opted to remove them in favor of explicit imports. - COMP: Removes
fixedForwaredRefcomponent, as React 19+ treatsrefjust as any other prop. - COMP: Removes the CSS modules file from
useBreakpoints, due to Next JS and Turbopack no longer supporting the:exportfeature. Instead, this value is hard-coded in theuse-breakpoints.tsfile now. - COMP: Overhauls the flex
grid-layoutsystem:- Removes
Wrappercomponent in favor of the newvariantprop on theRowcomponent. - Removes inline padding from
Columncomponents, in favor of flexbox'sgapproperty. Way less of a learning curve here now for newcomers. - Adds a
flexDirectionprop to theFlex(and therefore theRow) component, to allow users to specify per-breakpoint flex directions.- This removes the need for the
reverseprop, so that's now gone.
- This removes the need for the
- Refactors and renames the
grid-calc(n)SCSS utility to beget-column-width(n). This is more indicative of what it's used for.
- Removes
- COMP: Updates the
grid-layoutsystem to use the latest standards created by We the Collective's Design Team. This introduces a--grid-margin-widthCSS custom property, and updates theRowcomponent's width and margin calculations to take the new value into account. - COMP: Adds
margin: 0to thebodyelement in the CSS resets stylesheet. - COMP: Fixes Github-flavored Markdown not working in Storybook
- COMP: Fixes static asset path on deployed Storybook (image group examples have broken images)
- COMP: Removes barrel files (
@wethegit/components-cli@4.0.2
@wethegit/components@3.0.2
Patch Changes
- 701c246: Fixes an issue with the InViewItem component, where the delays were being caluculated incorrectly. For example, using a delay value of
8would return a0.4svalue instead of a0.8svalue.
@wethegit/components@3.0.1
Patch Changes
- 513aaaa: feature: support for react v19
@wethegit/components-cli@4.0.1
@wethegit/components@3.0.0
Major Changes
- 082a0e5: Upgraded the Modal component to use the latest (v3) @wethegit/react-modal version and the documentation is updated. For more information on what has changed on the latest version, head over to @wethegit/react-modal changelog
@wethegit/components-cli@4.0.0
Patch Changes
- Updated dependencies [082a0e5]
- @wethegit/components@3.0.0
@wethegit/components@2.3.11
@wethegit/components@2.3.10
Patch Changes
- d9b8ddd: fix: updates inView to latest version