github mantinedev/mantine 5.0.2

latest releases: 7.12.2, 7.12.1, 7.12.0...
2 years ago

What's Changed

  • Add offset prop to configure spacing between inputs and label in Checkbox.Group and Radio.Group components
  • Improve type definition for effect callback in use-did-update hook
  • Add DateRangePickerValue type export to @mantine/dates package
  • Fix broken Styles API in Switch component
  • Change use-uncontrolled hook logic to call onChange handler even if state is uncontrolled
  • Fix incorrect disabled Radio styles applied when disabled={false}
  • Fix FileInput component submitting form when clicked
  • Disable user-select in Slider thumb and tooltip
  • Fix incorrect disabled prop handling in uncontrolled Select and MultiSelect components
  • Fix onClose function not being called when Menu is closed with outside click or with escape key
  • Allow overriding Menu dropdown padding with classNames and styles props
  • Forward className in Tooltip component to target element to allow usage with Group and MediaQuery components
  • Fix incorrect cancelation handling in FileButton component when there was previously picked file (#1854)
  • Disable years before 100 in Calendar component to avoid Date object collisions (#1758)
  • Preserve cursor position on format/parse in NumberInput component (#1908)
  • Add translate="no" attribute to Prism and Prism.Tabs components to avoid browser translations of code (#1891)
  • Add resetOnExit option to use-mouse hook (#1893)
  • Add better types inferring to use-toggle hook with as const (#1892)
  • Fix incorrect value formatting for locales in which month name starts with lowercase letter in DatePicker component (#1845)
  • Fix incorrect disabled state handling for clearable Select component (#1843)
  • Fix incorrect MultiSelect placeholder color in Firefox
  • Migrate @mantine/form from lodash.clonedeep to klona to decrease bundle size
  • Fix incorrect nested lists validation logic in @mantine/form (#1861)
  • Clear list errors when list item is removed to avoid stale errors in @mantine/form
  • Add option to set visibility toggle button aria-label in PasswordInput component
  • Fix missing Prism props forwarding in Prism.Panel component
  • Rename id option to modalId to avoid errors with React 18 in @mantine/modals package

New Contributors

Full Changelog: 5.0.0...5.0.2

Don't miss a new mantine release

NewReleases is sending notifications on new releases.