0.21.0
NavigationProgress loading bar; submenu end alignment and input slot icon fixes
NavigationProgress is a new top-of-page loading bar that takes one loading boolean and comes in palette colors or a gradient. A submenu that opens upward now lines up with its row, and components in an input slot keep their own icon size.
Spotlight
A loading bar for every navigation
Pass loading from your router and NavigationProgress makes up the rest: a fast load ends inside the 150ms delay and shows nothing, a slow one trickles toward 90% and slows down, and when loading turns false the bar runs to the end and fades out. It takes any palette color, or variant="gradient".
Changes
- added2
- NavigationProgress#425
New
NavigationProgress: an nprogress-style bar at the top of the page that waits out fast loads, trickles toward 90% on slow ones and runs to the end whenloadingturns false - NavigationProgress#425
variant="gradient"withgradient={{ from, via, to, dir }}, the same shape asProgressandBadge - fixed2
- Menu#426
A submenu that flips to open upward lines its last item up with its row instead of sitting 5px too high
- InputKbd#427
Components in an input slot keep their own icon size: a
KbdinendSlotno longer draws ⌘ at 16px, and asize-*class on a slotted icon now wins