Skip to content

@hanzo/ui 8.32.2: @hanzo/ui/auth/panel, the sign-in panel without the in-place form - #315

Merged
Darkhorse7stars merged 1 commit into
mainfrom
signin-panel-entry
Nov 11, 2026
Merged

Darkhorse7stars merged 1 commit into
mainfrom
signin-panel-entry

Conversation

@Darkhorse7stars

Copy link
Copy Markdown
Member

Why

hanzoai/team's publish failed to build after switching to SignInPanel (hanzoai/team#5):

[MISSING_EXPORT] "SecondFactor" is not exported by @hanzo/iam/dist/browser.js   (from @hanzo/ui/dist/auth/SignIn.js)
[MISSING_EXPORT] "HanzoMark" is not exported by __vite-optional-peer-dep:@hanzogui/shell:@hanzo/ui

Importing from @hanzo/ui/auth also loads SignIn (the in-place form). That form needs a newer @hanzo/iam than hanzo.team's 0.21.18 and @hanzogui/shell, an optional peer hanzo.team does not install. The bundler binds every imported name and stops the build.

What

  • New subpath @hanzo/ui/auth/panel (src/auth/panel.ts): exports SignInPanel and handoff alone. Their import graph (27 files) reaches neither SignIn, onboarding nor @hanzogui/shell.
  • A test pins that import graph.
  • 8.32.1 → 8.32.2.

Testing

vitest run src/auth/signin-panel.test.tsx: 8 passed. dist.test.ts checks the new exports entry resolves after the build (CI).

… in-place form

hanzo.team (Vite) failed to build from @hanzo/ui/auth: the auth barrel also
loads SignIn, the in-place form, which imports SecondFactor from a newer
@hanzo/iam than hanzo.team's and HanzoMark from @hanzogui/shell, an optional
peer it does not install. Rolldown binds every imported name and refused both,
though the site draws only SignInPanel.

./auth/panel exports SignInPanel and handoff alone. Their import graph reaches
neither SignIn, onboarding nor @hanzogui/shell, and a test keeps it so.
@Darkhorse7stars
Darkhorse7stars merged commit 2f5f484 into main Nov 11, 2026
5 checks passed
@Darkhorse7stars
Darkhorse7stars deleted the signin-panel-entry branch November 11, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant