Skip to content

@lsst-sqre/[email protected]

Compare
Choose a tag to compare
@squareone-ci squareone-ci released this 11 Apr 15:20
· 34 commits to main since this release
e87b1f2

Minor Changes

  • #155 b765732 Thanks @jonathansick! - Add a useGafaelfawrUser hook.

  • #153 9abbebb Thanks @jonathansick! - This is the first release of the Squared React component library for Squareone.

  • #155 30928a5 Thanks @jonathansick! - Add a GafaelfawrUserMenu component to squared. This is based on the Radix UI dropdown menu and implements a login button if the user is not authenticated or a full user settings menu if the user is authenticated. A logout menu item is always included at the end of the menu, but apps can compose other user menu items in the component. As the name implies, this component is tied into the logic and usage patterns of Gafaelfawr as an auth service.

  • #155 30928a5 Thanks @jonathansick! - Add a useCurrentUrl hook. This works with react/router and a provided base URL to get the absolute URL of the current page view. Next.js is now a peer dependency of squared to support this.

Patch Changes