Skip to content

Releases: geist-org/geist-ui

v2.3.8

22 Mar 10:36
cbde532
Compare
Choose a tag to compare

What's Changed

  • fix(pagination): pass className and others to element by @unix in #759

Full Changelog: v2.3.7...v2.3.8

v2.3.7

18 Mar 15:23
2abcb36
Compare
Choose a tag to compare

What's Changed

  • fix(use-body-scroll): add scrollbar width to the container after scrollbar disabled by @unix in #757

Full Changelog: v2.3.6...v2.3.7

v2.3.6

09 Mar 03:22
2787229
Compare
Choose a tag to compare

What's Changed

  • fix(pagination): update component context when the total prop changes by @unix in #754
  • chore: export highlight component by @unix in #755

Full Changelog: v2.3.5...v2.3.6

v2.3.5

04 Mar 23:28
420885e
Compare
Choose a tag to compare

What's Changed

  • fix(build): remove source-map files generated by babel by @unix in #752

Full Changelog: v2.3.4...v2.3.5

v2.3.4

18 Feb 12:34
8db79f6
Compare
Choose a tag to compare

What's Changed

  • feat: set default side-effects to false by @unix in #749

Full Changelog: v2.3.3...v2.3.4

v2.3.3

13 Feb 13:56
57ef41f
Compare
Choose a tag to compare

What's Changed

  • fix(button-dropdown): remove the default style and side effects under WebKit by @unix in #742

Credits

Thanks to @samzhangjy

Full Changelog: v2.3.2...v2.3.3

v2.3.2

12 Feb 23:29
ccb839c
Compare
Choose a tag to compare

What's Changed

  • feat: support for render styles to HTML on the server-side by @unix in #738

Full Changelog: v2.3.1...v2.3.2

v2.3.1

12 Feb 12:45
b83edbb
Compare
Choose a tag to compare

Patches

  • The useClickAway function now correctly tracks the change of handler. #720
  • Remove the height value on the Input to fix the layout with label. #727
  • Enhance scale hooks to ensure that the Input.Password can track changes in scale props. #732

Credits

Thanks to @tmkx @hothoney

v2.3.0

05 Feb 16:29
a346314
Compare
Choose a tag to compare

Improvements & Features

  • ButtonDropdown adds support for icons. #630
  • Tabs adds a highlight effect on hover. #653
  • Add an additional prop to Tabs to modify the style when activated. #710
  • Allow component Image to render SVG string. #692
  • Redesign the Code component to make it more compatible with text. #697 #698
  • The default width of the Button has been slightly adjusted to be more compatible with the Scale feature.
  • Improved performance of the Scale function. #705
  • Refactor the Toast component, 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

04 Feb 11:15
5c18ad5
Compare
Choose a tag to compare
v2.3.0-rc.1 Pre-release
Pre-release

Improvements & Features

  • Optimize the style of the Link component to make it more natural in the overall typography. #703
  • Optimize the minimum width of Button to avoid imbalance when scaling. #704
  • Optimize the performance of all scaleable components. #705
  • Redesign useToast to be compatible with placement and styles. #708
  • Add props hideBorder for component Tabs. #710

Patches

  • Remove unnecessary whitespace characters from class names. #709

Canary