@aotter/mantle-admin-ui 0.1.2 → 0.1.3-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,6 +18,15 @@ import { Button, Card, CardContent, Input } from "@aotter/mantle-admin-ui/kit";
18
18
  import "@aotter/mantle-admin-ui/kit.css";
19
19
  ```
20
20
 
21
+ `SignInFlow` exports Admin's own two-step email-OTP form (email screen, then
22
+ six-digit code screen). The host injects transport (`onSendCode`,
23
+ `onVerifyCode`), whatever navigation follows a successful verify, and all copy;
24
+ the component owns only the step, busy, and error state. A verify that resolves
25
+ without an error is terminal: the form stays busy and locked so the consumed
26
+ code cannot be resubmitted, and the host must navigate or unmount it (Admin
27
+ does `window.location.assign`). Admin renders the same component, so a host's
28
+ sign-in cannot drift from it.
29
+
21
30
  Use `@aotter/mantle-admin-ui/tokens.css` when an application only needs the
22
31
  Mantle color, radius, background, and sidebar variables. The kit intentionally
23
32
  does not export `AdminApp`, authenticated layouts, routes, queries, or feature