Blue - v0.0.31
Add Dropdown Component ✨
Ooooo boy! This update adds LOTS of stuff to Blue, including:
New Drop HOC Component
A new Drop
HOC component, that Portals and auto positions the composedComponent based on the trigger.
New Dropdown Components
This update adds new Dropdown
, DropdownTrigger
, DropdownMenu
, DropdownItem
, and DropdownDivider
components
New Utilities!
This update adds new focus
, node
, and nodePosition
DOM-based utils
Other enhancements
The EventListener
and KeypressListener
components were enhanced with scope
, allowing them to listen to events on specific node elements other than just document
.
KeypressListener
has also been improved to handle modifier keys (like shift
or alt
).
slim
CSS stylesheet removal
Based on a discussion with @Charca and @knicklabs , this update removes the .slim
version of the Blue CSS. This allows for a cleaner CSS build structure, and allow for us to use the standard c-ComponentName
className structure.