Skip to content

@material-tailwind/react-v1.4.0

Choose a tag to compare

@sajadevo sajadevo released this 14 Feb 11:23
· 1593 commits to main since this release
2a39856

Changes

Fix

Features

  • Add the __dirname for withMT() function by @randallhunt.
  • Add shrink prop for <Input /> for making the floating label controlled.
  • Add shrink prop for <Textarea /> for making the floating label controlled.
  • Update <Menu /> component to be keyboard friendly.
  • Update <Select /> component to make the label floated if there is a value by default.
  • Update <Checkbox />, <Radio /> and <Switch /> components label type from string to node, it helps to pass JSX as value for the label prop.
  • Add iconProps for <Checkbox /> and <Radio /> to make the icon container customisable.
  • Use the useMergeRefs instead of react-merge-refs.
  • Remove the opacity changing when closing and opening the <Accordion />, it make the behavior more smooth.

Docs