javascript

Official Javascript repository for Clerk authentication

MIT License

Downloads
6.1M
Stars
1.1K
Committers
167
javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Minor Changes

  • Introduce support for custom menu items in <UserButton/>. (#3784) by @nikospapcom

    • Use <UserButton.MenuItems> as a child component to wrap custom menu items.
    • Use <UserButton.Link/> for creating external or internal links.
    • Use <UserButton.Action/> for opening a specific custom page of "UserProfile" or to trigger your own custom logic via onClick.
    • If needed, reorder existing items like manageAccount and signOut

    New usage example:

    <UserButton>
      <UserButton.MenuItems>
        <UserButton.Link label="Terms" labelIcon={<Icon />} href="/terms" />
        <UserButton.Action label="Help" labelIcon={<Icon />} open="help" /> //
        Navigate to `/help` page when UserProfile opens as a modal. (Requires a
        custom page to have been set in `/help`)
        <UserButton.Action label="manageAccount" labelIcon={<Icon />} />
        <UserButton.Action
          label="Chat Modal"
          labelIcon={<Icon />}
          onClick={() => setModal(true)}
        />
      </UserButton.MenuItems>
    </UserButton>
    

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Minor Changes

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

  • Use configured monorepo root when calculating Clerk packages (#3856) by @dstaley
javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Minor Changes

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

  • Add support for opening the UserProfileModal and OrganizationProfileModal to specific navigation items through the UserButton and OrganizationSwitcher. (#3732) by @EmmanouelaPothitou
javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Major Changes

  • Support for Expo Web has been added! You can now build fullstack websites with Expo, React, and Clerk. Utilize Clerk's components to build out your app. (#3456) by @octoper

    You can access the components from the /web subpath import like so:

    import { SignUp } from "@clerk/clerk-expo/web";
    
    export default function Page() {
      return <SignUp />;
    }
    

    Breaking change: You need to use Expo 50 or later. The minimum required React Native version was bumped to 0.73.

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 3 months ago

Patch Changes