@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.
@@ -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,9 +0,0 @@
1
- import { AppShell } from '@olwiba/ui';
2
-
3
- export default function ApplicationSidebarBlockDemo() {
4
- return (
5
- <div className="w-full max-w-7xl">
6
- <AppShell />
7
- </div>
8
- );
9
- }
@@ -1,9 +0,0 @@
1
- import { AuthSection } from '@olwiba/ui';
2
-
3
- export default function AuthSplitBlockDemo() {
4
- return (
5
- <div className="w-full max-w-5xl">
6
- <AuthSection layout="split" />
7
- </div>
8
- );
9
- }
@@ -1,9 +0,0 @@
1
- import { AppShell } from '@olwiba/ui';
2
-
3
- export default function DashboardOverviewBlockDemo() {
4
- return (
5
- <div className="w-full max-w-6xl">
6
- <AppShell />
7
- </div>
8
- );
9
- }
@@ -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
- }
@@ -1,10 +0,0 @@
1
- import { HeroSection } from '@olwiba/ui';
2
- import { demoHero } from './marketing-demo-data';
3
-
4
- export default function MarketingHeroBlockDemo() {
5
- return (
6
- <div className="w-full max-w-6xl">
7
- <HeroSection {...demoHero} />
8
- </div>
9
- );
10
- }