Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Releases: sonnat/sonnat-ui

v2.0.1

31 Jan 12:55
Compare
Choose a tag to compare

Core Changes

  • [🐛] fix a bug that prevents nesting themes to toggle darkMode

Full Changelog: v2.0.0...v2.0.1

v2.0.0

18 Jan 14:01
0043c36
Compare
Choose a tag to compare

Core Changes

  • [Core][⚡] Improve bundle size
  • [Core][🎨] Improve project's structure
  • [Core][🚚] Move sonnat-icons to its own repository
  • [Core][TS][♻️] Rewrite all the components in pure TypeScript
  • [Core] Upgrade version of dependencies
  • [System][Build][🛠️] Rewrite the build system due to structural changes
  • [System][Radius][⭐] Build the radius system
  • [System][Spacing][⭐] Build the spacing system
  • [System][Color][✨] Add background accent colors
  • [System][Color][🧙] Optimize the color generation
  • [Playground] Create a playground sandbox
  • [Utilities][♻️] Refactor hooks & utility functions to use @utilityjs's latest codebase
  • [Components][♻️] Refactor to use as instead of rootNode
  • [✨] Add fluid property to radio, check and switch components
  • [Tooltip][🐛] Fix an issue related to the initial open
  • [Snackbar][✨] Add color property
  • [Flex][✨]
    • Add fallback prop
    • Add gap prop

What's Changed

Full Changelog: v1.4.0...v2.0.0

v1.4.0

06 Nov 09:28
Compare
Choose a tag to compare

Core Changes

  • [Core][⚡] improve bundle size
  • [InputBase][🐛] fix autoFocus mechanic
  • [TS] improve the type declarations
  • [TabBar][TS][🐛] add the missing size property
  • [TabBar][♿] fix keyboard interaction bug on RTL
  • [Components][♻️] replace react-resize-detector with local useResizeSensor utility hook
  • [Breadcrumb][🐛][💄] fix inner link styles
  • [Card][✨] add ["outlined", "elevated"] variants

New Contributors

  • @hamiiiiiiid made their first contribution in #11

Full Changelog: v1.3.2...v1.4.0

v1.3.3-canary.0

18 Sep 05:18
Compare
Choose a tag to compare
v1.3.3-canary.0 Pre-release
Pre-release

Core Changes

  • [Core][♻️] Remove unnecessary React.memo from the components
  • [Menu][💄] Improve the SearchBox's UI
  • [Tag][💄] Improve the Tag's remove button UI
  • [InputBase][🐛] Fix autoFocus mechanic
  • [TS] Improve the type declaration of usePreviousValue hook

Credits

Huge thanks to @hamiiiiiiid for helping!

v1.3.2

08 Sep 13:10
Compare
Choose a tag to compare

Core Changes

  • [Snackbar][💄] update the positioning of the close button
  • [Snackbar][📝][TS] add the missing autoHide prop
  • [Menu][📝][TS] add the missing onEscapeKeyDown prop
  • [Button][♿][🐛] fix the LinkButton keyboard interaction
  • [Flex][📝][TS] add the missing props
  • [Text][🐛] fix the display classnames
  • [FormControl][🐛] fix auto-focusing bugs
  • [Tag][💄] update the style of the remove button
  • [Menu][💄] update the style of the searchbox
  • [InputSlider][♿][🐛] fix the onChange callback when using keyboard

v1.3.2-canary.1

03 Sep 10:45
Compare
Choose a tag to compare
v1.3.2-canary.1 Pre-release
Pre-release

Core Changes

  • [Snackbar][💄] update the positioning of the close button
  • [Snackbar][📝] add the missing autoHide prop
  • [Menu][📝] add the missing onEscapeKeyDown prop
  • [Button][♿][🐛] fix the LinkButton keyboard interaction
  • [Flex][📝] add the missing props

v1.3.2-canary.0

30 Aug 10:46
Compare
Choose a tag to compare
v1.3.2-canary.0 Pre-release
Pre-release

Core Changes

  • [Text][🐛] fix the display classnames

v1.3.1

29 Aug 09:15
Compare
Choose a tag to compare

Core Changes

  • [Button][🐛][💄] fix the ui of the small IconButton
  • [InputBase][🐛][💄] fix the ui of the filled InputBase (TextField, Select, etc.)
  • [TS] improve the type declaration of useControlled hook

v1.3.0

17 Aug 08:10
Compare
Choose a tag to compare

Core Changes

  • [Components][✨] add Flex & FlexItem utility components
  • [Core][💄][♿️] add focusVisible and keyboard interaction support
  • [Snackbar][✨] add autoHide feature
  • [FormControl][♻️]: export Description, Label and Feedback as named exports from @sonnat/ui/FormControl

v1.2.4

03 Aug 08:38
Compare
Choose a tag to compare

Core Changes

  • [✨] add useIsMounted utility function
  • [TextField][TextArea][🐛] fix a bug that caused the initialValue var to be evaluated as undefined
  • [Breadcrumb][🐛][💄] fix the height of the component
  • [Snackbar][Typescript][🐛] fix type declarations
  • [Text][🐛] fix a bug related to the display prop
  • [Core][♻️] refactor to use useIsMounted hook