@olwiba/ui 0.2.28 → 0.2.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olwiba/ui",
3
- "version": "0.2.28",
3
+ "version": "0.2.30",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -42,7 +42,9 @@
42
42
  "start": "bun run server.ts",
43
43
  "types:check": "fumadocs-mdx && tsc --noEmit",
44
44
  "iso:generate": "bun scripts/generate-iso-previews.ts",
45
- "email:generate": "bun scripts/generate-email-previews.ts"
45
+ "email:generate": "bun scripts/generate-email-previews.ts",
46
+ "env:check": "dx env-check",
47
+ "docs:check": "dx docs-check"
46
48
  },
47
49
  "dependencies": {
48
50
  "@dnd-kit/core": "^6.3.1",
@@ -70,9 +72,9 @@
70
72
  },
71
73
  "devDependencies": {
72
74
  "@content-collections/mdx": "^0.2.2",
73
- "@olwiba/cn": "0.1.39",
74
- "@olwiba/docs": "0.1.45",
75
- "@olwiba/dx": "0.0.24",
75
+ "@olwiba/cn": "0.1.40",
76
+ "@olwiba/docs": "0.1.46",
77
+ "@olwiba/dx": "0.0.28",
76
78
  "@react-email/render": "^2.1.0",
77
79
  "@tailwindcss/vite": "^4.1.18",
78
80
  "@tanstack/react-router": "1.154.8",
@@ -134,6 +134,12 @@ export interface AuthFormProps {
134
134
  signUpHref?: string;
135
135
  /** (signup / forgot-password / reset-password / verify) Link back to the sign-in page */
136
136
  signInHref?: string;
137
+ /**
138
+ * Where "Forgot password" points. Omit it to leave the link out.
139
+ *
140
+ * Previously defaulted to '#', so a consumer that never wired a reset flow
141
+ * still rendered the link — it looked available and did nothing when clicked.
142
+ */
137
143
  forgotPasswordHref?: string;
138
144
  /** (verify) Re-sends the one-time code */
139
145
  onResend?: () => void;
@@ -173,7 +179,7 @@ function DefaultForm({
173
179
  onSso,
174
180
  signUpHref,
175
181
  signInHref = '#',
176
- forgotPasswordHref = '#',
182
+ forgotPasswordHref,
177
183
  onResend,
178
184
  destination,
179
185
  codeLength = 6,