@thewhileloop/whileui 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocks/auth/forgot-password-form.d.ts +2 -0
- package/dist/blocks/auth/forgot-password-form.d.ts.map +1 -0
- package/dist/blocks/auth/forgot-password-form.js +11 -0
- package/dist/blocks/auth/forgot-password-form.js.map +1 -0
- package/dist/blocks/auth/index.d.ts +8 -0
- package/dist/blocks/auth/index.d.ts.map +1 -0
- package/dist/blocks/auth/index.js +8 -0
- package/dist/blocks/auth/index.js.map +1 -0
- package/dist/blocks/auth/reset-password-form.d.ts +2 -0
- package/dist/blocks/auth/reset-password-form.d.ts.map +1 -0
- package/dist/blocks/auth/reset-password-form.js +10 -0
- package/dist/blocks/auth/reset-password-form.js.map +1 -0
- package/dist/blocks/auth/sign-in-form.d.ts +2 -0
- package/dist/blocks/auth/sign-in-form.d.ts.map +1 -0
- package/dist/blocks/auth/sign-in-form.js +12 -0
- package/dist/blocks/auth/sign-in-form.js.map +1 -0
- package/dist/blocks/auth/sign-up-form.d.ts +2 -0
- package/dist/blocks/auth/sign-up-form.d.ts.map +1 -0
- package/dist/blocks/auth/sign-up-form.js +12 -0
- package/dist/blocks/auth/sign-up-form.js.map +1 -0
- package/dist/blocks/auth/social-connections.d.ts +2 -0
- package/dist/blocks/auth/social-connections.d.ts.map +1 -0
- package/dist/blocks/auth/social-connections.js +8 -0
- package/dist/blocks/auth/social-connections.js.map +1 -0
- package/dist/blocks/auth/user-menu.d.ts +2 -0
- package/dist/blocks/auth/user-menu.d.ts.map +1 -0
- package/dist/blocks/auth/user-menu.js +10 -0
- package/dist/blocks/auth/user-menu.js.map +1 -0
- package/dist/blocks/auth/verify-email-form.d.ts +2 -0
- package/dist/blocks/auth/verify-email-form.d.ts.map +1 -0
- package/dist/blocks/auth/verify-email-form.js +11 -0
- package/dist/blocks/auth/verify-email-form.js.map +1 -0
- package/dist/blocks/commerce/checkout-summary.d.ts +19 -0
- package/dist/blocks/commerce/checkout-summary.d.ts.map +1 -0
- package/dist/blocks/commerce/checkout-summary.js +11 -0
- package/dist/blocks/commerce/checkout-summary.js.map +1 -0
- package/dist/blocks/commerce/index.d.ts +4 -0
- package/dist/blocks/commerce/index.d.ts.map +1 -0
- package/dist/blocks/commerce/index.js +4 -0
- package/dist/blocks/commerce/index.js.map +1 -0
- package/dist/blocks/commerce/pricing-card.d.ts +18 -0
- package/dist/blocks/commerce/pricing-card.d.ts.map +1 -0
- package/dist/blocks/commerce/pricing-card.js +11 -0
- package/dist/blocks/commerce/pricing-card.js.map +1 -0
- package/dist/blocks/commerce/product-card.d.ts +15 -0
- package/dist/blocks/commerce/product-card.d.ts.map +1 -0
- package/dist/blocks/commerce/product-card.js +11 -0
- package/dist/blocks/commerce/product-card.js.map +1 -0
- package/dist/blocks/layout/app-shell.d.ts +10 -0
- package/dist/blocks/layout/app-shell.d.ts.map +1 -0
- package/dist/blocks/layout/app-shell.js +10 -0
- package/dist/blocks/layout/app-shell.js.map +1 -0
- package/dist/blocks/layout/empty-state.d.ts +17 -0
- package/dist/blocks/layout/empty-state.d.ts.map +1 -0
- package/dist/blocks/layout/empty-state.js +10 -0
- package/dist/blocks/layout/empty-state.js.map +1 -0
- package/dist/blocks/layout/error-state.d.ts +12 -0
- package/dist/blocks/layout/error-state.d.ts.map +1 -0
- package/dist/blocks/layout/error-state.js +13 -0
- package/dist/blocks/layout/error-state.js.map +1 -0
- package/dist/blocks/layout/index.d.ts +6 -0
- package/dist/blocks/layout/index.d.ts.map +1 -0
- package/dist/blocks/layout/index.js +6 -0
- package/dist/blocks/layout/index.js.map +1 -0
- package/dist/blocks/layout/loading-screen.d.ts +7 -0
- package/dist/blocks/layout/loading-screen.d.ts.map +1 -0
- package/dist/blocks/layout/loading-screen.js +15 -0
- package/dist/blocks/layout/loading-screen.js.map +1 -0
- package/dist/blocks/layout/onboarding-screen.d.ts +19 -0
- package/dist/blocks/layout/onboarding-screen.d.ts.map +1 -0
- package/dist/blocks/layout/onboarding-screen.js +35 -0
- package/dist/blocks/layout/onboarding-screen.js.map +1 -0
- package/dist/blocks/lists/index.d.ts +4 -0
- package/dist/blocks/lists/index.d.ts.map +1 -0
- package/dist/blocks/lists/index.js +4 -0
- package/dist/blocks/lists/index.js.map +1 -0
- package/dist/blocks/lists/list-item.d.ts +15 -0
- package/dist/blocks/lists/list-item.d.ts.map +1 -0
- package/dist/blocks/lists/list-item.js +9 -0
- package/dist/blocks/lists/list-item.js.map +1 -0
- package/dist/blocks/lists/notification-item.d.ts +14 -0
- package/dist/blocks/lists/notification-item.d.ts.map +1 -0
- package/dist/blocks/lists/notification-item.js +10 -0
- package/dist/blocks/lists/notification-item.js.map +1 -0
- package/dist/blocks/lists/swipeable-item.d.ts +17 -0
- package/dist/blocks/lists/swipeable-item.d.ts.map +1 -0
- package/dist/blocks/lists/swipeable-item.js +62 -0
- package/dist/blocks/lists/swipeable-item.js.map +1 -0
- package/dist/blocks/navigation/bottom-nav.d.ts +19 -0
- package/dist/blocks/navigation/bottom-nav.d.ts.map +1 -0
- package/dist/blocks/navigation/bottom-nav.js +13 -0
- package/dist/blocks/navigation/bottom-nav.js.map +1 -0
- package/dist/blocks/navigation/drawer-menu.d.ts +26 -0
- package/dist/blocks/navigation/drawer-menu.d.ts.map +1 -0
- package/dist/blocks/navigation/drawer-menu.js +52 -0
- package/dist/blocks/navigation/drawer-menu.js.map +1 -0
- package/dist/blocks/navigation/floating-bottom-nav.d.ts +18 -0
- package/dist/blocks/navigation/floating-bottom-nav.d.ts.map +1 -0
- package/dist/blocks/navigation/floating-bottom-nav.js +13 -0
- package/dist/blocks/navigation/floating-bottom-nav.js.map +1 -0
- package/dist/blocks/navigation/header.d.ts +23 -0
- package/dist/blocks/navigation/header.d.ts.map +1 -0
- package/dist/blocks/navigation/header.js +12 -0
- package/dist/blocks/navigation/header.js.map +1 -0
- package/dist/blocks/navigation/index.d.ts +6 -0
- package/dist/blocks/navigation/index.d.ts.map +1 -0
- package/dist/blocks/navigation/index.js +6 -0
- package/dist/blocks/navigation/index.js.map +1 -0
- package/dist/blocks/navigation/tab-bar.d.ts +21 -0
- package/dist/blocks/navigation/tab-bar.d.ts.map +1 -0
- package/dist/blocks/navigation/tab-bar.js +28 -0
- package/dist/blocks/navigation/tab-bar.js.map +1 -0
- package/dist/blocks/profile/account-card.d.ts +11 -0
- package/dist/blocks/profile/account-card.d.ts.map +1 -0
- package/dist/blocks/profile/account-card.js +10 -0
- package/dist/blocks/profile/account-card.js.map +1 -0
- package/dist/blocks/profile/index.d.ts +5 -0
- package/dist/blocks/profile/index.d.ts.map +1 -0
- package/dist/blocks/profile/index.js +5 -0
- package/dist/blocks/profile/index.js.map +1 -0
- package/dist/blocks/profile/profile-header.d.ts +27 -0
- package/dist/blocks/profile/profile-header.d.ts.map +1 -0
- package/dist/blocks/profile/profile-header.js +11 -0
- package/dist/blocks/profile/profile-header.js.map +1 -0
- package/dist/blocks/profile/settings-item.d.ts +15 -0
- package/dist/blocks/profile/settings-item.d.ts.map +1 -0
- package/dist/blocks/profile/settings-item.js +11 -0
- package/dist/blocks/profile/settings-item.js.map +1 -0
- package/dist/blocks/profile/settings-section.d.ts +7 -0
- package/dist/blocks/profile/settings-section.d.ts.map +1 -0
- package/dist/blocks/profile/settings-section.js +9 -0
- package/dist/blocks/profile/settings-section.js.map +1 -0
- package/dist/blocks/splash/index.d.ts +2 -0
- package/dist/blocks/splash/index.d.ts.map +1 -0
- package/dist/blocks/splash/index.js +2 -0
- package/dist/blocks/splash/index.js.map +1 -0
- package/dist/blocks/splash/splash-screen.d.ts +29 -0
- package/dist/blocks/splash/splash-screen.d.ts.map +1 -0
- package/dist/blocks/splash/splash-screen.js +75 -0
- package/dist/blocks/splash/splash-screen.js.map +1 -0
- package/dist/components/accordion/accordion.d.ts +38 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/accordion.js +71 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +2 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/alert/alert.d.ts +71 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/alert.js +34 -0
- package/dist/components/alert/alert.js.map +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js +2 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts +72 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.js +81 -0
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/components/alert-dialog/index.d.ts +2 -0
- package/dist/components/alert-dialog/index.d.ts.map +1 -0
- package/dist/components/alert-dialog/index.js +2 -0
- package/dist/components/alert-dialog/index.js.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +11 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +11 -0
- package/dist/components/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts +2 -0
- package/dist/components/aspect-ratio/index.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.js +2 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts +74 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.js +52 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +2 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge.d.ts +158 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/badge.js +54 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js +2 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/button/button.d.ts +240 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +79 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js +2 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/card/card.d.ts +22 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/card.js +31 -0
- package/dist/components/card/card.js.map +1 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/index.js +2 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +14 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.js +19 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/index.js +2 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/collapsible/collapsible.d.ts +36 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/collapsible.js +60 -0
- package/dist/components/collapsible/collapsible.js.map +1 -0
- package/dist/components/collapsible/index.d.ts +2 -0
- package/dist/components/collapsible/index.d.ts.map +1 -0
- package/dist/components/collapsible/index.js +2 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/context-menu/context-menu.d.ts +48 -0
- package/dist/components/context-menu/context-menu.d.ts.map +1 -0
- package/dist/components/context-menu/context-menu.js +53 -0
- package/dist/components/context-menu/context-menu.js.map +1 -0
- package/dist/components/context-menu/index.d.ts +2 -0
- package/dist/components/context-menu/index.d.ts.map +1 -0
- package/dist/components/context-menu/index.js +2 -0
- package/dist/components/context-menu/index.js.map +1 -0
- package/dist/components/dialog/dialog.d.ts +68 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/dialog.js +73 -0
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/index.js +2 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +48 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.js +51 -0
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts +2 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.js +2 -0
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/hover-card/hover-card.d.ts +20 -0
- package/dist/components/hover-card/hover-card.d.ts.map +1 -0
- package/dist/components/hover-card/hover-card.js +18 -0
- package/dist/components/hover-card/hover-card.js.map +1 -0
- package/dist/components/hover-card/index.d.ts +2 -0
- package/dist/components/hover-card/index.d.ts.map +1 -0
- package/dist/components/hover-card/index.js +2 -0
- package/dist/components/hover-card/index.js.map +1 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/index.js +2 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/input/input.d.ts +45 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/input.js +23 -0
- package/dist/components/input/input.js.map +1 -0
- package/dist/components/label/index.d.ts +2 -0
- package/dist/components/label/index.d.ts.map +1 -0
- package/dist/components/label/index.js +2 -0
- package/dist/components/label/index.js.map +1 -0
- package/dist/components/label/label.d.ts +7 -0
- package/dist/components/label/label.d.ts.map +1 -0
- package/dist/components/label/label.js +13 -0
- package/dist/components/label/label.js.map +1 -0
- package/dist/components/menubar/index.d.ts +2 -0
- package/dist/components/menubar/index.d.ts.map +1 -0
- package/dist/components/menubar/index.js +2 -0
- package/dist/components/menubar/index.js.map +1 -0
- package/dist/components/menubar/menubar.d.ts +54 -0
- package/dist/components/menubar/menubar.d.ts.map +1 -0
- package/dist/components/menubar/menubar.js +46 -0
- package/dist/components/menubar/menubar.js.map +1 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +2 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.d.ts +22 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/popover/popover.js +22 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/pressable/index.d.ts +2 -0
- package/dist/components/pressable/index.d.ts.map +1 -0
- package/dist/components/pressable/index.js +2 -0
- package/dist/components/pressable/index.js.map +1 -0
- package/dist/components/pressable/pressable.d.ts +8 -0
- package/dist/components/pressable/pressable.d.ts.map +1 -0
- package/dist/components/pressable/pressable.js +10 -0
- package/dist/components/pressable/pressable.js.map +1 -0
- package/dist/components/progress/index.d.ts +2 -0
- package/dist/components/progress/index.d.ts.map +1 -0
- package/dist/components/progress/index.js +2 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/progress.d.ts +53 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/progress/progress.js +25 -0
- package/dist/components/progress/progress.js.map +1 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/radio-group/index.js +2 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +21 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.js +27 -0
- package/dist/components/radio-group/radio-group.js.map +1 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/index.js +2 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/select.d.ts +79 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.js +53 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/index.d.ts.map +1 -0
- package/dist/components/separator/index.js +2 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/separator/separator.d.ts +8 -0
- package/dist/components/separator/separator.d.ts.map +1 -0
- package/dist/components/separator/separator.js +10 -0
- package/dist/components/separator/separator.js.map +1 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/skeleton/index.d.ts.map +1 -0
- package/dist/components/skeleton/index.js +2 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +10 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.js +19 -0
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/index.js +2 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts +54 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/spinner/spinner.js +29 -0
- package/dist/components/spinner/spinner.js.map +1 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/index.js +2 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/switch/switch.d.ts +14 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/switch/switch.js +19 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +2 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs/tabs.d.ts +72 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tabs/tabs.js +52 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/text/index.d.ts +2 -0
- package/dist/components/text/index.d.ts.map +1 -0
- package/dist/components/text/index.js +2 -0
- package/dist/components/text/index.js.map +1 -0
- package/dist/components/text/text.d.ts +149 -0
- package/dist/components/text/text.d.ts.map +1 -0
- package/dist/components/text/text.js +41 -0
- package/dist/components/text/text.js.map +1 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/textarea/index.js +2 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/textarea/textarea.d.ts +52 -0
- package/dist/components/textarea/textarea.d.ts.map +1 -0
- package/dist/components/textarea/textarea.js +27 -0
- package/dist/components/textarea/textarea.js.map +1 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +2 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toast/toast.d.ts +79 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toast.js +69 -0
- package/dist/components/toast/toast.js.map +1 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/index.d.ts.map +1 -0
- package/dist/components/toggle/index.js +2 -0
- package/dist/components/toggle/index.js.map +1 -0
- package/dist/components/toggle/toggle.d.ts +195 -0
- package/dist/components/toggle/toggle.d.ts.map +1 -0
- package/dist/components/toggle/toggle.js +71 -0
- package/dist/components/toggle/toggle.js.map +1 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/toggle-group/index.d.ts.map +1 -0
- package/dist/components/toggle-group/index.js +2 -0
- package/dist/components/toggle-group/index.js.map +1 -0
- package/dist/components/toggle-group/toggle-group.d.ts +204 -0
- package/dist/components/toggle-group/toggle-group.d.ts.map +1 -0
- package/dist/components/toggle-group/toggle-group.js +97 -0
- package/dist/components/toggle-group/toggle-group.js.map +1 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +2 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +21 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.js +18 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/components/view/index.d.ts +2 -0
- package/dist/components/view/index.d.ts.map +1 -0
- package/dist/components/view/index.js +2 -0
- package/dist/components/view/index.js.map +1 -0
- package/dist/components/view/view.d.ts +7 -0
- package/dist/components/view/view.d.ts.map +1 -0
- package/dist/components/view/view.js +10 -0
- package/dist/components/view/view.js.map +1 -0
- package/dist/index.d.ts +46 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +50 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/cn.d.ts +11 -0
- package/dist/lib/cn.d.ts.map +1 -0
- package/dist/lib/cn.js +14 -0
- package/dist/lib/cn.js.map +1 -0
- package/dist/lib/font-context.d.ts +24 -0
- package/dist/lib/font-context.d.ts.map +1 -0
- package/dist/lib/font-context.js +22 -0
- package/dist/lib/font-context.js.map +1 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/index.js +4 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/portal.d.ts +22 -0
- package/dist/lib/portal.d.ts.map +1 -0
- package/dist/lib/portal.js +22 -0
- package/dist/lib/portal.js.map +1 -0
- package/dist/lib/tv.d.ts +16 -0
- package/dist/lib/tv.d.ts.map +1 -0
- package/dist/lib/tv.js +16 -0
- package/dist/lib/tv.js.map +1 -0
- package/package.json +75 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgot-password-form.d.ts","sourceRoot":"","sources":["../../../src/blocks/auth/forgot-password-form.tsx"],"names":[],"mappings":"AAcA,wBAAgB,kBAAkB,4CAwBjC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Button, ButtonText } from '../../components/button';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
5
|
+
import { Input } from '../../components/input';
|
|
6
|
+
import { Label } from '../../components/label';
|
|
7
|
+
import { Text } from '../../components/text';
|
|
8
|
+
export function ForgotPasswordForm() {
|
|
9
|
+
return (_jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Forgot Password" }), _jsx(CardDescription, { children: "Enter your email to reset your password." })] }), _jsx(CardContent, { className: "gap-4", children: _jsxs(View, { className: "gap-2", children: [_jsx(Label, { nativeID: "forgot-email", children: "Email" }), _jsx(Input, { placeholder: "you@email.com", keyboardType: "email-address" })] }) }), _jsxs(CardFooter, { className: "flex-col gap-4", children: [_jsx(Button, { className: "w-full", children: _jsx(ButtonText, { children: "Send Reset Link" }) }), _jsxs(Text, { className: "text-sm text-center text-muted-foreground", children: ["Remember your password?", ' ', _jsx(Text, { className: "text-primary underline font-medium", children: "Back to Sign In" })] })] })] }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=forgot-password-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgot-password-form.js","sourceRoot":"","sources":["../../../src/blocks/auth/forgot-password-form.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE7C,MAAM,UAAU,kBAAkB;IAChC,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAC/B,MAAC,UAAU,eACT,KAAC,SAAS,kCAA4B,EACtC,KAAC,eAAe,2DAA2D,IAChE,EACb,KAAC,WAAW,IAAC,SAAS,EAAC,OAAO,YAC5B,MAAC,IAAI,IAAC,SAAS,EAAC,OAAO,aACrB,KAAC,KAAK,IAAC,QAAQ,EAAC,cAAc,sBAAc,EAC5C,KAAC,KAAK,IAAC,WAAW,EAAC,eAAe,EAAC,YAAY,EAAC,eAAe,GAAG,IAC7D,GACK,EACd,MAAC,UAAU,IAAC,SAAS,EAAC,gBAAgB,aACpC,KAAC,MAAM,IAAC,SAAS,EAAC,QAAQ,YACxB,KAAC,UAAU,kCAA6B,GACjC,EACT,MAAC,IAAI,IAAC,SAAS,EAAC,2CAA2C,wCACjC,GAAG,EAC3B,KAAC,IAAI,IAAC,SAAS,EAAC,oCAAoC,gCAAuB,IACtE,IACI,IACR,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './sign-in-form';
|
|
2
|
+
export * from './sign-up-form';
|
|
3
|
+
export * from './forgot-password-form';
|
|
4
|
+
export * from './verify-email-form';
|
|
5
|
+
export * from './reset-password-form';
|
|
6
|
+
export * from './social-connections';
|
|
7
|
+
export * from './user-menu';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './sign-in-form';
|
|
2
|
+
export * from './sign-up-form';
|
|
3
|
+
export * from './forgot-password-form';
|
|
4
|
+
export * from './verify-email-form';
|
|
5
|
+
export * from './reset-password-form';
|
|
6
|
+
export * from './social-connections';
|
|
7
|
+
export * from './user-menu';
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/blocks/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-password-form.d.ts","sourceRoot":"","sources":["../../../src/blocks/auth/reset-password-form.tsx"],"names":[],"mappings":"AAaA,wBAAgB,iBAAiB,4CAwBhC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Button, ButtonText } from '../../components/button';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
5
|
+
import { Input } from '../../components/input';
|
|
6
|
+
import { Label } from '../../components/label';
|
|
7
|
+
export function ResetPasswordForm() {
|
|
8
|
+
return (_jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Reset Password" }), _jsx(CardDescription, { children: "Enter your new password below." })] }), _jsxs(CardContent, { className: "gap-4", children: [_jsxs(View, { className: "gap-2", children: [_jsx(Label, { nativeID: "new-password", children: "New Password" }), _jsx(Input, { placeholder: "********", secureTextEntry: true })] }), _jsxs(View, { className: "gap-2", children: [_jsx(Label, { nativeID: "confirm-password", children: "Confirm Password" }), _jsx(Input, { placeholder: "********", secureTextEntry: true })] })] }), _jsx(CardFooter, { children: _jsx(Button, { className: "w-full", children: _jsx(ButtonText, { children: "Reset Password" }) }) })] }));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=reset-password-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-password-form.js","sourceRoot":"","sources":["../../../src/blocks/auth/reset-password-form.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,MAAM,UAAU,iBAAiB;IAC/B,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAC/B,MAAC,UAAU,eACT,KAAC,SAAS,iCAA2B,EACrC,KAAC,eAAe,iDAAiD,IACtD,EACb,MAAC,WAAW,IAAC,SAAS,EAAC,OAAO,aAC5B,MAAC,IAAI,IAAC,SAAS,EAAC,OAAO,aACrB,KAAC,KAAK,IAAC,QAAQ,EAAC,cAAc,6BAAqB,EACnD,KAAC,KAAK,IAAC,WAAW,EAAC,UAAU,EAAC,eAAe,SAAG,IAC3C,EACP,MAAC,IAAI,IAAC,SAAS,EAAC,OAAO,aACrB,KAAC,KAAK,IAAC,QAAQ,EAAC,kBAAkB,iCAAyB,EAC3D,KAAC,KAAK,IAAC,WAAW,EAAC,UAAU,EAAC,eAAe,SAAG,IAC3C,IACK,EACd,KAAC,UAAU,cACT,KAAC,MAAM,IAAC,SAAS,EAAC,QAAQ,YACxB,KAAC,UAAU,iCAA4B,GAChC,GACE,IACR,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-in-form.d.ts","sourceRoot":"","sources":["../../../src/blocks/auth/sign-in-form.tsx"],"names":[],"mappings":"AAeA,wBAAgB,UAAU,4CAgDzB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Button, ButtonText } from '../../components/button';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
5
|
+
import { Input } from '../../components/input';
|
|
6
|
+
import { Label } from '../../components/label';
|
|
7
|
+
import { Separator } from '../../components/separator';
|
|
8
|
+
import { Text } from '../../components/text';
|
|
9
|
+
export function SignInForm() {
|
|
10
|
+
return (_jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Welcome back" }), _jsx(CardDescription, { children: "Sign in to your account to continue." })] }), _jsxs(CardContent, { className: "gap-4", children: [_jsxs(View, { className: "gap-2", children: [_jsx(Label, { nativeID: "email", children: "Email" }), _jsx(Input, { placeholder: "you@email.com", keyboardType: "email-address" })] }), _jsxs(View, { className: "gap-2", children: [_jsxs(View, { className: "flex-row items-center justify-between", children: [_jsx(Label, { nativeID: "password", children: "Password" }), _jsx(Text, { className: "text-sm text-primary font-medium", children: "Forgot?" })] }), _jsx(Input, { placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022", secureTextEntry: true })] })] }), _jsxs(CardFooter, { className: "flex-col gap-4", children: [_jsx(Button, { className: "w-full", children: _jsx(ButtonText, { children: "Sign In" }) }), _jsxs(View, { className: "flex-row items-center gap-3 w-full", children: [_jsx(Separator, { className: "flex-1" }), _jsx(Text, { className: "text-xs text-muted-foreground uppercase", children: "or" }), _jsx(Separator, { className: "flex-1" })] }), _jsxs(View, { className: "flex-row gap-3 w-full", children: [_jsx(Button, { variant: "outline", className: "flex-1", children: _jsx(ButtonText, { children: "Google" }) }), _jsx(Button, { variant: "outline", className: "flex-1", children: _jsx(ButtonText, { children: "Apple" }) })] }), _jsxs(Text, { className: "text-sm text-center text-muted-foreground", children: ["Don't have an account? ", _jsx(Text, { className: "text-primary font-medium", children: "Sign Up" })] })] })] }));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=sign-in-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-in-form.js","sourceRoot":"","sources":["../../../src/blocks/auth/sign-in-form.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE7C,MAAM,UAAU,UAAU;IACxB,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAC/B,MAAC,UAAU,eACT,KAAC,SAAS,+BAAyB,EACnC,KAAC,eAAe,uDAAuD,IAC5D,EACb,MAAC,WAAW,IAAC,SAAS,EAAC,OAAO,aAC5B,MAAC,IAAI,IAAC,SAAS,EAAC,OAAO,aACrB,KAAC,KAAK,IAAC,QAAQ,EAAC,OAAO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0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Button, ButtonText } from '../../components/button';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
5
|
+
import { Input } from '../../components/input';
|
|
6
|
+
import { Label } from '../../components/label';
|
|
7
|
+
import { Separator } from '../../components/separator';
|
|
8
|
+
import { Text } from '../../components/text';
|
|
9
|
+
export function SignUpForm() {
|
|
10
|
+
return (_jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Create an account" }), _jsx(CardDescription, { children: "Enter your details to get started." })] }), _jsxs(CardContent, { className: "gap-4", children: [_jsxs(View, { className: "flex-row gap-3", children: [_jsxs(View, { className: "flex-1 gap-2", children: [_jsx(Label, { nativeID: "first-name", children: "First name" }), _jsx(Input, { placeholder: "Jane" })] }), _jsxs(View, { className: "flex-1 gap-2", children: [_jsx(Label, { nativeID: "last-name", children: "Last name" }), _jsx(Input, { placeholder: "Doe" })] })] }), _jsxs(View, { className: "gap-2", children: [_jsx(Label, { nativeID: "signup-email", children: "Email" }), _jsx(Input, { placeholder: "you@email.com", keyboardType: "email-address" })] }), _jsxs(View, { className: "gap-2", children: [_jsx(Label, { nativeID: "signup-password", children: "Password" }), _jsx(Input, { placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022", secureTextEntry: true })] })] }), _jsxs(CardFooter, { className: "flex-col gap-4", children: [_jsx(Button, { className: "w-full", children: _jsx(ButtonText, { children: "Create Account" }) }), _jsxs(View, { className: "flex-row items-center gap-3 w-full", children: [_jsx(Separator, { className: "flex-1" }), _jsx(Text, { className: "text-xs text-muted-foreground uppercase", children: "or" }), _jsx(Separator, { className: "flex-1" })] }), _jsxs(View, { className: "flex-row gap-3 w-full", children: [_jsx(Button, { variant: "outline", className: "flex-1", children: _jsx(ButtonText, { children: "Google" }) }), _jsx(Button, { variant: "outline", className: "flex-1", children: _jsx(ButtonText, { children: "Apple" }) })] }), _jsxs(Text, { className: "text-sm text-center text-muted-foreground", children: ["Already have an account? ", _jsx(Text, { className: "text-primary font-medium", children: "Sign In" })] })] })] }));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=sign-up-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-up-form.js","sourceRoot":"","sources":["../../../src/blocks/auth/sign-up-form.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE7C,MAAM,UAAU,UAAU;IACxB,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAC/B,MAAC,UAAU,eACT,KAAC,SAAS,oCAA8B,EACxC,KAAC,eAAe,qDAAqD,IAC1D,EACb,MAAC,WAAW,IAAC,SAAS,EAAC,OAAO,aAC5B,MAAC,IAAI,IAAC,SAAS,EAAC,gBAAgB,aAC9B,MAAC,IAAI,IAAC,SAAS,EAAC,cAAc,aAC5B,KAAC,KAAK,IAAC,QAAQ,EAAC,YAAY,2BAAmB,EAC/C,KAAC,KAAK,IAAC,WAAW,EAAC,MAAM,GAAG,IACvB,EACP,MAAC,IAAI,IAAC,SAAS,EAAC,cAAc,aAC5B,KAAC,KAAK,IAAC,QAAQ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tsx"],"names":[],"mappings":"AAWA,wBAAgB,iBAAiB,4CA6BhC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button, ButtonText } from '../../components/button';
|
|
3
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
4
|
+
import { Text } from '../../components/text';
|
|
5
|
+
export function SocialConnections() {
|
|
6
|
+
return (_jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Social Connections" }), _jsx(CardDescription, { children: "Connect your account with social providers." })] }), _jsxs(CardContent, { className: "gap-4", children: [_jsxs(Button, { variant: "outline", className: "w-full flex-row gap-2", children: [_jsx(Text, { className: "font-bold", children: "G" }), _jsx(ButtonText, { children: "Continue with Google" })] }), _jsxs(Button, { variant: "outline", className: "w-full flex-row gap-2", children: [_jsx(Text, { className: "font-bold", children: "\uF8FF" }), _jsx(ButtonText, { children: "Continue with Apple" })] }), _jsxs(Button, { variant: "outline", className: "w-full flex-row gap-2", children: [_jsx(Text, { className: "font-bold", children: "GH" }), _jsx(ButtonText, { children: "Continue with GitHub" })] })] }), _jsx(CardFooter, { children: _jsxs(Text, { className: "text-xs text-center text-muted-foreground w-full", children: ["By clicking continue, you agree to our ", _jsx(Text, { className: "underline", children: "Terms of Service" }), ' ', "and ", _jsx(Text, { className: "underline", children: "Privacy Policy" }), "."] }) })] }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=social-connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social-connections.js","sourceRoot":"","sources":["../../../src/blocks/auth/social-connections.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE7C,MAAM,UAAU,iBAAiB;IAC/B,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAC/B,MAAC,UAAU,eACT,KAAC,SAAS,qCAA+B,EACzC,KAAC,eAAe,8DAA8D,IACnE,EACb,MAAC,WAAW,IAAC,SAAS,EAAC,OAAO,aAC5B,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,SAAS,EAAC,uBAAuB,aACzD,KAAC,IAAI,IAAC,SAAS,EAAC,WAAW,kBAAS,EACpC,KAAC,UAAU,uCAAkC,IACtC,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,SAAS,EAAC,uBAAuB,aACzD,KAAC,IAAI,IAAC,SAAS,EAAC,WAAW,uBAAS,EACpC,KAAC,UAAU,sCAAiC,IACrC,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,SAAS,EAAC,uBAAuB,aACzD,KAAC,IAAI,IAAC,SAAS,EAAC,WAAW,mBAAU,EACrC,KAAC,UAAU,uCAAkC,IACtC,IACG,EACd,KAAC,UAAU,cACT,MAAC,IAAI,IAAC,SAAS,EAAC,kDAAkD,wDACzB,KAAC,IAAI,IAAC,SAAS,EAAC,WAAW,iCAAwB,EAAC,GAAG,UAC1F,KAAC,IAAI,IAAC,SAAS,EAAC,WAAW,+BAAsB,SAChD,GACI,IACR,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-menu.d.ts","sourceRoot":"","sources":["../../../src/blocks/auth/user-menu.tsx"],"names":[],"mappings":"AAaA,wBAAgB,QAAQ,4CAqCvB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Avatar, AvatarFallback } from '../../components/avatar';
|
|
4
|
+
import { Button } from '../../components/button';
|
|
5
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from '../../components/dropdown-menu';
|
|
6
|
+
import { Text } from '../../components/text';
|
|
7
|
+
export function UserMenu() {
|
|
8
|
+
return (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsx(Button, { variant: "ghost", className: "relative h-10 w-10 rounded-full", children: _jsx(Avatar, { className: "h-10 w-10", children: _jsx(AvatarFallback, { children: "U" }) }) }) }), _jsxs(DropdownMenuContent, { className: "w-56", children: [_jsx(DropdownMenuLabel, { className: "font-normal", children: _jsxs(View, { className: "flex flex-col gap-1", children: [_jsx(Text, { className: "text-sm font-medium leading-none text-foreground", children: "My Account" }), _jsx(Text, { className: "text-xs leading-none text-muted-foreground", children: "user@email.com" })] }) }), _jsx(DropdownMenuSeparator, {}), _jsx(DropdownMenuItem, { children: _jsx(Text, { className: "text-foreground", children: "Profile" }) }), _jsx(DropdownMenuItem, { children: _jsx(Text, { className: "text-foreground", children: "Billing" }) }), _jsx(DropdownMenuItem, { children: _jsx(Text, { className: "text-foreground", children: "Settings" }) }), _jsx(DropdownMenuItem, { children: _jsx(Text, { className: "text-foreground", children: "New Team" }) }), _jsx(DropdownMenuSeparator, {}), _jsx(DropdownMenuItem, { children: _jsx(Text, { className: "text-destructive", children: "Log out" }) })] })] }));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=user-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-menu.js","sourceRoot":"","sources":["../../../src/blocks/auth/user-menu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,yBA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ources":["../../../src/blocks/auth/verify-email-form.tsx"],"names":[],"mappings":"AAcA,wBAAgB,eAAe,4CA8B9B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Button, ButtonText } from '../../components/button';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '../../components/card';
|
|
5
|
+
import { Input } from '../../components/input';
|
|
6
|
+
import { Label } from '../../components/label';
|
|
7
|
+
import { Text } from '../../components/text';
|
|
8
|
+
export function VerifyEmailForm() {
|
|
9
|
+
return (_jsxs(Card, { className: "w-full max-w-sm", children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Verify Email" }), _jsx(CardDescription, { children: "We sent a verification code to your email. Enter it below to continue." })] }), _jsx(CardContent, { className: "gap-4", children: _jsxs(View, { className: "gap-2", children: [_jsx(Label, { nativeID: "code", children: "Verification Code" }), _jsx(Input, { placeholder: "123456", keyboardType: "number-pad", maxLength: 6, className: "text-center text-lg tracking-widest" })] }) }), _jsxs(CardFooter, { className: "flex-col gap-4", children: [_jsx(Button, { className: "w-full", children: _jsx(ButtonText, { children: "Verify Email" }) }), _jsxs(Text, { className: "text-sm text-center text-muted-foreground", children: ["Didn't receive code? ", _jsx(Text, { className: "text-primary underline font-medium", children: "Resend" })] })] })] }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=verify-email-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-email-form.js","sourceRoot":"","sources":["../../../src/blocks/auth/verify-email-form.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE7C,MAAM,UAAU,eAAe;IAC7B,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,aAC/B,MAAC,UAAU,eACT,KAAC,SAAS,+BAAyB,EACnC,KAAC,eAAe,yFAEE,IACP,EACb,KAAC,WAAW,IAAC,SAAS,EAAC,OAAO,YAC5B,MAAC,IAAI,IAAC,SAAS,EAAC,OAAO,aACrB,KAAC,KAAK,IAAC,QAAQ,EAAC,MAAM,kCAA0B,EAChD,KAAC,KAAK,IACJ,WAAW,EAAC,QAAQ,EACpB,YAAY,EAAC,YAAY,EACzB,SAAS,EAAE,CAAC,EACZ,SAAS,EAAC,qCAAqC,GAC/C,IACG,GACK,EACd,MAAC,UAAU,IAAC,SAAS,EAAC,gBAAgB,aACpC,KAAC,MAAM,IAAC,SAAS,EAAC,QAAQ,YACxB,KAAC,UAAU,+BAA0B,GAC9B,EACT,MAAC,IAAI,IAAC,SAAS,EAAC,2CAA2C,sCACpC,KAAC,IAAI,IAAC,SAAS,EAAC,oCAAoC,uBAAc,IAClF,IACI,IACR,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ViewProps } from 'react-native';
|
|
2
|
+
export interface CheckoutLineItem {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
emphasized?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface CheckoutSummaryProps extends ViewProps {
|
|
8
|
+
items: CheckoutLineItem[];
|
|
9
|
+
subtotal: string;
|
|
10
|
+
shipping?: string;
|
|
11
|
+
tax?: string;
|
|
12
|
+
discount?: string;
|
|
13
|
+
total: string;
|
|
14
|
+
buttonLabel?: string;
|
|
15
|
+
onCheckout?: () => void;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function CheckoutSummary({ items, subtotal, shipping, tax, discount, total, buttonLabel, onCheckout, loading, className, ...props }: CheckoutSummaryProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=checkout-summary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkout-summary.d.ts","sourceRoot":"","sources":["../../../src/blocks/commerce/checkout-summary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQpD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAID,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,QAAQ,EACR,KAAK,EACL,WAAwB,EACxB,UAAU,EACV,OAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,2CAgFtB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Text } from '../../components/text';
|
|
4
|
+
import { Separator } from '../../components/separator';
|
|
5
|
+
import { Button, ButtonText } from '../../components/button';
|
|
6
|
+
import { cn } from '../../lib/cn';
|
|
7
|
+
// ─── Component ───────────────────────────────────────────────
|
|
8
|
+
export function CheckoutSummary({ items, subtotal, shipping, tax, discount, total, buttonLabel = 'Checkout', onCheckout, loading = false, className, ...props }) {
|
|
9
|
+
return (_jsxs(View, { className: cn('rounded-xl border border-border bg-card p-4', className), ...props, children: [_jsx(Text, { className: "mb-4 text-lg font-semibold text-foreground", children: "Order Summary" }), items.length > 0 && (_jsx(View, { className: "mb-4 gap-2", children: items.map((item, index) => (_jsxs(View, { className: "flex-row items-center justify-between", children: [_jsx(Text, { className: cn('text-sm', item.emphasized ? 'font-medium text-foreground' : 'text-muted-foreground'), numberOfLines: 1, children: item.label }), _jsx(Text, { className: cn('text-sm', item.emphasized ? 'font-medium text-foreground' : 'text-muted-foreground'), children: item.value })] }, index))) })), _jsx(Separator, { className: "my-3" }), _jsxs(View, { className: "flex-row items-center justify-between", children: [_jsx(Text, { className: "text-sm text-muted-foreground", children: "Subtotal" }), _jsx(Text, { className: "text-sm text-foreground", children: subtotal })] }), shipping && (_jsxs(View, { className: "mt-2 flex-row items-center justify-between", children: [_jsx(Text, { className: "text-sm text-muted-foreground", children: "Shipping" }), _jsx(Text, { className: "text-sm text-foreground", children: shipping })] })), tax && (_jsxs(View, { className: "mt-2 flex-row items-center justify-between", children: [_jsx(Text, { className: "text-sm text-muted-foreground", children: "Tax" }), _jsx(Text, { className: "text-sm text-foreground", children: tax })] })), discount && (_jsxs(View, { className: "mt-2 flex-row items-center justify-between", children: [_jsx(Text, { className: "text-sm text-muted-foreground", children: "Discount" }), _jsxs(Text, { className: "text-sm text-primary", children: ["-", discount] })] })), _jsx(Separator, { className: "my-3" }), _jsxs(View, { className: "flex-row items-center justify-between", children: [_jsx(Text, { className: "text-base font-semibold text-foreground", children: "Total" }), _jsx(Text, { className: "text-xl font-bold text-foreground", children: total })] }), onCheckout && (_jsx(Button, { className: "mt-4 w-full", onPress: onCheckout, disabled: loading, children: _jsx(ButtonText, { children: loading ? 'Processing...' : buttonLabel }) }))] }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=checkout-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkout-summary.js","sourceRoot":"","sources":["../../../src/blocks/commerce/checkout-summary.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAsBlC,gEAAgE;AAEhE,MAAM,UAAU,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,QAAQ,EACR,KAAK,EACL,WAAW,GAAG,UAAU,EACxB,UAAU,EACV,OAAO,GAAG,KAAK,EACf,SAAS,EACT,GAAG,KAAK,EACa;IACrB,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,6CAA6C,EAAE,SAAS,CAAC,KAAM,KAAK,aACtF,KAAC,IAAI,IAAC,SAAS,EAAC,4CAA4C,8BAAqB,EAGhF,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,CACnB,KAAC,IAAI,IAAC,SAAS,EAAC,YAAY,YACzB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,MAAC,IAAI,IAAa,SAAS,EAAC,uCAAuC,aACjE,KAAC,IAAI,IACH,SAAS,EAAE,EAAE,CACX,SAAS,EACT,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,uBAAuB,CAC1E,EACD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AmC,YAAE,KAAK,GAAQ,IAC7D,EAGN,UAAU,IAAI,CACb,KAAC,MAAM,IAAC,SAAS,EAAC,aAAa,EAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,YACpE,KAAC,UAAU,cAAE,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,WAAW,GAAc,GAC3D,CACV,IACI,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ProductCard, type ProductCardProps } from './product-card';
|
|
2
|
+
export { PricingCard, type PricingCardProps, type PricingFeature } from './pricing-card';
|
|
3
|
+
export { CheckoutSummary, type CheckoutSummaryProps, type CheckoutLineItem, } from './checkout-summary';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/commerce/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACzF,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/blocks/commerce/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,WAAW,EAA8C,MAAM,gBAAgB,CAAC;AACzF,OAAO,EACL,eAAe,GAGhB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ViewProps } from 'react-native';
|
|
2
|
+
export interface PricingFeature {
|
|
3
|
+
label: string;
|
|
4
|
+
included: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface PricingCardProps extends ViewProps {
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
price: string;
|
|
10
|
+
period?: string;
|
|
11
|
+
features: PricingFeature[];
|
|
12
|
+
badge?: string;
|
|
13
|
+
highlighted?: boolean;
|
|
14
|
+
buttonLabel?: string;
|
|
15
|
+
onPress?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare function PricingCard({ name, description, price, period, features, badge, highlighted, buttonLabel, onPress, className, ...props }: PricingCardProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=pricing-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricing-card.d.ts","sourceRoot":"","sources":["../../../src/blocks/commerce/pricing-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQpD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAID,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,WAAW,EACX,KAAK,EACL,MAAiB,EACjB,QAAQ,EACR,KAAK,EACL,WAAmB,EACnB,WAA2B,EAC3B,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAqDlB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Text } from '../../components/text';
|
|
4
|
+
import { Button, ButtonText } from '../../components/button';
|
|
5
|
+
import { Badge, BadgeText } from '../../components/badge';
|
|
6
|
+
import { cn } from '../../lib/cn';
|
|
7
|
+
// ─── Component ───────────────────────────────────────────────
|
|
8
|
+
export function PricingCard({ name, description, price, period = '/month', features, badge, highlighted = false, buttonLabel = 'Get Started', onPress, className, ...props }) {
|
|
9
|
+
return (_jsxs(View, { className: cn('overflow-hidden rounded-2xl p-6', highlighted ? 'border-2 border-primary bg-card' : 'border border-border bg-card', className), ...props, children: [_jsxs(View, { className: "mb-4 flex-row items-center justify-between", children: [_jsx(Text, { className: "text-lg font-semibold text-foreground", children: name }), badge && (_jsx(Badge, { variant: highlighted ? 'default' : 'secondary', children: _jsx(BadgeText, { children: badge }) }))] }), description && _jsx(Text, { className: "mb-4 text-sm text-muted-foreground", children: description }), _jsxs(View, { className: "mb-6 flex-row items-baseline", children: [_jsx(Text, { className: "text-4xl font-bold text-foreground", children: price }), _jsx(Text, { className: "ml-1 text-muted-foreground", children: period })] }), _jsx(View, { className: "mb-6 gap-3", children: features.map((feature, index) => (_jsxs(View, { className: "flex-row items-center gap-3", children: [_jsx(Text, { className: feature.included ? 'text-primary' : 'text-muted-foreground', children: feature.included ? '✓' : '✕' }), _jsx(Text, { className: cn('text-sm', feature.included ? 'text-foreground' : 'text-muted-foreground line-through'), children: feature.label })] }, index))) }), _jsx(Button, { variant: highlighted ? 'default' : 'outline', className: "w-full", onPress: onPress, children: _jsx(ButtonText, { children: buttonLabel }) })] }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=pricing-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricing-card.js","sourceRoot":"","sources":["../../../src/blocks/commerce/pricing-card.tsx"],"names":[],"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YACzB,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,CAChC,MAAC,IAAI,IAAa,SAAS,EAAC,6BAA6B,aACvD,KAAC,IAAI,IAAC,SAAS,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,uBAAuB,YACzE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,GACxB,EACP,KAAC,IAAI,IACH,SAAS,EAAE,EAAE,CACX,SAAS,EACT,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,oCAAoC,CAC5E,YAEA,OAAO,CAAC,KAAK,GACT,KAXE,KAAK,CAYT,CACR,CAAC,GACG,EAGP,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAAE,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,YACvF,KAAC,UAAU,cAAE,WAAW,GAAc,GAC/B,IACJ,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type PressableProps } from 'react-native';
|
|
2
|
+
export interface ProductCardProps extends Omit<PressableProps, 'children'> {
|
|
3
|
+
imageUrl?: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
price: string;
|
|
7
|
+
originalPrice?: string;
|
|
8
|
+
badge?: string;
|
|
9
|
+
rating?: number;
|
|
10
|
+
reviewCount?: number;
|
|
11
|
+
inStock?: boolean;
|
|
12
|
+
variant?: 'vertical' | 'horizontal';
|
|
13
|
+
}
|
|
14
|
+
export declare function ProductCard({ imageUrl, title, description, price, originalPrice, badge, rating, reviewCount, inStock, variant, className, ...props }: ProductCardProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=product-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-card.d.ts","sourceRoot":"","sources":["../../../src/blocks/commerce/product-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAO3E,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;CACrC;AAID,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,WAAW,EACX,KAAK,EACL,aAAa,EACb,KAAK,EACL,MAAM,EACN,WAAW,EACX,OAAc,EACd,OAAoB,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAyElB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View, Pressable, Image } from 'react-native';
|
|
3
|
+
import { Text } from '../../components/text';
|
|
4
|
+
import { Badge, BadgeText } from '../../components/badge';
|
|
5
|
+
import { cn } from '../../lib/cn';
|
|
6
|
+
// ─── Component ───────────────────────────────────────────────
|
|
7
|
+
export function ProductCard({ imageUrl, title, description, price, originalPrice, badge, rating, reviewCount, inStock = true, variant = 'vertical', className, ...props }) {
|
|
8
|
+
const isHorizontal = variant === 'horizontal';
|
|
9
|
+
return (_jsxs(Pressable, { className: cn('overflow-hidden rounded-xl border border-border bg-card active:opacity-90', isHorizontal ? 'flex-row' : 'flex-col', className), ...props, children: [_jsxs(View, { className: cn('items-center justify-center bg-muted', isHorizontal ? 'h-28 w-28' : 'aspect-square w-full'), children: [imageUrl ? (_jsx(Image, { source: { uri: imageUrl }, className: "h-full w-full", resizeMode: "cover" })) : (_jsx(View, { className: "items-center justify-center gap-2", children: _jsx(View, { className: "h-10 w-10 rounded-lg bg-muted-foreground/10 items-center justify-center", children: _jsx(Text, { className: "text-muted-foreground text-lg", children: "\uD83D\uDCE6" }) }) })), badge && (_jsx(View, { className: "absolute left-2 top-2", children: _jsx(Badge, { variant: "destructive", children: _jsx(BadgeText, { children: badge }) }) }))] }), _jsxs(View, { className: cn('flex-1 p-3', isHorizontal && 'justify-center'), children: [_jsx(Text, { className: "font-medium text-foreground", numberOfLines: 2, children: title }), description && !isHorizontal && (_jsx(Text, { className: "mt-1 text-sm text-muted-foreground", numberOfLines: 2, children: description })), rating !== undefined && (_jsxs(View, { className: "mt-1 flex-row items-center gap-1", children: [_jsx(Text, { className: "text-sm text-amber-500", children: "\u2605" }), _jsxs(Text, { className: "text-sm text-muted-foreground", children: [rating.toFixed(1), reviewCount !== undefined && ` (${reviewCount})`] })] })), _jsxs(View, { className: "mt-2 flex-row items-center gap-2", children: [_jsx(Text, { className: "text-lg font-bold text-foreground", children: price }), originalPrice && (_jsx(Text, { className: "text-sm text-muted-foreground line-through", children: originalPrice }))] }), !inStock && _jsx(Text, { className: "mt-1 text-sm text-destructive", children: "Out of stock" })] })] }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=product-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-card.js","sourceRoot":"","sources":["../../../src/blocks/commerce/product-card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAuB,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,KAAK,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,SAAS,EAAC,6BAA6B,EAAC,aAAa,EAAE,CAAC,YAC3D,KAAK,GACD,EAEN,WAAW,IAAI,CAAC,YAAY,IAAI,CAC/B,KAAC,IAAI,IAAC,SAAS,EAAC,oCAAoC,EAAC,aAAa,EAAE,CAAC,YAClE,WAAW,GACP,CACR,EAGA,MAAM,KAAK,SAAS,IAAI,CACvB,MAAC,IAAI,IAAC,SAAS,EAAC,kCAAkC,aAChD,KAAC,IAAI,IAAC,SAAS,EAAC,wBAAwB,uBAAS,EACjD,MAAC,IAAI,IAAC,SAAS,EAAC,+BAA+B,aAC5C,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EACjB,WAAW,KAAK,SAAS,IAAI,KAAK,WAAW,GAAG,IAC5C,IACF,CACR,EAGD,MAAC,IAAI,IAAC,SAAS,EAAC,kCAAkC,aAChD,KAAC,IAAI,IAAC,SAAS,EAAC,mCAAmC,YAAE,KAAK,GAAQ,EACjE,aAAa,IAAI,CAChB,KAAC,IAAI,IAAC,SAAS,EAAC,4CAA4C,YAAE,aAAa,GAAQ,CACpF,IACI,EAGN,CAAC,OAAO,IAAI,KAAC,IAAI,IAAC,SAAS,EAAC,+BAA+B,6BAAoB,IAC3E,IACG,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ViewProps } from 'react-native';
|
|
3
|
+
export interface AppShellProps extends ViewProps {
|
|
4
|
+
header?: React.ReactNode;
|
|
5
|
+
footer?: React.ReactNode;
|
|
6
|
+
bottomNav?: React.ReactNode;
|
|
7
|
+
safeArea?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function AppShell({ header, footer, bottomNav, safeArea, children, className, ...props }: AppShellProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=app-shell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../src/blocks/layout/app-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAMpD,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAID,wBAAgB,QAAQ,CAAC,EACvB,MAAM,EACN,MAAM,EACN,SAAS,EACT,QAAe,EACf,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,2CAWf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
4
|
+
import { cn } from '../../lib/cn';
|
|
5
|
+
// ─── Component ───────────────────────────────────────────────
|
|
6
|
+
export function AppShell({ header, footer, bottomNav, safeArea = true, children, className, ...props }) {
|
|
7
|
+
const Container = safeArea ? SafeAreaView : View;
|
|
8
|
+
return (_jsxs(Container, { className: cn('flex-1 bg-background', className), ...props, children: [header, _jsx(View, { className: "flex-1", children: children }), footer, bottomNav] }));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=app-shell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-shell.js","sourceRoot":"","sources":["../../../src/blocks/layout/app-shell.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAWlC,gEAAgE;AAEhE,MAAM,UAAU,QAAQ,CAAC,EACvB,MAAM,EACN,MAAM,EACN,SAAS,EACT,QAAQ,GAAG,IAAI,EACf,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACM;IACd,MAAM,SAAS,GAAG,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC;IAEjD,OAAO,CACL,MAAC,SAAS,IAAC,SAAS,EAAE,EAAE,CAAC,sBAAsB,EAAE,SAAS,CAAC,KAAM,KAAK,aACnE,MAAM,EACP,KAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,YAAE,QAAQ,GAAQ,EACzC,MAAM,EACN,SAAS,IACA,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ViewProps } from 'react-native';
|
|
3
|
+
export interface EmptyStateProps extends ViewProps {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
action?: {
|
|
8
|
+
label: string;
|
|
9
|
+
onPress: () => void;
|
|
10
|
+
};
|
|
11
|
+
secondaryAction?: {
|
|
12
|
+
label: string;
|
|
13
|
+
onPress: () => void;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export declare function EmptyState({ icon, title, description, action, secondaryAction, className, ...props }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../../src/blocks/layout/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpD,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,eAAe,CAAC,EAAE;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;CACH;AAID,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,eAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAwBjB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Text } from '../../components/text';
|
|
4
|
+
import { Button, ButtonText } from '../../components/button';
|
|
5
|
+
import { cn } from '../../lib/cn';
|
|
6
|
+
// ─── Component ───────────────────────────────────────────────
|
|
7
|
+
export function EmptyState({ icon, title, description, action, secondaryAction, className, ...props }) {
|
|
8
|
+
return (_jsxs(View, { className: cn('flex-1 items-center justify-center p-8', className), ...props, children: [icon && _jsx(View, { className: "mb-6 text-muted-foreground", children: icon }), _jsx(Text, { className: "mb-2 text-center text-xl font-semibold text-foreground", children: title }), description && (_jsx(Text, { className: "mb-6 max-w-xs text-center text-muted-foreground", children: description })), action && (_jsx(Button, { onPress: action.onPress, className: "mb-3", children: _jsx(ButtonText, { children: action.label }) })), secondaryAction && (_jsx(Button, { variant: "ghost", onPress: secondaryAction.onPress, children: _jsx(ButtonText, { children: secondaryAction.label }) }))] }));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=empty-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.js","sourceRoot":"","sources":["../../../src/blocks/layout/empty-state.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAkBlC,gEAAgE;AAEhE,MAAM,UAAU,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,eAAe,EACf,SAAS,EACT,GAAG,KAAK,EACQ;IAChB,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,wCAAwC,EAAE,SAAS,CAAC,KAAM,KAAK,aAChF,IAAI,IAAI,KAAC,IAAI,IAAC,SAAS,EAAC,4BAA4B,YAAE,IAAI,GAAQ,EAEnE,KAAC,IAAI,IAAC,SAAS,EAAC,wDAAwD,YAAE,KAAK,GAAQ,EAEtF,WAAW,IAAI,CACd,KAAC,IAAI,IAAC,SAAS,EAAC,iDAAiD,YAAE,WAAW,GAAQ,CACvF,EAEA,MAAM,IAAI,CACT,KAAC,MAAM,IAAC,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,SAAS,EAAC,MAAM,YAC/C,KAAC,UAAU,cAAE,MAAM,CAAC,KAAK,GAAc,GAChC,CACV,EAEA,eAAe,IAAI,CAClB,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAE,eAAe,CAAC,OAAO,YACtD,KAAC,UAAU,cAAE,eAAe,CAAC,KAAK,GAAc,GACzC,CACV,IACI,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ViewProps } from 'react-native';
|
|
3
|
+
export interface ErrorStateProps extends ViewProps {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
error?: Error | string;
|
|
8
|
+
onRetry?: () => void;
|
|
9
|
+
retryLabel?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function ErrorState({ icon, title, description, error, onRetry, retryLabel, className, ...props }: ErrorStateProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=error-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-state.d.ts","sourceRoot":"","sources":["../../../src/blocks/layout/error-state.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpD,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAID,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAA8B,EAC9B,WAAW,EACX,KAAK,EACL,OAAO,EACP,UAAwB,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAqBjB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Text } from '../../components/text';
|
|
4
|
+
import { Button, ButtonText } from '../../components/button';
|
|
5
|
+
import { cn } from '../../lib/cn';
|
|
6
|
+
// ─── Component ───────────────────────────────────────────────
|
|
7
|
+
export function ErrorState({ icon, title = 'Something went wrong', description, error, onRetry, retryLabel = 'Try again', className, ...props }) {
|
|
8
|
+
const errorMessage = description ||
|
|
9
|
+
(error instanceof Error ? error.message : error) ||
|
|
10
|
+
'An unexpected error occurred';
|
|
11
|
+
return (_jsxs(View, { className: cn('flex-1 items-center justify-center p-8', className), ...props, children: [icon && _jsx(View, { className: "mb-6 text-destructive", children: icon }), _jsx(Text, { className: "mb-2 text-center text-xl font-semibold text-foreground", children: title }), _jsx(Text, { className: "mb-6 max-w-xs text-center text-muted-foreground", children: errorMessage }), onRetry && (_jsx(Button, { onPress: onRetry, children: _jsx(ButtonText, { children: retryLabel }) }))] }));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=error-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-state.js","sourceRoot":"","sources":["../../../src/blocks/layout/error-state.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAalC,gEAAgE;AAEhE,MAAM,UAAU,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,GAAG,sBAAsB,EAC9B,WAAW,EACX,KAAK,EACL,OAAO,EACP,UAAU,GAAG,WAAW,EACxB,SAAS,EACT,GAAG,KAAK,EACQ;IAChB,MAAM,YAAY,GAChB,WAAW;QACX,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;QAChD,8BAA8B,CAAC;IAEjC,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,wCAAwC,EAAE,SAAS,CAAC,KAAM,KAAK,aAChF,IAAI,IAAI,KAAC,IAAI,IAAC,SAAS,EAAC,uBAAuB,YAAE,IAAI,GAAQ,EAE9D,KAAC,IAAI,IAAC,SAAS,EAAC,wDAAwD,YAAE,KAAK,GAAQ,EAEvF,KAAC,IAAI,IAAC,SAAS,EAAC,iDAAiD,YAAE,YAAY,GAAQ,EAEtF,OAAO,IAAI,CACV,KAAC,MAAM,IAAC,OAAO,EAAE,OAAO,YACtB,KAAC,UAAU,cAAE,UAAU,GAAc,GAC9B,CACV,IACI,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { AppShell, type AppShellProps } from './app-shell';
|
|
2
|
+
export { EmptyState, type EmptyStateProps } from './empty-state';
|
|
3
|
+
export { ErrorState, type ErrorStateProps } from './error-state';
|
|
4
|
+
export { LoadingScreen, type LoadingScreenProps } from './loading-screen';
|
|
5
|
+
export { OnboardingScreen, type OnboardingScreenProps, type OnboardingSlide, } from './onboarding-screen';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,GACrB,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { AppShell } from './app-shell';
|
|
2
|
+
export { EmptyState } from './empty-state';
|
|
3
|
+
export { ErrorState } from './error-state';
|
|
4
|
+
export { LoadingScreen } from './loading-screen';
|
|
5
|
+
export { OnboardingScreen, } from './onboarding-screen';
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/blocks/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAsB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAwB,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,UAAU,EAAwB,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,aAAa,EAA2B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EACL,gBAAgB,GAGjB,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ViewProps } from 'react-native';
|
|
2
|
+
export interface LoadingScreenProps extends ViewProps {
|
|
3
|
+
message?: string;
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
5
|
+
}
|
|
6
|
+
export declare function LoadingScreen({ message, size, className, ...props }: LoadingScreenProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=loading-screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-screen.d.ts","sourceRoot":"","sources":["../../../src/blocks/layout/loading-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAID,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,IAAW,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAe9F"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Text } from '../../components/text';
|
|
4
|
+
import { Spinner } from '../../components/spinner';
|
|
5
|
+
import { cn } from '../../lib/cn';
|
|
6
|
+
// ─── Component ───────────────────────────────────────────────
|
|
7
|
+
export function LoadingScreen({ message, size = 'md', className, ...props }) {
|
|
8
|
+
const spinnerSizes = {
|
|
9
|
+
sm: 'h-6 w-6',
|
|
10
|
+
md: 'h-10 w-10',
|
|
11
|
+
lg: 'h-16 w-16',
|
|
12
|
+
};
|
|
13
|
+
return (_jsxs(View, { className: cn('flex-1 items-center justify-center bg-background', className), ...props, children: [_jsx(View, { className: spinnerSizes[size], children: _jsx(Spinner, {}) }), message && _jsx(Text, { className: "mt-4 text-muted-foreground", children: message })] }));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=loading-screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-screen.js","sourceRoot":"","sources":["../../../src/blocks/layout/loading-screen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AASlC,gEAAgE;AAEhE,MAAM,UAAU,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,EAAsB;IAC7F,MAAM,YAAY,GAAG;QACnB,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,WAAW;QACf,EAAE,EAAE,WAAW;KAChB,CAAC;IAEF,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,kDAAkD,EAAE,SAAS,CAAC,KAAM,KAAK,aAC3F,KAAC,IAAI,IAAC,SAAS,EAAE,YAAY,CAAC,IAAI,CAAC,YACjC,KAAC,OAAO,KAAG,GACN,EACN,OAAO,IAAI,KAAC,IAAI,IAAC,SAAS,EAAC,4BAA4B,YAAE,OAAO,GAAQ,IACpE,CACR,CAAC;AACJ,CAAC"}
|