Releases: geist-org/geist-ui
Releases · geist-org/geist-ui
v2.3.8
v2.3.7
v2.3.6
v2.3.5
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.3.0
Improvements & Features
ButtonDropdownadds support for icons. #630Tabsadds a highlight effect on hover. #653- Add an additional prop to
Tabsto modify the style when activated. #710 - Allow component
Imageto render SVG string. #692 - Redesign the
Codecomponent to make it more compatible with text. #697 #698 - The default width of the
Buttonhas been slightly adjusted to be more compatible with theScalefeature. - Improved performance of the
Scalefunction. #705 - Refactor the
Toastcomponent, it can now be specified in a different placement on the page and can render ReactNodes. #708 (It is hard to imagine that this is a feature proposed 2 years ago😿 #315 )
Breaking changess and migrations
The Toast component was refactored to implement #315 , and the return values of useToast has changed, however, the interface of the setToast function is still compatible with the previous version. (suggest a global search for the useToast to complete the replacement)
// before
const [toasts, setToast] = useToast()
// after
const {
toasts,
setToast,
removeAll,
findToastOneByID,
removeToastOneByID,
} = useToast()New Hooks
We have optimized the styling of the documentation site and added the following utility functions to the package:
- useScale #693
- useClasses
Patches
- Add scale function to
Input.Password. #685 - Links take up less extra space in the text layout. #703
- Remove any blank placeholders that may exist in className. #709
Credits
Thanks to @songhn233 @nikhilgupta58
v2.3.0-rc.1
Improvements & Features
- Optimize the style of the
Linkcomponent to make it more natural in the overall typography. #703 - Optimize the minimum width of
Buttonto avoid imbalance when scaling. #704 - Optimize the performance of all scaleable components. #705
- Redesign
useToastto be compatible with placement and styles. #708 - Add props
hideBorderfor componentTabs. #710
Patches
- Remove unnecessary whitespace characters from class names. #709
Canary
- This is a canary version (
2.3.0-rc.1), not for production. you can runyarn add @geist-ui/core@canaryto install. - Documentation for canary release