Repository navigation
v1.4.0
Updated to fix numerous bugs and workflow errors discovered while developing Threaditor.
Major changes
- All components now support
refprops - The polymorphism flow has been reworked, allowing more components to become polymorphic
- Added
utils/genericsandapp/genericsto handle package-wide generic types - Added
getColorHex()to theValenceProvider, 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/Flexnow contains awrapprop, replacing thenoWrapprop that did nothingcore/Textnow contains more polymorphic props for linksapp/ButtonGridnow centers text by defaultapp/Sidebarandapp/JumpSidebarnow scroll for vertically overflowing content, and hide horizontally overflowing content- Every component now accepts the
tabIndexprop as part of theGenericProps core/InputContainernow accepts theinputRefprop, allowing it to focus its containing element when clicked- All inputs now accepts the
variantprop and will style themselves accordingly yellow,orangeandredcolors are no longer just red in dark modeapp/Navbutton 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