@framingui/ui 0.6.2 → 0.6.3
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 +22 -1090
- package/dist/chunk-7UBERMRE.mjs +180 -0
- package/dist/index.d.mts +1 -140
- package/dist/index.mjs +248 -1681
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +0 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/templates/auth/forgot-password.d.ts +2 -2
- package/dist/src/templates/auth/forgot-password.d.ts.map +1 -1
- package/dist/src/templates/auth/forgot-password.js +2 -35
- package/dist/src/templates/auth/forgot-password.js.map +1 -1
- package/dist/src/templates/auth/login.d.ts +2 -2
- package/dist/src/templates/auth/login.d.ts.map +1 -1
- package/dist/src/templates/auth/login.js +2 -35
- package/dist/src/templates/auth/login.js.map +1 -1
- package/dist/src/templates/auth/signup.d.ts +2 -2
- package/dist/src/templates/auth/signup.d.ts.map +1 -1
- package/dist/src/templates/auth/signup.js +2 -35
- package/dist/src/templates/auth/signup.js.map +1 -1
- package/dist/src/templates/auth/verification.d.ts +2 -2
- package/dist/src/templates/auth/verification.d.ts.map +1 -1
- package/dist/src/templates/auth/verification.js +2 -35
- package/dist/src/templates/auth/verification.js.map +1 -1
- package/dist/src/templates/core/landing.d.ts +2 -2
- package/dist/src/templates/core/landing.d.ts.map +1 -1
- package/dist/src/templates/core/landing.js +2 -35
- package/dist/src/templates/core/landing.js.map +1 -1
- package/dist/src/templates/core/preferences.d.ts +2 -2
- package/dist/src/templates/core/preferences.d.ts.map +1 -1
- package/dist/src/templates/core/preferences.js +2 -41
- package/dist/src/templates/core/preferences.js.map +1 -1
- package/dist/src/templates/core/profile.d.ts +2 -2
- package/dist/src/templates/core/profile.d.ts.map +1 -1
- package/dist/src/templates/core/profile.js +2 -35
- package/dist/src/templates/core/profile.js.map +1 -1
- package/dist/src/templates/create-template.d.ts +4 -0
- package/dist/src/templates/create-template.d.ts.map +1 -0
- package/dist/src/templates/create-template.js +41 -0
- package/dist/src/templates/create-template.js.map +1 -0
- package/dist/src/templates/dashboard/overview.d.ts +2 -2
- package/dist/src/templates/dashboard/overview.d.ts.map +1 -1
- package/dist/src/templates/dashboard/overview.js +2 -56
- package/dist/src/templates/dashboard/overview.js.map +1 -1
- package/dist/src/templates/feedback/confirmation.d.ts +2 -2
- package/dist/src/templates/feedback/confirmation.d.ts.map +1 -1
- package/dist/src/templates/feedback/confirmation.js +2 -35
- package/dist/src/templates/feedback/confirmation.js.map +1 -1
- package/dist/src/templates/feedback/empty.d.ts +2 -2
- package/dist/src/templates/feedback/empty.d.ts.map +1 -1
- package/dist/src/templates/feedback/empty.js +2 -35
- package/dist/src/templates/feedback/empty.js.map +1 -1
- package/dist/src/templates/feedback/error.d.ts +2 -2
- package/dist/src/templates/feedback/error.d.ts.map +1 -1
- package/dist/src/templates/feedback/error.js +2 -35
- package/dist/src/templates/feedback/error.js.map +1 -1
- package/dist/src/templates/feedback/loading.d.ts +2 -2
- package/dist/src/templates/feedback/loading.d.ts.map +1 -1
- package/dist/src/templates/feedback/loading.js +2 -35
- package/dist/src/templates/feedback/loading.js.map +1 -1
- package/dist/src/templates/feedback/success.d.ts +2 -2
- package/dist/src/templates/feedback/success.d.ts.map +1 -1
- package/dist/src/templates/feedback/success.js +2 -35
- package/dist/src/templates/feedback/success.js.map +1 -1
- package/dist/templates/index.d.mts +142 -0
- package/dist/templates/index.mjs +905 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -40,5 +40,4 @@ export type { BreadcrumbProps, BreadcrumbLinkProps, BreadcrumbSeparatorProps, }
|
|
|
40
40
|
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandSeparator, CommandShortcut, } from './components/command';
|
|
41
41
|
export type { CalendarProps } from './components/calendar';
|
|
42
42
|
export { Calendar } from './components/calendar';
|
|
43
|
-
export * from './templates';
|
|
44
43
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC7E,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EACL,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGtE,OAAO,EACL,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,EACb,aAAa,EACb,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAOtB,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGvD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAG3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAG1E,OAAO,EAAE,SA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ClB,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAG3D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -31,5 +31,4 @@ export { navigationMenuTriggerStyle, NavigationMenu, NavigationMenuList, Navigat
|
|
|
31
31
|
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, } from './components/breadcrumb';
|
|
32
32
|
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandSeparator, CommandShortcut, } from './components/command';
|
|
33
33
|
export { Calendar } from './components/calendar';
|
|
34
|
-
export * from './templates';
|
|
35
34
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAG7E,OAAO,EACL,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,oBAAoB,GACrB,MAAM,oBA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AAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScreenTemplateProps } from '../types';
|
|
2
2
|
export declare function ForgotPasswordTemplateComponent({ children, className, slots, texts, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const ForgotPasswordTemplate: ScreenTemplate;
|
|
3
|
+
export declare const ForgotPasswordTemplate: import("..").ScreenTemplate;
|
|
4
4
|
//# sourceMappingURL=forgot-password.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgot-password.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/forgot-password.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"forgot-password.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/forgot-password.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD,wBAAgB,+BAA+B,CAAC,EAC9C,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,GACX,EAAE,mBAAmB,2CAyCrB;AAKD,eAAO,MAAM,sBAAsB,6BAGlC,CAAC"}
|
|
@@ -3,45 +3,12 @@ import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle,
|
|
|
3
3
|
import { Button } from '../../components/button';
|
|
4
4
|
import { Input } from '../../components/input';
|
|
5
5
|
import { Label } from '../../components/label';
|
|
6
|
-
import {
|
|
6
|
+
import { createTemplateFromCatalog } from '../create-template';
|
|
7
7
|
export function ForgotPasswordTemplateComponent({ children, className = '', slots = {}, texts = {}, }) {
|
|
8
8
|
const title = texts.title || 'Forgot Password?';
|
|
9
9
|
const subtitle = texts.subtitle || "Enter your email address and we'll send you a reset link";
|
|
10
10
|
const buttonLabel = texts.button_label || 'Send Reset Link';
|
|
11
11
|
return (_jsxs("div", { className: `min-h-screen flex items-center justify-center p-[var(--tekton-spacing-4)] ${className}`, children: [_jsxs(Card, { className: "w-full max-w-md", children: [_jsxs(CardHeader, { children: [slots.logo && _jsx("div", { className: "mb-[var(--tekton-spacing-4)]", children: slots.logo }), _jsx(CardTitle, { children: title }), _jsx(CardDescription, { children: subtitle })] }), _jsxs(CardContent, { className: "space-y-[var(--tekton-spacing-4)]", children: [_jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx(Label, { htmlFor: "email", children: "Email" }), _jsx(Input, { id: "email", type: "email", placeholder: "Enter your email" })] }), _jsx(Button, { className: "w-full", children: buttonLabel })] }), _jsx(CardFooter, { children: slots.footer || (_jsxs("p", { className: "text-sm text-center w-full text-[var(--tekton-text-muted-foreground)]", children: ["Remember your password?", ' ', _jsx("a", { href: "#", className: "text-[var(--tekton-text-primary)] hover:underline", children: "Back to login" })] })) })] }), children] }));
|
|
12
12
|
}
|
|
13
|
-
export const ForgotPasswordTemplate =
|
|
14
|
-
id: 'auth.forgot-password',
|
|
15
|
-
name: 'Forgot Password',
|
|
16
|
-
category: 'auth',
|
|
17
|
-
description: 'Password reset screen with email input',
|
|
18
|
-
skeleton: {
|
|
19
|
-
shell: 'centered-card',
|
|
20
|
-
page: 'auth-page',
|
|
21
|
-
sections: [
|
|
22
|
-
{
|
|
23
|
-
id: 'forgot-password-form',
|
|
24
|
-
name: 'Forgot Password Form',
|
|
25
|
-
slot: 'main',
|
|
26
|
-
required: true,
|
|
27
|
-
Component: ForgotPasswordTemplateComponent,
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
layout: {
|
|
32
|
-
type: 'centered',
|
|
33
|
-
responsive: DEFAULT_RESPONSIVE_LAYOUT,
|
|
34
|
-
},
|
|
35
|
-
customizable: {
|
|
36
|
-
texts: ['title', 'subtitle', 'button_label'],
|
|
37
|
-
optional: [],
|
|
38
|
-
slots: ['logo', 'footer'],
|
|
39
|
-
},
|
|
40
|
-
requiredComponents: ['Button', 'Input', 'Form', 'Card', 'Label'],
|
|
41
|
-
Component: ForgotPasswordTemplateComponent,
|
|
42
|
-
version: '1.0.0',
|
|
43
|
-
created: '2026-02-01',
|
|
44
|
-
updated: '2026-02-01',
|
|
45
|
-
tags: ['auth', 'password', 'reset', 'forgot'],
|
|
46
|
-
};
|
|
13
|
+
export const ForgotPasswordTemplate = createTemplateFromCatalog('auth.forgot-password', ForgotPasswordTemplateComponent);
|
|
47
14
|
//# sourceMappingURL=forgot-password.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgot-password.js","sourceRoot":"","sources":["../../../../src/templates/auth/forgot-password.tsx"],"names":[],"mappings":";AAmBA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"forgot-password.js","sourceRoot":"","sources":["../../../../src/templates/auth/forgot-password.tsx"],"names":[],"mappings":";AAmBA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAK/D,MAAM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
-
import type {
|
|
1
|
+
import type { ScreenTemplateProps } from '../types';
|
|
2
2
|
export declare function LoginTemplateComponent({ children, className, slots, texts, options, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const LoginTemplate: ScreenTemplate;
|
|
3
|
+
export declare const LoginTemplate: import("..").ScreenTemplate;
|
|
4
4
|
//# sourceMappingURL=login.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/login.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/login.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,EACV,OAAY,GACb,EAAE,mBAAmB,2CA8ErB;AAKD,eAAO,MAAM,aAAa,6BAAkE,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { Button } from '../../components/button';
|
|
|
4
4
|
import { Input } from '../../components/input';
|
|
5
5
|
import { Label } from '../../components/label';
|
|
6
6
|
import { Separator } from '../../components/separator';
|
|
7
|
-
import {
|
|
7
|
+
import { createTemplateFromCatalog } from '../create-template';
|
|
8
8
|
export function LoginTemplateComponent({ children, className = '', slots = {}, texts = {}, options = {}, }) {
|
|
9
9
|
const title = texts.title || 'Welcome Back';
|
|
10
10
|
const subtitle = texts.subtitle || 'Sign in to your account';
|
|
@@ -13,38 +13,5 @@ export function LoginTemplateComponent({ children, className = '', slots = {}, t
|
|
|
13
13
|
const showRememberMe = options.remember_me ?? false;
|
|
14
14
|
return (_jsxs("div", { className: `min-h-screen flex items-center justify-center p-[var(--tekton-spacing-4)] ${className}`, children: [_jsxs(Card, { className: "w-full max-w-md", children: [_jsxs(CardHeader, { children: [slots.logo && _jsx("div", { className: "mb-[var(--tekton-spacing-4)]", children: slots.logo }), _jsx(CardTitle, { children: title }), _jsx(CardDescription, { children: subtitle })] }), _jsxs(CardContent, { className: "space-y-[var(--tekton-spacing-4)]", children: [_jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx(Label, { htmlFor: "email", children: "Email" }), _jsx(Input, { id: "email", type: "email", placeholder: "Enter your email" })] }), _jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx(Label, { htmlFor: "password", children: "Password" }), slots.forgotPassword && _jsx("div", { children: slots.forgotPassword })] }), _jsx(Input, { id: "password", type: "password", placeholder: "Enter your password" })] }), showRememberMe && slots.rememberMe && (_jsx("div", { className: "flex items-center space-x-[var(--tekton-spacing-2)]", children: slots.rememberMe })), _jsx(Button, { className: "w-full", children: buttonLabel }), showSocialLogin && slots.socialLogin && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "relative", children: [_jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx(Separator, {}) }), _jsx("div", { className: "relative flex justify-center text-xs uppercase", children: _jsx("span", { className: "bg-[var(--tekton-bg-background)] px-[var(--tekton-spacing-2)] text-[var(--tekton-text-muted-foreground)]", children: "Or continue with" }) })] }), _jsx("div", { className: "grid grid-cols-2 gap-[var(--tekton-spacing-4)]", children: slots.socialLogin })] }))] }), _jsx(CardFooter, { children: slots.footer || (_jsxs("p", { className: "text-sm text-center w-full text-[var(--tekton-text-muted-foreground)]", children: ["Don't have an account?", ' ', _jsx("a", { href: "#", className: "text-[var(--tekton-text-primary)] hover:underline", children: "Sign up" })] })) })] }), children] }));
|
|
15
15
|
}
|
|
16
|
-
export const LoginTemplate =
|
|
17
|
-
id: 'auth.login',
|
|
18
|
-
name: 'Login',
|
|
19
|
-
category: 'auth',
|
|
20
|
-
description: 'Standard login screen with email and password',
|
|
21
|
-
skeleton: {
|
|
22
|
-
shell: 'centered-card',
|
|
23
|
-
page: 'auth-page',
|
|
24
|
-
sections: [
|
|
25
|
-
{
|
|
26
|
-
id: 'login-form',
|
|
27
|
-
name: 'Login Form',
|
|
28
|
-
slot: 'main',
|
|
29
|
-
required: true,
|
|
30
|
-
Component: LoginTemplateComponent,
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
},
|
|
34
|
-
layout: {
|
|
35
|
-
type: 'centered',
|
|
36
|
-
responsive: DEFAULT_RESPONSIVE_LAYOUT,
|
|
37
|
-
},
|
|
38
|
-
customizable: {
|
|
39
|
-
texts: ['title', 'subtitle', 'button_label'],
|
|
40
|
-
optional: ['social_login', 'remember_me'],
|
|
41
|
-
slots: ['logo', 'forgotPassword', 'rememberMe', 'socialLogin', 'footer'],
|
|
42
|
-
},
|
|
43
|
-
requiredComponents: ['Button', 'Input', 'Form', 'Card', 'Label'],
|
|
44
|
-
Component: LoginTemplateComponent,
|
|
45
|
-
version: '1.0.0',
|
|
46
|
-
created: '2026-01-31',
|
|
47
|
-
updated: '2026-01-31',
|
|
48
|
-
tags: ['auth', 'login', 'form'],
|
|
49
|
-
};
|
|
16
|
+
export const LoginTemplate = createTemplateFromCatalog('auth.login', LoginTemplateComponent);
|
|
50
17
|
//# sourceMappingURL=login.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../../../src/templates/auth/login.tsx"],"names":[],"mappings":";AAmBA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScreenTemplateProps } from '../types';
|
|
2
2
|
export declare function SignupTemplateComponent({ children, className, slots, texts, options, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const SignupTemplate: ScreenTemplate;
|
|
3
|
+
export declare const SignupTemplate: import("..").ScreenTemplate;
|
|
4
4
|
//# sourceMappingURL=signup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/signup.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/signup.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,EACV,OAAY,GACb,EAAE,mBAAmB,2CAsFrB;AAKD,eAAO,MAAM,cAAc,6BAAoE,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { Button } from '../../components/button';
|
|
|
4
4
|
import { Input } from '../../components/input';
|
|
5
5
|
import { Label } from '../../components/label';
|
|
6
6
|
import { Separator } from '../../components/separator';
|
|
7
|
-
import {
|
|
7
|
+
import { createTemplateFromCatalog } from '../create-template';
|
|
8
8
|
export function SignupTemplateComponent({ children, className = '', slots = {}, texts = {}, options = {}, }) {
|
|
9
9
|
const title = texts.title || 'Create Account';
|
|
10
10
|
const subtitle = texts.subtitle || 'Sign up to get started';
|
|
@@ -12,38 +12,5 @@ export function SignupTemplateComponent({ children, className = '', slots = {},
|
|
|
12
12
|
const showSocialSignup = options.social_signup ?? false;
|
|
13
13
|
return (_jsxs("div", { className: `min-h-screen flex items-center justify-center p-[var(--tekton-spacing-4)] ${className}`, children: [_jsxs(Card, { className: "w-full max-w-md", children: [_jsxs(CardHeader, { children: [slots.logo && _jsx("div", { className: "mb-[var(--tekton-spacing-4)]", children: slots.logo }), _jsx(CardTitle, { children: title }), _jsx(CardDescription, { children: subtitle })] }), _jsxs(CardContent, { className: "space-y-[var(--tekton-spacing-4)]", children: [_jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx(Label, { htmlFor: "name", children: "Name" }), _jsx(Input, { id: "name", type: "text", placeholder: "Enter your name" })] }), _jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx(Label, { htmlFor: "email", children: "Email" }), _jsx(Input, { id: "email", type: "email", placeholder: "Enter your email" })] }), _jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx(Label, { htmlFor: "password", children: "Password" }), _jsx(Input, { id: "password", type: "password", placeholder: "Enter your password" })] }), _jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx(Label, { htmlFor: "password-confirm", children: "Confirm Password" }), _jsx(Input, { id: "password-confirm", type: "password", placeholder: "Confirm your password" })] }), slots.termsCheckbox && (_jsx("div", { className: "flex items-start space-x-[var(--tekton-spacing-2)]", children: slots.termsCheckbox })), _jsx(Button, { className: "w-full", children: buttonLabel }), showSocialSignup && slots.socialSignup && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "relative", children: [_jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx(Separator, {}) }), _jsx("div", { className: "relative flex justify-center text-xs uppercase", children: _jsx("span", { className: "bg-[var(--tekton-bg-background)] px-[var(--tekton-spacing-2)] text-[var(--tekton-text-muted-foreground)]", children: "Or sign up with" }) })] }), _jsx("div", { className: "grid grid-cols-2 gap-[var(--tekton-spacing-4)]", children: slots.socialSignup })] }))] }), _jsx(CardFooter, { children: slots.footer || (_jsxs("p", { className: "text-sm text-center w-full text-[var(--tekton-text-muted-foreground)]", children: ["Already have an account?", ' ', _jsx("a", { href: "#", className: "text-[var(--tekton-text-primary)] hover:underline", children: "Sign in" })] })) })] }), children] }));
|
|
14
14
|
}
|
|
15
|
-
export const SignupTemplate =
|
|
16
|
-
id: 'auth.signup',
|
|
17
|
-
name: 'Signup',
|
|
18
|
-
category: 'auth',
|
|
19
|
-
description: 'Standard signup screen with name, email, and password',
|
|
20
|
-
skeleton: {
|
|
21
|
-
shell: 'centered-card',
|
|
22
|
-
page: 'auth-page',
|
|
23
|
-
sections: [
|
|
24
|
-
{
|
|
25
|
-
id: 'signup-form',
|
|
26
|
-
name: 'Signup Form',
|
|
27
|
-
slot: 'main',
|
|
28
|
-
required: true,
|
|
29
|
-
Component: SignupTemplateComponent,
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
layout: {
|
|
34
|
-
type: 'centered',
|
|
35
|
-
responsive: DEFAULT_RESPONSIVE_LAYOUT,
|
|
36
|
-
},
|
|
37
|
-
customizable: {
|
|
38
|
-
texts: ['title', 'subtitle', 'button_label'],
|
|
39
|
-
optional: ['social_signup'],
|
|
40
|
-
slots: ['logo', 'termsCheckbox', 'socialSignup', 'footer'],
|
|
41
|
-
},
|
|
42
|
-
requiredComponents: ['Button', 'Input', 'Form', 'Card', 'Label', 'Checkbox'],
|
|
43
|
-
Component: SignupTemplateComponent,
|
|
44
|
-
version: '1.0.0',
|
|
45
|
-
created: '2026-02-01',
|
|
46
|
-
updated: '2026-02-01',
|
|
47
|
-
tags: ['auth', 'signup', 'registration', 'form'],
|
|
48
|
-
};
|
|
15
|
+
export const SignupTemplate = createTemplateFromCatalog('auth.signup', SignupTemplateComponent);
|
|
49
16
|
//# sourceMappingURL=signup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signup.js","sourceRoot":"","sources":["../../../../src/templates/auth/signup.tsx"],"names":[],"mappings":";AAmBA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAA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,EAAC,gDAAgD,YAC7D,eAAM,SAAS,EAAC,0GAA0G,gCAEnH,GACH,IACF,EACN,cAAK,SAAS,EAAC,gDAAgD,YAC5D,KAAK,CAAC,YAAY,GACf,IACL,CACJ,IACW,EAEd,KAAC,UAAU,cACR,KAAK,CAAC,MAAM,IAAI,CACf,aAAG,SAAS,EAAC,uEAAuE,yCACzD,GAAG,EAC5B,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,mDAAmD,wBAErE,IACF,CACL,GACU,IACR,EACN,QAAQ,IACL,CACP,CAAC;AACJ,CAAC;AAKD,MAAM,CAAC,MAAM,cAAc,GAAG,yBAAyB,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScreenTemplateProps } from '../types';
|
|
2
2
|
export declare function VerificationTemplateComponent({ children, className, slots, texts, options, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const VerificationTemplate: ScreenTemplate;
|
|
3
|
+
export declare const VerificationTemplate: import("..").ScreenTemplate;
|
|
4
4
|
//# sourceMappingURL=verification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/verification.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"verification.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/verification.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD,wBAAgB,6BAA6B,CAAC,EAC5C,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,EACV,OAAY,GACb,EAAE,mBAAmB,2CAsDrB;AAKD,eAAO,MAAM,oBAAoB,6BAGhC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
3
3
|
import { Button } from '../../components/button';
|
|
4
|
-
import {
|
|
4
|
+
import { createTemplateFromCatalog } from '../create-template';
|
|
5
5
|
export function VerificationTemplateComponent({ children, className = '', slots = {}, texts = {}, options = {}, }) {
|
|
6
6
|
const title = texts.title || 'Verify Your Email';
|
|
7
7
|
const subtitle = texts.subtitle || "We've sent a verification link to your email address";
|
|
@@ -10,38 +10,5 @@ export function VerificationTemplateComponent({ children, className = '', slots
|
|
|
10
10
|
const userEmail = options.user_email || 'user@example.com';
|
|
11
11
|
return (_jsxs("div", { className: `min-h-screen flex items-center justify-center p-[var(--tekton-spacing-4)] ${className}`, children: [_jsxs(Card, { className: "w-full max-w-md", children: [_jsxs(CardHeader, { children: [slots.icon && _jsx("div", { className: "mb-[var(--tekton-spacing-4)]", children: slots.icon }), _jsx(CardTitle, { children: title }), _jsx(CardDescription, { children: subtitle })] }), _jsxs(CardContent, { className: "space-y-[var(--tekton-spacing-4)]", children: [_jsx("div", { className: "bg-[var(--tekton-bg-muted)] p-[var(--tekton-spacing-3)] rounded-[var(--tekton-radius-md)] text-center", children: _jsx("p", { className: "text-sm font-medium", children: userEmail }) }), _jsx(Button, { className: "w-full", children: buttonLabel }), showResend && (_jsx("div", { className: "text-center", children: _jsxs("p", { className: "text-sm text-[var(--tekton-text-muted-foreground)]", children: ["Didn't receive the email?", ' ', _jsx("button", { className: "text-[var(--tekton-text-primary)] hover:underline", children: "Resend" })] }) }))] }), _jsx(CardFooter, { children: slots.footer || (_jsxs("p", { className: "text-sm text-center w-full text-[var(--tekton-text-muted-foreground)]", children: ["Wrong email?", ' ', _jsx("a", { href: "#", className: "text-[var(--tekton-text-primary)] hover:underline", children: "Change email address" })] })) })] }), children] }));
|
|
12
12
|
}
|
|
13
|
-
export const VerificationTemplate =
|
|
14
|
-
id: 'auth.verification',
|
|
15
|
-
name: 'Email Verification',
|
|
16
|
-
category: 'auth',
|
|
17
|
-
description: 'Email verification screen with resend option',
|
|
18
|
-
skeleton: {
|
|
19
|
-
shell: 'centered-card',
|
|
20
|
-
page: 'auth-page',
|
|
21
|
-
sections: [
|
|
22
|
-
{
|
|
23
|
-
id: 'verification-message',
|
|
24
|
-
name: 'Verification Message',
|
|
25
|
-
slot: 'main',
|
|
26
|
-
required: true,
|
|
27
|
-
Component: VerificationTemplateComponent,
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
layout: {
|
|
32
|
-
type: 'centered',
|
|
33
|
-
responsive: DEFAULT_RESPONSIVE_LAYOUT,
|
|
34
|
-
},
|
|
35
|
-
customizable: {
|
|
36
|
-
texts: ['title', 'subtitle', 'button_label'],
|
|
37
|
-
optional: ['show_resend', 'user_email'],
|
|
38
|
-
slots: ['icon', 'footer'],
|
|
39
|
-
},
|
|
40
|
-
requiredComponents: ['Button', 'Card'],
|
|
41
|
-
Component: VerificationTemplateComponent,
|
|
42
|
-
version: '1.0.0',
|
|
43
|
-
created: '2026-02-01',
|
|
44
|
-
updated: '2026-02-01',
|
|
45
|
-
tags: ['auth', 'verification', 'email', 'confirm'],
|
|
46
|
-
};
|
|
13
|
+
export const VerificationTemplate = createTemplateFromCatalog('auth.verification', VerificationTemplateComponent);
|
|
47
14
|
//# sourceMappingURL=verification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification.js","sourceRoot":"","sources":["../../../../src/templates/auth/verification.tsx"],"names":[],"mappings":";AAmBA,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"verification.js","sourceRoot":"","sources":["../../../../src/templates/auth/verification.tsx"],"names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EAAC,oDAAoD,0CAChC,GAAG,EAClC,iBAAQ,SAAS,EAAC,mDAAmD,uBAE5D,IACP,GACA,CACP,IACW,EAEd,KAAC,UAAU,cACR,KAAK,CAAC,MAAM,IAAI,CACf,aAAG,SAAS,EAAC,uEAAuE,6BACrE,GAAG,EAChB,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,mDAAmD,qCAErE,IACF,CACL,GACU,IACR,EACN,QAAQ,IACL,CACP,CAAC;AACJ,CAAC;AAKD,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB,CAC3D,mBAAmB,EACnB,6BAA6B,CAC9B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScreenTemplateProps } from '../types';
|
|
2
2
|
export declare function LandingTemplateComponent({ children, className, slots, texts, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const LandingTemplate: ScreenTemplate;
|
|
3
|
+
export declare const LandingTemplate: import("..").ScreenTemplate;
|
|
4
4
|
//# sourceMappingURL=landing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"landing.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/landing.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"landing.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/landing.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,GACX,EAAE,mBAAmB,2CAoDrB;AAKD,eAAO,MAAM,eAAe,6BAAsE,CAAC"}
|
|
@@ -1,44 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../../components/button';
|
|
3
|
-
import {
|
|
3
|
+
import { createTemplateFromCatalog } from '../create-template';
|
|
4
4
|
export function LandingTemplateComponent({ children, className = '', slots = {}, texts = {}, }) {
|
|
5
5
|
const title = texts.title || 'Welcome Back';
|
|
6
6
|
const subtitle = texts.subtitle || 'Start a new conversation or continue where you left off';
|
|
7
7
|
const ctaLabel = texts.cta_label || 'New Conversation';
|
|
8
8
|
return (_jsxs("div", { className: `min-h-screen flex ${className}`, children: [slots.sidebar && (_jsx("aside", { className: "w-64 border-r border-[var(--tekton-border-default)] bg-[var(--tekton-bg-muted)]", children: slots.sidebar })), _jsxs("main", { className: "flex-1 flex flex-col", children: [slots.header && (_jsx("header", { className: "border-b border-[var(--tekton-border-default)] p-[var(--tekton-spacing-4)]", children: slots.header })), _jsx("div", { className: "flex-1 flex flex-col items-center justify-center p-[var(--tekton-spacing-8)]", children: _jsxs("div", { className: "max-w-2xl w-full text-center space-y-[var(--tekton-spacing-6)]", children: [_jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx("h1", { className: "text-3xl font-bold", children: title }), _jsx("p", { className: "text-[var(--tekton-text-muted-foreground)]", children: subtitle })] }), _jsx("div", { children: _jsx(Button, { size: "lg", children: ctaLabel }) }), slots.recentActivity && (_jsx("div", { className: "mt-[var(--tekton-spacing-8)]", children: slots.recentActivity })), slots.suggestions && (_jsx("div", { className: "mt-[var(--tekton-spacing-6)]", children: slots.suggestions }))] }) })] }), children] }));
|
|
9
9
|
}
|
|
10
|
-
export const LandingTemplate =
|
|
11
|
-
id: 'core.landing',
|
|
12
|
-
name: 'Landing',
|
|
13
|
-
category: 'marketing',
|
|
14
|
-
description: 'Main dashboard landing page with sidebar and CTA',
|
|
15
|
-
skeleton: {
|
|
16
|
-
shell: 'sidebar-layout',
|
|
17
|
-
page: 'main-page',
|
|
18
|
-
sections: [
|
|
19
|
-
{
|
|
20
|
-
id: 'landing-content',
|
|
21
|
-
name: 'Landing Content',
|
|
22
|
-
slot: 'main',
|
|
23
|
-
required: true,
|
|
24
|
-
Component: LandingTemplateComponent,
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
layout: {
|
|
29
|
-
type: 'sidebar',
|
|
30
|
-
responsive: DEFAULT_RESPONSIVE_LAYOUT,
|
|
31
|
-
},
|
|
32
|
-
customizable: {
|
|
33
|
-
texts: ['title', 'subtitle', 'cta_label'],
|
|
34
|
-
optional: [],
|
|
35
|
-
slots: ['sidebar', 'header', 'recentActivity', 'suggestions'],
|
|
36
|
-
},
|
|
37
|
-
requiredComponents: ['Button'],
|
|
38
|
-
Component: LandingTemplateComponent,
|
|
39
|
-
version: '1.0.0',
|
|
40
|
-
created: '2026-02-01',
|
|
41
|
-
updated: '2026-02-01',
|
|
42
|
-
tags: ['core', 'landing', 'dashboard', 'home'],
|
|
43
|
-
};
|
|
10
|
+
export const LandingTemplate = createTemplateFromCatalog('core.landing', LandingTemplateComponent);
|
|
44
11
|
//# sourceMappingURL=landing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"landing.js","sourceRoot":"","sources":["../../../../src/templates/core/landing.tsx"],"names":[],"mappings":";AAmBA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"landing.js","sourceRoot":"","sources":["../../../../src/templates/core/landing.tsx"],"names":[],"mappings":";AAmBA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAK/D,MAAM,UAAU,wBAAwB,CAAC,EACvC,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,EAAE,EACV,KAAK,GAAG,EAAE,GACU;IACpB,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,cAAc,CAAC;IAC5C,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,yDAAyD,CAAC;IAC7F,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,IAAI,kBAAkB,CAAC;IAEvD,OAAO,CACL,eAAK,SAAS,EAAE,qBAAqB,SAAS,EAAE,aAE7C,KAAK,CAAC,OAAO,IAAI,CAChB,gBAAO,SAAS,EAAC,iFAAiF,YAC/F,KAAK,CAAC,OAAO,GACR,CACT,EAGD,gBAAM,SAAS,EAAC,sBAAsB,aAEnC,KAAK,CAAC,MAAM,IAAI,CACf,iBAAQ,SAAS,EAAC,4EAA4E,YAC3F,KAAK,CAAC,MAAM,GACN,CACV,EAGD,cAAK,SAAS,EAAC,8EAA8E,YAC3F,eAAK,SAAS,EAAC,gEAAgE,aAE7E,eAAK,SAAS,EAAC,mCAAmC,aAChD,aAAI,SAAS,EAAC,oBAAoB,YAAE,KAAK,GAAM,EAC/C,YAAG,SAAS,EAAC,4CAA4C,YAAE,QAAQ,GAAK,IACpE,EAGN,wBACE,KAAC,MAAM,IAAC,IAAI,EAAC,IAAI,YAAE,QAAQ,GAAU,GACjC,EAGL,KAAK,CAAC,cAAc,IAAI,CACvB,cAAK,SAAS,EAAC,8BAA8B,YAAE,KAAK,CAAC,cAAc,GAAO,CAC3E,EAGA,KAAK,CAAC,WAAW,IAAI,CACpB,cAAK,SAAS,EAAC,8BAA8B,YAAE,KAAK,CAAC,WAAW,GAAO,CACxE,IACG,GACF,IACD,EACN,QAAQ,IACL,CACP,CAAC;AACJ,CAAC;AAKD,MAAM,CAAC,MAAM,eAAe,GAAG,yBAAyB,CAAC,cAAc,EAAE,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScreenTemplateProps } from '../types';
|
|
2
2
|
export declare function PreferencesTemplateComponent({ children, className, slots, texts, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const PreferencesTemplate: ScreenTemplate;
|
|
3
|
+
export declare const PreferencesTemplate: import("..").ScreenTemplate;
|
|
4
4
|
//# sourceMappingURL=preferences.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/preferences.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/preferences.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD,wBAAgB,4BAA4B,CAAC,EAC3C,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,GACX,EAAE,mBAAmB,2CAwErB;AAKD,eAAO,MAAM,mBAAmB,6BAG/B,CAAC"}
|
|
@@ -1,51 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../components/card';
|
|
3
3
|
import { Button } from '../../components/button';
|
|
4
|
-
import {
|
|
4
|
+
import { createTemplateFromCatalog } from '../create-template';
|
|
5
5
|
export function PreferencesTemplateComponent({ children, className = '', slots = {}, texts = {}, }) {
|
|
6
6
|
const title = texts.title || 'Preferences';
|
|
7
7
|
const subtitle = texts.subtitle || 'Manage your account settings and preferences';
|
|
8
8
|
const saveLabel = texts.save_label || 'Save Changes';
|
|
9
9
|
return (_jsxs("div", { className: `min-h-screen flex ${className}`, children: [slots.settingsNav && (_jsx("aside", { className: "w-64 border-r border-[var(--tekton-border-default)] p-[var(--tekton-spacing-4)] bg-[var(--tekton-bg-muted)]", children: slots.settingsNav })), _jsx("main", { className: "flex-1 p-[var(--tekton-spacing-8)]", children: _jsxs("div", { className: "max-w-3xl", children: [_jsxs("div", { className: "mb-[var(--tekton-spacing-8)]", children: [_jsx("h1", { className: "text-3xl font-bold mb-[var(--tekton-spacing-2)]", children: title }), _jsx("p", { className: "text-[var(--tekton-text-muted-foreground)]", children: subtitle })] }), _jsxs("div", { className: "space-y-[var(--tekton-spacing-6)]", children: [slots.generalSettings && (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "General" }), _jsx(CardDescription, { children: "Manage your general preferences" })] }), _jsx(CardContent, { children: slots.generalSettings })] })), slots.appearanceSettings && (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Appearance" }), _jsx(CardDescription, { children: "Customize the look and feel" })] }), _jsx(CardContent, { children: slots.appearanceSettings })] })), slots.notificationsSettings && (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Notifications" }), _jsx(CardDescription, { children: "Manage notification preferences" })] }), _jsx(CardContent, { children: slots.notificationsSettings })] })), slots.additionalSettings && slots.additionalSettings] }), _jsxs("div", { className: "mt-[var(--tekton-spacing-8)] flex justify-end gap-[var(--tekton-spacing-4)]", children: [_jsx(Button, { variant: "outline", children: "Cancel" }), _jsx(Button, { children: saveLabel })] })] }) }), children] }));
|
|
10
10
|
}
|
|
11
|
-
export const PreferencesTemplate =
|
|
12
|
-
id: 'core.preferences',
|
|
13
|
-
name: 'Preferences',
|
|
14
|
-
category: 'form',
|
|
15
|
-
description: 'Settings and preferences page with categorized options',
|
|
16
|
-
skeleton: {
|
|
17
|
-
shell: 'sidebar-layout',
|
|
18
|
-
page: 'settings-page',
|
|
19
|
-
sections: [
|
|
20
|
-
{
|
|
21
|
-
id: 'preferences-content',
|
|
22
|
-
name: 'Preferences Content',
|
|
23
|
-
slot: 'main',
|
|
24
|
-
required: true,
|
|
25
|
-
Component: PreferencesTemplateComponent,
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
layout: {
|
|
30
|
-
type: 'sidebar',
|
|
31
|
-
responsive: DEFAULT_RESPONSIVE_LAYOUT,
|
|
32
|
-
},
|
|
33
|
-
customizable: {
|
|
34
|
-
texts: ['title', 'subtitle', 'save_label'],
|
|
35
|
-
optional: [],
|
|
36
|
-
slots: [
|
|
37
|
-
'settingsNav',
|
|
38
|
-
'generalSettings',
|
|
39
|
-
'appearanceSettings',
|
|
40
|
-
'notificationsSettings',
|
|
41
|
-
'additionalSettings',
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
requiredComponents: ['Button', 'Card', 'Switch', 'Select'],
|
|
45
|
-
Component: PreferencesTemplateComponent,
|
|
46
|
-
version: '1.0.0',
|
|
47
|
-
created: '2026-02-01',
|
|
48
|
-
updated: '2026-02-01',
|
|
49
|
-
tags: ['core', 'settings', 'preferences', 'configuration'],
|
|
50
|
-
};
|
|
11
|
+
export const PreferencesTemplate = createTemplateFromCatalog('core.preferences', PreferencesTemplateComponent);
|
|
51
12
|
//# sourceMappingURL=preferences.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preferences.js","sourceRoot":"","sources":["../../../../src/templates/core/preferences.tsx"],"names":[],"mappings":";AAmBA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClG,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"preferences.js","sourceRoot":"","sources":["../../../../src/templates/core/preferences.tsx"],"names":[],"mappings":";AAmBA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClG,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAK/D,MAAM,UAAU,4BAA4B,CAAC,EAC3C,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,EAAE,EACV,KAAK,GAAG,EAAE,GACU;IACpB,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,aAAa,CAAC;IAC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AM,cAAE,SAAS,GAAU,IACxB,IACF,GACD,EACN,QAAQ,IACL,CACP,CAAC;AACJ,CAAC;AAKD,MAAM,CAAC,MAAM,mBAAmB,GAAG,yBAAyB,CAC1D,kBAAkB,EAClB,4BAA4B,CAC7B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScreenTemplateProps } from '../types';
|
|
2
2
|
export declare function ProfileTemplateComponent({ children, className, slots, texts, options, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const ProfileTemplate: ScreenTemplate;
|
|
3
|
+
export declare const ProfileTemplate: import("..").ScreenTemplate;
|
|
4
4
|
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/profile.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/profile.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,EACV,OAAY,GACb,EAAE,mBAAmB,2CA6ErB;AAKD,eAAO,MAAM,eAAe,6BAAsE,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../..
|
|
|
3
3
|
import { Button } from '../../components/button';
|
|
4
4
|
import { Input } from '../../components/input';
|
|
5
5
|
import { Label } from '../../components/label';
|
|
6
|
-
import {
|
|
6
|
+
import { createTemplateFromCatalog } from '../create-template';
|
|
7
7
|
export function ProfileTemplateComponent({ children, className = '', slots = {}, texts = {}, options = {}, }) {
|
|
8
8
|
const title = texts.title || 'Profile';
|
|
9
9
|
const subtitle = texts.subtitle || 'Manage your profile information';
|
|
@@ -12,38 +12,5 @@ export function ProfileTemplateComponent({ children, className = '', slots = {},
|
|
|
12
12
|
const userEmail = String(options.user_email || 'john@example.com');
|
|
13
13
|
return (_jsxs("div", { className: `min-h-screen p-[var(--tekton-spacing-8)] ${className}`, children: [_jsxs("div", { className: "max-w-3xl mx-auto", children: [_jsxs("div", { className: "mb-[var(--tekton-spacing-8)]", children: [_jsx("h1", { className: "text-3xl font-bold mb-[var(--tekton-spacing-2)]", children: title }), _jsx("p", { className: "text-[var(--tekton-text-muted-foreground)]", children: subtitle })] }), _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Personal Information" }), _jsx(CardDescription, { children: "Update your profile details" })] }), _jsxs(CardContent, { className: "space-y-[var(--tekton-spacing-6)]", children: [slots.avatar && (_jsxs("div", { className: "flex items-center gap-[var(--tekton-spacing-4)]", children: [_jsx("div", { children: slots.avatar }), _jsxs("div", { children: [_jsx(Button, { variant: "outline", size: "sm", children: "Change Photo" }), _jsx("p", { className: "text-xs text-[var(--tekton-text-muted-foreground)] mt-[var(--tekton-spacing-2)]", children: "JPG, PNG. Max 2MB" })] })] })), _jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx(Label, { htmlFor: "name", children: "Name" }), _jsx(Input, { id: "name", type: "text", defaultValue: userName })] }), _jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx(Label, { htmlFor: "email", children: "Email" }), _jsx(Input, { id: "email", type: "email", defaultValue: userEmail, disabled: true }), _jsx("p", { className: "text-xs text-[var(--tekton-text-muted-foreground)]", children: "Contact support to change your email address" })] }), slots.bioField && (_jsx("div", { className: "space-y-[var(--tekton-spacing-2)]", children: slots.bioField })), slots.additionalFields && slots.additionalFields] })] }), slots.additionalSections && (_jsx("div", { className: "mt-[var(--tekton-spacing-6)]", children: slots.additionalSections })), _jsxs("div", { className: "mt-[var(--tekton-spacing-8)] flex justify-end gap-[var(--tekton-spacing-4)]", children: [_jsx(Button, { variant: "outline", children: "Cancel" }), _jsx(Button, { children: saveLabel })] })] }), children] }));
|
|
14
14
|
}
|
|
15
|
-
export const ProfileTemplate =
|
|
16
|
-
id: 'core.profile',
|
|
17
|
-
name: 'Profile',
|
|
18
|
-
category: 'form',
|
|
19
|
-
description: 'User profile page with editable information',
|
|
20
|
-
skeleton: {
|
|
21
|
-
shell: 'centered-layout',
|
|
22
|
-
page: 'profile-page',
|
|
23
|
-
sections: [
|
|
24
|
-
{
|
|
25
|
-
id: 'profile-content',
|
|
26
|
-
name: 'Profile Content',
|
|
27
|
-
slot: 'main',
|
|
28
|
-
required: true,
|
|
29
|
-
Component: ProfileTemplateComponent,
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
layout: {
|
|
34
|
-
type: 'centered',
|
|
35
|
-
responsive: DEFAULT_RESPONSIVE_LAYOUT,
|
|
36
|
-
},
|
|
37
|
-
customizable: {
|
|
38
|
-
texts: ['title', 'subtitle', 'save_label'],
|
|
39
|
-
optional: ['user_name', 'user_email'],
|
|
40
|
-
slots: ['avatar', 'bioField', 'additionalFields', 'additionalSections'],
|
|
41
|
-
},
|
|
42
|
-
requiredComponents: ['Button', 'Input', 'Form', 'Card', 'Label', 'Avatar'],
|
|
43
|
-
Component: ProfileTemplateComponent,
|
|
44
|
-
version: '1.0.0',
|
|
45
|
-
created: '2026-02-01',
|
|
46
|
-
updated: '2026-02-01',
|
|
47
|
-
tags: ['core', 'profile', 'account', 'user'],
|
|
48
|
-
};
|
|
15
|
+
export const ProfileTemplate = createTemplateFromCatalog('core.profile', ProfileTemplateComponent);
|
|
49
16
|
//# sourceMappingURL=profile.js.map
|