@tekton-ui/ui 0.2.0
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 +1137 -0
- package/dist/index.d.mts +719 -0
- package/dist/index.mjs +3511 -0
- package/dist/src/components/alert-dialog.d.ts +21 -0
- package/dist/src/components/alert-dialog.d.ts.map +1 -0
- package/dist/src/components/alert-dialog.js +26 -0
- package/dist/src/components/alert-dialog.js.map +1 -0
- package/dist/src/components/alert-dialog.stories.d.ts +22 -0
- package/dist/src/components/alert-dialog.stories.d.ts.map +1 -0
- package/dist/src/components/alert-dialog.stories.js +22 -0
- package/dist/src/components/alert-dialog.stories.js.map +1 -0
- package/dist/src/components/avatar.d.ts +7 -0
- package/dist/src/components/avatar.d.ts.map +1 -0
- package/dist/src/components/avatar.js +12 -0
- package/dist/src/components/avatar.js.map +1 -0
- package/dist/src/components/avatar.stories.d.ts +38 -0
- package/dist/src/components/avatar.stories.d.ts.map +1 -0
- package/dist/src/components/avatar.stories.js +33 -0
- package/dist/src/components/avatar.stories.js.map +1 -0
- package/dist/src/components/badge.d.ts +10 -0
- package/dist/src/components/badge.d.ts.map +1 -0
- package/dist/src/components/badge.js +21 -0
- package/dist/src/components/badge.js.map +1 -0
- package/dist/src/components/badge.stories.d.ts +73 -0
- package/dist/src/components/badge.stories.d.ts.map +1 -0
- package/dist/src/components/badge.stories.js +60 -0
- package/dist/src/components/badge.stories.js.map +1 -0
- package/dist/src/components/breadcrumb.d.ts +27 -0
- package/dist/src/components/breadcrumb.d.ts.map +1 -0
- package/dist/src/components/breadcrumb.js +60 -0
- package/dist/src/components/breadcrumb.js.map +1 -0
- package/dist/src/components/breadcrumb.stories.d.ts +49 -0
- package/dist/src/components/breadcrumb.stories.d.ts.map +1 -0
- package/dist/src/components/breadcrumb.stories.js +43 -0
- package/dist/src/components/breadcrumb.stories.js.map +1 -0
- package/dist/src/components/button.d.ts +12 -0
- package/dist/src/components/button.d.ts.map +1 -0
- package/dist/src/components/button.js +34 -0
- package/dist/src/components/button.js.map +1 -0
- package/dist/src/components/button.stories.d.ts +134 -0
- package/dist/src/components/button.stories.d.ts.map +1 -0
- package/dist/src/components/button.stories.js +101 -0
- package/dist/src/components/button.stories.js.map +1 -0
- package/dist/src/components/calendar.d.ts +8 -0
- package/dist/src/components/calendar.d.ts.map +1 -0
- package/dist/src/components/calendar.js +39 -0
- package/dist/src/components/calendar.js.map +1 -0
- package/dist/src/components/calendar.stories.d.ts +46 -0
- package/dist/src/components/calendar.stories.d.ts.map +1 -0
- package/dist/src/components/calendar.stories.js +88 -0
- package/dist/src/components/calendar.stories.js.map +1 -0
- package/dist/src/components/card.d.ts +9 -0
- package/dist/src/components/card.d.ts.map +1 -0
- package/dist/src/components/card.js +17 -0
- package/dist/src/components/card.js.map +1 -0
- package/dist/src/components/card.stories.d.ts +46 -0
- package/dist/src/components/card.stories.d.ts.map +1 -0
- package/dist/src/components/card.stories.js +40 -0
- package/dist/src/components/card.stories.js.map +1 -0
- package/dist/src/components/checkbox.d.ts +5 -0
- package/dist/src/components/checkbox.d.ts.map +1 -0
- package/dist/src/components/checkbox.js +9 -0
- package/dist/src/components/checkbox.js.map +1 -0
- package/dist/src/components/checkbox.stories.d.ts +50 -0
- package/dist/src/components/checkbox.stories.d.ts.map +1 -0
- package/dist/src/components/checkbox.stories.js +48 -0
- package/dist/src/components/checkbox.stories.js.map +1 -0
- package/dist/src/components/command.d.ts +81 -0
- package/dist/src/components/command.d.ts.map +1 -0
- package/dist/src/components/command.js +27 -0
- package/dist/src/components/command.js.map +1 -0
- package/dist/src/components/command.stories.d.ts +34 -0
- package/dist/src/components/command.stories.d.ts.map +1 -0
- package/dist/src/components/command.stories.js +44 -0
- package/dist/src/components/command.stories.js.map +1 -0
- package/dist/src/components/dialog.d.ts +20 -0
- package/dist/src/components/dialog.d.ts.map +1 -0
- package/dist/src/components/dialog.js +23 -0
- package/dist/src/components/dialog.js.map +1 -0
- package/dist/src/components/dialog.stories.d.ts +38 -0
- package/dist/src/components/dialog.stories.d.ts.map +1 -0
- package/dist/src/components/dialog.stories.js +36 -0
- package/dist/src/components/dialog.stories.js.map +1 -0
- package/dist/src/components/dropdown-menu.d.ts +28 -0
- package/dist/src/components/dropdown-menu.d.ts.map +1 -0
- package/dist/src/components/dropdown-menu.js +33 -0
- package/dist/src/components/dropdown-menu.js.map +1 -0
- package/dist/src/components/dropdown-menu.stories.d.ts +30 -0
- package/dist/src/components/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/src/components/dropdown-menu.stories.js +37 -0
- package/dist/src/components/dropdown-menu.stories.js.map +1 -0
- package/dist/src/components/form.d.ts +24 -0
- package/dist/src/components/form.d.ts.map +1 -0
- package/dist/src/components/form.js +62 -0
- package/dist/src/components/form.js.map +1 -0
- package/dist/src/components/form.stories.d.ts +34 -0
- package/dist/src/components/form.stories.d.ts.map +1 -0
- package/dist/src/components/form.stories.js +132 -0
- package/dist/src/components/form.stories.js.map +1 -0
- package/dist/src/components/input.d.ts +5 -0
- package/dist/src/components/input.d.ts.map +1 -0
- package/dist/src/components/input.js +9 -0
- package/dist/src/components/input.js.map +1 -0
- package/dist/src/components/input.stories.d.ts +101 -0
- package/dist/src/components/input.stories.d.ts.map +1 -0
- package/dist/src/components/input.stories.js +79 -0
- package/dist/src/components/input.stories.js.map +1 -0
- package/dist/src/components/label.d.ts +6 -0
- package/dist/src/components/label.d.ts.map +1 -0
- package/dist/src/components/label.js +10 -0
- package/dist/src/components/label.js.map +1 -0
- package/dist/src/components/label.stories.d.ts +34 -0
- package/dist/src/components/label.stories.d.ts.map +1 -0
- package/dist/src/components/label.stories.js +32 -0
- package/dist/src/components/label.stories.js.map +1 -0
- package/dist/src/components/navigation-menu.d.ts +13 -0
- package/dist/src/components/navigation-menu.d.ts.map +1 -0
- package/dist/src/components/navigation-menu.js +22 -0
- package/dist/src/components/navigation-menu.js.map +1 -0
- package/dist/src/components/navigation-menu.stories.d.ts +26 -0
- package/dist/src/components/navigation-menu.stories.d.ts.map +1 -0
- package/dist/src/components/navigation-menu.stories.js +30 -0
- package/dist/src/components/navigation-menu.stories.js.map +1 -0
- package/dist/src/components/popover.d.ts +7 -0
- package/dist/src/components/popover.d.ts.map +1 -0
- package/dist/src/components/popover.js +10 -0
- package/dist/src/components/popover.js.map +1 -0
- package/dist/src/components/popover.stories.d.ts +22 -0
- package/dist/src/components/popover.stories.d.ts.map +1 -0
- package/dist/src/components/popover.stories.js +24 -0
- package/dist/src/components/popover.stories.js.map +1 -0
- package/dist/src/components/progress.d.ts +5 -0
- package/dist/src/components/progress.d.ts.map +1 -0
- package/dist/src/components/progress.js +8 -0
- package/dist/src/components/progress.js.map +1 -0
- package/dist/src/components/progress.stories.d.ts +44 -0
- package/dist/src/components/progress.stories.d.ts.map +1 -0
- package/dist/src/components/progress.stories.js +63 -0
- package/dist/src/components/progress.stories.js.map +1 -0
- package/dist/src/components/radio-group.d.ts +6 -0
- package/dist/src/components/radio-group.d.ts.map +1 -0
- package/dist/src/components/radio-group.js +15 -0
- package/dist/src/components/radio-group.js.map +1 -0
- package/dist/src/components/radio-group.stories.d.ts +34 -0
- package/dist/src/components/radio-group.stories.d.ts.map +1 -0
- package/dist/src/components/radio-group.stories.js +31 -0
- package/dist/src/components/radio-group.stories.js.map +1 -0
- package/dist/src/components/scroll-area.d.ts +6 -0
- package/dist/src/components/scroll-area.d.ts.map +1 -0
- package/dist/src/components/scroll-area.js +10 -0
- package/dist/src/components/scroll-area.js.map +1 -0
- package/dist/src/components/scroll-area.stories.d.ts +46 -0
- package/dist/src/components/scroll-area.stories.d.ts.map +1 -0
- package/dist/src/components/scroll-area.stories.js +44 -0
- package/dist/src/components/scroll-area.stories.js.map +1 -0
- package/dist/src/components/select.d.ts +14 -0
- package/dist/src/components/select.d.ts.map +1 -0
- package/dist/src/components/select.js +26 -0
- package/dist/src/components/select.js.map +1 -0
- package/dist/src/components/select.stories.d.ts +42 -0
- package/dist/src/components/select.stories.d.ts.map +1 -0
- package/dist/src/components/select.stories.js +37 -0
- package/dist/src/components/select.stories.js.map +1 -0
- package/dist/src/components/separator.d.ts +5 -0
- package/dist/src/components/separator.d.ts.map +1 -0
- package/dist/src/components/separator.js +8 -0
- package/dist/src/components/separator.js.map +1 -0
- package/dist/src/components/separator.stories.d.ts +47 -0
- package/dist/src/components/separator.stories.d.ts.map +1 -0
- package/dist/src/components/separator.stories.js +41 -0
- package/dist/src/components/separator.stories.js.map +1 -0
- package/dist/src/components/sheet.d.ts +26 -0
- package/dist/src/components/sheet.d.ts.map +1 -0
- package/dist/src/components/sheet.js +37 -0
- package/dist/src/components/sheet.js.map +1 -0
- package/dist/src/components/sheet.stories.d.ts +18 -0
- package/dist/src/components/sheet.stories.d.ts.map +1 -0
- package/dist/src/components/sheet.stories.js +21 -0
- package/dist/src/components/sheet.stories.js.map +1 -0
- package/dist/src/components/sidebar.d.ts +40 -0
- package/dist/src/components/sidebar.d.ts.map +1 -0
- package/dist/src/components/sidebar.js +101 -0
- package/dist/src/components/sidebar.js.map +1 -0
- package/dist/src/components/sidebar.stories.d.ts +55 -0
- package/dist/src/components/sidebar.stories.d.ts.map +1 -0
- package/dist/src/components/sidebar.stories.js +51 -0
- package/dist/src/components/sidebar.stories.js.map +1 -0
- package/dist/src/components/skeleton.d.ts +3 -0
- package/dist/src/components/skeleton.d.ts.map +1 -0
- package/dist/src/components/skeleton.js +7 -0
- package/dist/src/components/skeleton.js.map +1 -0
- package/dist/src/components/skeleton.stories.d.ts +50 -0
- package/dist/src/components/skeleton.stories.d.ts.map +1 -0
- package/dist/src/components/skeleton.stories.js +42 -0
- package/dist/src/components/skeleton.stories.js.map +1 -0
- package/dist/src/components/switch.d.ts +5 -0
- package/dist/src/components/switch.d.ts.map +1 -0
- package/dist/src/components/switch.js +8 -0
- package/dist/src/components/switch.js.map +1 -0
- package/dist/src/components/switch.stories.d.ts +50 -0
- package/dist/src/components/switch.stories.d.ts.map +1 -0
- package/dist/src/components/switch.stories.js +48 -0
- package/dist/src/components/switch.stories.js.map +1 -0
- package/dist/src/components/table.d.ts +11 -0
- package/dist/src/components/table.d.ts.map +1 -0
- package/dist/src/components/table.js +21 -0
- package/dist/src/components/table.js.map +1 -0
- package/dist/src/components/table.stories.d.ts +26 -0
- package/dist/src/components/table.stories.d.ts.map +1 -0
- package/dist/src/components/table.stories.js +26 -0
- package/dist/src/components/table.stories.js.map +1 -0
- package/dist/src/components/tabs.d.ts +8 -0
- package/dist/src/components/tabs.d.ts.map +1 -0
- package/dist/src/components/tabs.js +13 -0
- package/dist/src/components/tabs.js.map +1 -0
- package/dist/src/components/tabs.stories.d.ts +22 -0
- package/dist/src/components/tabs.stories.d.ts.map +1 -0
- package/dist/src/components/tabs.stories.js +25 -0
- package/dist/src/components/tabs.stories.js.map +1 -0
- package/dist/src/components/textarea.d.ts +5 -0
- package/dist/src/components/textarea.d.ts.map +1 -0
- package/dist/src/components/textarea.js +9 -0
- package/dist/src/components/textarea.js.map +1 -0
- package/dist/src/components/textarea.stories.d.ts +64 -0
- package/dist/src/components/textarea.stories.d.ts.map +1 -0
- package/dist/src/components/textarea.stories.js +60 -0
- package/dist/src/components/textarea.stories.js.map +1 -0
- package/dist/src/components/toast.d.ts +16 -0
- package/dist/src/components/toast.d.ts.map +1 -0
- package/dist/src/components/toast.js +34 -0
- package/dist/src/components/toast.js.map +1 -0
- package/dist/src/components/toast.stories.d.ts +22 -0
- package/dist/src/components/toast.stories.d.ts.map +1 -0
- package/dist/src/components/toast.stories.js +32 -0
- package/dist/src/components/toast.stories.js.map +1 -0
- package/dist/src/components/tooltip.d.ts +8 -0
- package/dist/src/components/tooltip.d.ts.map +1 -0
- package/dist/src/components/tooltip.js +11 -0
- package/dist/src/components/tooltip.js.map +1 -0
- package/dist/src/components/tooltip.stories.d.ts +26 -0
- package/dist/src/components/tooltip.stories.d.ts.map +1 -0
- package/dist/src/components/tooltip.stories.js +25 -0
- package/dist/src/components/tooltip.stories.js.map +1 -0
- package/dist/src/index.d.ts +45 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +36 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/lib/motion.d.ts +99 -0
- package/dist/src/lib/motion.d.ts.map +1 -0
- package/dist/src/lib/motion.js +88 -0
- package/dist/src/lib/motion.js.map +1 -0
- package/dist/src/lib/theme-loader.d.ts +69 -0
- package/dist/src/lib/theme-loader.d.ts.map +1 -0
- package/dist/src/lib/theme-loader.js +113 -0
- package/dist/src/lib/theme-loader.js.map +1 -0
- package/dist/src/lib/tokens.d.ts +50 -0
- package/dist/src/lib/tokens.d.ts.map +1 -0
- package/dist/src/lib/tokens.js +53 -0
- package/dist/src/lib/tokens.js.map +1 -0
- package/dist/src/lib/utils.d.ts +3 -0
- package/dist/src/lib/utils.d.ts.map +1 -0
- package/dist/src/lib/utils.js +6 -0
- package/dist/src/lib/utils.js.map +1 -0
- package/dist/src/templates/auth/forgot-password.d.ts +4 -0
- package/dist/src/templates/auth/forgot-password.d.ts.map +1 -0
- package/dist/src/templates/auth/forgot-password.js +47 -0
- package/dist/src/templates/auth/forgot-password.js.map +1 -0
- package/dist/src/templates/auth/forgot-password.stories.d.ts +14 -0
- package/dist/src/templates/auth/forgot-password.stories.d.ts.map +1 -0
- package/dist/src/templates/auth/forgot-password.stories.js +14 -0
- package/dist/src/templates/auth/forgot-password.stories.js.map +1 -0
- package/dist/src/templates/auth/login.d.ts +4 -0
- package/dist/src/templates/auth/login.d.ts.map +1 -0
- package/dist/src/templates/auth/login.js +50 -0
- package/dist/src/templates/auth/login.js.map +1 -0
- package/dist/src/templates/auth/login.stories.d.ts +95 -0
- package/dist/src/templates/auth/login.stories.d.ts.map +1 -0
- package/dist/src/templates/auth/login.stories.js +77 -0
- package/dist/src/templates/auth/login.stories.js.map +1 -0
- package/dist/src/templates/auth/signup.d.ts +4 -0
- package/dist/src/templates/auth/signup.d.ts.map +1 -0
- package/dist/src/templates/auth/signup.js +49 -0
- package/dist/src/templates/auth/signup.js.map +1 -0
- package/dist/src/templates/auth/signup.stories.d.ts +18 -0
- package/dist/src/templates/auth/signup.stories.d.ts.map +1 -0
- package/dist/src/templates/auth/signup.stories.js +21 -0
- package/dist/src/templates/auth/signup.stories.js.map +1 -0
- package/dist/src/templates/auth/verification.d.ts +4 -0
- package/dist/src/templates/auth/verification.d.ts.map +1 -0
- package/dist/src/templates/auth/verification.js +47 -0
- package/dist/src/templates/auth/verification.js.map +1 -0
- package/dist/src/templates/auth/verification.stories.d.ts +19 -0
- package/dist/src/templates/auth/verification.stories.d.ts.map +1 -0
- package/dist/src/templates/auth/verification.stories.js +19 -0
- package/dist/src/templates/auth/verification.stories.js.map +1 -0
- package/dist/src/templates/core/landing.d.ts +4 -0
- package/dist/src/templates/core/landing.d.ts.map +1 -0
- package/dist/src/templates/core/landing.js +44 -0
- package/dist/src/templates/core/landing.js.map +1 -0
- package/dist/src/templates/core/landing.stories.d.ts +14 -0
- package/dist/src/templates/core/landing.stories.d.ts.map +1 -0
- package/dist/src/templates/core/landing.stories.js +14 -0
- package/dist/src/templates/core/landing.stories.js.map +1 -0
- package/dist/src/templates/core/preferences.d.ts +4 -0
- package/dist/src/templates/core/preferences.d.ts.map +1 -0
- package/dist/src/templates/core/preferences.js +51 -0
- package/dist/src/templates/core/preferences.js.map +1 -0
- package/dist/src/templates/core/preferences.stories.d.ts +14 -0
- package/dist/src/templates/core/preferences.stories.d.ts.map +1 -0
- package/dist/src/templates/core/preferences.stories.js +14 -0
- package/dist/src/templates/core/preferences.stories.js.map +1 -0
- package/dist/src/templates/core/profile.d.ts +4 -0
- package/dist/src/templates/core/profile.d.ts.map +1 -0
- package/dist/src/templates/core/profile.js +49 -0
- package/dist/src/templates/core/profile.js.map +1 -0
- package/dist/src/templates/core/profile.stories.d.ts +19 -0
- package/dist/src/templates/core/profile.stories.d.ts.map +1 -0
- package/dist/src/templates/core/profile.stories.js +19 -0
- package/dist/src/templates/core/profile.stories.js.map +1 -0
- package/dist/src/templates/dashboard/overview.d.ts +4 -0
- package/dist/src/templates/dashboard/overview.d.ts.map +1 -0
- package/dist/src/templates/dashboard/overview.js +65 -0
- package/dist/src/templates/dashboard/overview.js.map +1 -0
- package/dist/src/templates/dashboard/overview.stories.d.ts +55 -0
- package/dist/src/templates/dashboard/overview.stories.d.ts.map +1 -0
- package/dist/src/templates/dashboard/overview.stories.js +51 -0
- package/dist/src/templates/dashboard/overview.stories.js.map +1 -0
- package/dist/src/templates/feedback/confirmation.d.ts +4 -0
- package/dist/src/templates/feedback/confirmation.d.ts.map +1 -0
- package/dist/src/templates/feedback/confirmation.js +47 -0
- package/dist/src/templates/feedback/confirmation.js.map +1 -0
- package/dist/src/templates/feedback/confirmation.stories.d.ts +14 -0
- package/dist/src/templates/feedback/confirmation.stories.d.ts.map +1 -0
- package/dist/src/templates/feedback/confirmation.stories.js +14 -0
- package/dist/src/templates/feedback/confirmation.stories.js.map +1 -0
- package/dist/src/templates/feedback/empty.d.ts +4 -0
- package/dist/src/templates/feedback/empty.d.ts.map +1 -0
- package/dist/src/templates/feedback/empty.js +45 -0
- package/dist/src/templates/feedback/empty.js.map +1 -0
- package/dist/src/templates/feedback/empty.stories.d.ts +14 -0
- package/dist/src/templates/feedback/empty.stories.d.ts.map +1 -0
- package/dist/src/templates/feedback/empty.stories.js +14 -0
- package/dist/src/templates/feedback/empty.stories.js.map +1 -0
- package/dist/src/templates/feedback/error.d.ts +4 -0
- package/dist/src/templates/feedback/error.d.ts.map +1 -0
- package/dist/src/templates/feedback/error.js +45 -0
- package/dist/src/templates/feedback/error.js.map +1 -0
- package/dist/src/templates/feedback/error.stories.d.ts +14 -0
- package/dist/src/templates/feedback/error.stories.d.ts.map +1 -0
- package/dist/src/templates/feedback/error.stories.js +14 -0
- package/dist/src/templates/feedback/error.stories.js.map +1 -0
- package/dist/src/templates/feedback/loading.d.ts +4 -0
- package/dist/src/templates/feedback/loading.d.ts.map +1 -0
- package/dist/src/templates/feedback/loading.js +42 -0
- package/dist/src/templates/feedback/loading.js.map +1 -0
- package/dist/src/templates/feedback/loading.stories.d.ts +14 -0
- package/dist/src/templates/feedback/loading.stories.d.ts.map +1 -0
- package/dist/src/templates/feedback/loading.stories.js +14 -0
- package/dist/src/templates/feedback/loading.stories.js.map +1 -0
- package/dist/src/templates/feedback/success.d.ts +4 -0
- package/dist/src/templates/feedback/success.d.ts.map +1 -0
- package/dist/src/templates/feedback/success.js +45 -0
- package/dist/src/templates/feedback/success.js.map +1 -0
- package/dist/src/templates/feedback/success.stories.d.ts +14 -0
- package/dist/src/templates/feedback/success.stories.d.ts.map +1 -0
- package/dist/src/templates/feedback/success.stories.js +14 -0
- package/dist/src/templates/feedback/success.stories.js.map +1 -0
- package/dist/src/templates/index.d.ts +16 -0
- package/dist/src/templates/index.d.ts.map +1 -0
- package/dist/src/templates/index.js +45 -0
- package/dist/src/templates/index.js.map +1 -0
- package/dist/src/templates/registry.d.ts +23 -0
- package/dist/src/templates/registry.d.ts.map +1 -0
- package/dist/src/templates/registry.js +90 -0
- package/dist/src/templates/registry.js.map +1 -0
- package/dist/src/templates/types.d.ts +78 -0
- package/dist/src/templates/types.d.ts.map +1 -0
- package/dist/src/templates/types.js +23 -0
- package/dist/src/templates/types.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +117 -0
- package/styles/globals.css +191 -0
- package/styles/tokens.css +303 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
3
|
+
import { Button } from '../../components/button';
|
|
4
|
+
import { Input } from '../../components/input';
|
|
5
|
+
import { Label } from '../../components/label';
|
|
6
|
+
import { Separator } from '../../components/separator';
|
|
7
|
+
import { DEFAULT_RESPONSIVE_LAYOUT } from '../types';
|
|
8
|
+
export function SignupTemplateComponent({ children, className = '', slots = {}, texts = {}, options = {}, }) {
|
|
9
|
+
const title = texts.title || 'Create Account';
|
|
10
|
+
const subtitle = texts.subtitle || 'Sign up to get started';
|
|
11
|
+
const buttonLabel = texts.button_label || 'Sign Up';
|
|
12
|
+
const showSocialSignup = options.social_signup ?? false;
|
|
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
|
+
}
|
|
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
|
+
};
|
|
49
|
+
//# sourceMappingURL=signup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup.js","sourceRoot":"","sources":["../../../../src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,EAAC,SAAS,EAAC,mDAAmD,wBAErE,IACF,CACL,GACU,IACR,EACN,QAAQ,IACL,CACP,CAAC;AACJ,CAAC;AAKD,MAAM,CAAC,MAAM,cAAc,GAAmB;IAC5C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,uDAAuD;IAEpE,QAAQ,EAAE;QACR,KAAK,EAAE,eAAe;QACtB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE;YACR;gBACE,EAAE,EAAE,aAAa;gBACjB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,uBAAuB;aACnC;SACF;KACF;IAED,MAAM,EAAE;QACN,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,yBAAyB;KACtC;IAED,YAAY,EAAE;QACZ,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,cAAc,CAAC;QAC5C,QAAQ,EAAE,CAAC,eAAe,CAAC;QAC3B,KAAK,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,cAAc,EAAE,QAAQ,CAAC;KAC3D;IAED,kBAAkB,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC;IAE5E,SAAS,EAAE,uBAAuB;IAElC,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;IACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,CAAC;CACjD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default meta;
|
|
2
|
+
export namespace Default {
|
|
3
|
+
namespace args {
|
|
4
|
+
namespace slots {
|
|
5
|
+
let termsCheckbox: import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
declare namespace meta {
|
|
10
|
+
export let title: string;
|
|
11
|
+
export { SignupTemplateComponent as component };
|
|
12
|
+
export namespace parameters {
|
|
13
|
+
let layout: string;
|
|
14
|
+
}
|
|
15
|
+
export let tags: string[];
|
|
16
|
+
}
|
|
17
|
+
import { SignupTemplateComponent } from './signup';
|
|
18
|
+
//# sourceMappingURL=signup.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup.stories.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/signup.stories.jsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;wCAMwC,UAAU"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { SignupTemplateComponent } from './signup';
|
|
3
|
+
import { Checkbox } from '../../components/checkbox';
|
|
4
|
+
import { Label } from '../../components/label';
|
|
5
|
+
const meta = {
|
|
6
|
+
title: 'Templates/Auth/Signup',
|
|
7
|
+
component: SignupTemplateComponent,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: 'fullscreen',
|
|
10
|
+
},
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
export const Default = {
|
|
15
|
+
args: {
|
|
16
|
+
slots: {
|
|
17
|
+
termsCheckbox: (_jsxs(_Fragment, { children: [_jsx(Checkbox, { id: "terms" }), _jsxs(Label, { htmlFor: "terms", className: "text-sm cursor-pointer", children: ["I agree to the", ' ', _jsx("a", { href: "#", className: "text-[var(--tekton-text-primary)] hover:underline", children: "Terms of Service" }), ' ', "and", ' ', _jsx("a", { href: "#", className: "text-[var(--tekton-text-primary)] hover:underline", children: "Privacy Policy" })] })] })),
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=signup.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup.stories.js","sourceRoot":"","sources":["../../../../src/templates/auth/signup.stories.jsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,MAAM,IAAI,GAAG;IACT,KAAK,EAAE,uBAAuB;IAC9B,SAAS,EAAE,uBAAuB;IAClC,UAAU,EAAE;QACR,MAAM,EAAE,YAAY;KACvB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CACrB,CAAC;AACF,eAAe,IAAI,CAAC;AAKpB,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,IAAI,EAAE;QACF,KAAK,EAAE;YACH,aAAa,EAAE,CAAC,8BAClB,KAAC,QAAQ,IAAC,EAAE,EAAC,OAAO,GAAE,EACtB,MAAC,KAAK,IAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,wBAAwB,+BACxC,GAAG,EAClB,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,mDAAmD,iCAErE,EAAC,GAAG,SACJ,GAAG,EACP,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,mDAAmD,+BAErE,IACE,IACP,CAAC;SACH;KACJ;CACJ,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScreenTemplate, ScreenTemplateProps } from '../types';
|
|
2
|
+
export declare function VerificationTemplateComponent({ children, className, slots, texts, options, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const VerificationTemplate: ScreenTemplate;
|
|
4
|
+
//# sourceMappingURL=verification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verification.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/verification.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpE,wBAAgB,6BAA6B,CAAC,EAC5C,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,EACV,OAAY,GACb,EAAE,mBAAmB,2CAsDrB;AAKD,eAAO,MAAM,oBAAoB,EAAE,cAuClC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
3
|
+
import { Button } from '../../components/button';
|
|
4
|
+
import { DEFAULT_RESPONSIVE_LAYOUT } from '../types';
|
|
5
|
+
export function VerificationTemplateComponent({ children, className = '', slots = {}, texts = {}, options = {}, }) {
|
|
6
|
+
const title = texts.title || 'Verify Your Email';
|
|
7
|
+
const subtitle = texts.subtitle || "We've sent a verification link to your email address";
|
|
8
|
+
const buttonLabel = texts.button_label || 'Continue';
|
|
9
|
+
const showResend = options.show_resend ?? true;
|
|
10
|
+
const userEmail = options.user_email || 'user@example.com';
|
|
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
|
+
}
|
|
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
|
+
};
|
|
47
|
+
//# sourceMappingURL=verification.js.map
|
|
@@ -0,0 +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,SA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,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,GAAmB;IAClD,EAAE,EAAE,mBAAmB;IACvB,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,8CAA8C;IAE3D,QAAQ,EAAE;QACR,KAAK,EAAE,eAAe;QACtB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE;YACR;gBACE,EAAE,EAAE,sBAAsB;gBAC1B,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,6BAA6B;aACzC;SACF;KACF;IAED,MAAM,EAAE;QACN,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,yBAAyB;KACtC;IAED,YAAY,EAAE;QACZ,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,cAAc,CAAC;QAC5C,QAAQ,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;QACvC,KAAK,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;KAC1B;IAED,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAEtC,SAAS,EAAE,6BAA6B;IAExC,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;IACrB,IAAI,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,CAAC;CACnD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default meta;
|
|
2
|
+
export namespace Default {
|
|
3
|
+
namespace args {
|
|
4
|
+
namespace options {
|
|
5
|
+
let user_email: string;
|
|
6
|
+
let show_resend: boolean;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare namespace meta {
|
|
11
|
+
export let title: string;
|
|
12
|
+
export { VerificationTemplateComponent as component };
|
|
13
|
+
export namespace parameters {
|
|
14
|
+
let layout: string;
|
|
15
|
+
}
|
|
16
|
+
export let tags: string[];
|
|
17
|
+
}
|
|
18
|
+
import { VerificationTemplateComponent } from './verification';
|
|
19
|
+
//# sourceMappingURL=verification.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verification.stories.d.ts","sourceRoot":"","sources":["../../../../src/templates/auth/verification.stories.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;8CAM8C,gBAAgB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VerificationTemplateComponent } from './verification';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Templates/Auth/Verification',
|
|
4
|
+
component: VerificationTemplateComponent,
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: 'fullscreen',
|
|
7
|
+
},
|
|
8
|
+
tags: ['autodocs'],
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export const Default = {
|
|
12
|
+
args: {
|
|
13
|
+
options: {
|
|
14
|
+
user_email: 'user@example.com',
|
|
15
|
+
show_resend: true,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=verification.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verification.stories.js","sourceRoot":"","sources":["../../../../src/templates/auth/verification.stories.js"],"names":[],"mappings":"AAMA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC/D,MAAM,IAAI,GAAG;IACT,KAAK,EAAE,6BAA6B;IACpC,SAAS,EAAE,6BAA6B;IACxC,UAAU,EAAE;QACR,MAAM,EAAE,YAAY;KACvB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CACrB,CAAC;AACF,eAAe,IAAI,CAAC;AAKpB,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,IAAI,EAAE;QACF,OAAO,EAAE;YACL,UAAU,EAAE,kBAAkB;YAC9B,WAAW,EAAE,IAAI;SACpB;KACJ;CACJ,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScreenTemplate, ScreenTemplateProps } from '../types';
|
|
2
|
+
export declare function LandingTemplateComponent({ children, className, slots, texts, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const LandingTemplate: ScreenTemplate;
|
|
4
|
+
//# sourceMappingURL=landing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"landing.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/landing.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpE,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,GACX,EAAE,mBAAmB,2CAoDrB;AAKD,eAAO,MAAM,eAAe,EAAE,cAuC7B,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from '../../components/button';
|
|
3
|
+
import { DEFAULT_RESPONSIVE_LAYOUT } from '../types';
|
|
4
|
+
export function LandingTemplateComponent({ children, className = '', slots = {}, texts = {}, }) {
|
|
5
|
+
const title = texts.title || 'Welcome Back';
|
|
6
|
+
const subtitle = texts.subtitle || 'Start a new conversation or continue where you left off';
|
|
7
|
+
const ctaLabel = texts.cta_label || 'New Conversation';
|
|
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
|
+
}
|
|
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
|
+
};
|
|
44
|
+
//# sourceMappingURL=landing.js.map
|
|
@@ -0,0 +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,UAAU,CAAC;AAKrD,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,I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|
+
let args: {};
|
|
4
|
+
}
|
|
5
|
+
declare namespace meta {
|
|
6
|
+
export let title: string;
|
|
7
|
+
export { LandingTemplateComponent as component };
|
|
8
|
+
export namespace parameters {
|
|
9
|
+
let layout: string;
|
|
10
|
+
}
|
|
11
|
+
export let tags: string[];
|
|
12
|
+
}
|
|
13
|
+
import { LandingTemplateComponent } from './landing';
|
|
14
|
+
//# sourceMappingURL=landing.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"landing.stories.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/landing.stories.js"],"names":[],"mappings":";;;;;;;;;;;;yCAMyC,WAAW"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LandingTemplateComponent } from './landing';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Templates/Core/Landing',
|
|
4
|
+
component: LandingTemplateComponent,
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: 'fullscreen',
|
|
7
|
+
},
|
|
8
|
+
tags: ['autodocs'],
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export const Default = {
|
|
12
|
+
args: {},
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=landing.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"landing.stories.js","sourceRoot":"","sources":["../../../../src/templates/core/landing.stories.js"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,MAAM,IAAI,GAAG;IACT,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,wBAAwB;IACnC,UAAU,EAAE;QACR,MAAM,EAAE,YAAY;KACvB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CACrB,CAAC;AACF,eAAe,IAAI,CAAC;AAKpB,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,IAAI,EAAE,EAAE;CACX,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScreenTemplate, ScreenTemplateProps } from '../types';
|
|
2
|
+
export declare function PreferencesTemplateComponent({ children, className, slots, texts, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const PreferencesTemplate: ScreenTemplate;
|
|
4
|
+
//# sourceMappingURL=preferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/preferences.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpE,wBAAgB,4BAA4B,CAAC,EAC3C,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,GACX,EAAE,mBAAmB,2CAwErB;AAKD,eAAO,MAAM,mBAAmB,EAAE,cA6CjC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../components/card';
|
|
3
|
+
import { Button } from '../../components/button';
|
|
4
|
+
import { DEFAULT_RESPONSIVE_LAYOUT } from '../types';
|
|
5
|
+
export function PreferencesTemplateComponent({ children, className = '', slots = {}, texts = {}, }) {
|
|
6
|
+
const title = texts.title || 'Preferences';
|
|
7
|
+
const subtitle = texts.subtitle || 'Manage your account settings and preferences';
|
|
8
|
+
const saveLabel = texts.save_label || 'Save Changes';
|
|
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
|
+
}
|
|
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
|
+
};
|
|
51
|
+
//# sourceMappingURL=preferences.js.map
|
|
@@ -0,0 +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,UAAU,CAAC;AAKrD,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;IAC3C,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,8CAA8C,CAAC;IAClF,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,IAAI,cAAc,CAAC;IAErD,OAAO,CACL,eAAK,SAAS,EAAE,qBAAqB,SAAS,EAAE,aAE7C,KAAK,CAAC,WAAW,IAAI,CACpB,gBAAO,SAAS,EAAC,6GAA6G,YAC3H,KAAK,CAAC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B;QACvB,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE;YACR;gBACE,EAAE,EAAE,qBAAqB;gBACzB,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,4BAA4B;aACxC;SACF;KACF;IAED,MAAM,EAAE;QACN,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,yBAAyB;KACtC;IAED,YAAY,EAAE;QACZ,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,YAAY,CAAC;QAC1C,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE;YACL,aAAa;YACb,iBAAiB;YACjB,oBAAoB;YACpB,uBAAuB;YACvB,oBAAoB;SACrB;KACF;IAED,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC;IAE1D,SAAS,EAAE,4BAA4B;IAEvC,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;IACrB,IAAI,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,eAAe,CAAC;CAC3D,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default meta;
|
|
2
|
+
export namespace Default {
|
|
3
|
+
let args: {};
|
|
4
|
+
}
|
|
5
|
+
declare namespace meta {
|
|
6
|
+
export let title: string;
|
|
7
|
+
export { PreferencesTemplateComponent as component };
|
|
8
|
+
export namespace parameters {
|
|
9
|
+
let layout: string;
|
|
10
|
+
}
|
|
11
|
+
export let tags: string[];
|
|
12
|
+
}
|
|
13
|
+
import { PreferencesTemplateComponent } from './preferences';
|
|
14
|
+
//# sourceMappingURL=preferences.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferences.stories.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/preferences.stories.js"],"names":[],"mappings":";;;;;;;;;;;;6CAM6C,eAAe"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PreferencesTemplateComponent } from './preferences';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Templates/Core/Preferences',
|
|
4
|
+
component: PreferencesTemplateComponent,
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: 'fullscreen',
|
|
7
|
+
},
|
|
8
|
+
tags: ['autodocs'],
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export const Default = {
|
|
12
|
+
args: {},
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=preferences.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferences.stories.js","sourceRoot":"","sources":["../../../../src/templates/core/preferences.stories.js"],"names":[],"mappings":"AAMA,OAAO,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAC7D,MAAM,IAAI,GAAG;IACT,KAAK,EAAE,4BAA4B;IACnC,SAAS,EAAE,4BAA4B;IACvC,UAAU,EAAE;QACR,MAAM,EAAE,YAAY;KACvB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CACrB,CAAC;AACF,eAAe,IAAI,CAAC;AAKpB,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,IAAI,EAAE,EAAE;CACX,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScreenTemplate, ScreenTemplateProps } from '../types';
|
|
2
|
+
export declare function ProfileTemplateComponent({ children, className, slots, texts, options, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const ProfileTemplate: ScreenTemplate;
|
|
4
|
+
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/profile.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpE,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,EACV,OAAY,GACb,EAAE,mBAAmB,2CA6ErB;AAKD,eAAO,MAAM,eAAe,EAAE,cAuC7B,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../../components/card';
|
|
3
|
+
import { Button } from '../../components/button';
|
|
4
|
+
import { Input } from '../../components/input';
|
|
5
|
+
import { Label } from '../../components/label';
|
|
6
|
+
import { DEFAULT_RESPONSIVE_LAYOUT } from '../types';
|
|
7
|
+
export function ProfileTemplateComponent({ children, className = '', slots = {}, texts = {}, options = {}, }) {
|
|
8
|
+
const title = texts.title || 'Profile';
|
|
9
|
+
const subtitle = texts.subtitle || 'Manage your profile information';
|
|
10
|
+
const saveLabel = texts.save_label || 'Save Changes';
|
|
11
|
+
const userName = String(options.user_name || 'John Doe');
|
|
12
|
+
const userEmail = String(options.user_email || 'john@example.com');
|
|
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
|
+
}
|
|
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
|
+
};
|
|
49
|
+
//# sourceMappingURL=profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../src/templates/core/profile.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;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAKrD,MAAM,UAAU,wBAAwB,CAAC,EACvC,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,EAAE,EACV,KAAK,GAAG,EAAE,EACV,OAAO,GAAG,EAAE,GACQ;IACpB,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC;IACvC,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,iCAAiC,CAAC;IACrE,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,IAAI,cAAc,CAAC;IACrD,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,IAAI,UAAU,CAAC,CAAC;IACzD,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,IAAI,kBAAkB,CAAC,CAAC;IAEnE,OAAO,CACL,eAAK,SA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|
|
3
|
+
namespace args {
|
|
4
|
+
namespace options {
|
|
5
|
+
let user_name: string;
|
|
6
|
+
let user_email: string;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare namespace meta {
|
|
11
|
+
export let title: string;
|
|
12
|
+
export { ProfileTemplateComponent as component };
|
|
13
|
+
export namespace parameters {
|
|
14
|
+
let layout: string;
|
|
15
|
+
}
|
|
16
|
+
export let tags: string[];
|
|
17
|
+
}
|
|
18
|
+
import { ProfileTemplateComponent } from './profile';
|
|
19
|
+
//# sourceMappingURL=profile.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.stories.d.ts","sourceRoot":"","sources":["../../../../src/templates/core/profile.stories.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;yCAMyC,WAAW"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ProfileTemplateComponent } from './profile';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Templates/Core/Profile',
|
|
4
|
+
component: ProfileTemplateComponent,
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: 'fullscreen',
|
|
7
|
+
},
|
|
8
|
+
tags: ['autodocs'],
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export const Default = {
|
|
12
|
+
args: {
|
|
13
|
+
options: {
|
|
14
|
+
user_name: 'John Doe',
|
|
15
|
+
user_email: 'john@example.com',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=profile.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.stories.js","sourceRoot":"","sources":["../../../../src/templates/core/profile.stories.js"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,MAAM,IAAI,GAAG;IACT,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,wBAAwB;IACnC,UAAU,EAAE;QACR,MAAM,EAAE,YAAY;KACvB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CACrB,CAAC;AACF,eAAe,IAAI,CAAC;AAKpB,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,IAAI,EAAE;QACF,OAAO,EAAE;YACL,SAAS,EAAE,UAAU;YACrB,UAAU,EAAE,kBAAkB;SACjC;KACJ;CACJ,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScreenTemplate, ScreenTemplateProps } from '../types';
|
|
2
|
+
export declare function DashboardTemplateComponent({ children, className, slots, texts, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const DashboardTemplate: ScreenTemplate;
|
|
4
|
+
//# sourceMappingURL=overview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overview.d.ts","sourceRoot":"","sources":["../../../../src/templates/dashboard/overview.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAQpE,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,SAAc,EACd,KAAU,EACV,KAAU,GACX,EAAE,mBAAmB,2CAuErB;AAKD,eAAO,MAAM,iBAAiB,EAAE,cA6D/B,CAAC"}
|