@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 @@
|
|
|
1
|
+
{"version":3,"file":"loading.stories.js","sourceRoot":"","sources":["../../../../src/templates/feedback/loading.stories.js"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,MAAM,IAAI,GAAG;IACT,KAAK,EAAE,4BAA4B;IACnC,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 SuccessTemplateComponent({ children, className, slots, texts, options, }: ScreenTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const SuccessTemplate: ScreenTemplate;
|
|
4
|
+
//# sourceMappingURL=success.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"success.d.ts","sourceRoot":"","sources":["../../../../src/templates/feedback/success.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,EACV,OAAY,GACb,EAAE,mBAAmB,2CAiErB;AAKD,eAAO,MAAM,eAAe,EAAE,cAuC7B,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SuccessTemplateComponent({ children, className = '', slots = {}, texts = {}, options = {}, }) {
|
|
5
|
+
const title = texts.title || 'Success!';
|
|
6
|
+
const message = texts.message || 'Your action was completed successfully';
|
|
7
|
+
const ctaLabel = texts.cta_label || 'Continue';
|
|
8
|
+
const showCta = options.show_cta ?? true;
|
|
9
|
+
return (_jsxs("div", { className: `min-h-screen flex items-center justify-center p-[var(--tekton-spacing-4)] ${className}`, children: [_jsxs("div", { className: "max-w-md text-center space-y-[var(--tekton-spacing-6)]", children: [slots.icon || (_jsx("div", { className: "flex justify-center", children: _jsx("div", { className: "rounded-full bg-[var(--tekton-bg-success)] bg-opacity-10 p-[var(--tekton-spacing-4)]", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-12 w-12 text-[var(--tekton-text-success)]", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" }) }) }) })), _jsxs("div", { className: "space-y-[var(--tekton-spacing-2)]", children: [_jsx("h2", { className: "text-2xl font-bold", children: title }), _jsx("p", { className: "text-[var(--tekton-text-muted-foreground)]", children: message })] }), slots.details && (_jsx("div", { className: "text-left bg-[var(--tekton-bg-muted)] p-[var(--tekton-spacing-4)] rounded-[var(--tekton-radius-md)] text-sm", children: slots.details })), showCta && (_jsx("div", { children: _jsx(Button, { className: "w-full", size: "lg", children: ctaLabel }) })), slots.additionalActions && (_jsx("div", { className: "flex flex-col gap-[var(--tekton-spacing-3)]", children: slots.additionalActions }))] }), children] }));
|
|
10
|
+
}
|
|
11
|
+
export const SuccessTemplate = {
|
|
12
|
+
id: 'feedback.success',
|
|
13
|
+
name: 'Success',
|
|
14
|
+
category: 'feedback',
|
|
15
|
+
description: 'Success state screen with confirmation message',
|
|
16
|
+
skeleton: {
|
|
17
|
+
shell: 'centered',
|
|
18
|
+
page: 'feedback-page',
|
|
19
|
+
sections: [
|
|
20
|
+
{
|
|
21
|
+
id: 'success-message',
|
|
22
|
+
name: 'Success Message',
|
|
23
|
+
slot: 'main',
|
|
24
|
+
required: true,
|
|
25
|
+
Component: SuccessTemplateComponent,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
layout: {
|
|
30
|
+
type: 'centered',
|
|
31
|
+
responsive: DEFAULT_RESPONSIVE_LAYOUT,
|
|
32
|
+
},
|
|
33
|
+
customizable: {
|
|
34
|
+
texts: ['title', 'message', 'cta_label'],
|
|
35
|
+
optional: ['show_cta'],
|
|
36
|
+
slots: ['icon', 'details', 'additionalActions'],
|
|
37
|
+
},
|
|
38
|
+
requiredComponents: ['Button'],
|
|
39
|
+
Component: SuccessTemplateComponent,
|
|
40
|
+
version: '1.0.0',
|
|
41
|
+
created: '2026-02-01',
|
|
42
|
+
updated: '2026-02-01',
|
|
43
|
+
tags: ['feedback', 'success', 'confirmation', 'state'],
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=success.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"success.js","sourceRoot":"","sources":["../../../../src/templates/feedback/success.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,EACV,OAAO,GAAG,EAAE,GACQ;IACpB,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,UAAU,CAAC;IACxC,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,IAAI,wCAAwC,CAAC;IAC1E,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,IAAI,UAAU,CAAC;IAC/C,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC;IAEzC,OAAO,CACL,eACE,SAAS,EAAE,6EAA6E,SAAS,EAAE,aAEnG,eAAK,SAAS,EAAC,wDAAwD,aAEpE,KAAK,CAAC,IAAI,IAAI,CACb,cAAK,SAAS,EAAC,qBAAqB,YAClC,cAAK,SAAS,EAAC,sFAAsF,YACnG,cACE,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,EACnB,MAAM,EAAC,cAAc,YAErB,eACE,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,WAAW,EAAE,CAAC,EACd,CAAC,EAAC,+CAA+C,GACjD,GACE,GACF,GACF,CACP,EAGD,eA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EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;IACrB,IAAI,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,CAAC;CACvD,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 { SuccessTemplateComponent as component };
|
|
8
|
+
export namespace parameters {
|
|
9
|
+
let layout: string;
|
|
10
|
+
}
|
|
11
|
+
export let tags: string[];
|
|
12
|
+
}
|
|
13
|
+
import { SuccessTemplateComponent } from './success';
|
|
14
|
+
//# sourceMappingURL=success.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"success.stories.d.ts","sourceRoot":"","sources":["../../../../src/templates/feedback/success.stories.js"],"names":[],"mappings":";;;;;;;;;;;;yCAMyC,WAAW"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SuccessTemplateComponent } from './success';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Templates/Feedback/Success',
|
|
4
|
+
component: SuccessTemplateComponent,
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: 'fullscreen',
|
|
7
|
+
},
|
|
8
|
+
tags: ['autodocs'],
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export const Default = {
|
|
12
|
+
args: {},
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=success.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"success.stories.js","sourceRoot":"","sources":["../../../../src/templates/feedback/success.stories.js"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,MAAM,IAAI,GAAG;IACT,KAAK,EAAE,4BAA4B;IACnC,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,16 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export { TemplateRegistry, templateRegistry } from './registry';
|
|
3
|
+
export { LoginTemplate, LoginTemplateComponent } from './auth/login';
|
|
4
|
+
export { SignupTemplate, SignupTemplateComponent } from './auth/signup';
|
|
5
|
+
export { ForgotPasswordTemplate, ForgotPasswordTemplateComponent } from './auth/forgot-password';
|
|
6
|
+
export { VerificationTemplate, VerificationTemplateComponent } from './auth/verification';
|
|
7
|
+
export { LandingTemplate, LandingTemplateComponent } from './core/landing';
|
|
8
|
+
export { PreferencesTemplate, PreferencesTemplateComponent } from './core/preferences';
|
|
9
|
+
export { ProfileTemplate, ProfileTemplateComponent } from './core/profile';
|
|
10
|
+
export { LoadingTemplate, LoadingTemplateComponent } from './feedback/loading';
|
|
11
|
+
export { ErrorTemplate, ErrorTemplateComponent } from './feedback/error';
|
|
12
|
+
export { EmptyTemplate, EmptyTemplateComponent } from './feedback/empty';
|
|
13
|
+
export { ConfirmationTemplate, ConfirmationTemplateComponent } from './feedback/confirmation';
|
|
14
|
+
export { SuccessTemplate, SuccessTemplateComponent } from './feedback/success';
|
|
15
|
+
export { DashboardTemplate, DashboardTemplateComponent } from './dashboard/overview';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/index.ts"],"names":[],"mappings":"AAeA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAGhE,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACjG,OAAO,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAG1F,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAG3E,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAG/E,OAAO,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export { TemplateRegistry, templateRegistry } from './registry';
|
|
3
|
+
export { LoginTemplate, LoginTemplateComponent } from './auth/login';
|
|
4
|
+
export { SignupTemplate, SignupTemplateComponent } from './auth/signup';
|
|
5
|
+
export { ForgotPasswordTemplate, ForgotPasswordTemplateComponent } from './auth/forgot-password';
|
|
6
|
+
export { VerificationTemplate, VerificationTemplateComponent } from './auth/verification';
|
|
7
|
+
export { LandingTemplate, LandingTemplateComponent } from './core/landing';
|
|
8
|
+
export { PreferencesTemplate, PreferencesTemplateComponent } from './core/preferences';
|
|
9
|
+
export { ProfileTemplate, ProfileTemplateComponent } from './core/profile';
|
|
10
|
+
export { LoadingTemplate, LoadingTemplateComponent } from './feedback/loading';
|
|
11
|
+
export { ErrorTemplate, ErrorTemplateComponent } from './feedback/error';
|
|
12
|
+
export { EmptyTemplate, EmptyTemplateComponent } from './feedback/empty';
|
|
13
|
+
export { ConfirmationTemplate, ConfirmationTemplateComponent } from './feedback/confirmation';
|
|
14
|
+
export { SuccessTemplate, SuccessTemplateComponent } from './feedback/success';
|
|
15
|
+
export { DashboardTemplate, DashboardTemplateComponent } from './dashboard/overview';
|
|
16
|
+
import { templateRegistry } from './registry';
|
|
17
|
+
import { LoginTemplate } from './auth/login';
|
|
18
|
+
import { SignupTemplate } from './auth/signup';
|
|
19
|
+
import { ForgotPasswordTemplate } from './auth/forgot-password';
|
|
20
|
+
import { VerificationTemplate } from './auth/verification';
|
|
21
|
+
import { LandingTemplate } from './core/landing';
|
|
22
|
+
import { PreferencesTemplate } from './core/preferences';
|
|
23
|
+
import { ProfileTemplate } from './core/profile';
|
|
24
|
+
import { LoadingTemplate } from './feedback/loading';
|
|
25
|
+
import { ErrorTemplate } from './feedback/error';
|
|
26
|
+
import { EmptyTemplate } from './feedback/empty';
|
|
27
|
+
import { ConfirmationTemplate } from './feedback/confirmation';
|
|
28
|
+
import { SuccessTemplate } from './feedback/success';
|
|
29
|
+
import { DashboardTemplate } from './dashboard/overview';
|
|
30
|
+
templateRegistry.registerMany([
|
|
31
|
+
LoginTemplate,
|
|
32
|
+
SignupTemplate,
|
|
33
|
+
ForgotPasswordTemplate,
|
|
34
|
+
VerificationTemplate,
|
|
35
|
+
LandingTemplate,
|
|
36
|
+
PreferencesTemplate,
|
|
37
|
+
ProfileTemplate,
|
|
38
|
+
LoadingTemplate,
|
|
39
|
+
ErrorTemplate,
|
|
40
|
+
EmptyTemplate,
|
|
41
|
+
ConfirmationTemplate,
|
|
42
|
+
SuccessTemplate,
|
|
43
|
+
DashboardTemplate,
|
|
44
|
+
]);
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0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AwB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGzD,gBAAgB,CAAC,YAAY,CAAC;IAE5B,aAAa;IACb,cAAc;IACd,sBAAsB;IACtB,oBAAoB;IAEpB,eAAe;IACf,mBAAmB;IACnB,eAAe;IAEf,eAAe;IACf,aAAa;IACb,aAAa;IACb,oBAAoB;IACpB,eAAe;IAEf,iBAAiB;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ScreenTemplate, ScreenCategory, TemplateRegistryEntry } from './types';
|
|
2
|
+
export declare class TemplateRegistry {
|
|
3
|
+
private static instance;
|
|
4
|
+
private templates;
|
|
5
|
+
private constructor();
|
|
6
|
+
static getInstance(): TemplateRegistry;
|
|
7
|
+
register(template: ScreenTemplate): void;
|
|
8
|
+
registerMany(templates: ScreenTemplate[]): void;
|
|
9
|
+
get(id: string): ScreenTemplate | undefined;
|
|
10
|
+
getAll(): ScreenTemplate[];
|
|
11
|
+
getByCategory(category: ScreenCategory): ScreenTemplate[];
|
|
12
|
+
findByRequiredComponents(components: string[]): ScreenTemplate[];
|
|
13
|
+
search(keyword: string): ScreenTemplate[];
|
|
14
|
+
getMetadata(id: string): TemplateRegistryEntry['metadata'] | undefined;
|
|
15
|
+
getMostUsed(limit?: number): ScreenTemplate[];
|
|
16
|
+
getRecentlyUsed(limit?: number): ScreenTemplate[];
|
|
17
|
+
clear(): void;
|
|
18
|
+
count(): number;
|
|
19
|
+
has(id: string): boolean;
|
|
20
|
+
remove(id: string): boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const templateRegistry: TemplateRegistry;
|
|
23
|
+
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/templates/registry.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAQrF,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAmB;IAC1C,OAAO,CAAC,SAAS,CAAqC;IAEtD,OAAO;WAOO,WAAW,IAAI,gBAAgB;IAUtC,QAAQ,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAgBxC,YAAY,CAAC,SAAS,EAAE,cAAc,EAAE,GAAG,IAAI;IAO/C,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAa3C,MAAM,IAAI,cAAc,EAAE;IAO1B,aAAa,CAAC,QAAQ,EAAE,cAAc,GAAG,cAAc,EAAE;IAQzD,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE;IAUhE,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,EAAE;IAezC,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,qBAAqB,CAAC,UAAU,CAAC,GAAG,SAAS;IAOtE,WAAW,CAAC,KAAK,GAAE,MAAW,GAAG,cAAc,EAAE;IAUjD,eAAe,CAAC,KAAK,GAAE,MAAW,GAAG,cAAc,EAAE;IAerD,KAAK,IAAI,IAAI;IAOb,KAAK,IAAI,MAAM;IAOf,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAOxB,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;CAGnC;AAKD,eAAO,MAAM,gBAAgB,kBAAiC,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export class TemplateRegistry {
|
|
2
|
+
static instance;
|
|
3
|
+
templates;
|
|
4
|
+
constructor() {
|
|
5
|
+
this.templates = new Map();
|
|
6
|
+
}
|
|
7
|
+
static getInstance() {
|
|
8
|
+
if (!TemplateRegistry.instance) {
|
|
9
|
+
TemplateRegistry.instance = new TemplateRegistry();
|
|
10
|
+
}
|
|
11
|
+
return TemplateRegistry.instance;
|
|
12
|
+
}
|
|
13
|
+
register(template) {
|
|
14
|
+
if (this.templates.has(template.id)) {
|
|
15
|
+
console.warn(`Template "${template.id}" is already registered. Overwriting.`);
|
|
16
|
+
}
|
|
17
|
+
this.templates.set(template.id, {
|
|
18
|
+
template,
|
|
19
|
+
metadata: {
|
|
20
|
+
usageCount: 0,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
registerMany(templates) {
|
|
25
|
+
templates.forEach(template => this.register(template));
|
|
26
|
+
}
|
|
27
|
+
get(id) {
|
|
28
|
+
const entry = this.templates.get(id);
|
|
29
|
+
if (entry) {
|
|
30
|
+
entry.metadata.usageCount++;
|
|
31
|
+
entry.metadata.lastUsed = new Date().toISOString();
|
|
32
|
+
return entry.template;
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
getAll() {
|
|
37
|
+
return Array.from(this.templates.values()).map(entry => entry.template);
|
|
38
|
+
}
|
|
39
|
+
getByCategory(category) {
|
|
40
|
+
return this.getAll().filter(template => template.category === category);
|
|
41
|
+
}
|
|
42
|
+
findByRequiredComponents(components) {
|
|
43
|
+
return this.getAll().filter(template => {
|
|
44
|
+
return components.every(component => template.requiredComponents.includes(component));
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
search(keyword) {
|
|
48
|
+
const lowerKeyword = keyword.toLowerCase();
|
|
49
|
+
return this.getAll().filter(template => {
|
|
50
|
+
return (template.id.toLowerCase().includes(lowerKeyword) ||
|
|
51
|
+
template.name.toLowerCase().includes(lowerKeyword) ||
|
|
52
|
+
template.description.toLowerCase().includes(lowerKeyword) ||
|
|
53
|
+
template.tags?.some(tag => tag.toLowerCase().includes(lowerKeyword)));
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
getMetadata(id) {
|
|
57
|
+
return this.templates.get(id)?.metadata;
|
|
58
|
+
}
|
|
59
|
+
getMostUsed(limit = 10) {
|
|
60
|
+
return Array.from(this.templates.values())
|
|
61
|
+
.sort((a, b) => b.metadata.usageCount - a.metadata.usageCount)
|
|
62
|
+
.slice(0, limit)
|
|
63
|
+
.map(entry => entry.template);
|
|
64
|
+
}
|
|
65
|
+
getRecentlyUsed(limit = 10) {
|
|
66
|
+
return Array.from(this.templates.values())
|
|
67
|
+
.filter(entry => entry.metadata.lastUsed)
|
|
68
|
+
.sort((a, b) => {
|
|
69
|
+
const dateA = new Date(a.metadata.lastUsed).getTime();
|
|
70
|
+
const dateB = new Date(b.metadata.lastUsed).getTime();
|
|
71
|
+
return dateB - dateA;
|
|
72
|
+
})
|
|
73
|
+
.slice(0, limit)
|
|
74
|
+
.map(entry => entry.template);
|
|
75
|
+
}
|
|
76
|
+
clear() {
|
|
77
|
+
this.templates.clear();
|
|
78
|
+
}
|
|
79
|
+
count() {
|
|
80
|
+
return this.templates.size;
|
|
81
|
+
}
|
|
82
|
+
has(id) {
|
|
83
|
+
return this.templates.has(id);
|
|
84
|
+
}
|
|
85
|
+
remove(id) {
|
|
86
|
+
return this.templates.delete(id);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export const templateRegistry = TemplateRegistry.getInstance();
|
|
90
|
+
//# sourceMappingURL=registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file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,GAAG,CAAC,EAAU;QACnB,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC;IAKM,MAAM,CAAC,EAAU;QACtB,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACnC,CAAC;CACF;AAKD,MAAM,CAAC,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
export type ScreenCategory = 'auth' | 'dashboard' | 'form' | 'marketing' | 'feedback';
|
|
3
|
+
export type TemplateLayout = 'centered' | 'sidebar' | 'full';
|
|
4
|
+
export interface ResponsiveBreakpoints {
|
|
5
|
+
mobile: number;
|
|
6
|
+
tablet: number;
|
|
7
|
+
desktop: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ResponsiveLayout {
|
|
10
|
+
mobile: {
|
|
11
|
+
padding: string;
|
|
12
|
+
gap: string;
|
|
13
|
+
columns: number;
|
|
14
|
+
};
|
|
15
|
+
tablet: {
|
|
16
|
+
padding: string;
|
|
17
|
+
gap: string;
|
|
18
|
+
columns: number;
|
|
19
|
+
};
|
|
20
|
+
desktop: {
|
|
21
|
+
padding: string;
|
|
22
|
+
gap: string;
|
|
23
|
+
columns: number;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface TemplateLayoutConfig {
|
|
27
|
+
type: TemplateLayout;
|
|
28
|
+
responsive: ResponsiveLayout;
|
|
29
|
+
}
|
|
30
|
+
export interface SectionTemplate {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
slot: string;
|
|
34
|
+
required: boolean;
|
|
35
|
+
Component: ComponentType<any>;
|
|
36
|
+
}
|
|
37
|
+
export interface CustomizationBoundaries {
|
|
38
|
+
texts: string[];
|
|
39
|
+
optional: string[];
|
|
40
|
+
slots: string[];
|
|
41
|
+
}
|
|
42
|
+
export interface TemplateSkeleton {
|
|
43
|
+
shell: string;
|
|
44
|
+
page: string;
|
|
45
|
+
sections: SectionTemplate[];
|
|
46
|
+
}
|
|
47
|
+
export interface ScreenTemplateProps {
|
|
48
|
+
children?: ReactNode;
|
|
49
|
+
className?: string;
|
|
50
|
+
slots?: Record<string, ReactNode>;
|
|
51
|
+
texts?: Record<string, string>;
|
|
52
|
+
options?: Record<string, string | boolean | number>;
|
|
53
|
+
}
|
|
54
|
+
export interface ScreenTemplate {
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
category: ScreenCategory;
|
|
58
|
+
description: string;
|
|
59
|
+
skeleton: TemplateSkeleton;
|
|
60
|
+
layout: TemplateLayoutConfig;
|
|
61
|
+
customizable: CustomizationBoundaries;
|
|
62
|
+
requiredComponents: string[];
|
|
63
|
+
Component: ComponentType<ScreenTemplateProps>;
|
|
64
|
+
version: string;
|
|
65
|
+
created: string;
|
|
66
|
+
updated: string;
|
|
67
|
+
tags?: string[];
|
|
68
|
+
}
|
|
69
|
+
export interface TemplateRegistryEntry {
|
|
70
|
+
template: ScreenTemplate;
|
|
71
|
+
metadata: {
|
|
72
|
+
usageCount: number;
|
|
73
|
+
lastUsed?: string;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export declare const DEFAULT_RESPONSIVE_LAYOUT: ResponsiveLayout;
|
|
77
|
+
export declare const DEFAULT_BREAKPOINTS: ResponsiveBreakpoints;
|
|
78
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/templates/types.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,WAAW,GACX,MAAM,GACN,WAAW,GACX,UAAU,CAAC;AAKf,MAAM,MAAM,cAAc,GACtB,UA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AM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;CACrD;AAKD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IAGpB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,MAAM,EAAE,oBAAoB,CAAC;IAG7B,YAAY,EAAE,uBAAuB,CAAC;IACtC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAG7B,SAAS,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAG9C,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAKD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,cAAc,CAAC;IACzB,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAKD,eAAO,MAAM,yBAAyB,EAAE,gBAgBvC,CAAC;AAKF,eAAO,MAAM,mBAAmB,EAAE,qBAIjC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const DEFAULT_RESPONSIVE_LAYOUT = {
|
|
2
|
+
mobile: {
|
|
3
|
+
padding: 'var(--tekton-layout-padding-mobile)',
|
|
4
|
+
gap: 'var(--tekton-layout-gap-mobile)',
|
|
5
|
+
columns: 4,
|
|
6
|
+
},
|
|
7
|
+
tablet: {
|
|
8
|
+
padding: 'var(--tekton-layout-padding-tablet)',
|
|
9
|
+
gap: 'var(--tekton-layout-gap-tablet)',
|
|
10
|
+
columns: 8,
|
|
11
|
+
},
|
|
12
|
+
desktop: {
|
|
13
|
+
padding: 'var(--tekton-layout-padding-desktop)',
|
|
14
|
+
gap: 'var(--tekton-layout-gap-desktop)',
|
|
15
|
+
columns: 12,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
export const DEFAULT_BREAKPOINTS = {
|
|
19
|
+
mobile: 768,
|
|
20
|
+
tablet: 1024,
|
|
21
|
+
desktop: 1024,
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/templates/types.ts"],"names":[],"mappings":"AA6JA,MAAM,CAAC,MAAM,yBAAyB,GAAqB;IACzD,MAAM,EAAE;QACN,OAAO,EAAE,qCAAqC;QAC9C,GAAG,EAAE,iCAAiC;QACtC,OAAO,EAAE,CAAC;KACX;IACD,MAAM,EAAE;QACN,OAAO,EAAE,qCAAqC;QAC9C,GAAG,EAAE,iCAAiC;QACtC,OAAO,EAAE,CAAC;KACX;IACD,OAAO,EAAE;QACP,OAAO,EAAE,sCAAsC;QAC/C,GAAG,EAAE,kCAAkC;QACvC,OAAO,EAAE,EAAE;KACZ;CACF,CAAC;AAKF,MAAM,CAAC,MAAM,mBAAmB,GAA0B;IACxD,MAAM,EAAE,GAAG;IACX,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;CACd,CAAC"}
|