@olwiba/ui 0.2.26 → 0.2.28
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/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/docs-manifest.json +1 -6
- package/package.json +3 -2
- package/site/demos/overlay.tsx +1 -1
- package/site/demos/underlay.tsx +1 -1
- package/site/lib/sandboxes.ts +1426 -0
- package/src/app/AuthSection.tsx +9 -1
- package/site/demos/application-sidebar-block.tsx +0 -9
- package/site/demos/auth-split-block.tsx +0 -9
- package/site/demos/dashboard-overview-block.tsx +0 -9
- package/site/demos/dashboard-shell-block.tsx +0 -10
- package/site/demos/marketing-hero-block.tsx +0 -10
package/src/app/AuthSection.tsx
CHANGED
|
@@ -123,6 +123,14 @@ export interface AuthFormProps {
|
|
|
123
123
|
onSubmit?: (e: React.FormEvent<HTMLFormElement>) => void;
|
|
124
124
|
onSso?: () => void;
|
|
125
125
|
/** (signin) Link to the sign-up page */
|
|
126
|
+
/**
|
|
127
|
+
* Where "Create an account" points. Omit it to leave the link out.
|
|
128
|
+
*
|
|
129
|
+
* Previously defaulted to '#', so a consumer that never set it rendered a
|
|
130
|
+
* dead control, and passing undefined could not remove it — a default
|
|
131
|
+
* parameter reapplies on undefined. Sites where accounts are granted rather
|
|
132
|
+
* than self-served had no way to say so.
|
|
133
|
+
*/
|
|
126
134
|
signUpHref?: string;
|
|
127
135
|
/** (signup / forgot-password / reset-password / verify) Link back to the sign-in page */
|
|
128
136
|
signInHref?: string;
|
|
@@ -163,7 +171,7 @@ function DefaultForm({
|
|
|
163
171
|
mode = 'signin',
|
|
164
172
|
onSubmit,
|
|
165
173
|
onSso,
|
|
166
|
-
signUpHref
|
|
174
|
+
signUpHref,
|
|
167
175
|
signInHref = '#',
|
|
168
176
|
forgotPasswordHref = '#',
|
|
169
177
|
onResend,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AppShell } from '@olwiba/ui';
|
|
2
|
-
|
|
3
|
-
export default function DashboardShellBlockDemo() {
|
|
4
|
-
return (
|
|
5
|
-
<div className="h-full min-h-0 w-full max-w-[1400px]">
|
|
6
|
-
{/* contained: rail is absolute within this shell; provider uses layout=embedded + sandbox height */}
|
|
7
|
-
<AppShell sidebarPosition="contained" />
|
|
8
|
-
</div>
|
|
9
|
-
);
|
|
10
|
-
}
|