Skip to content

v1.4.0

Choose a tag to compare

@zaccomode zaccomode released this 03 Nov 03:30
· 233 commits to master since this release

Updated to fix numerous bugs and workflow errors discovered while developing Threaditor.

Major changes

  • All components now support ref props
  • The polymorphism flow has been reworked, allowing more components to become polymorphic
  • Added utils/generics and app/generics to handle package-wide generic types
  • Added getColorHex() to the ValenceProvider, which provides a shorthand solution to get the full hex code (including opacity) for colors
  • All inputs and buttons now contain far more event handlers, all categorised by their event type.

Minor changes

  • core/Flex now contains a wrap prop, replacing the noWrap prop that did nothing
  • core/Text now contains more polymorphic props for links
  • app/ButtonGrid now centers text by default
  • app/Sidebar and app/JumpSidebar now scroll for vertically overflowing content, and hide horizontally overflowing content
  • Every component now accepts the tabIndex prop as part of the GenericProps
  • core/InputContainer now accepts the inputRef prop, allowing it to focus its containing element when clicked
  • All inputs now accepts the variant prop and will style themselves accordingly
  • yellow, orange and red colors are no longer just red in dark mode
  • app/Nav button props are now actually passed to the buttons
  • Props on high-level components are now generally more reliably going to be passed to lower-level components