github tremorlabs/tremor v1.4.0

latest releases: v3.18.3-beta-tailwind-merge-update.1, v3.18.2, v3.18.1...
20 months ago

Controlled input components are here 🎉

Dropdown, SelectBox, MultiSelectBox, TabList, and Toggle

  • Added a new value and property to enable controllable state.
  • Added new onValueChange property to replace handleSelect (handleSelect is be deprecated)
  • Enabled KeyListeners, e.g. ESC key to dismiss an opened Dropdown and Arrow Up/Down to skim through options.

TextInput

  • Added defaultValue for uncontrolled mode
  • Added id property

DateRangePicker

  • Added a new DateRangePicker component which will replace the current Datepicker (Datepicker is deprecated)
  • It supports controlled and uncontrolled state, through the value and the defaultValue properties. The input format is a tuple in the following format: [startDate, endDate, dropdownOption (optional)]
  • The default dropdown options can be replaced through the options property

Don't miss a new tremor release

NewReleases is sending notifications on new releases.