@lsst-sqre/squared@0.4.0
Minor Changes
-
#179
b4b2fdb
Thanks @jonathansick! - Moved auth URLs into Squared as a library. ThegetLoginUrl
andgetLogout
URL functions compute the full URLs to the RSP's login and logout endpoints and include the?rd
query strings to return the user to current and home URL respectively. -
#179
77274e7
Thanks @jonathansick! - Add a new PrimaryNavigation component. This component uses the Radix NavigationMenu primitive and is intended to be a comprehensive solution for the primary navigation in the header of Squareone. The earlierGafaelfawrUserMenu
component in Squared also usesNavigationMenu
, but as a single item. WithPrimaryNavigation
, the functionality ofGafaelfawrUserMenu
can be composed into an instance ofPrimaryNavigation
. LikeGafaelfawrMenu
,PrimaryNavigation
is set up so that menus only appear after clicking on a trigger, rather than on hover. As well,PrimaryNavigation
ensures the menu is proximate to the trigger (an improvement on the defaultNavigationMenu
functionality that centers the menu below the whole navigation element.