managarten/packages/shared-auth-ui/package.json
Till JS 7073756117 feat(auth): UX improvements for passkeys, 2FA, and password management
1. Passkey Conditional UI: autocomplete="username webauthn" on email
   field enables browser passkey suggestions in autofill dropdown
2. Trust Device checkbox: "Diesem Gerät 30 Tage vertrauen" option
   during 2FA verification (uses Better Auth trust_device cookie)
3. Local QR code generation: replaced external api.qrserver.com with
   local qrcode package for 2FA setup (no external dependency)
4. SecurityOnboarding component: post-registration wizard suggesting
   passkey setup to new users
5. ChangePassword component: reusable password change form with
   validation, visibility toggles, and changePassword() in authService

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 21:15:09 +01:00

37 lines
763 B
JSON

{
"name": "@manacore/shared-auth-ui",
"version": "1.0.0",
"private": true,
"description": "Shared authentication UI components for Mana apps",
"type": "module",
"svelte": "./src/index.ts",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": {
"svelte": "./src/index.ts",
"types": "./src/index.ts",
"default": "./src/index.ts"
}
},
"files": [
"src"
],
"scripts": {
"lint": "eslint ."
},
"peerDependencies": {
"@manacore/shared-auth": "workspace:*",
"@manacore/shared-branding": "workspace:*",
"@manacore/shared-icons": "workspace:*",
"svelte": "^5.0.0"
},
"devDependencies": {
"@types/qrcode": "^1.5.5",
"svelte": "^5.16.0",
"typescript": "^5.7.3"
},
"dependencies": {
"qrcode": "^1.5.4"
}
}