Skip to content

panelui-web 0.18.0

Choose a tag to compare

@Khalidabdi1 Khalidabdi1 released this 16 Nov 19:41

Added

  • Navigation Menu: a bar of top-level destinations whose triggers open panels of further links. Three variants:

    • island (the default): a floating pill. Pressing a trigger grows the bar itself into the panel, which stays open until Escape, a press outside or a link closes it, so a panel holding a search field or a setting doesn't close while the pointer wanders.
    • bar: a full-width header. Its panel moves between the triggers on hover.
    • dock: an island at the foot of the window, opening upwards, with labels that float above its icons.

    NavigationMenu.Status hangs a strip under the bar with an optional progress meter; when its status changes, it tucks into the bar and comes back down with the new one. The panels come with their own parts: Card, Profile, Value, Pill, Group, Setting, Options, Footer and Hint.

  • Currency Input: one amount in the currency it is counted in, in one card, with a currency list that opens over the card. By @danestves in #312.

Changed

  • Command takes bare, which leaves the surface to whatever holds it, for a Command inside another panel such as a Navigation Menu's.
  • Nav Rail: on a phone, the drawer floats a few pixels off the screen's edge with rounded corners (by @danestves in #315), and the trigger shows a menu or close mark (by @danestves in #314). A trigger passed through render keeps its own size and shape (by @danestves in #314).

Fixed

  • Nav Rail switches to the drawer only below mobileBreakpoint, not at exactly that width, matching Tailwind's md:. By @danestves in #316.
  • Nav Rail: a row without href starts its label at the icon, like every link row, instead of centring it. By @danestves in #313.

Docs

  • Search puts the page named for the query first. Searching "toolbar" used to open Button Group, whose page has a Toolbar heading.