npm @mantine/hooks 2.3.0

latest releases: 7.9.2, 7.9.1, 7.9.0...
2 years ago

View release demos

New dark theme

Dark theme colors were adjusted in all components to have better contrast, overall all theme.colors.dark colors are darker now.

Снимок экрана 2021-08-15 в 20 56 58

Popper.js integration

Components that use any kind of overlay are now powered by popper.js. Full list of components that were migrated:

New components

Снимок экрана 2021-08-16 в 14 03 31

  • ColorPicker – inline color picker, includes Hue and Alpha sliders exports
  • ColorInput – input with color picker, supports hex, rgba and hsla color formats
  • Popper – wrapper component to work with popper.js

Other changes

  • Group component now support withGutter prop to add spacing to all sides of group (built by @achmurali)
  • use-click-outside now has an API to handle multiple nodes
  • Transition component was migrated to native implementation – it does not depend on react-transition-group any more (#93)
  • ColorSwatch component now supports transparent colors and has better contrast for light colors
  • GlobalStyles component now sets box-sizing: border-box on all elements
  • Dropdown styles of Select, MultiSelect and Autocomplete components were adjusted to match other components design
  • Slider component has new thumb styles

Don't miss a new hooks release

NewReleases is sending notifications on new releases.