@flipova/foundation 1.12.0 → 1.12.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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../foundation/ui/components/base/01-primitives/Box/Box.meta.yaml","../foundation/ui/components/base/01-primitives/Box/Box.logic.ts","../foundation/ui/components/base/01-primitives/Box/Box.style.ts","../foundation/ui/components/base/01-primitives/Box/Box.tsx","../foundation/ui/components/base/01-primitives/Center/Center.meta.yaml","../foundation/ui/components/base/01-primitives/Center/Center.logic.ts","../foundation/ui/components/base/01-primitives/Center/Center.style.ts","../foundation/ui/components/base/01-primitives/Center/Center.tsx","../foundation/ui/components/base/01-primitives/Inline/Inline.meta.yaml","../foundation/ui/components/base/01-primitives/Inline/Inline.logic.ts","../foundation/ui/components/base/01-primitives/Inline/Inline.style.ts","../foundation/ui/components/base/01-primitives/Inline/Inline.tsx","../foundation/ui/components/base/01-primitives/Scroll/Scroll.meta.yaml","../foundation/ui/components/base/01-primitives/Scroll/Scroll.logic.ts","../foundation/ui/components/base/01-primitives/Scroll/Scroll.style.ts","../foundation/ui/components/base/01-primitives/Scroll/Scroll.tsx","../foundation/ui/components/base/01-primitives/Stack/Stack.meta.yaml","../foundation/ui/components/base/01-primitives/Stack/Stack.logic.ts","../foundation/ui/components/base/01-primitives/Stack/Stack.style.ts","../foundation/ui/components/base/01-primitives/Stack/Stack.tsx","../foundation/ui/components/base/02-wrappers/BadgeWrapper/BadgeWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/BadgeWrapper/BadgeWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/BadgeWrapper/BadgeWrapper.style.ts","../foundation/ui/components/base/02-wrappers/BadgeWrapper/BadgeWrapper.tsx","../foundation/ui/components/base/02-wrappers/BlurWrapper/BlurWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/BlurWrapper/BlurWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/BlurWrapper/BlurWrapper.style.ts","../foundation/ui/components/base/02-wrappers/BlurWrapper/BlurWrapper.tsx","../foundation/ui/components/base/02-wrappers/CollapsibleWrapper/CollapsibleWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/CollapsibleWrapper/CollapsibleWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/CollapsibleWrapper/CollapsibleWrapper.style.ts","../foundation/ui/components/base/02-wrappers/CollapsibleWrapper/CollapsibleWrapper.tsx","../foundation/ui/components/base/02-wrappers/FadeInWrapper/FadeInWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/FadeInWrapper/FadeInWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/FadeInWrapper/FadeInWrapper.style.ts","../foundation/ui/components/base/02-wrappers/FadeInWrapper/FadeInWrapper.tsx","../foundation/ui/components/base/02-wrappers/KeyboardAvoidWrapper/KeyboardAvoidWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/KeyboardAvoidWrapper/KeyboardAvoidWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/KeyboardAvoidWrapper/KeyboardAvoidWrapper.style.ts","../foundation/ui/components/base/02-wrappers/KeyboardAvoidWrapper/KeyboardAvoidWrapper.tsx","../foundation/ui/components/base/02-wrappers/SafeAreaWrapper/SafeAreaWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/SafeAreaWrapper/SafeAreaWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/SafeAreaWrapper/SafeAreaWrapper.style.ts","../foundation/ui/components/base/02-wrappers/SafeAreaWrapper/SafeAreaWrapper.tsx","../foundation/ui/components/base/02-wrappers/ScalePressWrapper/ScalePressWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/ScalePressWrapper/ScalePressWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/ScalePressWrapper/ScalePressWrapper.style.ts","../foundation/ui/components/base/02-wrappers/ScalePressWrapper/ScalePressWrapper.tsx","../foundation/ui/components/base/02-wrappers/ShimmerWrapper/ShimmerWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/ShimmerWrapper/ShimmerWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/ShimmerWrapper/ShimmerWrapper.style.ts","../foundation/ui/components/base/02-wrappers/ShimmerWrapper/ShimmerWrapper.tsx","../foundation/ui/components/base/02-wrappers/SkeletonWrapper/SkeletonWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/SkeletonWrapper/SkeletonWrapper.style.ts","../foundation/ui/components/base/02-wrappers/SkeletonWrapper/SkeletonWrapper.tsx","../foundation/ui/components/base/02-wrappers/SlideUpWrapper/SlideUpWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/SlideUpWrapper/SlideUpWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/SlideUpWrapper/SlideUpWrapper.style.ts","../foundation/ui/components/base/02-wrappers/SlideUpWrapper/SlideUpWrapper.tsx","../foundation/ui/components/base/02-wrappers/TooltipWrapper/TooltipWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/TooltipWrapper/TooltipWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/TooltipWrapper/TooltipWrapper.style.ts","../foundation/ui/components/base/02-wrappers/TooltipWrapper/TooltipWrapper.tsx","../foundation/ui/components/base/Accordion/Accordion.meta.yaml","../foundation/ui/components/base/Accordion/Accordion.logic.ts","../foundation/ui/components/base/Accordion/Accordion.style.ts","../foundation/ui/components/base/Accordion/Accordion.tsx","../foundation/ui/components/base/Audio/Audio.logic.ts","../foundation/ui/components/base/Audio/Audio.style.ts","../foundation/ui/components/base/Audio/Audio.tsx","../foundation/ui/components/base/Avatar/Avatar.meta.yaml","../foundation/ui/components/base/Avatar/Avatar.logic.ts","../foundation/ui/components/base/Avatar/Avatar.style.ts","../foundation/ui/components/base/Avatar/Avatar.tsx","../foundation/ui/components/base/AvatarPicker/AvatarPicker.meta.yaml","../foundation/ui/components/base/AvatarPicker/AvatarPicker.logic.ts","../foundation/ui/components/base/AvatarPicker/AvatarPicker.style.ts","../foundation/ui/components/base/AvatarPicker/AvatarPicker.tsx","../foundation/ui/components/base/Badge/Badge.meta.yaml","../foundation/ui/components/base/Badge/Badge.logic.ts","../foundation/ui/components/base/Badge/Badge.style.ts","../foundation/ui/components/base/Badge/Badge.tsx","../foundation/ui/components/base/BlurView/BlurView.meta.yaml","../foundation/ui/components/base/BlurView/BlurView.logic.ts","../foundation/ui/components/base/BlurView/BlurView.style.ts","../foundation/ui/components/base/BlurView/BlurView.tsx","../foundation/ui/components/base/Button/Button.meta.yaml","../foundation/ui/components/base/Button/Button.logic.ts","../foundation/ui/components/base/Button/Button.style.ts","../foundation/ui/components/base/Button/Button.tsx","../foundation/ui/components/base/Camera/Camera.meta.yaml","../foundation/ui/components/base/Camera/Camera.logic.ts","../foundation/ui/components/base/Camera/Camera.style.ts","../foundation/ui/components/base/Camera/Camera.tsx","../foundation/ui/components/base/Card/Card.meta.yaml","../foundation/ui/components/base/Card/Card.logic.ts","../foundation/ui/components/base/Card/Card.style.ts","../foundation/ui/components/base/Card/Card.tsx","../foundation/ui/components/base/Checkbox/Checkbox.meta.yaml","../foundation/ui/components/base/Checkbox/Checkbox.logic.ts","../foundation/ui/components/base/Checkbox/Checkbox.style.ts","../foundation/ui/components/base/Checkbox/Checkbox.tsx","../foundation/ui/components/base/Chip/Chip.meta.yaml","../foundation/ui/components/base/Chip/Chip.logic.ts","../foundation/ui/components/base/Chip/Chip.style.ts","../foundation/ui/components/base/Chip/Chip.tsx","../foundation/ui/components/base/ColorPicker/ColorPicker.meta.yaml","../foundation/ui/components/base/ColorPicker/ColorPicker.logic.ts","../foundation/ui/components/base/ColorPicker/ColorPicker.style.ts","../foundation/ui/components/base/ColorPicker/ColorPicker.tsx","../foundation/ui/components/base/DatePicker/DatePicker.meta.yaml","../foundation/ui/components/base/DatePicker/DatePicker.logic.ts","../foundation/ui/components/base/DatePicker/DatePicker.style.ts","../foundation/ui/components/base/DatePicker/DatePicker.tsx","../foundation/ui/components/base/Divider/Divider.meta.yaml","../foundation/ui/components/base/Divider/Divider.logic.ts","../foundation/ui/components/base/Divider/Divider.style.ts","../foundation/ui/components/base/Divider/Divider.tsx","../foundation/ui/components/base/EmojiPicker/EmojiPicker.meta.yaml","../foundation/ui/components/base/EmojiPicker/EmojiPicker.logic.ts","../foundation/ui/components/base/EmojiPicker/EmojiPicker.style.ts","../foundation/ui/components/base/EmojiPicker/EmojiPicker.tsx","../foundation/ui/components/base/FilePicker/FilePicker.meta.yaml","../foundation/ui/components/base/FilePicker/FilePicker.logic.ts","../foundation/ui/components/base/FilePicker/FilePicker.style.ts","../foundation/ui/components/base/FilePicker/FilePicker.tsx","../foundation/ui/components/base/FlatList/FlatList.meta.yaml","../foundation/ui/components/base/FlatList/FlatList.logic.ts","../foundation/ui/components/base/FlatList/FlatList.style.ts","../foundation/ui/components/base/FlatList/FlatList.tsx","../foundation/ui/components/base/GifPicker/GifPicker.meta.yaml","../foundation/ui/components/base/GifPicker/GifPicker.logic.ts","../foundation/ui/components/base/GifPicker/GifPicker.style.ts","../foundation/ui/components/base/GifPicker/GifPicker.tsx","../foundation/ui/components/base/Gradient/Gradient.meta.yaml","../foundation/ui/components/base/Gradient/Gradient.logic.ts","../foundation/ui/components/base/Gradient/Gradient.style.ts","../foundation/ui/components/base/Gradient/Gradient.tsx","../foundation/ui/components/base/Icon/Icon.meta.yaml","../foundation/ui/components/base/Icon/Icon.logic.ts","../foundation/ui/components/base/Icon/Icon.style.ts","../foundation/ui/components/base/Icon/Icon.tsx","../foundation/ui/components/base/IconButton/IconButton.meta.yaml","../foundation/ui/components/base/IconButton/IconButton.logic.ts","../foundation/ui/components/base/IconButton/IconButton.style.ts","../foundation/ui/components/base/IconButton/IconButton.tsx","../foundation/ui/components/base/IconPicker/IconPicker.meta.yaml","../foundation/ui/components/base/IconPicker/IconPicker.logic.ts","../foundation/ui/components/base/IconPicker/IconPicker.style.ts","../foundation/ui/components/base/IconPicker/IconPicker.tsx","../foundation/ui/components/base/Image/Image.meta.yaml","../foundation/ui/components/base/Image/Image.logic.ts","../foundation/ui/components/base/Image/Image.style.ts","../foundation/ui/components/base/Image/Image.tsx","../foundation/ui/components/base/LottieAnimation/LottieAnimation.meta.yaml","../foundation/ui/components/base/LottieAnimation/LottieAnimation.logic.ts","../foundation/ui/components/base/LottieAnimation/LottieAnimation.style.ts","../foundation/ui/components/base/LottieAnimation/LottieAnimation.tsx","../foundation/ui/components/base/MapView/MapView.meta.yaml","../foundation/ui/components/base/MapView/MapView.logic.ts","../foundation/ui/components/base/MapView/MapView.style.ts","../foundation/ui/components/base/MapView/MapView.tsx","../foundation/ui/components/base/NumberInput/NumberInput.meta.yaml","../foundation/ui/components/base/NumberInput/NumberInput.logic.ts","../foundation/ui/components/base/NumberInput/NumberInput.style.ts","../foundation/ui/components/base/NumberInput/NumberInput.tsx","../foundation/ui/components/base/OTPInput/OTPInput.meta.yaml","../foundation/ui/components/base/OTPInput/OTPInput.logic.ts","../foundation/ui/components/base/OTPInput/OTPInput.style.ts","../foundation/ui/components/base/OTPInput/OTPInput.tsx","../foundation/ui/components/base/PasswordInput/PasswordInput.meta.yaml","../foundation/ui/components/base/PasswordInput/PasswordInput.logic.ts","../foundation/ui/components/base/PasswordInput/PasswordInput.style.ts","../foundation/ui/components/base/PasswordInput/PasswordInput.tsx","../foundation/ui/components/base/Pressable/Pressable.meta.yaml","../foundation/ui/components/base/Pressable/Pressable.logic.ts","../foundation/ui/components/base/Pressable/Pressable.style.ts","../foundation/ui/components/base/Pressable/Pressable.tsx","../foundation/ui/components/base/ProgressBar/ProgressBar.meta.yaml","../foundation/ui/components/base/ProgressBar/ProgressBar.logic.ts","../foundation/ui/components/base/ProgressBar/ProgressBar.style.ts","../foundation/ui/components/base/ProgressBar/ProgressBar.tsx","../foundation/ui/components/base/RadioGroup/RadioGroup.meta.yaml","../foundation/ui/components/base/RadioGroup/RadioGroup.logic.ts","../foundation/ui/components/base/RadioGroup/RadioGroup.style.ts","../foundation/ui/components/base/RadioGroup/RadioGroup.tsx","../foundation/ui/components/base/SearchInput/SearchInput.meta.yaml","../foundation/ui/components/base/SearchInput/SearchInput.logic.ts","../foundation/ui/components/base/SearchInput/SearchInput.style.ts","../foundation/ui/components/base/SearchInput/SearchInput.tsx","../foundation/ui/components/base/Select/Select.meta.yaml","../foundation/ui/components/base/Select/Select.logic.ts","../foundation/ui/components/base/Select/Select.style.ts","../foundation/ui/components/base/Select/Select.tsx","../foundation/ui/components/base/Separator/Separator.meta.yaml","../foundation/ui/components/base/Separator/Separator.logic.ts","../foundation/ui/components/base/Separator/Separator.style.ts","../foundation/ui/components/base/Separator/Separator.tsx","../foundation/ui/components/base/Slider/Slider.meta.yaml","../foundation/ui/components/base/Slider/Slider.logic.ts","../foundation/ui/components/base/Slider/Slider.style.ts","../foundation/ui/components/base/Slider/Slider.tsx","../foundation/ui/components/base/Spinner/Spinner.meta.yaml","../foundation/ui/components/base/Spinner/Spinner.logic.ts","../foundation/ui/components/base/Spinner/Spinner.style.ts","../foundation/ui/components/base/Spinner/Spinner.tsx","../foundation/ui/components/base/Switch/Switch.meta.yaml","../foundation/ui/components/base/Switch/Switch.logic.ts","../foundation/ui/components/base/Switch/Switch.style.ts","../foundation/ui/components/base/Switch/Switch.tsx","../foundation/ui/components/base/Tabs/Tabs.meta.yaml","../foundation/ui/components/base/Tabs/Tabs.logic.ts","../foundation/ui/components/base/Tabs/Tabs.style.ts","../foundation/ui/components/base/Tabs/Tabs.tsx","../foundation/ui/components/base/Text/Text.meta.yaml","../foundation/ui/components/base/Text/Text.logic.ts","../foundation/ui/components/base/Text/Text.style.ts","../foundation/ui/components/base/Text/Text.tsx","../foundation/ui/components/base/TextArea/TextArea.meta.yaml","../foundation/ui/components/base/TextArea/TextArea.logic.ts","../foundation/ui/components/base/TextArea/TextArea.style.ts","../foundation/ui/components/base/TextArea/TextArea.tsx","../foundation/ui/components/base/TextInput/TextInput.meta.yaml","../foundation/ui/components/base/TextInput/TextInput.logic.ts","../foundation/ui/components/base/TextInput/TextInput.style.ts","../foundation/ui/components/base/TextInput/TextInput.tsx","../foundation/ui/components/base/Video/Video.meta.yaml","../foundation/ui/components/base/Video/Video.logic.ts","../foundation/ui/components/base/Video/Video.style.ts","../foundation/ui/components/base/Video/Video.tsx","../foundation/ui/components/base/WebView/WebView.meta.yaml","../foundation/ui/components/base/WebView/WebView.logic.ts","../foundation/ui/components/base/WebView/WebView.style.ts","../foundation/ui/components/base/WebView/WebView.tsx","../foundation/ui/components/base/WheelPicker/WheelPicker.meta.yaml","../foundation/ui/components/base/WheelPicker/WheelPicker.logic.ts","../foundation/ui/components/base/WheelPicker/WheelPicker.style.ts","../foundation/ui/components/base/WheelPicker/WheelPicker.tsx","../foundation/ui/components/Placeholder.tsx","../foundation/ui/components/layouts/AuthLayout/AuthLayout.meta.yaml","../foundation/ui/components/layouts/AuthLayout/AuthLayout.logic.ts","../foundation/ui/components/layouts/AuthLayout/AuthLayout.style.ts","../foundation/ui/components/layouts/AuthLayout/AuthLayout.tsx","../foundation/ui/components/layouts/BentoLayout/BentoLayout.meta.yaml","../foundation/ui/components/layouts/BentoLayout/BentoLayout.logic.ts","../foundation/ui/components/layouts/BentoLayout/BentoLayout.style.ts","../foundation/ui/components/layouts/BentoLayout/BentoLayout.tsx","../foundation/ui/components/layouts/BottomDrawerLayout/BottomDrawerLayout.meta.yaml","../foundation/ui/components/layouts/BottomDrawerLayout/BottomDrawerLayout.logic.ts","../foundation/ui/components/layouts/BottomDrawerLayout/BottomDrawerLayout.style.ts","../foundation/ui/components/layouts/BottomDrawerLayout/BottomDrawerLayout.tsx","../foundation/ui/components/layouts/CenteredLayout/CenteredLayout.meta.yaml","../foundation/ui/components/layouts/CenteredLayout/CenteredLayout.logic.ts","../foundation/ui/components/layouts/CenteredLayout/CenteredLayout.style.ts","../foundation/ui/components/layouts/CenteredLayout/CenteredLayout.tsx","../foundation/ui/components/layouts/DashboardLayout/DashboardLayout.meta.yaml","../foundation/ui/components/layouts/DashboardLayout/DashboardLayout.logic.ts","../foundation/ui/components/layouts/DashboardLayout/DashboardLayout.style.ts","../foundation/ui/components/layouts/DashboardLayout/DashboardLayout.tsx","../foundation/ui/components/layouts/DeckLayout/DeckLayout.meta.yaml","../foundation/ui/components/layouts/DeckLayout/DeckLayout.logic.ts","../foundation/ui/components/layouts/DeckLayout/DeckLayout.style.ts","../foundation/ui/components/layouts/DeckLayout/DeckLayout.tsx","../foundation/ui/components/layouts/FlexLayout/FlexLayout.meta.yaml","../foundation/ui/components/layouts/FlexLayout/FlexLayout.logic.ts","../foundation/ui/components/layouts/FlexLayout/FlexLayout.style.ts","../foundation/ui/components/layouts/FlexLayout/FlexLayout.tsx","../foundation/ui/components/layouts/FlipLayout/FlipLayout.meta.yaml","../foundation/ui/components/layouts/FlipLayout/FlipLayout.logic.ts","../foundation/ui/components/layouts/FlipLayout/FlipLayout.style.ts","../foundation/ui/components/layouts/FlipLayout/FlipLayout.tsx","../foundation/ui/components/layouts/FooterLayout/FooterLayout.meta.yaml","../foundation/ui/components/layouts/FooterLayout/FooterLayout.logic.ts","../foundation/ui/components/layouts/FooterLayout/FooterLayout.style.ts","../foundation/ui/components/layouts/FooterLayout/FooterLayout.tsx","../foundation/ui/components/layouts/GridLayout/GridLayout.meta.yaml","../foundation/ui/components/layouts/GridLayout/GridLayout.logic.ts","../foundation/ui/components/layouts/GridLayout/GridLayout.style.ts","../foundation/ui/components/layouts/GridLayout/GridLayout.tsx","../foundation/ui/components/layouts/HeaderContentLayout/HeaderContentLayout.meta.yaml","../foundation/ui/components/layouts/HeaderContentLayout/HeaderContentLayout.logic.ts","../foundation/ui/components/layouts/HeaderContentLayout/HeaderContentLayout.style.ts","../foundation/ui/components/layouts/HeaderContentLayout/HeaderContentLayout.tsx","../foundation/ui/components/layouts/LeftDrawerLayout/LeftDrawerLayout.meta.yaml","../foundation/ui/components/layouts/LeftDrawerLayout/LeftDrawerLayout.logic.ts","../foundation/ui/components/layouts/LeftDrawerLayout/LeftDrawerLayout.style.ts","../foundation/ui/components/layouts/LeftDrawerLayout/LeftDrawerLayout.tsx","../foundation/ui/components/layouts/MasonryLayout/MasonryLayout.meta.yaml","../foundation/ui/components/layouts/MasonryLayout/MasonryLayout.logic.ts","../foundation/ui/components/layouts/MasonryLayout/MasonryLayout.style.ts","../foundation/ui/components/layouts/MasonryLayout/MasonryLayout.tsx","../foundation/ui/components/layouts/ParallaxLayout/ParallaxLayout.meta.yaml","../foundation/ui/components/layouts/ParallaxLayout/ParallaxLayout.logic.ts","../foundation/ui/components/layouts/ParallaxLayout/ParallaxLayout.style.ts","../foundation/ui/components/layouts/ParallaxLayout/ParallaxLayout.tsx","../foundation/ui/components/layouts/ResponsiveLayout/ResponsiveLayout.meta.yaml","../foundation/ui/components/layouts/ResponsiveLayout/ResponsiveLayout.logic.ts","../foundation/ui/components/layouts/ResponsiveLayout/ResponsiveLayout.style.ts","../foundation/ui/components/layouts/ResponsiveLayout/ResponsiveLayout.tsx","../foundation/ui/components/layouts/RootLayout/RootLayout.meta.yaml","../foundation/ui/components/layouts/RootLayout/RootLayout.logic.ts","../foundation/ui/components/layouts/RootLayout/RootLayout.style.ts","../foundation/ui/components/layouts/RootLayout/RootLayout.tsx","../foundation/ui/components/layouts/ScrollLayout/ScrollLayout.meta.yaml","../foundation/ui/components/layouts/ScrollLayout/ScrollLayout.logic.ts","../foundation/ui/components/layouts/ScrollLayout/ScrollLayout.style.ts","../foundation/ui/components/layouts/ScrollLayout/ScrollLayout.tsx","../foundation/ui/components/layouts/SidebarLayout/SidebarLayout.meta.yaml","../foundation/ui/components/layouts/SidebarLayout/SidebarLayout.logic.ts","../foundation/ui/components/layouts/SidebarLayout/SidebarLayout.style.ts","../foundation/ui/components/layouts/SidebarLayout/SidebarLayout.tsx","../foundation/ui/components/layouts/SketchLayout/SketchLayout.meta.yaml","../foundation/ui/components/layouts/SketchLayout/SketchLayout.logic.ts","../foundation/ui/components/layouts/SketchLayout/SketchLayout.style.ts","../foundation/ui/components/layouts/SketchLayout/SketchLayout.tsx","../foundation/ui/components/layouts/SortableGridLayout/SortableGridLayout.logic.ts","../foundation/ui/components/layouts/SortableGridLayout/SortableGridLayout.style.ts","../foundation/ui/components/layouts/SortableGridLayout/SortableGridLayout.tsx","../foundation/ui/components/layouts/SplitLayout/SplitLayout.meta.yaml","../foundation/ui/components/layouts/SplitLayout/SplitLayout.logic.ts","../foundation/ui/components/layouts/SplitLayout/SplitLayout.style.ts","../foundation/ui/components/layouts/SplitLayout/SplitLayout.tsx","../foundation/ui/components/layouts/Swipe2ScreenLayout/Swipe2ScreenLayout.meta.yaml","../foundation/ui/components/layouts/Swipe2ScreenLayout/Swipe2ScreenLayout.logic.ts","../foundation/ui/components/layouts/Swipe2ScreenLayout/Swipe2ScreenLayout.style.ts","../foundation/ui/components/layouts/Swipe2ScreenLayout/Swipe2ScreenLayout.tsx","../foundation/ui/components/layouts/SwiperLayout/SwiperLayout.meta.yaml","../foundation/ui/components/layouts/SwiperLayout/SwiperLayout.logic.ts","../foundation/ui/components/layouts/SwiperLayout/SwiperLayout.style.ts","../foundation/ui/components/layouts/SwiperLayout/SwiperLayout.tsx","../foundation/ui/components/layouts/SystemLayout/SystemLayout.meta.yaml","../foundation/ui/components/layouts/SystemLayout/SystemLayout.logic.ts","../foundation/ui/components/layouts/SystemLayout/SystemLayout.style.ts","../foundation/ui/components/layouts/SystemLayout/SystemLayout.tsx","../foundation/ui/components/layouts/TopDrawerLayout/TopDrawerLayout.meta.yaml","../foundation/ui/components/layouts/TopDrawerLayout/TopDrawerLayout.logic.ts","../foundation/ui/components/layouts/TopDrawerLayout/TopDrawerLayout.style.ts","../foundation/ui/components/layouts/TopDrawerLayout/TopDrawerLayout.tsx","../foundation/ui/components/layouts/TutoLayout/TutoLayout.meta.yaml","../foundation/ui/components/layouts/TutoLayout/TutoLayout.logic.ts","../foundation/ui/components/layouts/TutoLayout/TutoLayout.style.ts","../foundation/ui/components/layouts/TutoLayout/TutoContext.ts","../foundation/ui/components/layouts/TutoLayout/TutoAnimations.tsx","../foundation/ui/components/layouts/TutoLayout/TutoLayout.tsx","../foundation/ui/components/layouts/VoidLayout/VoidLayout.meta.yaml","../foundation/ui/components/layouts/VoidLayout/VoidLayout.logic.ts","../foundation/ui/components/layouts/VoidLayout/VoidLayout.style.ts","../foundation/ui/components/layouts/VoidLayout/VoidLayout.tsx","../foundation/ui/hooks/PlatformOverride.tsx","../foundation/ui/utils/responsive.ts","../foundation/ui/components/layouts/TutoLayout/TutoElement.tsx"],"names":["p","width","styles","React","useMemo","jsx","View","jsxs","useState","useEffect","Animated","useSharedValue","withTiming","useAnimatedStyle","withRepeat","withSequence","Easing","withDelay","Text","Pressable","FadeIn","FadeOut","useCallback","Image","BlurView","ExpoBlurView","StyleSheet","RNPlatform","import_react","Platform","ScrollView","RNFlatList","ActivityIndicator","LucideIcons","LucideIcons2","Feather","TextInput","ExpoImage","newValues","RNPressable","META_DEFAULTS","useRef","withSpring","RNText","RNTextInput","player","Fragment","interpolate","useAnimatedScrollHandler","Extrapolation","spacing","Gesture","GestureDetector","Dimensions","SafeAreaView","createContext","useContext"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,gBAAA,GAAA,EAA8P,KAAA,EAAQ,CAAC,EAAC,IAAA,EAAO,MAAA,EAAO,KAAA,EAAQ,QAAO,IAAA,EAAO,QAAA,EAAS,KAAA,EAAQ,QAAA,EAAQ,EAAE,EAAC,MAAO,IAAA,EAAK,KAAA,EAAQ,YAAA,EAAa,IAAA,EAAO,OAAA,EAAQ,KAAA,EAAQ,OAAA,EAAO,EAAE,EAAC,IAAA,EAAO,GAAA,EAAI,KAAA,EAAQ,SAAA,EAAU,IAAA,EAAO,WAAU,KAAA,EAAQ,QAAA,EAAQ,EAAE,EAAC,IAAA,EAAO,IAAA,EAAK,OAAQ,WAAA,EAAY,IAAA,EAAO,SAAA,EAAU,KAAA,EAAQ,QAAA,EAAQ,EAAE,EAAC,IAAA,EAAO,IAAA,EAAK,KAAA,EAAQ,WAAA,EAAY,IAAA,EAAO,SA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MAAM;AACX,MAAA,iBAAA,CAAkB,EAAE,CAAA;AAAA,IACtB,CAAA;AAAA,EACF,CAAA,EAAG,CAAC,EAAA,EAAI,iBAAiB,CAAC,CAAA;AAE1B,EAAA,uBACEE,GAAAA,CAACC,IAAAA,EAAA,EAAK,GAAA,EAAK,OAAA,EAAS,KAAA,EAAc,QAAA,EAAU,YAAA,EAAc,WAAA,EAAa,KAAA,EACpE,QAAA,EACH,CAAA;AAEJ,CAAA;AAEA,IAAO,mBAAA,GAAQ","file":"chunk-CKQBSIBR.mjs","sourcesContent":["{\"type\":\"primitive\",\"id\":\"Box\",\"label\":\"Box\",\"description\":\"Flexible container with spacing, background, and border support.\",\"category\":\"primitive\",\"tags\":[\"box\",\"container\",\"view\",\"div\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"px\",\"label\":\"Padding X\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"py\",\"label\":\"Padding Y\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"m\",\"label\":\"Margin\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"mx\",\"label\":\"Margin X\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"my\",\"label\":\"Margin Y\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"minHeight\",\"label\":\"Min Height\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\"},{\"name\":\"overflow\",\"label\":\"Overflow\",\"type\":\"enum\",\"group\":\"style\",\"options\":[\"visible\",\"hidden\",\"scroll\"]},{\"name\":\"justifyContent\",\"label\":\"Justify\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"flex-start\",\"flex-end\",\"center\",\"space-between\",\"space-around\",\"space-evenly\"]},{\"name\":\"alignItems\",\"label\":\"Align Items\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"stretch\",\"flex-start\",\"flex-end\",\"center\",\"baseline\"]},{\"name\":\"alignSelf\",\"label\":\"Align Self\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"auto\",\"flex-start\",\"center\",\"flex-end\",\"stretch\"]}]}","import React, { useMemo } from 'react';\nimport BoxMeta from './Box.meta.yaml';\n\n/**\n * Properties for the Box component.\n */\nexport interface BoxProps {\n /** The content to be rendered inside the Box. */\n children?: React.ReactNode;\n /** Defines how the Box grows or shrinks to fill available space within a flex container. */\n flex?: number;\n /** Background color of the Box. Can be a theme token or a literal color value. */\n bg?: string;\n /** Padding applied uniformly to all sides. */\n p?: number | string;\n /** Padding applied to the horizontal sides (left and right). */\n px?: number | string;\n /** Padding applied to the vertical sides (top and bottom). */\n py?: number | string;\n /** Margin applied uniformly to all sides. */\n m?: number | string;\n /** Margin applied to the horizontal sides (left and right). */\n mx?: number | string;\n /** Margin applied to the vertical sides (top and bottom). */\n my?: number | string;\n /** Fixed width of the Box. */\n width?: number | string;\n /** Fixed height of the Box. */\n height?: number | string;\n /** Maximum width the Box can grow to. */\n maxWidth?: number | string;\n /** Minimum height the Box must have. */\n minHeight?: number | string;\n /** Border radius for rounding the corners of the Box. */\n borderRadius?: number | string;\n /** Determines how to handle content that overflows the Box's bounds. */\n overflow?: 'visible' | 'hidden' | 'scroll';\n /** Flexbox property to align children along the main axis. */\n justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n /** Flexbox property to align children along the cross axis. */\n alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n /** Overrides the alignItems value for this specific Box within its parent flex container. */\n alignSelf?: 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch';\n /** Any other props (including accessibility and View props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useBoxLogic(props: BoxProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BoxMeta?.props) {\n BoxMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n \n // Explicitly extract known layout props for security and optimization\n const { \n children, flex, bg, p, px, py, m, mx, my, width, height, \n maxWidth, minHeight, borderRadius, overflow, \n justifyContent, alignItems, alignSelf, ...rest \n } = merged;\n\n const layoutProps = {\n flex, bg, p, px, py, m, mx, my, width, height, \n maxWidth, minHeight, borderRadius, overflow, \n justifyContent, alignItems, alignSelf\n };\n\n return { children, layoutProps, rest };\n}\n","import { useTheme } from \"../../../../../theme/providers/ThemeProvider\";\n\nexport function useBoxStyle(logic: any) {\n const { theme } = useTheme();\n const { layoutProps } = logic;\n\n // Optimised style generation based on layout props\n const style: Record<string, any> = {};\n\n // Flex property sets the flex grow/shrink behavior. \n // It dictates how this box behaves inside a flex parent.\n if (layoutProps.flex !== undefined) style.flex = layoutProps.flex;\n \n // Safe color mapping\n if (layoutProps.bg) {\n style.backgroundColor = (theme as any)?.[layoutProps.bg] || layoutProps.bg;\n }\n\n // Spacing mapping (simplified, assuming values are passed directly to RN which handles numbers as dp)\n if (layoutProps.p !== undefined) style.padding = layoutProps.p;\n if (layoutProps.px !== undefined) style.paddingHorizontal = layoutProps.px;\n if (layoutProps.py !== undefined) style.paddingVertical = layoutProps.py;\n \n if (layoutProps.m !== undefined) style.margin = layoutProps.m;\n if (layoutProps.mx !== undefined) style.marginHorizontal = layoutProps.mx;\n if (layoutProps.my !== undefined) style.marginVertical = layoutProps.my;\n\n // Dimensions\n if (layoutProps.width !== undefined) style.width = layoutProps.width;\n if (layoutProps.height !== undefined) style.height = layoutProps.height;\n if (layoutProps.maxWidth !== undefined) style.maxWidth = layoutProps.maxWidth;\n if (layoutProps.minHeight !== undefined) style.minHeight = layoutProps.minHeight;\n\n // Borders & Overflow\n // Uses theme tokens for radius if available, fallback to raw values\n if (layoutProps.borderRadius !== undefined) {\n style.borderRadius = (theme as any)?.radius?.[layoutProps.borderRadius] || layoutProps.borderRadius;\n }\n // Controls clipping of content, useful for rounded corners or absolute positioned children\n if (layoutProps.overflow !== undefined) style.overflow = layoutProps.overflow;\n\n // Alignment\n // Structural choices for child layout when Box acts as a flex container\n if (layoutProps.justifyContent !== undefined) style.justifyContent = layoutProps.justifyContent;\n if (layoutProps.alignItems !== undefined) style.alignItems = layoutProps.alignItems;\n if (layoutProps.alignSelf !== undefined) style.alignSelf = layoutProps.alignSelf;\n\n return { container: style };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useBoxLogic, BoxProps } from './Box.logic';\nimport { useBoxStyle } from './Box.style';\n\n/**\n * `Box` is the most fundamental layout primitive in the foundational component system.\n * It serves as a generic container (wrapper) for grouping other components and \n * abstracting away basic styling needs directly via props (like margin, padding, flex).\n * \n * **Role:**\n * Acts as the base building block for constructing complex UI layouts.\n * \n * **Use cases:**\n * - Creating a container with specific spacing (padding/margin).\n * - Applying basic background colors.\n * - Flexbox layouts where a more specific primitive (like `Stack` or `Inline`) is not required.\n * \n * **Structure:**\n * A thin wrapper around React Native's `View` component. \n * Styles are dynamically computed based on the passed layout props for performance.\n * \n * **Accessibility:**\n * `Box` passes all standard React Native `View` accessibility props directly to its root element.\n * If used as an interactive element, ensure appropriate `accessibilityRole` and `accessible` props are provided.\n */\nconst Box: React.FC<BoxProps> = (rawProps) => {\n const logic = useBoxLogic(rawProps);\n const styles = useBoxStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </View>\n );\n};\n\nexport default React.memo(Box);\n","{\"type\":\"primitive\",\"id\":\"Center\",\"label\":\"Center\",\"description\":\"Centers content both horizontally and vertically.\",\"category\":\"primitive\",\"tags\":[\"center\",\"align\",\"middle\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"py\",\"label\":\"Padding Y\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\"}]}","import React, { useMemo } from 'react';\nimport CenterMeta from './Center.meta.yaml';\n\n/**\n * Properties for the Center component.\n */\nexport interface CenterProps {\n /** The content to be centered horizontally and vertically. */\n children?: React.ReactNode;\n /** Any other props (including style and accessibility props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useCenterLogic(props: CenterProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CenterMeta?.props) {\n CenterMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","export function useCenterStyle(logic: any) {\n return {\n container: {\n // Structural choice: use flexbox to center items.\n // justifyContent centers items along the main axis (vertical by default in React Native)\n justifyContent: 'center',\n // alignItems centers items along the cross axis (horizontal by default)\n alignItems: 'center',\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useCenterLogic, CenterProps } from './Center.logic';\nimport { useCenterStyle } from './Center.style';\n\n/**\n * `Center` is a layout primitive used to automatically center its children\n * along both the horizontal and vertical axes.\n * \n * **Role:**\n * Simplifies the frequent task of perfectly centering content within a view.\n * \n * **Use cases:**\n * - Displaying a loading spinner in the middle of the screen.\n * - Centering an icon or text inside a button or badge.\n * - Creating placeholder screens (like 'No Data').\n * \n * **Structure:**\n * Wraps children in a React Native `View` with predefined flexbox alignment\n * rules (`justifyContent: 'center'` and `alignItems: 'center'`).\n * \n * **Accessibility:**\n * Inherits standard View accessibility behaviors. Does not impart any specialized\n * semantic meaning beyond layout.\n */\nconst Center: React.FC<CenterProps> = (rawProps) => {\n const logic = useCenterLogic(rawProps);\n const styles = useCenterStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </View>\n );\n};\n\nexport default React.memo(Center);\n","{\"type\":\"primitive\",\"id\":\"Inline\",\"label\":\"Inline\",\"description\":\"Horizontal row with spacing and alignment.\",\"category\":\"primitive\",\"tags\":[\"inline\",\"horizontal\",\"row\",\"hstack\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":2},{\"name\":\"align\",\"label\":\"Align\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"stretch\",\"flex-start\",\"center\",\"flex-end\",\"baseline\"]},{\"name\":\"justify\",\"label\":\"Justify\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\"]},{\"name\":\"wrap\",\"label\":\"Wrap\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"fillWidth\",\"label\":\"Fill Width\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false}]}","import React, { useMemo } from 'react';\nimport InlineMeta from './Inline.meta.yaml';\n\n/**\n * Properties for the Inline component.\n */\nexport interface InlineProps {\n /** The spacing between children items. Uses React Native gap. Defaults to 8. */\n gap?: number;\n /** The items to be laid out horizontally with wrapping. */\n children?: React.ReactNode;\n /** Any other props (including style and accessibility props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useInlineLogic(props: InlineProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (InlineMeta?.props) {\n InlineMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { gap = 8, children, ...rest } = merged;\n\n return { gap, children, rest };\n}\n","export function useInlineStyle(logic: any) {\n return {\n container: {\n // Structural choice: Layout items in a row along the horizontal axis\n flexDirection: 'row',\n // Structural choice: Allow items to naturally wrap to the next line if there's not enough horizontal space\n flexWrap: 'wrap',\n // Structural choice: Use native flexbox gap for uniform spacing between all items (horizontally and vertically)\n gap: logic.gap, // React Native >= 0.71 supports gap!\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useInlineLogic, InlineProps } from './Inline.logic';\nimport { useInlineStyle } from './Inline.style';\n\n/**\n * `Inline` is a layout primitive that arranges its children in a horizontal row,\n * wrapping them to the next line if they exceed the container's width.\n * \n * **Role:**\n * Handles horizontal flowing layouts where items should comfortably wrap,\n * much like words in a paragraph, with a consistent gap between them.\n * \n * **Use cases:**\n * - Displaying a list of tags or chips.\n * - Grouping multiple small inline actions (like icons or small buttons).\n * - Formatting metadata pills that might wrap on smaller screens.\n * \n * **Structure:**\n * Implements a flexbox row layout with `flexWrap: 'wrap'` and a configurable `gap`.\n * \n * **Accessibility:**\n * Acts as a presentational grouping container. Consider adding `accessible={true}` \n * and `accessibilityLabel` if the group itself represents a single interactive or \n * semantic block of information.\n */\nconst Inline: React.FC<InlineProps> = (rawProps) => {\n const logic = useInlineLogic(rawProps);\n const styles = useInlineStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </View>\n );\n};\n\nexport default React.memo(Inline);\n","{\"type\":\"primitive\",\"id\":\"Scroll\",\"label\":\"Scroll\",\"description\":\"Scrollable container.\",\"category\":\"primitive\",\"tags\":[\"scroll\",\"scrollview\",\"overflow\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"horizontal\",\"label\":\"Horizontal\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"showsScrollIndicator\",\"label\":\"Show Indicator\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"scrollEnabled\",\"label\":\"Scroll Enabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"}]}","import React, { useMemo } from 'react';\nimport ScrollMeta from './Scroll.meta.yaml';\n\n/**\n * Properties for the Scroll component.\n */\nexport interface ScrollProps {\n /** If true, the scroll view's children are arranged horizontally in a row. */\n horizontal?: boolean;\n /** The content to be rendered inside the scrollable view. */\n children?: React.ReactNode;\n /** Any other props (including style and ScrollView props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useScrollLogic(props: ScrollProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ScrollMeta?.props) {\n ScrollMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { horizontal, children, ...rest } = merged;\n\n return { horizontal, children, rest };\n}\n","export function useScrollStyle(logic: any) {\n return {\n container: {\n // Structural choice: flex: 1 allows the ScrollView to expand and fill\n // available space in its parent, ensuring it can become scrollable if content overflows.\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { ScrollView } from 'react-native';\nimport { useScrollLogic, ScrollProps } from './Scroll.logic';\nimport { useScrollStyle } from './Scroll.style';\n\n/**\n * `Scroll` is a layout primitive that enables scrolling for content that exceeds \n * the visible bounds of its container.\n * \n * **Role:**\n * Provides a scrollable viewport for displaying large amounts of content or lists\n * without specialized virtualization (use FlatList for large lists instead).\n * \n * **Use cases:**\n * - Wrapping screens or forms that may overflow on smaller devices.\n * - Horizontal carousels of items.\n * - Adding scrollability to modal dialog bodies.\n * \n * **Structure:**\n * A thin wrapper around React Native's `ScrollView`. Configured to hide scroll\n * indicators by default for a cleaner aesthetic.\n * \n * **Accessibility:**\n * Inherits standard ScrollView accessibility. Ensure content within the Scroll\n * remains accessible and reachable via screen readers.\n */\nconst Scroll: React.FC<ScrollProps> = (rawProps) => {\n const logic = useScrollLogic(rawProps);\n const styles = useScrollStyle(logic);\n\n return (\n <ScrollView \n style={[styles.container as any, logic.rest.style]} \n horizontal={logic.horizontal}\n showsHorizontalScrollIndicator={false}\n showsVerticalScrollIndicator={false}\n {...logic.rest}\n >\n {logic.children}\n </ScrollView>\n );\n};\n\nexport default React.memo(Scroll);\n","{\"type\":\"primitive\",\"id\":\"Stack\",\"label\":\"Stack\",\"description\":\"Vertical stack with consistent spacing between children.\",\"category\":\"primitive\",\"tags\":[\"stack\",\"vertical\",\"column\",\"vstack\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":2},{\"name\":\"align\",\"label\":\"Align\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"stretch\",\"flex-start\",\"center\",\"flex-end\"]},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"}]}","import React, { useMemo } from 'react';\nimport StackMeta from './Stack.meta.yaml';\n\n/**\n * Properties for the Stack component.\n */\nexport interface StackProps {\n /** The axis along which to stack the children. Defaults to 'column'. */\n direction?: 'row' | 'column';\n /** The size of the gap between children. Defaults to 16. */\n gap?: number;\n /** The items to be stacked. */\n children?: React.ReactNode;\n /** Any other props (including style and View props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useStackLogic(props: StackProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (StackMeta?.props) {\n StackMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { direction = 'column', gap = 16, children, ...rest } = merged;\n\n return { direction, gap, children, rest };\n}\n","export function useStackStyle(logic: any) {\n return {\n container: {\n // Structural choice: Defines the main axis for stacking items (either row or column)\n flexDirection: logic.direction,\n // Structural choice: Uses native flexbox gap for consistent spacing without needing child margins\n gap: logic.gap, // Requires RN 0.71+\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useStackLogic, StackProps } from './Stack.logic';\nimport { useStackStyle } from './Stack.style';\n\n/**\n * `Stack` is a layout primitive used to stack elements along a single axis (vertical or horizontal)\n * with a consistent gap between them.\n * \n * **Role:**\n * Simplifies the creation of linear layouts (lists, rows of buttons, form fields)\n * by managing the spacing between children automatically.\n * \n * **Use cases:**\n * - Stacking form inputs vertically with consistent margin.\n * - Placing a row of action buttons side-by-side (direction='row').\n * - Structuring the main content areas of a screen.\n * \n * **Structure:**\n * Utilizes flexbox `flexDirection` to stack items, and the native `gap` property\n * for spacing, eliminating the need for margin hacks on children.\n * \n * **Accessibility:**\n * Provides structural grouping. Like `View`, it doesn't impart semantic meaning\n * on its own.\n */\nconst Stack: React.FC<StackProps> = (rawProps) => {\n const logic = useStackLogic(rawProps);\n const styles = useStackStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </View>\n );\n};\n\nexport default React.memo(Stack);\n","{\"name\":\"BadgeWrapper\",\"description\":\"Wraps an element and places a customizable notification badge in the top right corner.\",\"props\":[{\"name\":\"count\",\"type\":\"number\",\"description\":\"Number to display in badge. If 0, no badge is shown unless showZero is true.\",\"default\":0},{\"name\":\"showZero\",\"type\":\"boolean\",\"description\":\"Show badge even if count is 0\",\"default\":false},{\"name\":\"color\",\"type\":\"string\",\"description\":\"Badge background color\",\"default\":null}]}","import { useMemo, useEffect, useState } from 'react';\nimport BadgeWrapperMeta from './BadgeWrapper.meta.yaml';\n\nexport interface BadgeWrapperProps {\n /** Number to display in badge. If 0, no badge is shown unless showZero is true. */\n count?: number;\n /** Show badge even if count is 0 */\n showZero?: boolean;\n /** Badge background color */\n color?: string;\n [key: string]: any;\n}\n\nexport function useBadgeWrapperLogic(props: BadgeWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BadgeWrapperMeta?.props) {\n BadgeWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { count, showZero, color, ...rest } = merged;\n\n const isVisible = (merged.count ?? 0) > 0 || merged.showZero;\n return { isVisible, count: merged.count, color: merged.color, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useBadgeWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View, Text } from 'react-native';\nimport { useBadgeWrapperLogic, BadgeWrapperProps } from './BadgeWrapper.logic';\nimport { useBadgeWrapperStyle } from './BadgeWrapper.style';\n\n/**\n * @component BadgeWrapper\n * @description Wraps an element and places a customizable notification badge in the top right corner.\n */\nconst BadgeWrapper: React.FC<BadgeWrapperProps> = (rawProps) => {\n const logic = useBadgeWrapperLogic(rawProps);\n const styles = useBadgeWrapperStyle(logic);\n\n return (\n <View style={[{ position: 'relative' } as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n {logic.isVisible && (\n <View style={{\n position: 'absolute', top: -5, right: -5, backgroundColor: logic.color, \n borderRadius: 10, minWidth: 20, height: 20, justifyContent: 'center', alignItems: 'center', paddingHorizontal: 4\n } as any}>\n {logic.count !== undefined && logic.count > 0 && <Text style={{ color: '#FFF', fontSize: 12, fontWeight: 'bold' } as any}>{logic.count > 99 ? '99+' : logic.count}</Text>}\n </View>\n )}\n </View>\n );\n\n};\n\nexport default BadgeWrapper;\n","{\"name\":\"BlurWrapper\",\"description\":\"Wraps children in a frosted glass/blur container.\",\"props\":[{\"name\":\"intensity\",\"type\":\"number\",\"description\":\"Blur intensity (1-100)\",\"default\":50},{\"name\":\"tint\",\"type\":\"string\",\"description\":\"Tint color (light, dark, default)\",\"default\":\"default\"}]}","import { useMemo, useEffect, useState } from 'react';\nimport BlurWrapperMeta from './BlurWrapper.meta.yaml';\n\nexport interface BlurWrapperProps {\n /** Blur intensity (1-100) */\n intensity?: number;\n /** Tint color (light, dark, default) */\n tint?: string;\n [key: string]: any;\n}\n\nexport function useBlurWrapperLogic(props: BlurWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BlurWrapperMeta?.props) {\n BlurWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { intensity, tint, ...rest } = merged;\n\n return { intensity: merged.intensity, tint: merged.tint, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useBlurWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { BlurView } from 'expo-blur';\nimport { useBlurWrapperLogic, BlurWrapperProps } from './BlurWrapper.logic';\nimport { useBlurWrapperStyle } from './BlurWrapper.style';\n\n/**\n * @component BlurWrapper\n * @description Wraps children in a frosted glass/blur container.\n */\nconst BlurWrapper: React.FC<BlurWrapperProps> = (rawProps) => {\n const logic = useBlurWrapperLogic(rawProps);\n const styles = useBlurWrapperStyle(logic);\n\n return (\n <View style={[{ overflow: 'hidden' } as any, logic.rest.style]} {...logic.rest}>\n <BlurView intensity={logic.intensity} tint={logic.tint as any} style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0 } as any} />\n {logic.children}\n </View>\n );\n\n};\n\nexport default BlurWrapper;\n","{\"name\":\"CollapsibleWrapper\",\"description\":\"A container that smoothly expands or collapses its children height.\",\"props\":[{\"name\":\"isExpanded\",\"type\":\"boolean\",\"description\":\"Whether the container is expanded\",\"default\":false}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withTiming } from 'react-native-reanimated';\nimport CollapsibleWrapperMeta from './CollapsibleWrapper.meta.yaml';\n\nexport interface CollapsibleWrapperProps {\n /** Whether the container is expanded */\n isExpanded?: boolean;\n [key: string]: any;\n}\n\nexport function useCollapsibleWrapperLogic(props: CollapsibleWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CollapsibleWrapperMeta?.props) {\n CollapsibleWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { isExpanded, ...rest } = merged;\n\n const [contentHeight, setContentHeight] = useState(0);\n const height = useSharedValue(0);\n \n useEffect(() => {\n height.value = withTiming(merged.isExpanded ? contentHeight : 0, { duration: 300 });\n }, [merged.isExpanded, contentHeight]);\n \n return { height, setContentHeight, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useCollapsibleWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withTiming } from 'react-native-reanimated';\nimport { useCollapsibleWrapperLogic, CollapsibleWrapperProps } from './CollapsibleWrapper.logic';\nimport { useCollapsibleWrapperStyle } from './CollapsibleWrapper.style';\n\n/**\n * @component CollapsibleWrapper\n * @description A container that smoothly expands or collapses its children height.\n */\nconst CollapsibleWrapper: React.FC<CollapsibleWrapperProps> = (rawProps) => {\n const logic = useCollapsibleWrapperLogic(rawProps);\n const styles = useCollapsibleWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ height: logic.height.value }));\n return (\n <Animated.View style={[animatedStyle, { overflow: 'hidden' } as any, logic.rest.style]} {...logic.rest}>\n <View onLayout={(e) => logic.setContentHeight(e.nativeEvent.layout.height)} style={{ position: 'absolute', width: '100%' } as any}>\n {logic.children}\n </View>\n </Animated.View>\n );\n\n};\n\nexport default CollapsibleWrapper;\n","{\"name\":\"FadeInWrapper\",\"description\":\"Animates its children in with a smooth opacity fade on mount.\",\"props\":[{\"name\":\"duration\",\"type\":\"number\",\"description\":\"Animation duration in ms\",\"default\":500},{\"name\":\"delay\",\"type\":\"number\",\"description\":\"Animation delay in ms\",\"default\":0}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withDelay, withTiming } from 'react-native-reanimated';\nimport FadeInWrapperMeta from './FadeInWrapper.meta.yaml';\n\nexport interface FadeInWrapperProps {\n /** Animation duration in ms */\n duration?: number;\n /** Animation delay in ms */\n delay?: number;\n [key: string]: any;\n}\n\nexport function useFadeInWrapperLogic(props: FadeInWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FadeInWrapperMeta?.props) {\n FadeInWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { duration, delay, ...rest } = merged;\n\n const opacity = useSharedValue(0);\n useEffect(() => {\n opacity.value = withDelay(merged.delay || 0, withTiming(1, { duration: merged.duration || 300 }));\n }, []);\n return { opacity, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useFadeInWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport Animated, { useSharedValue, useAnimatedStyle, withTiming, withDelay } from 'react-native-reanimated';\nimport { useFadeInWrapperLogic, FadeInWrapperProps } from './FadeInWrapper.logic';\nimport { useFadeInWrapperStyle } from './FadeInWrapper.style';\n\n/**\n * @component FadeInWrapper\n * @description Animates its children in with a smooth opacity fade on mount.\n */\nconst FadeInWrapper: React.FC<FadeInWrapperProps> = (rawProps) => {\n const logic = useFadeInWrapperLogic(rawProps);\n const styles = useFadeInWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ opacity: logic.opacity.value }));\n return <Animated.View style={[animatedStyle, logic.rest.style]} {...logic.rest}>{logic.children}</Animated.View>;\n\n};\n\nexport default FadeInWrapper;\n","{\"name\":\"KeyboardAvoidWrapper\",\"description\":\"Automatically handles keyboard layout shifting for its wrapped children.\",\"props\":[{\"name\":\"offset\",\"type\":\"number\",\"description\":\"Extra offset above keyboard\",\"default\":20}]}","import { useMemo, useEffect, useState } from 'react';\nimport KeyboardAvoidWrapperMeta from './KeyboardAvoidWrapper.meta.yaml';\n\nexport interface KeyboardAvoidWrapperProps {\n /** Extra offset above keyboard */\n offset?: number;\n [key: string]: any;\n}\n\nexport function useKeyboardAvoidWrapperLogic(props: KeyboardAvoidWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (KeyboardAvoidWrapperMeta?.props) {\n KeyboardAvoidWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { offset, ...rest } = merged;\n\n return { offset: merged.offset, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useKeyboardAvoidWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { KeyboardAvoidingView, Platform } from 'react-native';\nimport { useKeyboardAvoidWrapperLogic, KeyboardAvoidWrapperProps } from './KeyboardAvoidWrapper.logic';\nimport { useKeyboardAvoidWrapperStyle } from './KeyboardAvoidWrapper.style';\n\n/**\n * @component KeyboardAvoidWrapper\n * @description Automatically handles keyboard layout shifting for its wrapped children.\n */\nconst KeyboardAvoidWrapper: React.FC<KeyboardAvoidWrapperProps> = (rawProps) => {\n const logic = useKeyboardAvoidWrapperLogic(rawProps);\n const styles = useKeyboardAvoidWrapperStyle(logic);\n\n return (\n <KeyboardAvoidingView \n behavior={Platform.OS === 'ios' ? 'padding' : 'height'} \n keyboardVerticalOffset={logic.offset}\n style={[{ flex: 1 } as any, logic.rest.style]} \n {...logic.rest}\n >\n {logic.children}\n </KeyboardAvoidingView>\n );\n\n};\n\nexport default KeyboardAvoidWrapper;\n","{\"name\":\"SafeAreaWrapper\",\"description\":\"A convenient wrapper that applies safe area boundaries to specific sections of children.\",\"props\":[{\"name\":\"edges\",\"type\":\"array\",\"description\":\"Edges to apply safe area (top, bottom, left, right)\",\"default\":[\"top\",\"bottom\"]}]}","import { useMemo, useEffect, useState } from 'react';\nimport SafeAreaWrapperMeta from './SafeAreaWrapper.meta.yaml';\n\nexport interface SafeAreaWrapperProps {\n /** Edges to apply safe area (top, bottom, left, right) */\n edges?: string[];\n [key: string]: any;\n}\n\nexport function useSafeAreaWrapperLogic(props: SafeAreaWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SafeAreaWrapperMeta?.props) {\n SafeAreaWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { edges, ...rest } = merged;\n\n return { edges: merged.edges, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useSafeAreaWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { SafeAreaView } from 'react-native-safe-area-context';\nimport { useSafeAreaWrapperLogic, SafeAreaWrapperProps } from './SafeAreaWrapper.logic';\nimport { useSafeAreaWrapperStyle } from './SafeAreaWrapper.style';\n\n/**\n * @component SafeAreaWrapper\n * @description A convenient wrapper that applies safe area boundaries to specific sections of children.\n */\nconst SafeAreaWrapper: React.FC<SafeAreaWrapperProps> = (rawProps) => {\n const logic = useSafeAreaWrapperLogic(rawProps);\n const styles = useSafeAreaWrapperStyle(logic);\n\n return (\n <SafeAreaView edges={logic.edges as any} style={[{ flex: 1 } as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </SafeAreaView>\n );\n\n};\n\nexport default SafeAreaWrapper;\n","{\"name\":\"ScalePressWrapper\",\"description\":\"Wraps any element and adds a bouncy shrink effect when pressed.\",\"props\":[{\"name\":\"scaleTo\",\"type\":\"number\",\"description\":\"Scale factor when pressed\",\"default\":0.95}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withSpring } from 'react-native-reanimated';\nimport ScalePressWrapperMeta from './ScalePressWrapper.meta.yaml';\n\nexport interface ScalePressWrapperProps {\n /** Scale factor when pressed */\n scaleTo?: number;\n [key: string]: any;\n}\n\nexport function useScalePressWrapperLogic(props: ScalePressWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ScalePressWrapperMeta?.props) {\n ScalePressWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { scaleTo, ...rest } = merged;\n\n const scale = useSharedValue(1);\n const onPressIn = () => { scale.value = withSpring(merged.scaleTo ?? 0.95) as any; };\n const onPressOut = () => { scale.value = withSpring(1) as any; };\n return { scale, onPressIn, onPressOut, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useScalePressWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { Pressable } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withSpring } from 'react-native-reanimated';\nimport { useScalePressWrapperLogic, ScalePressWrapperProps } from './ScalePressWrapper.logic';\nimport { useScalePressWrapperStyle } from './ScalePressWrapper.style';\n\n/**\n * @component ScalePressWrapper\n * @description Wraps any element and adds a bouncy shrink effect when pressed.\n */\nconst ScalePressWrapper: React.FC<ScalePressWrapperProps> = (rawProps) => {\n const logic = useScalePressWrapperLogic(rawProps);\n const styles = useScalePressWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ transform: [{ scale: logic.scale.value }] }));\n return (\n <Pressable onPressIn={logic.onPressIn} onPressOut={logic.onPressOut} style={logic.rest.style} {...logic.rest}>\n <Animated.View style={animatedStyle}>{logic.children}</Animated.View>\n </Pressable>\n );\n\n};\n\nexport default ScalePressWrapper;\n","{\"name\":\"ShimmerWrapper\",\"description\":\"Adds a shiny animated loading shimmer effect over its children.\",\"props\":[{\"name\":\"isLoading\",\"type\":\"boolean\",\"description\":\"Whether to show the shimmer\",\"default\":true}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withRepeat, withSequence, withTiming, Easing } from 'react-native-reanimated';\nimport ShimmerWrapperMeta from './ShimmerWrapper.meta.yaml';\n\nexport interface ShimmerWrapperProps {\n /** Whether to show the shimmer */\n isLoading?: boolean;\n [key: string]: any;\n}\n\nexport function useShimmerWrapperLogic(props: ShimmerWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ShimmerWrapperMeta?.props) {\n ShimmerWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { isLoading, ...rest } = merged;\n\n const opacity = useSharedValue(0.5);\n useEffect(() => {\n if (merged.isLoading) {\n opacity.value = withRepeat(\n withSequence(\n withTiming(1, { duration: 1000, easing: Easing.inOut(Easing.ease) }),\n withTiming(0.5, { duration: 1000, easing: Easing.inOut(Easing.ease) })\n ),\n -1, true\n );\n } else {\n opacity.value = withTiming(1);\n }\n }, [merged.isLoading]);\n return { opacity, isLoading: merged.isLoading, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useShimmerWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withRepeat, withTiming, withSequence, Easing } from 'react-native-reanimated';\nimport { useShimmerWrapperLogic, ShimmerWrapperProps } from './ShimmerWrapper.logic';\nimport { useShimmerWrapperStyle } from './ShimmerWrapper.style';\n\n/**\n * @component ShimmerWrapper\n * @description Adds a shiny animated loading shimmer effect over its children.\n */\nconst ShimmerWrapper: React.FC<ShimmerWrapperProps> = (rawProps) => {\n const logic = useShimmerWrapperLogic(rawProps);\n const styles = useShimmerWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ opacity: logic.opacity.value }));\n return (\n <Animated.View style={[animatedStyle, logic.rest.style]} {...logic.rest}>\n {logic.children}\n {logic.isLoading && <View style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, backgroundColor: 'rgba(255,255,255,0.2)' } as any} />}\n </Animated.View>\n );\n\n};\n\nexport default ShimmerWrapper;\n","import { useState } from 'react';\nimport { LayoutChangeEvent } from 'react-native';\n\n/**\n * Props for the SkeletonWrapper component.\n */\nexport interface SkeletonWrapperProps {\n /** Whether the component is currently loading. If true, shows skeleton. */\n isLoading: boolean;\n /** Children elements to measure and optionally render */\n children: React.ReactNode;\n /** Any other props for the container */\n [key: string]: any;\n}\n\nexport function useSkeletonWrapperLogic(rawProps: SkeletonWrapperProps) {\n const { isLoading, children, ...rest } = rawProps;\n \n // Track layout dimensions to size the skeleton properly\n const [dimensions, setDimensions] = useState({ width: 0, height: 0 });\n const [hasMeasured, setHasMeasured] = useState(false);\n\n const onLayout = (e: LayoutChangeEvent) => {\n // Capture layout for the overlay sizing\n const { width, height } = e.nativeEvent.layout;\n if (width > 0 && height > 0) {\n setDimensions({ width, height });\n setHasMeasured(true);\n }\n };\n\n return {\n isLoading,\n children,\n dimensions,\n hasMeasured,\n onLayout,\n rest\n };\n}\n","export function useSkeletonWrapperStyle(logic: any) {\n return {\n container: {\n position: 'relative',\n alignSelf: 'flex-start', // Fit to children width if possible\n },\n skeletonOverlay: {\n position: 'absolute',\n top: 0,\n left: 0,\n width: logic.dimensions.width,\n height: logic.dimensions.height,\n backgroundColor: '#E1E9EE',\n borderRadius: 8,\n overflow: 'hidden',\n },\n childrenHidden: {\n opacity: 0,\n },\n childrenVisible: {\n opacity: 1,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View } from 'react-native';\nimport Animated, { \n useSharedValue, \n useAnimatedStyle, \n withRepeat, \n withTiming, \n withSequence,\n Easing\n} from 'react-native-reanimated';\nimport { useSkeletonWrapperLogic, SkeletonWrapperProps } from './SkeletonWrapper.logic';\nimport { useSkeletonWrapperStyle } from './SkeletonWrapper.style';\n\n/**\n * @component SkeletonWrapper\n * @description\n * A smart wrapper that renders an animated \"shimmer\" skeleton overlay that matches \n * the exact dimensions of its children when `isLoading` is true.\n * \n * @useCases\n * - Wrapping cards, images, or blocks of text while waiting for data.\n * \n * @structure\n * Renders the children invisibly (opacity: 0) to capture their `onLayout` dimensions.\n * Once measured, an absolute positioned `Animated.View` overlays a shimmering effect.\n * \n * @role wrapper\n */\nconst SkeletonWrapper: React.FC<SkeletonWrapperProps> = (rawProps) => {\n const logic = useSkeletonWrapperLogic(rawProps);\n const styles = useSkeletonWrapperStyle(logic);\n\n const opacity = useSharedValue(0.5);\n\n useEffect(() => {\n if (logic.isLoading) {\n opacity.value = withRepeat(\n withSequence(\n withTiming(1, { duration: 800, easing: Easing.inOut(Easing.ease) }),\n withTiming(0.5, { duration: 800, easing: Easing.inOut(Easing.ease) })\n ),\n -1, // infinite\n true // reverse\n );\n }\n }, [logic.isLoading, opacity]);\n\n const animatedStyle = useAnimatedStyle(() => {\n return {\n opacity: opacity.value,\n };\n });\n\n return (\n <View style={[styles.container as any, logic.rest.style]} onLayout={logic.onLayout} {...logic.rest}>\n <View style={logic.isLoading ? styles.childrenHidden : styles.childrenVisible}>\n {logic.children}\n </View>\n \n {logic.isLoading && logic.hasMeasured && (\n <Animated.View style={[styles.skeletonOverlay as any, animatedStyle]} />\n )}\n </View>\n );\n};\n\nexport default React.memo(SkeletonWrapper);\n","{\"name\":\"SlideUpWrapper\",\"description\":\"Animates its children sliding up from below on mount.\",\"props\":[{\"name\":\"duration\",\"type\":\"number\",\"description\":\"Animation duration in ms\",\"default\":500},{\"name\":\"delay\",\"type\":\"number\",\"description\":\"Animation delay in ms\",\"default\":0},{\"name\":\"distance\",\"type\":\"number\",\"description\":\"Distance to slide from in pixels\",\"default\":50}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withDelay, withTiming, Easing } from 'react-native-reanimated';\nimport SlideUpWrapperMeta from './SlideUpWrapper.meta.yaml';\n\nexport interface SlideUpWrapperProps {\n /** Animation duration in ms */\n duration?: number;\n /** Animation delay in ms */\n delay?: number;\n /** Distance to slide from in pixels */\n distance?: number;\n [key: string]: any;\n}\n\nexport function useSlideUpWrapperLogic(props: SlideUpWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SlideUpWrapperMeta?.props) {\n SlideUpWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { duration, delay, distance, ...rest } = merged;\n\n const translateY = useSharedValue(merged.distance ?? 50);\n const opacity = useSharedValue(0);\n useEffect(() => {\n translateY.value = withDelay(merged.delay ?? 0, withTiming(0, { duration: merged.duration ?? 300, easing: Easing.out(Easing.back(1.5)) }));\n opacity.value = withDelay(merged.delay ?? 0, withTiming(1, { duration: merged.duration ?? 300 }));\n }, []);\n return { translateY, opacity, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useSlideUpWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport Animated, { useSharedValue, useAnimatedStyle, withTiming, withDelay, Easing } from 'react-native-reanimated';\nimport { useSlideUpWrapperLogic, SlideUpWrapperProps } from './SlideUpWrapper.logic';\nimport { useSlideUpWrapperStyle } from './SlideUpWrapper.style';\n\n/**\n * @component SlideUpWrapper\n * @description Animates its children sliding up from below on mount.\n */\nconst SlideUpWrapper: React.FC<SlideUpWrapperProps> = (rawProps) => {\n const logic = useSlideUpWrapperLogic(rawProps);\n const styles = useSlideUpWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ \n transform: [{ translateY: logic.translateY.value }],\n opacity: logic.opacity.value \n }));\n return <Animated.View style={[animatedStyle, logic.rest.style]} {...logic.rest}>{logic.children}</Animated.View>;\n\n};\n\nexport default SlideUpWrapper;\n","{\"name\":\"TooltipWrapper\",\"description\":\"Wraps a component and displays a tooltip bubble near it.\",\"props\":[{\"name\":\"text\",\"type\":\"string\",\"description\":\"Tooltip text\",\"default\":null},{\"name\":\"isVisible\",\"type\":\"boolean\",\"description\":\"Whether tooltip is visible\",\"default\":false}]}","import { useMemo, useEffect, useState } from 'react';\nimport TooltipWrapperMeta from './TooltipWrapper.meta.yaml';\n\nexport interface TooltipWrapperProps {\n /** Tooltip text */\n text?: string;\n /** Whether tooltip is visible */\n isVisible?: boolean;\n [key: string]: any;\n}\n\nexport function useTooltipWrapperLogic(props: TooltipWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TooltipWrapperMeta?.props) {\n TooltipWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { text, isVisible, ...rest } = merged;\n\n return { text: merged.text, isVisible: merged.isVisible, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useTooltipWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View, Text } from 'react-native';\nimport Animated, { FadeIn, FadeOut } from 'react-native-reanimated';\nimport { useTooltipWrapperLogic, TooltipWrapperProps } from './TooltipWrapper.logic';\nimport { useTooltipWrapperStyle } from './TooltipWrapper.style';\n\n/**\n * @component TooltipWrapper\n * @description Wraps a component and displays a tooltip bubble near it.\n */\nconst TooltipWrapper: React.FC<TooltipWrapperProps> = (rawProps) => {\n const logic = useTooltipWrapperLogic(rawProps);\n const styles = useTooltipWrapperStyle(logic);\n\n return (\n <View style={[{ position: 'relative' } as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n {logic.isVisible && (\n <Animated.View \n entering={FadeIn} exiting={FadeOut}\n style={{\n position: 'absolute', top: -35, alignSelf: 'center', backgroundColor: '#333', \n paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4, zIndex: 999\n } as any}\n >\n <Text style={{ color: '#FFF', fontSize: 12 } as any}>{logic.text}</Text>\n </Animated.View>\n )}\n </View>\n );\n\n};\n\nexport default TooltipWrapper;\n","{\"type\":\"component\",\"id\":\"Accordion\",\"label\":\"Accordion\",\"description\":\"Expandable/collapsible content section.\",\"category\":\"display\",\"tags\":[\"accordion\",\"collapse\",\"expand\",\"faq\"],\"themeMapping\":{\"bg\":\"card\",\"text\":\"foreground\",\"border\":\"border\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"title\",\"label\":\"Title\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Section\"},{\"name\":\"defaultOpen\",\"label\":\"Default open\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"lg\"},{\"name\":\"borderColor\",\"label\":\"Border color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"}]}","import React, { useState, useCallback, useMemo } from 'react';\nimport AccordionMeta from './Accordion.meta.yaml';\n\n/**\n * Properties for the Accordion component.\n */\nexport interface AccordionProps {\n /** The text displayed in the header of the accordion. */\n title?: string;\n /** Whether the accordion should be open by default on initial mount. */\n defaultOpen?: boolean;\n /** Background color of the accordion container. */\n background?: string;\n /** Border radius of the accordion container. Can be a theme token size (e.g. 'sm') or a number. */\n borderRadius?: string | number;\n /** Border color of the accordion container. */\n borderColor?: string;\n /** The content to be revealed when the accordion is expanded. */\n children?: React.ReactNode;\n /** Callback fired when the accordion's open state changes. */\n onToggle?: (isOpen: boolean) => void;\n /** Any other props to pass down to the container element. */\n [key: string]: any;\n}\n\nexport function useAccordionLogic(props: AccordionProps) {\n // Extract defaults safely from meta\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (AccordionMeta && Array.isArray(AccordionMeta.props)) {\n AccordionMeta.props.forEach((p: any) => {\n if (p.default !== undefined) {\n defaults[p.name] = p.default;\n }\n });\n }\n return defaults;\n }, []);\n\n const mergedProps = { ...metaDefaults, ...props };\n const { \n title, \n defaultOpen, \n background, \n borderRadius, \n borderColor, \n children,\n onToggle,\n ...rest \n } = mergedProps;\n\n const [isOpen, setIsOpen] = useState(!!defaultOpen);\n\n const handleToggle = useCallback(() => {\n setIsOpen((prev) => {\n const next = !prev;\n onToggle?.(next);\n return next;\n });\n }, [onToggle]);\n\n return {\n isOpen,\n handleToggle,\n title,\n background,\n borderRadius,\n borderColor,\n children,\n rest\n };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useAccordionStyle(logic: any) {\n const { theme } = useTheme();\n\n // Fallbacks in case theme isn't fully defined yet\n const colors = theme || {};\n const bgColor = logic.background || colors.card || '#ffffff';\n const borderColor = logic.borderColor || colors.border || '#e5e7eb';\n const textColor = colors.foreground || '#111827';\n\n // Basic token mapping\n const radiusMap: Record<string, number> = {\n sm: 4,\n md: 6,\n lg: 8,\n xl: 12\n };\n const parsedRadius = typeof logic.borderRadius === 'string'\n ? (radiusMap[logic.borderRadius] || 8)\n : (logic.borderRadius || 8);\n\n return {\n container: {\n backgroundColor: bgColor,\n borderColor: borderColor,\n borderWidth: 1,\n borderRadius: parsedRadius,\n // Structural choice: overflow hidden ensures content doesn't bleed out of the rounded corners\n overflow: 'hidden',\n marginBottom: 8,\n },\n header: {\n padding: 16,\n backgroundColor: 'transparent',\n },\n headerWeb: {\n // Structural choices for web: Using flex to align text and icon, removing default button styles\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: '16px',\n backgroundColor: 'transparent',\n cursor: 'pointer',\n userSelect: 'none',\n border: 'none',\n width: '100%',\n textAlign: 'left',\n },\n headerNative: {\n // Structural choices for native: flex-row ensures the title and icon are on the same line,\n // space-between pushes the icon to the far right.\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: 16,\n backgroundColor: 'transparent',\n },\n title: {\n fontSize: 16,\n fontWeight: '600',\n color: textColor,\n margin: 0,\n },\n icon: {\n color: textColor,\n },\n content: {\n // Structural choice: Padding top is 0 to avoid double padding with the header,\n // creating a seamless transition from header to content.\n padding: 16,\n paddingTop: 0,\n color: textColor,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useAccordionLogic, AccordionProps } from './Accordion.logic';\nimport { useAccordionStyle } from './Accordion.style';\nimport { ChevronDown } from 'lucide-react-native';\nimport Animated, { \n useSharedValue, \n useAnimatedStyle, \n withTiming, \n Easing,\n FadeIn,\n FadeOut,\n LinearTransition \n} from 'react-native-reanimated';\n\n/**\n * `Accordion` is a vertically collapsing content panel that can show or hide its children.\n * \n * **Role:**\n * Allows users to toggle the visibility of sections of content, useful for reducing visual\n * clutter in settings menus, FAQs, or detailed forms.\n * \n * **Use cases:**\n * - FAQ lists where answers are hidden until expanded.\n * - Collapsible navigation menus.\n * - Grouping optional advanced settings.\n * \n * **Structure:**\n * Uses `react-native-reanimated` for smooth layout transitions and icon rotation.\n * Consists of a pressable header and an optionally rendered body.\n * \n * **Accessibility:**\n * The header acts as a button (`accessibilityRole=\"button\"`) and explicitly communicates\n * its expanded state (`accessibilityState={{ expanded: logic.isOpen }}`). \n */\nconst Accordion: React.FC<AccordionProps> = (rawProps) => {\n const logic = useAccordionLogic(rawProps);\n const styles = useAccordionStyle(logic);\n \n const rotation = useSharedValue(logic.isOpen ? 180 : 0);\n\n useEffect(() => {\n rotation.value = withTiming(logic.isOpen ? 180 : 0, {\n duration: 250,\n easing: Easing.inOut(Easing.quad),\n });\n }, [logic.isOpen, rotation]);\n\n const animatedIconStyle = useAnimatedStyle(() => {\n return {\n transform: [{ rotate: `${rotation.value}deg` }],\n };\n });\n\n return (\n <Animated.View \n style={[styles.container as any, rawProps.style]} \n layout={LinearTransition.springify().damping(15).stiffness(150)}\n >\n <Pressable\n style={styles.headerNative as any}\n onPress={logic.handleToggle}\n accessibilityRole=\"button\"\n accessibilityState={{ expanded: logic.isOpen }}\n accessibilityLabel={logic.title}\n >\n <Text style={styles.title as any}>{logic.title}</Text>\n <Animated.View style={animatedIconStyle}>\n <ChevronDown size={20} color={styles.icon.color as string} />\n </Animated.View>\n </Pressable>\n \n {logic.isOpen && (\n <Animated.View \n entering={FadeIn.duration(250)}\n exiting={FadeOut.duration(250)}\n style={styles.content as any}\n >\n {logic.children}\n </Animated.View>\n )}\n </Animated.View>\n );\n};\n\nexport default React.memo(Accordion);\n","import { useAudioPlayer } from 'expo-audio';\nimport { useEffect } from 'react';\n\n/**\n * Props for the Audio component.\n */\nexport interface AudioProps {\n /** The source URI of the audio file */\n source: string;\n /** Whether the audio should auto-play */\n autoPlay?: boolean;\n /** Any other props for the container */\n [key: string]: any;\n}\n\nexport function useAudioLogic(rawProps: AudioProps) {\n const { source, autoPlay = false, ...rest } = rawProps;\n \n const player = useAudioPlayer(source);\n\n useEffect(() => {\n if (autoPlay && player) {\n player.play();\n }\n }, [autoPlay, player]);\n\n const togglePlayPause = () => {\n if (!player) return;\n if (player.playing) {\n player.pause();\n } else {\n player.play();\n }\n };\n\n return {\n isPlaying: player ? player.playing : false,\n position: player ? player.currentTime * 1000 : 0,\n duration: player ? player.duration * 1000 : 1,\n togglePlayPause,\n rest\n };\n}\n\n\n","export function useAudioStyle(logic: any) {\n return {\n container: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n padding: 12,\n backgroundColor: 'rgba(0,0,0,0.05)',\n borderRadius: 12,\n width: '100%',\n },\n button: {\n width: 40,\n height: 40,\n borderRadius: 20,\n backgroundColor: '#007AFF',\n justifyContent: 'center',\n alignItems: 'center',\n marginRight: 12,\n },\n buttonText: {\n color: 'white',\n fontWeight: 'bold',\n fontSize: 14,\n },\n progressContainer: {\n flex: 1,\n height: 4,\n backgroundColor: 'rgba(0,0,0,0.1)',\n borderRadius: 2,\n overflow: 'hidden',\n },\n progressBar: {\n height: '100%',\n backgroundColor: '#007AFF',\n }\n };\n}\n","import React from 'react';\nimport { View, Pressable, Text } from 'react-native';\nimport { useAudioLogic, AudioProps } from './Audio.logic';\nimport { useAudioStyle } from './Audio.style';\n\n/**\n * @component Audio\n * @description\n * Base UI component for playing audio files. Uses `expo-av` under the hood to manage\n * the Audio.Sound instance safely.\n * \n * @useCases\n * - Podcast or music mini-player.\n * - Voice note playback.\n * \n * @structure\n * Renders a circular Play/Pause button next to a progress bar that advances \n * automatically based on the playback state.\n * \n * @accessibility\n * The play/pause button is accessible via a Pressable, though aria-labels should be passed\n * if screen-reader support is strictly required for the playback state.\n */\nconst Audio: React.FC<AudioProps> = (rawProps) => {\n const logic = useAudioLogic(rawProps);\n const styles = useAudioStyle(logic);\n\n const progressPercentage = logic.duration > 0 ? (logic.position / logic.duration) * 100 : 0;\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <Pressable \n style={styles.button as any} \n onPress={logic.togglePlayPause}\n accessibilityRole=\"button\"\n accessibilityLabel={logic.isPlaying ? \"Pause audio\" : \"Play audio\"}\n >\n <Text style={styles.buttonText as any}>\n {logic.isPlaying ? '||' : '>'}\n </Text>\n </Pressable>\n <View style={styles.progressContainer as any}>\n <View style={[styles.progressBar as any, { width: `${progressPercentage}%` }]} />\n </View>\n </View>\n );\n};\n\nexport default React.memo(Audio);\n","{\"type\":\"component\",\"id\":\"Avatar\",\"label\":\"Avatar\",\"description\":\"User avatar with image, initials, or icon fallback.\",\"category\":\"display\",\"tags\":[\"avatar\",\"user\",\"profile\",\"image\"],\"themeMapping\":{\"bg\":\"muted\",\"text\":\"mutedForeground\"},\"variants\":[{\"name\":\"circle\",\"label\":\"Circle\",\"overrides\":{\"borderRadius\":\"full\"}},{\"name\":\"square\",\"label\":\"Square\",\"overrides\":{\"borderRadius\":\"md\"}}],\"sizes\":[\"xs\",\"sm\",\"md\",\"lg\",\"xl\"],\"sizeMap\":{\"xs\":{\"height\":24,\"width\":24,\"fontSize\":10},\"sm\":{\"height\":32,\"width\":32,\"fontSize\":12},\"md\":{\"height\":40,\"width\":40,\"fontSize\":14},\"lg\":{\"height\":56,\"width\":56,\"fontSize\":18},\"xl\":{\"height\":72,\"width\":72,\"fontSize\":24}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Shape\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"circle\",\"options\":[\"circle\",\"square\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"xs\",\"sm\",\"md\",\"lg\",\"xl\"]},{\"name\":\"source\",\"label\":\"Image source\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"initials\",\"label\":\"Initials\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"}]}","import React, { useMemo } from 'react';\nimport AvatarMeta from './Avatar.meta.yaml';\n\n/**\n * Properties for the Avatar component.\n */\nexport interface AvatarProps {\n /** The URL of the image to display. If omitted, initials will be shown. */\n src?: string;\n /** Explicit initials to display. Overrides derived initials from the alt prop. */\n initials?: string;\n /** The size variant of the avatar. Dictates width, height, and font size. Defaults to 'md'. */\n size?: 'sm' | 'md' | 'lg' | 'xl';\n /** Alternative text for screen readers. Also used to derive initials if `initials` is not provided. */\n alt?: string;\n /** Any other props (including style) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useAvatarLogic(props: AvatarProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (AvatarMeta?.props) {\n AvatarMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { src, initials, size = 'md', alt, ...rest } = merged;\n\n // Derive initials if not provided but alt is\n const displayInitials = initials || (alt ? alt.substring(0, 2).toUpperCase() : '');\n\n return { src, initials: displayInitials, size, alt, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useAvatarStyle(logic: any) {\n const { theme } = useTheme();\n \n const sizeMap: Record<string, number> = { sm: 24, md: 40, lg: 56, xl: 80 };\n const dim = sizeMap[logic.size] || sizeMap.md;\n\n return {\n container: {\n width: dim,\n height: dim,\n // Structural choice: Setting borderRadius to half the dimension ensures a perfect circle\n borderRadius: dim / 2,\n backgroundColor: theme?.muted || '#f3f4f6',\n // Structural choice: Center content (like text initials) vertically and horizontally\n justifyContent: 'center',\n alignItems: 'center',\n // Structural choice: Clip child images so they conform to the circular shape\n overflow: 'hidden',\n },\n image: {\n // Structural choice: Fill the container completely\n width: '100%',\n height: '100%',\n },\n initials: {\n // Structural choice: Scale font size proportionally to the avatar container size\n fontSize: dim * 0.4,\n fontWeight: '600',\n color: theme?.mutedForeground || '#6b7280',\n }\n };\n}\n","import React from 'react';\nimport { View, Text, Image } from 'react-native';\nimport { useAvatarLogic, AvatarProps } from './Avatar.logic';\nimport { useAvatarStyle } from './Avatar.style';\n\n/**\n * `Avatar` is a component used to visually represent a user or entity.\n * \n * **Role:**\n * Displays a profile picture, or falls back to displaying initials if the \n * image source is not provided or fails to load.\n * \n * **Use cases:**\n * - User profiles and settings pages.\n * - Lists of users (e.g., chat contacts, list of authors).\n * - Identifying the current logged-in user in an app bar.\n * \n * **Structure:**\n * A container `View` that clips its children to a perfect circle. It renders\n * an `Image` if a `src` is provided, otherwise it renders a `Text` component\n * containing derived or explicitly provided initials.\n * \n * **Accessibility:**\n * If an image is provided, the `alt` text is passed as an `accessibilityLabel`\n * to ensure screen readers can announce the image content. If initials are used,\n * they are read by default, but consider wrapping the Avatar in an accessible\n * element if it conveys interactive meaning.\n */\nconst Avatar: React.FC<AvatarProps> = (rawProps) => {\n const logic = useAvatarLogic(rawProps);\n const styles = useAvatarStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.src ? (\n <Image source={{ uri: logic.src }} style={styles.image as any} accessibilityLabel={logic.alt} />\n ) : (\n <Text style={styles.initials as any}>{logic.initials}</Text>\n )}\n </View>\n );\n};\n\nexport default React.memo(Avatar);\n","{\"name\":\"AvatarPicker\",\"description\":\"Allows users to select an avatar from a list of predefined options or upload one.\",\"tags\":[\"base\",\"input\",\"picker\",\"avatar\"],\"props\":[]}","import { useMemo, useCallback } from 'react';\nimport { ViewStyle, StyleProp } from 'react-native';\nimport * as ImagePicker from 'expo-image-picker';\nimport AvatarPickerMeta from './AvatarPicker.meta.yaml';\n\n/**\n * Properties for the AvatarPicker component.\n */\nexport interface AvatarPickerProps {\n /** \n * Callback fired when an avatar is selected or uploaded.\n * @param uri The URI of the selected image.\n */\n onChange?: (uri: string) => void;\n /** \n * Currently selected avatar URI.\n */\n value?: string;\n /**\n * Additional style to apply to the container.\n */\n style?: StyleProp<ViewStyle>;\n /**\n * Any other properties to pass to the container view.\n */\n [key: string]: any;\n}\n\n/**\n * Custom hook to handle the logic for the AvatarPicker component.\n * @param props The properties passed to the AvatarPicker component.\n * @returns An object containing the processed logic and state for the component.\n */\nexport function useAvatarPickerLogic(props: AvatarPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (AvatarPickerMeta?.props) {\n AvatarPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props } as AvatarPickerProps;\n const { onChange, value, ...rest } = merged;\n\n const defaultAvatars = useMemo(() => [\n 'https://i.pravatar.cc/150?img=11',\n 'https://i.pravatar.cc/150?img=32',\n 'https://i.pravatar.cc/150?img=33',\n 'https://i.pravatar.cc/150?img=44',\n 'https://i.pravatar.cc/150?img=47',\n 'https://i.pravatar.cc/150?img=68',\n ], []);\n\n const pickImage = useCallback(async () => {\n const permissionResult = await ImagePicker.requestMediaLibraryPermissionsAsync();\n \n if (permissionResult.granted === false) {\n alert('Permission to access camera roll is required!');\n return;\n }\n\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ['images'],\n allowsEditing: true,\n aspect: [1, 1],\n quality: 0.9,\n });\n\n if (!result.canceled && result.assets && result.assets.length > 0) {\n if (onChange) {\n onChange(result.assets[0].uri);\n }\n }\n }, [onChange]);\n\n const selectAvatar = useCallback((uri: string) => {\n if (onChange) {\n onChange(uri);\n }\n }, [onChange]);\n\n return { value, pickImage, selectAvatar, defaultAvatars, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\n\n/**\n * Custom hook to generate the styles for the AvatarPicker component.\n * @param logic The logic state from useAvatarPickerLogic.\n * @returns A StyleSheet object containing the component styles.\n */\nexport function useAvatarPickerStyle(logic: any) {\n return useMemo(() => StyleSheet.create({\n container: {\n padding: 24,\n backgroundColor: 'rgba(255, 255, 255, 0.95)',\n borderRadius: 24,\n width: '100%',\n maxWidth: 400,\n alignSelf: 'center',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.1,\n shadowRadius: 16,\n elevation: 6,\n borderWidth: 1,\n borderColor: 'rgba(0, 0, 0, 0.05)',\n },\n header: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n marginBottom: 20,\n },\n title: {\n fontSize: 20,\n fontWeight: '700',\n color: '#1C1C1E',\n letterSpacing: 0.3,\n },\n uploadBtn: {\n paddingVertical: 10,\n paddingHorizontal: 16,\n backgroundColor: '#EBF4FF',\n borderRadius: 12,\n flexDirection: 'row',\n alignItems: 'center',\n },\n uploadBtnText: {\n color: '#007AFF',\n fontWeight: '600',\n fontSize: 14,\n },\n previewContainer: {\n alignItems: 'center',\n marginBottom: 24,\n },\n mainAvatar: {\n width: 120,\n height: 120,\n borderRadius: 60,\n borderWidth: 4,\n borderColor: '#FFFFFF',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 6 },\n shadowOpacity: 0.15,\n shadowRadius: 12,\n },\n mainAvatarPlaceholder: {\n width: 120,\n height: 120,\n borderRadius: 60,\n backgroundColor: '#F2F2F7',\n borderWidth: 4,\n borderColor: '#FFFFFF',\n justifyContent: 'center',\n alignItems: 'center',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 6 },\n shadowOpacity: 0.15,\n shadowRadius: 12,\n },\n placeholderText: {\n color: '#8E8E93',\n fontSize: 16,\n fontWeight: '500',\n },\n sectionTitle: {\n fontSize: 15,\n fontWeight: '600',\n color: '#3A3A3C',\n marginBottom: 12,\n },\n grid: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: 12,\n justifyContent: 'center',\n },\n avatarBtn: {\n width: 64,\n height: 64,\n borderRadius: 32,\n padding: 2,\n borderWidth: 2,\n borderColor: 'transparent',\n },\n avatarBtnSelected: {\n borderColor: '#007AFF',\n backgroundColor: '#FFFFFF',\n shadowColor: '#007AFF',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.3,\n shadowRadius: 8,\n elevation: 4,\n },\n avatarImg: {\n width: '100%',\n height: '100%',\n borderRadius: 30,\n }\n }), [logic]);\n}\n","import React from 'react';\nimport { View, Text, Pressable, Image } from 'react-native';\nimport { useAvatarPickerLogic, AvatarPickerProps } from './AvatarPicker.logic';\nimport { useAvatarPickerStyle } from './AvatarPicker.style';\n\n/**\n * @component AvatarPicker\n * @description A robust and beautiful avatar picker component. \n * Supports predefined avatars and an intuitive image selection and cropping interface using expo-image-picker.\n * \n * @example\n * <AvatarPicker \n * value={selectedUri} \n * onChange={(uri) => setSelectedUri(uri)} \n * />\n */\nconst AvatarPicker: React.FC<AvatarPickerProps> = (rawProps) => {\n const logic = useAvatarPickerLogic(rawProps);\n const styles = useAvatarPickerStyle(logic);\n\n return (\n <View style={[styles.container, logic.rest.style]} {...logic.rest}>\n <View style={styles.header}>\n <Text style={styles.title}>Profile Picture</Text>\n <Pressable \n onPress={logic.pickImage} \n style={({ pressed }) => [\n styles.uploadBtn,\n { opacity: pressed ? 0.7 : 1 }\n ]}\n >\n <Text style={styles.uploadBtnText}>Upload</Text>\n </Pressable>\n </View>\n \n <View style={styles.previewContainer}>\n {logic.value ? (\n <Image source={{ uri: logic.value }} style={styles.mainAvatar as any} />\n ) : (\n <View style={styles.mainAvatarPlaceholder}>\n <Text style={styles.placeholderText}>No Avatar</Text>\n </View>\n )}\n </View>\n \n <Text style={styles.sectionTitle}>Or choose a default</Text>\n <View style={styles.grid}>\n {logic.defaultAvatars.map((uri: string) => (\n <Pressable \n key={uri} \n onPress={() => logic.selectAvatar(uri)} \n style={({ pressed }) => [\n styles.avatarBtn, \n logic.value === uri && styles.avatarBtnSelected,\n { transform: [{ scale: pressed ? 0.95 : 1 }] }\n ]}\n >\n <Image source={{ uri }} style={styles.avatarImg as any} />\n </Pressable>\n ))}\n </View>\n </View>\n );\n};\n\nexport default AvatarPicker;\n","{\"type\":\"component\",\"id\":\"Badge\",\"label\":\"Badge\",\"description\":\"Small status indicator or label.\",\"category\":\"display\",\"tags\":[\"badge\",\"tag\",\"label\",\"status\"],\"themeMapping\":{\"bg\":\"primary\",\"text\":\"primaryForeground\"},\"variants\":[{\"name\":\"solid\",\"label\":\"Solid\",\"overrides\":{}},{\"name\":\"outline\",\"label\":\"Outline\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":1}},{\"name\":\"subtle\",\"label\":\"Subtle\",\"overrides\":{}}],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{\"primary\":{\"solid\":[\"primary\",\"primaryForeground\"],\"subtle\":[\"primary\",\"primaryForeground\"]},\"secondary\":{\"solid\":[\"secondary\",\"secondaryForeground\"],\"subtle\":[\"secondary\",\"secondaryForeground\"]},\"success\":{\"solid\":[\"success\",\"#fff\"],\"subtle\":[\"#dcfce7\",\"#166534\"]},\"warning\":{\"solid\":[\"warning\",\"#fff\"],\"subtle\":[\"#fef3c7\",\"#92400e\"]},\"error\":{\"solid\":[\"error\",\"#fff\"],\"subtle\":[\"#fee2e2\",\"#991b1b\"]},\"info\":{\"solid\":[\"info\",\"#fff\"],\"subtle\":[\"#e0f2fe\",\"#0369a1\"]}},\"props\":[{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"solid\",\"options\":[\"solid\",\"outline\",\"subtle\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"color\",\"label\":\"Color scheme\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"primary\",\"options\":[\"primary\",\"secondary\",\"success\",\"warning\",\"error\",\"info\"]},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"full\"}]}","import React, { useMemo } from 'react';\nimport BadgeMeta from './Badge.meta.yaml';\n\n/**\n * Properties for the Badge component.\n */\nexport interface BadgeProps {\n /** The text content to display inside the badge. */\n label: string;\n /** The visual style variant of the badge, mapped to theme colors. Defaults to 'default'. */\n variant?: 'default' | 'destructive' | 'outline' | 'secondary';\n /** Any other props to spread onto the container element. */\n [key: string]: any;\n}\n\nexport function useBadgeLogic(props: BadgeProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BadgeMeta?.props) {\n BadgeMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { label, variant = 'default', ...rest } = merged;\n\n return { label, variant, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useBadgeStyle(logic: any) {\n const { theme } = useTheme();\n \n let bgColor = theme?.primary || '#000000';\n let textColor = theme?.primaryForeground || '#ffffff';\n let borderColor = 'transparent';\n let borderWidth = 0;\n\n if (logic.variant === 'destructive') {\n bgColor = theme?.destructive || '#ff0000';\n textColor = theme?.destructiveForeground || '#ffffff';\n } else if (logic.variant === 'outline') {\n bgColor = 'transparent';\n textColor = theme?.foreground || '#000000';\n borderColor = theme?.border || '#e5e7eb';\n borderWidth = 1;\n } else if (logic.variant === 'secondary') {\n bgColor = theme?.secondary || '#f3f4f6';\n textColor = theme?.secondaryForeground || '#111827';\n }\n\n return {\n container: {\n backgroundColor: bgColor,\n borderColor: borderColor,\n borderWidth: borderWidth,\n // Structural choice: 9999 for borderRadius creates a pill shape regardless of height\n borderRadius: 9999,\n // Structural choice: Horizontal padding is larger than vertical to maintain the pill aesthetic\n paddingHorizontal: 10,\n paddingVertical: 2,\n // Structural choice: Center the label text perfectly within the pill\n alignItems: 'center',\n justifyContent: 'center',\n },\n label: {\n color: textColor,\n fontSize: 12,\n fontWeight: '600',\n }\n };\n}\n","import React from 'react';\nimport { View, Text } from 'react-native';\nimport { useBadgeLogic, BadgeProps } from './Badge.logic';\nimport { useBadgeStyle } from './Badge.style';\n\n/**\n * `Badge` is a small visual indicator used to highlight status, counts, or categories.\n * \n * **Role:**\n * Draws attention to metadata, state changes (like \"New\" or \"Error\"), or \n * categorization tags.\n * \n * **Use cases:**\n * - Displaying unread message counts on an icon.\n * - Tagging items with categories (e.g., \"Music\", \"Video\").\n * - Showing status indicators (e.g., \"Active\", \"Pending\", \"Deleted\").\n * \n * **Structure:**\n * A simple container `View` with a rounded pill shape, wrapping a highly legible `Text` label.\n * It uses variants to map to specific theme colors (default, destructive, etc.).\n * \n * **Accessibility:**\n * Rendered as text. If the badge provides context to another element (like a notification icon),\n * ensure the parent element has an `accessibilityLabel` that includes the badge's information.\n */\nconst Badge: React.FC<BadgeProps> = (rawProps) => {\n const logic = useBadgeLogic(rawProps);\n const styles = useBadgeStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <Text style={styles.label as any}>{logic.label}</Text>\n </View>\n );\n};\n\nexport default React.memo(Badge);\n","{\"type\":\"component\",\"id\":\"BlurView\",\"label\":\"Blur View\",\"description\":\"Blurred background overlay container.\",\"category\":\"display\",\"tags\":[\"blur\",\"glass\",\"frosted\",\"overlay\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"intensity\",\"label\":\"Intensity\",\"type\":\"number\",\"group\":\"style\",\"default\":50},{\"name\":\"tint\",\"label\":\"Tint\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"default\",\"options\":[\"default\",\"light\",\"dark\"]},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"}]}","import { useMemo } from 'react';\nimport BlurViewMeta from './BlurView.meta.yaml';\n\n/**\n * Properties for the BlurView component.\n */\nexport interface BlurViewProps {\n /**\n * A number from 1 to 100 to control the intensity of the blur effect.\n * Higher values mean more blur.\n * @default 50\n */\n intensity?: number;\n /**\n * The tint color of the blur effect.\n * Can be 'light', 'dark', or 'default'.\n * @default 'default'\n */\n tint?: 'light' | 'dark' | 'default';\n /**\n * The content to render inside the blurred container.\n */\n children?: React.ReactNode;\n /**\n * Additional properties to pass down to the container.\n */\n [key: string]: any;\n}\n\nexport function useBlurViewLogic(props: BlurViewProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BlurViewMeta?.props) {\n BlurViewMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { intensity = 50, tint = 'default', children, ...rest } = merged;\n\n return { intensity, tint, children, rest };\n}\n","\nexport function useBlurViewStyle(logic: any) {\n return {\n container: {\n // Use flex: 1 to ensure the BlurView fills its parent container by default.\n // This is typical for background blur overlays.\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useBlurViewLogic, BlurViewProps } from './BlurView.logic';\nimport { useBlurViewStyle } from './BlurView.style';\n// Using expo-blur\nimport { BlurView as ExpoBlurView } from 'expo-blur';\n\n/**\n * A BlurView component that provides a blurred background effect.\n * \n * @description\n * This component is used to create visual depth and hierarchy by applying a blur effect\n * over the underlying content. It wraps `expo-blur` to provide a consistent API and styling.\n * \n * @useCases\n * - Creating modals or overlays where the background content should remain visible but out of focus.\n * - Building floating navigation bars or toolbars with a frosted glass effect.\n * - Emphasizing foreground elements without completely obscuring the background context.\n * \n * @structure\n * - `ExpoBlurView`: The underlying component from `expo-blur` that applies the effect.\n * - Renders children inside the blurred container.\n * \n * @accessibility\n * - Consider contrast and legibility when placing text or interactive elements over a blur.\n * - Ensure the blur does not interfere with the accessibility tree; it is primarily a visual effect.\n */\nconst BlurView: React.FC<BlurViewProps> = (rawProps) => {\n const logic = useBlurViewLogic(rawProps);\n const styles = useBlurViewStyle(logic);\n\n return (\n <ExpoBlurView\n intensity={logic.intensity}\n tint={logic.tint as any}\n style={[styles.container as any, logic.rest.style]}\n >\n {logic.children}\n </ExpoBlurView>\n );\n};\n\nexport default BlurView;\n","{\"type\":\"component\",\"id\":\"Button\",\"label\":\"Button\",\"description\":\"Pressable button with variant and size support.\",\"category\":\"action\",\"tags\":[\"button\",\"cta\",\"action\",\"pressable\"],\"themeMapping\":{\"bg\":\"primary\",\"text\":\"primaryForeground\"},\"variants\":[{\"name\":\"primary\",\"label\":\"Primary\",\"overrides\":{\"borderWidth\":0}},{\"name\":\"secondary\",\"label\":\"Secondary\",\"overrides\":{\"borderWidth\":0}},{\"name\":\"outline\",\"label\":\"Outline\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":1}},{\"name\":\"ghost\",\"label\":\"Ghost\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":0}},{\"name\":\"destructive\",\"label\":\"Destructive\",\"overrides\":{\"borderWidth\":0}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"px\":3,\"fontSize\":13},\"md\":{\"height\":40,\"px\":4,\"fontSize\":15},\"lg\":{\"height\":48,\"px\":5,\"fontSize\":17}},\"colorMap\":{},\"props\":[{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Button\"},{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"primary\",\"options\":[\"primary\",\"secondary\",\"outline\",\"ghost\",\"destructive\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"loading\",\"label\":\"Loading\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"fullWidth\",\"label\":\"Full width\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"},{\"name\":\"iconPosition\",\"label\":\"Icon position\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"left\",\"options\":[\"left\",\"right\"]}]}","import { useMemo } from 'react';\nimport ButtonMeta from './Button.meta.yaml';\n\n/**\n * Properties for the Button component.\n */\nexport interface ButtonProps {\n /**\n * The text label to display inside the button.\n */\n label?: string;\n /**\n * Callback function executed when the button is pressed.\n */\n onPress?: () => void;\n /**\n * Whether the button is disabled. If true, interactions are ignored and the visual state is adjusted.\n * @default false\n */\n disabled?: boolean;\n /**\n * Whether the button is in a loading state. If true, an ActivityIndicator is shown and interactions are disabled.\n * @default false\n */\n loading?: boolean;\n /**\n * The visual style variant of the button.\n * Determines background and text colors.\n * @default 'default'\n */\n variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';\n /**\n * The size of the button, affecting padding, height, and width (for icon size).\n * @default 'default'\n */\n size?: 'default' | 'sm' | 'lg' | 'icon';\n /**\n * Additional properties to pass down to the underlying Pressable.\n */\n [key: string]: any;\n}\n\nexport function useButtonLogic(props: ButtonProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ButtonMeta?.props) {\n ButtonMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { label, onPress, disabled, loading, variant, size, ...rest } = merged;\n\n return { label, onPress, disabled: disabled || loading, loading, variant, size, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useButtonStyle(logic: any) {\n const { theme } = useTheme();\n \n let bgColor = theme?.primary || '#000000';\n let textColor = theme?.primaryForeground || '#ffffff';\n let borderColor = 'transparent';\n let borderWidth = 0;\n\n if (logic.variant === 'destructive') {\n bgColor = theme?.destructive || '#ff0000';\n textColor = theme?.destructiveForeground || '#ffffff';\n } else if (logic.variant === 'outline') {\n bgColor = 'transparent';\n textColor = theme?.foreground || '#000000';\n borderColor = theme?.border || '#e5e7eb';\n borderWidth = 1;\n } else if (logic.variant === 'secondary') {\n bgColor = theme?.secondary || '#f3f4f6';\n textColor = theme?.secondaryForeground || '#111827';\n } else if (logic.variant === 'ghost') {\n bgColor = 'transparent';\n textColor = theme?.foreground || '#000000';\n } else if (logic.variant === 'link') {\n bgColor = 'transparent';\n textColor = theme?.primary || '#000000';\n }\n\n const opacity = logic.disabled ? 0.5 : 1;\n\n let paddingH = 16;\n let paddingV = 8;\n let height = 40;\n let width: number | undefined = undefined;\n if (logic.size === 'sm') { height = 36; paddingH = 12; }\n if (logic.size === 'lg') { height = 44; paddingH = 32; }\n if (logic.size === 'icon') { height = 40; paddingH = 0; width = 40; }\n\n return {\n container: {\n backgroundColor: bgColor,\n borderColor: borderColor,\n borderWidth: borderWidth,\n borderRadius: 6,\n paddingHorizontal: paddingH,\n height: height,\n // Fixed width for icon variant to ensure it remains a perfect square/circle.\n width: width,\n // Center contents horizontally and vertically using flexbox layout.\n alignItems: 'center',\n justifyContent: 'center',\n // Reduce opacity for disabled states to visually indicate inactivity.\n opacity: opacity,\n // Lay out children (e.g., spinner and text) in a row.\n flexDirection: 'row',\n },\n label: {\n color: textColor,\n fontSize: 14,\n fontWeight: '500',\n textDecorationLine: logic.variant === 'link' ? 'underline' : 'none',\n },\n spinner: {\n color: textColor,\n // Add margin to space out the spinner from the label, unless there is no label.\n marginRight: logic.label ? 8 : 0,\n }\n };\n}\n","import React from 'react';\nimport { Pressable, Text, ActivityIndicator } from 'react-native';\nimport { useButtonLogic, ButtonProps } from './Button.logic';\nimport { useButtonStyle } from './Button.style';\n\n/**\n * A highly customizable Button component for handling user interactions.\n * \n * @description\n * This component provides a styled, accessible pressable area. It supports multiple variants,\n * sizes, and a loading state to indicate background processing.\n * \n * @useCases\n * - Submitting forms or triggering actions.\n * - Navigating between different screens (e.g., as a link variant).\n * - Displaying a loading state while awaiting a network response.\n * \n * @structure\n * - `Pressable`: The core interactive element handling touch events.\n * - `ActivityIndicator`: Conditionally rendered when the button is in a loading state.\n * - `Text`: Displays the button label.\n * \n * @accessibility\n * - Uses `accessibilityRole=\"button\"` to inform screen readers of its purpose.\n * - Manages `accessibilityState` to communicate `disabled` and `busy` (loading) states.\n * - Ensure sufficient color contrast for the text against the button background in all variants.\n */\nconst Button: React.FC<ButtonProps> = (rawProps) => {\n const logic = useButtonLogic(rawProps);\n const styles = useButtonStyle(logic);\n\n return (\n <Pressable \n style={[styles.container as any, logic.rest.style]} \n onPress={logic.onPress} \n disabled={logic.disabled}\n accessibilityRole=\"button\"\n accessibilityState={{ disabled: logic.disabled, busy: logic.loading }}\n >\n {logic.loading && <ActivityIndicator color={styles.spinner.color} style={styles.spinner as any} />}\n {logic.label ? <Text style={styles.label as any}>{logic.label}</Text> : null}\n </Pressable>\n );\n};\n\nexport default Button;\n","{\"type\":\"component\",\"id\":\"Camera\",\"label\":\"Camera\",\"description\":\"Camera viewfinder for photo/video capture.\",\"category\":\"media\",\"tags\":[\"camera\",\"photo\",\"capture\",\"scan\"],\"themeMapping\":{\"bg\":\"muted\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"facing\",\"label\":\"Facing\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"back\",\"options\":[\"front\",\"back\"]},{\"name\":\"flash\",\"label\":\"Flash\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"off\",\"options\":[\"off\",\"on\",\"auto\"]},{\"name\":\"enableTorch\",\"label\":\"Torch\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":300},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"lg\"}]}","import { useMemo, useState, useEffect } from 'react';\nimport CameraMeta from './Camera.meta.yaml';\n\n/**\n * Properties for the Camera component.\n */\nexport interface CameraProps {\n /**\n * The active camera facing direction ('back' or 'front').\n * @default 'back'\n */\n facing?: 'back' | 'front';\n /**\n * Whether the camera is active and rendering. \n * Can be used to pause the camera preview.\n * @default true\n */\n isActive?: boolean;\n /**\n * Callback fired when a photo or video is captured.\n * @param uri The local file URI of the captured media.\n */\n onCapture?: (uri: string) => void;\n /**\n * Additional properties to pass to the container or underlying camera component.\n */\n [key: string]: any;\n}\n\nexport function useCameraLogic(props: CameraProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CameraMeta?.props) {\n CameraMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { facing = 'back', isActive = true, onCapture, ...rest } = merged;\n\n const [hasPermission, setHasPermission] = useState<boolean | null>(null);\n\n return { facing, isActive, onCapture, hasPermission, setHasPermission, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useCameraStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Allow the container to fill available space by default.\n flex: 1,\n // Provide a dark background while the camera initializes.\n backgroundColor: theme?.background || '#000',\n // Ensure there's a minimum height to prevent the view from collapsing completely.\n minHeight: 300,\n // Center any fallback content (like permission messages) horizontally and vertically.\n justifyContent: 'center',\n alignItems: 'center',\n },\n text: {\n // Use the theme's foreground color for the permission fallback text.\n color: theme?.foreground || '#fff',\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View, Text } from 'react-native';\nimport { useCameraLogic, CameraProps } from './Camera.logic';\nimport { useCameraStyle } from './Camera.style';\n// Using expo-camera\nimport { Camera as ExpoCamera, CameraView, useCameraPermissions } from 'expo-camera';\n\n/**\n * A camera component for capturing photos or videos.\n * \n * @description\n * This component wraps `expo-camera` to provide a consistent interface for camera integration.\n * It handles permission requests automatically upon mounting.\n * \n * @useCases\n * - Scanning QR codes or barcodes.\n * - Capturing user avatars or profile photos.\n * - Recording video clips within the application.\n * \n * @structure\n * - Manages camera permissions using `useCameraPermissions`.\n * - Conditionally renders a loading state, permission denied state, or the actual `CameraView`.\n * - The `CameraView` fills its container using absolute positioning or flexbox depending on styles.\n * \n * @accessibility\n * - Provides fallback text (\"No access to camera\") when permissions are denied, which is readable by screen readers.\n * - Ensure that any controls layered over the camera (buttons, overlays) have sufficient contrast and accessibility labels.\n */\nconst Camera: React.FC<CameraProps> = (rawProps) => {\n const logic = useCameraLogic(rawProps);\n const styles = useCameraStyle(logic);\n const [permission, requestPermission] = useCameraPermissions();\n\n useEffect(() => {\n if (permission && !permission.granted && permission.canAskAgain) {\n requestPermission();\n }\n }, [permission, requestPermission]);\n\n if (!permission) {\n return <View style={[styles.container as any, logic.rest.style]} />;\n }\n\n if (!permission.granted) {\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <Text style={styles.text as any}>No access to camera</Text>\n </View>\n );\n }\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.isActive && (\n <CameraView style={{ width: '100%', height: '100%' }} facing={logic.facing} />\n )}\n </View>\n );\n};\n\nexport default Camera;\n","{\"type\":\"component\",\"id\":\"Card\",\"label\":\"Card\",\"description\":\"Surface container used to group and display information.\",\"category\":\"display\",\"tags\":[\"card\",\"surface\",\"container\"],\"themeMapping\":{\"bg\":\"card\",\"text\":\"cardForeground\",\"border\":\"border\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"shadow\",\"label\":\"Shadow\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"none\",\"sm\",\"md\",\"lg\",\"xl\"]},{\"name\":\"interactive\",\"label\":\"Interactive\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"}]}","import { useMemo } from 'react';\nimport CardMeta from './Card.meta.yaml';\n\n/**\n * Properties for the Card component.\n */\nexport interface CardProps {\n /**\n * The content to display inside the card.\n */\n children?: React.ReactNode;\n /**\n * Additional style or functional properties to pass to the underlying View.\n */\n [key: string]: any;\n}\n\nexport function useCardLogic(props: CardProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CardMeta?.props) {\n CardMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useCardStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Use the dedicated card background color for clear separation from the main background.\n backgroundColor: theme?.card || '#ffffff',\n // Apply a subtle border for extra definition, especially in dark mode.\n borderColor: theme?.border || '#e5e7eb',\n borderWidth: 1,\n // Softly rounded corners for a modern look.\n borderRadius: 8,\n // Provide adequate inner spacing so content breathes well.\n padding: 16,\n // Implement shadow for depth (iOS).\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 1 },\n shadowOpacity: 0.05,\n shadowRadius: 2,\n // Implement elevation for depth (Android).\n elevation: 2,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useCardLogic, CardProps } from './Card.logic';\nimport { useCardStyle } from './Card.style';\n\n/**\n * A container component used to group related content and actions.\n * \n * @description\n * The Card component provides a distinct visual boundary (usually with a border, background,\n * and subtle shadow) to separate discrete pieces of information from the rest of the UI.\n * \n * @useCases\n * - Displaying a summary of an item (e.g., a product, user profile, or article snippet).\n * - Grouping related form fields or settings.\n * - Creating modular dashboard widgets.\n * \n * @structure\n * - Wraps its children inside a styled `View`.\n * - Applies theming to backgrounds, borders, and shadows out of the box.\n * \n * @accessibility\n * - Cards themselves are typically just presentational containers.\n * - If a card is interactive as a whole, consider wrapping it in a `Pressable` or passing accessibility roles via `rest`.\n * - Ensure logical heading structures and reading orders inside the card content.\n */\nconst Card: React.FC<CardProps> = (rawProps) => {\n const logic = useCardLogic(rawProps);\n const styles = useCardStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.children}\n </View>\n );\n};\n\nexport default Card;\n","{\"type\":\"component\",\"id\":\"Checkbox\",\"label\":\"Checkbox\",\"description\":\"Toggle checkbox with label.\",\"category\":\"input\",\"tags\":[\"checkbox\",\"toggle\",\"form\",\"boolean\"],\"themeMapping\":{\"active\":\"primary\",\"border\":\"border\"},\"variants\":[{\"name\":\"square\",\"label\":\"Square\",\"overrides\":{\"borderRadius\":\"sm\"}},{\"name\":\"rounded\",\"label\":\"Rounded\",\"overrides\":{\"borderRadius\":\"full\"}}],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"square\",\"options\":[\"square\",\"rounded\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"checked\",\"label\":\"Checked\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo, useState, useCallback } from 'react';\nimport CheckboxMeta from './Checkbox.meta.yaml';\n\n/**\n * Properties for the Checkbox component.\n */\nexport interface CheckboxProps {\n /**\n * Whether the checkbox is checked. If provided, the component operates in controlled mode.\n */\n checked?: boolean;\n /**\n * Callback fired when the checkbox state changes.\n * @param checked The new checked state.\n */\n onCheckedChange?: (checked: boolean) => void;\n /**\n * Whether the checkbox is disabled.\n * @default false\n */\n disabled?: boolean;\n /**\n * The text label to display next to the checkbox.\n */\n label?: string;\n /**\n * Additional properties to pass to the wrapper component.\n */\n [key: string]: any;\n}\n\nexport function useCheckboxLogic(props: CheckboxProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CheckboxMeta?.props) {\n CheckboxMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { checked: controlledChecked, onCheckedChange, disabled, label, ...rest } = merged;\n\n const isControlled = controlledChecked !== undefined;\n const [internalChecked, setInternalChecked] = useState(false);\n const checked = isControlled ? controlledChecked : internalChecked;\n\n const handlePress = useCallback(() => {\n if (disabled) return;\n const nextState = !checked;\n if (!isControlled) {\n setInternalChecked(nextState);\n }\n onCheckedChange?.(nextState);\n }, [disabled, checked, isControlled, onCheckedChange]);\n\n return { checked, handlePress, disabled, label, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useCheckboxStyle(logic: any) {\n const { theme } = useTheme();\n \n const bgColor = logic.checked ? (theme?.primary || '#000') : 'transparent';\n const borderColor = logic.checked ? (theme?.primary || '#000') : (theme?.border || '#e5e7eb');\n const iconColor = theme?.primaryForeground || '#fff';\n\n return {\n wrapper: {\n // Lay out the checkbox and its label in a horizontal row.\n flexDirection: 'row',\n // Center them vertically.\n alignItems: 'center',\n // Reduce opacity if disabled to indicate it's not interactive.\n opacity: logic.disabled ? 0.5 : 1,\n },\n container: {\n // Fixed dimensions for the visual checkbox box.\n width: 20,\n height: 20,\n borderRadius: 4,\n borderWidth: 1,\n borderColor: borderColor,\n backgroundColor: bgColor,\n // Center the check mark icon inside the box.\n justifyContent: 'center',\n alignItems: 'center',\n // Add margin if there is a label to separate them.\n marginRight: logic.label ? 8 : 0,\n },\n label: {\n color: theme?.foreground || '#000',\n fontSize: 14,\n },\n iconColor\n };\n}\n","import React from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useCheckboxLogic, CheckboxProps } from './Checkbox.logic';\nimport { useCheckboxStyle } from './Checkbox.style';\nimport { Check } from 'lucide-react-native';\n\n/**\n * A control that allows the user to toggle between checked and not checked states.\n * \n * @description\n * This component provides a customizable checkbox with optional labeling. It supports both controlled \n * and uncontrolled modes of operation.\n * \n * @useCases\n * - Selecting one or multiple options from a list.\n * - Agreeing to terms and conditions.\n * - Toggling a boolean setting.\n * \n * @structure\n * - `Pressable`: Wraps the entire component (checkbox + label) to increase the tap target size.\n * - `View`: Renders the visual box.\n * - `Check`: A Lucide icon rendered inside the box when checked.\n * - `Text`: Displays the optional label next to the checkbox.\n * \n * @accessibility\n * - The entire wrapper is pressable to aid users with limited dexterity.\n * - Depending on the use case, consider adding explicit `accessibilityRole=\"checkbox\"` and \n * `accessibilityState={{ checked: logic.checked, disabled: logic.disabled }}` to the Pressable via `rest`.\n */\nconst Checkbox: React.FC<CheckboxProps> = (rawProps) => {\n const logic = useCheckboxLogic(rawProps);\n const styles = useCheckboxStyle(logic);\n\n return (\n <Pressable style={[styles.wrapper as any, logic.rest.style]} onPress={logic.handlePress} disabled={logic.disabled}>\n <View style={styles.container as any}>\n {logic.checked && <Check size={14} color={styles.iconColor} />}\n </View>\n {logic.label && <Text style={styles.label as any}>{logic.label}</Text>}\n </Pressable>\n );\n};\n\nexport default Checkbox;\n","{\"type\":\"component\",\"id\":\"Chip\",\"label\":\"Chip\",\"description\":\"Selectable chip / tag with optional close action.\",\"category\":\"input\",\"tags\":[\"chip\",\"tag\",\"filter\",\"selectable\"],\"themeMapping\":{\"bg\":\"muted\",\"text\":\"foreground\",\"active\":\"primary\"},\"variants\":[{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{}},{\"name\":\"outline\",\"label\":\"Outline\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":1}}],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"filled\",\"options\":[\"filled\",\"outline\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"selected\",\"label\":\"Selected\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"closable\",\"label\":\"Closable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"full\"}]}","import { useMemo } from 'react';\nimport ChipMeta from './Chip.meta.yaml';\n\n/**\n * Properties for the Chip component.\n */\nexport interface ChipProps {\n /**\n * The text label to display inside the chip.\n */\n label: string;\n /**\n * Callback fired when the chip is pressed.\n */\n onPress?: () => void;\n /**\n * Callback fired when the delete icon is pressed.\n * If provided, a delete icon will be rendered.\n */\n onDelete?: () => void;\n /**\n * Whether the chip is currently in a selected state (affects visual styling).\n * @default false\n */\n selected?: boolean;\n /**\n * Whether the chip is disabled.\n * @default false\n */\n disabled?: boolean;\n /**\n * Additional properties to pass to the main wrapper component.\n */\n [key: string]: any;\n}\n\nexport function useChipLogic(props: ChipProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ChipMeta?.props) {\n ChipMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { label, onPress, onDelete, selected, disabled, ...rest } = merged;\n\n return { label, onPress, onDelete, selected, disabled, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useChipStyle(logic: any) {\n const { theme } = useTheme();\n \n const bgColor = logic.selected ? (theme?.primary || '#000') : (theme?.secondary || '#f3f4f6');\n const textColor = logic.selected ? (theme?.primaryForeground || '#fff') : (theme?.secondaryForeground || '#111827');\n\n return {\n container: {\n backgroundColor: bgColor,\n // Completely rounded corners (pill shape).\n borderRadius: 16,\n paddingHorizontal: 12,\n paddingVertical: 6,\n // Center contents vertically.\n alignItems: 'center',\n // Center contents horizontally.\n justifyContent: 'center',\n // Lay out the label and delete icon in a row.\n flexDirection: 'row',\n opacity: logic.disabled ? 0.5 : 1,\n },\n label: {\n color: textColor,\n fontSize: 14,\n fontWeight: '500',\n // Add margin to space out the label from the delete icon, if present.\n marginRight: logic.onDelete ? 4 : 0,\n },\n iconColor: textColor\n };\n}\n","import React from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useChipLogic, ChipProps } from './Chip.logic';\nimport { useChipStyle } from './Chip.style';\nimport { X } from 'lucide-react-native';\n\n/**\n * A compact, interactive element used for input, attribute, or action representation.\n * \n * @description\n * Chips are used to represent small blocks of information. They are most commonly used either for \n * tags/categories, selectable options, or deletable items.\n * \n * @useCases\n * - Displaying tags or categories for an article.\n * - Showing applied filters that the user can dismiss.\n * - Offering selectable choices in a compact form.\n * \n * @structure\n * - `Pressable`: Wraps the chip to handle main interactions (like selecting).\n * - `Text`: Displays the chip's label.\n * - An optional delete icon (X) wrapped in a `Pressable` for dismissal.\n * \n * @accessibility\n * - The delete button has a `hitSlop` to increase its touchable area without increasing its visual size.\n * - Consider passing accessibility labels to the delete button if used, to clarify its purpose (e.g., \"Remove [tag name]\").\n */\nconst Chip: React.FC<ChipProps> = (rawProps) => {\n const logic = useChipLogic(rawProps);\n const styles = useChipStyle(logic);\n\n return (\n <Pressable style={[styles.container as any, logic.rest.style]} onPress={logic.onPress} disabled={logic.disabled || !logic.onPress}>\n <Text style={styles.label as any}>{logic.label}</Text>\n {logic.onDelete && (\n <Pressable onPress={logic.onDelete} hitSlop={8} disabled={logic.disabled}>\n <X size={14} color={styles.iconColor} />\n </Pressable>\n )}\n </Pressable>\n );\n};\n\nexport default Chip;\n","{\"name\":\"ColorPicker\",\"description\":\"A visual grid of color swatches for choosing a theme or element color.\",\"tags\":[\"base\",\"input\",\"picker\",\"color\"],\"props\":[]}","import { useMemo, useState, useCallback } from 'react';\nimport { ViewStyle, StyleProp } from 'react-native';\nimport ColorPickerMeta from './ColorPicker.meta.yaml';\n\n/**\n * Properties for the ColorPicker component.\n */\nexport interface ColorPickerProps {\n /** \n * Callback fired when a color is selected.\n * @param color The hex representation of the selected color.\n */\n onChange?: (color: string) => void;\n /** \n * Currently selected color in hex format.\n * @default \"#FF0000\"\n */\n value?: string;\n /**\n * Additional style to apply to the container.\n */\n style?: StyleProp<ViewStyle>;\n /** \n * Any other properties to pass to the container view.\n */\n [key: string]: any;\n}\n\n/**\n * Custom hook to handle the logic for the ColorPicker component.\n * @param props The properties passed to the ColorPicker component.\n * @returns An object containing the processed logic and state for the component.\n */\nexport function useColorPickerLogic(props: ColorPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ColorPickerMeta?.props) {\n ColorPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props } as ColorPickerProps;\n const { onChange, value = '#FF0000', ...rest } = merged;\n\n const [color, setColor] = useState<string>(value);\n\n const onSelectColor = useCallback((res: { hex: string }) => {\n setColor(res.hex);\n if (onChange) {\n onChange(res.hex);\n }\n }, [onChange]);\n\n return { onSelectColor, color, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\n\n/**\n * Custom hook to generate the styles for the ColorPicker component.\n * @param logic The logic state from useColorPickerLogic.\n * @returns A StyleSheet object containing the component styles.\n */\nexport function useColorPickerStyle(logic: any) {\n return useMemo(() => StyleSheet.create({\n container: {\n padding: 20,\n backgroundColor: 'rgba(255, 255, 255, 0.95)',\n borderRadius: 24,\n width: '100%',\n maxWidth: 400,\n alignSelf: 'center',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.12,\n shadowRadius: 16,\n elevation: 8,\n borderWidth: 1,\n borderColor: 'rgba(0, 0, 0, 0.05)',\n },\n panelContainer: {\n height: 220,\n marginBottom: 20,\n borderRadius: 16,\n overflow: 'hidden',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.1,\n shadowRadius: 8,\n elevation: 4,\n },\n sliderContainer: {\n marginBottom: 20,\n borderRadius: 12,\n overflow: 'hidden',\n height: 24,\n },\n previewContainer: {\n marginBottom: 20,\n height: 48,\n borderRadius: 12,\n overflow: 'hidden',\n borderWidth: 1,\n borderColor: 'rgba(0, 0, 0, 0.1)',\n },\n swatchesContainer: {\n marginTop: 8,\n },\n titleContainer: {\n marginBottom: 16,\n alignItems: 'center',\n },\n title: {\n fontSize: 18,\n fontWeight: '600',\n color: '#333333',\n letterSpacing: 0.5,\n }\n }), [logic]);\n}\n","import React from 'react';\nimport { View, Text } from 'react-native';\nimport { useColorPickerLogic, ColorPickerProps } from './ColorPicker.logic';\nimport { useColorPickerStyle } from './ColorPicker.style';\nimport RNColorPicker, { Panel1, Swatches, Preview, HueSlider } from 'reanimated-color-picker';\n\n/**\n * @component ColorPicker\n * @description A robust and beautiful hue/saturation/lightness selection interface utilizing react-native-reanimated-color-picker.\n * It provides a premium design with soft shadows, rounded corners, and a polished user interface.\n * \n * @example\n * <ColorPicker \n * value=\"#3498db\" \n * onChange={(color) => console.log(color)} \n * />\n */\nconst ColorPicker: React.FC<ColorPickerProps> = (rawProps) => {\n const logic = useColorPickerLogic(rawProps);\n const styles = useColorPickerStyle(logic);\n\n return (\n <View style={[styles.container, logic.rest.style]} {...logic.rest}>\n <View style={styles.titleContainer}>\n <Text style={styles.title}>Select Color</Text>\n </View>\n <RNColorPicker \n style={{ flex: 1 }} \n value={logic.color} \n onComplete={logic.onSelectColor}\n thumbSize={28}\n sliderThickness={24}\n >\n <View style={styles.previewContainer}>\n <Preview hideInitialColor />\n </View>\n <View style={styles.panelContainer}>\n <Panel1 />\n </View>\n <View style={styles.sliderContainer}>\n <HueSlider />\n </View>\n <View style={styles.swatchesContainer}>\n <Swatches />\n </View>\n </RNColorPicker>\n </View>\n );\n};\n\nexport default ColorPicker;\n","{\"type\":\"component\",\"id\":\"DatePicker\",\"label\":\"Date Picker\",\"description\":\"Date/time picker input.\",\"category\":\"input\",\"tags\":[\"date\",\"time\",\"picker\",\"calendar\",\"form\"],\"themeMapping\":{\"bg\":\"input\",\"text\":\"foreground\",\"border\":\"border\",\"accent\":\"primary\"},\"variants\":[],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"fontSize\":13},\"md\":{\"height\":40,\"fontSize\":15},\"lg\":{\"height\":48,\"fontSize\":17}},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"mode\",\"label\":\"Mode\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"date\",\"options\":[\"date\",\"time\",\"datetime\"]},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"placeholder\",\"label\":\"Placeholder\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Select date\"},{\"name\":\"error\",\"label\":\"Error message\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"}]}","import { useMemo } from 'react';\nimport DatePickerMeta from './DatePicker.meta.yaml';\n\n/**\n * Properties for the DatePicker component.\n */\nexport interface DatePickerProps {\n /**\n * The currently selected date.\n * @default new Date()\n */\n value?: Date;\n /**\n * Callback fired when the user selects a new date.\n * @param date The newly selected Date object.\n */\n onDateChange?: (date: Date) => void;\n /**\n * Whether the date picker is disabled.\n * @default false\n */\n disabled?: boolean;\n /**\n * Additional properties to pass to the underlying container or picker component.\n */\n [key: string]: any;\n}\n\nexport function useDatePickerLogic(props: DatePickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (DatePickerMeta?.props) {\n DatePickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value = new Date(), onDateChange, disabled, ...rest } = merged;\n\n return { value, onDateChange, disabled, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useDatePickerStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Define a solid background, especially important if rendered over other content.\n backgroundColor: theme?.background || '#fff',\n // Provide a subtle border to clearly demarcate the input area.\n borderColor: theme?.border || '#e5e7eb',\n borderWidth: 1,\n // Rounded corners for modern aesthetic.\n borderRadius: 6,\n // Internal padding to space out the text/icon from the borders.\n paddingHorizontal: 12,\n paddingVertical: 10,\n // Reduce opacity if disabled to signal inactivity.\n opacity: logic.disabled ? 0.5 : 1,\n },\n text: {\n // Inherit the foreground color for the date text.\n color: theme?.foreground || '#000',\n fontSize: 14,\n }\n };\n}\n","import React, { useState } from 'react';\nimport { View, Text, Pressable, Platform as RNPlatform } from 'react-native';\nimport { useDatePickerLogic, DatePickerProps } from './DatePicker.logic';\nimport { useDatePickerStyle } from './DatePicker.style';\nimport DateTimePicker from '@react-native-community/datetimepicker';\nimport { Calendar } from 'lucide-react-native';\n\n/**\n * A cross-platform component for selecting dates.\n * \n * @description\n * This component provides a unified date selection interface across Web, iOS, and Android.\n * It uses the native HTML5 date input on the web, and `@react-native-community/datetimepicker` on native platforms.\n * \n * @useCases\n * - Selecting birth dates or appointment dates.\n * - Filtering lists by a date range.\n * - Providing date input for form fields.\n * \n * @structure\n * - Manages the visibility state (`show`) of the native date picker modal.\n * - On Web: Renders an `<input type=\"date\">`.\n * - On Native: Renders a `Pressable` trigger that displays the selected date alongside a Calendar icon. \n * Tapping it opens the `DateTimePicker`.\n * \n * @accessibility\n * - The native trigger acts as a button and could benefit from `accessibilityRole=\"button\"`.\n * - For web, the native input manages its own accessibility.\n */\nconst DatePicker: React.FC<DatePickerProps> = (rawProps) => {\n const logic = useDatePickerLogic(rawProps);\n const styles = useDatePickerStyle(logic);\n const [show, setShow] = useState(false);\n\n const onChange = (event: any, selectedDate?: Date) => {\n if (RNPlatform.OS === 'android') {\n setShow(false);\n }\n if (selectedDate && logic.onDateChange) {\n logic.onDateChange(selectedDate);\n }\n };\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {RNPlatform.OS === 'web' ? (\n <input \n type=\"date\"\n value={logic.value.toISOString().split('T')[0]}\n onChange={(e) => logic.onDateChange?.(new Date(e.target.value))}\n style={{ padding: 8, borderRadius: 6, border: '1px solid #ccc' }}\n />\n ) : (\n <>\n <Pressable \n style={{ flexDirection: 'row', alignItems: 'center', gap: 8, padding: 12, borderWidth: 1, borderColor: '#ddd', borderRadius: 8 }}\n onPress={() => setShow(true)}\n >\n <Calendar size={20} color={styles.text?.color as string || '#000'} />\n <Text style={styles.text as any}>{logic.value.toLocaleDateString()}</Text>\n </Pressable>\n {show && (\n <DateTimePicker\n value={logic.value}\n mode=\"date\"\n display=\"default\"\n onChange={onChange}\n />\n )}\n </>\n )}\n </View>\n );\n};\n\nexport default DatePicker;\n","{\"type\":\"primitive\",\"id\":\"Divider\",\"label\":\"Divider\",\"description\":\"Horizontal or vertical divider line.\",\"category\":\"primitive\",\"tags\":[\"divider\",\"separator\",\"line\",\"hr\"],\"slots\":[],\"props\":[{\"name\":\"vertical\",\"label\":\"Vertical\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"thickness\",\"label\":\"Thickness\",\"type\":\"number\",\"group\":\"style\",\"default\":1},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\"}]}","import { useMemo } from 'react';\nimport DividerMeta from './Divider.meta.yaml';\n\n/**\n * Properties for the Divider component.\n */\nexport interface DividerProps {\n /**\n * The axis along which the divider should render.\n * @default 'horizontal'\n */\n orientation?: 'horizontal' | 'vertical';\n /**\n * The thickness (height for horizontal, width for vertical) of the divider in points/pixels.\n * @default 1\n */\n thickness?: number;\n /**\n * An optional custom color for the divider. Can be a theme token or a literal color string.\n * If omitted, falls back to the theme's border color.\n */\n color?: string;\n /**\n * Additional properties to pass to the underlying View.\n */\n [key: string]: any;\n}\n\nexport function useDividerLogic(props: DividerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (DividerMeta?.props) {\n DividerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { orientation = 'horizontal', thickness = 1, color, ...rest } = merged;\n\n return { orientation, thickness, color, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useDividerStyle(logic: any) {\n const { theme } = useTheme();\n\n const isHorizontal = logic.orientation === 'horizontal';\n const bgColor = logic.color ? ((theme as any)?.[logic.color] || logic.color) : (theme?.border || '#e5e7eb');\n\n return {\n container: {\n backgroundColor: bgColor,\n // If horizontal, the height is the thickness and width fills the container.\n // If vertical, the width is the thickness and height fills the container.\n height: isHorizontal ? logic.thickness : '100%',\n width: isHorizontal ? '100%' : logic.thickness,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useDividerLogic, DividerProps } from './Divider.logic';\nimport { useDividerStyle } from './Divider.style';\n\n/**\n * A visual separator used to distinguish between different content sections.\n * \n * @description\n * The Divider component renders a thin line (horizontal or vertical) to visually break up\n * lists, layouts, or distinct conceptual areas of a screen.\n * \n * @useCases\n * - Separating items in a list or menu.\n * - Dividing the header from the main body content.\n * - Creating clear visual boundaries in dense data displays.\n * \n * @structure\n * - Wraps a simple styled `View` that manages its dimensions based on orientation and thickness.\n * \n * @accessibility\n * - Dividers are typically decorative. Consider applying `accessible={false}` and `importantForAccessibility=\"no\"` \n * so they are ignored by screen readers, unless they signify a semantic break that should be announced.\n */\nconst Divider: React.FC<DividerProps> = (rawProps) => {\n const logic = useDividerLogic(rawProps);\n const styles = useDividerStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest} />\n );\n};\n\nexport default Divider;\n","{\"name\":\"EmojiPicker\",\"description\":\"A grid of emojis categorized by type.\",\"tags\":[\"base\",\"input\",\"picker\",\"emoji\"],\"props\":[]}","import * as import_react from 'react';\nconst { useMemo, useState } = import_react;\nimport EmojiPickerMeta from './EmojiPicker.meta.yaml';\n\nexport interface EmojiPickerProps {\n /** Callback fired when an emoji is selected */\n onChange?: (emoji: string, isAnimated?: boolean) => void;\n /** Currently selected emoji */\n value?: string;\n /** Whether to show animated emojis toggle */\n showAnimated?: boolean;\n [key: string]: any;\n}\n\nconst EMOJI_CATEGORIES = [\n {\n name: 'Smileys',\n icon: '😀',\n emojis: [\n { emoji: '😀', hex: '1f600' },\n { emoji: '😂', hex: '1f602' },\n { emoji: '🥰', hex: '1f970' },\n { emoji: '😎', hex: '1f60e' },\n { emoji: '😭', hex: '1f62d' },\n { emoji: '😡', hex: '1f621' },\n { emoji: '🤔', hex: '1f914' },\n { emoji: '😴', hex: '1f634' },\n { emoji: '🫠', hex: '1fae0' },\n { emoji: '🥳', hex: '1f973' },\n ]\n },\n {\n name: 'Nature',\n icon: '🌸',\n emojis: [\n { emoji: '🌸', hex: '1f338' },\n { emoji: '🔥', hex: '1f525' },\n { emoji: '✨', hex: '2728' },\n { emoji: '🌟', hex: '1f31f' },\n { emoji: '☀️', hex: '2600' },\n { emoji: '🌈', hex: '1f308' },\n { emoji: '🌍', hex: '1f30d' },\n { emoji: '🍀', hex: '1f340' },\n ]\n },\n {\n name: 'Objects',\n icon: '🎈',\n emojis: [\n { emoji: '🎈', hex: '1f388' },\n { emoji: '🎁', hex: '1f381' },\n { emoji: '🎉', hex: '1f389' },\n { emoji: '💎', hex: '1f48e' },\n { emoji: '📱', hex: '1f4f1' },\n { emoji: '💡', hex: '1f4a1' },\n { emoji: '❤️', hex: '2764' },\n { emoji: '💔', hex: '1f494' },\n ]\n }\n];\n\nexport function useEmojiPickerLogic(props: EmojiPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (EmojiPickerMeta?.props) {\n EmojiPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { onChange, value, showAnimated = true, ...rest } = merged;\n\n const [activeType, setActiveType] = useState<'standard' | 'animated'>('standard');\n const [activeCategory, setActiveCategory] = useState<string>(EMOJI_CATEGORIES[0].name);\n\n // Map to Google Noto Emoji animated WebP dataset URL\n const getAnimatedUrl = (hex: string) => `https://fonts.gstatic.com/s/e/notoemoji/latest/${hex}/512.webp`;\n\n const activeEmojis = useMemo(() => {\n return EMOJI_CATEGORIES.find(c => c.name === activeCategory)?.emojis || [];\n }, [activeCategory]);\n\n return { \n onChange, \n value, \n showAnimated,\n activeType,\n setActiveType,\n activeCategory,\n setActiveCategory,\n categories: EMOJI_CATEGORIES,\n activeEmojis,\n getAnimatedUrl,\n rest \n };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet, Platform } from 'react-native';\n\nexport function useEmojiPickerStyle(logic: any) {\n return useMemo(() => {\n return StyleSheet.create({\n container: {\n padding: 16,\n backgroundColor: '#FFFFFF',\n borderRadius: 24,\n width: '100%',\n maxWidth: 400,\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.1,\n shadowRadius: 24,\n elevation: 8,\n },\n typeToggleContainer: {\n flexDirection: 'row',\n marginBottom: 16,\n backgroundColor: '#F1F5F9',\n borderRadius: 12,\n padding: 4,\n },\n typeBtn: {\n flex: 1,\n paddingVertical: 10,\n alignItems: 'center',\n borderRadius: 10,\n },\n typeBtnActive: {\n backgroundColor: '#FFFFFF',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 0.05,\n shadowRadius: 4,\n elevation: 2,\n },\n typeText: {\n fontSize: 14,\n fontWeight: '600',\n color: '#64748B',\n },\n typeTextActive: {\n color: '#0F172A',\n },\n categoriesScroll: {\n flexGrow: 0,\n marginBottom: 16,\n },\n categoriesContainer: {\n flexDirection: 'row',\n gap: 12,\n paddingBottom: 4,\n ...Platform.select({\n web: {\n // @ts-ignore\n overflowX: 'auto',\n }\n })\n },\n categoryBtn: {\n flexDirection: 'row',\n alignItems: 'center',\n paddingHorizontal: 12,\n paddingVertical: 8,\n borderRadius: 20,\n backgroundColor: '#F8FAFC',\n borderWidth: 1,\n borderColor: '#E2E8F0',\n gap: 6,\n marginRight: 8,\n },\n categoryBtnActive: {\n backgroundColor: '#EFF6FF',\n borderColor: '#BFDBFE',\n },\n categoryIcon: {\n fontSize: 14,\n },\n categoryText: {\n fontSize: 13,\n fontWeight: '600',\n color: '#475569',\n },\n categoryTextActive: {\n color: '#2563EB',\n },\n grid: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: 8,\n justifyContent: 'flex-start',\n },\n emojiBtn: {\n width: 52,\n height: 52,\n justifyContent: 'center',\n alignItems: 'center',\n borderRadius: 26,\n backgroundColor: '#FFFFFF',\n margin: 4,\n },\n selected: {\n backgroundColor: '#EFF6FF',\n borderWidth: 2,\n borderColor: '#3B82F6',\n },\n emojiText: {\n fontSize: 32,\n },\n animatedEmoji: {\n width: 40,\n height: 40,\n }\n });\n }, [logic]);\n}\n","import React from 'react';\nimport { View, Text, Pressable, ScrollView, Image } from 'react-native';\nimport { useEmojiPickerLogic, EmojiPickerProps } from './EmojiPicker.logic';\nimport { useEmojiPickerStyle } from './EmojiPicker.style';\n\n/**\n * @component EmojiPicker\n * @description A robust emoji picker with category-based selection and Google Noto Animated WebP support.\n */\nconst EmojiPicker: React.FC<EmojiPickerProps> = (rawProps) => {\n const logic = useEmojiPickerLogic(rawProps);\n const styles = useEmojiPickerStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n \n {logic.showAnimated && (\n <View style={styles.typeToggleContainer as any}>\n <Pressable \n style={[styles.typeBtn as any, logic.activeType === 'standard' && styles.typeBtnActive]}\n onPress={() => logic.setActiveType('standard')}\n >\n <Text style={[styles.typeText as any, logic.activeType === 'standard' && styles.typeTextActive]}>Standard</Text>\n </Pressable>\n <Pressable \n style={[styles.typeBtn as any, logic.activeType === 'animated' && styles.typeBtnActive]}\n onPress={() => logic.setActiveType('animated')}\n >\n <Text style={[styles.typeText as any, logic.activeType === 'animated' && styles.typeTextActive]}>Animated</Text>\n </Pressable>\n </View>\n )}\n\n <ScrollView horizontal showsHorizontalScrollIndicator={false} style={styles.categoriesScroll as any} contentContainerStyle={styles.categoriesContainer as any}>\n {logic.categories.map((cat) => (\n <Pressable \n key={cat.name} \n style={[styles.categoryBtn as any, logic.activeCategory === cat.name && styles.categoryBtnActive]}\n onPress={() => logic.setActiveCategory(cat.name)}\n >\n <Text style={styles.categoryIcon as any}>{cat.icon}</Text>\n <Text style={[styles.categoryText as any, logic.activeCategory === cat.name && styles.categoryTextActive]}>{cat.name}</Text>\n </Pressable>\n ))}\n </ScrollView>\n\n <ScrollView style={{ maxHeight: 250 }} showsVerticalScrollIndicator={false}>\n <View style={styles.grid as any}>\n {logic.activeEmojis.map((item) => (\n <Pressable \n key={item.hex} \n onPress={() => logic.onChange?.(item.emoji, logic.activeType === 'animated')} \n style={[styles.emojiBtn as any, logic.value === item.emoji && styles.selected]}\n >\n {logic.activeType === 'standard' ? (\n <Text style={styles.emojiText as any}>{item.emoji}</Text>\n ) : (\n <Image \n source={{ uri: logic.getAnimatedUrl(item.hex) }}\n style={styles.animatedEmoji as any}\n resizeMode=\"contain\"\n />\n )}\n </Pressable>\n ))}\n </View>\n </ScrollView>\n\n </View>\n );\n};\n\nexport default EmojiPicker;\n","{\"type\":\"component\",\"id\":\"FilePicker\",\"label\":\"File Picker\",\"description\":\"File/image upload input.\",\"category\":\"input\",\"tags\":[\"file\",\"upload\",\"image\",\"picker\",\"form\"],\"themeMapping\":{\"bg\":\"muted\",\"text\":\"foreground\",\"border\":\"border\",\"accent\":\"primary\"},\"variants\":[{\"name\":\"button\",\"label\":\"Button\",\"overrides\":{}},{\"name\":\"dropzone\",\"label\":\"Drop Zone\",\"overrides\":{}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"button\",\"options\":[\"button\",\"dropzone\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"accept\",\"label\":\"Accept types\",\"type\":\"string\",\"group\":\"behavior\",\"default\":\"image/*\"},{\"name\":\"multiple\",\"label\":\"Multiple\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Upload file\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"}]}","import { useMemo } from 'react';\nimport FilePickerMeta from './FilePicker.meta.yaml';\n\n/**\n * Props for the FilePicker component.\n */\nexport interface FilePickerProps {\n /**\n * Callback fired when a file is successfully selected.\n * @param file The file object returned by the document picker.\n */\n onFileSelect?: (file: any) => void;\n /**\n * Disables the file picker, preventing interaction if set to true.\n */\n disabled?: boolean;\n /**\n * The text label displayed inside the file picker button. Defaults to 'Select a file'.\n */\n label?: string;\n /**\n * Optional MIME type to restrict file selection (e.g. 'image/*').\n */\n accept?: string;\n /**\n * Any other props to spread to the underlying Pressable or container.\n */\n [key: string]: any;\n}\n\nexport function useFilePickerLogic(props: FilePickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FilePickerMeta?.props) {\n FilePickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { onFileSelect, disabled, label = 'Select a file', accept, ...rest } = merged;\n\n return { onFileSelect, disabled, label, accept, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useFilePickerStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n backgroundColor: theme?.secondary || '#f3f4f6',\n borderColor: theme?.border || '#e5e7eb',\n borderWidth: 1,\n borderStyle: 'dashed',\n borderRadius: 6,\n padding: 16,\n // Flexbox properties for centering the icon and text horizontally and vertically.\n alignItems: 'center',\n justifyContent: 'center',\n // Visual feedback for disabled state.\n opacity: logic.disabled ? 0.5 : 1,\n },\n label: {\n color: theme?.secondaryForeground || '#111827',\n fontSize: 14,\n fontWeight: '500',\n }\n };\n}\n","import React from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useFilePickerLogic, FilePickerProps } from './FilePicker.logic';\nimport { useFilePickerStyle } from './FilePicker.style';\nimport { Upload } from 'lucide-react-native';\nimport * as DocumentPicker from 'expo-document-picker';\n\n/**\n * FilePicker component provides a user interface to select documents or files from the device.\n * \n * Role & Use Cases:\n * Primarily used in forms or settings pages where users need to upload documents, images, or other files.\n * It leverages the `expo-document-picker` to trigger the native file selection UI.\n * \n * Structure:\n * Renders a visually accessible `Pressable` container wrapping an upload icon and a text label.\n * \n * Accessibility:\n * Uses `accessibilityRole=\"button\"` and `accessibilityLabel` to ensure screen readers correctly identify it as an interactive element.\n */\nconst FilePicker: React.FC<FilePickerProps> = (rawProps) => {\n const logic = useFilePickerLogic(rawProps);\n const styles = useFilePickerStyle(logic);\n\n const handlePick = async () => {\n try {\n const result = await DocumentPicker.getDocumentAsync({\n type: logic.accept || '*/*',\n copyToCacheDirectory: true,\n });\n \n if (!result.canceled && logic.onFileSelect) {\n logic.onFileSelect(result.assets[0]);\n }\n } catch (e) {\n console.warn('Document picker error:', e);\n }\n };\n\n return (\n <Pressable \n style={[styles.container as any, logic.rest.style]} \n disabled={logic.disabled}\n onPress={handlePick}\n accessibilityRole=\"button\"\n accessibilityLabel={logic.label || \"Pick a file\"}\n >\n <Upload size={24} color={styles.label?.color as string || '#000'} style={{ marginBottom: 8 }} />\n <Text style={styles.label as any}>{logic.label || \"Select File\"}</Text>\n </Pressable>\n );\n};\n\nexport default FilePicker;\n","{\"type\":\"component\",\"id\":\"FlatList\",\"label\":\"List\",\"description\":\"Scrollable list with virtualization.\",\"category\":\"display\",\"tags\":[\"list\",\"flatlist\",\"scroll\",\"virtualized\"],\"themeMapping\":{\"bg\":\"background\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"horizontal\",\"label\":\"Horizontal\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"numColumns\",\"label\":\"Columns\",\"type\":\"number\",\"group\":\"layout\",\"default\":1},{\"name\":\"spacing\",\"label\":\"Item spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"showsScrollIndicator\",\"label\":\"Scroll indicator\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"}]}","import { useMemo } from 'react';\nimport FlatListMeta from './FlatList.meta.yaml';\n\n/**\n * Props for the FlatList component.\n */\nexport interface FlatListProps {\n /**\n * An array of data objects to be rendered as a list.\n */\n data: any[];\n /**\n * Function that takes an item from the data array and returns a React element to render.\n */\n renderItem: ({ item, index }: { item: any; index: number }) => React.ReactNode;\n /**\n * Function to extract a unique key for a given item at the specified index.\n * If not provided, it defaults to using `item.id` or the index as a fallback.\n */\n keyExtractor?: (item: any, index: number) => string;\n /**\n * If true, renders items horizontally instead of vertically.\n */\n horizontal?: boolean;\n /**\n * Additional properties to pass directly to the React Native FlatList.\n */\n [key: string]: any;\n}\n\nexport function useFlatListLogic(props: FlatListProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FlatListMeta?.props) {\n FlatListMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { data = [], renderItem, keyExtractor, horizontal, ...rest } = merged;\n\n const safeKeyExtractor = keyExtractor || ((item: any, index: number) => item?.id || String(index));\n\n return { data, renderItem, keyExtractor: safeKeyExtractor, horizontal, rest };\n}\n","\nexport function useFlatListStyle(logic: any) {\n return {\n container: {\n // flex: 1 ensures the list expands to fill the available vertical space in its parent container.\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { FlatList as RNFlatList } from 'react-native';\nimport { useFlatListLogic, FlatListProps } from './FlatList.logic';\nimport { useFlatListStyle } from './FlatList.style';\n\n/**\n * FlatList component is a wrapper around React Native's FlatList for efficient rendering of large data lists.\n * \n * Role & Use Cases:\n * Use this component whenever you need to display a scrollable list of items, such as feeds, contact lists, or menus.\n * It is highly performant as it only renders items currently visible on the screen.\n * \n * Structure:\n * Extends the native `FlatList` and automatically applies theme-based styling and meta configurations.\n * \n * Accessibility:\n * Inherits the standard list accessibility features from React Native. Ensure to pass appropriate accessibility props to the `renderItem` components.\n */\nconst FlatList: React.FC<FlatListProps> = (rawProps) => {\n const logic = useFlatListLogic(rawProps);\n const styles = useFlatListStyle(logic);\n\n return (\n <RNFlatList\n style={[styles.container as any, logic.rest.style]}\n data={logic.data}\n renderItem={logic.renderItem as any}\n keyExtractor={logic.keyExtractor}\n horizontal={logic.horizontal}\n {...logic.rest}\n />\n );\n};\n\nexport default FlatList;\n","{\"name\":\"GifPicker\",\"description\":\"A placeholder picker for GIFs.\",\"tags\":[\"base\",\"input\",\"picker\",\"gif\"],\"props\":[]}","import { useMemo, useState, useEffect } from 'react';\nimport GifPickerMeta from './GifPicker.meta.yaml';\n\n/**\n * Interface representing a GIF item.\n */\nexport interface GifItem {\n /** Unique ID for the GIF */\n id: string;\n /** URL of the GIF image */\n url: string;\n /** Title or description of the GIF */\n title: string;\n}\n\n/**\n * Props for the GifPicker component.\n */\nexport interface GifPickerProps {\n /** Callback fired when a GIF is selected */\n onChange?: (gifUrl: string) => void;\n /** Currently selected GIF URL */\n value?: string;\n /** Optional API key for Giphy/Tenor (mocked if not provided) */\n apiKey?: string;\n /** Optional limit of GIFs to fetch */\n limit?: number;\n /** Custom styles */\n style?: any;\n /** Any other props */\n [key: string]: any;\n}\n\n// Mock GIFs to simulate API data\nconst MOCK_GIFS: GifItem[] = [\n { id: '1', url: 'https://media.giphy.com/media/l41YkxvU8c7J7Bba0/giphy.gif', title: 'Funny Cat' },\n { id: '2', url: 'https://media.giphy.com/media/3o7TKSjRrfIPjeiVyM/giphy.gif', title: 'Happy Dance' },\n { id: '3', url: 'https://media.giphy.com/media/26AHONQ79FdWZhAI0/giphy.gif', title: 'Mind Blown' },\n { id: '4', url: 'https://media.giphy.com/media/xT0xeJpnrWC4XWblWQ/giphy.gif', title: 'Thumbs Up' },\n { id: '5', url: 'https://media.giphy.com/media/l0HlBO7eyXzSZkJri/giphy.gif', title: 'Laughter' },\n { id: '6', url: 'https://media.giphy.com/media/3o6Zt481isNVuQI1l6/giphy.gif', title: 'Crying' },\n { id: '7', url: 'https://media.giphy.com/media/26gsa1yJkqYJpZpXG/giphy.gif', title: 'Surprise' },\n { id: '8', url: 'https://media.giphy.com/media/3oEduYmB0t5Vj028sE/giphy.gif', title: 'Shrug' }\n];\n\n/**\n * Logic hook for the GifPicker component.\n */\nexport function useGifPickerLogic(props: GifPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (GifPickerMeta?.props) {\n GifPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { onChange, value, apiKey, limit = 20, ...rest } = merged;\n\n const [searchQuery, setSearchQuery] = useState<string>('');\n const [debouncedQuery, setDebouncedQuery] = useState<string>('');\n const [gifs, setGifs] = useState<GifItem[]>([]);\n const [loading, setLoading] = useState<boolean>(true);\n\n // Debounce the search query to minimize API calls\n useEffect(() => {\n const timer = setTimeout(() => {\n setDebouncedQuery(searchQuery);\n }, 500);\n return () => clearTimeout(timer);\n }, [searchQuery]);\n\n // Fetch GIFs (mocked API call)\n useEffect(() => {\n let isMounted = true;\n const fetchGifs = async () => {\n setLoading(true);\n \n // Simulate network latency\n await new Promise(resolve => setTimeout(resolve, 600));\n\n if (!isMounted) return;\n\n if (!debouncedQuery) {\n setGifs(MOCK_GIFS);\n } else {\n // Mock search logic\n const q = debouncedQuery.toLowerCase();\n const results = MOCK_GIFS.filter(g => g.title.toLowerCase().includes(q));\n // If empty, just return a random subset to simulate \"some results\"\n setGifs(results.length > 0 ? results : MOCK_GIFS.slice(0, 3));\n }\n setLoading(false);\n };\n\n fetchGifs();\n\n return () => { isMounted = false; };\n }, [debouncedQuery, limit, apiKey]);\n\n const selectGif = (url: string) => {\n if (onChange) onChange(url);\n };\n\n return { \n value, \n selectGif, \n searchQuery, \n setSearchQuery, \n gifs, \n loading, \n rest \n };\n}\n","import { useMemo } from 'react';\n\nexport function useGifPickerStyle(logic: any) {\n return useMemo(() => ({\n container: {\n padding: 20,\n backgroundColor: '#FFFFFF',\n borderRadius: 24,\n width: '100%',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.1,\n shadowRadius: 24,\n elevation: 8,\n borderWidth: 1,\n borderColor: '#F0F0F0',\n },\n header: {\n marginBottom: 16,\n },\n title: {\n fontSize: 18,\n fontWeight: '700',\n color: '#1A202C',\n },\n searchContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n backgroundColor: '#F7FAFC',\n borderRadius: 12,\n borderWidth: 1,\n borderColor: '#E2E8F0',\n paddingHorizontal: 12,\n marginBottom: 20,\n },\n searchIcon: {\n marginRight: 8,\n },\n searchInput: {\n flex: 1,\n paddingVertical: 12,\n fontSize: 16,\n color: '#2D3748',\n },\n clearBtn: {\n padding: 4,\n },\n grid: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: 12,\n justifyContent: 'space-between',\n },\n gifBtn: {\n width: '48%', // Masonry-like 2 columns\n height: 140,\n borderRadius: 12,\n overflow: 'hidden',\n backgroundColor: '#F7FAFC',\n marginBottom: 12,\n borderWidth: 2,\n borderColor: 'transparent',\n position: 'relative',\n },\n gifBtnSelected: {\n borderColor: '#3182CE',\n },\n gifImg: {\n width: '100%',\n height: '100%',\n },\n selectedOverlay: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgba(49, 130, 206, 0.4)',\n justifyContent: 'center',\n alignItems: 'center',\n },\n loadingContainer: {\n padding: 40,\n alignItems: 'center',\n justifyContent: 'center',\n },\n loadingText: {\n marginTop: 12,\n fontSize: 14,\n color: '#718096',\n fontWeight: '500',\n },\n emptyContainer: {\n padding: 40,\n alignItems: 'center',\n justifyContent: 'center',\n },\n emptyText: {\n marginTop: 12,\n fontSize: 16,\n color: '#A0AEC0',\n fontWeight: '500',\n }\n }), [logic]);\n}\n","import React from 'react';\nimport { View, TextInput, Pressable, ScrollView, Image, ActivityIndicator, Text } from 'react-native';\nimport { Feather } from '@expo/vector-icons';\nimport { useGifPickerLogic, GifPickerProps, GifItem } from './GifPicker.logic';\nimport { useGifPickerStyle } from './GifPicker.style';\n\n/**\n * @component GifPicker\n * @description A robust GIF picker that integrates searching and selecting animated GIFs, fully typed and styled.\n */\nconst GifPicker: React.FC<GifPickerProps> = (rawProps) => {\n const logic = useGifPickerLogic(rawProps);\n const styles = useGifPickerStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n \n <View style={styles.header as any}>\n <Text style={styles.title as any}>Choose a GIF</Text>\n </View>\n \n <View style={styles.searchContainer as any}>\n <Feather name=\"search\" size={20} color=\"#888\" style={styles.searchIcon as any} />\n <TextInput \n style={styles.searchInput as any}\n placeholder=\"Search GIFs via Tenor/Giphy...\"\n placeholderTextColor=\"#888\"\n value={logic.searchQuery}\n onChangeText={logic.setSearchQuery}\n />\n {logic.searchQuery.length > 0 && (\n <Pressable onPress={() => logic.setSearchQuery('')} style={styles.clearBtn as any}>\n <Feather name=\"x-circle\" size={18} color=\"#888\" />\n </Pressable>\n )}\n </View>\n\n <ScrollView style={{ maxHeight: 400 }} showsVerticalScrollIndicator={false}>\n {logic.loading ? (\n <View style={styles.loadingContainer as any}>\n <ActivityIndicator size=\"large\" color=\"#3182CE\" />\n <Text style={styles.loadingText as any}>Loading amazing GIFs...</Text>\n </View>\n ) : logic.gifs.length === 0 ? (\n <View style={styles.emptyContainer as any}>\n <Feather name=\"image\" size={48} color=\"#CCCCCC\" />\n <Text style={styles.emptyText as any}>No GIFs found.</Text>\n </View>\n ) : (\n <View style={styles.grid as any}>\n {logic.gifs.map((gif: GifItem) => {\n const isSelected = logic.value === gif.url;\n return (\n <Pressable \n key={gif.id} \n onPress={() => logic.selectGif(gif.url)} \n style={[styles.gifBtn as any, isSelected && styles.gifBtnSelected]}\n >\n <Image \n source={{ uri: gif.url }} \n style={styles.gifImg as any} \n resizeMode=\"cover\" \n />\n {isSelected && (\n <View style={styles.selectedOverlay as any}>\n <Feather name=\"check-circle\" size={24} color=\"#FFFFFF\" />\n </View>\n )}\n </Pressable>\n );\n })}\n </View>\n )}\n </ScrollView>\n\n </View>\n );\n};\n\nexport default GifPicker;\n","{\"type\":\"component\",\"id\":\"Gradient\",\"label\":\"Gradient\",\"description\":\"Linear gradient background container.\",\"category\":\"display\",\"tags\":[\"gradient\",\"linear\",\"background\",\"color\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"startColor\",\"label\":\"Start color\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#3b82f6\"},{\"name\":\"endColor\",\"label\":\"End color\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#8b5cf6\"},{\"name\":\"direction\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"vertical\",\"options\":[\"vertical\",\"horizontal\",\"diagonal\"]},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"}]}","import { useMemo } from 'react';\nimport GradientMeta from './Gradient.meta.yaml';\n\n/**\n * Props for the Gradient component.\n */\nexport interface GradientProps {\n /**\n * An array of colors that represent the stops in the gradient.\n * e.g., ['#ff0000', '#00ff00']\n */\n colors: string[];\n /**\n * Optional starting coordinate of the gradient, specified as { x, y } where x and y are between 0 and 1.\n */\n start?: { x: number; y: number };\n /**\n * Optional ending coordinate of the gradient, specified as { x, y } where x and y are between 0 and 1.\n */\n end?: { x: number; y: number };\n /**\n * Child components to render inside the gradient view.\n */\n children?: React.ReactNode;\n /**\n * Additional properties to spread to the underlying linear gradient component.\n */\n [key: string]: any;\n}\n\nexport function useGradientLogic(props: GradientProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (GradientMeta?.props) {\n GradientMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { colors = ['#000', '#fff'], start, end, children, ...rest } = merged;\n\n return { colors, start, end, children, rest };\n}\n","\nexport function useGradientStyle(logic: any) {\n return {\n container: {\n // flex: 1 ensures the gradient expands to fill the available space in its container,\n // allowing it to serve as a background layer.\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useGradientLogic, GradientProps } from './Gradient.logic';\nimport { useGradientStyle } from './Gradient.style';\n// Using expo-linear-gradient\nimport { LinearGradient } from 'expo-linear-gradient';\n\n/**\n * Gradient component applies a linear color gradient to its children or background.\n * \n * Role & Use Cases:\n * Used for decorative backgrounds, stylized buttons, or overlay effects to enhance the visual design.\n * \n * Structure:\n * Wraps `expo-linear-gradient` to provide a consistent API and theming.\n * \n * Accessibility:\n * Primarily a visual enhancement. If the gradient contains important content, ensure the children themselves are accessible.\n */\nconst Gradient: React.FC<GradientProps> = (rawProps) => {\n const logic = useGradientLogic(rawProps);\n const styles = useGradientStyle(logic);\n\n return (\n <LinearGradient\n colors={logic.colors}\n start={logic.start}\n end={logic.end}\n style={[styles.container as any, logic.rest.style]}\n >\n {logic.children}\n </LinearGradient>\n );\n};\n\nexport default Gradient;\n","{\"type\":\"component\",\"id\":\"Icon\",\"label\":\"Icon\",\"description\":\"Vector icon from Feather icon set.\",\"category\":\"display\",\"tags\":[\"icon\",\"feather\",\"vector\",\"symbol\"],\"themeMapping\":{\"color\":\"foreground\"},\"variants\":[],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"name\",\"label\":\"Icon name\",\"type\":\"string\",\"group\":\"content\",\"default\":\"star\"},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"number\",\"group\":\"style\",\"default\":24},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"foreground\"},{\"name\":\"strokeWidth\",\"label\":\"Stroke width\",\"type\":\"number\",\"group\":\"style\",\"default\":2}]}","import { useMemo } from 'react';\nimport IconMeta from './Icon.meta.yaml';\n\n/**\n * Props for the Icon component.\n */\nexport interface IconProps {\n /**\n * The name of the icon to render, corresponding to a component name in `lucide-react-native`.\n * e.g., 'Home', 'Settings'.\n */\n name: string;\n /**\n * The size of the icon in pixels. Defaults to 24.\n */\n size?: number;\n /**\n * The color of the icon. Falls back to the theme's foreground color if not specified.\n */\n color?: string;\n /**\n * Additional props to pass to the wrapping View container.\n */\n [key: string]: any;\n}\n\nexport function useIconLogic(props: IconProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (IconMeta?.props) {\n IconMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { name, size, color, ...rest } = merged;\n\n return { name, size, color, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useIconStyle(logic: any) {\n const { theme } = useTheme();\n return {\n // Resolves the color dynamically from the theme if not explicitly provided via props.\n color: logic.color || theme?.foreground || '#000000',\n // Sets a default bounding size for the icon to maintain visual consistency.\n size: logic.size || 24,\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useIconLogic, IconProps } from './Icon.logic';\nimport { useIconStyle } from './Icon.style';\nimport * as LucideIcons from 'lucide-react-native';\n\n/**\n * Icon component provides a generic wrapper for rendering vector icons.\n * \n * Role & Use Cases:\n * Used to display visual symbols for actions, navigation, or status.\n * Relies on `lucide-react-native` for the icon set.\n * \n * Structure:\n * Dynamically imports and renders an icon based on the provided name string. Fallbacks to `HelpCircle` if the name is not found.\n * \n * Accessibility:\n * Decorative by default. Wrap in a `Pressable` with an `accessibilityLabel` or add accessibility props if the icon conveys standalone semantic meaning.\n */\nconst Icon: React.FC<IconProps> = (rawProps) => {\n const logic = useIconLogic(rawProps);\n const styles = useIconStyle(logic);\n \n // Dynamic icon component\n const IconComponent = (LucideIcons as any)[logic.name] || LucideIcons.HelpCircle;\n\n return (\n <View style={logic.rest.style}>\n <IconComponent size={styles.size} color={styles.color} />\n </View>\n );\n};\n\nexport default Icon;\n","{\"type\":\"component\",\"id\":\"IconButton\",\"label\":\"Icon Button\",\"description\":\"Pressable icon-only button.\",\"category\":\"action\",\"tags\":[\"icon\",\"button\",\"action\"],\"themeMapping\":{\"bg\":\"muted\",\"icon\":\"foreground\"},\"variants\":[{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{}},{\"name\":\"ghost\",\"label\":\"Ghost\",\"overrides\":{\"bg\":\"transparent\"}},{\"name\":\"outline\",\"label\":\"Outline\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":1}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"width\":32,\"iconSize\":16},\"md\":{\"height\":40,\"width\":40,\"iconSize\":20},\"lg\":{\"height\":48,\"width\":48,\"iconSize\":24}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"ghost\",\"options\":[\"filled\",\"ghost\",\"outline\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"full\"},{\"name\":\"color\",\"label\":\"Icon color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"foreground\"}]}","import { useMemo } from 'react';\nimport IconButtonMeta from './IconButton.meta.yaml';\n\n/**\n * Props for the IconButton component.\n */\nexport interface IconButtonProps {\n /**\n * The name of the icon to display, corresponding to a `lucide-react-native` component.\n */\n icon: string;\n /**\n * Callback executed when the button is pressed.\n */\n onPress?: () => void;\n /**\n * The size of the icon in pixels. The button container will scale accordingly.\n */\n size?: number;\n /**\n * Disables the button, applying a visual opacity and preventing interaction.\n */\n disabled?: boolean;\n /**\n * Visual variant of the button:\n * - 'default': Solid background with primary theme colors.\n * - 'ghost': Transparent background.\n * - 'outline': Transparent background with a border.\n */\n variant?: 'default' | 'ghost' | 'outline';\n /**\n * Additional props to pass down to the wrapping Pressable component.\n */\n [key: string]: any;\n}\n\nexport function useIconButtonLogic(props: IconButtonProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (IconButtonMeta?.props) {\n IconButtonMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { icon, onPress, size, disabled, variant, ...rest } = merged;\n\n return { icon, onPress, size, disabled, variant, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useIconButtonStyle(logic: any) {\n const { theme } = useTheme();\n \n let bgColor = 'transparent';\n let iconColor = theme?.foreground || '#000000';\n let borderColor = 'transparent';\n \n if (logic.variant === 'default') {\n bgColor = theme?.primary || '#000000';\n iconColor = theme?.primaryForeground || '#ffffff';\n } else if (logic.variant === 'outline') {\n borderColor = theme?.border || '#e5e7eb';\n }\n\n const dim = (logic.size || 24) + 16;\n\n return {\n container: {\n width: dim,\n height: dim,\n // Ensures a perfectly circular button layout.\n borderRadius: dim / 2,\n backgroundColor: bgColor,\n borderColor: borderColor,\n borderWidth: logic.variant === 'outline' ? 1 : 0,\n // Flexbox properties to center the icon both vertically and horizontally.\n justifyContent: 'center',\n alignItems: 'center',\n // Visual feedback when the button is disabled.\n opacity: logic.disabled ? 0.5 : 1,\n },\n iconSize: logic.size || 24,\n iconColor: iconColor\n };\n}\n","import React from 'react';\nimport { Pressable } from 'react-native';\nimport { useIconButtonLogic, IconButtonProps } from './IconButton.logic';\nimport { useIconButtonStyle } from './IconButton.style';\nimport * as LucideIcons from 'lucide-react-native';\n\n/**\n * IconButton component renders a pressable icon with customizable variants and sizes.\n * \n * Role & Use Cases:\n * Ideal for standalone icon actions like 'close', 'edit', 'favorite', or navigation triggers.\n * \n * Structure:\n * Wraps a dynamic vector icon (`lucide-react-native`) inside a `Pressable`.\n * Supports theming variants ('default', 'ghost', 'outline').\n * \n * Accessibility:\n * Includes `accessibilityRole=\"button\"`. Ensure consumers provide a meaningful `accessibilityLabel` \n * (via `rest` props) since icons do not contain visible text.\n */\nconst IconButton: React.FC<IconButtonProps> = (rawProps) => {\n const logic = useIconButtonLogic(rawProps);\n const styles = useIconButtonStyle(logic);\n \n const IconComponent = (LucideIcons as any)[logic.icon] || LucideIcons.HelpCircle;\n\n return (\n <Pressable \n style={[styles.container as any, logic.rest.style]} \n onPress={logic.onPress} \n disabled={logic.disabled}\n accessibilityRole=\"button\"\n >\n <IconComponent size={styles.iconSize} color={styles.iconColor} />\n </Pressable>\n );\n};\n\nexport default IconButton;\n","{\"name\":\"IconPicker\",\"description\":\"A searchable grid of icons.\",\"tags\":[\"base\",\"input\",\"picker\",\"icon\"],\"props\":[]}","import { useMemo, useState } from 'react';\nimport IconPickerMeta from './IconPicker.meta.yaml';\n\n/**\n * Props for the IconPicker component.\n */\nexport interface IconPickerProps {\n /** Callback fired when an icon is selected */\n onChange?: (iconName: string) => void;\n /** Currently selected icon */\n value?: string;\n /** Custom styles */\n style?: any;\n /** Catch-all for other props */\n [key: string]: any;\n}\n\n/**\n * Logic hook for the IconPicker component.\n */\nexport function useIconPickerLogic(props: IconPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (IconPickerMeta?.props) {\n IconPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { onChange, value, ...rest } = merged;\n\n const [searchQuery, setSearchQuery] = useState<string>('');\n\n // Comprehensive list of popular Feather icons\n const allIcons: string[] = useMemo(() => [\n 'activity', 'airplay', 'alert-circle', 'alert-octagon', 'alert-triangle', \n 'align-center', 'align-justify', 'align-left', 'align-right', 'anchor', \n 'aperture', 'archive', 'arrow-down', 'arrow-left', 'arrow-right', 'arrow-up', \n 'award', 'bar-chart', 'battery', 'bell', 'bluetooth', 'book', 'bookmark', \n 'box', 'briefcase', 'calendar', 'camera', 'cast', 'check', 'check-circle', \n 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'clipboard', \n 'clock', 'cloud', 'cloud-drizzle', 'cloud-lightning', 'cloud-off', 'cloud-rain', \n 'cloud-snow', 'code', 'codepen', 'command', 'compass', 'copy', 'corner-down-left', \n 'corner-down-right', 'corner-left-down', 'corner-left-up', 'corner-right-down', \n 'corner-right-up', 'corner-up-left', 'corner-up-right', 'cpu', 'credit-card', \n 'crop', 'crosshair', 'database', 'delete', 'disc', 'download', 'download-cloud', \n 'droplet', 'edit', 'edit-2', 'edit-3', 'external-link', 'eye', 'eye-off', \n 'fast-forward', 'feather', 'file', 'file-minus', 'file-plus', 'file-text', \n 'film', 'filter', 'flag', 'folder', 'folder-minus', 'folder-plus', 'gift', \n 'github', 'gitlab', 'globe', 'grid', 'hash', 'headphones', 'heart', 'help-circle', \n 'home', 'image', 'inbox', 'info', 'instagram', 'italic', 'key', 'layers', \n 'layout', 'life-buoy', 'link', 'link-2', 'list', 'loader', 'lock', 'log-in', \n 'log-out', 'mail', 'map', 'map-pin', 'maximize', 'maximize-2', 'menu', 'message-circle', \n 'message-square', 'mic', 'mic-off', 'minimize', 'minimize-2', 'minus', 'minus-circle', \n 'minus-square', 'monitor', 'moon', 'more-horizontal', 'more-vertical', 'mouse-pointer', \n 'move', 'music', 'navigation', 'navigation-2', 'octagon', 'package', 'paperclip', \n 'pause', 'pause-circle', 'pen-tool', 'percent', 'phone', 'phone-call', 'phone-forwarded', \n 'phone-incoming', 'phone-missed', 'phone-off', 'phone-outgoing', 'pie-chart', \n 'play', 'play-circle', 'plus', 'plus-circle', 'plus-square', 'pocket', 'power', \n 'printer', 'radio', 'refresh-ccw', 'refresh-cw', 'repeat', 'rewind', 'rotate-ccw', \n 'rotate-cw', 'rss', 'save', 'scissors', 'search', 'send', 'server', 'settings', \n 'share', 'share-2', 'shield', 'shield-off', 'shopping-bag', 'shopping-cart', \n 'shuffle', 'sidebar', 'skip-back', 'skip-forward', 'slack', 'slash', 'sliders', \n 'smartphone', 'smile', 'speaker', 'square', 'star', 'stop-circle', 'sun', \n 'sunrise', 'sunset', 'tablet', 'tag', 'target', 'terminal', 'thermometer', \n 'thumbs-down', 'thumbs-up', 'toggle-left', 'toggle-right', 'trash', 'trash-2', \n 'trello', 'trending-down', 'trending-up', 'triangle', 'truck', 'tv', 'twitter', \n 'type', 'umbrella', 'underline', 'unlock', 'upload', 'upload-cloud', 'user', \n 'user-check', 'user-minus', 'user-plus', 'user-x', 'users', 'video', 'video-off', \n 'voicemail', 'volume', 'volume-1', 'volume-2', 'volume-x', 'watch', 'wifi', \n 'wifi-off', 'wind', 'x', 'x-circle', 'x-square', 'youtube', 'zap', 'zap-off', \n 'zoom-in', 'zoom-out'\n ], []);\n\n const filteredIcons: string[] = useMemo(() => {\n if (!searchQuery) return allIcons;\n return allIcons.filter((i) => i.toLowerCase().includes(searchQuery.toLowerCase()));\n }, [searchQuery, allIcons]);\n\n const selectIcon = (iconName: string) => {\n if (onChange) onChange(iconName);\n };\n\n return { \n value, \n selectIcon, \n searchQuery, \n setSearchQuery, \n filteredIcons, \n rest \n };\n}\n","import { useMemo } from 'react';\n\nexport function useIconPickerStyle(logic: any) {\n return useMemo(() => ({\n container: {\n padding: 20,\n backgroundColor: '#FFFFFF',\n borderRadius: 24,\n width: '100%',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.1,\n shadowRadius: 24,\n elevation: 8,\n borderWidth: 1,\n borderColor: '#F0F0F0',\n },\n header: {\n marginBottom: 16,\n },\n title: {\n fontSize: 18,\n fontWeight: '700',\n color: '#1A202C',\n },\n searchContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n backgroundColor: '#F7FAFC',\n borderRadius: 12,\n borderWidth: 1,\n borderColor: '#E2E8F0',\n paddingHorizontal: 12,\n marginBottom: 20,\n },\n searchIcon: {\n marginRight: 8,\n },\n searchInput: {\n flex: 1,\n paddingVertical: 12,\n fontSize: 16,\n color: '#2D3748',\n },\n clearBtn: {\n padding: 4,\n },\n grid: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: 12,\n justifyContent: 'flex-start',\n },\n iconBtn: {\n width: '21%',\n aspectRatio: 1,\n justifyContent: 'center',\n alignItems: 'center',\n borderRadius: 16,\n backgroundColor: '#F7FAFC',\n borderWidth: 1,\n borderColor: '#E2E8F0',\n },\n iconBtnSelected: {\n backgroundColor: '#3182CE',\n borderColor: '#3182CE',\n shadowColor: '#3182CE',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.3,\n shadowRadius: 8,\n elevation: 4,\n },\n emptyContainer: {\n padding: 40,\n alignItems: 'center',\n justifyContent: 'center',\n },\n emptyText: {\n marginTop: 12,\n fontSize: 16,\n color: '#A0AEC0',\n fontWeight: '500',\n }\n }), [logic]);\n}\n","import React from 'react';\nimport { View, TextInput, Pressable, ScrollView, Text } from 'react-native';\nimport { Feather } from '@expo/vector-icons';\nimport { useIconPickerLogic, IconPickerProps } from './IconPicker.logic';\nimport { useIconPickerStyle } from './IconPicker.style';\n\n/**\n * @component IconPicker\n * @description A robust icon picker with a searchable grid of standard icons. Beautifully styled and typed.\n */\nconst IconPicker: React.FC<IconPickerProps> = (rawProps) => {\n const logic = useIconPickerLogic(rawProps);\n const styles = useIconPickerStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.header as any}>\n <Text style={styles.title as any}>Select an Icon</Text>\n </View>\n \n <View style={styles.searchContainer as any}>\n <Feather name=\"search\" size={20} color=\"#888\" style={styles.searchIcon as any} />\n <TextInput \n style={styles.searchInput as any}\n placeholder=\"Search icons...\"\n placeholderTextColor=\"#888\"\n value={logic.searchQuery}\n onChangeText={logic.setSearchQuery}\n />\n {logic.searchQuery.length > 0 && (\n <Pressable onPress={() => logic.setSearchQuery('')} style={styles.clearBtn as any}>\n <Feather name=\"x-circle\" size={18} color=\"#888\" />\n </Pressable>\n )}\n </View>\n\n <ScrollView style={{ maxHeight: 350 }} showsVerticalScrollIndicator={false}>\n {logic.filteredIcons.length === 0 ? (\n <View style={styles.emptyContainer as any}>\n <Feather name=\"inbox\" size={48} color=\"#CCCCCC\" />\n <Text style={styles.emptyText as any}>No icons found.</Text>\n </View>\n ) : (\n <View style={styles.grid as any}>\n {logic.filteredIcons.map((iconName: string) => {\n const isSelected = logic.value === iconName;\n return (\n <Pressable \n key={iconName} \n onPress={() => logic.selectIcon(iconName)} \n style={[styles.iconBtn as any, isSelected && styles.iconBtnSelected]}\n >\n <Feather \n name={iconName as any} \n size={24} \n color={isSelected ? '#FFFFFF' : '#4A5568'} \n />\n </Pressable>\n );\n })}\n </View>\n )}\n </ScrollView>\n </View>\n );\n};\n\nexport default IconPicker;\n","{\"type\":\"component\",\"id\":\"Image\",\"label\":\"Image\",\"description\":\"Image component with source, resize mode, and placeholder.\",\"category\":\"display\",\"tags\":[\"image\",\"photo\",\"picture\",\"media\"],\"themeMapping\":{\"bg\":\"muted\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"source\",\"label\":\"Source URL\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"alt\",\"label\":\"Alt text\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"resizeMode\",\"label\":\"Resize mode\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"cover\",\"options\":[\"cover\",\"contain\",\"stretch\",\"center\"]},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":200},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Placeholder bg\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"}]}","import { useMemo } from 'react';\nimport ImageMeta from './Image.meta.yaml';\n\n/**\n * Props for the Image component.\n */\nexport interface ImageProps {\n /**\n * The source URI of the image to display.\n */\n src: string;\n /**\n * Alternative text description for accessibility.\n */\n alt?: string;\n /**\n * Determines how the image should be resized to fit its container.\n * Maps to `expo-image`'s `contentFit` prop.\n * - 'cover': Scales the image uniformly so both dimensions are equal to or greater than the corresponding limits.\n * - 'contain': Scales the image uniformly so both dimensions are equal to or less than the corresponding limits.\n * - 'stretch': Scales the image non-uniformly to exactly match the container bounds.\n */\n resizeMode?: 'cover' | 'contain' | 'stretch';\n /**\n * Additional props to pass to the outer container View.\n */\n [key: string]: any;\n}\n\nexport function useImageLogic(props: ImageProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ImageMeta?.props) {\n ImageMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { src, alt, resizeMode, ...rest } = merged;\n\n return { src, alt, resizeMode, rest };\n}\n","\nexport function useImageStyle(logic: any) {\n return {\n container: {\n // Prevents the image from rendering outside the boundaries of this container,\n // particularly useful when applying border radii to the container.\n overflow: 'hidden',\n },\n image: {\n // Ensures the ExpoImage element fills the entire container by default.\n width: '100%',\n height: '100%',\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useImageLogic, ImageProps } from './Image.logic';\nimport { useImageStyle } from './Image.style';\nimport { Image as ExpoImage } from 'expo-image';\n\n/**\n * Image component provides a highly performant image renderer using `expo-image`.\n * \n * Role & Use Cases:\n * Use for rendering local, remote, or cached images across the application.\n * Excellent for lists and grids due to its high performance and caching capabilities.\n * \n * Structure:\n * Wraps `ExpoImage` inside a generic `View` to allow consistent container styling.\n * Applies a default 200ms transition for smooth loading.\n * \n * Accessibility:\n * Utilizes the `accessibilityLabel` mapped from the `alt` prop to ensure screen readers can describe the image.\n */\nconst Image: React.FC<ImageProps> = (rawProps) => {\n const logic = useImageLogic(rawProps);\n const styles = useImageStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <ExpoImage \n source={{ uri: logic.src }} \n style={styles.image as any} \n contentFit={logic.resizeMode === 'cover' ? 'cover' : logic.resizeMode === 'contain' ? 'contain' : 'fill'}\n accessibilityLabel={logic.alt}\n transition={200}\n />\n </View>\n );\n};\n\nexport default Image;\n","{\"type\":\"component\",\"id\":\"LottieAnimation\",\"label\":\"Lottie\",\"description\":\"Lottie animation player.\",\"category\":\"media\",\"tags\":[\"lottie\",\"animation\",\"motion\",\"json\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"source\",\"label\":\"Source URL\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"autoPlay\",\"label\":\"Auto play\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"loop\",\"label\":\"Loop\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"speed\",\"label\":\"Speed\",\"type\":\"number\",\"group\":\"behavior\",\"default\":1},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":200},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":200}]}","import { useMemo } from 'react';\nimport LottieAnimationMeta from './LottieAnimation.meta.yaml';\n\n/**\n * Props for the LottieAnimation component.\n */\nexport interface LottieAnimationProps {\n /**\n * The source of the animation. Can be a local JSON file (via `require`) or a remote URI string.\n */\n source: any;\n /**\n * Indicates whether the animation should start playing automatically when mounted. Defaults to true.\n */\n autoPlay?: boolean;\n /**\n * Indicates whether the animation should loop continuously. Defaults to true.\n */\n loop?: boolean;\n /**\n * Additional properties to pass to the underlying container View.\n */\n [key: string]: any;\n}\n\nexport function useLottieAnimationLogic(props: LottieAnimationProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (LottieAnimationMeta?.props) {\n LottieAnimationMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { source, autoPlay = true, loop = true, ...rest } = merged;\n\n return { source, autoPlay, loop, rest };\n}\n","\nexport function useLottieAnimationStyle(logic: any) {\n return {\n container: {\n // flex: 1 allows the container to expand, accommodating the animation.\n flex: 1,\n // Provides a fallback minimum height so the animation is visible even without explicit dimensions.\n minHeight: 100,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useLottieAnimationLogic, LottieAnimationProps } from './LottieAnimation.logic';\nimport { useLottieAnimationStyle } from './LottieAnimation.style';\n// Using lottie-react-native\nimport LottieView from 'lottie-react-native';\n\n/**\n * LottieAnimation component renders high-quality vector animations using `lottie-react-native`.\n * \n * Role & Use Cases:\n * Ideal for onboarding screens, success states, or complex loading indicators.\n * \n * Structure:\n * Wraps `LottieView` inside a `View` container to control layout and sizing.\n * Ensures the animation source is correctly parsed whether it's a local require() or a remote URI string.\n * \n * Accessibility:\n * As animations are primarily visual, consider providing a textual description nearby or adding `accessibilityLabel`\n * to the container for screen readers if the animation conveys critical information.\n */\nconst LottieAnimation: React.FC<LottieAnimationProps> = (rawProps) => {\n const logic = useLottieAnimationLogic(rawProps);\n const styles = useLottieAnimationStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.source && (\n <LottieView\n source={typeof logic.source === 'string' ? { uri: logic.source } : logic.source}\n autoPlay={logic.autoPlay}\n loop={logic.loop}\n style={{ width: '100%', height: '100%' }}\n />\n )}\n </View>\n );\n};\n\nexport default LottieAnimation;\n","{\"type\":\"component\",\"id\":\"MapView\",\"label\":\"Map\",\"description\":\"Interactive map view with markers.\",\"category\":\"media\",\"tags\":[\"map\",\"location\",\"gps\",\"marker\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"latitude\",\"label\":\"Latitude\",\"type\":\"number\",\"group\":\"content\",\"default\":48.8566},{\"name\":\"longitude\",\"label\":\"Longitude\",\"type\":\"number\",\"group\":\"content\",\"default\":2.3522},{\"name\":\"zoom\",\"label\":\"Zoom\",\"type\":\"number\",\"group\":\"content\",\"default\":12},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":300},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"lg\"},{\"name\":\"showsUserLocation\",\"label\":\"User location\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true}]}","import { useMemo } from 'react';\nimport MapViewMeta from './MapView.meta.yaml';\n\n/**\n * Props for the MapView component.\n */\nexport interface MapViewProps {\n /**\n * The initial latitude coordinate for the center of the map. Defaults to 48.8566 (Paris).\n */\n latitude?: number;\n /**\n * The initial longitude coordinate for the center of the map. Defaults to 2.3522 (Paris).\n */\n longitude?: number;\n /**\n * The initial zoom level of the map. Higher values zoom in closer. Defaults to 12.\n */\n zoom?: number;\n /**\n * Additional properties to pass to the outer View container.\n */\n [key: string]: any;\n}\n\nexport function useMapViewLogic(props: MapViewProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (MapViewMeta?.props) {\n MapViewMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { latitude = 48.8566, longitude = 2.3522, zoom = 12, ...rest } = merged;\n\n return { latitude, longitude, zoom, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useMapViewStyle(logic: any) {\n const { theme } = useTheme();\n return {\n container: {\n // flex: 1 allows the map container to fill the available space.\n flex: 1,\n // Provides a minimum height so the map doesn't collapse if flex constraints are absent.\n minHeight: 300,\n // Fallback background color shown while the map tiles are loading.\n backgroundColor: theme?.secondary || '#e5e7eb',\n }\n };\n}\n","import React from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport { useMapViewLogic, MapViewProps } from './MapView.logic';\nimport { useMapViewStyle } from './MapView.style';\n// Using react-native-maps\nimport RNMapView, { PROVIDER_GOOGLE } from 'react-native-maps';\n\n/**\n * MapView component integrates `react-native-maps` for displaying interactive maps.\n * \n * Role & Use Cases:\n * Useful for showing locations, tracking routes, or displaying geographical data.\n * Defaults to using the Google Maps provider (`PROVIDER_GOOGLE`).\n * \n * Structure:\n * Wraps `RNMapView` inside a stylized `View` container. Uses `StyleSheet.absoluteFill` \n * to ensure the map fills its container completely.\n * \n * Accessibility:\n * Map interactions can be complex for screen readers. Ensure to provide alternative representations\n * of the map data (like a list of locations) if the map is central to the user experience.\n */\nconst MapView: React.FC<MapViewProps> = (rawProps) => {\n const logic = useMapViewLogic(rawProps);\n const styles = useMapViewStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <RNMapView \n provider={PROVIDER_GOOGLE}\n style={StyleSheet.absoluteFill}\n initialRegion={{\n latitude: logic.latitude,\n longitude: logic.longitude,\n latitudeDelta: 10 / logic.zoom,\n longitudeDelta: 10 / logic.zoom,\n }}\n />\n </View>\n );\n};\n\nexport default MapView;\n","{\"name\":\"NumberInput\",\"description\":\"A specialized input for numbers with increment/decrement steppers.\",\"tags\":[\"base\",\"input\",\"number\",\"stepper\"],\"props\":[]}","import { useMemo, useState, useEffect } from 'react';\nimport NumberInputMeta from './NumberInput.meta.yaml';\n\n/**\n * Props for the NumberInput component.\n */\nexport interface NumberInputProps {\n /** The current numeric value */\n value?: number;\n /** Callback when value changes */\n onChange?: (val: number) => void;\n /** Minimum value allowed */\n min?: number;\n /** Maximum value allowed */\n max?: number;\n /** Step amount for the increment/decrement buttons */\n step?: number;\n /** Whether decimal values are allowed */\n allowDecimal?: boolean;\n /** Error message to display below the input */\n error?: string;\n /** Additional styling or wrapper props */\n [key: string]: any;\n}\n\n/**\n * Custom hook to encapsulate NumberInput business logic.\n */\nexport function useNumberInputLogic(props: NumberInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (NumberInputMeta?.props) {\n NumberInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value = 0, onChange, min, max, step = 1, allowDecimal = false, error, ...rest } = merged;\n\n const [textValue, setTextValue] = useState<string>(value.toString());\n const [isFocused, setIsFocused] = useState(false);\n\n useEffect(() => {\n if (!isFocused && Number(textValue) !== value) {\n setTextValue(value.toString());\n }\n }, [value, isFocused, textValue]);\n\n const updateValue = (newVal: number) => {\n let constrained = newVal;\n if (min !== undefined) constrained = Math.max(min, constrained);\n if (max !== undefined) constrained = Math.min(max, constrained);\n if (onChange && constrained !== value) {\n onChange(constrained);\n }\n setTextValue(constrained.toString());\n };\n\n const handleTextChange = (text: string) => {\n let filtered = text;\n if (!allowDecimal) {\n filtered = text.replace(/[^0-9-]/g, '');\n } else {\n filtered = text.replace(/[^0-9.-]/g, '');\n const parts = filtered.split('.');\n if (parts.length > 2) {\n filtered = parts[0] + '.' + parts.slice(1).join('');\n }\n }\n setTextValue(filtered);\n };\n\n const handleBlur = () => {\n setIsFocused(false);\n const parsed = parseFloat(textValue);\n if (!isNaN(parsed)) {\n updateValue(parsed);\n } else {\n setTextValue(value.toString());\n }\n };\n\n const increment = () => {\n const current = parseFloat(textValue) || 0;\n updateValue(current + step);\n };\n\n const decrement = () => {\n const current = parseFloat(textValue) || 0;\n updateValue(current - step);\n };\n\n return { textValue, handleTextChange, handleBlur, isFocused, setIsFocused, increment, decrement, error, allowDecimal, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\nimport { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useNumberInputStyle(logic: any) {\n const { theme } = useTheme();\n\n return useMemo(() => {\n let borderColor = theme?.border || '#e5e7eb';\n if (logic.error) borderColor = theme?.destructive || '#ef4444';\n else if (logic.isFocused) borderColor = theme?.ring || theme?.primary || '#3b82f6';\n\n return StyleSheet.create({\n wrapper: {\n marginBottom: logic.error ? 4 : 0,\n },\n container: { \n flexDirection: 'row', \n alignItems: 'center', \n borderWidth: 1, \n borderColor: borderColor, \n borderRadius: 8, \n overflow: 'hidden',\n backgroundColor: theme?.background || '#ffffff',\n },\n button: { \n paddingVertical: 12, \n paddingHorizontal: 16,\n backgroundColor: theme?.muted || '#f3f4f6',\n justifyContent: 'center',\n alignItems: 'center',\n },\n buttonPressed: {\n backgroundColor: theme?.border || '#e5e7eb',\n },\n buttonText: {\n fontSize: 18,\n fontWeight: '600',\n color: theme?.foreground || '#111827',\n },\n input: { \n flex: 1, \n textAlign: 'center', \n fontSize: 16,\n color: theme?.foreground || '#111827',\n paddingVertical: 10,\n backgroundColor: 'transparent',\n },\n errorText: {\n color: theme?.destructive || '#ef4444',\n fontSize: 12,\n marginTop: 4,\n marginLeft: 4,\n }\n });\n }, [logic.error, logic.isFocused, theme]);\n}\n","import React from 'react';\nimport { View, Text, Pressable, TextInput } from 'react-native';\nimport { useNumberInputLogic, NumberInputProps } from './NumberInput.logic';\nimport { useNumberInputStyle } from './NumberInput.style';\n\n/**\n * @component NumberInput\n * @description A highly robust numeric input with increment/decrement steppers and format validation.\n */\nconst NumberInput: React.FC<NumberInputProps> = (rawProps) => {\n const logic = useNumberInputLogic(rawProps);\n const styles = useNumberInputStyle(logic);\n\n return (\n <View style={styles.wrapper}>\n <View style={[styles.container, logic.rest.style]} {...logic.rest}>\n <Pressable \n onPress={logic.decrement} \n style={({ pressed }) => [styles.button, pressed && styles.buttonPressed]}\n >\n <Text style={styles.buttonText}>-</Text>\n </Pressable>\n \n <TextInput\n style={styles.input}\n value={logic.textValue}\n onChangeText={logic.handleTextChange}\n onFocus={() => logic.setIsFocused(true)}\n onBlur={logic.handleBlur}\n keyboardType={logic.allowDecimal ? 'decimal-pad' : 'number-pad'}\n />\n\n <Pressable \n onPress={logic.increment} \n style={({ pressed }) => [styles.button, pressed && styles.buttonPressed]}\n >\n <Text style={styles.buttonText}>+</Text>\n </Pressable>\n </View>\n {logic.error ? <Text style={styles.errorText}>{logic.error}</Text> : null}\n </View>\n );\n};\n\nexport default NumberInput;\n","{\"name\":\"OTPInput\",\"description\":\"A multi-cell One-Time-Password input.\",\"tags\":[\"base\",\"input\",\"otp\"],\"props\":[]}","import * as import_react from 'react';\nconst { useMemo, useState, useRef, useEffect } = import_react;\nimport type { TextInput, NativeSyntheticEvent, TextInputKeyPressEventData } from 'react-native';\nimport OTPInputMeta from './OTPInput.meta.yaml';\n\nexport interface OTPInputProps {\n /** The length of the OTP (number of cells) */\n length?: number;\n /** Current value of the OTP */\n value?: string;\n /** Callback when the value changes */\n onChangeText?: (val: string) => void;\n [key: string]: any;\n}\n\nexport function useOTPInputLogic(props: OTPInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (OTPInputMeta?.props) {\n OTPInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { length = 4, value, onChangeText, ...rest } = merged;\n\n const [internalValue, setInternalValue] = useState<string[]>(\n (value || '').padEnd(length, ' ').split('').slice(0, length).map(c => c === ' ' ? '' : c)\n );\n\n useEffect(() => {\n if (value !== undefined) {\n setInternalValue((value || '').padEnd(length, ' ').split('').slice(0, length).map(c => c === ' ' ? '' : c));\n }\n }, [value, length]);\n\n const inputsRef = useRef<Array<TextInput | null>>([]);\n const [focusedIndex, setFocusedIndex] = useState<number | null>(null);\n\n const focusInput = (index: number) => {\n if (index >= 0 && index < length) {\n inputsRef.current[index]?.focus();\n }\n };\n\n const handleChange = (text: string, index: number) => {\n if (text.length > 1) {\n const chars = text.split('').slice(0, length - index);\n const newValues = [...internalValue];\n chars.forEach((char, i) => {\n newValues[index + i] = char;\n });\n setInternalValue(newValues);\n onChangeText?.(newValues.join(''));\n focusInput(Math.min(index + chars.length, length - 1));\n return;\n }\n\n const newValues = [...internalValue];\n newValues[index] = text;\n setInternalValue(newValues);\n onChangeText?.(newValues.join(''));\n\n if (text !== '' && index < length - 1) {\n focusInput(index + 1);\n }\n };\n\n const handleKeyPress = (e: NativeSyntheticEvent<TextInputKeyPressEventData>, index: number) => {\n if (e.nativeEvent.key === 'Backspace' && !internalValue[index] && index > 0) {\n focusInput(index - 1);\n const newValues = [...internalValue];\n newValues[index - 1] = '';\n setInternalValue(newValues);\n onChangeText?.(newValues.join(''));\n }\n };\n\n const handleFocus = (index: number) => setFocusedIndex(index);\n const handleBlur = (index: number) => {\n if (focusedIndex === index) setFocusedIndex(null);\n };\n\n return { length, internalValue, handleChange, handleKeyPress, handleFocus, handleBlur, focusedIndex, inputsRef, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet, Platform } from 'react-native';\n\nexport function useOTPInputStyle(logic: any) {\n return useMemo(() => {\n return StyleSheet.create({\n container: { \n flexDirection: 'row', \n gap: 12,\n justifyContent: 'center',\n alignItems: 'center',\n marginVertical: 16,\n },\n cell: { \n width: 56, \n height: 64, \n borderWidth: 2, \n borderColor: '#E2E8F0', \n borderRadius: 12, \n justifyContent: 'center', \n alignItems: 'center',\n fontSize: 28,\n fontWeight: '700',\n textAlign: 'center',\n color: '#1E293B',\n backgroundColor: '#F8FAFC',\n ...Platform.select({\n web: {\n // @ts-ignore\n outlineStyle: 'none',\n }\n })\n },\n cellFocused: {\n borderColor: '#3B82F6',\n backgroundColor: '#FFFFFF',\n shadowColor: '#3B82F6',\n shadowOffset: { width: 0, height: 0 },\n shadowOpacity: 0.2,\n shadowRadius: 8,\n elevation: 4,\n }\n });\n }, [logic]);\n}\n","import React from 'react';\nimport { View, TextInput } from 'react-native';\nimport { useOTPInputLogic, OTPInputProps } from './OTPInput.logic';\nimport { useOTPInputStyle } from './OTPInput.style';\n\n/**\n * @component OTPInput\n * @description An auto-advancing, multi-cell verification code input.\n */\nconst OTPInput: React.FC<OTPInputProps> = (rawProps) => {\n const logic = useOTPInputLogic(rawProps);\n const styles = useOTPInputStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {Array.from({ length: logic.length }).map((_, i) => (\n <TextInput\n key={i}\n ref={(ref) => { logic.inputsRef.current[i] = ref; }}\n style={[styles.cell as any, logic.focusedIndex === i && styles.cellFocused]}\n value={logic.internalValue[i]}\n onChangeText={(text) => logic.handleChange(text, i)}\n onKeyPress={(e) => logic.handleKeyPress(e, i)}\n onFocus={() => logic.handleFocus(i)}\n onBlur={() => logic.handleBlur(i)}\n keyboardType=\"number-pad\"\n maxLength={logic.length}\n textContentType=\"oneTimeCode\"\n autoComplete=\"one-time-code\"\n testID={`otp-input-${i}`}\n />\n ))}\n </View>\n );\n};\n\nexport default OTPInput;\n","{\"name\":\"PasswordInput\",\"description\":\"A secure text input with visibility toggle.\",\"tags\":[\"base\",\"input\",\"password\",\"secure\"],\"props\":[]}","import * as import_react from 'react';\nconst { useMemo, useState, useCallback } = import_react;\nimport PasswordInputMeta from './PasswordInput.meta.yaml';\nimport { ViewStyle } from 'react-native';\n\nexport type PasswordStrength = 'weak' | 'fair' | 'good' | 'strong';\n\nexport interface PasswordInputProps {\n /** The current password value */\n value?: string;\n /** Callback fired when the text changes */\n onChangeText?: (val: string) => void;\n /** Placeholder text for the input */\n placeholder?: string;\n /** Whether to show the strength meter. Default: true */\n showStrengthMeter?: boolean;\n /** Additional styling */\n style?: ViewStyle;\n [key: string]: any;\n}\n\nexport function usePasswordInputLogic(props: PasswordInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (PasswordInputMeta?.props) {\n PasswordInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n\n const { value = '', onChangeText, placeholder = 'Enter password', showStrengthMeter = true, ...rest } = merged;\n const [isVisible, setIsVisible] = useState(false);\n const toggleVisibility = useCallback(() => setIsVisible((v: boolean) => !v), []);\n\n const calculateStrength = (pwd: string): { score: number, label: PasswordStrength } => {\n let score = 0;\n if (!pwd) return { score: 0, label: 'weak' };\n if (pwd.length >= 8) score += 1;\n if (/[a-z]/.test(pwd) && /[A-Z]/.test(pwd)) score += 1;\n if (/\\d/.test(pwd)) score += 1;\n if (/[^a-zA-Z\\d]/.test(pwd)) score += 1;\n\n if (score <= 1) return { score, label: 'weak' };\n if (score === 2) return { score, label: 'fair' };\n if (score === 3) return { score, label: 'good' };\n return { score, label: 'strong' };\n };\n\n const strength = useMemo(() => calculateStrength(value), [value]);\n\n return { value, onChangeText, placeholder, isVisible, toggleVisibility, showStrengthMeter, strength, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\nimport { PasswordStrength } from './PasswordInput.logic';\n\nexport function usePasswordInputStyle(logic: any) {\n return useMemo(() => {\n const strengthColors: Record<PasswordStrength, string> = {\n weak: '#ff4d4f',\n fair: '#faad14',\n good: '#52c41a',\n strong: '#13c2c2',\n };\n\n const strengthColor = logic.strength.score > 0 ? strengthColors[logic.strength.label as PasswordStrength] : '#e8e8e8';\n\n return StyleSheet.create({\n wrapper: {\n width: '100%',\n marginBottom: 16,\n },\n container: { \n flexDirection: 'row', \n alignItems: 'center', \n borderWidth: 1.5, \n borderColor: '#d9d9d9', \n borderRadius: 12, \n paddingHorizontal: 14,\n backgroundColor: '#ffffff',\n shadowColor: 'rgba(0,0,0,0.05)',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 1,\n shadowRadius: 4,\n elevation: 2,\n },\n containerFocused: {\n borderColor: '#1890ff',\n },\n input: { \n flex: 1, \n height: 52, \n fontSize: 16, \n color: '#333',\n // @ts-ignore\n outlineStyle: \"none\" as any,\n },\n icon: { \n padding: 8,\n marginLeft: 8,\n },\n iconText: {\n fontSize: 14,\n color: '#1890ff',\n fontWeight: '600',\n },\n strengthContainer: {\n marginTop: 8,\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n },\n barsContainer: {\n flexDirection: 'row',\n flex: 1,\n gap: 6,\n marginRight: 12,\n },\n strengthBar: {\n height: 4,\n flex: 1,\n borderRadius: 2,\n backgroundColor: '#e8e8e8',\n },\n strengthBarActive: {\n backgroundColor: strengthColor,\n },\n strengthText: {\n fontSize: 12,\n color: '#8c8c8c',\n fontWeight: '500',\n textTransform: 'capitalize',\n width: 45,\n textAlign: 'right',\n }\n });\n }, [logic.strength]);\n}\n","import React, { useState } from 'react';\nimport { View, Text, Pressable, TextInput } from 'react-native';\nimport { usePasswordInputLogic, PasswordInputProps } from './PasswordInput.logic';\nimport { usePasswordInputStyle } from './PasswordInput.style';\n\n/**\n * @component PasswordInput\n * @description A secure text input with visibility toggle and a visual strength meter.\n */\nconst PasswordInput: React.FC<PasswordInputProps> = (rawProps) => {\n const logic = usePasswordInputLogic(rawProps);\n const styles = usePasswordInputStyle(logic);\n const [isFocused, setIsFocused] = useState(false);\n\n const activeBars = logic.strength.score > 0 ? logic.strength.score : 0;\n\n return (\n <View style={styles.wrapper as any}>\n <View style={[styles.container as any, isFocused && styles.containerFocused as any, logic.rest.style]} {...logic.rest}>\n <TextInput \n secureTextEntry={!logic.isVisible} \n value={logic.value} \n onChangeText={logic.onChangeText} \n placeholder={logic.placeholder} \n placeholderTextColor=\"#bfbfbf\"\n style={styles.input as any} \n onFocus={() => setIsFocused(true)}\n onBlur={() => setIsFocused(false)}\n />\n <Pressable onPress={logic.toggleVisibility} style={styles.icon as any}>\n <Text style={styles.iconText as any}>{logic.isVisible ? 'Hide' : 'Show'}</Text>\n </Pressable>\n </View>\n \n {logic.showStrengthMeter && (\n <View style={styles.strengthContainer as any}>\n <View style={styles.barsContainer as any}>\n {[1, 2, 3, 4].map(index => (\n <View \n key={index} \n style={[\n styles.strengthBar as any,\n index <= activeBars && styles.strengthBarActive as any\n ]} \n />\n ))}\n </View>\n <Text style={styles.strengthText as any}>\n {logic.value ? logic.strength.label : ''}\n </Text>\n </View>\n )}\n </View>\n );\n};\n\nexport default PasswordInput;\n","{\"type\":\"component\",\"id\":\"Pressable\",\"label\":\"Pressable\",\"description\":\"Generic pressable wrapper with feedback.\",\"category\":\"action\",\"tags\":[\"pressable\",\"touchable\",\"tap\",\"click\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"opacity\",\"label\":\"Press opacity\",\"type\":\"number\",\"group\":\"style\",\"default\":0.7}]}","import { useMemo } from 'react';\nimport PressableMeta from './Pressable.meta.yaml';\n\n/**\n * Props for the Pressable component.\n * Defines the contract for external interactions.\n */\nexport interface PressableProps {\n /**\n * Callback invoked when the user presses the component.\n */\n onPress?: () => void;\n \n /**\n * If true, disables all touch interactions and visually dims the component.\n */\n disabled?: boolean;\n \n /**\n * The content to be rendered inside the pressable area.\n */\n children?: React.ReactNode;\n \n /**\n * Additional props to pass down to the underlying React Native Pressable.\n */\n [key: string]: any;\n}\n\n// Compute meta defaults once outside the hook to save rendering overhead\nconst META_DEFAULTS: Record<string, any> = {};\nif (PressableMeta?.props) {\n PressableMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function usePressableLogic(props: PressableProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { onPress, disabled, children, ...rest } = merged;\n\n return { onPress, disabled, children, rest };\n}\n","export function usePressableStyle(logic: any) {\n return {\n container: {\n // Provide visual feedback by lowering opacity when disabled.\n // This structural choice ensures standard disabled semantics without needing extra wrappers.\n opacity: logic.disabled ? 0.5 : 1,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { Pressable as RNPressable, StyleProp, ViewStyle } from 'react-native';\nimport { usePressableLogic, PressableProps } from './Pressable.logic';\nimport { usePressableStyle } from './Pressable.style';\n\n/**\n * A highly customizable wrapper around React Native's Pressable component.\n * It serves as the base for building interactive elements like buttons, list items, and tabs.\n * \n * **Use Cases:**\n * - Creating custom buttons or interactive cards.\n * - Making any view respond to touch events.\n * \n * **Structure:**\n * Utilizes the native `Pressable` to capture touch interactions without adding additional DOM/View hierarchy.\n * \n * **Accessibility Considerations:**\n * - Ensure `accessibilityRole` and `accessibilityLabel` are passed via props for screen readers.\n * - Visual feedback is necessary (opacity, background color change) when pressed, which can be managed via the `style` prop or the `disabled` state.\n */\nconst Pressable: React.FC<PressableProps> = (rawProps) => {\n const logic = usePressableLogic(rawProps);\n const styles = usePressableStyle(logic);\n \n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <RNPressable \n style={combinedStyle} \n onPress={logic.onPress} \n disabled={logic.disabled}\n {...logic.rest}\n >\n {logic.children}\n </RNPressable>\n );\n};\n\nexport default Pressable;\n","{\"type\":\"component\",\"id\":\"ProgressBar\",\"label\":\"Progress Bar\",\"description\":\"Horizontal progress indicator.\",\"category\":\"feedback\",\"tags\":[\"progress\",\"bar\",\"loading\",\"percentage\"],\"themeMapping\":{\"active\":\"primary\",\"track\":\"muted\"},\"variants\":[],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"progress\",\"label\":\"Progress (0-1)\",\"type\":\"number\",\"group\":\"content\",\"default\":0.5},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"trackColor\",\"label\":\"Track color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"full\"},{\"name\":\"showLabel\",\"label\":\"Show label\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo } from 'react';\nimport ProgressBarMeta from './ProgressBar.meta.yaml';\n\n/**\n * Props for the ProgressBar component.\n */\nexport interface ProgressBarProps {\n /**\n * The current progress value as a percentage (from 0 to 100).\n */\n progress?: number;\n \n /**\n * Additional props to pass down to the container View.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (ProgressBarMeta?.props) {\n ProgressBarMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useProgressBarLogic(props: ProgressBarProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { progress = 0, ...rest } = merged;\n\n // Ensure progress stays within bounds [0, 100]\n const validProgress = Math.max(0, Math.min(100, progress));\n\n return { progress: validProgress, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useProgressBarStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Fixed height and rounded borders for a standard horizontal bar.\n // overflow: 'hidden' ensures the internal fill respects the rounded corners.\n height: 8,\n backgroundColor: theme?.secondary || '#e5e7eb',\n borderRadius: 4,\n overflow: 'hidden',\n },\n fill: {\n // Takes up full height of container.\n // Width is dynamically controlled via logic to represent progress.\n height: '100%',\n backgroundColor: theme?.primary || '#000',\n width: `${logic.progress}%`,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, StyleProp, ViewStyle } from 'react-native';\nimport { useProgressBarLogic, ProgressBarProps } from './ProgressBar.logic';\nimport { useProgressBarStyle } from './ProgressBar.style';\n\n/**\n * A visual component that displays the completion progress of a task.\n * \n * **Use Cases:**\n * - Showing loading progress.\n * - Indicating completion percentage of form steps.\n * \n * **Structure:**\n * A container view with a nested fill view. The width of the nested view represents the progress.\n * \n * **Accessibility Considerations:**\n * - Provide `accessibilityRole=\"progressbar\"` (handled via props if needed).\n * - Consider passing `accessibilityValue={{ now: logic.progress, min: 0, max: 100 }}` to make it readable by screen readers.\n */\nconst ProgressBar: React.FC<ProgressBarProps> = (rawProps) => {\n const logic = useProgressBarLogic(rawProps);\n const styles = useProgressBarStyle(logic);\n\n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedStyle} {...logic.rest}>\n <View style={styles.fill as StyleProp<ViewStyle>} />\n </View>\n );\n};\n\nexport default ProgressBar;\n","{\"type\":\"component\",\"id\":\"RadioGroup\",\"label\":\"Radio Group\",\"description\":\"Group of radio buttons for single selection.\",\"category\":\"input\",\"tags\":[\"radio\",\"group\",\"select\",\"form\"],\"themeMapping\":{\"active\":\"primary\",\"border\":\"border\",\"text\":\"foreground\"},\"variants\":[],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"direction\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"column\",\"options\":[\"column\",\"row\"]},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":2},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"}]}","import { useMemo } from 'react';\nimport RadioGroupMeta from './RadioGroup.meta.yaml';\n\n/**\n * Props for the RadioGroup component.\n */\nexport interface RadioGroupProps {\n /**\n * The currently selected value.\n */\n value?: string;\n \n /**\n * Callback fired when a new radio option is selected.\n */\n onValueChange?: (value: string) => void;\n \n /**\n * Array of options to display in the radio group.\n */\n options: { label: string; value: string }[];\n \n /**\n * If true, disables the entire group and prevents selection changes.\n */\n disabled?: boolean;\n \n /**\n * Additional props to pass to the container view.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (RadioGroupMeta?.props) {\n RadioGroupMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useRadioGroupLogic(props: RadioGroupProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { value, onValueChange, options = [], disabled, ...rest } = merged;\n\n return { value, onValueChange, options, disabled, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useRadioGroupStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Stack items vertically by default with a gap for visual separation.\n flexDirection: 'column',\n gap: 12,\n // Provide visual feedback for the entire group when disabled.\n opacity: logic.disabled ? 0.5 : 1,\n },\n item: {\n // Align the custom radio graphic and label horizontally centered.\n flexDirection: 'row',\n alignItems: 'center',\n },\n radio: {\n // Fixed size with border radius equal to half to form a perfect circle.\n width: 18,\n height: 18,\n borderRadius: 9,\n borderWidth: 2,\n borderColor: theme?.primary || '#000',\n justifyContent: 'center',\n alignItems: 'center',\n marginRight: 8,\n },\n radioUnchecked: {\n borderColor: theme?.border || '#e5e7eb',\n },\n dot: {\n // Inner circle indicating checked state.\n width: 10,\n height: 10,\n borderRadius: 5,\n backgroundColor: theme?.primary || '#000',\n },\n label: {\n color: theme?.foreground || '#000',\n fontSize: 14,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, Text, Pressable, StyleProp, ViewStyle, TextStyle } from 'react-native';\nimport { useRadioGroupLogic, RadioGroupProps } from './RadioGroup.logic';\nimport { useRadioGroupStyle } from './RadioGroup.style';\n\n/**\n * A group of radio buttons allowing a single selection from multiple options.\n * \n * **Use Cases:**\n * - Form inputs requiring a single choice from a visible list of options.\n * - Settings panels where users must select one active mode or preference.\n * \n * **Structure:**\n * A container holding multiple `Pressable` items. Each item contains a custom radio button graphic\n * (built with nested views) and a text label.\n * \n * **Accessibility Considerations:**\n * - Should ideally group choices via `accessibilityRole=\"radiogroup\"`.\n * - Each item should have `accessibilityRole=\"radio\"` and `accessibilityState={{ checked: isSelected }}`.\n */\nconst RadioGroup: React.FC<RadioGroupProps> = (rawProps) => {\n const logic = useRadioGroupLogic(rawProps);\n const styles = useRadioGroupStyle(logic);\n\n const combinedContainerStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedContainerStyle} {...logic.rest} accessibilityRole=\"radiogroup\">\n {logic.options.map((opt) => {\n const isSelected = logic.value === opt.value;\n return (\n <Pressable \n key={opt.value} \n style={styles.item as StyleProp<ViewStyle>}\n disabled={logic.disabled}\n onPress={() => logic.onValueChange?.(opt.value)}\n accessibilityRole=\"radio\"\n accessibilityState={{ checked: isSelected, disabled: logic.disabled }}\n >\n <View style={[styles.radio, !isSelected && styles.radioUnchecked] as StyleProp<ViewStyle>}>\n {isSelected && <View style={styles.dot as StyleProp<ViewStyle>} />}\n </View>\n <Text style={styles.label as StyleProp<TextStyle>}>{opt.label}</Text>\n </Pressable>\n );\n })}\n </View>\n );\n};\n\nexport default RadioGroup;\n","{\"name\":\"SearchInput\",\"description\":\"A specialized input for searching with a clear button.\",\"tags\":[\"base\",\"input\",\"search\"],\"props\":[]}","import * as import_react from 'react';\nconst { useMemo, useState, useEffect, useCallback, useRef } = import_react;\nimport SearchInputMeta from './SearchInput.meta.yaml';\nimport { ViewStyle } from 'react-native';\n\nexport interface SearchInputProps {\n /** The search text */\n value?: string;\n /** Callback on text change */\n onChangeText?: (val: string) => void;\n /** Debounce time in ms. Default 300 */\n debounceMs?: number;\n /** Placeholder text */\n placeholder?: string;\n /** Additional styling */\n style?: ViewStyle;\n [key: string]: any;\n}\n\nexport function useSearchInputLogic(props: SearchInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SearchInputMeta?.props) {\n SearchInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value, onChangeText, debounceMs = 300, placeholder = 'Search...', ...rest } = merged;\n\n const [localValue, setLocalValue] = useState(value || '');\n const onChangeTextRef = useRef(onChangeText);\n \n useEffect(() => {\n onChangeTextRef.current = onChangeText;\n }, [onChangeText]);\n \n const timerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n useEffect(() => {\n if (value !== undefined && value !== localValue) {\n setLocalValue(value);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value]);\n\n const handleChangeText = useCallback((text: string) => {\n setLocalValue(text);\n \n if (timerRef.current) clearTimeout(timerRef.current);\n \n if (debounceMs > 0) {\n timerRef.current = setTimeout(() => {\n onChangeTextRef.current?.(text);\n }, debounceMs);\n } else {\n onChangeTextRef.current?.(text);\n }\n }, [debounceMs]);\n\n const clear = useCallback(() => {\n setLocalValue('');\n if (timerRef.current) clearTimeout(timerRef.current);\n onChangeTextRef.current?.('');\n }, []);\n\n // Cleanup\n useEffect(() => {\n return () => {\n if (timerRef.current) clearTimeout(timerRef.current);\n };\n }, []);\n\n return { value: localValue, handleChangeText, placeholder, clear, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\n\nexport function useSearchInputStyle(logic: any) {\n return useMemo(() => {\n return StyleSheet.create({\n wrapper: {\n width: '100%',\n marginBottom: 16,\n },\n container: { \n flexDirection: 'row', \n alignItems: 'center', \n borderWidth: 1.5, \n borderColor: '#e2e8f0', \n borderRadius: 24, \n paddingHorizontal: 16,\n backgroundColor: '#f8fafc',\n shadowColor: 'rgba(0,0,0,0.03)',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 1,\n shadowRadius: 4,\n elevation: 1,\n },\n containerFocused: {\n borderColor: '#3b82f6',\n backgroundColor: '#ffffff',\n shadowColor: 'rgba(59, 130, 246, 0.1)',\n shadowOffset: { width: 0, height: 4 },\n shadowRadius: 8,\n },\n input: { \n flex: 1, \n height: 48, \n fontSize: 16, \n color: '#334155',\n // @ts-ignore\n outlineStyle: \"none\" as any,\n },\n iconLeft: { \n marginRight: 10,\n color: '#94a3b8',\n },\n iconRight: { \n padding: 6,\n marginLeft: 8,\n borderRadius: 16,\n backgroundColor: '#f1f5f9',\n alignItems: 'center',\n justifyContent: 'center',\n }\n });\n }, [logic]);\n}\n","import React, { useState } from 'react';\nimport { View, Pressable, TextInput } from 'react-native';\nimport { useSearchInputLogic, SearchInputProps } from './SearchInput.logic';\nimport { useSearchInputStyle } from './SearchInput.style';\n\n/**\n * @component SearchInput\n * @description A specialized input for searching with debounce and a clear button.\n */\nconst SearchInput: React.FC<SearchInputProps> = (rawProps) => {\n const logic = useSearchInputLogic(rawProps);\n const styles = useSearchInputStyle(logic);\n const [isFocused, setIsFocused] = useState(false);\n\n return (\n <View style={styles.wrapper as any}>\n <View style={[styles.container as any, isFocused && styles.containerFocused as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.iconLeft as any}>\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\n <circle cx=\"11\" cy=\"11\" r=\"8\"></circle>\n <line x1=\"21\" y1=\"21\" x2=\"16.65\" y2=\"16.65\"></line>\n </svg>\n </View>\n \n <TextInput \n value={logic.value} \n onChangeText={logic.handleChangeText} \n placeholder={logic.placeholder} \n placeholderTextColor=\"#94a3b8\"\n style={styles.input as any} \n onFocus={() => setIsFocused(true)}\n onBlur={() => setIsFocused(false)}\n />\n \n {logic.value.length > 0 && (\n <Pressable onPress={logic.clear} style={styles.iconRight as any}>\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\n <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"></line>\n <line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"></line>\n </svg>\n </Pressable>\n )}\n </View>\n </View>\n );\n};\n\nexport default SearchInput;\n","{\"type\":\"component\",\"id\":\"Select\",\"label\":\"Select\",\"description\":\"Dropdown select input with options.\",\"category\":\"input\",\"tags\":[\"select\",\"dropdown\",\"picker\",\"form\"],\"themeMapping\":{\"bg\":\"input\",\"text\":\"foreground\",\"border\":\"border\"},\"variants\":[{\"name\":\"outlined\",\"label\":\"Outlined\",\"overrides\":{\"borderWidth\":1}},{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{\"borderWidth\":0}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"px\":3,\"fontSize\":13,\"labelSize\":11},\"md\":{\"height\":40,\"px\":4,\"fontSize\":15,\"labelSize\":13},\"lg\":{\"height\":48,\"px\":5,\"fontSize\":17,\"labelSize\":14}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"outlined\",\"options\":[\"outlined\",\"filled\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"placeholder\",\"label\":\"Placeholder\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Select...\"},{\"name\":\"error\",\"label\":\"Error message\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"input\"}]}","import { useState } from 'react';\nimport SelectMeta from './Select.meta.yaml';\n\n/**\n * Props for the Select component.\n */\nexport interface SelectProps {\n /**\n * The currently selected value.\n */\n value?: string;\n \n /**\n * Callback fired when a new option is selected.\n */\n onValueChange?: (value: string) => void;\n \n /**\n * List of available choices to pick from.\n */\n options: { label: string; value: string }[];\n \n /**\n * Temporary text shown when no value is selected.\n */\n placeholder?: string;\n \n /**\n * Disables interaction with the picker.\n */\n disabled?: boolean;\n \n /**\n * Additional props to pass to the container view.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (SelectMeta?.props) {\n SelectMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useSelectLogic(props: SelectProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { value, onValueChange, options = [], placeholder, disabled, ...rest } = merged;\n const [isFocused, setIsFocused] = useState(false);\n\n return { value, onValueChange, options, placeholder, disabled, isFocused, setIsFocused, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSelectStyle(logic: any) {\n const { theme } = useTheme();\n \n const borderColor = logic.isFocused ? (theme?.ring || theme?.primary || '#000') : (theme?.border || '#e5e7eb');\n\n return {\n container: {\n // Container maintains its own visual border and background.\n backgroundColor: theme?.background || '#fff',\n borderColor: borderColor,\n borderWidth: 1,\n borderRadius: 6,\n // Padding gives space for the absolutely positioned native picker inside.\n paddingHorizontal: 12,\n paddingVertical: 10,\n opacity: logic.disabled ? 0.5 : 1,\n // Flex row layout keeps text and dropdown icon properly spaced.\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n },\n text: {\n color: logic.value ? (theme?.foreground || '#000') : (theme?.mutedForeground || '#9ca3af'),\n fontSize: 14,\n },\n iconColor: theme?.mutedForeground || '#9ca3af'\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, StyleSheet, StyleProp, ViewStyle } from 'react-native';\nimport { useSelectLogic, SelectProps } from './Select.logic';\nimport { useSelectStyle } from './Select.style';\nimport { Picker } from '@react-native-picker/picker';\n\n/**\n * A dropdown selection component.\n * \n * **Use Cases:**\n * - Forms requiring the user to choose one option from a long list.\n * - Filters or settings where space is limited and options are mutually exclusive.\n * \n * **Structure:**\n * Wraps `@react-native-picker/picker` within a styled container view. The Picker fills the container seamlessly using `absoluteFill`.\n * \n * **Accessibility Considerations:**\n * - The underlying Picker maps to native picker accessibility controls.\n * - Ensure `accessibilityLabel` is provided (via props) so screen readers can announce the purpose of the picker.\n */\nconst Select: React.FC<SelectProps> = (rawProps) => {\n const logic = useSelectLogic(rawProps);\n const styles = useSelectStyle(logic);\n\n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedStyle} {...logic.rest}>\n <Picker\n selectedValue={logic.value}\n onValueChange={(itemValue) => logic.onValueChange?.(itemValue)}\n enabled={!logic.disabled}\n style={StyleSheet.absoluteFill}\n onFocus={() => logic.setIsFocused(true)}\n onBlur={() => logic.setIsFocused(false)}\n >\n {logic.placeholder ? <Picker.Item label={logic.placeholder} value=\"\" color=\"#999\" /> : null}\n {logic.options.map((opt) => (\n <Picker.Item key={opt.value} label={opt.label} value={opt.value} />\n ))}\n </Picker>\n </View>\n );\n};\n\nexport default Select;\n","{\"type\":\"component\",\"id\":\"Separator\",\"label\":\"Separator\",\"description\":\"Visual separator with optional label.\",\"category\":\"display\",\"tags\":[\"separator\",\"divider\",\"or\",\"line\"],\"themeMapping\":{\"color\":\"border\",\"text\":\"mutedForeground\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"thickness\",\"label\":\"Thickness\",\"type\":\"number\",\"group\":\"style\",\"default\":1},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"orientation\",\"label\":\"Orientation\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"horizontal\",\"options\":[\"horizontal\",\"vertical\"]}]}","import SeparatorMeta from './Separator.meta.yaml';\n\n/**\n * Props for the Separator component.\n */\nexport interface SeparatorProps {\n /**\n * The orientation of the separator, deciding if it renders as a line horizontally or vertically.\n */\n orientation?: 'horizontal' | 'vertical';\n \n /**\n * Additional props to pass down to the container View.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (SeparatorMeta?.props) {\n SeparatorMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useSeparatorLogic(props: SeparatorProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { orientation = 'horizontal', ...rest } = merged;\n\n return { orientation, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSeparatorStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n backgroundColor: theme?.border || '#e5e7eb',\n // Dynamically sets width/height depending on orientation to form a thin line.\n width: logic.orientation === 'horizontal' ? '100%' : 1,\n height: logic.orientation === 'horizontal' ? 1 : '100%',\n // Adds spacing around the line based on orientation.\n marginVertical: logic.orientation === 'horizontal' ? 16 : 0,\n marginHorizontal: logic.orientation === 'vertical' ? 16 : 0,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, StyleProp, ViewStyle } from 'react-native';\nimport { useSeparatorLogic, SeparatorProps } from './Separator.logic';\nimport { useSeparatorStyle } from './Separator.style';\n\n/**\n * A visual divider to separate content vertically or horizontally.\n * \n * **Use Cases:**\n * - Dividing list items.\n * - Separating sections of a layout visually.\n * \n * **Structure:**\n * A simple View that alters its width and height based on the `orientation` prop.\n * \n * **Accessibility Considerations:**\n * - Normally purely decorative, so it doesn't need to be read by screen readers.\n * - Consider passing `accessibilityRole=\"none\"` or `accessible={false}` if needed.\n */\nconst Separator: React.FC<SeparatorProps> = (rawProps) => {\n const logic = useSeparatorLogic(rawProps);\n const styles = useSeparatorStyle(logic);\n\n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedStyle} {...logic.rest} />\n );\n};\n\nexport default Separator;\n","{\"type\":\"component\",\"id\":\"Slider\",\"label\":\"Slider\",\"description\":\"Range slider input.\",\"category\":\"input\",\"tags\":[\"slider\",\"range\",\"input\",\"form\"],\"themeMapping\":{\"active\":\"primary\",\"track\":\"muted\"},\"variants\":[],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{\"sm\":{\"trackHeight\":4,\"thumbSize\":16,\"labelSize\":11,\"valueSize\":12},\"md\":{\"trackHeight\":6,\"thumbSize\":20,\"labelSize\":13,\"valueSize\":14}},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"min\",\"label\":\"Min\",\"type\":\"number\",\"group\":\"behavior\",\"default\":0},{\"name\":\"max\",\"label\":\"Max\",\"type\":\"number\",\"group\":\"behavior\",\"default\":100},{\"name\":\"step\",\"label\":\"Step\",\"type\":\"number\",\"group\":\"behavior\",\"default\":1},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"showValue\",\"label\":\"Show value\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"}]}","import SliderMeta from './Slider.meta.yaml';\n\n/**\n * Props for the Slider component.\n */\nexport interface SliderProps {\n /**\n * The current numerical value of the slider.\n */\n value?: number;\n \n /**\n * Callback fired when the slider value changes.\n */\n onValueChange?: (value: number) => void;\n \n /**\n * The minimum allowable value.\n */\n min?: number;\n \n /**\n * The maximum allowable value.\n */\n max?: number;\n \n /**\n * The step size between values.\n */\n step?: number;\n \n /**\n * If true, disables user interaction with the slider.\n */\n disabled?: boolean;\n \n /**\n * Additional props to pass to the container view.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (SliderMeta?.props) {\n SliderMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useSliderLogic(props: SliderProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { value = 0, onValueChange, min = 0, max = 100, step = 1, disabled, ...rest } = merged;\n\n // Calculate percentage for rendering\n const percentage = Math.max(0, Math.min(100, ((value - min) / (max - min)) * 100));\n\n return { value, onValueChange, min, max, step, disabled, percentage, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSliderStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n height: 20,\n // Center the slider vertically within its container.\n justifyContent: 'center',\n opacity: logic.disabled ? 0.5 : 1,\n },\n track: {\n height: 4,\n backgroundColor: theme?.secondary || '#e5e7eb',\n borderRadius: 2,\n width: '100%',\n // Absolute positioning allows layering of track, fill, and thumb (if custom rendering).\n position: 'absolute',\n },\n fill: {\n height: 4,\n backgroundColor: theme?.primary || '#000',\n borderRadius: 2,\n // Dynamic width corresponding to the slider's percentage.\n width: `${logic.percentage}%`,\n position: 'absolute',\n },\n thumb: {\n width: 16,\n height: 16,\n borderRadius: 8,\n backgroundColor: theme?.primary || '#000',\n position: 'absolute',\n // Horizontally offset by percentage to position the thumb along the track.\n left: `${logic.percentage}%`,\n marginLeft: -8, // center thumb based on its width\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, StyleProp, ViewStyle } from 'react-native';\nimport { useSliderLogic, SliderProps } from './Slider.logic';\nimport { useSliderStyle } from './Slider.style';\nimport RNSlider from '@react-native-community/slider';\n\n/**\n * A slider component for selecting a value from a continuous or discrete range.\n * \n * **Use Cases:**\n * - Volume or brightness controls.\n * - Selecting a price range or age.\n * \n * **Structure:**\n * Wraps `@react-native-community/slider` to apply unified theme colors and spacing.\n * \n * **Accessibility Considerations:**\n * - The native slider handles basic accessibility (e.g., increment/decrement actions).\n * - Always pass an `accessibilityLabel` or use an adjacent text label so the user knows what the slider controls.\n */\nconst Slider: React.FC<SliderProps> = (rawProps) => {\n const logic = useSliderLogic(rawProps);\n const styles = useSliderStyle(logic);\n\n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedStyle} {...logic.rest}>\n <RNSlider\n style={{ width: '100%', height: 40 }}\n minimumValue={logic.min || 0}\n maximumValue={logic.max || 100}\n value={logic.value || 0}\n onValueChange={logic.onValueChange}\n minimumTrackTintColor={styles.fill?.backgroundColor as string || '#000'}\n maximumTrackTintColor={styles.track?.backgroundColor as string || '#ccc'}\n thumbTintColor={styles.thumb?.backgroundColor as string || '#000'}\n disabled={logic.disabled}\n step={logic.step}\n />\n </View>\n );\n};\n\nexport default Slider;\n","{\"type\":\"component\",\"id\":\"Spinner\",\"label\":\"Spinner\",\"description\":\"Loading indicator.\",\"category\":\"feedback\",\"tags\":[\"spinner\",\"loading\",\"indicator\"],\"themeMapping\":{\"color\":\"primary\"},\"variants\":[],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"}]}","import SpinnerMeta from './Spinner.meta.yaml';\n\n/**\n * Props for the Spinner component.\n */\nexport interface SpinnerProps {\n /**\n * Size of the spinner. Usually 'small' or 'large'.\n * Numeric values fallback to 'small' on native platforms, though scaling could be applied.\n */\n size?: 'small' | 'large' | number;\n \n /**\n * Optional custom color for the spinner. Falls back to theme primary color.\n */\n color?: string;\n \n /**\n * Additional props to pass to the container view.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (SpinnerMeta?.props) {\n SpinnerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useSpinnerLogic(props: SpinnerProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { size = 'small', color, ...rest } = merged;\n\n return { size, color, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSpinnerStyle(logic: any) {\n const { theme } = useTheme();\n return {\n // Only extracts the color since the native ActivityIndicator handles its own structural rendering.\n // Falls back to a default black if no theme or explicit color is provided.\n color: logic.color || theme?.primary || '#000000',\n };\n}\n","import React from 'react';\nimport { ActivityIndicator, View } from 'react-native';\nimport { useSpinnerLogic, SpinnerProps } from './Spinner.logic';\nimport { useSpinnerStyle } from './Spinner.style';\n\n/**\n * A loading spinner component to indicate activity or loading state.\n * \n * **Use Cases:**\n * - Showing that data is being fetched.\n * - Indicating a processing state on a button or screen.\n * \n * **Structure:**\n * Wraps React Native's native `ActivityIndicator` inside a `View` container, \n * applying theme colors automatically.\n * \n * **Accessibility Considerations:**\n * - Ensure `accessibilityLabel` (e.g., \"Loading...\") is passed so screen readers can announce the loading state.\n * - Often used with `accessibilityRole=\"progressbar\"`.\n */\nconst Spinner: React.FC<SpinnerProps> = (rawProps) => {\n const logic = useSpinnerLogic(rawProps);\n const styles = useSpinnerStyle(logic);\n\n return (\n <View style={logic.rest.style} {...logic.rest}>\n <ActivityIndicator \n size={typeof logic.size === 'number' ? 'small' : logic.size} \n color={styles.color} \n />\n </View>\n );\n};\n\nexport default Spinner;\n","{\"type\":\"component\",\"id\":\"Switch\",\"label\":\"Switch\",\"description\":\"Toggle switch.\",\"category\":\"input\",\"tags\":[\"switch\",\"toggle\",\"boolean\"],\"themeMapping\":{\"active\":\"primary\",\"track\":\"muted\"},\"variants\":[],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{\"sm\":{\"scale\":0.8,\"labelSize\":13,\"width\":36,\"height\":20},\"md\":{\"scale\":1,\"labelSize\":15,\"width\":44,\"height\":24}},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"trackColor\",\"label\":\"Track color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"}]}","import { useMemo, useState, useCallback } from 'react';\nimport SwitchMeta from './Switch.meta.yaml';\n\n/**\n * Props for the Switch component.\n */\nexport interface SwitchProps {\n /**\n * The controlled checked state of the switch.\n * If provided, the switch operates in controlled mode and relies on `onCheckedChange` to update its state.\n */\n checked?: boolean;\n\n /**\n * Callback invoked when the switch's checked state changes.\n * Receives the new boolean state as its argument.\n */\n onCheckedChange?: (checked: boolean) => void;\n\n /**\n * Disables the switch, preventing user interaction and altering its visual opacity.\n */\n disabled?: boolean;\n\n /**\n * Optional text label rendered alongside the switch track.\n * Also serves as the primary accessibility label if provided.\n */\n label?: string;\n\n /**\n * Additional custom props that will be passed down to the root Pressable element.\n */\n [key: string]: any;\n}\n\nexport function useSwitchLogic(props: SwitchProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SwitchMeta?.props) {\n SwitchMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { checked: controlledChecked, onCheckedChange, disabled, label, ...rest } = merged;\n\n const isControlled = controlledChecked !== undefined;\n const [internalChecked, setInternalChecked] = useState(false);\n const checked = isControlled ? controlledChecked : internalChecked;\n\n const handlePress = useCallback(() => {\n if (disabled) return;\n const nextState = !checked;\n if (!isControlled) {\n setInternalChecked(nextState);\n }\n onCheckedChange?.(nextState);\n }, [disabled, checked, isControlled, onCheckedChange]);\n\n return { checked, handlePress, disabled, label, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSwitchStyle(logic: any) {\n const { theme } = useTheme();\n \n const bgColor = logic.checked ? (theme?.primary || '#000') : (theme?.muted || '#e5e7eb');\n \n return {\n wrapper: {\n /* Flexbox used to align the track and the label side-by-side horizontally. */\n flexDirection: 'row',\n alignItems: 'center',\n /* Reduce opacity to visually indicate disabled state */\n opacity: logic.disabled ? 0.5 : 1,\n },\n track: {\n width: 44,\n height: 24,\n /* Fully rounded corners for a pill shape */\n borderRadius: 12,\n backgroundColor: bgColor,\n /* Center children vertically and horizontally (though thumb translates horizontally) */\n justifyContent: 'center',\n padding: 2,\n },\n thumb: {\n width: 20,\n height: 20,\n /* Fully rounded corners for a circular thumb */\n borderRadius: 10,\n backgroundColor: '#fff',\n /* Subdued shadow to give a slight 3D elevation over the track */\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 0.2,\n shadowRadius: 2,\n elevation: 2,\n /* Note: translateX is applied dynamically via Animated.View in Switch.tsx */\n },\n label: {\n color: theme?.foreground || '#000',\n fontSize: 14,\n /* Spacing between the switch track and the label */\n marginLeft: 8,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useSwitchLogic, SwitchProps } from './Switch.logic';\nimport { useSwitchStyle } from './Switch.style';\nimport Animated, { \n useSharedValue, \n useAnimatedStyle, \n withSpring \n} from 'react-native-reanimated';\n\n/**\n * A highly accessible, animated toggle switch component.\n * \n * @role\n * Provides a boolean input control that allows the user to toggle between checked and unchecked states.\n * \n * @useCases\n * - Settings panels to toggle preferences.\n * - Form fields for boolean choices (e.g., \"I agree to terms\", \"Enable notifications\").\n * \n * @structure\n * - Uses a `Pressable` wrapper for interaction and accessibility.\n * - Contains a `View` acting as the track.\n * - Uses an `Animated.View` from `react-native-reanimated` for the thumb to provide smooth spring animations when toggled.\n * - Optionally renders a `Text` component for the label next to the switch.\n * \n * @accessibility\n * - Implements `accessibilityRole=\"switch\"`.\n * - Uses `accessibilityState` to announce the current `checked` and `disabled` states to screen readers.\n * - Uses `accessibilityLabel` from the provided label or defaults to \"Toggle Switch\".\n */\nconst Switch: React.FC<SwitchProps> = (rawProps) => {\n const logic = useSwitchLogic(rawProps);\n const styles = useSwitchStyle(logic);\n \n const translateX = useSharedValue(logic.checked ? 20 : 0);\n\n useEffect(() => {\n translateX.value = withSpring(logic.checked ? 20 : 0, {\n mass: 1,\n damping: 15,\n stiffness: 120,\n overshootClamping: true,\n restDisplacementThreshold: 0.01,\n restSpeedThreshold: 2,\n });\n }, [logic.checked, translateX]);\n\n const animatedThumbStyle = useAnimatedStyle(() => {\n return {\n transform: [{ translateX: translateX.value }],\n };\n });\n\n return (\n <Pressable \n style={[styles.wrapper as any, logic.rest.style]} \n onPress={logic.handlePress} \n disabled={logic.disabled}\n accessibilityRole=\"switch\"\n accessibilityState={{ checked: logic.checked, disabled: logic.disabled }}\n accessibilityLabel={logic.label || \"Toggle Switch\"}\n >\n <View style={styles.track as any}>\n <Animated.View style={[styles.thumb as any, animatedThumbStyle]} />\n </View>\n {logic.label && <Text style={styles.label as any}>{logic.label}</Text>}\n </Pressable>\n );\n};\n\nexport default Switch;\n","{\"type\":\"component\",\"id\":\"Tabs\",\"label\":\"Tabs\",\"description\":\"Tab navigation with content panels.\",\"category\":\"navigation\",\"tags\":[\"tabs\",\"navigation\",\"panel\",\"switch\"],\"themeMapping\":{\"active\":\"primary\",\"bg\":\"card\",\"border\":\"border\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"position\",\"label\":\"Position\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"top\",\"options\":[\"top\",\"bottom\"]}]}","import { useMemo, useState, useCallback } from 'react';\nimport TabsMeta from './Tabs.meta.yaml';\n\n/**\n * Props for the Tabs component.\n */\nexport interface TabsProps {\n /**\n * An array of tab objects. Each tab must have a unique `key`, a `title` for the tab label,\n * and an optional `content` node to display when active.\n */\n tabs: { key: string; title: string; content?: React.ReactNode }[];\n\n /**\n * The key of the tab that should be active by default upon initial render.\n */\n defaultActiveKey?: string;\n\n /**\n * Callback invoked when the user selects a different tab.\n * Receives the key of the newly selected tab.\n */\n onChange?: (key: string) => void;\n\n /**\n * Additional custom props that will be passed down to the root container.\n */\n [key: string]: any;\n}\n\nexport function useTabsLogic(props: TabsProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TabsMeta?.props) {\n TabsMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { tabs = [], defaultActiveKey, onChange, ...rest } = merged;\n\n const initialKey = defaultActiveKey || (tabs.length > 0 ? tabs[0].key : '');\n const [activeKey, setActiveKey] = useState(initialKey);\n\n const handleTabPress = useCallback((key: string) => {\n setActiveKey(key);\n onChange?.(key);\n }, [onChange]);\n\n return { tabs, activeKey, handleTabPress, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useTabsStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n /* Stack the tab bar above the content area vertically */\n flexDirection: 'column',\n width: '100%',\n },\n tabBar: {\n /* Lay out the tabs horizontally next to each other */\n flexDirection: 'row',\n borderBottomWidth: 1,\n borderBottomColor: theme?.border || '#e5e7eb',\n /* Add some space below the tab bar before the content begins */\n marginBottom: 16,\n },\n tab: {\n paddingVertical: 10,\n paddingHorizontal: 16,\n borderBottomWidth: 2,\n /* Transparent border by default to prevent layout shift when active border appears */\n borderBottomColor: 'transparent',\n },\n tabActive: {\n borderBottomColor: theme?.primary || '#000',\n },\n tabText: {\n color: theme?.mutedForeground || '#6b7280',\n fontSize: 14,\n fontWeight: '500',\n },\n tabTextActive: {\n color: theme?.primary || '#000',\n fontWeight: '600',\n },\n contentContainer: {\n /* Allow the content to fill the remaining available vertical space */\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useTabsLogic, TabsProps } from './Tabs.logic';\nimport { useTabsStyle } from './Tabs.style';\n\n/**\n * A navigational component to switch between different views or content panes.\n * \n * @role\n * Provides a tabbed interface allowing users to navigate between distinct sections of content within the same context.\n * \n * @useCases\n * - Switching between different data categories (e.g., \"Recent\", \"Favorites\", \"All\").\n * - Navigating through different settings pages.\n * \n * @structure\n * - Container `View` wrapping the tab bar and the content.\n * - Tab bar `View` holding multiple `Pressable` tabs.\n * - Content `View` displaying the active tab's `ReactNode`.\n * \n * @accessibility\n * - The tab bar uses `accessibilityRole=\"tablist\"`.\n * - Each tab uses `accessibilityRole=\"tab\"`.\n * - The active state is conveyed to screen readers via `accessibilityState={{ selected: isActive }}`.\n */\nconst Tabs: React.FC<TabsProps> = (rawProps) => {\n const logic = useTabsLogic(rawProps);\n const styles = useTabsStyle(logic);\n\n const activeTabContent = logic.tabs.find((t) => t.key === logic.activeKey)?.content;\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <View style={styles.tabBar as any} accessibilityRole=\"tablist\">\n {logic.tabs.map((tab) => {\n const isActive = tab.key === logic.activeKey;\n return (\n <Pressable\n key={tab.key}\n style={[styles.tab as any, isActive && styles.tabActive]}\n onPress={() => logic.handleTabPress(tab.key)}\n accessibilityRole=\"tab\"\n accessibilityState={{ selected: isActive }}\n >\n <Text style={[styles.tabText as any, isActive && styles.tabTextActive]}>\n {tab.title}\n </Text>\n </Pressable>\n );\n })}\n </View>\n <View style={styles.contentContainer as any}>\n {activeTabContent}\n </View>\n </View>\n );\n};\n\nexport default Tabs;\n","{\"type\":\"component\",\"id\":\"Text\",\"label\":\"Text\",\"description\":\"Text display component with typography control.\",\"category\":\"display\",\"tags\":[\"text\",\"label\",\"paragraph\",\"heading\",\"typography\"],\"themeMapping\":{\"color\":\"foreground\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"text\",\"label\":\"Text\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Text\"},{\"name\":\"fontSize\",\"label\":\"Font size\",\"type\":\"number\",\"group\":\"style\",\"default\":14},{\"name\":\"fontWeight\",\"label\":\"Font weight\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"400\",\"options\":[\"300\",\"400\",\"500\",\"600\",\"700\",\"800\"]},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"foreground\"},{\"name\":\"textAlign\",\"label\":\"Align\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"left\",\"options\":[\"left\",\"center\",\"right\"]},{\"name\":\"numberOfLines\",\"label\":\"Max lines\",\"type\":\"number\",\"group\":\"behavior\"}]}","import { useMemo } from 'react';\nimport TextMeta from './Text.meta.yaml';\n\n/**\n * Props for the Text component.\n */\nexport interface TextProps {\n /**\n * The content to be rendered inside the Text component.\n */\n children?: React.ReactNode;\n\n /**\n * The typography variant determining font size, weight, and default margins.\n */\n variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'p' | 'small' | 'muted';\n\n /**\n * Horizontal text alignment.\n */\n align?: 'left' | 'center' | 'right';\n\n /**\n * Override for the font weight. If omitted, the variant's default weight is used.\n */\n weight?: 'normal' | 'bold' | '600';\n\n /**\n * Additional custom props that will be passed down to the underlying Text component.\n */\n [key: string]: any;\n}\n\nexport function useTextLogic(props: TextProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TextMeta?.props) {\n TextMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, variant = 'p', align = 'left', weight, ...rest } = merged;\n\n return { children, variant, align, weight, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useTextStyle(logic: any) {\n const { theme } = useTheme();\n \n let fontSize = 16;\n let fontWeight = logic.weight || 'normal';\n let color = theme?.foreground || '#000000';\n let marginBottom = 0;\n\n switch (logic.variant) {\n case 'h1': fontSize = 36; fontWeight = logic.weight || 'bold'; marginBottom = 16; break;\n case 'h2': fontSize = 30; fontWeight = logic.weight || 'bold'; marginBottom = 14; break;\n case 'h3': fontSize = 24; fontWeight = logic.weight || '600'; marginBottom = 12; break;\n case 'h4': fontSize = 20; fontWeight = logic.weight || '600'; marginBottom = 10; break;\n case 'small': fontSize = 12; break;\n case 'muted': fontSize = 14; color = theme?.mutedForeground || '#6b7280'; break;\n case 'p':\n default: fontSize = 16; marginBottom = 8; break;\n }\n\n return {\n text: {\n fontSize,\n fontWeight,\n color,\n textAlign: logic.align,\n /* Bottom margin varies depending on typography variant to provide standard spacing */\n marginBottom,\n }\n };\n}\n","import React from 'react';\nimport { Text as RNText } from 'react-native';\nimport { useTextLogic, TextProps } from './Text.logic';\nimport { useTextStyle } from './Text.style';\n\n/**\n * A foundational typography component.\n * \n * @role\n * Renders text on the screen using predefined design system variants.\n * \n * @useCases\n * - Displaying headings, paragraphs, and labels.\n * - Enforcing consistent typography (font sizes, weights, and colors) across the app.\n * \n * @structure\n * - Wraps the React Native `Text` component.\n * \n * @accessibility\n * - Inherits React Native's `Text` accessibility features.\n * - Text content is automatically accessible to screen readers.\n */\nconst Text: React.FC<TextProps> = (rawProps) => {\n const logic = useTextLogic(rawProps);\n const styles = useTextStyle(logic);\n\n return (\n <RNText style={[styles.text as any, logic.rest.style]}>\n {logic.children}\n </RNText>\n );\n};\n\nexport default Text;\n","{\"type\":\"component\",\"id\":\"TextArea\",\"label\":\"Text Area\",\"description\":\"Multi-line text input.\",\"category\":\"input\",\"tags\":[\"textarea\",\"multiline\",\"input\",\"form\"],\"themeMapping\":{\"bg\":\"input\",\"text\":\"foreground\",\"border\":\"border\"},\"variants\":[{\"name\":\"outlined\",\"label\":\"Outlined\",\"overrides\":{\"borderWidth\":1,\"bg\":\"transparent\"}},{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{\"borderWidth\":0}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":80,\"px\":3,\"py\":2,\"fontSize\":13,\"labelSize\":11},\"md\":{\"height\":120,\"px\":4,\"py\":3,\"fontSize\":15,\"labelSize\":13},\"lg\":{\"height\":180,\"px\":5,\"py\":4,\"fontSize\":17,\"labelSize\":14}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"outlined\",\"options\":[\"outlined\",\"filled\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"placeholder\",\"label\":\"Placeholder\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"error\",\"label\":\"Error message\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"numberOfLines\",\"label\":\"Lines\",\"type\":\"number\",\"group\":\"layout\",\"default\":4},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"input\"}]}","import { useMemo, useState, useCallback } from 'react';\nimport TextAreaMeta from './TextArea.meta.yaml';\n\n/**\n * Props for the TextArea component.\n */\nexport interface TextAreaProps {\n /** The controlled text value of the text area. */\n value?: string;\n /** The default text value for an uncontrolled text area. */\n defaultValue?: string;\n /** Callback invoked when the text changes. */\n onChangeText?: (text: string) => void;\n /** Placeholder text shown when the text area is empty. */\n placeholder?: string;\n /** Disables the text area, preventing user input. */\n disabled?: boolean;\n /** Error message to display below the text area. */\n error?: string;\n /** Approximate number of lines to dictate the initial minimum height. */\n lines?: number;\n /** Additional custom props that will be passed to the container View. */\n [key: string]: any;\n}\n\nexport function useTextAreaLogic(props: TextAreaProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TextAreaMeta?.props) {\n TextAreaMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value, defaultValue, onChangeText, placeholder, disabled, error, lines = 3, ...rest } = merged;\n\n const [isFocused, setIsFocused] = useState(false);\n const [contentHeight, setContentHeight] = useState(0);\n\n const handleContentSizeChange = useCallback((e: any) => {\n setContentHeight(e.nativeEvent.contentSize.height);\n }, []);\n\n return { \n value, defaultValue, onChangeText, placeholder, disabled, error, lines, \n isFocused, setIsFocused, contentHeight, handleContentSizeChange, rest \n };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useTextAreaStyle(logic: any) {\n const { theme } = useTheme();\n \n let borderColor = theme?.border || '#e5e7eb';\n if (logic.error) borderColor = theme?.destructive || '#ef4444';\n else if (logic.isFocused) borderColor = theme?.ring || theme?.primary || '#3b82f6';\n\n const baseMinHeight = logic.lines * 20 + 20;\n\n return {\n baseMinHeight,\n container: {\n marginBottom: logic.error ? 4 : 0,\n },\n inputWrapper: {\n backgroundColor: theme?.background || '#ffffff',\n borderColor: borderColor,\n borderWidth: 1,\n borderRadius: 8,\n overflow: 'hidden' as const,\n opacity: logic.disabled ? 0.5 : 1,\n },\n input: {\n flex: 1,\n paddingHorizontal: 12,\n paddingVertical: 10,\n color: theme?.foreground || '#111827',\n fontSize: 16,\n textAlignVertical: 'top' as const,\n },\n placeholderColor: theme?.mutedForeground || '#9ca3af',\n errorText: {\n color: theme?.destructive || '#ef4444',\n fontSize: 12,\n marginTop: 4,\n marginLeft: 4,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View, TextInput as RNTextInput, Text } from 'react-native';\nimport Animated, { useAnimatedStyle, withTiming, useSharedValue } from 'react-native-reanimated';\nimport { useTextAreaLogic, TextAreaProps } from './TextArea.logic';\nimport { useTextAreaStyle } from './TextArea.style';\n\n/**\n * @component TextArea\n * @description An auto-expanding multi-line text input with smooth height transitions.\n */\nconst TextArea: React.FC<TextAreaProps> = (rawProps) => {\n const logic = useTextAreaLogic(rawProps);\n const styles = useTextAreaStyle(logic);\n\n const animatedHeight = useSharedValue(styles.baseMinHeight);\n\n useEffect(() => {\n const targetHeight = Math.max(styles.baseMinHeight, logic.contentHeight + 20); // Add padding\n animatedHeight.value = withTiming(targetHeight, { duration: 150 });\n }, [logic.contentHeight, styles.baseMinHeight]);\n\n const animatedStyle = useAnimatedStyle(() => {\n return {\n height: animatedHeight.value,\n };\n });\n\n return (\n <View style={[styles.container, logic.rest.style]}>\n <Animated.View style={[styles.inputWrapper, animatedStyle]}>\n <RNTextInput\n style={styles.input}\n value={logic.value}\n defaultValue={logic.defaultValue}\n onChangeText={logic.onChangeText}\n placeholder={logic.placeholder}\n placeholderTextColor={styles.placeholderColor}\n editable={!logic.disabled}\n onFocus={() => logic.setIsFocused(true)}\n onBlur={() => logic.setIsFocused(false)}\n multiline\n onContentSizeChange={logic.handleContentSizeChange}\n />\n </Animated.View>\n {logic.error ? <Text style={styles.errorText}>{logic.error}</Text> : null}\n </View>\n );\n};\n\nexport default TextArea;\n","{\"type\":\"component\",\"id\":\"TextInput\",\"label\":\"Text Input\",\"description\":\"Single-line text input with label, error state, and icon support.\",\"category\":\"input\",\"tags\":[\"input\",\"text\",\"field\",\"form\"],\"themeMapping\":{\"bg\":\"input\",\"text\":\"foreground\",\"border\":\"border\",\"placeholder\":\"mutedForeground\"},\"variants\":[{\"name\":\"outlined\",\"label\":\"Outlined\",\"overrides\":{\"borderWidth\":1,\"bg\":\"transparent\"}},{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{\"borderWidth\":0}},{\"name\":\"underline\",\"label\":\"Underline\",\"overrides\":{\"borderWidth\":0,\"borderBottomWidth\":1,\"borderRadius\":\"none\"}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"px\":3,\"fontSize\":13,\"labelSize\":11},\"md\":{\"height\":40,\"px\":4,\"fontSize\":15,\"labelSize\":13},\"lg\":{\"height\":48,\"px\":5,\"fontSize\":17,\"labelSize\":14}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"outlined\",\"options\":[\"outlined\",\"filled\",\"underline\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"placeholder\",\"label\":\"Placeholder\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"error\",\"label\":\"Error message\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"secureEntry\",\"label\":\"Password\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"input\"},{\"name\":\"borderColor\",\"label\":\"Border color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"}]}","import { useMemo, useState } from 'react';\nimport TextInputMeta from './TextInput.meta.yaml';\n\n/**\n * Props for the TextInput component.\n */\nexport interface TextInputProps {\n /**\n * The controlled text value of the input.\n */\n value?: string;\n\n /**\n * The default text value for an uncontrolled input.\n */\n defaultValue?: string;\n\n /**\n * Callback invoked when the text changes.\n */\n onChangeText?: (text: string) => void;\n\n /**\n * Placeholder text shown when the input is empty.\n */\n placeholder?: string;\n\n /**\n * Disables the input, preventing user interaction.\n */\n disabled?: boolean;\n\n /**\n * Error message to display below the input. Also styles the border red.\n */\n error?: string;\n\n /**\n * Additional custom props that will be passed to the container View.\n */\n [key: string]: any;\n}\n\nexport function useTextInputLogic(props: TextInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TextInputMeta?.props) {\n TextInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value, defaultValue, onChangeText, placeholder, disabled, error, ...rest } = merged;\n\n const [isFocused, setIsFocused] = useState(false);\n\n return { value, defaultValue, onChangeText, placeholder, disabled, error, isFocused, setIsFocused, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useTextInputStyle(logic: any) {\n const { theme } = useTheme();\n \n let borderColor = theme?.border || '#e5e7eb';\n if (logic.error) borderColor = theme?.destructive || '#ff0000';\n else if (logic.isFocused) borderColor = theme?.ring || theme?.primary || '#000000';\n\n return {\n container: {\n /* Add slight bottom margin when error text is present to accommodate it */\n marginBottom: logic.error ? 4 : 0,\n },\n input: {\n backgroundColor: theme?.background || '#fff',\n borderColor: borderColor,\n borderWidth: 1,\n borderRadius: 6,\n paddingHorizontal: 12,\n paddingVertical: 10,\n color: theme?.foreground || '#000',\n fontSize: 14,\n /* Reduce opacity when disabled */\n opacity: logic.disabled ? 0.5 : 1,\n },\n placeholderColor: theme?.mutedForeground || '#9ca3af',\n errorText: {\n color: theme?.destructive || '#ff0000',\n fontSize: 12,\n marginTop: 4,\n }\n };\n}\n","import React from 'react';\nimport { View, TextInput as RNTextInput, Text } from 'react-native';\nimport { useTextInputLogic, TextInputProps } from './TextInput.logic';\nimport { useTextInputStyle } from './TextInput.style';\n\n/**\n * A single-line text input component.\n * \n * @role\n * Provides a field for users to enter single-line text content, such as names or email addresses.\n * \n * @useCases\n * - Registration and login forms.\n * - Search bars.\n * \n * @structure\n * - Wraps a React Native `TextInput` inside a `View` container.\n * - Optionally renders an error `Text` below the input.\n * \n * @accessibility\n * - The underlying `TextInput` is naturally accessible.\n * - Error text should ideally be linked to the input via accessibility hints or announcements in a fully accessible form setup.\n */\nconst TextInput: React.FC<TextInputProps> = (rawProps) => {\n const logic = useTextInputLogic(rawProps);\n const styles = useTextInputStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <RNTextInput\n style={styles.input as any}\n value={logic.value}\n defaultValue={logic.defaultValue}\n onChangeText={logic.onChangeText}\n placeholder={logic.placeholder}\n placeholderTextColor={styles.placeholderColor}\n editable={!logic.disabled}\n onFocus={() => logic.setIsFocused(true)}\n onBlur={() => logic.setIsFocused(false)}\n />\n {logic.error ? <Text style={styles.errorText as any}>{logic.error}</Text> : null}\n </View>\n );\n};\n\nexport default TextInput;\n","{\"type\":\"component\",\"id\":\"Video\",\"label\":\"Voido\",\"description\":\"Video player with controls, autoplay, and loop.\",\"category\":\"media\",\"tags\":[\"video\",\"player\",\"media\",\"stream\"],\"themeMapping\":{\"bg\":\"muted\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"source\",\"label\":\"Source URL\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"poster\",\"label\":\"Poster URL\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"autoplay\",\"label\":\"Autoplay\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"loop\",\"label\":\"Loop\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"muted\",\"label\":\"Muted\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"controls\",\"label\":\"Show controls\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"resizeMode\",\"label\":\"Resize mode\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"contain\",\"options\":[\"cover\",\"contain\",\"stretch\"]},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":220},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"}]}","import { useMemo, useEffect } from 'react';\nimport { useVideoPlayer } from 'expo-video';\nimport VideoMeta from './Video.meta.yaml';\n\n/**\n * Props for the Video component.\n */\nexport interface VideoProps {\n /**\n * The URI or local path to the video file.\n */\n source: string;\n\n /**\n * If true, the video will start playing automatically once loaded.\n */\n autoPlay?: boolean;\n\n /**\n * If true, the video will restart from the beginning once it reaches the end.\n */\n loop?: boolean;\n\n /**\n * Determines whether native playback controls should be displayed. Defaults to true.\n */\n controls?: boolean;\n\n /**\n * Additional custom props that will be passed to the container View.\n */\n [key: string]: any;\n}\n\nexport function useVideoLogic(props: VideoProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (VideoMeta?.props) {\n VideoMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { source, autoPlay, loop, controls, ...rest } = merged;\n\n const player = useVideoPlayer(source, player => {\n player.loop = loop ?? false;\n if (autoPlay) {\n player.play();\n }\n });\n\n useEffect(() => {\n if (player) {\n player.loop = loop ?? false;\n if (autoPlay && !player.playing) {\n player.play();\n }\n }\n }, [loop, autoPlay, player]);\n\n return { source, autoPlay, loop, controls, player, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useVideoStyle(logic: any) {\n const { theme } = useTheme();\n return {\n container: {\n /* Fill available space by default if placed in a flex container */\n flex: 1,\n /* Ensure the video has a sensible minimum height to avoid zero-height collapses */\n minHeight: 200,\n /* Black background to provide a standard letterbox/pillarbox color */\n backgroundColor: '#000',\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useVideoLogic, VideoProps } from './Video.logic';\nimport { useVideoStyle } from './Video.style';\nimport { VideoView } from 'expo-video';\n\n/**\n * A media component for video playback.\n * \n * @role\n * Embeds and plays video content from a given URI or source.\n * \n * @useCases\n * - Showing tutorials, promotional videos, or user-generated content.\n * - Background videos for landing pages (using autoPlay and loop).\n * \n * @structure\n * - Uses a standard `View` for the container to apply layout constraints.\n * - Relies on `expo-video`'s `VideoView` component for native playback capabilities.\n * \n * @accessibility\n * - Controls should be made accessible natively by `expo-video`. \n * - When controls are hidden (e.g., background video), ensure the video content is strictly decorative or alternate text/captions are provided elsewhere.\n */\nconst Video: React.FC<VideoProps> = (rawProps) => {\n const logic = useVideoLogic(rawProps);\n const styles = useVideoStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.player ? (\n <VideoView\n style={{ width: '100%', height: '100%' }}\n player={logic.player}\n nativeControls={logic.controls ?? true}\n />\n ) : null}\n </View>\n );\n};\n\nexport default Video;\n","{\"type\":\"component\",\"id\":\"WebView\",\"label\":\"WebView\",\"description\":\"Embedded web browser view.\",\"category\":\"media\",\"tags\":[\"webview\",\"browser\",\"iframe\",\"embed\"],\"themeMapping\":{\"bg\":\"muted\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"url\",\"label\":\"URL\",\"type\":\"string\",\"group\":\"content\",\"default\":\"https://expo.dev\"},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":400},{\"name\":\"scrollEnabled\",\"label\":\"Scroll\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"}]}","import { useMemo } from 'react';\nimport WebViewMeta from './WebView.meta.yaml';\n\n/**\n * Props for the WebView component.\n */\nexport interface WebViewProps {\n /**\n * The URL or URI to load inside the web view.\n */\n source: string;\n\n /**\n * Additional custom props that will be passed to the container View.\n */\n [key: string]: any;\n}\n\nexport function useWebViewLogic(props: WebViewProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (WebViewMeta?.props) {\n WebViewMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { source, ...rest } = merged;\n\n return { source, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useWebViewStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n /* Fill available space by default if placed in a flex container */\n flex: 1,\n /* Provide a minimum height so it doesn't collapse entirely if flex isn't sufficient */\n minHeight: 400,\n backgroundColor: theme?.background || '#fff',\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useWebViewLogic, WebViewProps } from './WebView.logic';\nimport { useWebViewStyle } from './WebView.style';\nimport RNWebView from 'react-native-webview';\n\n/**\n * An embedded web browser component.\n * \n * @role\n * Renders web content inside a native application view.\n * \n * @useCases\n * - Displaying external websites or articles without leaving the app.\n * - Rendering complex HTML strings or rich text.\n * - Loading web-based auth flows or payment gateways.\n * \n * @structure\n * - Wraps `react-native-webview` inside a `View` container.\n * \n * @accessibility\n * - The web content should inherently implement its own ARIA and semantic HTML for screen readers.\n */\nconst WebView: React.FC<WebViewProps> = (rawProps) => {\n const logic = useWebViewLogic(rawProps);\n const styles = useWebViewStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.source && (\n <RNWebView source={{ uri: logic.source }} style={{ flex: 1 }} />\n )}\n </View>\n );\n};\n\nexport default WebView;\n","{\"name\":\"WheelPicker\",\"description\":\"A scrollable barrel wheel picker. If items exceed maxItemsInWheel, a \\\"More...\\\" option opens a submenu modal.\",\"props\":[{\"name\":\"items\",\"type\":\"array\",\"description\":\"Array of items to pick from { label, value }\",\"required\":true},{\"name\":\"value\",\"type\":\"string\",\"description\":\"Currently selected value\"},{\"name\":\"itemHeight\",\"type\":\"number\",\"description\":\"Height of a single item in pixels\",\"default\":40},{\"name\":\"maxItemsInWheel\",\"type\":\"number\",\"description\":\"Maximum number of items to show in the wheel before moving the rest to a submenu\",\"default\":5},{\"name\":\"moreLabel\",\"type\":\"string\",\"description\":\"Label for the \\\"More...\\\" option\",\"default\":\"Plus...\"}]}","import { useMemo, useState, useCallback } from 'react';\nimport { NativeSyntheticEvent, NativeScrollEvent } from 'react-native';\nimport WheelPickerMeta from './WheelPicker.meta.yaml';\n\n/**\n * Represents a single item in the WheelPicker\n */\nexport interface WheelPickerItem {\n /** Display text for the item */\n label: string;\n /** Unique value identifying the item */\n value: string;\n}\n\nexport interface WheelPickerProps {\n /** Array of items to pick from */\n items: WheelPickerItem[];\n /** Currently selected value */\n value?: string;\n /** Callback fired when an item is selected */\n onChange?: (value: string) => void;\n /** Height of a single item in pixels (default: 44) */\n itemHeight?: number;\n /** Maximum number of items to show in the wheel before moving the rest to a submenu (default: 7) */\n maxItemsInWheel?: number;\n /** Label for the \"More...\" option (default: 'More...') */\n moreLabel?: string;\n /** Additional styling or container props */\n [key: string]: any;\n}\n\n/**\n * Custom hook to encapsulate WheelPicker business logic.\n */\nexport function useWheelPickerLogic(props: WheelPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (WheelPickerMeta?.props) {\n WheelPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { \n items = [], \n value, \n onChange, \n itemHeight = 44,\n maxItemsInWheel = 7,\n moreLabel = 'More...',\n ...rest \n } = merged;\n\n const [isSubmenuOpen, setIsSubmenuOpen] = useState(false);\n\n // Compute the visible items in the wheel vs the submenu\n const wheelItems = useMemo(() => {\n if (items.length <= maxItemsInWheel) {\n return items;\n }\n const truncated = items.slice(0, maxItemsInWheel - 1);\n truncated.push({ label: moreLabel, value: '__MORE__' });\n return truncated;\n }, [items, maxItemsInWheel, moreLabel]);\n\n // Find the selected index among the wheel items\n const selectedIndex = useMemo(() => {\n const idx = wheelItems.findIndex((i: WheelPickerItem) => i.value === value);\n return idx >= 0 ? idx : 0;\n }, [wheelItems, value]);\n\n const handleScrollEnd = useCallback((event: NativeSyntheticEvent<NativeScrollEvent>) => {\n const offsetY = event.nativeEvent.contentOffset.y;\n const index = Math.round(offsetY / itemHeight);\n \n if (index >= 0 && index < wheelItems.length) {\n const selectedItem = wheelItems[index];\n if (selectedItem.value === '__MORE__') {\n setIsSubmenuOpen(true);\n } else if (onChange && selectedItem.value !== value) {\n onChange(selectedItem.value);\n }\n }\n }, [itemHeight, wheelItems, onChange, value]);\n\n const selectFromSubmenu = useCallback((val: string) => {\n setIsSubmenuOpen(false);\n if (onChange && val !== value) onChange(val);\n }, [onChange, value]);\n\n return { \n wheelItems, \n allItems: items,\n selectedIndex,\n itemHeight,\n isSubmenuOpen,\n setIsSubmenuOpen,\n handleScrollEnd,\n selectFromSubmenu,\n value,\n onChange,\n rest \n };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\nimport { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useWheelPickerStyle(logic: any) {\n const { theme } = useTheme();\n\n return useMemo(() => StyleSheet.create({\n container: {\n height: logic.itemHeight * 5, \n overflow: 'hidden',\n justifyContent: 'center',\n backgroundColor: theme?.background || '#ffffff',\n borderRadius: 12,\n borderWidth: 1,\n borderColor: theme?.border || '#e5e7eb',\n },\n scrollView: {\n flex: 1,\n },\n itemContainer: {\n height: logic.itemHeight,\n justifyContent: 'center',\n alignItems: 'center',\n paddingHorizontal: 16,\n },\n itemText: {\n fontSize: 18,\n fontWeight: '500',\n color: theme?.foreground || '#111827',\n textAlign: 'center',\n },\n activeHighlight: {\n position: 'absolute',\n top: logic.itemHeight * 2, \n left: 12,\n right: 12,\n height: logic.itemHeight,\n backgroundColor: theme?.muted || 'rgba(0, 0, 0, 0.05)',\n borderRadius: 8,\n pointerEvents: 'none', \n },\n modalOverlay: {\n flex: 1,\n backgroundColor: 'rgba(0,0,0,0.5)',\n justifyContent: 'flex-end',\n },\n modalContent: {\n backgroundColor: theme?.background || '#ffffff',\n borderTopLeftRadius: 24,\n borderTopRightRadius: 24,\n maxHeight: '80%',\n paddingBottom: 32,\n shadowColor: '#000',\n shadowOffset: { width: 0, height: -4 },\n shadowOpacity: 0.1,\n shadowRadius: 12,\n elevation: 10,\n },\n modalHeader: {\n padding: 20,\n borderBottomWidth: 1,\n borderBottomColor: theme?.border || '#e5e7eb',\n alignItems: 'center',\n },\n modalTitle: {\n fontSize: 18,\n fontWeight: '600',\n color: theme?.foreground || '#111827',\n },\n submenuItem: {\n paddingVertical: 16,\n paddingHorizontal: 24,\n borderBottomWidth: 1,\n borderBottomColor: theme?.border || '#f3f4f6',\n },\n submenuItemActive: {\n backgroundColor: theme?.muted || '#f9fafb',\n },\n submenuItemPressed: {\n backgroundColor: theme?.border || '#e5e7eb',\n },\n submenuItemText: {\n fontSize: 16,\n color: theme?.foreground || '#374151',\n },\n submenuItemTextActive: {\n color: theme?.primary || '#3b82f6',\n fontWeight: '700',\n }\n }), [logic.itemHeight, theme]);\n}\n","import React, { useEffect } from 'react';\nimport { View, Text, Modal, Pressable } from 'react-native';\nimport Animated, { \n useAnimatedScrollHandler, \n useSharedValue, \n useAnimatedStyle,\n interpolate,\n Extrapolation,\n useAnimatedRef\n} from 'react-native-reanimated';\nimport { useWheelPickerLogic, WheelPickerProps, WheelPickerItem } from './WheelPicker.logic';\nimport { useWheelPickerStyle } from './WheelPicker.style';\n\n/**\n * Animated wheel item that calculates its 3D rotation based on the scroll position.\n */\nconst AnimatedWheelItem = ({ \n item, \n index, \n scrollY, \n itemHeight, \n styles \n}: { \n item: WheelPickerItem;\n index: number;\n scrollY: Animated.SharedValue<number>;\n itemHeight: number;\n styles: any;\n}) => {\n const animatedStyle = useAnimatedStyle(() => {\n const distance = scrollY.value - index * itemHeight;\n \n const rotateX = interpolate(\n distance,\n [-itemHeight * 2, 0, itemHeight * 2],\n [-50, 0, 50],\n Extrapolation.CLAMP\n );\n\n const scale = interpolate(\n distance,\n [-itemHeight * 2, 0, itemHeight * 2],\n [0.85, 1, 0.85],\n Extrapolation.CLAMP\n );\n\n const opacity = interpolate(\n distance,\n [-itemHeight * 2, 0, itemHeight * 2],\n [0.3, 1, 0.3],\n Extrapolation.CLAMP\n );\n\n const translateY = interpolate(\n distance,\n [-itemHeight * 2, 0, itemHeight * 2],\n [itemHeight * 0.4, 0, -itemHeight * 0.4],\n Extrapolation.CLAMP\n );\n\n return {\n transform: [\n { perspective: 500 },\n { translateY },\n { rotateX: `${rotateX}deg` },\n { scale }\n ],\n opacity,\n };\n });\n\n return (\n <Animated.View style={[styles.itemContainer, animatedStyle]}>\n <Text style={styles.itemText} numberOfLines={1}>{item.label}</Text>\n </Animated.View>\n );\n};\n\n/**\n * @component WheelPicker\n * @description A fully robust 3D scrollable barrel wheel picker with submenu support.\n */\nconst WheelPicker: React.FC<WheelPickerProps> = (rawProps) => {\n const logic = useWheelPickerLogic(rawProps);\n const styles = useWheelPickerStyle(logic);\n const animatedRef = useAnimatedRef<Animated.ScrollView>();\n const scrollY = useSharedValue(logic.selectedIndex * logic.itemHeight);\n\n const scrollHandler = useAnimatedScrollHandler({\n onScroll: (event) => {\n scrollY.value = event.contentOffset.y;\n },\n });\n\n useEffect(() => {\n if (animatedRef.current && logic.selectedIndex >= 0) {\n setTimeout(() => {\n if (animatedRef.current && 'scrollTo' in animatedRef.current) {\n (animatedRef.current as any).scrollTo({ \n y: logic.selectedIndex * logic.itemHeight, \n animated: true \n });\n }\n }, 50);\n }\n }, [logic.selectedIndex, logic.itemHeight]);\n\n return (\n <View style={[styles.container, logic.rest.style]} {...logic.rest}>\n <View style={styles.activeHighlight} />\n \n <Animated.ScrollView\n ref={animatedRef}\n style={styles.scrollView}\n showsVerticalScrollIndicator={false}\n snapToInterval={logic.itemHeight}\n decelerationRate=\"fast\"\n onScroll={scrollHandler}\n scrollEventThrottle={16}\n onMomentumScrollEnd={logic.handleScrollEnd}\n contentContainerStyle={{\n paddingVertical: logic.itemHeight * 2\n }}\n >\n {logic.wheelItems.map((item: WheelPickerItem, idx: number) => (\n <AnimatedWheelItem\n key={`${item.value}-${idx}`}\n item={item}\n index={idx}\n scrollY={scrollY}\n itemHeight={logic.itemHeight}\n styles={styles}\n />\n ))}\n </Animated.ScrollView>\n\n <Modal\n visible={logic.isSubmenuOpen}\n transparent={true}\n animationType=\"slide\"\n onRequestClose={() => logic.setIsSubmenuOpen(false)}\n >\n <View style={styles.modalOverlay}>\n <View style={styles.modalContent}>\n <View style={styles.modalHeader}>\n <Text style={styles.modalTitle}>Select Option</Text>\n </View>\n <Animated.ScrollView bounces={false}>\n {logic.allItems.map((item: WheelPickerItem, idx: number) => (\n <Pressable\n key={`${item.value}-${idx}`}\n style={({ pressed }) => [\n styles.submenuItem,\n logic.value === item.value && styles.submenuItemActive,\n pressed && styles.submenuItemPressed\n ]}\n onPress={() => logic.selectFromSubmenu(item.value)}\n >\n <Text \n style={[\n styles.submenuItemText,\n logic.value === item.value && styles.submenuItemTextActive\n ]}\n >\n {item.label}\n </Text>\n </Pressable>\n ))}\n </Animated.ScrollView>\n </View>\n </View>\n </Modal>\n </View>\n );\n};\n\nexport default WheelPicker;\n","import React from 'react';\nimport { View, Text } from 'react-native';\n\nexport const Placeholder = ({ label }: { label: string }) => {\n return (\n <View style={{\n flex: 1,\n minHeight: 40,\n minWidth: 40,\n borderWidth: 1,\n borderStyle: 'dashed',\n borderColor: 'rgba(150, 150, 150, 0.5)',\n borderRadius: 4,\n margin: 4,\n justifyContent: 'center',\n alignItems: 'center',\n backgroundColor: 'rgba(150, 150, 150, 0.05)',\n }}>\n <Text style={{\n color: 'rgba(150, 150, 150, 0.8)',\n fontSize: 12,\n fontWeight: 'bold',\n textTransform: 'uppercase',\n }}>\n {label}\n </Text>\n </View>\n );\n};\n","{\"type\":\"layout\",\"id\":\"AuthLayout\",\"label\":\"Authentication\",\"description\":\"Panel branding (desktop) + centered form. Mobile: full screen.\",\"category\":\"page\",\"tags\":[\"auth\",\"login\",\"signup\",\"onboarding\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"children\",\"label\":\"Form\",\"required\":true,\"kind\":\"children\"},{\"name\":\"branding\",\"label\":\"Panel branding\",\"required\":false,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"brandingBackground\",\"label\":\"Branding Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"background\",\"group\":\"style\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"brandingRatio\",\"label\":\"Branding Ratio\",\"type\":\"ratio\",\"group\":\"layout\",\"default\":0.5,\"min\":0,\"max\":1},{\"name\":\"padding\",\"label\":\"Form Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"shadowed\",\"label\":\"Mobile Shadow\",\"type\":\"boolean\",\"group\":\"style\",\"default\":true},{\"name\":\"formMaxWidth\",\"label\":\"Form Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":520},{\"name\":\"formScrollPaddingY\",\"label\":\"Scroll Y Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":8},{\"name\":\"formScrollPaddingX\",\"label\":\"Scroll X Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4}]}","import { useMemo } from 'react';\nimport AuthLayoutMeta from './AuthLayout.meta.yaml';\n\n/**\n * Props for the AuthLayout component.\n */\nexport interface AuthLayoutProps {\n /**\n * The visual element to display alongside the authentication form.\n * Typically an Image or SVG component providing branding or context.\n */\n image?: React.ReactNode;\n /**\n * The authentication form components (e.g., inputs, buttons).\n * These are rendered within a centered, padded container.\n */\n children?: React.ReactNode;\n /**\n * Allows overriding standard View properties and extending with custom layout attributes.\n */\n [key: string]: any;\n}\n\nexport function useAuthLayoutLogic(props: AuthLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (AuthLayoutMeta?.props) {\n AuthLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { image, children, ...rest } = merged;\n\n return { image, children, rest };\n}\n","\nexport function useAuthLayoutStyle(logic: any) {\n return {\n // Defines a row-oriented flex container to place the image and form side by side.\n // Fills the entire available space (flex: 1).\n container: {\n flex: 1,\n flexDirection: 'row',\n },\n // Consumes 50% of the space when present. Uses display: 'none' to completely collapse\n // when no image is provided, ensuring the form takes over.\n imageContainer: {\n flex: 1,\n display: logic.image ? 'flex' : 'none',\n },\n // Form container shares equal flex weight (flex: 1) with the image.\n // Centers content horizontally and vertically using justifyContent and alignItems.\n // Adds padding to ensure inputs do not hit the edge of the screen.\n formContainer: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n padding: 32,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useAuthLayoutLogic, AuthLayoutProps } from './AuthLayout.logic';\nimport { useAuthLayoutStyle } from './AuthLayout.style';\n\n/**\n * @component AuthLayout\n * @description\n * AuthLayout provides a foundational structure tailored specifically for authentication screens\n * (e.g., login, registration, password recovery). It splits the viewport into a split-screen \n * layout featuring an illustrative or branding image alongside a dedicated form container.\n *\n * @useCases\n * - Login or Registration pages where a primary marketing image is desired.\n * - Onboarding flows with distinct visual separation between content and input.\n *\n * @structure\n * - Renders a row-based Flexbox container.\n * - Left/Top side: An optional visual container for branding/imagery.\n * - Right/Bottom side: A centered container for authentication forms.\n *\n * @accessibility\n * - Ensure that the provided `image` node contains appropriate `accessibilityLabel` attributes if it conveys meaning.\n * - The form container acts as a standard `View`, but screen readers should be guided sequentially from the image (if any) to the form.\n */\nconst AuthLayout: React.FC<AuthLayoutProps> = (rawProps) => {\n const logic = useAuthLayoutLogic(rawProps);\n const styles = useAuthLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.imageContainer as any}>\n {logic.image || <Placeholder label=\"image\" />}\n </View>\n <View style={styles.formContainer as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </View>\n );\n};\n\nexport default AuthLayout;\n","{\"type\":\"layout\",\"id\":\"BentoLayout\",\"label\":\"Bento\",\"description\":\"Bento box grid with varied cell sizes.\",\"category\":\"content\",\"tags\":[\"bento\",\"grid\",\"mosaic\",\"dashboard\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"items\",\"label\":\"Items\",\"required\":true,\"kind\":\"items\"}],\"responsive\":true,\"animated\":false,\"previewItemCount\":5,\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":2},{\"name\":\"itemBackground\",\"label\":\"Item Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"itemBorderRadius\",\"label\":\"Item Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":1200},{\"name\":\"baseHeight\",\"label\":\"Base Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":200},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"cellConfig\",\"label\":\"Cell Config\",\"type\":\"json\",\"group\":\"content\",\"default\":[]}]}","import { useMemo } from 'react';\nimport BentoLayoutMeta from './BentoLayout.meta.yaml';\n\n/**\n * Props for the BentoLayout component.\n */\nexport interface BentoLayoutProps {\n /**\n * The grid items to be displayed in the bento layout.\n */\n children?: React.ReactNode;\n /**\n * The spacing gap between bento items, measured in pixels.\n * Controls both the row and column gaps equivalently.\n */\n gap?: number;\n /**\n * Allows overriding standard View properties and extending with custom layout attributes.\n */\n [key: string]: any;\n}\n\nexport function useBentoLayoutLogic(props: BentoLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BentoLayoutMeta?.props) {\n BentoLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, gap = 16, ...rest } = merged;\n\n return { children, gap, rest };\n}\n","\nexport function useBentoLayoutStyle(logic: any) {\n return {\n // Uses flex-wrap to allow bento items to flow to subsequent rows.\n // 'gap' establishes spacing between items consistently.\n container: {\n flex: 1,\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: logic.gap,\n },\n // Large items consume the full row width to act as heroes or featured content.\n itemLarge: { flexBasis: '100%', height: 300, marginBottom: logic.gap },\n // Medium items take slightly less than half the space, accommodating the gap.\n itemMedium: { flexBasis: '48%', height: 200, marginBottom: logic.gap },\n // Small items divide into roughly thirds of the row width.\n itemSmall: { flexBasis: '31%', height: 150, marginBottom: logic.gap },\n };\n}\n","import React, { useMemo } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useBentoLayoutLogic, BentoLayoutProps } from './BentoLayout.logic';\nimport { useBentoLayoutStyle } from './BentoLayout.style';\n\n/**\n * @component BentoLayout\n * @description\n * BentoLayout implements a \"bento box\" style grid, dynamically distributing its children \n * into differently sized rectangular compartments. It aims to create an engaging, masonry-like\n * visual hierarchy.\n *\n * @useCases\n * - Dashboards displaying varying widgets (charts, stats, lists).\n * - Portfolios or media galleries requiring dynamic grid weighting.\n *\n * @structure\n * - Employs a flex-wrap row container to flow items continuously.\n * - Wraps each child in a container that simulates bento sizing (large, medium, or small)\n * based on its positional index.\n *\n * @accessibility\n * - The semantic ordering matches the visual DOM flow. \n * - Content should be naturally understandable in sequential order.\n */\nconst BentoLayout: React.FC<BentoLayoutProps> = (rawProps) => {\n const logic = useBentoLayoutLogic(rawProps);\n const styles = useBentoLayoutStyle(logic);\n\n // Naive automatic bento distribution for React Native (can be overridden by children)\n // Wrapped in useMemo to prevent unnecessary recalculations on re-renders\n const wrappedChildren = useMemo(() => {\n return React.Children.map(logic.children, (child, i) => {\n const isFirst = i === 0;\n const isEvenRow = Math.floor(i / 3) % 2 === 0;\n const style = isFirst ? styles.itemLarge : (isEvenRow ? styles.itemMedium : styles.itemSmall);\n \n return (\n <View key={i} style={style as any}>\n {child}\n </View>\n );\n });\n }, [logic.children, styles]);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {wrappedChildren}\n </View>\n );\n};\n\nexport default BentoLayout;\n","{\"type\":\"layout\",\"id\":\"BottomDrawerLayout\",\"label\":\"Bottom Drawer\",\"description\":\"Animated bottom drawer with swipe gesture.\",\"category\":\"navigation\",\"tags\":[\"drawer\",\"bottom-sheet\",\"swipe\",\"modal\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\",\"expo-haptics\"]},\"themeMapping\":{\"root\":\"background\",\"drawer\":\"background\",\"accent\":\"primary\",\"border\":\"border\"},\"slots\":[{\"name\":\"content\",\"label\":\"Main content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"drawerContent\",\"label\":\"Drawer content\",\"required\":true,\"kind\":\"named\"}],\"constants\":{\"springConfig\":{\"damping\":25,\"stiffness\":200,\"mass\":0.5,\"overshootClamping\":true}},\"responsive\":true,\"animated\":true,\"props\":[{\"name\":\"drawerHeight\",\"label\":\"Drawer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":400},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"drawerBackground\",\"label\":\"Drawer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"drawerBorderRadius\",\"label\":\"Drawer Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"3xl\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"defaultOpen\",\"label\":\"Open by Default\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"handleColor\",\"label\":\"Handle Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"backdropOpacity\",\"label\":\"Backdrop Opacity\",\"type\":\"ratio\",\"group\":\"style\",\"default\":0.4,\"min\":0,\"max\":1},{\"name\":\"contentScaleWhenOpen\",\"label\":\"Open Content Scale\",\"type\":\"ratio\",\"group\":\"behavior\",\"default\":0.95,\"min\":0.5,\"max\":1},{\"name\":\"handleBarColor\",\"label\":\"Handle Bar Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"handleButtonSize\",\"label\":\"Handle Button Size\",\"type\":\"number\",\"group\":\"layout\",\"default\":56}]}","import { useMemo } from 'react';\nimport BottomDrawerLayoutMeta from './BottomDrawerLayout.meta.yaml';\n\n/**\n * Props for the BottomDrawerLayout component.\n */\nexport interface BottomDrawerLayoutProps {\n /**\n * The content to display inside the bottom drawer when it is open.\n */\n drawer?: React.ReactNode;\n /**\n * The primary screen content displayed behind the drawer.\n */\n children?: React.ReactNode;\n /**\n * Determines whether the drawer is currently visible (true) or hidden (false).\n */\n isOpen?: boolean;\n /**\n * Callback invoked when the user taps the background overlay to dismiss the drawer.\n */\n onClose?: () => void;\n /**\n * Additional properties to spread onto the main container.\n */\n [key: string]: any;\n}\n\nexport function useBottomDrawerLayoutLogic(props: BottomDrawerLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BottomDrawerLayoutMeta?.props) {\n BottomDrawerLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { drawer, children, isOpen = false, onClose, ...rest } = merged;\n\n return { drawer, children, isOpen, onClose, rest };\n}\n","\nexport function useBottomDrawerLayoutStyle(logic: any) {\n return {\n // Fills the screen to contain both main content and absolute-positioned drawer overlays.\n container: {\n flex: 1,\n },\n // Covers the entire screen. Uses z-index: 10 to sit above children, but below the drawer.\n overlay: {\n position: 'absolute',\n top: 0, bottom: 0, left: 0, right: 0,\n backgroundColor: 'rgba(0,0,0,0.5)',\n zIndex: 10,\n },\n // Anchors to the bottom of the screen. Uses a higher z-index (20) to sit above the overlay.\n drawer: {\n position: 'absolute',\n bottom: 0, left: 0, right: 0,\n minHeight: 200,\n backgroundColor: '#fff',\n zIndex: 20,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Pressable } from 'react-native';\nimport { useBottomDrawerLayoutLogic, BottomDrawerLayoutProps } from './BottomDrawerLayout.logic';\nimport { useBottomDrawerLayoutStyle } from './BottomDrawerLayout.style';\n\n/**\n * @component BottomDrawerLayout\n * @description\n * BottomDrawerLayout provides a primary content area overlaid with a dismissible drawer\n * that slides up from the bottom of the screen.\n *\n * @useCases\n * - Displaying secondary contextual actions or menus.\n * - Presenting supplementary information without navigating away from the main screen.\n *\n * @structure\n * - A main content container (flex: 1).\n * - A semi-transparent overlay covering the screen when the drawer is open (captures taps to close).\n * - A bottom-anchored drawer container holding the drawer content.\n *\n * @accessibility\n * - The overlay acts as a dismiss button. It should properly describe its \"close\" action to screen readers.\n * - When open, focus should ideally be trapped within the drawer or immediately directed to it.\n */\nconst BottomDrawerLayout: React.FC<BottomDrawerLayoutProps> = (rawProps) => {\n const logic = useBottomDrawerLayoutLogic(rawProps);\n const styles = useBottomDrawerLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n {logic.isOpen && (\n <>\n <Pressable \n style={styles.overlay as any} \n onPress={logic.onClose} \n accessibilityRole=\"button\"\n accessibilityLabel=\"Close drawer\"\n />\n <View style={styles.drawer as any}>\n {logic.drawer || <Placeholder label=\"drawer\" />}\n </View>\n </>\n )}\n </View>\n );\n};\n\nexport default BottomDrawerLayout;\n","{\"type\":\"layout\",\"id\":\"CenteredLayout\",\"label\":\"Centered\",\"description\":\"Centered content with optional card and maxWidth.\",\"category\":\"page\",\"tags\":[\"centered\",\"form\",\"onboarding\",\"modal\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":true,\"kind\":\"children\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"maxWidth\",\"label\":\"Card Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":500},{\"name\":\"padding\",\"label\":\"Card Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"background\",\"label\":\"Page Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"cardBackground\",\"label\":\"Card Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"3xl\"},{\"name\":\"shadowed\",\"label\":\"Card Shadow\",\"type\":\"boolean\",\"group\":\"style\",\"default\":false},{\"name\":\"mobilePadding\",\"label\":\"Mobile Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"desktopPadding\",\"label\":\"Desktop Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":6}]}","import { useMemo } from 'react';\nimport CenteredLayoutMeta from './CenteredLayout.meta.yaml';\n\n/**\n * Props for the CenteredLayout component.\n */\nexport interface CenteredLayoutProps {\n /**\n * The content to be centered horizontally and vertically.\n */\n children?: React.ReactNode;\n /**\n * Additional styles or View properties for the container.\n */\n [key: string]: any;\n}\n\nexport function useCenteredLayoutLogic(props: CenteredLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CenteredLayoutMeta?.props) {\n CenteredLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nexport function useCenteredLayoutStyle(logic: any) {\n return {\n // Flex: 1 to ensure it fills the parent container completely.\n // Center items on both the main axis and cross axis.\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useCenteredLayoutLogic, CenteredLayoutProps } from './CenteredLayout.logic';\nimport { useCenteredLayoutStyle } from './CenteredLayout.style';\n\n/**\n * @component CenteredLayout\n * @description\n * CenteredLayout is a simple utility layout that perfectly centers its children \n * both horizontally and vertically within the available space.\n *\n * @useCases\n * - Loading screens with a central spinner.\n * - Error states or \"empty\" states displaying a central icon and message.\n * - Splash screens.\n *\n * @structure\n * - A single Flexbox container taking up all available space.\n * - Employs justifyContent and alignItems to center contents.\n *\n * @accessibility\n * - Transparent from an accessibility perspective; it simply groups elements visually.\n * - Ensure child elements have appropriate accessibility roles if needed.\n */\nconst CenteredLayout: React.FC<CenteredLayoutProps> = (rawProps) => {\n const logic = useCenteredLayoutLogic(rawProps);\n const styles = useCenteredLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n );\n};\n\nexport default CenteredLayout;\n","{\"type\":\"layout\",\"id\":\"DashboardLayout\",\"label\":\"Dashboard\",\"description\":\"Fixed header, collapsible sidebar, scrollable content, optional footer.\",\"category\":\"page\",\"tags\":[\"dashboard\",\"admin\",\"sidebar\",\"header\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\"]},\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"header\",\"label\":\"Header\",\"required\":true,\"kind\":\"named\"},{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"sidebar\",\"label\":\"Sidebar\",\"required\":false,\"kind\":\"named\"},{\"name\":\"footer\",\"label\":\"Footer\",\"required\":false,\"kind\":\"named\"}],\"responsive\":true,\"animated\":true,\"props\":[{\"name\":\"sidebarWidth\",\"label\":\"Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":260},{\"name\":\"sidebarCollapsedWidth\",\"label\":\"Collapsed Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":70},{\"name\":\"headerHeight\",\"label\":\"Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":70},{\"name\":\"footerHeight\",\"label\":\"Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"disableContentScroll\",\"label\":\"Disable Content Scroll\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"headerBackground\",\"label\":\"Header Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"sidebarBackground\",\"label\":\"Sidebar Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"contentBackground\",\"label\":\"Content Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"footerBackground\",\"label\":\"Footer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"headerPaddingX\",\"label\":\"Header X Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"mobileHeaderMinHeight\",\"label\":\"Min Mobile Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"defaultSidebarCollapsed\",\"label\":\"Sidebar Collapsed by Default\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo } from 'react';\nimport DashboardLayoutMeta from './DashboardLayout.meta.yaml';\n\n/**\n * Props for the DashboardLayout component.\n */\nexport interface DashboardLayoutProps {\n /**\n * The React node to render in the left-hand sidebar container.\n */\n sidebar?: React.ReactNode;\n /**\n * The React node to render in the top header container above the main content.\n */\n header?: React.ReactNode;\n /**\n * The primary application content rendered below the header.\n */\n children?: React.ReactNode;\n /**\n * The fixed width of the sidebar. Defaults to 250.\n */\n sidebarWidth?: number;\n /**\n * Additional properties to spread onto the outermost container.\n */\n [key: string]: any;\n}\n\nexport function useDashboardLayoutLogic(props: DashboardLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (DashboardLayoutMeta?.props) {\n DashboardLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { sidebar, header, children, sidebarWidth = 250, ...rest } = merged;\n\n return { sidebar, header, children, sidebarWidth, rest };\n}\n","\nexport function useDashboardLayoutStyle(logic: any) {\n return {\n // Horizontal flex layout to place the sidebar and main content side-by-side.\n container: {\n flex: 1,\n flexDirection: 'row',\n },\n // Sidebar uses a fixed width determined by logic, and a right border for visual separation.\n sidebarContainer: {\n width: logic.sidebarWidth,\n borderRightWidth: 1,\n borderRightColor: '#e5e7eb',\n },\n // Main area takes up all remaining horizontal space, switching to a column layout \n // to stack the header above the children.\n mainContainer: {\n flex: 1,\n flexDirection: 'column',\n },\n // Header gets a bottom border to delineate it from the main content.\n headerContainer: {\n borderBottomWidth: 1,\n borderBottomColor: '#e5e7eb',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useDashboardLayoutLogic, DashboardLayoutProps } from './DashboardLayout.logic';\nimport { useDashboardLayoutStyle } from './DashboardLayout.style';\n\n/**\n * @component DashboardLayout\n * @description\n * DashboardLayout provides a classic web-style app layout, typically featuring a fixed \n * vertical sidebar on the left and a top header spanning the remaining width.\n *\n * @useCases\n * - Admin panels or complex data-heavy applications.\n * - Navigation-heavy apps needing a persistent menu across all screens.\n *\n * @structure\n * - Outer container uses a row-based Flexbox layout.\n * - Left side: A sidebar with a fixed or dynamically provided width.\n * - Right side: A main content column (flex: 1).\n * - Main column top: A header container.\n * - Main column bottom: The primary scrolling children content.\n *\n * @accessibility\n * - Ensure logical tab-ordering from Sidebar -> Header -> Main Content.\n * - Wrap sidebar items in proper accessible touch targets.\n */\nconst DashboardLayout: React.FC<DashboardLayoutProps> = (rawProps) => {\n const logic = useDashboardLayoutLogic(rawProps);\n const styles = useDashboardLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.sidebarContainer as any}>\n {logic.sidebar || <Placeholder label=\"sidebar\" />}\n </View>\n <View style={styles.mainContainer as any}>\n <View style={styles.headerContainer as any}>\n {logic.header || <Placeholder label=\"header\" />}\n </View>\n <View style={{ flex: 1 }}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </View>\n </View>\n );\n};\n\nexport default DashboardLayout;\n","{\"type\":\"layout\",\"id\":\"DeckLayout\",\"label\":\"Deck\",\"description\":\"Swipeable card stack with depth effect.\",\"category\":\"card\",\"tags\":[\"deck\",\"cards\",\"swipe\",\"tinder\",\"stack\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\",\"expo-haptics\"]},\"slots\":[{\"name\":\"items\",\"label\":\"Cards\",\"required\":true,\"kind\":\"items\"}],\"constants\":{\"swipeThreshold\":60,\"exitDistance\":450,\"springConfig\":{\"damping\":20,\"stiffness\":200,\"mass\":0.5}},\"responsive\":false,\"animated\":true,\"previewItemCount\":4,\"props\":[{\"name\":\"peekOffset\",\"label\":\"Peek Offset\",\"type\":\"number\",\"group\":\"layout\",\"default\":12},{\"name\":\"peekScale\",\"label\":\"Peek Scale\",\"type\":\"ratio\",\"group\":\"layout\",\"default\":0.05,\"min\":0,\"max\":0.2},{\"name\":\"cycle\",\"label\":\"Loop\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"cardShadow\",\"label\":\"Card Shadows\",\"type\":\"boolean\",\"group\":\"style\",\"default\":true},{\"name\":\"cardBackground\",\"label\":\"Card Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"cardBorderRadius\",\"label\":\"Card Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":24},{\"name\":\"containerWidth\",\"label\":\"Container Width\",\"type\":\"string\",\"group\":\"layout\",\"default\":\"90%\"},{\"name\":\"containerHeight\",\"label\":\"Container Height\",\"type\":\"string\",\"group\":\"layout\",\"default\":\"75%\"},{\"name\":\"peekCount\",\"label\":\"Background Cards\",\"type\":\"number\",\"group\":\"layout\",\"default\":2},{\"name\":\"peekRotation\",\"label\":\"Peek Rotation\",\"type\":\"number\",\"group\":\"layout\",\"default\":0},{\"name\":\"direction\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"horizontal\",\"options\":[\"horizontal\",\"vertical\"]},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"}]}","import { useMemo } from 'react';\nimport DeckLayoutMeta from './DeckLayout.meta.yaml';\n\n/**\n * Props for the DeckLayout component.\n */\nexport interface DeckLayoutProps {\n /**\n * The individual cards to be rendered within the deck stack.\n * Each child represents a swipable card.\n */\n children?: React.ReactNode;\n /**\n * Additional styles or View properties for the background container.\n */\n [key: string]: any;\n}\n\nexport function useDeckLayoutLogic(props: DeckLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (DeckLayoutMeta?.props) {\n DeckLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nexport function useDeckLayoutStyle(logic: any) {\n return {\n // Centers the stack of cards in the middle of the screen.\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n },\n // Absolute positioning allows cards to overlap each other (stacked on Z-axis).\n // Adds shadows for a physical card depth effect.\n card: {\n position: 'absolute',\n width: '80%',\n height: '70%',\n backgroundColor: '#fff',\n borderRadius: 16,\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 0.25,\n shadowRadius: 3.84,\n elevation: 5,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Dimensions } from 'react-native';\nimport Animated, { useAnimatedStyle, useSharedValue, withSpring, runOnJS } from 'react-native-reanimated';\nimport { GestureDetector, Gesture } from 'react-native-gesture-handler';\nimport { useDeckLayoutLogic, DeckLayoutProps } from './DeckLayout.logic';\nimport { useDeckLayoutStyle } from './DeckLayout.style';\n\nconst { width } = Dimensions.get('window');\n\n/**\n * @component DeckLayout\n * @description\n * DeckLayout implements a Tinder-like swipable card interface. Children are rendered as \n * stacked cards that users can drag and swipe away to reveal the next item.\n *\n * @useCases\n * - Discovery interfaces (matching apps, product discovery).\n * - Flashcards or bite-sized educational content.\n *\n * @structure\n * - Cards are stacked absolutely on top of each other in the center of the screen.\n * - Uses Reanimated and Gesture Handler to track pans and animate standard deck interactions.\n * - Z-index is dynamically assigned to keep the active card on top and scaled correctly.\n *\n * @accessibility\n * - Swiping actions should have accessible alternative buttons for users with motor impairments.\n * - The active card must clearly announce its contents. Hidden cards should ideally have `importantForAccessibility=\"no\"`.\n */\nconst DeckLayout: React.FC<DeckLayoutProps> = (rawProps) => {\n const logic = useDeckLayoutLogic(rawProps);\n const styles = useDeckLayoutStyle(logic);\n const [currentIndex, setCurrentIndex] = React.useState(0);\n\n const translateX = useSharedValue(0);\n const translateY = useSharedValue(0);\n\n const nextCard = () => {\n setCurrentIndex((prev) => prev + 1);\n };\n\n const pan = Gesture.Pan()\n .onUpdate((event) => {\n translateX.value = event.translationX;\n translateY.value = event.translationY;\n })\n .onEnd((event) => {\n if (Math.abs(event.translationX) > width * 0.3) {\n translateX.value = withSpring(Math.sign(event.translationX) * width * 1.5);\n runOnJS(nextCard)();\n } else {\n translateX.value = withSpring(0);\n translateY.value = withSpring(0);\n }\n });\n\n const animatedStyle = useAnimatedStyle(() => {\n return {\n transform: [\n { translateX: translateX.value },\n { translateY: translateY.value },\n { rotate: `${translateX.value / 15}deg` }\n ],\n };\n });\n\n const childrenArray = React.Children.toArray(logic.children);\n \n // Memoize visible children slicing to prevent unnecessary calculations\n const visibleChildren = useMemo(() => {\n return childrenArray.slice(currentIndex, currentIndex + 3);\n }, [childrenArray, currentIndex]);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {visibleChildren.map((child, index) => {\n const isFirst = index === 0;\n const scale = 1 - index * 0.05;\n const top = 15 + index * 5;\n \n if (isFirst) {\n return (\n <GestureDetector gesture={pan} key={currentIndex}>\n <Animated.View style={[styles.card as any, animatedStyle, { top: `${top}%`, zIndex: 100 }]}>\n {child}\n </Animated.View>\n </GestureDetector>\n );\n }\n \n return (\n <View \n style={[styles.card as any, { top: `${top}%`, transform: [{ scale }], zIndex: 100 - index }]} \n key={currentIndex + index}\n importantForAccessibility=\"no\"\n >\n {child}\n </View>\n );\n }).reverse()}\n </View>\n );\n};\n\nexport default DeckLayout;\n","{\"type\":\"layout\",\"id\":\"FlexLayout\",\"label\":\"Flex\",\"description\":\"Adaptive direction, wrap, and spacing. Optional scroll.\",\"category\":\"content\",\"tags\":[\"flex\",\"row\",\"column\",\"wrap\",\"adaptive\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"children\",\"label\":\"Elements\",\"required\":true,\"kind\":\"children\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"direction\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"row\",\"options\":[\"row\",\"column\"]},{\"name\":\"wrap\",\"label\":\"Wrap Line\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"align\",\"label\":\"Align Items\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"stretch\",\"options\":[\"stretch\",\"flex-start\",\"center\",\"flex-end\",\"baseline\"]},{\"name\":\"justify\",\"label\":\"Justify Content\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"flex-start\",\"options\":[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"]},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"}]}","import { useMemo } from 'react';\nimport FlexLayoutMeta from './FlexLayout.meta.yaml';\n\n/**\n * Props for the FlexLayout component.\n */\nexport interface FlexLayoutProps {\n /**\n * The React elements to render inside the layout.\n */\n children?: React.ReactNode;\n /**\n * Defines the primary axis of the flex container.\n * 'row' arranges children horizontally, 'column' vertically.\n * Defaults to 'column'.\n */\n direction?: 'row' | 'column';\n /**\n * The spacing between adjacent flex items in pixels.\n * Defaults to 0.\n */\n gap?: number;\n /**\n * Additional properties to pass to the underlying React Native View component.\n */\n [key: string]: any;\n}\n\nexport function useFlexLayoutLogic(props: FlexLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FlexLayoutMeta?.props) {\n FlexLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, direction = 'column', gap = 0, ...rest } = merged;\n\n return { children, direction, gap, rest };\n}\n","/**\n * Styles for the FlexLayout component.\n * \n * Structural choices:\n * - flex: 1 enables the container to expand and fill available space.\n * - flexDirection determines the primary axis of arrangement based on logic.\n * - gap provides a consistent spacing between child elements using flex gap.\n */\nexport function useFlexLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: logic.direction,\n gap: logic.gap,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useFlexLayoutLogic, FlexLayoutProps } from './FlexLayout.logic';\nimport { useFlexLayoutStyle } from './FlexLayout.style';\n\n/**\n * A flexible layout component that arranges its children in a row or column.\n * It uses flexbox under the hood and allows configuring the primary axis \n * and gap between elements.\n * \n * Use cases:\n * - Simple linear arrangements of components (e.g., toolbars, lists).\n * - Distributing space evenly along a single axis.\n * \n * Accessibility considerations:\n * - Make sure to pass appropriate accessibility labels to the underlying `View` if this layout serves a semantic purpose.\n */\nconst FlexLayout: React.FC<FlexLayoutProps> = (rawProps) => {\n const logic = useFlexLayoutLogic(rawProps);\n const styles = useFlexLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n );\n};\n\nexport default FlexLayout;\n","{\"type\":\"layout\",\"id\":\"FlipLayout\",\"label\":\"Flip\",\"description\":\"Carousel with front/back flip and horizontal swipe.\",\"category\":\"card\",\"tags\":[\"flip\",\"card\",\"recto-verso\",\"flashcard\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\"]},\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"items\",\"label\":\"Front Faces\",\"required\":true,\"kind\":\"items\"},{\"name\":\"backContent\",\"label\":\"Back Faces\",\"required\":false,\"kind\":\"named-array\"}],\"constants\":{\"flipThreshold\":22,\"scaleFactor\":0.92,\"flipScaleFactor\":0.9,\"springNoBounce\":{\"damping\":30,\"stiffness\":240,\"mass\":0.6},\"springSnap\":{\"damping\":35,\"stiffness\":300,\"mass\":0.5},\"exitLeft\":-700,\"exitRight\":700},\"responsive\":false,\"animated\":true,\"previewItemCount\":3,\"props\":[{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"cardBackground\",\"label\":\"Card Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"flipPerspective\",\"label\":\"Flip Perspective\",\"type\":\"number\",\"group\":\"layout\",\"default\":1200},{\"name\":\"swipeThreshold\",\"label\":\"Swipe Threshold\",\"type\":\"number\",\"group\":\"behavior\",\"default\":40},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"cardBorderRadius\",\"label\":\"Card Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":20},{\"name\":\"cardAspectRatio\",\"label\":\"Card ratio (web)\",\"type\":\"number\",\"group\":\"layout\",\"default\":0.5625,\"description\":\"Width/height ratio on web - omitted = adaptive\"},{\"name\":\"cardMaxHeight\",\"label\":\"Max Card Height\",\"type\":\"number\",\"group\":\"layout\",\"description\":\"Max height in px - omitted = no limit\"},{\"name\":\"dezoomDuration\",\"label\":\"Zoom Out Duration\",\"type\":\"number\",\"group\":\"behavior\",\"default\":120},{\"name\":\"flipDuration\",\"label\":\"Flip Duration\",\"type\":\"number\",\"group\":\"behavior\",\"default\":320},{\"name\":\"slideOutDuration\",\"label\":\"Slide Out Duration\",\"type\":\"number\",\"group\":\"behavior\",\"default\":140}]}","import { useMemo, useState } from 'react';\nimport FlipLayoutMeta from './FlipLayout.meta.yaml';\n\n/**\n * Props for the FlipLayout component.\n */\nexport interface FlipLayoutProps {\n /**\n * The React node to render on the front side of the layout.\n */\n front?: React.ReactNode;\n /**\n * The React node to render on the back side of the layout.\n */\n back?: React.ReactNode;\n /**\n * Additional properties to pass to the underlying Pressable container.\n */\n [key: string]: any;\n}\n\nexport function useFlipLayoutLogic(props: FlipLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FlipLayoutMeta?.props) {\n FlipLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { front, back, ...rest } = merged;\n const [isFlipped, setIsFlipped] = useState(false);\n\n return { front, back, isFlipped, setIsFlipped, rest };\n}\n","/**\n * Styles for the FlipLayout component.\n * \n * Structural choices:\n * - The container centers its children content.\n * - 'card' styling defines full width/height taking advantage of absolute positioning from logic.\n * - 'backfaceVisibility: hidden' ensures that the reversed views do not show their mirrored content during rotation.\n */\nexport function useFlipLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n },\n card: {\n width: '100%',\n height: '100%',\n backfaceVisibility: 'hidden',\n },\n back: {\n position: 'absolute',\n top: 0,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { Pressable, StyleSheet, ViewStyle } from 'react-native';\nimport Animated, { useAnimatedStyle, useSharedValue, withSpring, interpolate } from 'react-native-reanimated';\nimport { useFlipLayoutLogic, FlipLayoutProps } from './FlipLayout.logic';\nimport { useFlipLayoutStyle } from './FlipLayout.style';\n\n/**\n * An animated interactive layout component that visually flips between a front \n * and back side, similar to a physical card.\n * \n * Use cases:\n * - Flashcards for educational apps.\n * - Revealing additional details (e.g., product specs on the back of a product card).\n * \n * Accessibility considerations:\n * - The component is wrapped in a `Pressable` which provides interactive behaviors. \n * - Ensure `accessibilityRole=\"button\"` and `accessibilityHint` are passed if it behaves as a toggle.\n */\nconst FlipLayout: React.FC<FlipLayoutProps> = (rawProps) => {\n const logic = useFlipLayoutLogic(rawProps);\n const styles = useFlipLayoutStyle(logic);\n\n const flipValue = useSharedValue(0);\n\n useEffect(() => {\n flipValue.value = withSpring(logic.isFlipped ? 180 : 0, { damping: 15, stiffness: 100 });\n }, [logic.isFlipped, flipValue]);\n\n const frontAnimatedStyle = useAnimatedStyle(() => {\n return {\n transform: [{ rotateY: `${flipValue.value}deg` }],\n opacity: interpolate(flipValue.value, [89, 90], [1, 0]),\n };\n });\n\n const backAnimatedStyle = useAnimatedStyle(() => {\n return {\n transform: [{ rotateY: `${flipValue.value + 180}deg` }],\n opacity: interpolate(flipValue.value, [89, 90], [0, 1]),\n };\n });\n\n return (\n <Pressable style={[styles.container as ViewStyle, logic.rest.style]} onPress={() => logic.setIsFlipped(!logic.isFlipped)} {...logic.rest}>\n <Animated.View style={[styles.card as ViewStyle, frontAnimatedStyle, StyleSheet.absoluteFill, { backfaceVisibility: 'hidden' }]}>\n {logic.front || <Placeholder label=\"front\" />}\n </Animated.View>\n <Animated.View style={[styles.card as ViewStyle, backAnimatedStyle, StyleSheet.absoluteFill, { backfaceVisibility: 'hidden' }]}>\n {logic.back || <Placeholder label=\"back\" />}\n </Animated.View>\n </Pressable>\n );\n};\n\nexport default FlipLayout;\n","{\"type\":\"layout\",\"id\":\"FooterLayout\",\"label\":\"Footer\",\"description\":\"Main content with fixed or scrollable footer.\",\"category\":\"content\",\"tags\":[\"footer\",\"sticky\",\"bottom-bar\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"footer\",\"label\":\"Footer\",\"required\":true,\"kind\":\"named\"}],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"footerHeight\",\"label\":\"Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"sticky\",\"label\":\"Sticky Footer\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"footerBackground\",\"label\":\"Footer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"footerBorderRadius\",\"label\":\"Footer Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"contentBorderRadius\",\"label\":\"Content Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Content Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"footerPadding\",\"label\":\"Footer Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"compact\",\"label\":\"Compact Mode\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo } from 'react';\nimport FooterLayoutMeta from './FooterLayout.meta.yaml';\n\n/**\n * Props for the FooterLayout component.\n */\nexport interface FooterLayoutProps {\n /**\n * The React element to display in the persistent footer section at the bottom.\n */\n footer?: React.ReactNode;\n /**\n * The main content to render in the scrollable or flexible area above the footer.\n */\n children?: React.ReactNode;\n /**\n * Additional standard React Native View properties to pass to the container view.\n */\n [key: string]: any;\n}\n\nexport function useFooterLayoutLogic(props: FooterLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FooterLayoutMeta?.props) {\n FooterLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { footer, children, ...rest } = merged;\n\n return { footer, children, rest };\n}\n","/**\n * Styles for the FooterLayout component.\n * \n * Structural choices:\n * - 'container' uses column flex direction to stack content vertically.\n * - 'content' gets flex: 1 to expand and take up all remaining vertical space above the footer.\n * - 'footer' retains its intrinsic height and uses z-index to overlay if ever needed.\n */\nexport function useFooterLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: 'column',\n },\n content: {\n flex: 1,\n },\n footer: {\n zIndex: 5,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useFooterLayoutLogic, FooterLayoutProps } from './FooterLayout.logic';\nimport { useFooterLayoutStyle } from './FooterLayout.style';\n\n/**\n * A standard layout that provides a main content area and a fixed footer area.\n * The content area flexibly consumes the available space above the footer.\n * \n * Use cases:\n * - App screens that require a persistent bottom action bar or navigation.\n * - Modals or dialogues with sticky bottom confirmation buttons.\n * \n * Accessibility considerations:\n * - Semantic layout structure; ensure that focus order feels natural and \n * the footer has an appropriate accessibility role if it acts as a landmark (e.g. bottom navigation).\n */\nconst FooterLayout: React.FC<FooterLayoutProps> = (rawProps) => {\n const logic = useFooterLayoutLogic(rawProps);\n const styles = useFooterLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.content as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n <View style={styles.footer as any}>\n {logic.footer || <Placeholder label=\"footer\" />}\n </View>\n </View>\n );\n};\n\nexport default FooterLayout;\n","{\"type\":\"layout\",\"id\":\"GridLayout\",\"label\":\"Grid\",\"description\":\"Responsive grid with adaptive columns.\",\"category\":\"content\",\"tags\":[\"grid\",\"columns\",\"responsive\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"items\",\"label\":\"Cells\",\"required\":true,\"kind\":\"items\"}],\"responsive\":true,\"animated\":false,\"previewItemCount\":6,\"props\":[{\"name\":\"columns\",\"label\":\"Columns\",\"type\":\"number\",\"group\":\"layout\",\"description\":\"Number of columns (auto if omitted)\"},{\"name\":\"cellHeight\",\"label\":\"Cell Height\",\"type\":\"number\",\"group\":\"layout\",\"description\":\"Fixed height in px - omitted = content adaptive\"},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"itemBackground\",\"label\":\"Item Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"itemBorderRadius\",\"label\":\"Item Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"transparent\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"compact\",\"label\":\"Compact Mode\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo } from 'react';\nimport GridLayoutMeta from './GridLayout.meta.yaml';\nimport { useWindowDimensions } from 'react-native';\n\n/**\n * Props for the GridLayout component.\n */\nexport interface GridLayoutProps {\n /**\n * The React elements to render as items in the grid.\n */\n children?: React.ReactNode;\n /**\n * The number of columns to display in the grid. Defaults to 2.\n */\n columns?: number;\n /**\n * The gap (spacing) between items in the grid. Defaults to 16.\n */\n gap?: number;\n /**\n * Additional properties to pass to the underlying React Native View component.\n */\n [key: string]: any;\n}\n\nexport function useGridLayoutLogic(props: GridLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (GridLayoutMeta?.props) {\n GridLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, columns = 2, gap = 16, ...rest } = merged;\n\n return { children, columns, gap, rest };\n}\n","/**\n * Styles for the GridLayout component.\n * \n * Structural choices:\n * - flexWrap: 'wrap' allows children to flow onto the next row once a row is full.\n * - flexDirection: 'row' builds the grid from left to right.\n * - flexBasis dynamically calculates item width to fit `logic.columns` items per row.\n * - padding mimics the grid gap on individual items (native gap behavior may vary depending on React Native version and setup).\n */\nexport function useGridLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: logic.gap,\n },\n item: {\n // Approximating grid with flexBasis on Native\n flexBasis: `${100 / logic.columns}%`,\n // Subtracting gap compensation roughly\n padding: logic.gap / 2,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useGridLayoutLogic, GridLayoutProps } from './GridLayout.logic';\nimport { useGridLayoutStyle } from './GridLayout.style';\n\n/**\n * A layout component that arranges its children into a responsive grid.\n * It uses flexWrap to break items into rows, calculating the item width based on the configured columns.\n * \n * Use cases:\n * - Image galleries or product listings displaying items in a uniform grid.\n * - Dashboard cards layout.\n * \n * Accessibility considerations:\n * - If representing a data grid, ensure proper accessibility roles (e.g., `role=\"grid\"` on container, `role=\"gridcell\"` on children).\n * - Consider the navigation flow (left-to-right, top-to-bottom) for screen readers.\n */\nconst GridLayout: React.FC<GridLayoutProps> = (rawProps) => {\n const logic = useGridLayoutLogic(rawProps);\n const styles = useGridLayoutStyle(logic);\n\n // Wrap children to apply the flexBasis correctly\n const wrappedChildren = React.Children.map(logic.children, (child, i) => (\n <View key={i} style={styles.item as any}>\n {child}\n </View>\n ));\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {wrappedChildren}\n </View>\n );\n};\n\nexport default GridLayout;\n","{\"type\":\"layout\",\"id\":\"HeaderContentLayout\",\"label\":\"Collapsible Header\",\"description\":\"Header that shrinks on scroll with main content.\",\"category\":\"scroll\",\"tags\":[\"header\",\"collapsible\",\"scroll\",\"parallax\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\"]},\"themeMapping\":{\"root\":\"background\",\"header\":\"card\",\"content\":\"card\"},\"slots\":[{\"name\":\"header\",\"label\":\"Header\",\"required\":true,\"kind\":\"named\"},{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"}],\"responsive\":false,\"animated\":true,\"props\":[{\"name\":\"headerHeight\",\"label\":\"Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":150},{\"name\":\"headerCollapsedHeight\",\"label\":\"Collapsed Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"headerBackground\",\"label\":\"Header Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"headerBorderRadius\",\"label\":\"Header Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"contentBackground\",\"label\":\"Content Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"contentBorderRadius\",\"label\":\"Content Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Content Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"headerPadding\",\"label\":\"Header Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"scrollEventThrottle\",\"label\":\"Scroll Throttle event\",\"type\":\"number\",\"group\":\"behavior\",\"default\":16}]}","import { useMemo } from 'react';\nimport HeaderContentLayoutMeta from './HeaderContentLayout.meta.yaml';\n\n/**\n * Props for the HeaderContentLayout component.\n */\nexport interface HeaderContentLayoutProps {\n /**\n * The React element to display in the fixed header area at the top.\n */\n header?: React.ReactNode;\n /**\n * The main React elements to display in the flexible content area below the header.\n */\n children?: React.ReactNode;\n /**\n * Additional properties to pass to the underlying React Native View wrapper.\n */\n [key: string]: any;\n}\n\nexport function useHeaderContentLayoutLogic(props: HeaderContentLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (HeaderContentLayoutMeta?.props) {\n HeaderContentLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { header, children, ...rest } = merged;\n\n return { header, children, rest };\n}\n","/**\n * Styles for the HeaderContentLayout component.\n * \n * Structural choices:\n * - 'container' uses column flex direction to naturally stack the header above the content.\n * - 'header' uses zIndex: 5 so that shadows or overlays from the header appear above the content.\n * - 'content' uses flex: 1 to consume all vertical space remaining after the header is rendered.\n */\nexport function useHeaderContentLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: 'column',\n },\n header: {\n zIndex: 5,\n },\n content: {\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useHeaderContentLayoutLogic, HeaderContentLayoutProps } from './HeaderContentLayout.logic';\nimport { useHeaderContentLayoutStyle } from './HeaderContentLayout.style';\n\n/**\n * A standard layout providing a fixed top header area and a flexible main content area below.\n * \n * Use cases:\n * - App screens with a persistent top navigation bar or title area.\n * - Views where content scrolls under a stationary header.\n * \n * Accessibility considerations:\n * - Ensure the header element has an appropriate accessibility role (like `header` or `heading`)\n * to provide proper landmarks for screen reader navigation.\n */\nconst HeaderContentLayout: React.FC<HeaderContentLayoutProps> = (rawProps) => {\n const logic = useHeaderContentLayoutLogic(rawProps);\n const styles = useHeaderContentLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.header as any}>\n {logic.header || <Placeholder label=\"header\" />}\n </View>\n <View style={styles.content as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </View>\n );\n};\n\nexport default HeaderContentLayout;\n","{\"type\":\"layout\",\"id\":\"LeftDrawerLayout\",\"label\":\"Left Drawer\",\"description\":\"Animated left lateral drawer with swipe gesture.\",\"category\":\"navigation\",\"tags\":[\"drawer\",\"side-menu\",\"swipe\",\"navigation\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\",\"expo-haptics\"]},\"themeMapping\":{\"root\":\"background\",\"drawer\":\"background\",\"accent\":\"primary\",\"border\":\"border\"},\"slots\":[{\"name\":\"content\",\"label\":\"Main Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"drawerContent\",\"label\":\"Drawer Content\",\"required\":true,\"kind\":\"named\"}],\"constants\":{\"springConfig\":{\"damping\":25,\"stiffness\":200,\"mass\":0.5,\"overshootClamping\":true}},\"responsive\":false,\"animated\":true,\"props\":[{\"name\":\"drawerWidth\",\"label\":\"Drawer Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":280},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"drawerBackground\",\"label\":\"Drawer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"drawerBorderRadius\",\"label\":\"Drawer Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"defaultOpen\",\"label\":\"Open by Default\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"handleColor\",\"label\":\"Handle Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"backdropOpacity\",\"label\":\"Backdrop Opacity\",\"type\":\"ratio\",\"group\":\"style\",\"default\":0.4,\"min\":0,\"max\":1},{\"name\":\"contentScaleWhenOpen\",\"label\":\"Open Content Scale\",\"type\":\"ratio\",\"group\":\"behavior\",\"default\":0.98,\"min\":0.5,\"max\":1},{\"name\":\"handleBarColor\",\"label\":\"Handle Bar Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"handleBarWidth\",\"label\":\"Gesture Zone Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":40}]}","import { useMemo, useState } from 'react';\nimport LeftDrawerLayoutMeta from './LeftDrawerLayout.meta.yaml';\n\n/**\n * Props for the LeftDrawerLayout component.\n */\nexport interface LeftDrawerLayoutProps {\n /**\n * The React elements to display inside the drawer panel when it is open.\n */\n drawer?: React.ReactNode;\n /**\n * The main screen content to display beneath the drawer.\n */\n children?: React.ReactNode;\n /**\n * A boolean indicating whether the drawer is currently open and visible.\n */\n isOpen?: boolean;\n /**\n * A callback function invoked when the overlay backdrop is pressed to close the drawer.\n */\n onClose?: () => void;\n /**\n * Additional properties to pass to the underlying React Native View component.\n */\n [key: string]: any;\n}\n\nexport function useLeftDrawerLayoutLogic(props: LeftDrawerLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (LeftDrawerLayoutMeta?.props) {\n LeftDrawerLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { drawer, children, isOpen = false, onClose, ...rest } = merged;\n\n return { drawer, children, isOpen, onClose, rest };\n}\n","/**\n * Styles for the LeftDrawerLayout component.\n * \n * Structural choices:\n * - 'container' acts as the main wrapper, filling available space with flex: 1.\n * - 'overlay' covers the entire screen absolutely using top/bottom/left/right: 0, with a semi-transparent black background. It sits above the main content (zIndex: 10).\n * - 'drawer' is absolutely positioned on the left side, with a fixed width, and sits above the overlay (zIndex: 20).\n */\nexport function useLeftDrawerLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n },\n overlay: {\n position: 'absolute',\n top: 0, bottom: 0, left: 0, right: 0,\n backgroundColor: 'rgba(0,0,0,0.5)',\n zIndex: 10,\n },\n drawer: {\n position: 'absolute',\n top: 0, bottom: 0, left: 0,\n width: 280,\n backgroundColor: '#fff',\n zIndex: 20,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Pressable } from 'react-native';\nimport { useLeftDrawerLayoutLogic, LeftDrawerLayoutProps } from './LeftDrawerLayout.logic';\nimport { useLeftDrawerLayoutStyle } from './LeftDrawerLayout.style';\n\n/**\n * A layout component that implements a standard left-side navigation drawer pattern.\n * It renders the main content and conditionally overlays a backdrop and sliding drawer.\n * \n * Use cases:\n * - App-level global navigation menus.\n * - Sidebar filters for search results or e-commerce lists.\n * \n * Accessibility considerations:\n * - When the drawer is open, screen readers should ideally be trapped within the drawer content.\n * - Ensure the backdrop `Pressable` provides a clear accessibilityLabel like \"Close drawer\" \n * and appropriate `accessibilityRole=\"button\"`.\n */\nconst LeftDrawerLayout: React.FC<LeftDrawerLayoutProps> = (rawProps) => {\n const logic = useLeftDrawerLayoutLogic(rawProps);\n const styles = useLeftDrawerLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n {logic.isOpen && (\n <>\n <Pressable \n style={styles.overlay as any} \n onPress={logic.onClose} \n accessibilityRole=\"button\"\n accessibilityLabel=\"Close drawer\"\n />\n <View style={styles.drawer as any}>\n {logic.drawer || <Placeholder label=\"drawer\" />}\n </View>\n </>\n )}\n </View>\n );\n};\n\nexport default LeftDrawerLayout;\n","{\"type\":\"layout\",\"id\":\"MasonryLayout\",\"label\":\"Masonry\",\"description\":\"Multi-column masonry grid.\",\"category\":\"content\",\"tags\":[\"masonry\",\"pinterest\",\"waterfall\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"items\",\"label\":\"Items\",\"required\":true,\"kind\":\"items\"}],\"responsive\":false,\"animated\":false,\"previewItemCount\":6,\"props\":[{\"name\":\"columns\",\"label\":\"Columns\",\"type\":\"number\",\"group\":\"layout\",\"default\":2},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":1},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"transparent\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"itemBackground\",\"label\":\"Item Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"itemBorderRadius\",\"label\":\"Item Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"}]}","import { useMemo } from 'react';\nimport MasonryLayoutMeta from './MasonryLayout.meta.yaml';\n\n/**\n * Props for the MasonryLayout component.\n */\nexport interface MasonryLayoutProps {\n /**\n * The React elements to render within the masonry layout.\n */\n children?: React.ReactNode;\n /**\n * The total number of columns to divide the content into.\n */\n columns?: number;\n /**\n * The spacing between both columns and rows of items.\n */\n gap?: number;\n /**\n * Additional properties to pass to the underlying React Native View component.\n */\n [key: string]: any;\n}\n\nexport function useMasonryLayoutLogic(props: MasonryLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (MasonryLayoutMeta?.props) {\n MasonryLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, columns = 2, gap = 16, ...rest } = merged;\n\n return { children, columns, gap, rest };\n}\n","/**\n * Styles for the MasonryLayout component.\n * \n * Structural choices:\n * - 'container' uses flex direction 'row' to arrange columns horizontally.\n * - 'column' uses flex direction 'column' to arrange its assigned items vertically.\n * - gap is applied to both container (for column spacing) and column (for item vertical spacing).\n */\nexport function useMasonryLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: 'row',\n gap: logic.gap,\n },\n column: {\n flex: 1,\n flexDirection: 'column',\n gap: logic.gap,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useMasonryLayoutLogic, MasonryLayoutProps } from './MasonryLayout.logic';\nimport { useMasonryLayoutStyle } from './MasonryLayout.style';\n\n/**\n * A layout component that arranges children into a Masonry (Pinterest-style) grid.\n * It distributes items iteratively across the specified number of columns.\n * \n * Use cases:\n * - Displaying lists of images or cards of varying heights.\n * - News feeds with varying length content snippets.\n * \n * Accessibility considerations:\n * - Depending on the reading order, visually, items are read down a column before moving to the next.\n * - Consider if a screen reader user needs to read items row-by-row instead. If so, a standard grid layout might be preferred, or `tabIndex` / `accessibilityOrder` might need adjustment.\n */\nconst MasonryLayout: React.FC<MasonryLayoutProps> = (rawProps) => {\n const logic = useMasonryLayoutLogic(rawProps);\n const styles = useMasonryLayoutStyle(logic);\n\n // Distribute children into columns\n const cols = Array.from({ length: logic.columns }, () => [] as React.ReactNode[]);\n React.Children.forEach(logic.children, (child, i) => {\n cols[i % logic.columns].push(child);\n });\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {cols.map((col, i) => (\n <View key={i} style={styles.column as any}>\n {col}\n </View>\n ))}\n </View>\n );\n};\n\nexport default MasonryLayout;\n","{\"type\":\"layout\",\"id\":\"ParallaxLayout\",\"label\":\"Parallax\",\"description\":\"Horizontal scrollable rows with parallax synchronization. Items are automatically distributed into rows based on itemsPerRow.\",\"category\":\"scroll\",\"tags\":[\"parallax\",\"horizontal\",\"sync\",\"showcase\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\"]},\"slots\":[{\"name\":\"items\",\"label\":\"Items\",\"required\":true,\"kind\":\"items\"}],\"responsive\":false,\"animated\":true,\"previewItemCount\":9,\"props\":[{\"name\":\"rowCount\",\"label\":\"Number of Rows\",\"type\":\"number\",\"group\":\"layout\",\"default\":3},{\"name\":\"itemWidth\",\"label\":\"Item Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":200},{\"name\":\"spacing\",\"label\":\"Vertical Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"itemSpacing\",\"label\":\"Item Spacing\",\"type\":\"number\",\"group\":\"layout\",\"default\":12},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"rowBackground\",\"label\":\"Row Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"itemBackground\",\"label\":\"Item Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"itemBorderRadius\",\"label\":\"Item Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"rowBorderRadius\",\"label\":\"Row Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"alternateDirection\",\"label\":\"Alternate Direction\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"bounces\",\"label\":\"Scroll Bounce\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"showScrollIndicator\",\"label\":\"Scroll Indicator\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"scrollEventThrottle\",\"label\":\"Scroll Throttle\",\"type\":\"number\",\"group\":\"behavior\",\"default\":16}]}","import { useMemo } from 'react';\nimport ParallaxLayoutMeta from './ParallaxLayout.meta.yaml';\n\n/**\n * Properties for the ParallaxLayout component.\n */\nexport interface ParallaxLayoutProps {\n /**\n * The React Node representing the header content (often an image) to display with a parallax effect.\n */\n headerImage?: React.ReactNode;\n /**\n * The main content to display below the parallax header inside a scrollable area.\n */\n children?: React.ReactNode;\n /**\n * The height of the header image area in logical pixels.\n * Defaults to 250.\n */\n headerHeight?: number;\n /**\n * Additional generic properties to pass to the container view.\n */\n [key: string]: any;\n}\n\nexport function useParallaxLayoutLogic(props: ParallaxLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ParallaxLayoutMeta?.props) {\n ParallaxLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { headerImage, children, headerHeight = 250, ...rest } = merged;\n\n return { headerImage, children, headerHeight, rest };\n}\n","\nexport function useParallaxLayoutStyle(logic: any) {\n return {\n /**\n * The main container expands to fill the available space (flex: 1).\n */\n container: {\n flex: 1,\n },\n /**\n * The header is positioned absolutely behind the scroll view content (done in TSX).\n * It uses overflow: hidden to ensure scaled/translated content does not bleed out.\n */\n header: {\n height: logic.headerHeight,\n width: '100%',\n overflow: 'hidden',\n },\n /**\n * The content wrapper fills the remaining space and provides a solid background \n * to obscure the parallax header as the user scrolls up.\n */\n content: {\n flex: 1,\n backgroundColor: '#fff',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, StyleSheet } from 'react-native';\nimport Animated, { useAnimatedScrollHandler, useSharedValue, useAnimatedStyle, interpolate, Extrapolation } from 'react-native-reanimated';\nimport { useParallaxLayoutLogic, ParallaxLayoutProps } from './ParallaxLayout.logic';\nimport { useParallaxLayoutStyle } from './ParallaxLayout.style';\n\n/**\n * ParallaxLayout provides a scrollable view with a parallax header effect.\n * The header image translates and scales based on the scroll position.\n * This layout is ideal for profile screens, detailed views, or any page where a prominent header image should react smoothly to scroll interactions.\n * \n * Accessibility considerations:\n * - Ensure the header image has an appropriate accessible label or role if it conveys meaningful information.\n * - The inner ScrollView should naturally support scroll accessibility actions.\n */\nconst ParallaxLayout: React.FC<ParallaxLayoutProps> = (rawProps) => {\n const logic = useParallaxLayoutLogic(rawProps);\n const styles = useParallaxLayoutStyle(logic);\n\n const scrollY = useSharedValue(0);\n\n const scrollHandler = useAnimatedScrollHandler({\n onScroll: (event) => {\n scrollY.value = event.contentOffset.y;\n },\n });\n\n const headerAnimatedStyle = useAnimatedStyle(() => {\n return {\n transform: [\n {\n translateY: interpolate(\n scrollY.value,\n [-logic.headerHeight, 0, logic.headerHeight],\n [-logic.headerHeight / 2, 0, logic.headerHeight * 0.75],\n Extrapolation.CLAMP\n ),\n },\n {\n scale: interpolate(\n scrollY.value,\n [-logic.headerHeight, 0, logic.headerHeight],\n [2, 1, 1],\n Extrapolation.CLAMP\n ),\n },\n ],\n };\n });\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <Animated.View style={[styles.header as any, StyleSheet.absoluteFill, { height: logic.headerHeight }, headerAnimatedStyle]}>\n {logic.headerImage || <Placeholder label=\"headerImage\" />}\n </Animated.View>\n <Animated.ScrollView\n onScroll={scrollHandler}\n scrollEventThrottle={16}\n contentContainerStyle={{ paddingTop: logic.headerHeight }}\n style={StyleSheet.absoluteFill}\n >\n <View style={styles.content as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </Animated.ScrollView>\n </View>\n );\n};\n\nexport default ParallaxLayout;\n","{\"type\":\"layout\",\"id\":\"ResponsiveLayout\",\"label\":\"Responsive\",\"description\":\"Adaptive layout header/sidebar/content/footer with 3 modes.\",\"category\":\"page\",\"tags\":[\"responsive\",\"adaptive\",\"header\",\"sidebar\",\"footer\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"header\",\"label\":\"Header\",\"required\":false,\"kind\":\"named\"},{\"name\":\"sidebar\",\"label\":\"Sidebar\",\"required\":false,\"kind\":\"named\"},{\"name\":\"footer\",\"label\":\"Footer\",\"required\":false,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"headerHeight\",\"label\":\"Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"sidebarWidth\",\"label\":\"Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":260},{\"name\":\"footerHeight\",\"label\":\"Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"adaptiveMode\",\"label\":\"Adaptive Mode\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"basic\",\"options\":[\"basic\",\"sidebar\",\"full\"]},{\"name\":\"hideHeader\",\"label\":\"Hide Header\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"hideFooter\",\"label\":\"Hide Footer\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"collapseFooterOnTablet\",\"label\":\"Compact Footer on Tablet\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"headerBackground\",\"label\":\"Header Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"sidebarBackground\",\"label\":\"Sidebar Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"footerBackground\",\"label\":\"Footer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"contentBackground\",\"label\":\"Content Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"contentPadding\",\"label\":\"Content Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"mobileHeaderHeight\",\"label\":\"Mobile Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":56},{\"name\":\"tabletFooterHeight\",\"label\":\"Tablet Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":48},{\"name\":\"sidebarMaxWidth\",\"label\":\"Sidebar Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":320}]}","import { useMemo } from 'react';\nimport ResponsiveLayoutMeta from './ResponsiveLayout.meta.yaml';\nimport { useWindowDimensions } from 'react-native';\n\n/**\n * Properties for the ResponsiveLayout component.\n */\nexport interface ResponsiveLayoutProps {\n /**\n * The React nodes to be rendered inside this layout.\n */\n children?: React.ReactNode;\n /**\n * The width threshold in logical pixels above which the layout switches to desktop mode (row direction).\n * Defaults to 768.\n */\n breakpoint?: number;\n /**\n * Additional properties to pass to the underlying view.\n */\n [key: string]: any;\n}\n\nexport function useResponsiveLayoutLogic(props: ResponsiveLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ResponsiveLayoutMeta?.props) {\n ResponsiveLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, breakpoint = 768, ...rest } = merged;\n \n const { width } = useWindowDimensions();\n const isDesktop = width >= breakpoint;\n\n return { children, isDesktop, rest };\n}\n","\nexport function useResponsiveLayoutStyle(logic: any) {\n return {\n /**\n * The container flexes to fill available space.\n * Flex direction is determined by the responsive breakpoint logic:\n * 'row' for wide screens, 'column' for narrow screens.\n */\n container: {\n flex: 1,\n flexDirection: logic.isDesktop ? 'row' : 'column',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useResponsiveLayoutLogic, ResponsiveLayoutProps } from './ResponsiveLayout.logic';\nimport { useResponsiveLayoutStyle } from './ResponsiveLayout.style';\n\n/**\n * ResponsiveLayout automatically adjusts its flex direction based on the current window width.\n * It switches between a column layout for narrow screens (e.g., mobile) and a row layout for wider screens (e.g., desktop/tablet).\n * Useful for building adaptive user interfaces without explicit media queries.\n * \n * Accessibility considerations:\n * - Order of children is preserved. Ensure logical focus order makes sense in both row and column orientations.\n */\nconst ResponsiveLayout: React.FC<ResponsiveLayoutProps> = (rawProps) => {\n const logic = useResponsiveLayoutLogic(rawProps);\n const styles = useResponsiveLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n );\n};\n\nexport default ResponsiveLayout;\n","{\"type\":\"layout\",\"id\":\"RootLayout\",\"label\":\"Root\",\"description\":\"Root page container with direct flex control. Ideal as the base of every page.\",\"category\":\"page\",\"tags\":[\"root\",\"page\",\"container\",\"flex\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":true,\"kind\":\"children\"}],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"justifyContent\",\"label\":\"Justify\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"flex-start\",\"options\":[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"]},{\"name\":\"alignItems\",\"label\":\"Align Items\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"stretch\",\"options\":[\"stretch\",\"flex-start\",\"center\",\"flex-end\",\"baseline\"]},{\"name\":\"flexDirection\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"column\",\"options\":[\"column\",\"row\"]},{\"name\":\"gap\",\"label\":\"Gap\",\"type\":\"number\",\"group\":\"layout\",\"default\":0}]}","import { useMemo } from 'react';\nimport RootLayoutMeta from './RootLayout.meta.yaml';\n\n/**\n * Properties for the RootLayout component.\n */\nexport interface RootLayoutProps {\n /**\n * The top-level children of the application or screen.\n */\n children?: React.ReactNode;\n /**\n * Any additional generic view props.\n */\n [key: string]: any;\n}\n\nexport function useRootLayoutLogic(props: RootLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (RootLayoutMeta?.props) {\n RootLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useRootLayoutStyle(logic: any) {\n const { theme } = useTheme();\n return {\n /**\n * Container expands to fill the screen (flex: 1) and applies the primary background \n * color from the current theme to establish the base surface of the app.\n */\n container: {\n flex: 1,\n backgroundColor: theme?.background || '#fff',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useRootLayoutLogic, RootLayoutProps } from './RootLayout.logic';\nimport { useRootLayoutStyle } from './RootLayout.style';\n// Using SafeAreaProvider from react-native-safe-area-context\nimport { SafeAreaProvider } from 'react-native-safe-area-context';\n\n/**\n * RootLayout serves as the top-level container for an application or major screen.\n * It wraps its content in a SafeAreaProvider to ensure content avoids device notches and system bars.\n * \n * Accessibility considerations:\n * - This layout establishes a base view; ensure child elements properly handle semantic roles.\n */\nconst RootLayout: React.FC<RootLayoutProps> = (rawProps) => {\n const logic = useRootLayoutLogic(rawProps);\n const styles = useRootLayoutStyle(logic);\n\n return (\n <SafeAreaProvider>\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </SafeAreaProvider>\n );\n};\n\nexport default RootLayout;\n","{\"type\":\"layout\",\"id\":\"ScrollLayout\",\"label\":\"Scroll\",\"description\":\"Scrollable structure with sticky or inline header/footer.\",\"category\":\"scroll\",\"tags\":[\"scroll\",\"sticky\",\"header\",\"footer\",\"safe-area\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"header\",\"label\":\"Header\",\"required\":false,\"kind\":\"named\"},{\"name\":\"footer\",\"label\":\"Footer\",\"required\":false,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"useSafeAreaInsets\",\"label\":\"Safe area\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"headerHeight\",\"label\":\"Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":80},{\"name\":\"footerHeight\",\"label\":\"Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"scrollDirection\",\"label\":\"Scroll Direction\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"vertical\",\"options\":[\"vertical\",\"horizontal\",\"both\"]},{\"name\":\"showScrollIndicator\",\"label\":\"Scroll Indicator\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"enableBounces\",\"label\":\"Bounce\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"stickyHeader\",\"label\":\"Sticky Header\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"stickyFooter\",\"label\":\"Sticky Footer\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"headerBackground\",\"label\":\"Header Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"footerBackground\",\"label\":\"Footer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"contentBackground\",\"label\":\"Content Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"headerPadding\",\"label\":\"Header Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"footerPadding\",\"label\":\"Footer Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"mobileHeaderHeight\",\"label\":\"Mobile Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"mobileFooterHeight\",\"label\":\"Mobile Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":50}]}","import { useMemo } from 'react';\nimport ScrollLayoutMeta from './ScrollLayout.meta.yaml';\n\n/**\n * Properties for the ScrollLayout component.\n */\nexport interface ScrollLayoutProps {\n /**\n * The elements to be rendered inside the scroll view.\n */\n children?: React.ReactNode;\n /**\n * If true, the layout scrolls horizontally instead of vertically.\n * Defaults to false.\n */\n horizontal?: boolean;\n /**\n * Additional properties to pass to the underlying ScrollView.\n */\n [key: string]: any;\n}\n\nexport function useScrollLayoutLogic(props: ScrollLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ScrollLayoutMeta?.props) {\n ScrollLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, horizontal, ...rest } = merged;\n\n return { children, horizontal, rest };\n}\n","\nexport function useScrollLayoutStyle(logic: any) {\n return {\n /**\n * The scroll container fills the available space by default.\n * Content inside can expand beyond bounds to enable scrolling.\n */\n container: {\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { ScrollView } from 'react-native';\nimport { useScrollLayoutLogic, ScrollLayoutProps } from './ScrollLayout.logic';\nimport { useScrollLayoutStyle } from './ScrollLayout.style';\n\n/**\n * ScrollLayout is a generic layout providing a scrollable region.\n * It can scroll either vertically (default) or horizontally based on its properties.\n * Ideal for lists, forms, or any content that might exceed screen bounds.\n * \n * Accessibility considerations:\n * - ScrollViews inherently support scrolling semantics. \n * - If horizontal, ensure it can be navigated via keyboard or screen reader horizontal scroll actions.\n */\nconst ScrollLayout: React.FC<ScrollLayoutProps> = (rawProps) => {\n const logic = useScrollLayoutLogic(rawProps);\n const styles = useScrollLayoutStyle(logic);\n\n return (\n <ScrollView \n style={[styles.container as any, logic.rest.style]} \n horizontal={logic.horizontal}\n {...logic.rest}\n >\n {logic.children || <Placeholder label=\"children\" />}\n </ScrollView>\n );\n};\n\nexport default ScrollLayout;\n","{\"type\":\"layout\",\"id\":\"SidebarLayout\",\"label\":\"Sidebar\",\"description\":\"Content with lateral sidebar, collapsible on mobile.\",\"category\":\"navigation\",\"tags\":[\"sidebar\",\"navigation\",\"drawer\",\"layout\"],\"themeMapping\":{\"root\":\"background\",\"sidebar\":\"card\",\"border\":\"border\"},\"slots\":[{\"name\":\"sidebar\",\"label\":\"Sidebar\",\"required\":true,\"kind\":\"named\"},{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"sidebarWidth\",\"label\":\"Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":280},{\"name\":\"position\",\"label\":\"Sidebar Position\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"left\",\"options\":[\"left\",\"right\"]},{\"name\":\"collapsible\",\"label\":\"Collapsible on Mobile\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"background\",\"group\":\"style\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"sidebarBackground\",\"label\":\"Sidebar Background\",\"type\":\"background\",\"group\":\"style\"},{\"name\":\"sidebarBorderRadius\",\"label\":\"Sidebar Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"resizable\",\"label\":\"Resizable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"sidebarMinWidth\",\"label\":\"Min Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":150},{\"name\":\"sidebarMaxWidth\",\"label\":\"Sidebar Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":600}]}","import { useMemo } from 'react';\nimport SidebarLayoutMeta from './SidebarLayout.meta.yaml';\n\n/**\n * Properties for the SidebarLayout component.\n */\nexport interface SidebarLayoutProps {\n /**\n * The React node to render inside the sidebar pane.\n */\n sidebar?: React.ReactNode;\n /**\n * The main content node to render in the primary pane.\n */\n children?: React.ReactNode;\n /**\n * Determines whether the sidebar appears on the 'left' or 'right'.\n * Defaults to 'left'.\n */\n sidebarPosition?: 'left' | 'right';\n /**\n * The width of the sidebar in logical pixels.\n * Defaults to 250.\n */\n sidebarWidth?: number;\n /**\n * Additional generic properties to pass to the container wrapper.\n */\n [key: string]: any;\n}\n\nexport function useSidebarLayoutLogic(props: SidebarLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SidebarLayoutMeta?.props) {\n SidebarLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { sidebar, children, sidebarPosition = 'left', sidebarWidth = 250, ...rest } = merged;\n\n return { sidebar, children, sidebarPosition, sidebarWidth, rest };\n}\n","\nexport function useSidebarLayoutStyle(logic: any) {\n const isLeft = logic.sidebarPosition === 'left';\n return {\n /**\n * Container uses flex row or row-reverse to position the sidebar naturally\n * based on the specified position property.\n */\n container: {\n flex: 1,\n flexDirection: isLeft ? 'row' : 'row-reverse',\n },\n /**\n * The sidebar container has a fixed width and applies a border to separate it \n * visually from the main content.\n */\n sidebarContainer: {\n width: logic.sidebarWidth,\n borderRightWidth: isLeft ? 1 : 0,\n borderLeftWidth: isLeft ? 0 : 1,\n borderColor: '#e5e7eb',\n },\n /**\n * The main container fills all remaining space adjacent to the sidebar.\n */\n mainContainer: {\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useSidebarLayoutLogic, SidebarLayoutProps } from './SidebarLayout.logic';\nimport { useSidebarLayoutStyle } from './SidebarLayout.style';\n\n/**\n * SidebarLayout provides a two-pane layout featuring a collapsible or fixed sidebar next to a main content area.\n * It allows positioning the sidebar on either the left or right side.\n * Ideal for navigation drawers or secondary tools panels alongside primary content.\n * \n * Accessibility considerations:\n * - Ensure that the sidebar area is appropriately landmarked (e.g. role=\"navigation\" or \"complementary\").\n * - Focus management should handle transitioning between sidebar and main content if the sidebar is toggled.\n */\nconst SidebarLayout: React.FC<SidebarLayoutProps> = (rawProps) => {\n const logic = useSidebarLayoutLogic(rawProps);\n const styles = useSidebarLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.sidebarContainer as any}>\n {logic.sidebar || <Placeholder label=\"sidebar\" />}\n </View>\n <View style={styles.mainContainer as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </View>\n );\n};\n\nexport default SidebarLayout;\n","{\"type\":\"layout\",\"id\":\"SketchLayout\",\"label\":\"Sketch (placeholder)\",\"description\":\"Placeholder for a drawing canvas.\",\"category\":\"special\",\"tags\":[\"sketch\",\"draw\",\"canvas\",\"placeholder\"],\"slots\":[],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"}]}","import { useMemo } from 'react';\nimport SketchLayoutMeta from './SketchLayout.meta.yaml';\n\n/**\n * Properties for the SketchLayout component.\n */\nexport interface SketchLayoutProps {\n /**\n * The content to be rendered on the 2D scrollable canvas.\n */\n children?: React.ReactNode;\n /**\n * Additional properties applied to the innermost content wrapper view.\n */\n [key: string]: any;\n}\n\nexport function useSketchLayoutLogic(props: SketchLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SketchLayoutMeta?.props) {\n SketchLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nexport function useSketchLayoutStyle(logic: any) {\n return {\n /**\n * The outermost container takes up the available space and provides \n * a light background color to simulate a canvas or sketchpad area.\n */\n container: {\n flex: 1,\n // Infinite canvas feel\n backgroundColor: '#f8f9fa',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { ScrollView, View } from 'react-native';\nimport { useSketchLayoutLogic, SketchLayoutProps } from './SketchLayout.logic';\nimport { useSketchLayoutStyle } from './SketchLayout.style';\n\n/**\n * SketchLayout creates a 2D scrollable canvas area (both horizontally and vertically).\n * It nests a vertical ScrollView inside a horizontal ScrollView to achieve an \"infinite canvas\" feel.\n * Useful for drawing apps, large diagrams, or highly extensive data tables.\n * \n * Accessibility considerations:\n * - Nested scroll views can be difficult to navigate for keyboard-only or screen reader users.\n * - Ensure critical content can be accessed without complex 2D scrolling if possible.\n */\nconst SketchLayout: React.FC<SketchLayoutProps> = (rawProps) => {\n const logic = useSketchLayoutLogic(rawProps);\n const styles = useSketchLayoutStyle(logic);\n\n return (\n <ScrollView horizontal style={styles.container as any}>\n <ScrollView>\n <View style={logic.rest.style} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </ScrollView>\n </ScrollView>\n );\n};\n\nexport default SketchLayout;\n","import React, { useState, useEffect } from 'react';\n\n/**\n * Props for the SortableGridLayout component.\n * \n * @typeParam T - The type of data items in the grid.\n */\nexport interface SortableGridLayoutProps<T> {\n /** \n * The list of data items to render. \n */\n data: T[];\n \n /** \n * Function to extract a unique key from an item. \n */\n keyExtractor: (item: T, index: number) => string;\n \n /** \n * Function to render each item. \n */\n renderItem: (item: T, index: number) => React.ReactNode;\n \n /** \n * Number of columns in the grid. Default is 3. \n */\n columns?: number;\n \n /** \n * Spacing between items in pixels. Default is 8. \n */\n spacing?: number;\n \n /** \n * Callback fired when items are successfully reordered. \n */\n onReorder?: (newData: T[]) => void;\n \n /** Any other props for the container View. */\n [key: string]: any;\n}\n\nexport function useSortableGridLayoutLogic<T>(rawProps: SortableGridLayoutProps<T>) {\n const {\n data,\n keyExtractor,\n renderItem,\n columns = 3,\n spacing = 8,\n onReorder,\n ...rest\n } = rawProps;\n\n const [items, setItems] = useState<T[]>(data);\n\n // Sync state if external prop changes\n useEffect(() => {\n setItems(data);\n }, [data]);\n\n const handleReorder = (fromIndex: number, toIndex: number) => {\n if (fromIndex === toIndex) return;\n const newItems = [...items];\n const [movedItem] = newItems.splice(fromIndex, 1);\n newItems.splice(toIndex, 0, movedItem);\n setItems(newItems);\n onReorder?.(newItems);\n };\n\n return {\n items,\n keyExtractor,\n renderItem,\n columns,\n spacing,\n handleReorder,\n rest\n };\n}\n","export function useSortableGridLayoutStyle(logic: any) {\n return {\n container: {\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n justifyContent: 'flex-start',\n width: '100%',\n position: 'relative',\n },\n itemWrapper: {\n padding: logic.spacing / 2,\n }\n };\n}\n","import React, { useState } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, LayoutChangeEvent } from 'react-native';\nimport { Gesture, GestureDetector } from 'react-native-gesture-handler';\nimport Animated, { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';\nimport { useSortableGridLayoutLogic, SortableGridLayoutProps } from './SortableGridLayout.logic';\nimport { useSortableGridLayoutStyle } from './SortableGridLayout.style';\n\n/**\n * @component SortableGridLayout\n * @description\n * A reorderable grid layout that allows users to drag and drop items to reorder them.\n * \n * @useCases\n * - Photo galleries where users can rearrange their albums.\n * - Dashboards where widget positions can be customized.\n * \n * @structure\n * Uses `react-native-reanimated` and `react-native-gesture-handler` for fluid 60fps animations \n * during drag and drop. Renders items within an `Animated.View` inside a `GestureDetector`.\n * \n * @accessibility\n * Drag and drop is inherently difficult for screen readers. Ensure you provide accessible \n * alternative buttons (e.g., \"Move Up\", \"Move Down\") within each item for keyboard/voice navigation.\n */\nfunction SortableGridLayout<T>(rawProps: SortableGridLayoutProps<T>) {\n const logic = useSortableGridLayoutLogic(rawProps);\n const styles = useSortableGridLayoutStyle(logic);\n const [containerWidth, setContainerWidth] = useState(0);\n\n const onLayout = (e: LayoutChangeEvent) => {\n setContainerWidth(e.nativeEvent.layout.width);\n };\n\n const itemWidth = containerWidth > 0 ? containerWidth / logic.columns : `${100 / logic.columns}%`;\n\n return (\n <View style={[styles.container as any, logic.rest.style]} onLayout={onLayout} {...logic.rest}>\n {logic.items.map((item, index) => {\n const key = logic.keyExtractor(item, index);\n return (\n <DraggableGridItem\n key={key}\n itemWidth={itemWidth}\n wrapperStyle={styles.itemWrapper}\n >\n {logic.renderItem(item, index)}\n </DraggableGridItem>\n );\n })}\n </View>\n );\n}\n\n// Subcomponent for handling gestures per item\nconst DraggableGridItem = ({ children, itemWidth, wrapperStyle }: any) => {\n const isDragging = useSharedValue(false);\n const translateX = useSharedValue(0);\n const translateY = useSharedValue(0);\n\n const panGesture = Gesture.Pan()\n .onStart(() => {\n isDragging.value = true;\n })\n .onUpdate((e) => {\n translateX.value = e.translationX;\n translateY.value = e.translationY;\n })\n .onEnd(() => {\n isDragging.value = false;\n translateX.value = withSpring(0);\n translateY.value = withSpring(0);\n // Advanced 2D Grid Intersection logic goes here to trigger handleReorder\n });\n\n const animatedStyle = useAnimatedStyle(() => {\n return {\n zIndex: isDragging.value ? 100 : 1,\n transform: [\n { translateX: translateX.value },\n { translateY: translateY.value },\n { scale: withSpring(isDragging.value ? 1.05 : 1) }\n ],\n };\n });\n\n return (\n <GestureDetector gesture={panGesture}>\n <Animated.View style={[wrapperStyle, { width: itemWidth }, animatedStyle]}>\n {children}\n </Animated.View>\n </GestureDetector>\n );\n};\n\nexport default SortableGridLayout;\n","{\"type\":\"layout\",\"id\":\"SplitLayout\",\"label\":\"Split\",\"description\":\"Two panels (left/right or top/bottom) with independent scroll.\",\"category\":\"content\",\"tags\":[\"split\",\"two-pane\",\"master-detail\"],\"themeMapping\":{\"root\":\"background\",\"left\":\"card\",\"right\":\"card\"},\"slots\":[{\"name\":\"left\",\"label\":\"Left Panel\",\"required\":true,\"kind\":\"named\"},{\"name\":\"right\",\"label\":\"Right Panel\",\"required\":true,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"leftWidth\",\"label\":\"Fixed Left Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"ratio\",\"label\":\"Left Ratio\",\"type\":\"ratio\",\"group\":\"layout\",\"default\":0.5,\"min\":0,\"max\":1},{\"name\":\"orientation\",\"label\":\"Orientation\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"horizontal\",\"options\":[\"horizontal\",\"vertical\"]},{\"name\":\"hideLeftOnMobile\",\"label\":\"Hide Left on Mobile\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"leftBackground\",\"label\":\"Left Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"rightBackground\",\"label\":\"Right Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"leftBorderRadius\",\"label\":\"Left Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"rightBorderRadius\",\"label\":\"Right Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"}]}","import { useMemo } from 'react';\nimport SplitLayoutMeta from './SplitLayout.meta.yaml';\n\n/**\n * Properties for the SplitLayout component.\n */\nexport interface SplitLayoutProps {\n /**\n * The React node to render in the left pane.\n */\n left?: React.ReactNode;\n /**\n * The React node to render in the right pane.\n */\n right?: React.ReactNode;\n /**\n * The percentage (0-100) of the width that the left pane should consume.\n * The right pane will consume the remainder.\n * Defaults to 50.\n */\n ratio?: number;\n /**\n * Additional generic properties to pass to the top-level container.\n */\n [key: string]: any;\n}\n\nexport function useSplitLayoutLogic(props: SplitLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SplitLayoutMeta?.props) {\n SplitLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { \n left, right, ratio = 0.5, \n spacing, leftWidth, orientation, hideLeftOnMobile,\n background, borderRadius,\n leftBackground, rightBackground,\n leftBorderRadius, rightBorderRadius,\n ...rest \n } = merged;\n\n const validRatio = Math.max(0, Math.min(1, ratio));\n\n return { \n left, right, ratio: validRatio, \n spacing, leftWidth, orientation, hideLeftOnMobile,\n background, borderRadius,\n leftBackground, rightBackground,\n leftBorderRadius, rightBorderRadius,\n rest \n };\n}\n","\nimport { useTheme } from \"../../../../theme/providers/ThemeProvider\";\nimport { spacing, radii } from \"../../../../tokens\";\n\nexport function useSplitLayoutStyle(logic: any) {\n const { theme } = useTheme();\n\n const isVertical = logic.orientation === 'vertical';\n\n const getSpacing = (val: string | number) => {\n if (typeof val === 'number') return val;\n return (spacing as any)[val] || 0;\n };\n\n const getRadius = (val: string) => (radii as any)[val] || 0;\n const getColor = (val: string) => (theme as any)[val] || val;\n\n const gap = getSpacing(logic.spacing);\n\n return {\n container: {\n flex: 1,\n flexDirection: isVertical ? 'column' : 'row',\n backgroundColor: getColor(logic.background),\n borderRadius: getRadius(logic.borderRadius),\n overflow: 'hidden',\n gap,\n },\n left: {\n flex: logic.leftWidth ? undefined : logic.ratio,\n width: isVertical ? '100%' : logic.leftWidth,\n height: isVertical ? logic.leftWidth : '100%',\n backgroundColor: getColor(logic.leftBackground),\n borderRadius: getRadius(logic.leftBorderRadius),\n display: logic.hideLeftOnMobile ? 'none' : 'flex', // En conditions réelles, utiliser un hook de media query\n },\n right: {\n flex: logic.leftWidth ? 1 : (1 - logic.ratio),\n backgroundColor: getColor(logic.rightBackground),\n borderRadius: getRadius(logic.rightBorderRadius),\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useSplitLayoutLogic, SplitLayoutProps } from './SplitLayout.logic';\nimport { useSplitLayoutStyle } from './SplitLayout.style';\n\n/**\n * SplitLayout divides the available width between two panes (left and right) based on a specified percentage ratio.\n * It is ideal for side-by-side comparative views, master-detail interfaces, or any scenario needing a proportional split.\n * \n * Accessibility considerations:\n * - Ensure meaningful content flow so that navigating left-to-right makes sense contextually.\n */\nconst SplitLayout: React.FC<SplitLayoutProps> = (rawProps) => {\n const logic = useSplitLayoutLogic(rawProps);\n const styles = useSplitLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.left as any}>\n {logic.left || <Placeholder label=\"left\" />}\n </View>\n <View style={styles.right as any}>\n {logic.right || <Placeholder label=\"right\" />}\n </View>\n </View>\n );\n};\n\nexport default SplitLayout;\n","{\"type\":\"layout\",\"id\":\"Swipe2ScreenLayout\",\"label\":\"Swipe to Screen\",\"description\":\"Presentation layout with swipe to a projected screen and QR code.\",\"category\":\"special\",\"tags\":[\"swipe\",\"projection\",\"qr\",\"slides\"],\"architecture\":{\"dependencies\":[\"react-native-gesture-handler\",\"expo-camera\",\"expo-haptics\"]},\"slots\":[{\"name\":\"items\",\"label\":\"Slides\",\"required\":true,\"kind\":\"items\"}],\"responsive\":false,\"animated\":true,\"previewItemCount\":3,\"props\":[{\"name\":\"containerBackground\",\"label\":\"Container Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#000\"},{\"name\":\"screenBackground\",\"label\":\"Screen Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#fff\"},{\"name\":\"swipeThreshold\",\"label\":\"Swipe Threshold\",\"type\":\"number\",\"group\":\"behavior\",\"default\":100},{\"name\":\"projectedScale\",\"label\":\"Projected Scale\",\"type\":\"ratio\",\"group\":\"behavior\",\"default\":0.8,\"min\":0.5,\"max\":1},{\"name\":\"animationDuration\",\"label\":\"Animation Duration\",\"type\":\"number\",\"group\":\"behavior\",\"default\":300},{\"name\":\"slides\",\"label\":\"Slides\",\"type\":\"json\",\"group\":\"content\",\"default\":[]}]}","import { useMemo } from 'react';\nimport Swipe2ScreenLayoutMeta from './Swipe2ScreenLayout.meta.yaml';\n\n/**\n * Props for the Swipe2ScreenLayout component.\n */\nexport interface Swipe2ScreenLayoutProps {\n /**\n * The React node representing the content of the first screen (left side).\n */\n screen1?: React.ReactNode;\n /**\n * The React node representing the content of the second screen (right side).\n */\n screen2?: React.ReactNode;\n /**\n * Any additional properties to spread onto the underlying ScrollView container.\n */\n [key: string]: any;\n}\n\nexport function useSwipe2ScreenLayoutLogic(props: Swipe2ScreenLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (Swipe2ScreenLayoutMeta?.props) {\n Swipe2ScreenLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { screen1, screen2, ...rest } = merged;\n\n return { screen1, screen2, rest };\n}\n","\nimport { Dimensions } from 'react-native';\nconst { width } = Dimensions.get('window');\n\nexport function useSwipe2ScreenLayoutStyle(logic: any) {\n return {\n /**\n * Container uses flex: 1 to fill available vertical space, \n * ensuring the horizontal ScrollView displays its content properly.\n */\n container: {\n flex: 1,\n },\n /**\n * Each screen forces its width to the device width to enable accurate paging \n * and snaps. It flexes to fill vertical space.\n */\n screen: {\n width,\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { ScrollView, View } from 'react-native';\nimport { useSwipe2ScreenLayoutLogic, Swipe2ScreenLayoutProps } from './Swipe2ScreenLayout.logic';\nimport { useSwipe2ScreenLayoutStyle } from './Swipe2ScreenLayout.style';\n\n/**\n * @component Swipe2ScreenLayout\n * @description A specialized horizontal layout component that allows swiping between exactly two distinct screens.\n * Useful for simple navigation patterns like tabbed views or split experiences where users can pan \n * horizontally between two distinct primary areas.\n * @accessibility\n * - Includes standard horizontal ScrollView accessibility.\n * - Screen content should dictate their own accessibility roles.\n * - Paging enabled for easy traversal between the two sections.\n */\nconst Swipe2ScreenLayout: React.FC<Swipe2ScreenLayoutProps> = (rawProps) => {\n const logic = useSwipe2ScreenLayoutLogic(rawProps);\n const styles = useSwipe2ScreenLayoutStyle(logic);\n\n return (\n <ScrollView \n horizontal \n pagingEnabled \n showsHorizontalScrollIndicator={false}\n style={[styles.container as any, logic.rest.style]} \n {...logic.rest}\n >\n <View style={styles.screen as any}>\n {logic.screen1 || <Placeholder label=\"screen1\" />}\n </View>\n <View style={styles.screen as any}>\n {logic.screen2 || <Placeholder label=\"screen2\" />}\n </View>\n </ScrollView>\n );\n};\n\nexport default Swipe2ScreenLayout;\n","{\"type\":\"layout\",\"id\":\"SwiperLayout\",\"label\":\"Swiper\",\"description\":\"Multi-directional swipeable carousel with preloading.\",\"category\":\"card\",\"tags\":[\"swiper\",\"carousel\",\"slides\",\"stories\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\"]},\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"items\",\"label\":\"Slides\",\"required\":true,\"kind\":\"items\"}],\"constants\":{\"scaleFactor\":0.85},\"responsive\":false,\"animated\":true,\"previewItemCount\":4,\"props\":[{\"name\":\"enableSwipeUp\",\"label\":\"Swipe Up\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"enableSwipeDown\",\"label\":\"Swipe Down\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"cardBackground\",\"label\":\"Card Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"cardBorderRadius\",\"label\":\"Card Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"showCardCount\",\"label\":\"Card Counter\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"preloadRange\",\"label\":\"Preloading\",\"type\":\"number\",\"group\":\"behavior\",\"default\":2},{\"name\":\"swipeThreshold\",\"label\":\"Swipe Threshold\",\"type\":\"number\",\"group\":\"behavior\",\"default\":40},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"springDamping\",\"label\":\"Spring Damping\",\"type\":\"number\",\"group\":\"behavior\",\"default\":12},{\"name\":\"springStiffness\",\"label\":\"Spring Stiffness\",\"type\":\"number\",\"group\":\"behavior\",\"default\":160},{\"name\":\"cardCountBackground\",\"label\":\"Counter Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"rgba(0,0,0,0.6)\"},{\"name\":\"cardCountTextColor\",\"label\":\"Counter Text\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#fff\"}]}","import { useMemo } from 'react';\nimport SwiperLayoutMeta from './SwiperLayout.meta.yaml';\n\n/**\n * Props for the SwiperLayout component.\n */\nexport interface SwiperLayoutProps {\n /**\n * The child nodes to be rendered as distinct swipable pages.\n */\n children?: React.ReactNode;\n /**\n * Any additional properties to spread onto the underlying ScrollView container.\n */\n [key: string]: any;\n}\n\nexport function useSwiperLayoutLogic(props: SwiperLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SwiperLayoutMeta?.props) {\n SwiperLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nimport { Dimensions } from 'react-native';\nconst { width } = Dimensions.get('window');\n\nexport function useSwiperLayoutStyle(logic: any) {\n return {\n /**\n * Container uses flex: 1 to fill available vertical space, \n * ensuring the horizontal ScrollView works correctly.\n */\n container: {\n flex: 1,\n },\n /**\n * Each slide takes the full width of the screen to ensure proper \n * pagination snapping in the horizontal scroll view.\n */\n slide: {\n width,\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { ScrollView, View } from 'react-native';\nimport { useSwiperLayoutLogic, SwiperLayoutProps } from './SwiperLayout.logic';\nimport { useSwiperLayoutStyle } from './SwiperLayout.style';\n\n/**\n * @component SwiperLayout\n * @description A horizontal swiping layout that allows paginated navigation through a dynamic \n * list of children elements. Good for carousels or multi-step flows.\n * @accessibility\n * - ScrollView is inherently accessible, exposing the content as a single scrollable container.\n * - Paging enabled allows screen readers to navigate smoothly across pages.\n */\nconst SwiperLayout: React.FC<SwiperLayoutProps> = (rawProps) => {\n const logic = useSwiperLayoutLogic(rawProps);\n const styles = useSwiperLayoutStyle(logic);\n\n return (\n <ScrollView \n horizontal \n pagingEnabled \n showsHorizontalScrollIndicator={false}\n style={[styles.container as any, logic.rest.style]} \n {...logic.rest}\n >\n {React.Children.map(logic.children, (child, index) => (\n <View key={index} style={styles.slide as any}>\n {child}\n </View>\n ))}\n </ScrollView>\n );\n};\n\nexport default SwiperLayout;\n","{\"type\":\"layout\",\"id\":\"SystemLayout\",\"label\":\"System UI\",\"description\":\"System wrapper managing StatusBar, SafeAreaView, and NavigationBar.\",\"category\":\"special\",\"tags\":[\"system\",\"statusbar\",\"navigation-bar\",\"safe-area\"],\"architecture\":{\"dependencies\":[\"expo-status-bar\",\"react-native-safe-area-context\"]},\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":true,\"kind\":\"children\"}],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"rootBackgroundColor\",\"label\":\"Root Background Color\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#0c3ddbff\"},{\"name\":\"statusBarContentStyle\",\"label\":\"Status Bar Style\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"auto\",\"options\":[\"light\",\"dark\",\"auto\"]},{\"name\":\"edges\",\"label\":\"Safe Area Edges\",\"type\":\"json\",\"group\":\"behavior\",\"default\":[\"top\",\"bottom\",\"left\",\"right\"]},{\"name\":\"navigationBarContentStyle\",\"label\":\"Nav Bar Style\",\"type\":\"enum\",\"group\":\"behavior\",\"options\":[\"light\",\"dark\"]},{\"name\":\"navigationBarReferenceColor\",\"label\":\"Nav Bar Ref Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"}]}","import { useMemo } from 'react';\nimport SystemLayoutMeta from './SystemLayout.meta.yaml';\n\n/**\n * Props for the SystemLayout component.\n */\nexport interface SystemLayoutProps {\n /**\n * The content to be rendered inside the safe area container.\n */\n children?: React.ReactNode;\n /**\n * The visual style of the system status bar ('light', 'dark', or 'auto').\n */\n statusBarMode?: 'light' | 'dark' | 'auto';\n /**\n * Any additional properties to spread onto the SafeAreaView container.\n */\n [key: string]: any;\n}\n\nexport function useSystemLayoutLogic(props: SystemLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SystemLayoutMeta?.props) {\n SystemLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, statusBarMode = 'auto', ...rest } = merged;\n\n return { children, statusBarMode, rest };\n}\n","\nexport function useSystemLayoutStyle(logic: any) {\n return {\n /**\n * Container uses flex: 1 to ensure it occupies all available screen real estate \n * within the safe area boundaries.\n */\n container: {\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { useSystemLayoutLogic, SystemLayoutProps } from './SystemLayout.logic';\nimport { useSystemLayoutStyle } from './SystemLayout.style';\nimport { SafeAreaView } from 'react-native-safe-area-context';\nimport { StatusBar } from 'expo-status-bar';\n\n/**\n * @component SystemLayout\n * @description A foundational layout component that provides a safe area for content, \n * avoiding device notches and status bars. It also handles the system status bar styling.\n * @accessibility\n * - Provides a safe container to ensure UI elements are not obscured by system UI.\n * - Leaves specific accessibility roles and labels to its children.\n */\nconst SystemLayout: React.FC<SystemLayoutProps> = (rawProps) => {\n const logic = useSystemLayoutLogic(rawProps);\n const styles = useSystemLayoutStyle(logic);\n\n return (\n <SafeAreaView style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <StatusBar style={logic.statusBarMode} />\n {logic.children || <Placeholder label=\"children\" />}\n </SafeAreaView>\n );\n};\n\nexport default SystemLayout;\n","{\"type\":\"layout\",\"id\":\"TopDrawerLayout\",\"label\":\"Top Drawer\",\"description\":\"Animated top drawer with swipe gesture.\",\"category\":\"navigation\",\"tags\":[\"drawer\",\"top-sheet\",\"swipe\",\"notification\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\",\"expo-haptics\"]},\"themeMapping\":{\"root\":\"background\",\"drawer\":\"background\",\"border\":\"border\",\"muted\":\"muted\"},\"slots\":[{\"name\":\"content\",\"label\":\"Main Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"drawerContent\",\"label\":\"Drawer Content\",\"required\":true,\"kind\":\"named\"}],\"constants\":{\"springConfig\":{\"damping\":25,\"stiffness\":200,\"mass\":0.5,\"overshootClamping\":true}},\"responsive\":false,\"animated\":true,\"props\":[{\"name\":\"drawerHeight\",\"label\":\"Drawer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":600},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"drawerBackground\",\"label\":\"Drawer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"drawerBorderRadius\",\"label\":\"Drawer Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"3xl\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"defaultOpen\",\"label\":\"Open by Default\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"handleColor\",\"label\":\"Handle Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"backdropOpacity\",\"label\":\"Backdrop Opacity\",\"type\":\"ratio\",\"group\":\"style\",\"default\":0.4,\"min\":0,\"max\":1},{\"name\":\"contentScaleWhenOpen\",\"label\":\"Open Content Scale\",\"type\":\"ratio\",\"group\":\"behavior\",\"default\":0.95,\"min\":0.5,\"max\":1},{\"name\":\"closeButtonBackground\",\"label\":\"Close Button Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"},{\"name\":\"closeButtonSize\",\"label\":\"Close Button Size\",\"type\":\"number\",\"group\":\"layout\",\"default\":36},{\"name\":\"closeButtonBorderColor\",\"label\":\"Close Button Border\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"closeButtonTextColor\",\"label\":\"Close Button Text\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"mutedForeground\"}]}","import { useMemo } from 'react';\nimport TopDrawerLayoutMeta from './TopDrawerLayout.meta.yaml';\n\n/**\n * Props for the TopDrawerLayout component.\n */\nexport interface TopDrawerLayoutProps {\n /**\n * The content to display inside the drawer panel when it is open.\n */\n drawer?: React.ReactNode;\n /**\n * The primary screen content behind the drawer.\n */\n children?: React.ReactNode;\n /**\n * Controls whether the top drawer is currently visible.\n */\n isOpen?: boolean;\n /**\n * Callback fired when the user taps the background overlay to dismiss the drawer.\n */\n onClose?: () => void;\n /**\n * Any additional properties to spread onto the main View container.\n */\n [key: string]: any;\n}\n\nexport function useTopDrawerLayoutLogic(props: TopDrawerLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TopDrawerLayoutMeta?.props) {\n TopDrawerLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { drawer, children, isOpen = false, onClose, ...rest } = merged;\n\n return { drawer, children, isOpen, onClose, rest };\n}\n","\nexport function useTopDrawerLayoutStyle(logic: any) {\n return {\n /**\n * Main container takes up the entire space using flex: 1.\n */\n container: {\n flex: 1,\n },\n /**\n * The background overlay sits on top of the main content (zIndex: 10) \n * and covers the full screen to intercept taps for closing the drawer.\n */\n overlay: {\n position: 'absolute',\n top: 0, bottom: 0, left: 0, right: 0,\n backgroundColor: 'rgba(0,0,0,0.5)',\n zIndex: 10,\n },\n /**\n * The drawer itself sits above the overlay (zIndex: 20) at the top of the screen.\n */\n drawer: {\n position: 'absolute',\n top: 0, left: 0, right: 0,\n minHeight: 200,\n backgroundColor: '#fff',\n zIndex: 20,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Pressable } from 'react-native';\nimport { useTopDrawerLayoutLogic, TopDrawerLayoutProps } from './TopDrawerLayout.logic';\nimport { useTopDrawerLayoutStyle } from './TopDrawerLayout.style';\n\n/**\n * @component TopDrawerLayout\n * @description A layout providing a slide-down or overlay drawer from the top of the screen.\n * Useful for global menus, notifications, or settings panels.\n * @accessibility\n * - The overlay acts as a Pressable to close the drawer and includes an accessibilityRole and label.\n * - Drawer content can be read by screen readers when active.\n */\nconst TopDrawerLayout: React.FC<TopDrawerLayoutProps> = (rawProps) => {\n const logic = useTopDrawerLayoutLogic(rawProps);\n const styles = useTopDrawerLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n {logic.isOpen && (\n <>\n <Pressable \n style={styles.overlay as any} \n onPress={logic.onClose} \n accessibilityRole=\"button\"\n accessibilityLabel=\"Close Drawer\"\n />\n <View style={styles.drawer as any}>\n {logic.drawer || <Placeholder label=\"drawer\" />}\n </View>\n </>\n )}\n </View>\n );\n};\n\nexport default TopDrawerLayout;\n","{\"type\":\"layout\",\"id\":\"TutoLayout\",\"lname\":\"TutoLayout\",\"description\":\"A guided tutorial overlay layout that traces children elements and renders an interactive tour.\",\"category\":\"special\",\"tags\":[\"layout\",\"tutorial\",\"guide\",\"onboarding\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\"]},\"themeMapping\":{\"root\":\"background\",\"accent\":\"primary\",\"text\":\"foreground\"},\"slots\":[{\"name\":\"children\",\"label\":\"Content to Annotate\",\"required\":true,\"kind\":\"children\"}],\"constants\":{\"swipeThreshold\":40},\"responsive\":false,\"animated\":true,\"props\":[{\"name\":\"overlayOpacity\",\"label\":\"Overlay Opacity\",\"type\":\"ratio\",\"group\":\"style\",\"default\":0.78,\"min\":0,\"max\":1},{\"name\":\"overlayColor\",\"label\":\"Overlay Color\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"showSkip\",\"label\":\"Skip Button\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"nextLabel\",\"label\":\"Next Label\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Next\"},{\"name\":\"finishLabel\",\"label\":\"Finish Label\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Finish\"},{\"name\":\"accentColor\",\"label\":\"Accent Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"textBackground\",\"label\":\"Text Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"textColor\",\"label\":\"Text Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"foreground\"},{\"name\":\"mutedTextColor\",\"label\":\"Secondary Text\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"mutedForeground\"},{\"name\":\"steps\",\"label\":\"Steps\",\"type\":\"json\",\"group\":\"content\",\"default\":[]}]}","import { useMemo, useState, useCallback, useRef } from 'react';\nimport { LayoutRectangle, View } from 'react-native';\nimport { TutoElementRegistry } from './TutoContext';\nimport TutoLayoutMeta from './TutoLayout.meta.yaml';\n\nexport type TutoAnimationType = 'swipe-left' | 'swipe-right' | 'swipe-up' | 'swipe-down' | 'tap' | 'double-tap' | 'none';\n\nexport interface TutoStep {\n /** The ID of the TutoElement to highlight */\n targetId: string;\n /** Title text for the tooltip */\n title?: string;\n /** Description text for the tooltip */\n description?: string;\n /** Animation gesture to display over the highlight */\n animation?: TutoAnimationType;\n}\n\nexport interface TutoLayoutProps {\n /** Array of tutorial steps */\n steps?: TutoStep[];\n /** Whether the tutorial overlay is currently active */\n isActive?: boolean;\n /** Callback fired when a step changes */\n onStepChange?: (stepIndex: number) => void;\n /** Callback fired when the tutorial completes */\n onComplete?: () => void;\n [key: string]: any;\n}\n\nexport function useTutoLayoutLogic(props: TutoLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TutoLayoutMeta?.props) {\n TutoLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { steps = [], isActive, onStepChange, onComplete, children, ...rest } = merged;\n\n const rootRef = useRef<View>(null);\n const [currentStepIndex, setCurrentStepIndex] = useState(0);\n const [registry, setRegistry] = useState<TutoElementRegistry>(new Map());\n\n const currentStep = steps[currentStepIndex];\n const targetId = currentStep?.targetId;\n\n const nextStep = useCallback(() => {\n if (currentStepIndex < steps.length - 1) {\n const nextIndex = currentStepIndex + 1;\n setCurrentStepIndex(nextIndex);\n onStepChange?.(nextIndex);\n } else {\n onComplete?.();\n }\n }, [currentStepIndex, steps.length, onStepChange, onComplete]);\n \n const prevStep = useCallback(() => {\n if (currentStepIndex > 0) {\n const prevIndex = currentStepIndex - 1;\n setCurrentStepIndex(prevIndex);\n onStepChange?.(prevIndex);\n }\n }, [currentStepIndex, onStepChange]);\n\n const registerElement = useCallback((id: string, layout: LayoutRectangle) => {\n setRegistry(prev => {\n const newMap = new Map(prev);\n newMap.set(id, layout);\n return newMap;\n });\n }, []);\n\n const unregisterElement = useCallback((id: string) => {\n setRegistry(prev => {\n const newMap = new Map(prev);\n newMap.delete(id);\n return newMap;\n });\n }, []);\n\n const targetLayout = targetId ? registry.get(targetId) : undefined;\n\n return { \n steps,\n currentStep,\n currentStepIndex, \n nextStep,\n prevStep,\n isActive,\n targetLayout,\n children,\n rootRef,\n contextValue: { registerElement, unregisterElement, registry, rootRef },\n rest \n };\n}\n","import { useMemo } from 'react';\n\nexport function useTutoLayoutStyle(logic: any) {\n return useMemo(() => ({\n container: {\n flex: 1,\n position: 'relative',\n },\n tooltipContainer: {\n width: 250,\n maxWidth: '80%',\n },\n tooltipCard: {\n backgroundColor: 'white',\n borderRadius: 12,\n padding: 16,\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.15,\n shadowRadius: 12,\n elevation: 5,\n },\n tooltipTitle: {\n fontSize: 16,\n fontWeight: 'bold',\n marginBottom: 6,\n color: '#1A1A1A',\n },\n tooltipDesc: {\n fontSize: 14,\n color: '#666',\n marginBottom: 12,\n lineHeight: 20,\n },\n tooltipActions: {\n flexDirection: 'row',\n justifyContent: 'flex-end',\n alignItems: 'center',\n gap: 8,\n },\n tooltipBtn: {\n paddingVertical: 6,\n paddingHorizontal: 12,\n borderRadius: 6,\n },\n tooltipBtnPrimary: {\n backgroundColor: '#4A90E2',\n },\n tooltipBtnText: {\n fontSize: 14,\n fontWeight: '600',\n color: '#4A90E2',\n }\n }), [logic]);\n}\n","import { createContext, useContext, RefObject } from 'react';\nimport { LayoutRectangle, View } from 'react-native';\n\nexport type TutoElementRegistry = Map<string, LayoutRectangle>;\n\nexport interface TutoContextType {\n /** Register a component's layout rectangle */\n registerElement: (id: string, layout: LayoutRectangle) => void;\n /** Unregister a component */\n unregisterElement: (id: string) => void;\n /** The current registry map */\n registry: TutoElementRegistry;\n /** Reference to the root layout view for relative measurements */\n rootRef: any;\n}\n\nexport const TutoContext = createContext<TutoContextType | null>(null);\n\nexport const useTutoContext = () => {\n const ctx = useContext(TutoContext);\n if (!ctx) {\n throw new Error('useTutoContext must be used within a TutoLayout');\n }\n return ctx;\n};\n","import React, { useEffect } from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withRepeat, withSequence, withTiming, withDelay } from 'react-native-reanimated';\nimport { TutoAnimationType } from './TutoLayout.logic';\n\nexport const TutoAnimations: React.FC<{ type: TutoAnimationType }> = ({ type }) => {\n const transX = useSharedValue(0);\n const transY = useSharedValue(0);\n const scale = useSharedValue(1);\n const opacity = useSharedValue(0);\n\n useEffect(() => {\n if (type === 'tap') {\n opacity.value = 1;\n scale.value = withRepeat(\n withSequence(\n withTiming(0.8, { duration: 200 }),\n withTiming(1, { duration: 200 }),\n withDelay(1000, withTiming(1, { duration: 0 }))\n ),\n -1,\n true\n );\n } else if (type === 'swipe-right') {\n opacity.value = withRepeat(\n withSequence(\n withTiming(1, { duration: 200 }),\n withTiming(1, { duration: 800 }),\n withTiming(0, { duration: 200 }),\n withDelay(500, withTiming(0, { duration: 0 }))\n ),\n -1\n );\n transX.value = withRepeat(\n withSequence(\n withTiming(0, { duration: 200 }),\n withTiming(100, { duration: 800 }),\n withTiming(100, { duration: 200 }),\n withTiming(0, { duration: 0 }),\n withDelay(500, withTiming(0, { duration: 0 }))\n ),\n -1\n );\n }\n // Add logic for swipe-left, swipe-up, double-tap as needed\n }, [type]);\n\n const style = useAnimatedStyle(() => ({\n opacity: opacity.value,\n transform: [\n { translateX: transX.value },\n { translateY: transY.value },\n { scale: scale.value }\n ]\n }));\n\n if (type === 'none') return null;\n\n return (\n <View style={[StyleSheet.absoluteFill, { justifyContent: \"center\", alignItems: \"center\" }]} pointerEvents=\"none\">\n <Animated.View style={[styles.cursor, style]} />\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n cursor: {\n width: 30,\n height: 30,\n borderRadius: 15,\n backgroundColor: 'rgba(255, 255, 255, 0.7)',\n borderWidth: 2,\n borderColor: 'rgba(0, 0, 0, 0.2)',\n }\n});\n","import React, { useEffect } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Pressable, Text, StyleSheet } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withTiming, withSpring } from 'react-native-reanimated';\nimport { useTutoLayoutLogic, TutoLayoutProps } from './TutoLayout.logic';\nimport { useTutoLayoutStyle } from './TutoLayout.style';\nimport { TutoContext } from './TutoContext';\nimport { TutoAnimations } from './TutoAnimations';\n\n/**\n * @component TutoLayout\n * @description \n * An advanced \"Tour Guide\" layout engine designed for onboarding flows.\n * It acts as an absolute wrapper and uses `TutoContext` to track the bounding boxes\n * of children components wrapped in `TutoElement`.\n * Supports highlighting, tooltips, and gesture animations (swipe/tap).\n */\nconst TutoLayout: React.FC<TutoLayoutProps> = (rawProps) => {\n const logic = useTutoLayoutLogic(rawProps);\n const styles = useTutoLayoutStyle(logic);\n\n // Animated properties for the highlight frame\n const animX = useSharedValue(0);\n const animY = useSharedValue(0);\n const animW = useSharedValue(0);\n const animH = useSharedValue(0);\n const animOpacity = useSharedValue(0);\n\n useEffect(() => {\n if (logic.isActive && logic.targetLayout) {\n animOpacity.value = withTiming(1, { duration: 300 });\n animX.value = withSpring(logic.targetLayout.x, { damping: 15 });\n animY.value = withSpring(logic.targetLayout.y, { damping: 15 });\n animW.value = withSpring(logic.targetLayout.width, { damping: 15 });\n animH.value = withSpring(logic.targetLayout.height, { damping: 15 });\n } else {\n animOpacity.value = withTiming(0, { duration: 300 });\n }\n }, [logic.isActive, logic.targetLayout, animOpacity, animX, animY, animW, animH]);\n\n const highlightStyle = useAnimatedStyle(() => ({\n opacity: animOpacity.value,\n left: animX.value,\n top: animY.value,\n width: animW.value,\n height: animH.value,\n position: 'absolute',\n borderWidth: 2,\n borderColor: '#4A90E2',\n borderRadius: 8,\n backgroundColor: 'rgba(74, 144, 226, 0.2)', // Light highlight tint\n zIndex: 9999,\n }));\n\n const tooltipStyle = useAnimatedStyle(() => {\n // Position tooltip below or above the highlight\n // Simple heuristic: put below, unless it's too low\n const topPosition = animY.value + animH.value + 12;\n return {\n opacity: animOpacity.value,\n position: 'absolute',\n left: Math.max(12, animX.value), // Don't go off left edge\n top: topPosition,\n zIndex: 10000,\n };\n });\n\n return (\n <TutoContext.Provider value={logic.contextValue}>\n <View ref={logic.rootRef} style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n\n {/* Tutorial Overlay */}\n <View style={[StyleSheet.absoluteFill, { zIndex: 9998 }]} pointerEvents=\"box-none\">\n {/* Darkened backdrop except highlight area (simulated by border here, or just a solid highlight) */}\n <Animated.View style={highlightStyle} pointerEvents=\"none\">\n {/* Gesture Animations */}\n {logic.currentStep?.animation && (\n <TutoAnimations type={logic.currentStep.animation} />\n )}\n </Animated.View>\n \n {/* Tooltip & Controls */}\n {logic.targetLayout && (\n <Animated.View style={[styles.tooltipContainer as any, tooltipStyle]} pointerEvents=\"box-none\">\n <View style={styles.tooltipCard as any}>\n {!!logic.currentStep?.title && (\n <Text style={styles.tooltipTitle as any}>{logic.currentStep.title}</Text>\n )}\n {!!logic.currentStep?.description && (\n <Text style={styles.tooltipDesc as any}>{logic.currentStep.description}</Text>\n )}\n <View style={styles.tooltipActions as any}>\n {logic.currentStepIndex > 0 && (\n <Pressable onPress={logic.prevStep} style={styles.tooltipBtn as any}>\n <Text style={styles.tooltipBtnText as any}>Back</Text>\n </Pressable>\n )}\n <Pressable onPress={logic.nextStep} style={[styles.tooltipBtn as any, styles.tooltipBtnPrimary as any]}>\n <Text style={[styles.tooltipBtnText as any, { color: 'white' }]}>\n {logic.currentStepIndex === logic.steps.length - 1 ? 'Finish' : 'Next'}\n </Text>\n </Pressable>\n </View>\n </View>\n </Animated.View>\n )}\n </View>\n </View>\n </TutoContext.Provider>\n );\n};\n\nexport default TutoLayout;\n","{\"type\":\"layout\",\"id\":\"VoidLayout\",\"label\":\"Void\",\"description\":\"Minimal container with optional scroll, padding, and maxWidth.\",\"category\":\"page\",\"tags\":[\"blank\",\"empty\",\"minimal\",\"wrapper\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":true,\"kind\":\"children\"}],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\",\"description\":\"Maximum container width\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"centerContent\",\"label\":\"Center Content\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"showBorder\",\"label\":\"Visible Border\",\"type\":\"boolean\",\"group\":\"style\",\"default\":false}]}","import { useMemo } from 'react';\nimport VoidLayoutMeta from './VoidLayout.meta.yaml';\n\n/**\n * Props for the VoidLayout component.\n */\nexport interface VoidLayoutProps {\n /**\n * Content to render inside the raw unstyled container.\n */\n children?: React.ReactNode;\n /**\n * Any additional properties to spread onto the underlying View.\n */\n [key: string]: any;\n}\n\nexport function useVoidLayoutLogic(props: VoidLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (VoidLayoutMeta?.props) {\n VoidLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nexport function useVoidLayoutStyle(logic: any) {\n return {\n /**\n * Empty style object for the passthrough container.\n */\n container: {}\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useVoidLayoutLogic, VoidLayoutProps } from './VoidLayout.logic';\nimport { useVoidLayoutStyle } from './VoidLayout.style';\n\n/**\n * @component VoidLayout\n * @description An intentionally blank layout acting purely as a passthrough fragment or unthemed wrapper.\n * Useful for structural hierarchy without visual overhead or as a base class.\n * @accessibility\n * - Purely transparent container, no inherent accessibility role, leaving it to its children.\n */\nconst VoidLayout: React.FC<VoidLayoutProps> = (rawProps) => {\n const logic = useVoidLayoutLogic(rawProps);\n const styles = useVoidLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n );\n};\n\nexport default VoidLayout;\n","/**\n * PlatformOverride — Context to override platform detection in studio/preview mode.\n * When provided, useBreakpoint and usePlatformInfo will use these values instead of real ones.\n */\nimport React, { createContext, useContext } from 'react';\nimport type { BreakpointInfo } from './useBreakpoint';\nimport type { PlatformInfo } from './usePlatformInfo';\n\n/**\n * Valeur de surcharge (override) pour la plateforme et les points d'arrêt (breakpoints).\n */\nexport interface PlatformOverrideValue {\n breakpoint?: BreakpointInfo;\n platform?: PlatformInfo;\n}\n\nconst Ctx = createContext<PlatformOverrideValue | null>(null);\n\n/**\n * Hook permettant d'accéder au contexte de surcharge de la plateforme.\n * \n * @returns La valeur actuelle du contexte de surcharge ou null.\n */\nexport const usePlatformOverride = () => useContext(Ctx);\n\n/**\n * Fournisseur de contexte pour la surcharge des informations de plateforme.\n *\n * @param props - Les propriétés, incluant la valeur de surcharge et les enfants.\n * @returns Un élément Provider de contexte.\n */\nexport const PlatformOverrideProvider: React.FC<{ value: PlatformOverrideValue; children: React.ReactNode }> = ({ value, children }) => (\n <Ctx.Provider value={value}>{children}</Ctx.Provider>\n);\n","import { Dimensions, Platform } from \"react-native\";\nimport { Breakpoint, breakpoints } from '../../tokens';\n\n/**\n * Retourne le point d'arrêt (breakpoint) correspondant à la largeur d'écran donnée ou courante.\n *\n * @param innerWidth - Largeur d'écran optionnelle à utiliser (par défaut la largeur de la fenêtre).\n * @returns Le point d'arrêt (ex: xs, sm, md, lg, xl, 2xl).\n */\nexport const getBreakpoint = (innerWidth?: number): Breakpoint => {\n const width =\n innerWidth ??\n (Platform.OS === \"web\" && typeof window !== \"undefined\"\n ? window.innerWidth\n : Dimensions.get(\"window\").width);\n\n if (width >= breakpoints[\"2xl\"]) return \"2xl\";\n if (width >= breakpoints.xl) return \"xl\";\n if (width >= breakpoints.lg) return \"lg\";\n if (width >= breakpoints.md) return \"md\";\n if (width >= breakpoints.sm) return \"sm\";\n return \"xs\";\n};\n\n/**\n * Type pour une valeur responsive (valeur brute ou objet associant breakpoint et valeur).\n */\nexport type ResponsiveValue<T> = T | Partial<Record<Breakpoint, T>>;\n\n/**\n * Obtient la valeur correspondante pour un point d'arrêt donné à partir d'un objet ResponsiveValue.\n * Gère le repli (fallback) vers le point d'arrêt inférieur le plus proche.\n *\n * @param value - La valeur ou configuration responsive.\n * @param currentBreakpoint - Le point d'arrêt actuel de référence.\n * @returns La valeur résolue pour le point d'arrêt.\n */\nexport const getResponsiveValue = <T>(\n value: ResponsiveValue<T>,\n currentBreakpoint: Breakpoint,\n): T => {\n if (typeof value !== \"object\" || value === null) {\n return value as T;\n }\n\n const responsiveValue = value as Partial<Record<Breakpoint, T>>;\n const orderedBreakpoints: Breakpoint[] = [\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"2xl\",\n ];\n const currentIndex = orderedBreakpoints.indexOf(currentBreakpoint);\n\n for (let i = currentIndex; i >= 0; i--) {\n const bp = orderedBreakpoints[i];\n if (responsiveValue[bp] !== undefined) {\n return responsiveValue[bp] as T;\n }\n }\n\n return responsiveValue[orderedBreakpoints[0]] as T;\n};","import React, { useCallback, useRef } from 'react';\nimport { View, LayoutChangeEvent, ViewStyle, InteractionManager } from 'react-native';\nimport { useTutoContext } from './TutoContext';\n\nexport interface TutoElementProps {\n id: string;\n children: React.ReactNode;\n style?: ViewStyle;\n}\n\n/**\n * @component TutoElement\n * @description\n * Wraps an element and automatically registers its bounding box into the TutoLayout registry.\n * Uses measureLayout to calculate position relative to the TutoLayout root.\n */\nexport const TutoElement: React.FC<TutoElementProps> = ({ id, children, style }) => {\n const { registerElement, unregisterElement, rootRef } = useTutoContext();\n const viewRef = useRef<View>(null);\n\n const measureAndRegister = useCallback(() => {\n if (viewRef.current && rootRef.current) {\n viewRef.current.measureLayout(\n rootRef.current,\n (x, y, width, height) => {\n registerElement(id, { x, y, width, height });\n },\n () => {\n // Fallback if measureLayout fails (e.g. not in same view hierarchy yet)\n }\n );\n }\n }, [id, registerElement, rootRef]);\n\n const handleLayout = useCallback((e: LayoutChangeEvent) => {\n // Wait for the next tick to ensure layout is fully computed\n InteractionManager.runAfterInteractions(() => {\n measureAndRegister();\n });\n }, [measureAndRegister]);\n\n React.useEffect(() => {\n return () => {\n unregisterElement(id);\n };\n }, [id, unregisterElement]);\n\n return (\n <View ref={viewRef} style={style} onLayout={handleLayout} collapsable={false}>\n {children}\n </View>\n );\n};\n\nexport default TutoElement;\n"]}
1
+ {"version":3,"sources":["../foundation/ui/components/base/01-primitives/Box/Box.meta.yaml","../foundation/ui/components/base/01-primitives/Box/Box.logic.ts","../foundation/ui/components/base/01-primitives/Box/Box.style.ts","../foundation/ui/components/base/01-primitives/Box/Box.tsx","../foundation/ui/components/base/01-primitives/Center/Center.meta.yaml","../foundation/ui/components/base/01-primitives/Center/Center.logic.ts","../foundation/ui/components/base/01-primitives/Center/Center.style.ts","../foundation/ui/components/base/01-primitives/Center/Center.tsx","../foundation/ui/components/base/01-primitives/Inline/Inline.meta.yaml","../foundation/ui/components/base/01-primitives/Inline/Inline.logic.ts","../foundation/ui/components/base/01-primitives/Inline/Inline.style.ts","../foundation/ui/components/base/01-primitives/Inline/Inline.tsx","../foundation/ui/components/base/01-primitives/Scroll/Scroll.meta.yaml","../foundation/ui/components/base/01-primitives/Scroll/Scroll.logic.ts","../foundation/ui/components/base/01-primitives/Scroll/Scroll.style.ts","../foundation/ui/components/base/01-primitives/Scroll/Scroll.tsx","../foundation/ui/components/base/01-primitives/Stack/Stack.meta.yaml","../foundation/ui/components/base/01-primitives/Stack/Stack.logic.ts","../foundation/ui/components/base/01-primitives/Stack/Stack.style.ts","../foundation/ui/components/base/01-primitives/Stack/Stack.tsx","../foundation/ui/components/base/02-wrappers/BadgeWrapper/BadgeWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/BadgeWrapper/BadgeWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/BadgeWrapper/BadgeWrapper.style.ts","../foundation/ui/components/base/02-wrappers/BadgeWrapper/BadgeWrapper.tsx","../foundation/ui/components/base/02-wrappers/BlurWrapper/BlurWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/BlurWrapper/BlurWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/BlurWrapper/BlurWrapper.style.ts","../foundation/ui/components/base/02-wrappers/BlurWrapper/BlurWrapper.tsx","../foundation/ui/components/base/02-wrappers/CollapsibleWrapper/CollapsibleWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/CollapsibleWrapper/CollapsibleWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/CollapsibleWrapper/CollapsibleWrapper.style.ts","../foundation/ui/components/base/02-wrappers/CollapsibleWrapper/CollapsibleWrapper.tsx","../foundation/ui/components/base/02-wrappers/FadeInWrapper/FadeInWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/FadeInWrapper/FadeInWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/FadeInWrapper/FadeInWrapper.style.ts","../foundation/ui/components/base/02-wrappers/FadeInWrapper/FadeInWrapper.tsx","../foundation/ui/components/base/02-wrappers/KeyboardAvoidWrapper/KeyboardAvoidWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/KeyboardAvoidWrapper/KeyboardAvoidWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/KeyboardAvoidWrapper/KeyboardAvoidWrapper.style.ts","../foundation/ui/components/base/02-wrappers/KeyboardAvoidWrapper/KeyboardAvoidWrapper.tsx","../foundation/ui/components/base/02-wrappers/SafeAreaWrapper/SafeAreaWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/SafeAreaWrapper/SafeAreaWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/SafeAreaWrapper/SafeAreaWrapper.style.ts","../foundation/ui/components/base/02-wrappers/SafeAreaWrapper/SafeAreaWrapper.tsx","../foundation/ui/components/base/02-wrappers/ScalePressWrapper/ScalePressWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/ScalePressWrapper/ScalePressWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/ScalePressWrapper/ScalePressWrapper.style.ts","../foundation/ui/components/base/02-wrappers/ScalePressWrapper/ScalePressWrapper.tsx","../foundation/ui/components/base/02-wrappers/ShimmerWrapper/ShimmerWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/ShimmerWrapper/ShimmerWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/ShimmerWrapper/ShimmerWrapper.style.ts","../foundation/ui/components/base/02-wrappers/ShimmerWrapper/ShimmerWrapper.tsx","../foundation/ui/components/base/02-wrappers/SkeletonWrapper/SkeletonWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/SkeletonWrapper/SkeletonWrapper.style.ts","../foundation/ui/components/base/02-wrappers/SkeletonWrapper/SkeletonWrapper.tsx","../foundation/ui/components/base/02-wrappers/SlideUpWrapper/SlideUpWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/SlideUpWrapper/SlideUpWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/SlideUpWrapper/SlideUpWrapper.style.ts","../foundation/ui/components/base/02-wrappers/SlideUpWrapper/SlideUpWrapper.tsx","../foundation/ui/components/base/02-wrappers/TooltipWrapper/TooltipWrapper.meta.yaml","../foundation/ui/components/base/02-wrappers/TooltipWrapper/TooltipWrapper.logic.ts","../foundation/ui/components/base/02-wrappers/TooltipWrapper/TooltipWrapper.style.ts","../foundation/ui/components/base/02-wrappers/TooltipWrapper/TooltipWrapper.tsx","../foundation/ui/components/base/Accordion/Accordion.meta.yaml","../foundation/ui/components/base/Accordion/Accordion.logic.ts","../foundation/ui/components/base/Accordion/Accordion.style.ts","../foundation/ui/components/base/Accordion/Accordion.tsx","../foundation/ui/components/base/Audio/Audio.logic.ts","../foundation/ui/components/base/Audio/Audio.style.ts","../foundation/ui/components/base/Audio/Audio.tsx","../foundation/ui/components/base/Avatar/Avatar.meta.yaml","../foundation/ui/components/base/Avatar/Avatar.logic.ts","../foundation/ui/components/base/Avatar/Avatar.style.ts","../foundation/ui/components/base/Avatar/Avatar.tsx","../foundation/ui/components/base/AvatarPicker/AvatarPicker.meta.yaml","../foundation/ui/components/base/AvatarPicker/AvatarPicker.logic.ts","../foundation/ui/components/base/AvatarPicker/AvatarPicker.style.ts","../foundation/ui/components/base/AvatarPicker/AvatarPicker.tsx","../foundation/ui/components/base/Badge/Badge.meta.yaml","../foundation/ui/components/base/Badge/Badge.logic.ts","../foundation/ui/components/base/Badge/Badge.style.ts","../foundation/ui/components/base/Badge/Badge.tsx","../foundation/ui/components/base/BlurView/BlurView.meta.yaml","../foundation/ui/components/base/BlurView/BlurView.logic.ts","../foundation/ui/components/base/BlurView/BlurView.style.ts","../foundation/ui/components/base/BlurView/BlurView.tsx","../foundation/ui/components/base/Button/Button.meta.yaml","../foundation/ui/components/base/Button/Button.logic.ts","../foundation/ui/components/base/Button/Button.style.ts","../foundation/ui/components/base/Button/Button.tsx","../foundation/ui/components/base/Camera/Camera.meta.yaml","../foundation/ui/components/base/Camera/Camera.logic.ts","../foundation/ui/components/base/Camera/Camera.style.ts","../foundation/ui/components/base/Camera/Camera.tsx","../foundation/ui/components/base/Card/Card.meta.yaml","../foundation/ui/components/base/Card/Card.logic.ts","../foundation/ui/components/base/Card/Card.style.ts","../foundation/ui/components/base/Card/Card.tsx","../foundation/ui/components/base/Checkbox/Checkbox.meta.yaml","../foundation/ui/components/base/Checkbox/Checkbox.logic.ts","../foundation/ui/components/base/Checkbox/Checkbox.style.ts","../foundation/ui/components/base/Checkbox/Checkbox.tsx","../foundation/ui/components/base/Chip/Chip.meta.yaml","../foundation/ui/components/base/Chip/Chip.logic.ts","../foundation/ui/components/base/Chip/Chip.style.ts","../foundation/ui/components/base/Chip/Chip.tsx","../foundation/ui/components/base/ColorPicker/ColorPicker.meta.yaml","../foundation/ui/components/base/ColorPicker/ColorPicker.logic.ts","../foundation/ui/components/base/ColorPicker/ColorPicker.style.ts","../foundation/ui/components/base/ColorPicker/ColorPicker.tsx","../foundation/ui/components/base/DatePicker/DatePicker.meta.yaml","../foundation/ui/components/base/DatePicker/DatePicker.logic.ts","../foundation/ui/components/base/DatePicker/DatePicker.style.ts","../foundation/ui/components/base/DatePicker/DatePicker.tsx","../foundation/ui/components/base/Divider/Divider.meta.yaml","../foundation/ui/components/base/Divider/Divider.logic.ts","../foundation/ui/components/base/Divider/Divider.style.ts","../foundation/ui/components/base/Divider/Divider.tsx","../foundation/ui/components/base/EmojiPicker/EmojiPicker.meta.yaml","../foundation/ui/components/base/EmojiPicker/EmojiPicker.logic.ts","../foundation/ui/components/base/EmojiPicker/EmojiPicker.style.ts","../foundation/ui/components/base/EmojiPicker/EmojiPicker.tsx","../foundation/ui/components/base/FilePicker/FilePicker.meta.yaml","../foundation/ui/components/base/FilePicker/FilePicker.logic.ts","../foundation/ui/components/base/FilePicker/FilePicker.style.ts","../foundation/ui/components/base/FilePicker/FilePicker.tsx","../foundation/ui/components/base/FlatList/FlatList.meta.yaml","../foundation/ui/components/base/FlatList/FlatList.logic.ts","../foundation/ui/components/base/FlatList/FlatList.style.ts","../foundation/ui/components/base/FlatList/FlatList.tsx","../foundation/ui/components/base/GifPicker/GifPicker.meta.yaml","../foundation/ui/components/base/GifPicker/GifPicker.logic.ts","../foundation/ui/components/base/GifPicker/GifPicker.style.ts","../foundation/ui/components/base/GifPicker/GifPicker.tsx","../foundation/ui/components/base/Gradient/Gradient.meta.yaml","../foundation/ui/components/base/Gradient/Gradient.logic.ts","../foundation/ui/components/base/Gradient/Gradient.style.ts","../foundation/ui/components/base/Gradient/Gradient.tsx","../foundation/ui/components/base/Icon/Icon.meta.yaml","../foundation/ui/components/base/Icon/Icon.logic.ts","../foundation/ui/components/base/Icon/Icon.style.ts","../foundation/ui/components/base/Icon/Icon.tsx","../foundation/ui/components/base/IconButton/IconButton.meta.yaml","../foundation/ui/components/base/IconButton/IconButton.logic.ts","../foundation/ui/components/base/IconButton/IconButton.style.ts","../foundation/ui/components/base/IconButton/IconButton.tsx","../foundation/ui/components/base/IconPicker/IconPicker.meta.yaml","../foundation/ui/components/base/IconPicker/IconPicker.logic.ts","../foundation/ui/components/base/IconPicker/IconPicker.style.ts","../foundation/ui/components/base/IconPicker/IconPicker.tsx","../foundation/ui/components/base/Image/Image.meta.yaml","../foundation/ui/components/base/Image/Image.logic.ts","../foundation/ui/components/base/Image/Image.style.ts","../foundation/ui/components/base/Image/Image.tsx","../foundation/ui/components/base/LottieAnimation/LottieAnimation.meta.yaml","../foundation/ui/components/base/LottieAnimation/LottieAnimation.logic.ts","../foundation/ui/components/base/LottieAnimation/LottieAnimation.style.ts","../foundation/ui/components/base/LottieAnimation/LottieAnimation.tsx","../foundation/ui/components/base/MapView/MapView.meta.yaml","../foundation/ui/components/base/MapView/MapView.logic.ts","../foundation/ui/components/base/MapView/MapView.style.ts","../foundation/ui/components/base/MapView/MapView.tsx","../foundation/ui/components/base/NumberInput/NumberInput.meta.yaml","../foundation/ui/components/base/NumberInput/NumberInput.logic.ts","../foundation/ui/components/base/NumberInput/NumberInput.style.ts","../foundation/ui/components/base/NumberInput/NumberInput.tsx","../foundation/ui/components/base/OTPInput/OTPInput.meta.yaml","../foundation/ui/components/base/OTPInput/OTPInput.logic.ts","../foundation/ui/components/base/OTPInput/OTPInput.style.ts","../foundation/ui/components/base/OTPInput/OTPInput.tsx","../foundation/ui/components/base/PasswordInput/PasswordInput.meta.yaml","../foundation/ui/components/base/PasswordInput/PasswordInput.logic.ts","../foundation/ui/components/base/PasswordInput/PasswordInput.style.ts","../foundation/ui/components/base/PasswordInput/PasswordInput.tsx","../foundation/ui/components/base/Pressable/Pressable.meta.yaml","../foundation/ui/components/base/Pressable/Pressable.logic.ts","../foundation/ui/components/base/Pressable/Pressable.style.ts","../foundation/ui/components/base/Pressable/Pressable.tsx","../foundation/ui/components/base/ProgressBar/ProgressBar.meta.yaml","../foundation/ui/components/base/ProgressBar/ProgressBar.logic.ts","../foundation/ui/components/base/ProgressBar/ProgressBar.style.ts","../foundation/ui/components/base/ProgressBar/ProgressBar.tsx","../foundation/ui/components/base/RadioGroup/RadioGroup.meta.yaml","../foundation/ui/components/base/RadioGroup/RadioGroup.logic.ts","../foundation/ui/components/base/RadioGroup/RadioGroup.style.ts","../foundation/ui/components/base/RadioGroup/RadioGroup.tsx","../foundation/ui/components/base/SearchInput/SearchInput.meta.yaml","../foundation/ui/components/base/SearchInput/SearchInput.logic.ts","../foundation/ui/components/base/SearchInput/SearchInput.style.ts","../foundation/ui/components/base/SearchInput/SearchInput.tsx","../foundation/ui/components/base/Select/Select.meta.yaml","../foundation/ui/components/base/Select/Select.logic.ts","../foundation/ui/components/base/Select/Select.style.ts","../foundation/ui/components/base/Select/Select.tsx","../foundation/ui/components/base/Separator/Separator.meta.yaml","../foundation/ui/components/base/Separator/Separator.logic.ts","../foundation/ui/components/base/Separator/Separator.style.ts","../foundation/ui/components/base/Separator/Separator.tsx","../foundation/ui/components/base/Slider/Slider.meta.yaml","../foundation/ui/components/base/Slider/Slider.logic.ts","../foundation/ui/components/base/Slider/Slider.style.ts","../foundation/ui/components/base/Slider/Slider.tsx","../foundation/ui/components/base/Spinner/Spinner.meta.yaml","../foundation/ui/components/base/Spinner/Spinner.logic.ts","../foundation/ui/components/base/Spinner/Spinner.style.ts","../foundation/ui/components/base/Spinner/Spinner.tsx","../foundation/ui/components/base/Switch/Switch.meta.yaml","../foundation/ui/components/base/Switch/Switch.logic.ts","../foundation/ui/components/base/Switch/Switch.style.ts","../foundation/ui/components/base/Switch/Switch.tsx","../foundation/ui/components/base/Tabs/Tabs.meta.yaml","../foundation/ui/components/base/Tabs/Tabs.logic.ts","../foundation/ui/components/base/Tabs/Tabs.style.ts","../foundation/ui/components/base/Tabs/Tabs.tsx","../foundation/ui/components/base/Text/Text.meta.yaml","../foundation/ui/components/base/Text/Text.logic.ts","../foundation/ui/components/base/Text/Text.style.ts","../foundation/ui/components/base/Text/Text.tsx","../foundation/ui/components/base/TextArea/TextArea.meta.yaml","../foundation/ui/components/base/TextArea/TextArea.logic.ts","../foundation/ui/components/base/TextArea/TextArea.style.ts","../foundation/ui/components/base/TextArea/TextArea.tsx","../foundation/ui/components/base/TextInput/TextInput.meta.yaml","../foundation/ui/components/base/TextInput/TextInput.logic.ts","../foundation/ui/components/base/TextInput/TextInput.style.ts","../foundation/ui/components/base/TextInput/TextInput.tsx","../foundation/ui/components/base/Video/Video.meta.yaml","../foundation/ui/components/base/Video/Video.logic.ts","../foundation/ui/components/base/Video/Video.style.ts","../foundation/ui/components/base/Video/Video.tsx","../foundation/ui/components/base/WebView/WebView.meta.yaml","../foundation/ui/components/base/WebView/WebView.logic.ts","../foundation/ui/components/base/WebView/WebView.style.ts","../foundation/ui/components/base/WebView/WebView.tsx","../foundation/ui/components/base/WheelPicker/WheelPicker.meta.yaml","../foundation/ui/components/base/WheelPicker/WheelPicker.logic.ts","../foundation/ui/components/base/WheelPicker/WheelPicker.style.ts","../foundation/ui/components/base/WheelPicker/WheelPicker.tsx","../foundation/ui/components/Placeholder.tsx","../foundation/ui/components/layouts/AuthLayout/AuthLayout.meta.yaml","../foundation/ui/components/layouts/AuthLayout/AuthLayout.logic.ts","../foundation/ui/components/layouts/AuthLayout/AuthLayout.style.ts","../foundation/ui/components/layouts/AuthLayout/AuthLayout.tsx","../foundation/ui/components/layouts/BentoLayout/BentoLayout.meta.yaml","../foundation/ui/components/layouts/BentoLayout/BentoLayout.logic.ts","../foundation/ui/components/layouts/BentoLayout/BentoLayout.style.ts","../foundation/ui/components/layouts/BentoLayout/BentoLayout.tsx","../foundation/ui/components/layouts/BottomDrawerLayout/BottomDrawerLayout.meta.yaml","../foundation/ui/components/layouts/BottomDrawerLayout/BottomDrawerLayout.logic.ts","../foundation/ui/components/layouts/BottomDrawerLayout/BottomDrawerLayout.style.ts","../foundation/ui/components/layouts/BottomDrawerLayout/BottomDrawerLayout.tsx","../foundation/ui/components/layouts/CenteredLayout/CenteredLayout.meta.yaml","../foundation/ui/components/layouts/CenteredLayout/CenteredLayout.logic.ts","../foundation/ui/components/layouts/CenteredLayout/CenteredLayout.style.ts","../foundation/ui/components/layouts/CenteredLayout/CenteredLayout.tsx","../foundation/ui/components/layouts/DashboardLayout/DashboardLayout.meta.yaml","../foundation/ui/components/layouts/DashboardLayout/DashboardLayout.logic.ts","../foundation/ui/components/layouts/DashboardLayout/DashboardLayout.style.ts","../foundation/ui/components/layouts/DashboardLayout/DashboardLayout.tsx","../foundation/ui/components/layouts/DeckLayout/DeckLayout.meta.yaml","../foundation/ui/components/layouts/DeckLayout/DeckLayout.logic.ts","../foundation/ui/components/layouts/DeckLayout/DeckLayout.style.ts","../foundation/ui/components/layouts/DeckLayout/DeckLayout.tsx","../foundation/ui/components/layouts/FlexLayout/FlexLayout.meta.yaml","../foundation/ui/components/layouts/FlexLayout/FlexLayout.logic.ts","../foundation/ui/components/layouts/FlexLayout/FlexLayout.style.ts","../foundation/ui/components/layouts/FlexLayout/FlexLayout.tsx","../foundation/ui/components/layouts/FlipLayout/FlipLayout.meta.yaml","../foundation/ui/components/layouts/FlipLayout/FlipLayout.logic.ts","../foundation/ui/components/layouts/FlipLayout/FlipLayout.style.ts","../foundation/ui/components/layouts/FlipLayout/FlipLayout.tsx","../foundation/ui/components/layouts/FooterLayout/FooterLayout.meta.yaml","../foundation/ui/components/layouts/FooterLayout/FooterLayout.logic.ts","../foundation/ui/components/layouts/FooterLayout/FooterLayout.style.ts","../foundation/ui/components/layouts/FooterLayout/FooterLayout.tsx","../foundation/ui/components/layouts/GridLayout/GridLayout.meta.yaml","../foundation/ui/components/layouts/GridLayout/GridLayout.logic.ts","../foundation/ui/components/layouts/GridLayout/GridLayout.style.ts","../foundation/ui/components/layouts/GridLayout/GridLayout.tsx","../foundation/ui/components/layouts/HeaderContentLayout/HeaderContentLayout.meta.yaml","../foundation/ui/components/layouts/HeaderContentLayout/HeaderContentLayout.logic.ts","../foundation/ui/components/layouts/HeaderContentLayout/HeaderContentLayout.style.ts","../foundation/ui/components/layouts/HeaderContentLayout/HeaderContentLayout.tsx","../foundation/ui/components/layouts/LeftDrawerLayout/LeftDrawerLayout.meta.yaml","../foundation/ui/components/layouts/LeftDrawerLayout/LeftDrawerLayout.logic.ts","../foundation/ui/components/layouts/LeftDrawerLayout/LeftDrawerLayout.style.ts","../foundation/ui/components/layouts/LeftDrawerLayout/LeftDrawerLayout.tsx","../foundation/ui/components/layouts/MasonryLayout/MasonryLayout.meta.yaml","../foundation/ui/components/layouts/MasonryLayout/MasonryLayout.logic.ts","../foundation/ui/components/layouts/MasonryLayout/MasonryLayout.style.ts","../foundation/ui/components/layouts/MasonryLayout/MasonryLayout.tsx","../foundation/ui/components/layouts/ParallaxLayout/ParallaxLayout.meta.yaml","../foundation/ui/components/layouts/ParallaxLayout/ParallaxLayout.logic.ts","../foundation/ui/components/layouts/ParallaxLayout/ParallaxLayout.style.ts","../foundation/ui/components/layouts/ParallaxLayout/ParallaxLayout.tsx","../foundation/ui/components/layouts/ResponsiveLayout/ResponsiveLayout.meta.yaml","../foundation/ui/components/layouts/ResponsiveLayout/ResponsiveLayout.logic.ts","../foundation/ui/components/layouts/ResponsiveLayout/ResponsiveLayout.style.ts","../foundation/ui/components/layouts/ResponsiveLayout/ResponsiveLayout.tsx","../foundation/ui/components/layouts/RootLayout/RootLayout.meta.yaml","../foundation/ui/components/layouts/RootLayout/RootLayout.logic.ts","../foundation/ui/components/layouts/RootLayout/RootLayout.style.ts","../foundation/ui/components/layouts/RootLayout/RootLayout.tsx","../foundation/ui/components/layouts/ScrollLayout/ScrollLayout.meta.yaml","../foundation/ui/components/layouts/ScrollLayout/ScrollLayout.logic.ts","../foundation/ui/components/layouts/ScrollLayout/ScrollLayout.style.ts","../foundation/ui/components/layouts/ScrollLayout/ScrollLayout.tsx","../foundation/ui/components/layouts/SidebarLayout/SidebarLayout.meta.yaml","../foundation/ui/components/layouts/SidebarLayout/SidebarLayout.logic.ts","../foundation/ui/components/layouts/SidebarLayout/SidebarLayout.style.ts","../foundation/ui/components/layouts/SidebarLayout/SidebarLayout.tsx","../foundation/ui/components/layouts/SketchLayout/SketchLayout.meta.yaml","../foundation/ui/components/layouts/SketchLayout/SketchLayout.logic.ts","../foundation/ui/components/layouts/SketchLayout/SketchLayout.style.ts","../foundation/ui/components/layouts/SketchLayout/SketchLayout.tsx","../foundation/ui/components/layouts/SortableGridLayout/SortableGridLayout.logic.ts","../foundation/ui/components/layouts/SortableGridLayout/SortableGridLayout.style.ts","../foundation/ui/components/layouts/SortableGridLayout/SortableGridLayout.tsx","../foundation/ui/components/layouts/SplitLayout/SplitLayout.meta.yaml","../foundation/ui/components/layouts/SplitLayout/SplitLayout.logic.ts","../foundation/ui/components/layouts/SplitLayout/SplitLayout.style.ts","../foundation/ui/components/layouts/SplitLayout/SplitLayout.tsx","../foundation/ui/components/layouts/Swipe2ScreenLayout/Swipe2ScreenLayout.meta.yaml","../foundation/ui/components/layouts/Swipe2ScreenLayout/Swipe2ScreenLayout.logic.ts","../foundation/ui/components/layouts/Swipe2ScreenLayout/Swipe2ScreenLayout.style.ts","../foundation/ui/components/layouts/Swipe2ScreenLayout/Swipe2ScreenLayout.tsx","../foundation/ui/components/layouts/SwiperLayout/SwiperLayout.meta.yaml","../foundation/ui/components/layouts/SwiperLayout/SwiperLayout.logic.ts","../foundation/ui/components/layouts/SwiperLayout/SwiperLayout.style.ts","../foundation/ui/components/layouts/SwiperLayout/SwiperLayout.tsx","../foundation/ui/components/layouts/SystemLayout/SystemLayout.meta.yaml","../foundation/ui/components/layouts/SystemLayout/SystemLayout.logic.ts","../foundation/ui/components/layouts/SystemLayout/SystemLayout.style.ts","../foundation/ui/components/layouts/SystemLayout/SystemLayout.tsx","../foundation/ui/components/layouts/TopDrawerLayout/TopDrawerLayout.meta.yaml","../foundation/ui/components/layouts/TopDrawerLayout/TopDrawerLayout.logic.ts","../foundation/ui/components/layouts/TopDrawerLayout/TopDrawerLayout.style.ts","../foundation/ui/components/layouts/TopDrawerLayout/TopDrawerLayout.tsx","../foundation/ui/components/layouts/TutoLayout/TutoLayout.meta.yaml","../foundation/ui/components/layouts/TutoLayout/TutoLayout.logic.ts","../foundation/ui/components/layouts/TutoLayout/TutoLayout.style.ts","../foundation/ui/components/layouts/TutoLayout/TutoContext.ts","../foundation/ui/components/layouts/TutoLayout/TutoAnimations.tsx","../foundation/ui/components/layouts/TutoLayout/TutoLayout.tsx","../foundation/ui/components/layouts/VoidLayout/VoidLayout.meta.yaml","../foundation/ui/components/layouts/VoidLayout/VoidLayout.logic.ts","../foundation/ui/components/layouts/VoidLayout/VoidLayout.style.ts","../foundation/ui/components/layouts/VoidLayout/VoidLayout.tsx","../foundation/ui/hooks/PlatformOverride.tsx","../foundation/ui/utils/responsive.ts","../foundation/ui/components/layouts/TutoLayout/TutoElement.tsx"],"names":["p","width","styles","React","useMemo","jsx","View","jsxs","useState","useEffect","Animated","useSharedValue","withTiming","useAnimatedStyle","withRepeat","withSequence","Easing","withDelay","Text","Pressable","FadeIn","FadeOut","useCallback","Image","BlurView","ExpoBlurView","StyleSheet","RNPlatform","import_react","Platform","ScrollView","RNFlatList","ActivityIndicator","LucideIcons","LucideIcons2","Feather","TextInput","ExpoImage","newValues","RNPressable","META_DEFAULTS","useRef","withSpring","RNText","RNTextInput","player","Fragment","interpolate","useAnimatedScrollHandler","Extrapolation","spacing","Gesture","GestureDetector","Dimensions","SafeAreaView","createContext","useContext"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,gBAAA,GAAA,EAA8P,KAAA,EAAQ,CAAC,EAAC,IAAA,EAAO,MAAA,EAAO,KAAA,EAAQ,QAAO,IAAA,EAAO,QAAA,EAAS,KAAA,EAAQ,QAAA,EAAQ,EAAE,EAAC,MAAO,IAAA,EAAK,KAAA,EAAQ,YAAA,EAAa,IAAA,EAAO,OAAA,EAAQ,KAAA,EAAQ,OAAA,EAAO,EAAE,EAAC,IAAA,EAAO,GAAA,EAAI,KAAA,EAAQ,SAAA,EAAU,IAAA,EAAO,WAAU,KAAA,EAAQ,QAAA,EAAQ,EAAE,EAAC,IAAA,EAAO,IAAA,EAAK,OAAQ,WAAA,EAAY,IAAA,EAAO,SAAA,EAAU,KAAA,EAAQ,QAAA,EAAQ,EAAE,EAAC,IAAA,EAAO,IAAA,EAAK,KAAA,EAAQ,WAAA,EAAY,IAAA,EAAO,SAAA,EAAU,KAAA,EAAQ,QAAA,EAAQ,EAAE,EAAC,IAAA,EAAO,GAAA,EAAI,KAAA,EAAQ,QAAA,EAAS,MAAO,SAAA,EAAU,KAAA,EAAQ,QAAA,E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uBACEE,GAAAA,CAACC,IAAAA,EAAA,EAAK,GAAA,EAAK,OAAA,EAAS,KAAA,EAAc,QAAA,EAAU,YAAA,EAAc,WAAA,EAAa,KAAA,EACpE,QAAA,EACH,CAAA;AAEJ,CAAA;AAEA,IAAO,mBAAA,GAAQ","file":"chunk-XTYE5PNQ.mjs","sourcesContent":["{\"type\":\"primitive\",\"id\":\"Box\",\"label\":\"Box\",\"description\":\"Flexible container with spacing, background, and border support.\",\"category\":\"primitive\",\"tags\":[\"box\",\"container\",\"view\",\"div\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"px\",\"label\":\"Padding X\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"py\",\"label\":\"Padding Y\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"m\",\"label\":\"Margin\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"mx\",\"label\":\"Margin X\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"my\",\"label\":\"Margin Y\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"minHeight\",\"label\":\"Min Height\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\"},{\"name\":\"overflow\",\"label\":\"Overflow\",\"type\":\"enum\",\"group\":\"style\",\"options\":[\"visible\",\"hidden\",\"scroll\"]},{\"name\":\"justifyContent\",\"label\":\"Justify\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"flex-start\",\"flex-end\",\"center\",\"space-between\",\"space-around\",\"space-evenly\"]},{\"name\":\"alignItems\",\"label\":\"Align Items\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"stretch\",\"flex-start\",\"flex-end\",\"center\",\"baseline\"]},{\"name\":\"alignSelf\",\"label\":\"Align Self\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"auto\",\"flex-start\",\"center\",\"flex-end\",\"stretch\"]}]}","import React, { useMemo } from 'react';\nimport BoxMeta from './Box.meta.yaml';\n\n/**\n * Properties for the Box component.\n */\nexport interface BoxProps {\n /** The content to be rendered inside the Box. */\n children?: React.ReactNode;\n /** Defines how the Box grows or shrinks to fill available space within a flex container. */\n flex?: number;\n /** Background color of the Box. Can be a theme token or a literal color value. */\n bg?: string;\n /** Padding applied uniformly to all sides. */\n p?: number | string;\n /** Padding applied to the horizontal sides (left and right). */\n px?: number | string;\n /** Padding applied to the vertical sides (top and bottom). */\n py?: number | string;\n /** Margin applied uniformly to all sides. */\n m?: number | string;\n /** Margin applied to the horizontal sides (left and right). */\n mx?: number | string;\n /** Margin applied to the vertical sides (top and bottom). */\n my?: number | string;\n /** Fixed width of the Box. */\n width?: number | string;\n /** Fixed height of the Box. */\n height?: number | string;\n /** Maximum width the Box can grow to. */\n maxWidth?: number | string;\n /** Minimum height the Box must have. */\n minHeight?: number | string;\n /** Border radius for rounding the corners of the Box. */\n borderRadius?: number | string;\n /** Determines how to handle content that overflows the Box's bounds. */\n overflow?: 'visible' | 'hidden' | 'scroll';\n /** Flexbox property to align children along the main axis. */\n justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n /** Flexbox property to align children along the cross axis. */\n alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n /** Overrides the alignItems value for this specific Box within its parent flex container. */\n alignSelf?: 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch';\n /** Any other props (including accessibility and View props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useBoxLogic(props: BoxProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BoxMeta?.props) {\n BoxMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n \n // Explicitly extract known layout props for security and optimization\n const { \n children, flex, bg, p, px, py, m, mx, my, width, height, \n maxWidth, minHeight, borderRadius, overflow, \n justifyContent, alignItems, alignSelf, ...rest \n } = merged;\n\n const layoutProps = {\n flex, bg, p, px, py, m, mx, my, width, height, \n maxWidth, minHeight, borderRadius, overflow, \n justifyContent, alignItems, alignSelf\n };\n\n return { children, layoutProps, rest };\n}\n","import { useTheme } from \"../../../../../theme/providers/ThemeProvider\";\n\nexport function useBoxStyle(logic: any) {\n const { theme } = useTheme();\n const { layoutProps } = logic;\n\n // Optimised style generation based on layout props\n const style: Record<string, any> = {};\n\n // Flex property sets the flex grow/shrink behavior. \n // It dictates how this box behaves inside a flex parent.\n if (layoutProps.flex !== undefined) style.flex = layoutProps.flex;\n \n // Safe color mapping\n if (layoutProps.bg) {\n style.backgroundColor = (theme as any)?.[layoutProps.bg] || layoutProps.bg;\n }\n\n // Spacing mapping (simplified, assuming values are passed directly to RN which handles numbers as dp)\n if (layoutProps.p !== undefined) style.padding = layoutProps.p;\n if (layoutProps.px !== undefined) style.paddingHorizontal = layoutProps.px;\n if (layoutProps.py !== undefined) style.paddingVertical = layoutProps.py;\n \n if (layoutProps.m !== undefined) style.margin = layoutProps.m;\n if (layoutProps.mx !== undefined) style.marginHorizontal = layoutProps.mx;\n if (layoutProps.my !== undefined) style.marginVertical = layoutProps.my;\n\n // Dimensions\n if (layoutProps.width !== undefined) style.width = layoutProps.width;\n if (layoutProps.height !== undefined) style.height = layoutProps.height;\n if (layoutProps.maxWidth !== undefined) style.maxWidth = layoutProps.maxWidth;\n if (layoutProps.minHeight !== undefined) style.minHeight = layoutProps.minHeight;\n\n // Borders & Overflow\n // Uses theme tokens for radius if available, fallback to raw values\n if (layoutProps.borderRadius !== undefined) {\n style.borderRadius = (theme as any)?.radius?.[layoutProps.borderRadius] || layoutProps.borderRadius;\n }\n // Controls clipping of content, useful for rounded corners or absolute positioned children\n if (layoutProps.overflow !== undefined) style.overflow = layoutProps.overflow;\n\n // Alignment\n // Structural choices for child layout when Box acts as a flex container\n if (layoutProps.justifyContent !== undefined) style.justifyContent = layoutProps.justifyContent;\n if (layoutProps.alignItems !== undefined) style.alignItems = layoutProps.alignItems;\n if (layoutProps.alignSelf !== undefined) style.alignSelf = layoutProps.alignSelf;\n\n return { container: style };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useBoxLogic, BoxProps } from './Box.logic';\nimport { useBoxStyle } from './Box.style';\n\n/**\n * `Box` is the most fundamental layout primitive in the foundational component system.\n * It serves as a generic container (wrapper) for grouping other components and \n * abstracting away basic styling needs directly via props (like margin, padding, flex).\n * \n * **Role:**\n * Acts as the base building block for constructing complex UI layouts.\n * \n * **Use cases:**\n * - Creating a container with specific spacing (padding/margin).\n * - Applying basic background colors.\n * - Flexbox layouts where a more specific primitive (like `Stack` or `Inline`) is not required.\n * \n * **Structure:**\n * A thin wrapper around React Native's `View` component. \n * Styles are dynamically computed based on the passed layout props for performance.\n * \n * **Accessibility:**\n * `Box` passes all standard React Native `View` accessibility props directly to its root element.\n * If used as an interactive element, ensure appropriate `accessibilityRole` and `accessible` props are provided.\n */\nconst Box: React.FC<BoxProps> = (rawProps) => {\n const logic = useBoxLogic(rawProps);\n const styles = useBoxStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </View>\n );\n};\n\nexport default React.memo(Box);\n","{\"type\":\"primitive\",\"id\":\"Center\",\"label\":\"Center\",\"description\":\"Centers content both horizontally and vertically.\",\"category\":\"primitive\",\"tags\":[\"center\",\"align\",\"middle\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"py\",\"label\":\"Padding Y\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\"}]}","import React, { useMemo } from 'react';\nimport CenterMeta from './Center.meta.yaml';\n\n/**\n * Properties for the Center component.\n */\nexport interface CenterProps {\n /** The content to be centered horizontally and vertically. */\n children?: React.ReactNode;\n /** Any other props (including style and accessibility props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useCenterLogic(props: CenterProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CenterMeta?.props) {\n CenterMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","export function useCenterStyle(logic: any) {\n return {\n container: {\n // Structural choice: use flexbox to center items.\n // justifyContent centers items along the main axis (vertical by default in React Native)\n justifyContent: 'center',\n // alignItems centers items along the cross axis (horizontal by default)\n alignItems: 'center',\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useCenterLogic, CenterProps } from './Center.logic';\nimport { useCenterStyle } from './Center.style';\n\n/**\n * `Center` is a layout primitive used to automatically center its children\n * along both the horizontal and vertical axes.\n * \n * **Role:**\n * Simplifies the frequent task of perfectly centering content within a view.\n * \n * **Use cases:**\n * - Displaying a loading spinner in the middle of the screen.\n * - Centering an icon or text inside a button or badge.\n * - Creating placeholder screens (like 'No Data').\n * \n * **Structure:**\n * Wraps children in a React Native `View` with predefined flexbox alignment\n * rules (`justifyContent: 'center'` and `alignItems: 'center'`).\n * \n * **Accessibility:**\n * Inherits standard View accessibility behaviors. Does not impart any specialized\n * semantic meaning beyond layout.\n */\nconst Center: React.FC<CenterProps> = (rawProps) => {\n const logic = useCenterLogic(rawProps);\n const styles = useCenterStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </View>\n );\n};\n\nexport default React.memo(Center);\n","{\"type\":\"primitive\",\"id\":\"Inline\",\"label\":\"Inline\",\"description\":\"Horizontal row with spacing and alignment.\",\"category\":\"primitive\",\"tags\":[\"inline\",\"horizontal\",\"row\",\"hstack\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":2},{\"name\":\"align\",\"label\":\"Align\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"stretch\",\"flex-start\",\"center\",\"flex-end\",\"baseline\"]},{\"name\":\"justify\",\"label\":\"Justify\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\"]},{\"name\":\"wrap\",\"label\":\"Wrap\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"fillWidth\",\"label\":\"Fill Width\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false}]}","import React, { useMemo } from 'react';\nimport InlineMeta from './Inline.meta.yaml';\n\n/**\n * Properties for the Inline component.\n */\nexport interface InlineProps {\n /** The spacing between children items. Uses React Native gap. Defaults to 8. */\n gap?: number;\n /** The items to be laid out horizontally with wrapping. */\n children?: React.ReactNode;\n /** Any other props (including style and accessibility props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useInlineLogic(props: InlineProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (InlineMeta?.props) {\n InlineMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { gap = 8, children, ...rest } = merged;\n\n return { gap, children, rest };\n}\n","export function useInlineStyle(logic: any) {\n return {\n container: {\n // Structural choice: Layout items in a row along the horizontal axis\n flexDirection: 'row',\n // Structural choice: Allow items to naturally wrap to the next line if there's not enough horizontal space\n flexWrap: 'wrap',\n // Structural choice: Use native flexbox gap for uniform spacing between all items (horizontally and vertically)\n gap: logic.gap, // React Native >= 0.71 supports gap!\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useInlineLogic, InlineProps } from './Inline.logic';\nimport { useInlineStyle } from './Inline.style';\n\n/**\n * `Inline` is a layout primitive that arranges its children in a horizontal row,\n * wrapping them to the next line if they exceed the container's width.\n * \n * **Role:**\n * Handles horizontal flowing layouts where items should comfortably wrap,\n * much like words in a paragraph, with a consistent gap between them.\n * \n * **Use cases:**\n * - Displaying a list of tags or chips.\n * - Grouping multiple small inline actions (like icons or small buttons).\n * - Formatting metadata pills that might wrap on smaller screens.\n * \n * **Structure:**\n * Implements a flexbox row layout with `flexWrap: 'wrap'` and a configurable `gap`.\n * \n * **Accessibility:**\n * Acts as a presentational grouping container. Consider adding `accessible={true}` \n * and `accessibilityLabel` if the group itself represents a single interactive or \n * semantic block of information.\n */\nconst Inline: React.FC<InlineProps> = (rawProps) => {\n const logic = useInlineLogic(rawProps);\n const styles = useInlineStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </View>\n );\n};\n\nexport default React.memo(Inline);\n","{\"type\":\"primitive\",\"id\":\"Scroll\",\"label\":\"Scroll\",\"description\":\"Scrollable container.\",\"category\":\"primitive\",\"tags\":[\"scroll\",\"scrollview\",\"overflow\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"horizontal\",\"label\":\"Horizontal\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"showsScrollIndicator\",\"label\":\"Show Indicator\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"scrollEnabled\",\"label\":\"Scroll Enabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"}]}","import React, { useMemo } from 'react';\nimport ScrollMeta from './Scroll.meta.yaml';\n\n/**\n * Properties for the Scroll component.\n */\nexport interface ScrollProps {\n /** If true, the scroll view's children are arranged horizontally in a row. */\n horizontal?: boolean;\n /** The content to be rendered inside the scrollable view. */\n children?: React.ReactNode;\n /** Any other props (including style and ScrollView props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useScrollLogic(props: ScrollProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ScrollMeta?.props) {\n ScrollMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { horizontal, children, ...rest } = merged;\n\n return { horizontal, children, rest };\n}\n","export function useScrollStyle(logic: any) {\n return {\n container: {\n // Structural choice: flex: 1 allows the ScrollView to expand and fill\n // available space in its parent, ensuring it can become scrollable if content overflows.\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { ScrollView } from 'react-native';\nimport { useScrollLogic, ScrollProps } from './Scroll.logic';\nimport { useScrollStyle } from './Scroll.style';\n\n/**\n * `Scroll` is a layout primitive that enables scrolling for content that exceeds \n * the visible bounds of its container.\n * \n * **Role:**\n * Provides a scrollable viewport for displaying large amounts of content or lists\n * without specialized virtualization (use FlatList for large lists instead).\n * \n * **Use cases:**\n * - Wrapping screens or forms that may overflow on smaller devices.\n * - Horizontal carousels of items.\n * - Adding scrollability to modal dialog bodies.\n * \n * **Structure:**\n * A thin wrapper around React Native's `ScrollView`. Configured to hide scroll\n * indicators by default for a cleaner aesthetic.\n * \n * **Accessibility:**\n * Inherits standard ScrollView accessibility. Ensure content within the Scroll\n * remains accessible and reachable via screen readers.\n */\nconst Scroll: React.FC<ScrollProps> = (rawProps) => {\n const logic = useScrollLogic(rawProps);\n const styles = useScrollStyle(logic);\n\n return (\n <ScrollView \n style={[styles.container as any, logic.rest.style]} \n horizontal={logic.horizontal}\n showsHorizontalScrollIndicator={false}\n showsVerticalScrollIndicator={false}\n {...logic.rest}\n >\n {logic.children}\n </ScrollView>\n );\n};\n\nexport default React.memo(Scroll);\n","{\"type\":\"primitive\",\"id\":\"Stack\",\"label\":\"Stack\",\"description\":\"Vertical stack with consistent spacing between children.\",\"category\":\"primitive\",\"tags\":[\"stack\",\"vertical\",\"column\",\"vstack\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":false}],\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":2},{\"name\":\"align\",\"label\":\"Align\",\"type\":\"enum\",\"group\":\"layout\",\"options\":[\"stretch\",\"flex-start\",\"center\",\"flex-end\"]},{\"name\":\"bg\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"p\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"},{\"name\":\"flex\",\"label\":\"Flex\",\"type\":\"number\",\"group\":\"layout\"}]}","import React, { useMemo } from 'react';\nimport StackMeta from './Stack.meta.yaml';\n\n/**\n * Properties for the Stack component.\n */\nexport interface StackProps {\n /** The axis along which to stack the children. Defaults to 'column'. */\n direction?: 'row' | 'column';\n /** The size of the gap between children. Defaults to 16. */\n gap?: number;\n /** The items to be stacked. */\n children?: React.ReactNode;\n /** Any other props (including style and View props) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useStackLogic(props: StackProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (StackMeta?.props) {\n StackMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { direction = 'column', gap = 16, children, ...rest } = merged;\n\n return { direction, gap, children, rest };\n}\n","export function useStackStyle(logic: any) {\n return {\n container: {\n // Structural choice: Defines the main axis for stacking items (either row or column)\n flexDirection: logic.direction,\n // Structural choice: Uses native flexbox gap for consistent spacing without needing child margins\n gap: logic.gap, // Requires RN 0.71+\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useStackLogic, StackProps } from './Stack.logic';\nimport { useStackStyle } from './Stack.style';\n\n/**\n * `Stack` is a layout primitive used to stack elements along a single axis (vertical or horizontal)\n * with a consistent gap between them.\n * \n * **Role:**\n * Simplifies the creation of linear layouts (lists, rows of buttons, form fields)\n * by managing the spacing between children automatically.\n * \n * **Use cases:**\n * - Stacking form inputs vertically with consistent margin.\n * - Placing a row of action buttons side-by-side (direction='row').\n * - Structuring the main content areas of a screen.\n * \n * **Structure:**\n * Utilizes flexbox `flexDirection` to stack items, and the native `gap` property\n * for spacing, eliminating the need for margin hacks on children.\n * \n * **Accessibility:**\n * Provides structural grouping. Like `View`, it doesn't impart semantic meaning\n * on its own.\n */\nconst Stack: React.FC<StackProps> = (rawProps) => {\n const logic = useStackLogic(rawProps);\n const styles = useStackStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </View>\n );\n};\n\nexport default React.memo(Stack);\n","{\"name\":\"BadgeWrapper\",\"description\":\"Wraps an element and places a customizable notification badge in the top right corner.\",\"props\":[{\"name\":\"count\",\"type\":\"number\",\"description\":\"Number to display in badge. If 0, no badge is shown unless showZero is true.\",\"default\":0},{\"name\":\"showZero\",\"type\":\"boolean\",\"description\":\"Show badge even if count is 0\",\"default\":false},{\"name\":\"color\",\"type\":\"string\",\"description\":\"Badge background color\",\"default\":null}]}","import { useMemo, useEffect, useState } from 'react';\nimport BadgeWrapperMeta from './BadgeWrapper.meta.yaml';\n\nexport interface BadgeWrapperProps {\n /** Number to display in badge. If 0, no badge is shown unless showZero is true. */\n count?: number;\n /** Show badge even if count is 0 */\n showZero?: boolean;\n /** Badge background color */\n color?: string;\n [key: string]: any;\n}\n\nexport function useBadgeWrapperLogic(props: BadgeWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BadgeWrapperMeta?.props) {\n BadgeWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { count, showZero, color, ...rest } = merged;\n\n const isVisible = (merged.count ?? 0) > 0 || merged.showZero;\n return { isVisible, count: merged.count, color: merged.color, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useBadgeWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View, Text } from 'react-native';\nimport { useBadgeWrapperLogic, BadgeWrapperProps } from './BadgeWrapper.logic';\nimport { useBadgeWrapperStyle } from './BadgeWrapper.style';\n\n/**\n * @component BadgeWrapper\n * @description Wraps an element and places a customizable notification badge in the top right corner.\n */\nconst BadgeWrapper: React.FC<BadgeWrapperProps> = (rawProps) => {\n const logic = useBadgeWrapperLogic(rawProps);\n const styles = useBadgeWrapperStyle(logic);\n\n return (\n <View style={[{ position: 'relative' } as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n {logic.isVisible && (\n <View style={{\n position: 'absolute', top: -5, right: -5, backgroundColor: logic.color, \n borderRadius: 10, minWidth: 20, height: 20, justifyContent: 'center', alignItems: 'center', paddingHorizontal: 4\n } as any}>\n {logic.count !== undefined && logic.count > 0 && <Text style={{ color: '#FFF', fontSize: 12, fontWeight: 'bold' } as any}>{logic.count > 99 ? '99+' : logic.count}</Text>}\n </View>\n )}\n </View>\n );\n\n};\n\nexport default BadgeWrapper;\n","{\"name\":\"BlurWrapper\",\"description\":\"Wraps children in a frosted glass/blur container.\",\"props\":[{\"name\":\"intensity\",\"type\":\"number\",\"description\":\"Blur intensity (1-100)\",\"default\":50},{\"name\":\"tint\",\"type\":\"string\",\"description\":\"Tint color (light, dark, default)\",\"default\":\"default\"}]}","import { useMemo, useEffect, useState } from 'react';\nimport BlurWrapperMeta from './BlurWrapper.meta.yaml';\n\nexport interface BlurWrapperProps {\n /** Blur intensity (1-100) */\n intensity?: number;\n /** Tint color (light, dark, default) */\n tint?: string;\n [key: string]: any;\n}\n\nexport function useBlurWrapperLogic(props: BlurWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BlurWrapperMeta?.props) {\n BlurWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { intensity, tint, ...rest } = merged;\n\n return { intensity: merged.intensity, tint: merged.tint, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useBlurWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { BlurView } from 'expo-blur';\nimport { useBlurWrapperLogic, BlurWrapperProps } from './BlurWrapper.logic';\nimport { useBlurWrapperStyle } from './BlurWrapper.style';\n\n/**\n * @component BlurWrapper\n * @description Wraps children in a frosted glass/blur container.\n */\nconst BlurWrapper: React.FC<BlurWrapperProps> = (rawProps) => {\n const logic = useBlurWrapperLogic(rawProps);\n const styles = useBlurWrapperStyle(logic);\n\n return (\n <View style={[{ overflow: 'hidden' } as any, logic.rest.style]} {...logic.rest}>\n <BlurView intensity={logic.intensity} tint={logic.tint as any} style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0 } as any} />\n {logic.children}\n </View>\n );\n\n};\n\nexport default BlurWrapper;\n","{\"name\":\"CollapsibleWrapper\",\"description\":\"A container that smoothly expands or collapses its children height.\",\"props\":[{\"name\":\"isExpanded\",\"type\":\"boolean\",\"description\":\"Whether the container is expanded\",\"default\":false}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withTiming } from 'react-native-reanimated';\nimport CollapsibleWrapperMeta from './CollapsibleWrapper.meta.yaml';\n\nexport interface CollapsibleWrapperProps {\n /** Whether the container is expanded */\n isExpanded?: boolean;\n [key: string]: any;\n}\n\nexport function useCollapsibleWrapperLogic(props: CollapsibleWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CollapsibleWrapperMeta?.props) {\n CollapsibleWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { isExpanded, ...rest } = merged;\n\n const [contentHeight, setContentHeight] = useState(0);\n const height = useSharedValue(0);\n \n useEffect(() => {\n height.value = withTiming(merged.isExpanded ? contentHeight : 0, { duration: 300 });\n }, [merged.isExpanded, contentHeight]);\n \n return { height, setContentHeight, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useCollapsibleWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withTiming } from 'react-native-reanimated';\nimport { useCollapsibleWrapperLogic, CollapsibleWrapperProps } from './CollapsibleWrapper.logic';\nimport { useCollapsibleWrapperStyle } from './CollapsibleWrapper.style';\n\n/**\n * @component CollapsibleWrapper\n * @description A container that smoothly expands or collapses its children height.\n */\nconst CollapsibleWrapper: React.FC<CollapsibleWrapperProps> = (rawProps) => {\n const logic = useCollapsibleWrapperLogic(rawProps);\n const styles = useCollapsibleWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ height: logic.height.value }));\n return (\n <Animated.View style={[animatedStyle, { overflow: 'hidden' } as any, logic.rest.style]} {...logic.rest}>\n <View onLayout={(e) => logic.setContentHeight(e.nativeEvent.layout.height)} style={{ position: 'absolute', width: '100%' } as any}>\n {logic.children}\n </View>\n </Animated.View>\n );\n\n};\n\nexport default CollapsibleWrapper;\n","{\"name\":\"FadeInWrapper\",\"description\":\"Animates its children in with a smooth opacity fade on mount.\",\"props\":[{\"name\":\"duration\",\"type\":\"number\",\"description\":\"Animation duration in ms\",\"default\":500},{\"name\":\"delay\",\"type\":\"number\",\"description\":\"Animation delay in ms\",\"default\":0}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withDelay, withTiming } from 'react-native-reanimated';\nimport FadeInWrapperMeta from './FadeInWrapper.meta.yaml';\n\nexport interface FadeInWrapperProps {\n /** Animation duration in ms */\n duration?: number;\n /** Animation delay in ms */\n delay?: number;\n [key: string]: any;\n}\n\nexport function useFadeInWrapperLogic(props: FadeInWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FadeInWrapperMeta?.props) {\n FadeInWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { duration, delay, ...rest } = merged;\n\n const opacity = useSharedValue(0);\n useEffect(() => {\n opacity.value = withDelay(merged.delay || 0, withTiming(1, { duration: merged.duration || 300 }));\n }, []);\n return { opacity, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useFadeInWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport Animated, { useSharedValue, useAnimatedStyle, withTiming, withDelay } from 'react-native-reanimated';\nimport { useFadeInWrapperLogic, FadeInWrapperProps } from './FadeInWrapper.logic';\nimport { useFadeInWrapperStyle } from './FadeInWrapper.style';\n\n/**\n * @component FadeInWrapper\n * @description Animates its children in with a smooth opacity fade on mount.\n */\nconst FadeInWrapper: React.FC<FadeInWrapperProps> = (rawProps) => {\n const logic = useFadeInWrapperLogic(rawProps);\n const styles = useFadeInWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ opacity: logic.opacity.value }));\n return <Animated.View style={[animatedStyle, logic.rest.style]} {...logic.rest}>{logic.children}</Animated.View>;\n\n};\n\nexport default FadeInWrapper;\n","{\"name\":\"KeyboardAvoidWrapper\",\"description\":\"Automatically handles keyboard layout shifting for its wrapped children.\",\"props\":[{\"name\":\"offset\",\"type\":\"number\",\"description\":\"Extra offset above keyboard\",\"default\":20}]}","import { useMemo, useEffect, useState } from 'react';\nimport KeyboardAvoidWrapperMeta from './KeyboardAvoidWrapper.meta.yaml';\n\nexport interface KeyboardAvoidWrapperProps {\n /** Extra offset above keyboard */\n offset?: number;\n [key: string]: any;\n}\n\nexport function useKeyboardAvoidWrapperLogic(props: KeyboardAvoidWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (KeyboardAvoidWrapperMeta?.props) {\n KeyboardAvoidWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { offset, ...rest } = merged;\n\n return { offset: merged.offset, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useKeyboardAvoidWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { KeyboardAvoidingView, Platform } from 'react-native';\nimport { useKeyboardAvoidWrapperLogic, KeyboardAvoidWrapperProps } from './KeyboardAvoidWrapper.logic';\nimport { useKeyboardAvoidWrapperStyle } from './KeyboardAvoidWrapper.style';\n\n/**\n * @component KeyboardAvoidWrapper\n * @description Automatically handles keyboard layout shifting for its wrapped children.\n */\nconst KeyboardAvoidWrapper: React.FC<KeyboardAvoidWrapperProps> = (rawProps) => {\n const logic = useKeyboardAvoidWrapperLogic(rawProps);\n const styles = useKeyboardAvoidWrapperStyle(logic);\n\n return (\n <KeyboardAvoidingView \n behavior={Platform.OS === 'ios' ? 'padding' : 'height'} \n keyboardVerticalOffset={logic.offset}\n style={[{ flex: 1 } as any, logic.rest.style]} \n {...logic.rest}\n >\n {logic.children}\n </KeyboardAvoidingView>\n );\n\n};\n\nexport default KeyboardAvoidWrapper;\n","{\"name\":\"SafeAreaWrapper\",\"description\":\"A convenient wrapper that applies safe area boundaries to specific sections of children.\",\"props\":[{\"name\":\"edges\",\"type\":\"array\",\"description\":\"Edges to apply safe area (top, bottom, left, right)\",\"default\":[\"top\",\"bottom\"]}]}","import { useMemo, useEffect, useState } from 'react';\nimport SafeAreaWrapperMeta from './SafeAreaWrapper.meta.yaml';\n\nexport interface SafeAreaWrapperProps {\n /** Edges to apply safe area (top, bottom, left, right) */\n edges?: string[];\n [key: string]: any;\n}\n\nexport function useSafeAreaWrapperLogic(props: SafeAreaWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SafeAreaWrapperMeta?.props) {\n SafeAreaWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { edges, ...rest } = merged;\n\n return { edges: merged.edges, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useSafeAreaWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { SafeAreaView } from 'react-native-safe-area-context';\nimport { useSafeAreaWrapperLogic, SafeAreaWrapperProps } from './SafeAreaWrapper.logic';\nimport { useSafeAreaWrapperStyle } from './SafeAreaWrapper.style';\n\n/**\n * @component SafeAreaWrapper\n * @description A convenient wrapper that applies safe area boundaries to specific sections of children.\n */\nconst SafeAreaWrapper: React.FC<SafeAreaWrapperProps> = (rawProps) => {\n const logic = useSafeAreaWrapperLogic(rawProps);\n const styles = useSafeAreaWrapperStyle(logic);\n\n return (\n <SafeAreaView edges={logic.edges as any} style={[{ flex: 1 } as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n </SafeAreaView>\n );\n\n};\n\nexport default SafeAreaWrapper;\n","{\"name\":\"ScalePressWrapper\",\"description\":\"Wraps any element and adds a bouncy shrink effect when pressed.\",\"props\":[{\"name\":\"scaleTo\",\"type\":\"number\",\"description\":\"Scale factor when pressed\",\"default\":0.95}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withSpring } from 'react-native-reanimated';\nimport ScalePressWrapperMeta from './ScalePressWrapper.meta.yaml';\n\nexport interface ScalePressWrapperProps {\n /** Scale factor when pressed */\n scaleTo?: number;\n [key: string]: any;\n}\n\nexport function useScalePressWrapperLogic(props: ScalePressWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ScalePressWrapperMeta?.props) {\n ScalePressWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { scaleTo, ...rest } = merged;\n\n const scale = useSharedValue(1);\n const onPressIn = () => { scale.value = withSpring(merged.scaleTo ?? 0.95) as any; };\n const onPressOut = () => { scale.value = withSpring(1) as any; };\n return { scale, onPressIn, onPressOut, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useScalePressWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { Pressable } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withSpring } from 'react-native-reanimated';\nimport { useScalePressWrapperLogic, ScalePressWrapperProps } from './ScalePressWrapper.logic';\nimport { useScalePressWrapperStyle } from './ScalePressWrapper.style';\n\n/**\n * @component ScalePressWrapper\n * @description Wraps any element and adds a bouncy shrink effect when pressed.\n */\nconst ScalePressWrapper: React.FC<ScalePressWrapperProps> = (rawProps) => {\n const logic = useScalePressWrapperLogic(rawProps);\n const styles = useScalePressWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ transform: [{ scale: logic.scale.value }] }));\n return (\n <Pressable onPressIn={logic.onPressIn} onPressOut={logic.onPressOut} style={logic.rest.style} {...logic.rest}>\n <Animated.View style={animatedStyle}>{logic.children}</Animated.View>\n </Pressable>\n );\n\n};\n\nexport default ScalePressWrapper;\n","{\"name\":\"ShimmerWrapper\",\"description\":\"Adds a shiny animated loading shimmer effect over its children.\",\"props\":[{\"name\":\"isLoading\",\"type\":\"boolean\",\"description\":\"Whether to show the shimmer\",\"default\":true}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withRepeat, withSequence, withTiming, Easing } from 'react-native-reanimated';\nimport ShimmerWrapperMeta from './ShimmerWrapper.meta.yaml';\n\nexport interface ShimmerWrapperProps {\n /** Whether to show the shimmer */\n isLoading?: boolean;\n [key: string]: any;\n}\n\nexport function useShimmerWrapperLogic(props: ShimmerWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ShimmerWrapperMeta?.props) {\n ShimmerWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { isLoading, ...rest } = merged;\n\n const opacity = useSharedValue(0.5);\n useEffect(() => {\n if (merged.isLoading) {\n opacity.value = withRepeat(\n withSequence(\n withTiming(1, { duration: 1000, easing: Easing.inOut(Easing.ease) }),\n withTiming(0.5, { duration: 1000, easing: Easing.inOut(Easing.ease) })\n ),\n -1, true\n );\n } else {\n opacity.value = withTiming(1);\n }\n }, [merged.isLoading]);\n return { opacity, isLoading: merged.isLoading, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useShimmerWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withRepeat, withTiming, withSequence, Easing } from 'react-native-reanimated';\nimport { useShimmerWrapperLogic, ShimmerWrapperProps } from './ShimmerWrapper.logic';\nimport { useShimmerWrapperStyle } from './ShimmerWrapper.style';\n\n/**\n * @component ShimmerWrapper\n * @description Adds a shiny animated loading shimmer effect over its children.\n */\nconst ShimmerWrapper: React.FC<ShimmerWrapperProps> = (rawProps) => {\n const logic = useShimmerWrapperLogic(rawProps);\n const styles = useShimmerWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ opacity: logic.opacity.value }));\n return (\n <Animated.View style={[animatedStyle, logic.rest.style]} {...logic.rest}>\n {logic.children}\n {logic.isLoading && <View style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, backgroundColor: 'rgba(255,255,255,0.2)' } as any} />}\n </Animated.View>\n );\n\n};\n\nexport default ShimmerWrapper;\n","import { useState } from 'react';\nimport { LayoutChangeEvent } from 'react-native';\n\n/**\n * Props for the SkeletonWrapper component.\n */\nexport interface SkeletonWrapperProps {\n /** Whether the component is currently loading. If true, shows skeleton. */\n isLoading: boolean;\n /** Children elements to measure and optionally render */\n children: React.ReactNode;\n /** Any other props for the container */\n [key: string]: any;\n}\n\nexport function useSkeletonWrapperLogic(rawProps: SkeletonWrapperProps) {\n const { isLoading, children, ...rest } = rawProps;\n \n // Track layout dimensions to size the skeleton properly\n const [dimensions, setDimensions] = useState({ width: 0, height: 0 });\n const [hasMeasured, setHasMeasured] = useState(false);\n\n const onLayout = (e: LayoutChangeEvent) => {\n // Capture layout for the overlay sizing\n const { width, height } = e.nativeEvent.layout;\n if (width > 0 && height > 0) {\n setDimensions({ width, height });\n setHasMeasured(true);\n }\n };\n\n return {\n isLoading,\n children,\n dimensions,\n hasMeasured,\n onLayout,\n rest\n };\n}\n","export function useSkeletonWrapperStyle(logic: any) {\n return {\n container: {\n position: 'relative',\n alignSelf: 'flex-start', // Fit to children width if possible\n },\n skeletonOverlay: {\n position: 'absolute',\n top: 0,\n left: 0,\n width: logic.dimensions.width,\n height: logic.dimensions.height,\n backgroundColor: '#E1E9EE',\n borderRadius: 8,\n overflow: 'hidden',\n },\n childrenHidden: {\n opacity: 0,\n },\n childrenVisible: {\n opacity: 1,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View } from 'react-native';\nimport Animated, { \n useSharedValue, \n useAnimatedStyle, \n withRepeat, \n withTiming, \n withSequence,\n Easing\n} from 'react-native-reanimated';\nimport { useSkeletonWrapperLogic, SkeletonWrapperProps } from './SkeletonWrapper.logic';\nimport { useSkeletonWrapperStyle } from './SkeletonWrapper.style';\n\n/**\n * @component SkeletonWrapper\n * @description\n * A smart wrapper that renders an animated \"shimmer\" skeleton overlay that matches \n * the exact dimensions of its children when `isLoading` is true.\n * \n * @useCases\n * - Wrapping cards, images, or blocks of text while waiting for data.\n * \n * @structure\n * Renders the children invisibly (opacity: 0) to capture their `onLayout` dimensions.\n * Once measured, an absolute positioned `Animated.View` overlays a shimmering effect.\n * \n * @role wrapper\n */\nconst SkeletonWrapper: React.FC<SkeletonWrapperProps> = (rawProps) => {\n const logic = useSkeletonWrapperLogic(rawProps);\n const styles = useSkeletonWrapperStyle(logic);\n\n const opacity = useSharedValue(0.5);\n\n useEffect(() => {\n if (logic.isLoading) {\n opacity.value = withRepeat(\n withSequence(\n withTiming(1, { duration: 800, easing: Easing.inOut(Easing.ease) }),\n withTiming(0.5, { duration: 800, easing: Easing.inOut(Easing.ease) })\n ),\n -1, // infinite\n true // reverse\n );\n }\n }, [logic.isLoading, opacity]);\n\n const animatedStyle = useAnimatedStyle(() => {\n return {\n opacity: opacity.value,\n };\n });\n\n return (\n <View style={[styles.container as any, logic.rest.style]} onLayout={logic.onLayout} {...logic.rest}>\n <View style={logic.isLoading ? styles.childrenHidden : styles.childrenVisible}>\n {logic.children}\n </View>\n \n {logic.isLoading && logic.hasMeasured && (\n <Animated.View style={[styles.skeletonOverlay as any, animatedStyle]} />\n )}\n </View>\n );\n};\n\nexport default React.memo(SkeletonWrapper);\n","{\"name\":\"SlideUpWrapper\",\"description\":\"Animates its children sliding up from below on mount.\",\"props\":[{\"name\":\"duration\",\"type\":\"number\",\"description\":\"Animation duration in ms\",\"default\":500},{\"name\":\"delay\",\"type\":\"number\",\"description\":\"Animation delay in ms\",\"default\":0},{\"name\":\"distance\",\"type\":\"number\",\"description\":\"Distance to slide from in pixels\",\"default\":50}]}","import { useMemo, useEffect, useState } from 'react';\nimport { useSharedValue, withDelay, withTiming, Easing } from 'react-native-reanimated';\nimport SlideUpWrapperMeta from './SlideUpWrapper.meta.yaml';\n\nexport interface SlideUpWrapperProps {\n /** Animation duration in ms */\n duration?: number;\n /** Animation delay in ms */\n delay?: number;\n /** Distance to slide from in pixels */\n distance?: number;\n [key: string]: any;\n}\n\nexport function useSlideUpWrapperLogic(props: SlideUpWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SlideUpWrapperMeta?.props) {\n SlideUpWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { duration, delay, distance, ...rest } = merged;\n\n const translateY = useSharedValue(merged.distance ?? 50);\n const opacity = useSharedValue(0);\n useEffect(() => {\n translateY.value = withDelay(merged.delay ?? 0, withTiming(0, { duration: merged.duration ?? 300, easing: Easing.out(Easing.back(1.5)) }));\n opacity.value = withDelay(merged.delay ?? 0, withTiming(1, { duration: merged.duration ?? 300 }));\n }, []);\n return { translateY, opacity, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useSlideUpWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport Animated, { useSharedValue, useAnimatedStyle, withTiming, withDelay, Easing } from 'react-native-reanimated';\nimport { useSlideUpWrapperLogic, SlideUpWrapperProps } from './SlideUpWrapper.logic';\nimport { useSlideUpWrapperStyle } from './SlideUpWrapper.style';\n\n/**\n * @component SlideUpWrapper\n * @description Animates its children sliding up from below on mount.\n */\nconst SlideUpWrapper: React.FC<SlideUpWrapperProps> = (rawProps) => {\n const logic = useSlideUpWrapperLogic(rawProps);\n const styles = useSlideUpWrapperStyle(logic);\n\n const animatedStyle = useAnimatedStyle(() => ({ \n transform: [{ translateY: logic.translateY.value }],\n opacity: logic.opacity.value \n }));\n return <Animated.View style={[animatedStyle, logic.rest.style]} {...logic.rest}>{logic.children}</Animated.View>;\n\n};\n\nexport default SlideUpWrapper;\n","{\"name\":\"TooltipWrapper\",\"description\":\"Wraps a component and displays a tooltip bubble near it.\",\"props\":[{\"name\":\"text\",\"type\":\"string\",\"description\":\"Tooltip text\",\"default\":null},{\"name\":\"isVisible\",\"type\":\"boolean\",\"description\":\"Whether tooltip is visible\",\"default\":false}]}","import { useMemo, useEffect, useState } from 'react';\nimport TooltipWrapperMeta from './TooltipWrapper.meta.yaml';\n\nexport interface TooltipWrapperProps {\n /** Tooltip text */\n text?: string;\n /** Whether tooltip is visible */\n isVisible?: boolean;\n [key: string]: any;\n}\n\nexport function useTooltipWrapperLogic(props: TooltipWrapperProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TooltipWrapperMeta?.props) {\n TooltipWrapperMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { text, isVisible, ...rest } = merged;\n\n return { text: merged.text, isVisible: merged.isVisible, rest, children: merged.children };\n\n}\n","import { useMemo } from 'react';\n\nexport function useTooltipWrapperStyle(logic: any) {\n return useMemo(() => ({}), [logic]);\n}\n","import React from 'react';\nimport { View, Text } from 'react-native';\nimport Animated, { FadeIn, FadeOut } from 'react-native-reanimated';\nimport { useTooltipWrapperLogic, TooltipWrapperProps } from './TooltipWrapper.logic';\nimport { useTooltipWrapperStyle } from './TooltipWrapper.style';\n\n/**\n * @component TooltipWrapper\n * @description Wraps a component and displays a tooltip bubble near it.\n */\nconst TooltipWrapper: React.FC<TooltipWrapperProps> = (rawProps) => {\n const logic = useTooltipWrapperLogic(rawProps);\n const styles = useTooltipWrapperStyle(logic);\n\n return (\n <View style={[{ position: 'relative' } as any, logic.rest.style]} {...logic.rest}>\n {logic.children}\n {logic.isVisible && (\n <Animated.View \n entering={FadeIn} exiting={FadeOut}\n style={{\n position: 'absolute', top: -35, alignSelf: 'center', backgroundColor: '#333', \n paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4, zIndex: 999\n } as any}\n >\n <Text style={{ color: '#FFF', fontSize: 12 } as any}>{logic.text}</Text>\n </Animated.View>\n )}\n </View>\n );\n\n};\n\nexport default TooltipWrapper;\n","{\"type\":\"component\",\"id\":\"Accordion\",\"label\":\"Accordion\",\"description\":\"Expandable/collapsible content section.\",\"category\":\"display\",\"tags\":[\"accordion\",\"collapse\",\"expand\",\"faq\"],\"themeMapping\":{\"bg\":\"card\",\"text\":\"foreground\",\"border\":\"border\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"title\",\"label\":\"Title\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Section\"},{\"name\":\"defaultOpen\",\"label\":\"Default open\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"lg\"},{\"name\":\"borderColor\",\"label\":\"Border color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"}]}","import React, { useState, useCallback, useMemo } from 'react';\nimport AccordionMeta from './Accordion.meta.yaml';\n\n/**\n * Properties for the Accordion component.\n */\nexport interface AccordionProps {\n /** The text displayed in the header of the accordion. */\n title?: string;\n /** Whether the accordion should be open by default on initial mount. */\n defaultOpen?: boolean;\n /** Background color of the accordion container. */\n background?: string;\n /** Border radius of the accordion container. Can be a theme token size (e.g. 'sm') or a number. */\n borderRadius?: string | number;\n /** Border color of the accordion container. */\n borderColor?: string;\n /** The content to be revealed when the accordion is expanded. */\n children?: React.ReactNode;\n /** Callback fired when the accordion's open state changes. */\n onToggle?: (isOpen: boolean) => void;\n /** Any other props to pass down to the container element. */\n [key: string]: any;\n}\n\nexport function useAccordionLogic(props: AccordionProps) {\n // Extract defaults safely from meta\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (AccordionMeta && Array.isArray(AccordionMeta.props)) {\n AccordionMeta.props.forEach((p: any) => {\n if (p.default !== undefined) {\n defaults[p.name] = p.default;\n }\n });\n }\n return defaults;\n }, []);\n\n const mergedProps = { ...metaDefaults, ...props };\n const { \n title, \n defaultOpen, \n background, \n borderRadius, \n borderColor, \n children,\n onToggle,\n ...rest \n } = mergedProps;\n\n const [isOpen, setIsOpen] = useState(!!defaultOpen);\n\n const handleToggle = useCallback(() => {\n setIsOpen((prev) => {\n const next = !prev;\n onToggle?.(next);\n return next;\n });\n }, [onToggle]);\n\n return {\n isOpen,\n handleToggle,\n title,\n background,\n borderRadius,\n borderColor,\n children,\n rest\n };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useAccordionStyle(logic: any) {\n const { theme } = useTheme();\n\n // Fallbacks in case theme isn't fully defined yet\n const colors = theme || {};\n const bgColor = logic.background || colors.card || '#ffffff';\n const borderColor = logic.borderColor || colors.border || '#e5e7eb';\n const textColor = colors.foreground || '#111827';\n\n // Basic token mapping\n const radiusMap: Record<string, number> = {\n sm: 4,\n md: 6,\n lg: 8,\n xl: 12\n };\n const parsedRadius = typeof logic.borderRadius === 'string'\n ? (radiusMap[logic.borderRadius] || 8)\n : (logic.borderRadius || 8);\n\n return {\n container: {\n backgroundColor: bgColor,\n borderColor: borderColor,\n borderWidth: 1,\n borderRadius: parsedRadius,\n // Structural choice: overflow hidden ensures content doesn't bleed out of the rounded corners\n overflow: 'hidden',\n marginBottom: 8,\n },\n header: {\n padding: 16,\n backgroundColor: 'transparent',\n },\n headerWeb: {\n // Structural choices for web: Using flex to align text and icon, removing default button styles\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: '16px',\n backgroundColor: 'transparent',\n cursor: 'pointer',\n userSelect: 'none',\n border: 'none',\n width: '100%',\n textAlign: 'left',\n },\n headerNative: {\n // Structural choices for native: flex-row ensures the title and icon are on the same line,\n // space-between pushes the icon to the far right.\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: 16,\n backgroundColor: 'transparent',\n },\n title: {\n fontSize: 16,\n fontWeight: '600',\n color: textColor,\n margin: 0,\n },\n icon: {\n color: textColor,\n },\n content: {\n // Structural choice: Padding top is 0 to avoid double padding with the header,\n // creating a seamless transition from header to content.\n padding: 16,\n paddingTop: 0,\n color: textColor,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useAccordionLogic, AccordionProps } from './Accordion.logic';\nimport { useAccordionStyle } from './Accordion.style';\nimport { ChevronDown } from 'lucide-react-native';\nimport Animated, { \n useSharedValue, \n useAnimatedStyle, \n withTiming, \n Easing,\n FadeIn,\n FadeOut,\n LinearTransition \n} from 'react-native-reanimated';\n\n/**\n * `Accordion` is a vertically collapsing content panel that can show or hide its children.\n * \n * **Role:**\n * Allows users to toggle the visibility of sections of content, useful for reducing visual\n * clutter in settings menus, FAQs, or detailed forms.\n * \n * **Use cases:**\n * - FAQ lists where answers are hidden until expanded.\n * - Collapsible navigation menus.\n * - Grouping optional advanced settings.\n * \n * **Structure:**\n * Uses `react-native-reanimated` for smooth layout transitions and icon rotation.\n * Consists of a pressable header and an optionally rendered body.\n * \n * **Accessibility:**\n * The header acts as a button (`accessibilityRole=\"button\"`) and explicitly communicates\n * its expanded state (`accessibilityState={{ expanded: logic.isOpen }}`). \n */\nconst Accordion: React.FC<AccordionProps> = (rawProps) => {\n const logic = useAccordionLogic(rawProps);\n const styles = useAccordionStyle(logic);\n \n const rotation = useSharedValue(logic.isOpen ? 180 : 0);\n\n useEffect(() => {\n rotation.value = withTiming(logic.isOpen ? 180 : 0, {\n duration: 250,\n easing: Easing.inOut(Easing.quad),\n });\n }, [logic.isOpen, rotation]);\n\n const animatedIconStyle = useAnimatedStyle(() => {\n return {\n transform: [{ rotate: `${rotation.value}deg` }],\n };\n });\n\n return (\n <Animated.View \n style={[styles.container as any, rawProps.style]} \n layout={LinearTransition.springify().damping(15).stiffness(150)}\n >\n <Pressable\n style={styles.headerNative as any}\n onPress={logic.handleToggle}\n accessibilityRole=\"button\"\n accessibilityState={{ expanded: logic.isOpen }}\n accessibilityLabel={logic.title}\n >\n <Text style={styles.title as any}>{logic.title}</Text>\n <Animated.View style={animatedIconStyle}>\n <ChevronDown size={20} color={styles.icon.color as string} />\n </Animated.View>\n </Pressable>\n \n {logic.isOpen && (\n <Animated.View \n entering={FadeIn.duration(250)}\n exiting={FadeOut.duration(250)}\n style={styles.content as any}\n >\n {logic.children}\n </Animated.View>\n )}\n </Animated.View>\n );\n};\n\nexport default React.memo(Accordion);\n","import { useAudioPlayer } from 'expo-audio';\nimport { useEffect } from 'react';\n\n/**\n * Props for the Audio component.\n */\nexport interface AudioProps {\n /** The source URI of the audio file */\n source: string;\n /** Whether the audio should auto-play */\n autoPlay?: boolean;\n /** Any other props for the container */\n [key: string]: any;\n}\n\nexport function useAudioLogic(rawProps: AudioProps) {\n const { source, autoPlay = false, ...rest } = rawProps;\n \n const player = useAudioPlayer(source);\n\n useEffect(() => {\n if (autoPlay && player) {\n player.play();\n }\n }, [autoPlay, player]);\n\n const togglePlayPause = () => {\n if (!player) return;\n if (player.playing) {\n player.pause();\n } else {\n player.play();\n }\n };\n\n return {\n isPlaying: player ? player.playing : false,\n position: player ? player.currentTime * 1000 : 0,\n duration: player ? player.duration * 1000 : 1,\n togglePlayPause,\n rest\n };\n}\n\n\n","export function useAudioStyle(logic: any) {\n return {\n container: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n padding: 12,\n backgroundColor: 'rgba(0,0,0,0.05)',\n borderRadius: 12,\n width: '100%',\n },\n button: {\n width: 40,\n height: 40,\n borderRadius: 20,\n backgroundColor: '#007AFF',\n justifyContent: 'center',\n alignItems: 'center',\n marginRight: 12,\n },\n buttonText: {\n color: 'white',\n fontWeight: 'bold',\n fontSize: 14,\n },\n progressContainer: {\n flex: 1,\n height: 4,\n backgroundColor: 'rgba(0,0,0,0.1)',\n borderRadius: 2,\n overflow: 'hidden',\n },\n progressBar: {\n height: '100%',\n backgroundColor: '#007AFF',\n }\n };\n}\n","import React from 'react';\nimport { View, Pressable, Text } from 'react-native';\nimport { useAudioLogic, AudioProps } from './Audio.logic';\nimport { useAudioStyle } from './Audio.style';\n\n/**\n * @component Audio\n * @description\n * Base UI component for playing audio files. Uses `expo-av` under the hood to manage\n * the Audio.Sound instance safely.\n * \n * @useCases\n * - Podcast or music mini-player.\n * - Voice note playback.\n * \n * @structure\n * Renders a circular Play/Pause button next to a progress bar that advances \n * automatically based on the playback state.\n * \n * @accessibility\n * The play/pause button is accessible via a Pressable, though aria-labels should be passed\n * if screen-reader support is strictly required for the playback state.\n */\nconst Audio: React.FC<AudioProps> = (rawProps) => {\n const logic = useAudioLogic(rawProps);\n const styles = useAudioStyle(logic);\n\n const progressPercentage = logic.duration > 0 ? (logic.position / logic.duration) * 100 : 0;\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <Pressable \n style={styles.button as any} \n onPress={logic.togglePlayPause}\n accessibilityRole=\"button\"\n accessibilityLabel={logic.isPlaying ? \"Pause audio\" : \"Play audio\"}\n >\n <Text style={styles.buttonText as any}>\n {logic.isPlaying ? '||' : '>'}\n </Text>\n </Pressable>\n <View style={styles.progressContainer as any}>\n <View style={[styles.progressBar as any, { width: `${progressPercentage}%` }]} />\n </View>\n </View>\n );\n};\n\nexport default React.memo(Audio);\n","{\"type\":\"component\",\"id\":\"Avatar\",\"label\":\"Avatar\",\"description\":\"User avatar with image, initials, or icon fallback.\",\"category\":\"display\",\"tags\":[\"avatar\",\"user\",\"profile\",\"image\"],\"themeMapping\":{\"bg\":\"muted\",\"text\":\"mutedForeground\"},\"variants\":[{\"name\":\"circle\",\"label\":\"Circle\",\"overrides\":{\"borderRadius\":\"full\"}},{\"name\":\"square\",\"label\":\"Square\",\"overrides\":{\"borderRadius\":\"md\"}}],\"sizes\":[\"xs\",\"sm\",\"md\",\"lg\",\"xl\"],\"sizeMap\":{\"xs\":{\"height\":24,\"width\":24,\"fontSize\":10},\"sm\":{\"height\":32,\"width\":32,\"fontSize\":12},\"md\":{\"height\":40,\"width\":40,\"fontSize\":14},\"lg\":{\"height\":56,\"width\":56,\"fontSize\":18},\"xl\":{\"height\":72,\"width\":72,\"fontSize\":24}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Shape\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"circle\",\"options\":[\"circle\",\"square\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"xs\",\"sm\",\"md\",\"lg\",\"xl\"]},{\"name\":\"source\",\"label\":\"Image source\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"initials\",\"label\":\"Initials\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"}]}","import React, { useMemo } from 'react';\nimport AvatarMeta from './Avatar.meta.yaml';\n\n/**\n * Properties for the Avatar component.\n */\nexport interface AvatarProps {\n /** The URL of the image to display. If omitted, initials will be shown. */\n src?: string;\n /** Explicit initials to display. Overrides derived initials from the alt prop. */\n initials?: string;\n /** The size variant of the avatar. Dictates width, height, and font size. Defaults to 'md'. */\n size?: 'sm' | 'md' | 'lg' | 'xl';\n /** Alternative text for screen readers. Also used to derive initials if `initials` is not provided. */\n alt?: string;\n /** Any other props (including style) to spread onto the root element. */\n [key: string]: any;\n}\n\nexport function useAvatarLogic(props: AvatarProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (AvatarMeta?.props) {\n AvatarMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { src, initials, size = 'md', alt, ...rest } = merged;\n\n // Derive initials if not provided but alt is\n const displayInitials = initials || (alt ? alt.substring(0, 2).toUpperCase() : '');\n\n return { src, initials: displayInitials, size, alt, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useAvatarStyle(logic: any) {\n const { theme } = useTheme();\n \n const sizeMap: Record<string, number> = { sm: 24, md: 40, lg: 56, xl: 80 };\n const dim = sizeMap[logic.size] || sizeMap.md;\n\n return {\n container: {\n width: dim,\n height: dim,\n // Structural choice: Setting borderRadius to half the dimension ensures a perfect circle\n borderRadius: dim / 2,\n backgroundColor: theme?.muted || '#f3f4f6',\n // Structural choice: Center content (like text initials) vertically and horizontally\n justifyContent: 'center',\n alignItems: 'center',\n // Structural choice: Clip child images so they conform to the circular shape\n overflow: 'hidden',\n },\n image: {\n // Structural choice: Fill the container completely\n width: '100%',\n height: '100%',\n },\n initials: {\n // Structural choice: Scale font size proportionally to the avatar container size\n fontSize: dim * 0.4,\n fontWeight: '600',\n color: theme?.mutedForeground || '#6b7280',\n }\n };\n}\n","import React from 'react';\nimport { View, Text, Image } from 'react-native';\nimport { useAvatarLogic, AvatarProps } from './Avatar.logic';\nimport { useAvatarStyle } from './Avatar.style';\n\n/**\n * `Avatar` is a component used to visually represent a user or entity.\n * \n * **Role:**\n * Displays a profile picture, or falls back to displaying initials if the \n * image source is not provided or fails to load.\n * \n * **Use cases:**\n * - User profiles and settings pages.\n * - Lists of users (e.g., chat contacts, list of authors).\n * - Identifying the current logged-in user in an app bar.\n * \n * **Structure:**\n * A container `View` that clips its children to a perfect circle. It renders\n * an `Image` if a `src` is provided, otherwise it renders a `Text` component\n * containing derived or explicitly provided initials.\n * \n * **Accessibility:**\n * If an image is provided, the `alt` text is passed as an `accessibilityLabel`\n * to ensure screen readers can announce the image content. If initials are used,\n * they are read by default, but consider wrapping the Avatar in an accessible\n * element if it conveys interactive meaning.\n */\nconst Avatar: React.FC<AvatarProps> = (rawProps) => {\n const logic = useAvatarLogic(rawProps);\n const styles = useAvatarStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.src ? (\n <Image source={{ uri: logic.src }} style={styles.image as any} accessibilityLabel={logic.alt} />\n ) : (\n <Text style={styles.initials as any}>{logic.initials}</Text>\n )}\n </View>\n );\n};\n\nexport default React.memo(Avatar);\n","{\"name\":\"AvatarPicker\",\"description\":\"Allows users to select an avatar from a list of predefined options or upload one.\",\"tags\":[\"base\",\"input\",\"picker\",\"avatar\"],\"props\":[]}","import { useMemo, useCallback } from 'react';\nimport { ViewStyle, StyleProp } from 'react-native';\nimport * as ImagePicker from 'expo-image-picker';\nimport AvatarPickerMeta from './AvatarPicker.meta.yaml';\n\n/**\n * Properties for the AvatarPicker component.\n */\nexport interface AvatarPickerProps {\n /** \n * Callback fired when an avatar is selected or uploaded.\n * @param uri The URI of the selected image.\n */\n onChange?: (uri: string) => void;\n /** \n * Currently selected avatar URI.\n */\n value?: string;\n /**\n * Additional style to apply to the container.\n */\n style?: StyleProp<ViewStyle>;\n /**\n * Any other properties to pass to the container view.\n */\n [key: string]: any;\n}\n\n/**\n * Custom hook to handle the logic for the AvatarPicker component.\n * @param props The properties passed to the AvatarPicker component.\n * @returns An object containing the processed logic and state for the component.\n */\nexport function useAvatarPickerLogic(props: AvatarPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (AvatarPickerMeta?.props) {\n AvatarPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props } as AvatarPickerProps;\n const { onChange, value, ...rest } = merged;\n\n const defaultAvatars = useMemo(() => [\n 'https://i.pravatar.cc/150?img=11',\n 'https://i.pravatar.cc/150?img=32',\n 'https://i.pravatar.cc/150?img=33',\n 'https://i.pravatar.cc/150?img=44',\n 'https://i.pravatar.cc/150?img=47',\n 'https://i.pravatar.cc/150?img=68',\n ], []);\n\n const pickImage = useCallback(async () => {\n const permissionResult = await ImagePicker.requestMediaLibraryPermissionsAsync();\n \n if (permissionResult.granted === false) {\n alert('Permission to access camera roll is required!');\n return;\n }\n\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ['images'],\n allowsEditing: true,\n aspect: [1, 1],\n quality: 0.9,\n });\n\n if (!result.canceled && result.assets && result.assets.length > 0) {\n if (onChange) {\n onChange(result.assets[0].uri);\n }\n }\n }, [onChange]);\n\n const selectAvatar = useCallback((uri: string) => {\n if (onChange) {\n onChange(uri);\n }\n }, [onChange]);\n\n return { value, pickImage, selectAvatar, defaultAvatars, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\n\n/**\n * Custom hook to generate the styles for the AvatarPicker component.\n * @param logic The logic state from useAvatarPickerLogic.\n * @returns A StyleSheet object containing the component styles.\n */\nexport function useAvatarPickerStyle(logic: any) {\n return useMemo(() => StyleSheet.create({\n container: {\n padding: 24,\n backgroundColor: 'rgba(255, 255, 255, 0.95)',\n borderRadius: 24,\n width: '100%',\n maxWidth: 400,\n alignSelf: 'center',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.1,\n shadowRadius: 16,\n elevation: 6,\n borderWidth: 1,\n borderColor: 'rgba(0, 0, 0, 0.05)',\n },\n header: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n marginBottom: 20,\n },\n title: {\n fontSize: 20,\n fontWeight: '700',\n color: '#1C1C1E',\n letterSpacing: 0.3,\n },\n uploadBtn: {\n paddingVertical: 10,\n paddingHorizontal: 16,\n backgroundColor: '#EBF4FF',\n borderRadius: 12,\n flexDirection: 'row',\n alignItems: 'center',\n },\n uploadBtnText: {\n color: '#007AFF',\n fontWeight: '600',\n fontSize: 14,\n },\n previewContainer: {\n alignItems: 'center',\n marginBottom: 24,\n },\n mainAvatar: {\n width: 120,\n height: 120,\n borderRadius: 60,\n borderWidth: 4,\n borderColor: '#FFFFFF',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 6 },\n shadowOpacity: 0.15,\n shadowRadius: 12,\n },\n mainAvatarPlaceholder: {\n width: 120,\n height: 120,\n borderRadius: 60,\n backgroundColor: '#F2F2F7',\n borderWidth: 4,\n borderColor: '#FFFFFF',\n justifyContent: 'center',\n alignItems: 'center',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 6 },\n shadowOpacity: 0.15,\n shadowRadius: 12,\n },\n placeholderText: {\n color: '#8E8E93',\n fontSize: 16,\n fontWeight: '500',\n },\n sectionTitle: {\n fontSize: 15,\n fontWeight: '600',\n color: '#3A3A3C',\n marginBottom: 12,\n },\n grid: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: 12,\n justifyContent: 'center',\n },\n avatarBtn: {\n width: 64,\n height: 64,\n borderRadius: 32,\n padding: 2,\n borderWidth: 2,\n borderColor: 'transparent',\n },\n avatarBtnSelected: {\n borderColor: '#007AFF',\n backgroundColor: '#FFFFFF',\n shadowColor: '#007AFF',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.3,\n shadowRadius: 8,\n elevation: 4,\n },\n avatarImg: {\n width: '100%',\n height: '100%',\n borderRadius: 30,\n }\n }), [logic]);\n}\n","import React from 'react';\nimport { View, Text, Pressable, Image } from 'react-native';\nimport { useAvatarPickerLogic, AvatarPickerProps } from './AvatarPicker.logic';\nimport { useAvatarPickerStyle } from './AvatarPicker.style';\n\n/**\n * @component AvatarPicker\n * @description A robust and beautiful avatar picker component. \n * Supports predefined avatars and an intuitive image selection and cropping interface using expo-image-picker.\n * \n * @example\n * <AvatarPicker \n * value={selectedUri} \n * onChange={(uri) => setSelectedUri(uri)} \n * />\n */\nconst AvatarPicker: React.FC<AvatarPickerProps> = (rawProps) => {\n const logic = useAvatarPickerLogic(rawProps);\n const styles = useAvatarPickerStyle(logic);\n\n return (\n <View style={[styles.container, logic.rest.style]} {...logic.rest}>\n <View style={styles.header}>\n <Text style={styles.title}>Profile Picture</Text>\n <Pressable \n onPress={logic.pickImage} \n style={({ pressed }) => [\n styles.uploadBtn,\n { opacity: pressed ? 0.7 : 1 }\n ]}\n >\n <Text style={styles.uploadBtnText}>Upload</Text>\n </Pressable>\n </View>\n \n <View style={styles.previewContainer}>\n {logic.value ? (\n <Image source={{ uri: logic.value }} style={styles.mainAvatar as any} />\n ) : (\n <View style={styles.mainAvatarPlaceholder}>\n <Text style={styles.placeholderText}>No Avatar</Text>\n </View>\n )}\n </View>\n \n <Text style={styles.sectionTitle}>Or choose a default</Text>\n <View style={styles.grid}>\n {logic.defaultAvatars.map((uri: string) => (\n <Pressable \n key={uri} \n onPress={() => logic.selectAvatar(uri)} \n style={({ pressed }) => [\n styles.avatarBtn, \n logic.value === uri && styles.avatarBtnSelected,\n { transform: [{ scale: pressed ? 0.95 : 1 }] }\n ]}\n >\n <Image source={{ uri }} style={styles.avatarImg as any} />\n </Pressable>\n ))}\n </View>\n </View>\n );\n};\n\nexport default AvatarPicker;\n","{\"type\":\"component\",\"id\":\"Badge\",\"label\":\"Badge\",\"description\":\"Small status indicator or label.\",\"category\":\"display\",\"tags\":[\"badge\",\"tag\",\"label\",\"status\"],\"themeMapping\":{\"bg\":\"primary\",\"text\":\"primaryForeground\"},\"variants\":[{\"name\":\"solid\",\"label\":\"Solid\",\"overrides\":{}},{\"name\":\"outline\",\"label\":\"Outline\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":1}},{\"name\":\"subtle\",\"label\":\"Subtle\",\"overrides\":{}}],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{\"primary\":{\"solid\":[\"primary\",\"primaryForeground\"],\"subtle\":[\"primary\",\"primaryForeground\"]},\"secondary\":{\"solid\":[\"secondary\",\"secondaryForeground\"],\"subtle\":[\"secondary\",\"secondaryForeground\"]},\"success\":{\"solid\":[\"success\",\"#fff\"],\"subtle\":[\"#dcfce7\",\"#166534\"]},\"warning\":{\"solid\":[\"warning\",\"#fff\"],\"subtle\":[\"#fef3c7\",\"#92400e\"]},\"error\":{\"solid\":[\"error\",\"#fff\"],\"subtle\":[\"#fee2e2\",\"#991b1b\"]},\"info\":{\"solid\":[\"info\",\"#fff\"],\"subtle\":[\"#e0f2fe\",\"#0369a1\"]}},\"props\":[{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"solid\",\"options\":[\"solid\",\"outline\",\"subtle\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"color\",\"label\":\"Color scheme\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"primary\",\"options\":[\"primary\",\"secondary\",\"success\",\"warning\",\"error\",\"info\"]},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"full\"}]}","import React, { useMemo } from 'react';\nimport BadgeMeta from './Badge.meta.yaml';\n\n/**\n * Properties for the Badge component.\n */\nexport interface BadgeProps {\n /** The text content to display inside the badge. */\n label: string;\n /** The visual style variant of the badge, mapped to theme colors. Defaults to 'default'. */\n variant?: 'default' | 'destructive' | 'outline' | 'secondary';\n /** Any other props to spread onto the container element. */\n [key: string]: any;\n}\n\nexport function useBadgeLogic(props: BadgeProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BadgeMeta?.props) {\n BadgeMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { label, variant = 'default', ...rest } = merged;\n\n return { label, variant, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useBadgeStyle(logic: any) {\n const { theme } = useTheme();\n \n let bgColor = theme?.primary || '#000000';\n let textColor = theme?.primaryForeground || '#ffffff';\n let borderColor = 'transparent';\n let borderWidth = 0;\n\n if (logic.variant === 'destructive') {\n bgColor = theme?.destructive || '#ff0000';\n textColor = theme?.destructiveForeground || '#ffffff';\n } else if (logic.variant === 'outline') {\n bgColor = 'transparent';\n textColor = theme?.foreground || '#000000';\n borderColor = theme?.border || '#e5e7eb';\n borderWidth = 1;\n } else if (logic.variant === 'secondary') {\n bgColor = theme?.secondary || '#f3f4f6';\n textColor = theme?.secondaryForeground || '#111827';\n }\n\n return {\n container: {\n backgroundColor: bgColor,\n borderColor: borderColor,\n borderWidth: borderWidth,\n // Structural choice: 9999 for borderRadius creates a pill shape regardless of height\n borderRadius: 9999,\n // Structural choice: Horizontal padding is larger than vertical to maintain the pill aesthetic\n paddingHorizontal: 10,\n paddingVertical: 2,\n // Structural choice: Center the label text perfectly within the pill\n alignItems: 'center',\n justifyContent: 'center',\n },\n label: {\n color: textColor,\n fontSize: 12,\n fontWeight: '600',\n }\n };\n}\n","import React from 'react';\nimport { View, Text } from 'react-native';\nimport { useBadgeLogic, BadgeProps } from './Badge.logic';\nimport { useBadgeStyle } from './Badge.style';\n\n/**\n * `Badge` is a small visual indicator used to highlight status, counts, or categories.\n * \n * **Role:**\n * Draws attention to metadata, state changes (like \"New\" or \"Error\"), or \n * categorization tags.\n * \n * **Use cases:**\n * - Displaying unread message counts on an icon.\n * - Tagging items with categories (e.g., \"Music\", \"Video\").\n * - Showing status indicators (e.g., \"Active\", \"Pending\", \"Deleted\").\n * \n * **Structure:**\n * A simple container `View` with a rounded pill shape, wrapping a highly legible `Text` label.\n * It uses variants to map to specific theme colors (default, destructive, etc.).\n * \n * **Accessibility:**\n * Rendered as text. If the badge provides context to another element (like a notification icon),\n * ensure the parent element has an `accessibilityLabel` that includes the badge's information.\n */\nconst Badge: React.FC<BadgeProps> = (rawProps) => {\n const logic = useBadgeLogic(rawProps);\n const styles = useBadgeStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <Text style={styles.label as any}>{logic.label}</Text>\n </View>\n );\n};\n\nexport default React.memo(Badge);\n","{\"type\":\"component\",\"id\":\"BlurView\",\"label\":\"Blur View\",\"description\":\"Blurred background overlay container.\",\"category\":\"display\",\"tags\":[\"blur\",\"glass\",\"frosted\",\"overlay\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"intensity\",\"label\":\"Intensity\",\"type\":\"number\",\"group\":\"style\",\"default\":50},{\"name\":\"tint\",\"label\":\"Tint\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"default\",\"options\":[\"default\",\"light\",\"dark\"]},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"}]}","import { useMemo } from 'react';\nimport BlurViewMeta from './BlurView.meta.yaml';\n\n/**\n * Properties for the BlurView component.\n */\nexport interface BlurViewProps {\n /**\n * A number from 1 to 100 to control the intensity of the blur effect.\n * Higher values mean more blur.\n * @default 50\n */\n intensity?: number;\n /**\n * The tint color of the blur effect.\n * Can be 'light', 'dark', or 'default'.\n * @default 'default'\n */\n tint?: 'light' | 'dark' | 'default';\n /**\n * The content to render inside the blurred container.\n */\n children?: React.ReactNode;\n /**\n * Additional properties to pass down to the container.\n */\n [key: string]: any;\n}\n\nexport function useBlurViewLogic(props: BlurViewProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BlurViewMeta?.props) {\n BlurViewMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { intensity = 50, tint = 'default', children, ...rest } = merged;\n\n return { intensity, tint, children, rest };\n}\n","\nexport function useBlurViewStyle(logic: any) {\n return {\n container: {\n // Use flex: 1 to ensure the BlurView fills its parent container by default.\n // This is typical for background blur overlays.\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useBlurViewLogic, BlurViewProps } from './BlurView.logic';\nimport { useBlurViewStyle } from './BlurView.style';\n// Using expo-blur\nimport { BlurView as ExpoBlurView } from 'expo-blur';\n\n/**\n * A BlurView component that provides a blurred background effect.\n * \n * @description\n * This component is used to create visual depth and hierarchy by applying a blur effect\n * over the underlying content. It wraps `expo-blur` to provide a consistent API and styling.\n * \n * @useCases\n * - Creating modals or overlays where the background content should remain visible but out of focus.\n * - Building floating navigation bars or toolbars with a frosted glass effect.\n * - Emphasizing foreground elements without completely obscuring the background context.\n * \n * @structure\n * - `ExpoBlurView`: The underlying component from `expo-blur` that applies the effect.\n * - Renders children inside the blurred container.\n * \n * @accessibility\n * - Consider contrast and legibility when placing text or interactive elements over a blur.\n * - Ensure the blur does not interfere with the accessibility tree; it is primarily a visual effect.\n */\nconst BlurView: React.FC<BlurViewProps> = (rawProps) => {\n const logic = useBlurViewLogic(rawProps);\n const styles = useBlurViewStyle(logic);\n\n return (\n <ExpoBlurView\n intensity={logic.intensity}\n tint={logic.tint as any}\n style={[styles.container as any, logic.rest.style]}\n >\n {logic.children}\n </ExpoBlurView>\n );\n};\n\nexport default BlurView;\n","{\"type\":\"component\",\"id\":\"Button\",\"label\":\"Button\",\"description\":\"Pressable button with variant and size support.\",\"category\":\"action\",\"tags\":[\"button\",\"cta\",\"action\",\"pressable\"],\"themeMapping\":{\"bg\":\"primary\",\"text\":\"primaryForeground\"},\"variants\":[{\"name\":\"primary\",\"label\":\"Primary\",\"overrides\":{\"borderWidth\":0}},{\"name\":\"secondary\",\"label\":\"Secondary\",\"overrides\":{\"borderWidth\":0}},{\"name\":\"outline\",\"label\":\"Outline\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":1}},{\"name\":\"ghost\",\"label\":\"Ghost\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":0}},{\"name\":\"destructive\",\"label\":\"Destructive\",\"overrides\":{\"borderWidth\":0}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"px\":3,\"fontSize\":13},\"md\":{\"height\":40,\"px\":4,\"fontSize\":15},\"lg\":{\"height\":48,\"px\":5,\"fontSize\":17}},\"colorMap\":{},\"props\":[{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Button\"},{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"primary\",\"options\":[\"primary\",\"secondary\",\"outline\",\"ghost\",\"destructive\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"loading\",\"label\":\"Loading\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"fullWidth\",\"label\":\"Full width\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"},{\"name\":\"iconPosition\",\"label\":\"Icon position\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"left\",\"options\":[\"left\",\"right\"]}]}","import { useMemo } from 'react';\nimport ButtonMeta from './Button.meta.yaml';\n\n/**\n * Properties for the Button component.\n */\nexport interface ButtonProps {\n /**\n * The text label to display inside the button.\n */\n label?: string;\n /**\n * Callback function executed when the button is pressed.\n */\n onPress?: () => void;\n /**\n * Whether the button is disabled. If true, interactions are ignored and the visual state is adjusted.\n * @default false\n */\n disabled?: boolean;\n /**\n * Whether the button is in a loading state. If true, an ActivityIndicator is shown and interactions are disabled.\n * @default false\n */\n loading?: boolean;\n /**\n * The visual style variant of the button.\n * Determines background and text colors.\n * @default 'default'\n */\n variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';\n /**\n * The size of the button, affecting padding, height, and width (for icon size).\n * @default 'default'\n */\n size?: 'default' | 'sm' | 'lg' | 'icon';\n /**\n * Additional properties to pass down to the underlying Pressable.\n */\n [key: string]: any;\n}\n\nexport function useButtonLogic(props: ButtonProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ButtonMeta?.props) {\n ButtonMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { label, onPress, disabled, loading, variant, size, ...rest } = merged;\n\n return { label, onPress, disabled: disabled || loading, loading, variant, size, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useButtonStyle(logic: any) {\n const { theme } = useTheme();\n \n let bgColor = theme?.primary || '#000000';\n let textColor = theme?.primaryForeground || '#ffffff';\n let borderColor = 'transparent';\n let borderWidth = 0;\n\n if (logic.variant === 'destructive') {\n bgColor = theme?.destructive || '#ff0000';\n textColor = theme?.destructiveForeground || '#ffffff';\n } else if (logic.variant === 'outline') {\n bgColor = 'transparent';\n textColor = theme?.foreground || '#000000';\n borderColor = theme?.border || '#e5e7eb';\n borderWidth = 1;\n } else if (logic.variant === 'secondary') {\n bgColor = theme?.secondary || '#f3f4f6';\n textColor = theme?.secondaryForeground || '#111827';\n } else if (logic.variant === 'ghost') {\n bgColor = 'transparent';\n textColor = theme?.foreground || '#000000';\n } else if (logic.variant === 'link') {\n bgColor = 'transparent';\n textColor = theme?.primary || '#000000';\n }\n\n const opacity = logic.disabled ? 0.5 : 1;\n\n let paddingH = 16;\n let paddingV = 8;\n let height = 40;\n let width: number | undefined = undefined;\n if (logic.size === 'sm') { height = 36; paddingH = 12; }\n if (logic.size === 'lg') { height = 44; paddingH = 32; }\n if (logic.size === 'icon') { height = 40; paddingH = 0; width = 40; }\n\n return {\n container: {\n backgroundColor: bgColor,\n borderColor: borderColor,\n borderWidth: borderWidth,\n borderRadius: 6,\n paddingHorizontal: paddingH,\n height: height,\n // Fixed width for icon variant to ensure it remains a perfect square/circle.\n width: width,\n // Center contents horizontally and vertically using flexbox layout.\n alignItems: 'center',\n justifyContent: 'center',\n // Reduce opacity for disabled states to visually indicate inactivity.\n opacity: opacity,\n // Lay out children (e.g., spinner and text) in a row.\n flexDirection: 'row',\n },\n label: {\n color: textColor,\n fontSize: 14,\n fontWeight: '500',\n textDecorationLine: logic.variant === 'link' ? 'underline' : 'none',\n },\n spinner: {\n color: textColor,\n // Add margin to space out the spinner from the label, unless there is no label.\n marginRight: logic.label ? 8 : 0,\n }\n };\n}\n","import React from 'react';\nimport { Pressable, Text, ActivityIndicator } from 'react-native';\nimport { useButtonLogic, ButtonProps } from './Button.logic';\nimport { useButtonStyle } from './Button.style';\n\n/**\n * A highly customizable Button component for handling user interactions.\n * \n * @description\n * This component provides a styled, accessible pressable area. It supports multiple variants,\n * sizes, and a loading state to indicate background processing.\n * \n * @useCases\n * - Submitting forms or triggering actions.\n * - Navigating between different screens (e.g., as a link variant).\n * - Displaying a loading state while awaiting a network response.\n * \n * @structure\n * - `Pressable`: The core interactive element handling touch events.\n * - `ActivityIndicator`: Conditionally rendered when the button is in a loading state.\n * - `Text`: Displays the button label.\n * \n * @accessibility\n * - Uses `accessibilityRole=\"button\"` to inform screen readers of its purpose.\n * - Manages `accessibilityState` to communicate `disabled` and `busy` (loading) states.\n * - Ensure sufficient color contrast for the text against the button background in all variants.\n */\nconst Button: React.FC<ButtonProps> = (rawProps) => {\n const logic = useButtonLogic(rawProps);\n const styles = useButtonStyle(logic);\n\n return (\n <Pressable \n style={[styles.container as any, logic.rest.style]} \n onPress={logic.onPress} \n disabled={logic.disabled}\n accessibilityRole=\"button\"\n accessibilityState={{ disabled: logic.disabled, busy: logic.loading }}\n >\n {logic.loading && <ActivityIndicator color={styles.spinner.color} style={styles.spinner as any} />}\n {logic.label ? <Text style={styles.label as any}>{logic.label}</Text> : null}\n </Pressable>\n );\n};\n\nexport default Button;\n","{\"type\":\"component\",\"id\":\"Camera\",\"label\":\"Camera\",\"description\":\"Camera viewfinder for photo/video capture.\",\"category\":\"media\",\"tags\":[\"camera\",\"photo\",\"capture\",\"scan\"],\"themeMapping\":{\"bg\":\"muted\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"facing\",\"label\":\"Facing\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"back\",\"options\":[\"front\",\"back\"]},{\"name\":\"flash\",\"label\":\"Flash\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"off\",\"options\":[\"off\",\"on\",\"auto\"]},{\"name\":\"enableTorch\",\"label\":\"Torch\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":300},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"lg\"}]}","import { useMemo, useState, useEffect } from 'react';\nimport CameraMeta from './Camera.meta.yaml';\n\n/**\n * Properties for the Camera component.\n */\nexport interface CameraProps {\n /**\n * The active camera facing direction ('back' or 'front').\n * @default 'back'\n */\n facing?: 'back' | 'front';\n /**\n * Whether the camera is active and rendering. \n * Can be used to pause the camera preview.\n * @default true\n */\n isActive?: boolean;\n /**\n * Callback fired when a photo or video is captured.\n * @param uri The local file URI of the captured media.\n */\n onCapture?: (uri: string) => void;\n /**\n * Additional properties to pass to the container or underlying camera component.\n */\n [key: string]: any;\n}\n\nexport function useCameraLogic(props: CameraProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CameraMeta?.props) {\n CameraMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { facing = 'back', isActive = true, onCapture, ...rest } = merged;\n\n const [hasPermission, setHasPermission] = useState<boolean | null>(null);\n\n return { facing, isActive, onCapture, hasPermission, setHasPermission, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useCameraStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Allow the container to fill available space by default.\n flex: 1,\n // Provide a dark background while the camera initializes.\n backgroundColor: theme?.background || '#000',\n // Ensure there's a minimum height to prevent the view from collapsing completely.\n minHeight: 300,\n // Center any fallback content (like permission messages) horizontally and vertically.\n justifyContent: 'center',\n alignItems: 'center',\n },\n text: {\n // Use the theme's foreground color for the permission fallback text.\n color: theme?.foreground || '#fff',\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View, Text } from 'react-native';\nimport { useCameraLogic, CameraProps } from './Camera.logic';\nimport { useCameraStyle } from './Camera.style';\n// Using expo-camera\nimport { Camera as ExpoCamera, CameraView, useCameraPermissions } from 'expo-camera';\n\n/**\n * A camera component for capturing photos or videos.\n * \n * @description\n * This component wraps `expo-camera` to provide a consistent interface for camera integration.\n * It handles permission requests automatically upon mounting.\n * \n * @useCases\n * - Scanning QR codes or barcodes.\n * - Capturing user avatars or profile photos.\n * - Recording video clips within the application.\n * \n * @structure\n * - Manages camera permissions using `useCameraPermissions`.\n * - Conditionally renders a loading state, permission denied state, or the actual `CameraView`.\n * - The `CameraView` fills its container using absolute positioning or flexbox depending on styles.\n * \n * @accessibility\n * - Provides fallback text (\"No access to camera\") when permissions are denied, which is readable by screen readers.\n * - Ensure that any controls layered over the camera (buttons, overlays) have sufficient contrast and accessibility labels.\n */\nconst Camera: React.FC<CameraProps> = (rawProps) => {\n const logic = useCameraLogic(rawProps);\n const styles = useCameraStyle(logic);\n const [permission, requestPermission] = useCameraPermissions();\n\n useEffect(() => {\n if (permission && !permission.granted && permission.canAskAgain) {\n requestPermission();\n }\n }, [permission, requestPermission]);\n\n if (!permission) {\n return <View style={[styles.container as any, logic.rest.style]} />;\n }\n\n if (!permission.granted) {\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <Text style={styles.text as any}>No access to camera</Text>\n </View>\n );\n }\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.isActive && (\n <CameraView style={{ width: '100%', height: '100%' }} facing={logic.facing} />\n )}\n </View>\n );\n};\n\nexport default Camera;\n","{\"type\":\"component\",\"id\":\"Card\",\"label\":\"Card\",\"description\":\"Surface container used to group and display information.\",\"category\":\"display\",\"tags\":[\"card\",\"surface\",\"container\"],\"themeMapping\":{\"bg\":\"card\",\"text\":\"cardForeground\",\"border\":\"border\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"shadow\",\"label\":\"Shadow\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"none\",\"sm\",\"md\",\"lg\",\"xl\"]},{\"name\":\"interactive\",\"label\":\"Interactive\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"}]}","import { useMemo } from 'react';\nimport CardMeta from './Card.meta.yaml';\n\n/**\n * Properties for the Card component.\n */\nexport interface CardProps {\n /**\n * The content to display inside the card.\n */\n children?: React.ReactNode;\n /**\n * Additional style or functional properties to pass to the underlying View.\n */\n [key: string]: any;\n}\n\nexport function useCardLogic(props: CardProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CardMeta?.props) {\n CardMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useCardStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Use the dedicated card background color for clear separation from the main background.\n backgroundColor: theme?.card || '#ffffff',\n // Apply a subtle border for extra definition, especially in dark mode.\n borderColor: theme?.border || '#e5e7eb',\n borderWidth: 1,\n // Softly rounded corners for a modern look.\n borderRadius: 8,\n // Provide adequate inner spacing so content breathes well.\n padding: 16,\n // Implement shadow for depth (iOS).\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 1 },\n shadowOpacity: 0.05,\n shadowRadius: 2,\n // Implement elevation for depth (Android).\n elevation: 2,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useCardLogic, CardProps } from './Card.logic';\nimport { useCardStyle } from './Card.style';\n\n/**\n * A container component used to group related content and actions.\n * \n * @description\n * The Card component provides a distinct visual boundary (usually with a border, background,\n * and subtle shadow) to separate discrete pieces of information from the rest of the UI.\n * \n * @useCases\n * - Displaying a summary of an item (e.g., a product, user profile, or article snippet).\n * - Grouping related form fields or settings.\n * - Creating modular dashboard widgets.\n * \n * @structure\n * - Wraps its children inside a styled `View`.\n * - Applies theming to backgrounds, borders, and shadows out of the box.\n * \n * @accessibility\n * - Cards themselves are typically just presentational containers.\n * - If a card is interactive as a whole, consider wrapping it in a `Pressable` or passing accessibility roles via `rest`.\n * - Ensure logical heading structures and reading orders inside the card content.\n */\nconst Card: React.FC<CardProps> = (rawProps) => {\n const logic = useCardLogic(rawProps);\n const styles = useCardStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.children}\n </View>\n );\n};\n\nexport default Card;\n","{\"type\":\"component\",\"id\":\"Checkbox\",\"label\":\"Checkbox\",\"description\":\"Toggle checkbox with label.\",\"category\":\"input\",\"tags\":[\"checkbox\",\"toggle\",\"form\",\"boolean\"],\"themeMapping\":{\"active\":\"primary\",\"border\":\"border\"},\"variants\":[{\"name\":\"square\",\"label\":\"Square\",\"overrides\":{\"borderRadius\":\"sm\"}},{\"name\":\"rounded\",\"label\":\"Rounded\",\"overrides\":{\"borderRadius\":\"full\"}}],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"square\",\"options\":[\"square\",\"rounded\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"checked\",\"label\":\"Checked\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo, useState, useCallback } from 'react';\nimport CheckboxMeta from './Checkbox.meta.yaml';\n\n/**\n * Properties for the Checkbox component.\n */\nexport interface CheckboxProps {\n /**\n * Whether the checkbox is checked. If provided, the component operates in controlled mode.\n */\n checked?: boolean;\n /**\n * Callback fired when the checkbox state changes.\n * @param checked The new checked state.\n */\n onCheckedChange?: (checked: boolean) => void;\n /**\n * Whether the checkbox is disabled.\n * @default false\n */\n disabled?: boolean;\n /**\n * The text label to display next to the checkbox.\n */\n label?: string;\n /**\n * Additional properties to pass to the wrapper component.\n */\n [key: string]: any;\n}\n\nexport function useCheckboxLogic(props: CheckboxProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CheckboxMeta?.props) {\n CheckboxMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { checked: controlledChecked, onCheckedChange, disabled, label, ...rest } = merged;\n\n const isControlled = controlledChecked !== undefined;\n const [internalChecked, setInternalChecked] = useState(false);\n const checked = isControlled ? controlledChecked : internalChecked;\n\n const handlePress = useCallback(() => {\n if (disabled) return;\n const nextState = !checked;\n if (!isControlled) {\n setInternalChecked(nextState);\n }\n onCheckedChange?.(nextState);\n }, [disabled, checked, isControlled, onCheckedChange]);\n\n return { checked, handlePress, disabled, label, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useCheckboxStyle(logic: any) {\n const { theme } = useTheme();\n \n const bgColor = logic.checked ? (theme?.primary || '#000') : 'transparent';\n const borderColor = logic.checked ? (theme?.primary || '#000') : (theme?.border || '#e5e7eb');\n const iconColor = theme?.primaryForeground || '#fff';\n\n return {\n wrapper: {\n // Lay out the checkbox and its label in a horizontal row.\n flexDirection: 'row',\n // Center them vertically.\n alignItems: 'center',\n // Reduce opacity if disabled to indicate it's not interactive.\n opacity: logic.disabled ? 0.5 : 1,\n },\n container: {\n // Fixed dimensions for the visual checkbox box.\n width: 20,\n height: 20,\n borderRadius: 4,\n borderWidth: 1,\n borderColor: borderColor,\n backgroundColor: bgColor,\n // Center the check mark icon inside the box.\n justifyContent: 'center',\n alignItems: 'center',\n // Add margin if there is a label to separate them.\n marginRight: logic.label ? 8 : 0,\n },\n label: {\n color: theme?.foreground || '#000',\n fontSize: 14,\n },\n iconColor\n };\n}\n","import React from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useCheckboxLogic, CheckboxProps } from './Checkbox.logic';\nimport { useCheckboxStyle } from './Checkbox.style';\nimport { Check } from 'lucide-react-native';\n\n/**\n * A control that allows the user to toggle between checked and not checked states.\n * \n * @description\n * This component provides a customizable checkbox with optional labeling. It supports both controlled \n * and uncontrolled modes of operation.\n * \n * @useCases\n * - Selecting one or multiple options from a list.\n * - Agreeing to terms and conditions.\n * - Toggling a boolean setting.\n * \n * @structure\n * - `Pressable`: Wraps the entire component (checkbox + label) to increase the tap target size.\n * - `View`: Renders the visual box.\n * - `Check`: A Lucide icon rendered inside the box when checked.\n * - `Text`: Displays the optional label next to the checkbox.\n * \n * @accessibility\n * - The entire wrapper is pressable to aid users with limited dexterity.\n * - Depending on the use case, consider adding explicit `accessibilityRole=\"checkbox\"` and \n * `accessibilityState={{ checked: logic.checked, disabled: logic.disabled }}` to the Pressable via `rest`.\n */\nconst Checkbox: React.FC<CheckboxProps> = (rawProps) => {\n const logic = useCheckboxLogic(rawProps);\n const styles = useCheckboxStyle(logic);\n\n return (\n <Pressable style={[styles.wrapper as any, logic.rest.style]} onPress={logic.handlePress} disabled={logic.disabled}>\n <View style={styles.container as any}>\n {logic.checked && <Check size={14} color={styles.iconColor} />}\n </View>\n {logic.label && <Text style={styles.label as any}>{logic.label}</Text>}\n </Pressable>\n );\n};\n\nexport default Checkbox;\n","{\"type\":\"component\",\"id\":\"Chip\",\"label\":\"Chip\",\"description\":\"Selectable chip / tag with optional close action.\",\"category\":\"input\",\"tags\":[\"chip\",\"tag\",\"filter\",\"selectable\"],\"themeMapping\":{\"bg\":\"muted\",\"text\":\"foreground\",\"active\":\"primary\"},\"variants\":[{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{}},{\"name\":\"outline\",\"label\":\"Outline\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":1}}],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"filled\",\"options\":[\"filled\",\"outline\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"selected\",\"label\":\"Selected\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"closable\",\"label\":\"Closable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"full\"}]}","import { useMemo } from 'react';\nimport ChipMeta from './Chip.meta.yaml';\n\n/**\n * Properties for the Chip component.\n */\nexport interface ChipProps {\n /**\n * The text label to display inside the chip.\n */\n label: string;\n /**\n * Callback fired when the chip is pressed.\n */\n onPress?: () => void;\n /**\n * Callback fired when the delete icon is pressed.\n * If provided, a delete icon will be rendered.\n */\n onDelete?: () => void;\n /**\n * Whether the chip is currently in a selected state (affects visual styling).\n * @default false\n */\n selected?: boolean;\n /**\n * Whether the chip is disabled.\n * @default false\n */\n disabled?: boolean;\n /**\n * Additional properties to pass to the main wrapper component.\n */\n [key: string]: any;\n}\n\nexport function useChipLogic(props: ChipProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ChipMeta?.props) {\n ChipMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { label, onPress, onDelete, selected, disabled, ...rest } = merged;\n\n return { label, onPress, onDelete, selected, disabled, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useChipStyle(logic: any) {\n const { theme } = useTheme();\n \n const bgColor = logic.selected ? (theme?.primary || '#000') : (theme?.secondary || '#f3f4f6');\n const textColor = logic.selected ? (theme?.primaryForeground || '#fff') : (theme?.secondaryForeground || '#111827');\n\n return {\n container: {\n backgroundColor: bgColor,\n // Completely rounded corners (pill shape).\n borderRadius: 16,\n paddingHorizontal: 12,\n paddingVertical: 6,\n // Center contents vertically.\n alignItems: 'center',\n // Center contents horizontally.\n justifyContent: 'center',\n // Lay out the label and delete icon in a row.\n flexDirection: 'row',\n opacity: logic.disabled ? 0.5 : 1,\n },\n label: {\n color: textColor,\n fontSize: 14,\n fontWeight: '500',\n // Add margin to space out the label from the delete icon, if present.\n marginRight: logic.onDelete ? 4 : 0,\n },\n iconColor: textColor\n };\n}\n","import React from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useChipLogic, ChipProps } from './Chip.logic';\nimport { useChipStyle } from './Chip.style';\nimport { X } from 'lucide-react-native';\n\n/**\n * A compact, interactive element used for input, attribute, or action representation.\n * \n * @description\n * Chips are used to represent small blocks of information. They are most commonly used either for \n * tags/categories, selectable options, or deletable items.\n * \n * @useCases\n * - Displaying tags or categories for an article.\n * - Showing applied filters that the user can dismiss.\n * - Offering selectable choices in a compact form.\n * \n * @structure\n * - `Pressable`: Wraps the chip to handle main interactions (like selecting).\n * - `Text`: Displays the chip's label.\n * - An optional delete icon (X) wrapped in a `Pressable` for dismissal.\n * \n * @accessibility\n * - The delete button has a `hitSlop` to increase its touchable area without increasing its visual size.\n * - Consider passing accessibility labels to the delete button if used, to clarify its purpose (e.g., \"Remove [tag name]\").\n */\nconst Chip: React.FC<ChipProps> = (rawProps) => {\n const logic = useChipLogic(rawProps);\n const styles = useChipStyle(logic);\n\n return (\n <Pressable style={[styles.container as any, logic.rest.style]} onPress={logic.onPress} disabled={logic.disabled || !logic.onPress}>\n <Text style={styles.label as any}>{logic.label}</Text>\n {logic.onDelete && (\n <Pressable onPress={logic.onDelete} hitSlop={8} disabled={logic.disabled}>\n <X size={14} color={styles.iconColor} />\n </Pressable>\n )}\n </Pressable>\n );\n};\n\nexport default Chip;\n","{\"name\":\"ColorPicker\",\"description\":\"A visual grid of color swatches for choosing a theme or element color.\",\"tags\":[\"base\",\"input\",\"picker\",\"color\"],\"props\":[]}","import { useMemo, useState, useCallback } from 'react';\nimport { ViewStyle, StyleProp } from 'react-native';\nimport ColorPickerMeta from './ColorPicker.meta.yaml';\n\n/**\n * Properties for the ColorPicker component.\n */\nexport interface ColorPickerProps {\n /** \n * Callback fired when a color is selected.\n * @param color The hex representation of the selected color.\n */\n onChange?: (color: string) => void;\n /** \n * Currently selected color in hex format.\n * @default \"#FF0000\"\n */\n value?: string;\n /**\n * Additional style to apply to the container.\n */\n style?: StyleProp<ViewStyle>;\n /** \n * Any other properties to pass to the container view.\n */\n [key: string]: any;\n}\n\n/**\n * Custom hook to handle the logic for the ColorPicker component.\n * @param props The properties passed to the ColorPicker component.\n * @returns An object containing the processed logic and state for the component.\n */\nexport function useColorPickerLogic(props: ColorPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ColorPickerMeta?.props) {\n ColorPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props } as ColorPickerProps;\n const { onChange, value = '#FF0000', ...rest } = merged;\n\n const [color, setColor] = useState<string>(value);\n\n const onSelectColor = useCallback((res: { hex: string }) => {\n setColor(res.hex);\n if (onChange) {\n onChange(res.hex);\n }\n }, [onChange]);\n\n return { onSelectColor, color, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\n\n/**\n * Custom hook to generate the styles for the ColorPicker component.\n * @param logic The logic state from useColorPickerLogic.\n * @returns A StyleSheet object containing the component styles.\n */\nexport function useColorPickerStyle(logic: any) {\n return useMemo(() => StyleSheet.create({\n container: {\n padding: 20,\n backgroundColor: 'rgba(255, 255, 255, 0.95)',\n borderRadius: 24,\n width: '100%',\n maxWidth: 400,\n alignSelf: 'center',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.12,\n shadowRadius: 16,\n elevation: 8,\n borderWidth: 1,\n borderColor: 'rgba(0, 0, 0, 0.05)',\n },\n panelContainer: {\n height: 220,\n marginBottom: 20,\n borderRadius: 16,\n overflow: 'hidden',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.1,\n shadowRadius: 8,\n elevation: 4,\n },\n sliderContainer: {\n marginBottom: 20,\n borderRadius: 12,\n overflow: 'hidden',\n height: 24,\n },\n previewContainer: {\n marginBottom: 20,\n height: 48,\n borderRadius: 12,\n overflow: 'hidden',\n borderWidth: 1,\n borderColor: 'rgba(0, 0, 0, 0.1)',\n },\n swatchesContainer: {\n marginTop: 8,\n },\n titleContainer: {\n marginBottom: 16,\n alignItems: 'center',\n },\n title: {\n fontSize: 18,\n fontWeight: '600',\n color: '#333333',\n letterSpacing: 0.5,\n }\n }), [logic]);\n}\n","import React from 'react';\nimport { View, Text } from 'react-native';\nimport { useColorPickerLogic, ColorPickerProps } from './ColorPicker.logic';\nimport { useColorPickerStyle } from './ColorPicker.style';\nimport RNColorPicker, { Panel1, Swatches, Preview, HueSlider } from 'reanimated-color-picker';\n\n/**\n * @component ColorPicker\n * @description A robust and beautiful hue/saturation/lightness selection interface utilizing react-native-reanimated-color-picker.\n * It provides a premium design with soft shadows, rounded corners, and a polished user interface.\n * \n * @example\n * <ColorPicker \n * value=\"#3498db\" \n * onChange={(color) => console.log(color)} \n * />\n */\nconst ColorPicker: React.FC<ColorPickerProps> = (rawProps) => {\n const logic = useColorPickerLogic(rawProps);\n const styles = useColorPickerStyle(logic);\n\n return (\n <View style={[styles.container, logic.rest.style]} {...logic.rest}>\n <View style={styles.titleContainer}>\n <Text style={styles.title}>Select Color</Text>\n </View>\n <RNColorPicker \n style={{ flex: 1 }} \n value={logic.color} \n onComplete={logic.onSelectColor}\n thumbSize={28}\n sliderThickness={24}\n >\n <View style={styles.previewContainer}>\n <Preview hideInitialColor />\n </View>\n <View style={styles.panelContainer}>\n <Panel1 />\n </View>\n <View style={styles.sliderContainer}>\n <HueSlider />\n </View>\n <View style={styles.swatchesContainer}>\n <Swatches />\n </View>\n </RNColorPicker>\n </View>\n );\n};\n\nexport default ColorPicker;\n","{\"type\":\"component\",\"id\":\"DatePicker\",\"label\":\"Date Picker\",\"description\":\"Date/time picker input.\",\"category\":\"input\",\"tags\":[\"date\",\"time\",\"picker\",\"calendar\",\"form\"],\"themeMapping\":{\"bg\":\"input\",\"text\":\"foreground\",\"border\":\"border\",\"accent\":\"primary\"},\"variants\":[],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"fontSize\":13},\"md\":{\"height\":40,\"fontSize\":15},\"lg\":{\"height\":48,\"fontSize\":17}},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"mode\",\"label\":\"Mode\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"date\",\"options\":[\"date\",\"time\",\"datetime\"]},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"placeholder\",\"label\":\"Placeholder\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Select date\"},{\"name\":\"error\",\"label\":\"Error message\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"}]}","import { useMemo } from 'react';\nimport DatePickerMeta from './DatePicker.meta.yaml';\n\n/**\n * Properties for the DatePicker component.\n */\nexport interface DatePickerProps {\n /**\n * The currently selected date.\n * @default new Date()\n */\n value?: Date;\n /**\n * Callback fired when the user selects a new date.\n * @param date The newly selected Date object.\n */\n onDateChange?: (date: Date) => void;\n /**\n * Whether the date picker is disabled.\n * @default false\n */\n disabled?: boolean;\n /**\n * Additional properties to pass to the underlying container or picker component.\n */\n [key: string]: any;\n}\n\nexport function useDatePickerLogic(props: DatePickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (DatePickerMeta?.props) {\n DatePickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value = new Date(), onDateChange, disabled, ...rest } = merged;\n\n return { value, onDateChange, disabled, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useDatePickerStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Define a solid background, especially important if rendered over other content.\n backgroundColor: theme?.background || '#fff',\n // Provide a subtle border to clearly demarcate the input area.\n borderColor: theme?.border || '#e5e7eb',\n borderWidth: 1,\n // Rounded corners for modern aesthetic.\n borderRadius: 6,\n // Internal padding to space out the text/icon from the borders.\n paddingHorizontal: 12,\n paddingVertical: 10,\n // Reduce opacity if disabled to signal inactivity.\n opacity: logic.disabled ? 0.5 : 1,\n },\n text: {\n // Inherit the foreground color for the date text.\n color: theme?.foreground || '#000',\n fontSize: 14,\n }\n };\n}\n","import React, { useState } from 'react';\nimport { View, Text, Pressable, Platform as RNPlatform } from 'react-native';\nimport { useDatePickerLogic, DatePickerProps } from './DatePicker.logic';\nimport { useDatePickerStyle } from './DatePicker.style';\nimport DateTimePicker from '@react-native-community/datetimepicker';\nimport { Calendar } from 'lucide-react-native';\n\n/**\n * A cross-platform component for selecting dates.\n * \n * @description\n * This component provides a unified date selection interface across Web, iOS, and Android.\n * It uses the native HTML5 date input on the web, and `@react-native-community/datetimepicker` on native platforms.\n * \n * @useCases\n * - Selecting birth dates or appointment dates.\n * - Filtering lists by a date range.\n * - Providing date input for form fields.\n * \n * @structure\n * - Manages the visibility state (`show`) of the native date picker modal.\n * - On Web: Renders an `<input type=\"date\">`.\n * - On Native: Renders a `Pressable` trigger that displays the selected date alongside a Calendar icon. \n * Tapping it opens the `DateTimePicker`.\n * \n * @accessibility\n * - The native trigger acts as a button and could benefit from `accessibilityRole=\"button\"`.\n * - For web, the native input manages its own accessibility.\n */\nconst DatePicker: React.FC<DatePickerProps> = (rawProps) => {\n const logic = useDatePickerLogic(rawProps);\n const styles = useDatePickerStyle(logic);\n const [show, setShow] = useState(false);\n\n const onChange = (event: any, selectedDate?: Date) => {\n if (RNPlatform.OS === 'android') {\n setShow(false);\n }\n if (selectedDate && logic.onDateChange) {\n logic.onDateChange(selectedDate);\n }\n };\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {RNPlatform.OS === 'web' ? (\n <input \n type=\"date\"\n value={logic.value.toISOString().split('T')[0]}\n onChange={(e) => logic.onDateChange?.(new Date(e.target.value))}\n style={{ padding: 8, borderRadius: 6, border: '1px solid #ccc' }}\n />\n ) : (\n <>\n <Pressable \n style={{ flexDirection: 'row', alignItems: 'center', gap: 8, padding: 12, borderWidth: 1, borderColor: '#ddd', borderRadius: 8 }}\n onPress={() => setShow(true)}\n >\n <Calendar size={20} color={styles.text?.color as string || '#000'} />\n <Text style={styles.text as any}>{logic.value.toLocaleDateString()}</Text>\n </Pressable>\n {show && (\n <DateTimePicker\n value={logic.value}\n mode=\"date\"\n display=\"default\"\n onChange={onChange}\n />\n )}\n </>\n )}\n </View>\n );\n};\n\nexport default DatePicker;\n","{\"type\":\"primitive\",\"id\":\"Divider\",\"label\":\"Divider\",\"description\":\"Horizontal or vertical divider line.\",\"category\":\"primitive\",\"tags\":[\"divider\",\"separator\",\"line\",\"hr\"],\"slots\":[],\"props\":[{\"name\":\"vertical\",\"label\":\"Vertical\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"thickness\",\"label\":\"Thickness\",\"type\":\"number\",\"group\":\"style\",\"default\":1},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\"}]}","import { useMemo } from 'react';\nimport DividerMeta from './Divider.meta.yaml';\n\n/**\n * Properties for the Divider component.\n */\nexport interface DividerProps {\n /**\n * The axis along which the divider should render.\n * @default 'horizontal'\n */\n orientation?: 'horizontal' | 'vertical';\n /**\n * The thickness (height for horizontal, width for vertical) of the divider in points/pixels.\n * @default 1\n */\n thickness?: number;\n /**\n * An optional custom color for the divider. Can be a theme token or a literal color string.\n * If omitted, falls back to the theme's border color.\n */\n color?: string;\n /**\n * Additional properties to pass to the underlying View.\n */\n [key: string]: any;\n}\n\nexport function useDividerLogic(props: DividerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (DividerMeta?.props) {\n DividerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { orientation = 'horizontal', thickness = 1, color, ...rest } = merged;\n\n return { orientation, thickness, color, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useDividerStyle(logic: any) {\n const { theme } = useTheme();\n\n const isHorizontal = logic.orientation === 'horizontal';\n const bgColor = logic.color ? ((theme as any)?.[logic.color] || logic.color) : (theme?.border || '#e5e7eb');\n\n return {\n container: {\n backgroundColor: bgColor,\n // If horizontal, the height is the thickness and width fills the container.\n // If vertical, the width is the thickness and height fills the container.\n height: isHorizontal ? logic.thickness : '100%',\n width: isHorizontal ? '100%' : logic.thickness,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useDividerLogic, DividerProps } from './Divider.logic';\nimport { useDividerStyle } from './Divider.style';\n\n/**\n * A visual separator used to distinguish between different content sections.\n * \n * @description\n * The Divider component renders a thin line (horizontal or vertical) to visually break up\n * lists, layouts, or distinct conceptual areas of a screen.\n * \n * @useCases\n * - Separating items in a list or menu.\n * - Dividing the header from the main body content.\n * - Creating clear visual boundaries in dense data displays.\n * \n * @structure\n * - Wraps a simple styled `View` that manages its dimensions based on orientation and thickness.\n * \n * @accessibility\n * - Dividers are typically decorative. Consider applying `accessible={false}` and `importantForAccessibility=\"no\"` \n * so they are ignored by screen readers, unless they signify a semantic break that should be announced.\n */\nconst Divider: React.FC<DividerProps> = (rawProps) => {\n const logic = useDividerLogic(rawProps);\n const styles = useDividerStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest} />\n );\n};\n\nexport default Divider;\n","{\"name\":\"EmojiPicker\",\"description\":\"A grid of emojis categorized by type.\",\"tags\":[\"base\",\"input\",\"picker\",\"emoji\"],\"props\":[]}","import * as import_react from 'react';\nconst { useMemo, useState } = import_react;\nimport EmojiPickerMeta from './EmojiPicker.meta.yaml';\n\nexport interface EmojiPickerProps {\n /** Callback fired when an emoji is selected */\n onChange?: (emoji: string, isAnimated?: boolean) => void;\n /** Currently selected emoji */\n value?: string;\n /** Whether to show animated emojis toggle */\n showAnimated?: boolean;\n [key: string]: any;\n}\n\nconst EMOJI_CATEGORIES = [\n {\n name: 'Smileys',\n icon: '😀',\n emojis: [\n { emoji: '😀', hex: '1f600' },\n { emoji: '😂', hex: '1f602' },\n { emoji: '🥰', hex: '1f970' },\n { emoji: '😎', hex: '1f60e' },\n { emoji: '😭', hex: '1f62d' },\n { emoji: '😡', hex: '1f621' },\n { emoji: '🤔', hex: '1f914' },\n { emoji: '😴', hex: '1f634' },\n { emoji: '🫠', hex: '1fae0' },\n { emoji: '🥳', hex: '1f973' },\n ]\n },\n {\n name: 'Nature',\n icon: '🌸',\n emojis: [\n { emoji: '🌸', hex: '1f338' },\n { emoji: '🔥', hex: '1f525' },\n { emoji: '✨', hex: '2728' },\n { emoji: '🌟', hex: '1f31f' },\n { emoji: '☀️', hex: '2600' },\n { emoji: '🌈', hex: '1f308' },\n { emoji: '🌍', hex: '1f30d' },\n { emoji: '🍀', hex: '1f340' },\n ]\n },\n {\n name: 'Objects',\n icon: '🎈',\n emojis: [\n { emoji: '🎈', hex: '1f388' },\n { emoji: '🎁', hex: '1f381' },\n { emoji: '🎉', hex: '1f389' },\n { emoji: '💎', hex: '1f48e' },\n { emoji: '📱', hex: '1f4f1' },\n { emoji: '💡', hex: '1f4a1' },\n { emoji: '❤️', hex: '2764' },\n { emoji: '💔', hex: '1f494' },\n ]\n }\n];\n\nexport function useEmojiPickerLogic(props: EmojiPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (EmojiPickerMeta?.props) {\n EmojiPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { onChange, value, showAnimated = true, ...rest } = merged;\n\n const [activeType, setActiveType] = useState<'standard' | 'animated'>('standard');\n const [activeCategory, setActiveCategory] = useState<string>(EMOJI_CATEGORIES[0].name);\n\n // Map to Google Noto Emoji animated WebP dataset URL\n const getAnimatedUrl = (hex: string) => `https://fonts.gstatic.com/s/e/notoemoji/latest/${hex}/512.webp`;\n\n const activeEmojis = useMemo(() => {\n return EMOJI_CATEGORIES.find(c => c.name === activeCategory)?.emojis || [];\n }, [activeCategory]);\n\n return { \n onChange, \n value, \n showAnimated,\n activeType,\n setActiveType,\n activeCategory,\n setActiveCategory,\n categories: EMOJI_CATEGORIES,\n activeEmojis,\n getAnimatedUrl,\n rest \n };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet, Platform } from 'react-native';\n\nexport function useEmojiPickerStyle(logic: any) {\n return useMemo(() => {\n return StyleSheet.create({\n container: {\n padding: 16,\n backgroundColor: '#FFFFFF',\n borderRadius: 24,\n width: '100%',\n maxWidth: 400,\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.1,\n shadowRadius: 24,\n elevation: 8,\n },\n typeToggleContainer: {\n flexDirection: 'row',\n marginBottom: 16,\n backgroundColor: '#F1F5F9',\n borderRadius: 12,\n padding: 4,\n },\n typeBtn: {\n flex: 1,\n paddingVertical: 10,\n alignItems: 'center',\n borderRadius: 10,\n },\n typeBtnActive: {\n backgroundColor: '#FFFFFF',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 0.05,\n shadowRadius: 4,\n elevation: 2,\n },\n typeText: {\n fontSize: 14,\n fontWeight: '600',\n color: '#64748B',\n },\n typeTextActive: {\n color: '#0F172A',\n },\n categoriesScroll: {\n flexGrow: 0,\n marginBottom: 16,\n },\n categoriesContainer: {\n flexDirection: 'row',\n gap: 12,\n paddingBottom: 4,\n ...Platform.select({\n web: {\n // @ts-ignore\n overflowX: 'auto',\n }\n })\n },\n categoryBtn: {\n flexDirection: 'row',\n alignItems: 'center',\n paddingHorizontal: 12,\n paddingVertical: 8,\n borderRadius: 20,\n backgroundColor: '#F8FAFC',\n borderWidth: 1,\n borderColor: '#E2E8F0',\n gap: 6,\n marginRight: 8,\n },\n categoryBtnActive: {\n backgroundColor: '#EFF6FF',\n borderColor: '#BFDBFE',\n },\n categoryIcon: {\n fontSize: 14,\n },\n categoryText: {\n fontSize: 13,\n fontWeight: '600',\n color: '#475569',\n },\n categoryTextActive: {\n color: '#2563EB',\n },\n grid: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: 8,\n justifyContent: 'flex-start',\n },\n emojiBtn: {\n width: 52,\n height: 52,\n justifyContent: 'center',\n alignItems: 'center',\n borderRadius: 26,\n backgroundColor: '#FFFFFF',\n margin: 4,\n },\n selected: {\n backgroundColor: '#EFF6FF',\n borderWidth: 2,\n borderColor: '#3B82F6',\n },\n emojiText: {\n fontSize: 32,\n },\n animatedEmoji: {\n width: 40,\n height: 40,\n }\n });\n }, [logic]);\n}\n","import React from 'react';\nimport { View, Text, Pressable, ScrollView, Image } from 'react-native';\nimport { useEmojiPickerLogic, EmojiPickerProps } from './EmojiPicker.logic';\nimport { useEmojiPickerStyle } from './EmojiPicker.style';\n\n/**\n * @component EmojiPicker\n * @description A robust emoji picker with category-based selection and Google Noto Animated WebP support.\n */\nconst EmojiPicker: React.FC<EmojiPickerProps> = (rawProps) => {\n const logic = useEmojiPickerLogic(rawProps);\n const styles = useEmojiPickerStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n \n {logic.showAnimated && (\n <View style={styles.typeToggleContainer as any}>\n <Pressable \n style={[styles.typeBtn as any, logic.activeType === 'standard' && styles.typeBtnActive]}\n onPress={() => logic.setActiveType('standard')}\n >\n <Text style={[styles.typeText as any, logic.activeType === 'standard' && styles.typeTextActive]}>Standard</Text>\n </Pressable>\n <Pressable \n style={[styles.typeBtn as any, logic.activeType === 'animated' && styles.typeBtnActive]}\n onPress={() => logic.setActiveType('animated')}\n >\n <Text style={[styles.typeText as any, logic.activeType === 'animated' && styles.typeTextActive]}>Animated</Text>\n </Pressable>\n </View>\n )}\n\n <ScrollView horizontal showsHorizontalScrollIndicator={false} style={styles.categoriesScroll as any} contentContainerStyle={styles.categoriesContainer as any}>\n {logic.categories.map((cat) => (\n <Pressable \n key={cat.name} \n style={[styles.categoryBtn as any, logic.activeCategory === cat.name && styles.categoryBtnActive]}\n onPress={() => logic.setActiveCategory(cat.name)}\n >\n <Text style={styles.categoryIcon as any}>{cat.icon}</Text>\n <Text style={[styles.categoryText as any, logic.activeCategory === cat.name && styles.categoryTextActive]}>{cat.name}</Text>\n </Pressable>\n ))}\n </ScrollView>\n\n <ScrollView style={{ maxHeight: 250 }} showsVerticalScrollIndicator={false}>\n <View style={styles.grid as any}>\n {logic.activeEmojis.map((item) => (\n <Pressable \n key={item.hex} \n onPress={() => logic.onChange?.(item.emoji, logic.activeType === 'animated')} \n style={[styles.emojiBtn as any, logic.value === item.emoji && styles.selected]}\n >\n {logic.activeType === 'standard' ? (\n <Text style={styles.emojiText as any}>{item.emoji}</Text>\n ) : (\n <Image \n source={{ uri: logic.getAnimatedUrl(item.hex) }}\n style={styles.animatedEmoji as any}\n resizeMode=\"contain\"\n />\n )}\n </Pressable>\n ))}\n </View>\n </ScrollView>\n\n </View>\n );\n};\n\nexport default EmojiPicker;\n","{\"type\":\"component\",\"id\":\"FilePicker\",\"label\":\"File Picker\",\"description\":\"File/image upload input.\",\"category\":\"input\",\"tags\":[\"file\",\"upload\",\"image\",\"picker\",\"form\"],\"themeMapping\":{\"bg\":\"muted\",\"text\":\"foreground\",\"border\":\"border\",\"accent\":\"primary\"},\"variants\":[{\"name\":\"button\",\"label\":\"Button\",\"overrides\":{}},{\"name\":\"dropzone\",\"label\":\"Drop Zone\",\"overrides\":{}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"button\",\"options\":[\"button\",\"dropzone\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"accept\",\"label\":\"Accept types\",\"type\":\"string\",\"group\":\"behavior\",\"default\":\"image/*\"},{\"name\":\"multiple\",\"label\":\"Multiple\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Upload file\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"}]}","import { useMemo } from 'react';\nimport FilePickerMeta from './FilePicker.meta.yaml';\n\n/**\n * Props for the FilePicker component.\n */\nexport interface FilePickerProps {\n /**\n * Callback fired when a file is successfully selected.\n * @param file The file object returned by the document picker.\n */\n onFileSelect?: (file: any) => void;\n /**\n * Disables the file picker, preventing interaction if set to true.\n */\n disabled?: boolean;\n /**\n * The text label displayed inside the file picker button. Defaults to 'Select a file'.\n */\n label?: string;\n /**\n * Optional MIME type to restrict file selection (e.g. 'image/*').\n */\n accept?: string;\n /**\n * Any other props to spread to the underlying Pressable or container.\n */\n [key: string]: any;\n}\n\nexport function useFilePickerLogic(props: FilePickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FilePickerMeta?.props) {\n FilePickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { onFileSelect, disabled, label = 'Select a file', accept, ...rest } = merged;\n\n return { onFileSelect, disabled, label, accept, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useFilePickerStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n backgroundColor: theme?.secondary || '#f3f4f6',\n borderColor: theme?.border || '#e5e7eb',\n borderWidth: 1,\n borderStyle: 'dashed',\n borderRadius: 6,\n padding: 16,\n // Flexbox properties for centering the icon and text horizontally and vertically.\n alignItems: 'center',\n justifyContent: 'center',\n // Visual feedback for disabled state.\n opacity: logic.disabled ? 0.5 : 1,\n },\n label: {\n color: theme?.secondaryForeground || '#111827',\n fontSize: 14,\n fontWeight: '500',\n }\n };\n}\n","import React from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useFilePickerLogic, FilePickerProps } from './FilePicker.logic';\nimport { useFilePickerStyle } from './FilePicker.style';\nimport { Upload } from 'lucide-react-native';\nimport * as DocumentPicker from 'expo-document-picker';\n\n/**\n * FilePicker component provides a user interface to select documents or files from the device.\n * \n * Role & Use Cases:\n * Primarily used in forms or settings pages where users need to upload documents, images, or other files.\n * It leverages the `expo-document-picker` to trigger the native file selection UI.\n * \n * Structure:\n * Renders a visually accessible `Pressable` container wrapping an upload icon and a text label.\n * \n * Accessibility:\n * Uses `accessibilityRole=\"button\"` and `accessibilityLabel` to ensure screen readers correctly identify it as an interactive element.\n */\nconst FilePicker: React.FC<FilePickerProps> = (rawProps) => {\n const logic = useFilePickerLogic(rawProps);\n const styles = useFilePickerStyle(logic);\n\n const handlePick = async () => {\n try {\n const result = await DocumentPicker.getDocumentAsync({\n type: logic.accept || '*/*',\n copyToCacheDirectory: true,\n });\n \n if (!result.canceled && logic.onFileSelect) {\n logic.onFileSelect(result.assets[0]);\n }\n } catch (e) {\n console.warn('Document picker error:', e);\n }\n };\n\n return (\n <Pressable \n style={[styles.container as any, logic.rest.style]} \n disabled={logic.disabled}\n onPress={handlePick}\n accessibilityRole=\"button\"\n accessibilityLabel={logic.label || \"Pick a file\"}\n >\n <Upload size={24} color={styles.label?.color as string || '#000'} style={{ marginBottom: 8 }} />\n <Text style={styles.label as any}>{logic.label || \"Select File\"}</Text>\n </Pressable>\n );\n};\n\nexport default FilePicker;\n","{\"type\":\"component\",\"id\":\"FlatList\",\"label\":\"List\",\"description\":\"Scrollable list with virtualization.\",\"category\":\"display\",\"tags\":[\"list\",\"flatlist\",\"scroll\",\"virtualized\"],\"themeMapping\":{\"bg\":\"background\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"horizontal\",\"label\":\"Horizontal\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"numColumns\",\"label\":\"Columns\",\"type\":\"number\",\"group\":\"layout\",\"default\":1},{\"name\":\"spacing\",\"label\":\"Item spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"showsScrollIndicator\",\"label\":\"Scroll indicator\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\"}]}","import { useMemo } from 'react';\nimport FlatListMeta from './FlatList.meta.yaml';\n\n/**\n * Props for the FlatList component.\n */\nexport interface FlatListProps {\n /**\n * An array of data objects to be rendered as a list.\n */\n data: any[];\n /**\n * Function that takes an item from the data array and returns a React element to render.\n */\n renderItem: ({ item, index }: { item: any; index: number }) => React.ReactNode;\n /**\n * Function to extract a unique key for a given item at the specified index.\n * If not provided, it defaults to using `item.id` or the index as a fallback.\n */\n keyExtractor?: (item: any, index: number) => string;\n /**\n * If true, renders items horizontally instead of vertically.\n */\n horizontal?: boolean;\n /**\n * Additional properties to pass directly to the React Native FlatList.\n */\n [key: string]: any;\n}\n\nexport function useFlatListLogic(props: FlatListProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FlatListMeta?.props) {\n FlatListMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { data = [], renderItem, keyExtractor, horizontal, ...rest } = merged;\n\n const safeKeyExtractor = keyExtractor || ((item: any, index: number) => item?.id || String(index));\n\n return { data, renderItem, keyExtractor: safeKeyExtractor, horizontal, rest };\n}\n","\nexport function useFlatListStyle(logic: any) {\n return {\n container: {\n // flex: 1 ensures the list expands to fill the available vertical space in its parent container.\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { FlatList as RNFlatList } from 'react-native';\nimport { useFlatListLogic, FlatListProps } from './FlatList.logic';\nimport { useFlatListStyle } from './FlatList.style';\n\n/**\n * FlatList component is a wrapper around React Native's FlatList for efficient rendering of large data lists.\n * \n * Role & Use Cases:\n * Use this component whenever you need to display a scrollable list of items, such as feeds, contact lists, or menus.\n * It is highly performant as it only renders items currently visible on the screen.\n * \n * Structure:\n * Extends the native `FlatList` and automatically applies theme-based styling and meta configurations.\n * \n * Accessibility:\n * Inherits the standard list accessibility features from React Native. Ensure to pass appropriate accessibility props to the `renderItem` components.\n */\nconst FlatList: React.FC<FlatListProps> = (rawProps) => {\n const logic = useFlatListLogic(rawProps);\n const styles = useFlatListStyle(logic);\n\n return (\n <RNFlatList\n style={[styles.container as any, logic.rest.style]}\n data={logic.data}\n renderItem={logic.renderItem as any}\n keyExtractor={logic.keyExtractor}\n horizontal={logic.horizontal}\n {...logic.rest}\n />\n );\n};\n\nexport default FlatList;\n","{\"name\":\"GifPicker\",\"description\":\"A placeholder picker for GIFs.\",\"tags\":[\"base\",\"input\",\"picker\",\"gif\"],\"props\":[]}","import { useMemo, useState, useEffect } from 'react';\nimport GifPickerMeta from './GifPicker.meta.yaml';\n\n/**\n * Interface representing a GIF item.\n */\nexport interface GifItem {\n /** Unique ID for the GIF */\n id: string;\n /** URL of the GIF image */\n url: string;\n /** Title or description of the GIF */\n title: string;\n}\n\n/**\n * Props for the GifPicker component.\n */\nexport interface GifPickerProps {\n /** Callback fired when a GIF is selected */\n onChange?: (gifUrl: string) => void;\n /** Currently selected GIF URL */\n value?: string;\n /** Optional API key for Giphy/Tenor (mocked if not provided) */\n apiKey?: string;\n /** Optional limit of GIFs to fetch */\n limit?: number;\n /** Custom styles */\n style?: any;\n /** Any other props */\n [key: string]: any;\n}\n\n// Mock GIFs to simulate API data\nconst MOCK_GIFS: GifItem[] = [\n { id: '1', url: 'https://media.giphy.com/media/l41YkxvU8c7J7Bba0/giphy.gif', title: 'Funny Cat' },\n { id: '2', url: 'https://media.giphy.com/media/3o7TKSjRrfIPjeiVyM/giphy.gif', title: 'Happy Dance' },\n { id: '3', url: 'https://media.giphy.com/media/26AHONQ79FdWZhAI0/giphy.gif', title: 'Mind Blown' },\n { id: '4', url: 'https://media.giphy.com/media/xT0xeJpnrWC4XWblWQ/giphy.gif', title: 'Thumbs Up' },\n { id: '5', url: 'https://media.giphy.com/media/l0HlBO7eyXzSZkJri/giphy.gif', title: 'Laughter' },\n { id: '6', url: 'https://media.giphy.com/media/3o6Zt481isNVuQI1l6/giphy.gif', title: 'Crying' },\n { id: '7', url: 'https://media.giphy.com/media/26gsa1yJkqYJpZpXG/giphy.gif', title: 'Surprise' },\n { id: '8', url: 'https://media.giphy.com/media/3oEduYmB0t5Vj028sE/giphy.gif', title: 'Shrug' }\n];\n\n/**\n * Logic hook for the GifPicker component.\n */\nexport function useGifPickerLogic(props: GifPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (GifPickerMeta?.props) {\n GifPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { onChange, value, apiKey, limit = 20, ...rest } = merged;\n\n const [searchQuery, setSearchQuery] = useState<string>('');\n const [debouncedQuery, setDebouncedQuery] = useState<string>('');\n const [gifs, setGifs] = useState<GifItem[]>([]);\n const [loading, setLoading] = useState<boolean>(true);\n\n // Debounce the search query to minimize API calls\n useEffect(() => {\n const timer = setTimeout(() => {\n setDebouncedQuery(searchQuery);\n }, 500);\n return () => clearTimeout(timer);\n }, [searchQuery]);\n\n // Fetch GIFs (mocked API call)\n useEffect(() => {\n let isMounted = true;\n const fetchGifs = async () => {\n setLoading(true);\n \n // Simulate network latency\n await new Promise(resolve => setTimeout(resolve, 600));\n\n if (!isMounted) return;\n\n if (!debouncedQuery) {\n setGifs(MOCK_GIFS);\n } else {\n // Mock search logic\n const q = debouncedQuery.toLowerCase();\n const results = MOCK_GIFS.filter(g => g.title.toLowerCase().includes(q));\n // If empty, just return a random subset to simulate \"some results\"\n setGifs(results.length > 0 ? results : MOCK_GIFS.slice(0, 3));\n }\n setLoading(false);\n };\n\n fetchGifs();\n\n return () => { isMounted = false; };\n }, [debouncedQuery, limit, apiKey]);\n\n const selectGif = (url: string) => {\n if (onChange) onChange(url);\n };\n\n return { \n value, \n selectGif, \n searchQuery, \n setSearchQuery, \n gifs, \n loading, \n rest \n };\n}\n","import { useMemo } from 'react';\n\nexport function useGifPickerStyle(logic: any) {\n return useMemo(() => ({\n container: {\n padding: 20,\n backgroundColor: '#FFFFFF',\n borderRadius: 24,\n width: '100%',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.1,\n shadowRadius: 24,\n elevation: 8,\n borderWidth: 1,\n borderColor: '#F0F0F0',\n },\n header: {\n marginBottom: 16,\n },\n title: {\n fontSize: 18,\n fontWeight: '700',\n color: '#1A202C',\n },\n searchContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n backgroundColor: '#F7FAFC',\n borderRadius: 12,\n borderWidth: 1,\n borderColor: '#E2E8F0',\n paddingHorizontal: 12,\n marginBottom: 20,\n },\n searchIcon: {\n marginRight: 8,\n },\n searchInput: {\n flex: 1,\n paddingVertical: 12,\n fontSize: 16,\n color: '#2D3748',\n },\n clearBtn: {\n padding: 4,\n },\n grid: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: 12,\n justifyContent: 'space-between',\n },\n gifBtn: {\n width: '48%', // Masonry-like 2 columns\n height: 140,\n borderRadius: 12,\n overflow: 'hidden',\n backgroundColor: '#F7FAFC',\n marginBottom: 12,\n borderWidth: 2,\n borderColor: 'transparent',\n position: 'relative',\n },\n gifBtnSelected: {\n borderColor: '#3182CE',\n },\n gifImg: {\n width: '100%',\n height: '100%',\n },\n selectedOverlay: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgba(49, 130, 206, 0.4)',\n justifyContent: 'center',\n alignItems: 'center',\n },\n loadingContainer: {\n padding: 40,\n alignItems: 'center',\n justifyContent: 'center',\n },\n loadingText: {\n marginTop: 12,\n fontSize: 14,\n color: '#718096',\n fontWeight: '500',\n },\n emptyContainer: {\n padding: 40,\n alignItems: 'center',\n justifyContent: 'center',\n },\n emptyText: {\n marginTop: 12,\n fontSize: 16,\n color: '#A0AEC0',\n fontWeight: '500',\n }\n }), [logic]);\n}\n","import React from 'react';\nimport { View, TextInput, Pressable, ScrollView, Image, ActivityIndicator, Text } from 'react-native';\nimport { Feather } from '@expo/vector-icons';\nimport { useGifPickerLogic, GifPickerProps, GifItem } from './GifPicker.logic';\nimport { useGifPickerStyle } from './GifPicker.style';\n\n/**\n * @component GifPicker\n * @description A robust GIF picker that integrates searching and selecting animated GIFs, fully typed and styled.\n */\nconst GifPicker: React.FC<GifPickerProps> = (rawProps) => {\n const logic = useGifPickerLogic(rawProps);\n const styles = useGifPickerStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n \n <View style={styles.header as any}>\n <Text style={styles.title as any}>Choose a GIF</Text>\n </View>\n \n <View style={styles.searchContainer as any}>\n <Feather name=\"search\" size={20} color=\"#888\" style={styles.searchIcon as any} />\n <TextInput \n style={styles.searchInput as any}\n placeholder=\"Search GIFs via Tenor/Giphy...\"\n placeholderTextColor=\"#888\"\n value={logic.searchQuery}\n onChangeText={logic.setSearchQuery}\n />\n {logic.searchQuery.length > 0 && (\n <Pressable onPress={() => logic.setSearchQuery('')} style={styles.clearBtn as any}>\n <Feather name=\"x-circle\" size={18} color=\"#888\" />\n </Pressable>\n )}\n </View>\n\n <ScrollView style={{ maxHeight: 400 }} showsVerticalScrollIndicator={false}>\n {logic.loading ? (\n <View style={styles.loadingContainer as any}>\n <ActivityIndicator size=\"large\" color=\"#3182CE\" />\n <Text style={styles.loadingText as any}>Loading amazing GIFs...</Text>\n </View>\n ) : logic.gifs.length === 0 ? (\n <View style={styles.emptyContainer as any}>\n <Feather name=\"image\" size={48} color=\"#CCCCCC\" />\n <Text style={styles.emptyText as any}>No GIFs found.</Text>\n </View>\n ) : (\n <View style={styles.grid as any}>\n {logic.gifs.map((gif: GifItem) => {\n const isSelected = logic.value === gif.url;\n return (\n <Pressable \n key={gif.id} \n onPress={() => logic.selectGif(gif.url)} \n style={[styles.gifBtn as any, isSelected && styles.gifBtnSelected]}\n >\n <Image \n source={{ uri: gif.url }} \n style={styles.gifImg as any} \n resizeMode=\"cover\" \n />\n {isSelected && (\n <View style={styles.selectedOverlay as any}>\n <Feather name=\"check-circle\" size={24} color=\"#FFFFFF\" />\n </View>\n )}\n </Pressable>\n );\n })}\n </View>\n )}\n </ScrollView>\n\n </View>\n );\n};\n\nexport default GifPicker;\n","{\"type\":\"component\",\"id\":\"Gradient\",\"label\":\"Gradient\",\"description\":\"Linear gradient background container.\",\"category\":\"display\",\"tags\":[\"gradient\",\"linear\",\"background\",\"color\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"startColor\",\"label\":\"Start color\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#3b82f6\"},{\"name\":\"endColor\",\"label\":\"End color\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#8b5cf6\"},{\"name\":\"direction\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"vertical\",\"options\":[\"vertical\",\"horizontal\",\"diagonal\"]},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\"}]}","import { useMemo } from 'react';\nimport GradientMeta from './Gradient.meta.yaml';\n\n/**\n * Props for the Gradient component.\n */\nexport interface GradientProps {\n /**\n * An array of colors that represent the stops in the gradient.\n * e.g., ['#ff0000', '#00ff00']\n */\n colors: string[];\n /**\n * Optional starting coordinate of the gradient, specified as { x, y } where x and y are between 0 and 1.\n */\n start?: { x: number; y: number };\n /**\n * Optional ending coordinate of the gradient, specified as { x, y } where x and y are between 0 and 1.\n */\n end?: { x: number; y: number };\n /**\n * Child components to render inside the gradient view.\n */\n children?: React.ReactNode;\n /**\n * Additional properties to spread to the underlying linear gradient component.\n */\n [key: string]: any;\n}\n\nexport function useGradientLogic(props: GradientProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (GradientMeta?.props) {\n GradientMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { colors = ['#000', '#fff'], start, end, children, ...rest } = merged;\n\n return { colors, start, end, children, rest };\n}\n","\nexport function useGradientStyle(logic: any) {\n return {\n container: {\n // flex: 1 ensures the gradient expands to fill the available space in its container,\n // allowing it to serve as a background layer.\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useGradientLogic, GradientProps } from './Gradient.logic';\nimport { useGradientStyle } from './Gradient.style';\n// Using expo-linear-gradient\nimport { LinearGradient } from 'expo-linear-gradient';\n\n/**\n * Gradient component applies a linear color gradient to its children or background.\n * \n * Role & Use Cases:\n * Used for decorative backgrounds, stylized buttons, or overlay effects to enhance the visual design.\n * \n * Structure:\n * Wraps `expo-linear-gradient` to provide a consistent API and theming.\n * \n * Accessibility:\n * Primarily a visual enhancement. If the gradient contains important content, ensure the children themselves are accessible.\n */\nconst Gradient: React.FC<GradientProps> = (rawProps) => {\n const logic = useGradientLogic(rawProps);\n const styles = useGradientStyle(logic);\n\n return (\n <LinearGradient\n colors={logic.colors}\n start={logic.start}\n end={logic.end}\n style={[styles.container as any, logic.rest.style]}\n >\n {logic.children}\n </LinearGradient>\n );\n};\n\nexport default Gradient;\n","{\"type\":\"component\",\"id\":\"Icon\",\"label\":\"Icon\",\"description\":\"Vector icon from Feather icon set.\",\"category\":\"display\",\"tags\":[\"icon\",\"feather\",\"vector\",\"symbol\"],\"themeMapping\":{\"color\":\"foreground\"},\"variants\":[],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"name\",\"label\":\"Icon name\",\"type\":\"string\",\"group\":\"content\",\"default\":\"star\"},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"number\",\"group\":\"style\",\"default\":24},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"foreground\"},{\"name\":\"strokeWidth\",\"label\":\"Stroke width\",\"type\":\"number\",\"group\":\"style\",\"default\":2}]}","import { useMemo } from 'react';\nimport IconMeta from './Icon.meta.yaml';\n\n/**\n * Props for the Icon component.\n */\nexport interface IconProps {\n /**\n * The name of the icon to render, corresponding to a component name in `lucide-react-native`.\n * e.g., 'Home', 'Settings'.\n */\n name: string;\n /**\n * The size of the icon in pixels. Defaults to 24.\n */\n size?: number;\n /**\n * The color of the icon. Falls back to the theme's foreground color if not specified.\n */\n color?: string;\n /**\n * Additional props to pass to the wrapping View container.\n */\n [key: string]: any;\n}\n\nexport function useIconLogic(props: IconProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (IconMeta?.props) {\n IconMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { name, size, color, ...rest } = merged;\n\n return { name, size, color, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useIconStyle(logic: any) {\n const { theme } = useTheme();\n return {\n // Resolves the color dynamically from the theme if not explicitly provided via props.\n color: logic.color || theme?.foreground || '#000000',\n // Sets a default bounding size for the icon to maintain visual consistency.\n size: logic.size || 24,\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useIconLogic, IconProps } from './Icon.logic';\nimport { useIconStyle } from './Icon.style';\nimport * as LucideIcons from 'lucide-react-native';\n\n/**\n * Icon component provides a generic wrapper for rendering vector icons.\n * \n * Role & Use Cases:\n * Used to display visual symbols for actions, navigation, or status.\n * Relies on `lucide-react-native` for the icon set.\n * \n * Structure:\n * Dynamically imports and renders an icon based on the provided name string. Fallbacks to `HelpCircle` if the name is not found.\n * \n * Accessibility:\n * Decorative by default. Wrap in a `Pressable` with an `accessibilityLabel` or add accessibility props if the icon conveys standalone semantic meaning.\n */\nconst Icon: React.FC<IconProps> = (rawProps) => {\n const logic = useIconLogic(rawProps);\n const styles = useIconStyle(logic);\n \n // Dynamic icon component\n const IconComponent = (LucideIcons as any)[logic.name] || LucideIcons.HelpCircle;\n\n return (\n <View style={logic.rest.style}>\n <IconComponent size={styles.size} color={styles.color} />\n </View>\n );\n};\n\nexport default Icon;\n","{\"type\":\"component\",\"id\":\"IconButton\",\"label\":\"Icon Button\",\"description\":\"Pressable icon-only button.\",\"category\":\"action\",\"tags\":[\"icon\",\"button\",\"action\"],\"themeMapping\":{\"bg\":\"muted\",\"icon\":\"foreground\"},\"variants\":[{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{}},{\"name\":\"ghost\",\"label\":\"Ghost\",\"overrides\":{\"bg\":\"transparent\"}},{\"name\":\"outline\",\"label\":\"Outline\",\"overrides\":{\"bg\":\"transparent\",\"borderWidth\":1}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"width\":32,\"iconSize\":16},\"md\":{\"height\":40,\"width\":40,\"iconSize\":20},\"lg\":{\"height\":48,\"width\":48,\"iconSize\":24}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"ghost\",\"options\":[\"filled\",\"ghost\",\"outline\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"full\"},{\"name\":\"color\",\"label\":\"Icon color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"foreground\"}]}","import { useMemo } from 'react';\nimport IconButtonMeta from './IconButton.meta.yaml';\n\n/**\n * Props for the IconButton component.\n */\nexport interface IconButtonProps {\n /**\n * The name of the icon to display, corresponding to a `lucide-react-native` component.\n */\n icon: string;\n /**\n * Callback executed when the button is pressed.\n */\n onPress?: () => void;\n /**\n * The size of the icon in pixels. The button container will scale accordingly.\n */\n size?: number;\n /**\n * Disables the button, applying a visual opacity and preventing interaction.\n */\n disabled?: boolean;\n /**\n * Visual variant of the button:\n * - 'default': Solid background with primary theme colors.\n * - 'ghost': Transparent background.\n * - 'outline': Transparent background with a border.\n */\n variant?: 'default' | 'ghost' | 'outline';\n /**\n * Additional props to pass down to the wrapping Pressable component.\n */\n [key: string]: any;\n}\n\nexport function useIconButtonLogic(props: IconButtonProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (IconButtonMeta?.props) {\n IconButtonMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { icon, onPress, size, disabled, variant, ...rest } = merged;\n\n return { icon, onPress, size, disabled, variant, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useIconButtonStyle(logic: any) {\n const { theme } = useTheme();\n \n let bgColor = 'transparent';\n let iconColor = theme?.foreground || '#000000';\n let borderColor = 'transparent';\n \n if (logic.variant === 'default') {\n bgColor = theme?.primary || '#000000';\n iconColor = theme?.primaryForeground || '#ffffff';\n } else if (logic.variant === 'outline') {\n borderColor = theme?.border || '#e5e7eb';\n }\n\n const dim = (logic.size || 24) + 16;\n\n return {\n container: {\n width: dim,\n height: dim,\n // Ensures a perfectly circular button layout.\n borderRadius: dim / 2,\n backgroundColor: bgColor,\n borderColor: borderColor,\n borderWidth: logic.variant === 'outline' ? 1 : 0,\n // Flexbox properties to center the icon both vertically and horizontally.\n justifyContent: 'center',\n alignItems: 'center',\n // Visual feedback when the button is disabled.\n opacity: logic.disabled ? 0.5 : 1,\n },\n iconSize: logic.size || 24,\n iconColor: iconColor\n };\n}\n","import React from 'react';\nimport { Pressable } from 'react-native';\nimport { useIconButtonLogic, IconButtonProps } from './IconButton.logic';\nimport { useIconButtonStyle } from './IconButton.style';\nimport * as LucideIcons from 'lucide-react-native';\n\n/**\n * IconButton component renders a pressable icon with customizable variants and sizes.\n * \n * Role & Use Cases:\n * Ideal for standalone icon actions like 'close', 'edit', 'favorite', or navigation triggers.\n * \n * Structure:\n * Wraps a dynamic vector icon (`lucide-react-native`) inside a `Pressable`.\n * Supports theming variants ('default', 'ghost', 'outline').\n * \n * Accessibility:\n * Includes `accessibilityRole=\"button\"`. Ensure consumers provide a meaningful `accessibilityLabel` \n * (via `rest` props) since icons do not contain visible text.\n */\nconst IconButton: React.FC<IconButtonProps> = (rawProps) => {\n const logic = useIconButtonLogic(rawProps);\n const styles = useIconButtonStyle(logic);\n \n const IconComponent = (LucideIcons as any)[logic.icon] || LucideIcons.HelpCircle;\n\n return (\n <Pressable \n style={[styles.container as any, logic.rest.style]} \n onPress={logic.onPress} \n disabled={logic.disabled}\n accessibilityRole=\"button\"\n >\n <IconComponent size={styles.iconSize} color={styles.iconColor} />\n </Pressable>\n );\n};\n\nexport default IconButton;\n","{\"name\":\"IconPicker\",\"description\":\"A searchable grid of icons.\",\"tags\":[\"base\",\"input\",\"picker\",\"icon\"],\"props\":[]}","import { useMemo, useState } from 'react';\nimport IconPickerMeta from './IconPicker.meta.yaml';\n\n/**\n * Props for the IconPicker component.\n */\nexport interface IconPickerProps {\n /** Callback fired when an icon is selected */\n onChange?: (iconName: string) => void;\n /** Currently selected icon */\n value?: string;\n /** Custom styles */\n style?: any;\n /** Catch-all for other props */\n [key: string]: any;\n}\n\n/**\n * Logic hook for the IconPicker component.\n */\nexport function useIconPickerLogic(props: IconPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (IconPickerMeta?.props) {\n IconPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { onChange, value, ...rest } = merged;\n\n const [searchQuery, setSearchQuery] = useState<string>('');\n\n // Comprehensive list of popular Feather icons\n const allIcons: string[] = useMemo(() => [\n 'activity', 'airplay', 'alert-circle', 'alert-octagon', 'alert-triangle', \n 'align-center', 'align-justify', 'align-left', 'align-right', 'anchor', \n 'aperture', 'archive', 'arrow-down', 'arrow-left', 'arrow-right', 'arrow-up', \n 'award', 'bar-chart', 'battery', 'bell', 'bluetooth', 'book', 'bookmark', \n 'box', 'briefcase', 'calendar', 'camera', 'cast', 'check', 'check-circle', \n 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'clipboard', \n 'clock', 'cloud', 'cloud-drizzle', 'cloud-lightning', 'cloud-off', 'cloud-rain', \n 'cloud-snow', 'code', 'codepen', 'command', 'compass', 'copy', 'corner-down-left', \n 'corner-down-right', 'corner-left-down', 'corner-left-up', 'corner-right-down', \n 'corner-right-up', 'corner-up-left', 'corner-up-right', 'cpu', 'credit-card', \n 'crop', 'crosshair', 'database', 'delete', 'disc', 'download', 'download-cloud', \n 'droplet', 'edit', 'edit-2', 'edit-3', 'external-link', 'eye', 'eye-off', \n 'fast-forward', 'feather', 'file', 'file-minus', 'file-plus', 'file-text', \n 'film', 'filter', 'flag', 'folder', 'folder-minus', 'folder-plus', 'gift', \n 'github', 'gitlab', 'globe', 'grid', 'hash', 'headphones', 'heart', 'help-circle', \n 'home', 'image', 'inbox', 'info', 'instagram', 'italic', 'key', 'layers', \n 'layout', 'life-buoy', 'link', 'link-2', 'list', 'loader', 'lock', 'log-in', \n 'log-out', 'mail', 'map', 'map-pin', 'maximize', 'maximize-2', 'menu', 'message-circle', \n 'message-square', 'mic', 'mic-off', 'minimize', 'minimize-2', 'minus', 'minus-circle', \n 'minus-square', 'monitor', 'moon', 'more-horizontal', 'more-vertical', 'mouse-pointer', \n 'move', 'music', 'navigation', 'navigation-2', 'octagon', 'package', 'paperclip', \n 'pause', 'pause-circle', 'pen-tool', 'percent', 'phone', 'phone-call', 'phone-forwarded', \n 'phone-incoming', 'phone-missed', 'phone-off', 'phone-outgoing', 'pie-chart', \n 'play', 'play-circle', 'plus', 'plus-circle', 'plus-square', 'pocket', 'power', \n 'printer', 'radio', 'refresh-ccw', 'refresh-cw', 'repeat', 'rewind', 'rotate-ccw', \n 'rotate-cw', 'rss', 'save', 'scissors', 'search', 'send', 'server', 'settings', \n 'share', 'share-2', 'shield', 'shield-off', 'shopping-bag', 'shopping-cart', \n 'shuffle', 'sidebar', 'skip-back', 'skip-forward', 'slack', 'slash', 'sliders', \n 'smartphone', 'smile', 'speaker', 'square', 'star', 'stop-circle', 'sun', \n 'sunrise', 'sunset', 'tablet', 'tag', 'target', 'terminal', 'thermometer', \n 'thumbs-down', 'thumbs-up', 'toggle-left', 'toggle-right', 'trash', 'trash-2', \n 'trello', 'trending-down', 'trending-up', 'triangle', 'truck', 'tv', 'twitter', \n 'type', 'umbrella', 'underline', 'unlock', 'upload', 'upload-cloud', 'user', \n 'user-check', 'user-minus', 'user-plus', 'user-x', 'users', 'video', 'video-off', \n 'voicemail', 'volume', 'volume-1', 'volume-2', 'volume-x', 'watch', 'wifi', \n 'wifi-off', 'wind', 'x', 'x-circle', 'x-square', 'youtube', 'zap', 'zap-off', \n 'zoom-in', 'zoom-out'\n ], []);\n\n const filteredIcons: string[] = useMemo(() => {\n if (!searchQuery) return allIcons;\n return allIcons.filter((i) => i.toLowerCase().includes(searchQuery.toLowerCase()));\n }, [searchQuery, allIcons]);\n\n const selectIcon = (iconName: string) => {\n if (onChange) onChange(iconName);\n };\n\n return { \n value, \n selectIcon, \n searchQuery, \n setSearchQuery, \n filteredIcons, \n rest \n };\n}\n","import { useMemo } from 'react';\n\nexport function useIconPickerStyle(logic: any) {\n return useMemo(() => ({\n container: {\n padding: 20,\n backgroundColor: '#FFFFFF',\n borderRadius: 24,\n width: '100%',\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 8 },\n shadowOpacity: 0.1,\n shadowRadius: 24,\n elevation: 8,\n borderWidth: 1,\n borderColor: '#F0F0F0',\n },\n header: {\n marginBottom: 16,\n },\n title: {\n fontSize: 18,\n fontWeight: '700',\n color: '#1A202C',\n },\n searchContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n backgroundColor: '#F7FAFC',\n borderRadius: 12,\n borderWidth: 1,\n borderColor: '#E2E8F0',\n paddingHorizontal: 12,\n marginBottom: 20,\n },\n searchIcon: {\n marginRight: 8,\n },\n searchInput: {\n flex: 1,\n paddingVertical: 12,\n fontSize: 16,\n color: '#2D3748',\n },\n clearBtn: {\n padding: 4,\n },\n grid: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: 12,\n justifyContent: 'flex-start',\n },\n iconBtn: {\n width: '21%',\n aspectRatio: 1,\n justifyContent: 'center',\n alignItems: 'center',\n borderRadius: 16,\n backgroundColor: '#F7FAFC',\n borderWidth: 1,\n borderColor: '#E2E8F0',\n },\n iconBtnSelected: {\n backgroundColor: '#3182CE',\n borderColor: '#3182CE',\n shadowColor: '#3182CE',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.3,\n shadowRadius: 8,\n elevation: 4,\n },\n emptyContainer: {\n padding: 40,\n alignItems: 'center',\n justifyContent: 'center',\n },\n emptyText: {\n marginTop: 12,\n fontSize: 16,\n color: '#A0AEC0',\n fontWeight: '500',\n }\n }), [logic]);\n}\n","import React from 'react';\nimport { View, TextInput, Pressable, ScrollView, Text } from 'react-native';\nimport { Feather } from '@expo/vector-icons';\nimport { useIconPickerLogic, IconPickerProps } from './IconPicker.logic';\nimport { useIconPickerStyle } from './IconPicker.style';\n\n/**\n * @component IconPicker\n * @description A robust icon picker with a searchable grid of standard icons. Beautifully styled and typed.\n */\nconst IconPicker: React.FC<IconPickerProps> = (rawProps) => {\n const logic = useIconPickerLogic(rawProps);\n const styles = useIconPickerStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.header as any}>\n <Text style={styles.title as any}>Select an Icon</Text>\n </View>\n \n <View style={styles.searchContainer as any}>\n <Feather name=\"search\" size={20} color=\"#888\" style={styles.searchIcon as any} />\n <TextInput \n style={styles.searchInput as any}\n placeholder=\"Search icons...\"\n placeholderTextColor=\"#888\"\n value={logic.searchQuery}\n onChangeText={logic.setSearchQuery}\n />\n {logic.searchQuery.length > 0 && (\n <Pressable onPress={() => logic.setSearchQuery('')} style={styles.clearBtn as any}>\n <Feather name=\"x-circle\" size={18} color=\"#888\" />\n </Pressable>\n )}\n </View>\n\n <ScrollView style={{ maxHeight: 350 }} showsVerticalScrollIndicator={false}>\n {logic.filteredIcons.length === 0 ? (\n <View style={styles.emptyContainer as any}>\n <Feather name=\"inbox\" size={48} color=\"#CCCCCC\" />\n <Text style={styles.emptyText as any}>No icons found.</Text>\n </View>\n ) : (\n <View style={styles.grid as any}>\n {logic.filteredIcons.map((iconName: string) => {\n const isSelected = logic.value === iconName;\n return (\n <Pressable \n key={iconName} \n onPress={() => logic.selectIcon(iconName)} \n style={[styles.iconBtn as any, isSelected && styles.iconBtnSelected]}\n >\n <Feather \n name={iconName as any} \n size={24} \n color={isSelected ? '#FFFFFF' : '#4A5568'} \n />\n </Pressable>\n );\n })}\n </View>\n )}\n </ScrollView>\n </View>\n );\n};\n\nexport default IconPicker;\n","{\"type\":\"component\",\"id\":\"Image\",\"label\":\"Image\",\"description\":\"Image component with source, resize mode, and placeholder.\",\"category\":\"display\",\"tags\":[\"image\",\"photo\",\"picture\",\"media\"],\"themeMapping\":{\"bg\":\"muted\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"source\",\"label\":\"Source URL\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"alt\",\"label\":\"Alt text\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"resizeMode\",\"label\":\"Resize mode\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"cover\",\"options\":[\"cover\",\"contain\",\"stretch\",\"center\"]},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":200},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Placeholder bg\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"}]}","import { useMemo } from 'react';\nimport ImageMeta from './Image.meta.yaml';\n\n/**\n * Props for the Image component.\n */\nexport interface ImageProps {\n /**\n * The source URI of the image to display.\n */\n src: string;\n /**\n * Alternative text description for accessibility.\n */\n alt?: string;\n /**\n * Determines how the image should be resized to fit its container.\n * Maps to `expo-image`'s `contentFit` prop.\n * - 'cover': Scales the image uniformly so both dimensions are equal to or greater than the corresponding limits.\n * - 'contain': Scales the image uniformly so both dimensions are equal to or less than the corresponding limits.\n * - 'stretch': Scales the image non-uniformly to exactly match the container bounds.\n */\n resizeMode?: 'cover' | 'contain' | 'stretch';\n /**\n * Additional props to pass to the outer container View.\n */\n [key: string]: any;\n}\n\nexport function useImageLogic(props: ImageProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ImageMeta?.props) {\n ImageMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { src, alt, resizeMode, ...rest } = merged;\n\n return { src, alt, resizeMode, rest };\n}\n","\nexport function useImageStyle(logic: any) {\n return {\n container: {\n // Prevents the image from rendering outside the boundaries of this container,\n // particularly useful when applying border radii to the container.\n overflow: 'hidden',\n },\n image: {\n // Ensures the ExpoImage element fills the entire container by default.\n width: '100%',\n height: '100%',\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useImageLogic, ImageProps } from './Image.logic';\nimport { useImageStyle } from './Image.style';\nimport { Image as ExpoImage } from 'expo-image';\n\n/**\n * Image component provides a highly performant image renderer using `expo-image`.\n * \n * Role & Use Cases:\n * Use for rendering local, remote, or cached images across the application.\n * Excellent for lists and grids due to its high performance and caching capabilities.\n * \n * Structure:\n * Wraps `ExpoImage` inside a generic `View` to allow consistent container styling.\n * Applies a default 200ms transition for smooth loading.\n * \n * Accessibility:\n * Utilizes the `accessibilityLabel` mapped from the `alt` prop to ensure screen readers can describe the image.\n */\nconst Image: React.FC<ImageProps> = (rawProps) => {\n const logic = useImageLogic(rawProps);\n const styles = useImageStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <ExpoImage \n source={{ uri: logic.src }} \n style={styles.image as any} \n contentFit={logic.resizeMode === 'cover' ? 'cover' : logic.resizeMode === 'contain' ? 'contain' : 'fill'}\n accessibilityLabel={logic.alt}\n transition={200}\n />\n </View>\n );\n};\n\nexport default Image;\n","{\"type\":\"component\",\"id\":\"LottieAnimation\",\"label\":\"Lottie\",\"description\":\"Lottie animation player.\",\"category\":\"media\",\"tags\":[\"lottie\",\"animation\",\"motion\",\"json\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"source\",\"label\":\"Source URL\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"autoPlay\",\"label\":\"Auto play\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"loop\",\"label\":\"Loop\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"speed\",\"label\":\"Speed\",\"type\":\"number\",\"group\":\"behavior\",\"default\":1},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":200},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":200}]}","import { useMemo } from 'react';\nimport LottieAnimationMeta from './LottieAnimation.meta.yaml';\n\n/**\n * Props for the LottieAnimation component.\n */\nexport interface LottieAnimationProps {\n /**\n * The source of the animation. Can be a local JSON file (via `require`) or a remote URI string.\n */\n source: any;\n /**\n * Indicates whether the animation should start playing automatically when mounted. Defaults to true.\n */\n autoPlay?: boolean;\n /**\n * Indicates whether the animation should loop continuously. Defaults to true.\n */\n loop?: boolean;\n /**\n * Additional properties to pass to the underlying container View.\n */\n [key: string]: any;\n}\n\nexport function useLottieAnimationLogic(props: LottieAnimationProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (LottieAnimationMeta?.props) {\n LottieAnimationMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { source, autoPlay = true, loop = true, ...rest } = merged;\n\n return { source, autoPlay, loop, rest };\n}\n","\nexport function useLottieAnimationStyle(logic: any) {\n return {\n container: {\n // flex: 1 allows the container to expand, accommodating the animation.\n flex: 1,\n // Provides a fallback minimum height so the animation is visible even without explicit dimensions.\n minHeight: 100,\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useLottieAnimationLogic, LottieAnimationProps } from './LottieAnimation.logic';\nimport { useLottieAnimationStyle } from './LottieAnimation.style';\n// Using lottie-react-native\nimport LottieView from 'lottie-react-native';\n\n/**\n * LottieAnimation component renders high-quality vector animations using `lottie-react-native`.\n * \n * Role & Use Cases:\n * Ideal for onboarding screens, success states, or complex loading indicators.\n * \n * Structure:\n * Wraps `LottieView` inside a `View` container to control layout and sizing.\n * Ensures the animation source is correctly parsed whether it's a local require() or a remote URI string.\n * \n * Accessibility:\n * As animations are primarily visual, consider providing a textual description nearby or adding `accessibilityLabel`\n * to the container for screen readers if the animation conveys critical information.\n */\nconst LottieAnimation: React.FC<LottieAnimationProps> = (rawProps) => {\n const logic = useLottieAnimationLogic(rawProps);\n const styles = useLottieAnimationStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.source && (\n <LottieView\n source={typeof logic.source === 'string' ? { uri: logic.source } : logic.source}\n autoPlay={logic.autoPlay}\n loop={logic.loop}\n style={{ width: '100%', height: '100%' }}\n />\n )}\n </View>\n );\n};\n\nexport default LottieAnimation;\n","{\"type\":\"component\",\"id\":\"MapView\",\"label\":\"Map\",\"description\":\"Interactive map view with markers.\",\"category\":\"media\",\"tags\":[\"map\",\"location\",\"gps\",\"marker\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"latitude\",\"label\":\"Latitude\",\"type\":\"number\",\"group\":\"content\",\"default\":48.8566},{\"name\":\"longitude\",\"label\":\"Longitude\",\"type\":\"number\",\"group\":\"content\",\"default\":2.3522},{\"name\":\"zoom\",\"label\":\"Zoom\",\"type\":\"number\",\"group\":\"content\",\"default\":12},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":300},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"lg\"},{\"name\":\"showsUserLocation\",\"label\":\"User location\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true}]}","import { useMemo } from 'react';\nimport MapViewMeta from './MapView.meta.yaml';\n\n/**\n * Props for the MapView component.\n */\nexport interface MapViewProps {\n /**\n * The initial latitude coordinate for the center of the map. Defaults to 48.8566 (Paris).\n */\n latitude?: number;\n /**\n * The initial longitude coordinate for the center of the map. Defaults to 2.3522 (Paris).\n */\n longitude?: number;\n /**\n * The initial zoom level of the map. Higher values zoom in closer. Defaults to 12.\n */\n zoom?: number;\n /**\n * Additional properties to pass to the outer View container.\n */\n [key: string]: any;\n}\n\nexport function useMapViewLogic(props: MapViewProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (MapViewMeta?.props) {\n MapViewMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { latitude = 48.8566, longitude = 2.3522, zoom = 12, ...rest } = merged;\n\n return { latitude, longitude, zoom, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useMapViewStyle(logic: any) {\n const { theme } = useTheme();\n return {\n container: {\n // flex: 1 allows the map container to fill the available space.\n flex: 1,\n // Provides a minimum height so the map doesn't collapse if flex constraints are absent.\n minHeight: 300,\n // Fallback background color shown while the map tiles are loading.\n backgroundColor: theme?.secondary || '#e5e7eb',\n }\n };\n}\n","import React from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport { useMapViewLogic, MapViewProps } from './MapView.logic';\nimport { useMapViewStyle } from './MapView.style';\n// Using react-native-maps\nimport RNMapView, { PROVIDER_GOOGLE } from 'react-native-maps';\n\n/**\n * MapView component integrates `react-native-maps` for displaying interactive maps.\n * \n * Role & Use Cases:\n * Useful for showing locations, tracking routes, or displaying geographical data.\n * Defaults to using the Google Maps provider (`PROVIDER_GOOGLE`).\n * \n * Structure:\n * Wraps `RNMapView` inside a stylized `View` container. Uses `StyleSheet.absoluteFill` \n * to ensure the map fills its container completely.\n * \n * Accessibility:\n * Map interactions can be complex for screen readers. Ensure to provide alternative representations\n * of the map data (like a list of locations) if the map is central to the user experience.\n */\nconst MapView: React.FC<MapViewProps> = (rawProps) => {\n const logic = useMapViewLogic(rawProps);\n const styles = useMapViewStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <RNMapView \n provider={PROVIDER_GOOGLE}\n style={StyleSheet.absoluteFill}\n initialRegion={{\n latitude: logic.latitude,\n longitude: logic.longitude,\n latitudeDelta: 10 / logic.zoom,\n longitudeDelta: 10 / logic.zoom,\n }}\n />\n </View>\n );\n};\n\nexport default MapView;\n","{\"name\":\"NumberInput\",\"description\":\"A specialized input for numbers with increment/decrement steppers.\",\"tags\":[\"base\",\"input\",\"number\",\"stepper\"],\"props\":[]}","import { useMemo, useState, useEffect } from 'react';\nimport NumberInputMeta from './NumberInput.meta.yaml';\n\n/**\n * Props for the NumberInput component.\n */\nexport interface NumberInputProps {\n /** The current numeric value */\n value?: number;\n /** Callback when value changes */\n onChange?: (val: number) => void;\n /** Minimum value allowed */\n min?: number;\n /** Maximum value allowed */\n max?: number;\n /** Step amount for the increment/decrement buttons */\n step?: number;\n /** Whether decimal values are allowed */\n allowDecimal?: boolean;\n /** Error message to display below the input */\n error?: string;\n /** Additional styling or wrapper props */\n [key: string]: any;\n}\n\n/**\n * Custom hook to encapsulate NumberInput business logic.\n */\nexport function useNumberInputLogic(props: NumberInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (NumberInputMeta?.props) {\n NumberInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value = 0, onChange, min, max, step = 1, allowDecimal = false, error, ...rest } = merged;\n\n const [textValue, setTextValue] = useState<string>(value.toString());\n const [isFocused, setIsFocused] = useState(false);\n\n useEffect(() => {\n if (!isFocused && Number(textValue) !== value) {\n setTextValue(value.toString());\n }\n }, [value, isFocused, textValue]);\n\n const updateValue = (newVal: number) => {\n let constrained = newVal;\n if (min !== undefined) constrained = Math.max(min, constrained);\n if (max !== undefined) constrained = Math.min(max, constrained);\n if (onChange && constrained !== value) {\n onChange(constrained);\n }\n setTextValue(constrained.toString());\n };\n\n const handleTextChange = (text: string) => {\n let filtered = text;\n if (!allowDecimal) {\n filtered = text.replace(/[^0-9-]/g, '');\n } else {\n filtered = text.replace(/[^0-9.-]/g, '');\n const parts = filtered.split('.');\n if (parts.length > 2) {\n filtered = parts[0] + '.' + parts.slice(1).join('');\n }\n }\n setTextValue(filtered);\n };\n\n const handleBlur = () => {\n setIsFocused(false);\n const parsed = parseFloat(textValue);\n if (!isNaN(parsed)) {\n updateValue(parsed);\n } else {\n setTextValue(value.toString());\n }\n };\n\n const increment = () => {\n const current = parseFloat(textValue) || 0;\n updateValue(current + step);\n };\n\n const decrement = () => {\n const current = parseFloat(textValue) || 0;\n updateValue(current - step);\n };\n\n return { textValue, handleTextChange, handleBlur, isFocused, setIsFocused, increment, decrement, error, allowDecimal, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\nimport { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useNumberInputStyle(logic: any) {\n const { theme } = useTheme();\n\n return useMemo(() => {\n let borderColor = theme?.border || '#e5e7eb';\n if (logic.error) borderColor = theme?.destructive || '#ef4444';\n else if (logic.isFocused) borderColor = theme?.ring || theme?.primary || '#3b82f6';\n\n return StyleSheet.create({\n wrapper: {\n marginBottom: logic.error ? 4 : 0,\n },\n container: { \n flexDirection: 'row', \n alignItems: 'center', \n borderWidth: 1, \n borderColor: borderColor, \n borderRadius: 8, \n overflow: 'hidden',\n backgroundColor: theme?.background || '#ffffff',\n },\n button: { \n paddingVertical: 12, \n paddingHorizontal: 16,\n backgroundColor: theme?.muted || '#f3f4f6',\n justifyContent: 'center',\n alignItems: 'center',\n },\n buttonPressed: {\n backgroundColor: theme?.border || '#e5e7eb',\n },\n buttonText: {\n fontSize: 18,\n fontWeight: '600',\n color: theme?.foreground || '#111827',\n },\n input: { \n flex: 1, \n textAlign: 'center', \n fontSize: 16,\n color: theme?.foreground || '#111827',\n paddingVertical: 10,\n backgroundColor: 'transparent',\n },\n errorText: {\n color: theme?.destructive || '#ef4444',\n fontSize: 12,\n marginTop: 4,\n marginLeft: 4,\n }\n });\n }, [logic.error, logic.isFocused, theme]);\n}\n","import React from 'react';\nimport { View, Text, Pressable, TextInput } from 'react-native';\nimport { useNumberInputLogic, NumberInputProps } from './NumberInput.logic';\nimport { useNumberInputStyle } from './NumberInput.style';\n\n/**\n * @component NumberInput\n * @description A highly robust numeric input with increment/decrement steppers and format validation.\n */\nconst NumberInput: React.FC<NumberInputProps> = (rawProps) => {\n const logic = useNumberInputLogic(rawProps);\n const styles = useNumberInputStyle(logic);\n\n return (\n <View style={styles.wrapper}>\n <View style={[styles.container, logic.rest.style]} {...logic.rest}>\n <Pressable \n onPress={logic.decrement} \n style={({ pressed }) => [styles.button, pressed && styles.buttonPressed]}\n >\n <Text style={styles.buttonText}>-</Text>\n </Pressable>\n \n <TextInput\n style={styles.input}\n value={logic.textValue}\n onChangeText={logic.handleTextChange}\n onFocus={() => logic.setIsFocused(true)}\n onBlur={logic.handleBlur}\n keyboardType={logic.allowDecimal ? 'decimal-pad' : 'number-pad'}\n />\n\n <Pressable \n onPress={logic.increment} \n style={({ pressed }) => [styles.button, pressed && styles.buttonPressed]}\n >\n <Text style={styles.buttonText}>+</Text>\n </Pressable>\n </View>\n {logic.error ? <Text style={styles.errorText}>{logic.error}</Text> : null}\n </View>\n );\n};\n\nexport default NumberInput;\n","{\"name\":\"OTPInput\",\"description\":\"A multi-cell One-Time-Password input.\",\"tags\":[\"base\",\"input\",\"otp\"],\"props\":[]}","import * as import_react from 'react';\nconst { useMemo, useState, useRef, useEffect } = import_react;\nimport type { TextInput, NativeSyntheticEvent, TextInputKeyPressEventData } from 'react-native';\nimport OTPInputMeta from './OTPInput.meta.yaml';\n\nexport interface OTPInputProps {\n /** The length of the OTP (number of cells) */\n length?: number;\n /** Current value of the OTP */\n value?: string;\n /** Callback when the value changes */\n onChangeText?: (val: string) => void;\n [key: string]: any;\n}\n\nexport function useOTPInputLogic(props: OTPInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (OTPInputMeta?.props) {\n OTPInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { length = 4, value, onChangeText, ...rest } = merged;\n\n const [internalValue, setInternalValue] = useState<string[]>(\n (value || '').padEnd(length, ' ').split('').slice(0, length).map(c => c === ' ' ? '' : c)\n );\n\n useEffect(() => {\n if (value !== undefined) {\n setInternalValue((value || '').padEnd(length, ' ').split('').slice(0, length).map(c => c === ' ' ? '' : c));\n }\n }, [value, length]);\n\n const inputsRef = useRef<Array<TextInput | null>>([]);\n const [focusedIndex, setFocusedIndex] = useState<number | null>(null);\n\n const focusInput = (index: number) => {\n if (index >= 0 && index < length) {\n inputsRef.current[index]?.focus();\n }\n };\n\n const handleChange = (text: string, index: number) => {\n if (text.length > 1) {\n const chars = text.split('').slice(0, length - index);\n const newValues = [...internalValue];\n chars.forEach((char, i) => {\n newValues[index + i] = char;\n });\n setInternalValue(newValues);\n onChangeText?.(newValues.join(''));\n focusInput(Math.min(index + chars.length, length - 1));\n return;\n }\n\n const newValues = [...internalValue];\n newValues[index] = text;\n setInternalValue(newValues);\n onChangeText?.(newValues.join(''));\n\n if (text !== '' && index < length - 1) {\n focusInput(index + 1);\n }\n };\n\n const handleKeyPress = (e: NativeSyntheticEvent<TextInputKeyPressEventData>, index: number) => {\n if (e.nativeEvent.key === 'Backspace' && !internalValue[index] && index > 0) {\n focusInput(index - 1);\n const newValues = [...internalValue];\n newValues[index - 1] = '';\n setInternalValue(newValues);\n onChangeText?.(newValues.join(''));\n }\n };\n\n const handleFocus = (index: number) => setFocusedIndex(index);\n const handleBlur = (index: number) => {\n if (focusedIndex === index) setFocusedIndex(null);\n };\n\n return { length, internalValue, handleChange, handleKeyPress, handleFocus, handleBlur, focusedIndex, inputsRef, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet, Platform } from 'react-native';\n\nexport function useOTPInputStyle(logic: any) {\n return useMemo(() => {\n return StyleSheet.create({\n container: { \n flexDirection: 'row', \n gap: 12,\n justifyContent: 'center',\n alignItems: 'center',\n marginVertical: 16,\n },\n cell: { \n width: 56, \n height: 64, \n borderWidth: 2, \n borderColor: '#E2E8F0', \n borderRadius: 12, \n justifyContent: 'center', \n alignItems: 'center',\n fontSize: 28,\n fontWeight: '700',\n textAlign: 'center',\n color: '#1E293B',\n backgroundColor: '#F8FAFC',\n ...Platform.select({\n web: {\n // @ts-ignore\n outlineStyle: 'none',\n }\n })\n },\n cellFocused: {\n borderColor: '#3B82F6',\n backgroundColor: '#FFFFFF',\n shadowColor: '#3B82F6',\n shadowOffset: { width: 0, height: 0 },\n shadowOpacity: 0.2,\n shadowRadius: 8,\n elevation: 4,\n }\n });\n }, [logic]);\n}\n","import React from 'react';\nimport { View, TextInput } from 'react-native';\nimport { useOTPInputLogic, OTPInputProps } from './OTPInput.logic';\nimport { useOTPInputStyle } from './OTPInput.style';\n\n/**\n * @component OTPInput\n * @description An auto-advancing, multi-cell verification code input.\n */\nconst OTPInput: React.FC<OTPInputProps> = (rawProps) => {\n const logic = useOTPInputLogic(rawProps);\n const styles = useOTPInputStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {Array.from({ length: logic.length }).map((_, i) => (\n <TextInput\n key={i}\n ref={(ref) => { logic.inputsRef.current[i] = ref; }}\n style={[styles.cell as any, logic.focusedIndex === i && styles.cellFocused]}\n value={logic.internalValue[i]}\n onChangeText={(text) => logic.handleChange(text, i)}\n onKeyPress={(e) => logic.handleKeyPress(e, i)}\n onFocus={() => logic.handleFocus(i)}\n onBlur={() => logic.handleBlur(i)}\n keyboardType=\"number-pad\"\n maxLength={logic.length}\n textContentType=\"oneTimeCode\"\n autoComplete=\"one-time-code\"\n testID={`otp-input-${i}`}\n />\n ))}\n </View>\n );\n};\n\nexport default OTPInput;\n","{\"name\":\"PasswordInput\",\"description\":\"A secure text input with visibility toggle.\",\"tags\":[\"base\",\"input\",\"password\",\"secure\"],\"props\":[]}","import * as import_react from 'react';\nconst { useMemo, useState, useCallback } = import_react;\nimport PasswordInputMeta from './PasswordInput.meta.yaml';\nimport { ViewStyle } from 'react-native';\n\nexport type PasswordStrength = 'weak' | 'fair' | 'good' | 'strong';\n\nexport interface PasswordInputProps {\n /** The current password value */\n value?: string;\n /** Callback fired when the text changes */\n onChangeText?: (val: string) => void;\n /** Placeholder text for the input */\n placeholder?: string;\n /** Whether to show the strength meter. Default: true */\n showStrengthMeter?: boolean;\n /** Additional styling */\n style?: ViewStyle;\n [key: string]: any;\n}\n\nexport function usePasswordInputLogic(props: PasswordInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (PasswordInputMeta?.props) {\n PasswordInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n\n const { value = '', onChangeText, placeholder = 'Enter password', showStrengthMeter = true, ...rest } = merged;\n const [isVisible, setIsVisible] = useState(false);\n const toggleVisibility = useCallback(() => setIsVisible((v: boolean) => !v), []);\n\n const calculateStrength = (pwd: string): { score: number, label: PasswordStrength } => {\n let score = 0;\n if (!pwd) return { score: 0, label: 'weak' };\n if (pwd.length >= 8) score += 1;\n if (/[a-z]/.test(pwd) && /[A-Z]/.test(pwd)) score += 1;\n if (/\\d/.test(pwd)) score += 1;\n if (/[^a-zA-Z\\d]/.test(pwd)) score += 1;\n\n if (score <= 1) return { score, label: 'weak' };\n if (score === 2) return { score, label: 'fair' };\n if (score === 3) return { score, label: 'good' };\n return { score, label: 'strong' };\n };\n\n const strength = useMemo(() => calculateStrength(value), [value]);\n\n return { value, onChangeText, placeholder, isVisible, toggleVisibility, showStrengthMeter, strength, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\nimport { PasswordStrength } from './PasswordInput.logic';\n\nexport function usePasswordInputStyle(logic: any) {\n return useMemo(() => {\n const strengthColors: Record<PasswordStrength, string> = {\n weak: '#ff4d4f',\n fair: '#faad14',\n good: '#52c41a',\n strong: '#13c2c2',\n };\n\n const strengthColor = logic.strength.score > 0 ? strengthColors[logic.strength.label as PasswordStrength] : '#e8e8e8';\n\n return StyleSheet.create({\n wrapper: {\n width: '100%',\n marginBottom: 16,\n },\n container: { \n flexDirection: 'row', \n alignItems: 'center', \n borderWidth: 1.5, \n borderColor: '#d9d9d9', \n borderRadius: 12, \n paddingHorizontal: 14,\n backgroundColor: '#ffffff',\n shadowColor: 'rgba(0,0,0,0.05)',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 1,\n shadowRadius: 4,\n elevation: 2,\n },\n containerFocused: {\n borderColor: '#1890ff',\n },\n input: { \n flex: 1, \n height: 52, \n fontSize: 16, \n color: '#333',\n // @ts-ignore\n outlineStyle: \"none\" as any,\n },\n icon: { \n padding: 8,\n marginLeft: 8,\n },\n iconText: {\n fontSize: 14,\n color: '#1890ff',\n fontWeight: '600',\n },\n strengthContainer: {\n marginTop: 8,\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n },\n barsContainer: {\n flexDirection: 'row',\n flex: 1,\n gap: 6,\n marginRight: 12,\n },\n strengthBar: {\n height: 4,\n flex: 1,\n borderRadius: 2,\n backgroundColor: '#e8e8e8',\n },\n strengthBarActive: {\n backgroundColor: strengthColor,\n },\n strengthText: {\n fontSize: 12,\n color: '#8c8c8c',\n fontWeight: '500',\n textTransform: 'capitalize',\n width: 45,\n textAlign: 'right',\n }\n });\n }, [logic.strength]);\n}\n","import React, { useState } from 'react';\nimport { View, Text, Pressable, TextInput } from 'react-native';\nimport { usePasswordInputLogic, PasswordInputProps } from './PasswordInput.logic';\nimport { usePasswordInputStyle } from './PasswordInput.style';\n\n/**\n * @component PasswordInput\n * @description A secure text input with visibility toggle and a visual strength meter.\n */\nconst PasswordInput: React.FC<PasswordInputProps> = (rawProps) => {\n const logic = usePasswordInputLogic(rawProps);\n const styles = usePasswordInputStyle(logic);\n const [isFocused, setIsFocused] = useState(false);\n\n const activeBars = logic.strength.score > 0 ? logic.strength.score : 0;\n\n return (\n <View style={styles.wrapper as any}>\n <View style={[styles.container as any, isFocused && styles.containerFocused as any, logic.rest.style]} {...logic.rest}>\n <TextInput \n secureTextEntry={!logic.isVisible} \n value={logic.value} \n onChangeText={logic.onChangeText} \n placeholder={logic.placeholder} \n placeholderTextColor=\"#bfbfbf\"\n style={styles.input as any} \n onFocus={() => setIsFocused(true)}\n onBlur={() => setIsFocused(false)}\n />\n <Pressable onPress={logic.toggleVisibility} style={styles.icon as any}>\n <Text style={styles.iconText as any}>{logic.isVisible ? 'Hide' : 'Show'}</Text>\n </Pressable>\n </View>\n \n {logic.showStrengthMeter && (\n <View style={styles.strengthContainer as any}>\n <View style={styles.barsContainer as any}>\n {[1, 2, 3, 4].map(index => (\n <View \n key={index} \n style={[\n styles.strengthBar as any,\n index <= activeBars && styles.strengthBarActive as any\n ]} \n />\n ))}\n </View>\n <Text style={styles.strengthText as any}>\n {logic.value ? logic.strength.label : ''}\n </Text>\n </View>\n )}\n </View>\n );\n};\n\nexport default PasswordInput;\n","{\"type\":\"component\",\"id\":\"Pressable\",\"label\":\"Pressable\",\"description\":\"Generic pressable wrapper with feedback.\",\"category\":\"action\",\"tags\":[\"pressable\",\"touchable\",\"tap\",\"click\"],\"themeMapping\":{},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"opacity\",\"label\":\"Press opacity\",\"type\":\"number\",\"group\":\"style\",\"default\":0.7}]}","import { useMemo } from 'react';\nimport PressableMeta from './Pressable.meta.yaml';\n\n/**\n * Props for the Pressable component.\n * Defines the contract for external interactions.\n */\nexport interface PressableProps {\n /**\n * Callback invoked when the user presses the component.\n */\n onPress?: () => void;\n \n /**\n * If true, disables all touch interactions and visually dims the component.\n */\n disabled?: boolean;\n \n /**\n * The content to be rendered inside the pressable area.\n */\n children?: React.ReactNode;\n \n /**\n * Additional props to pass down to the underlying React Native Pressable.\n */\n [key: string]: any;\n}\n\n// Compute meta defaults once outside the hook to save rendering overhead\nconst META_DEFAULTS: Record<string, any> = {};\nif (PressableMeta?.props) {\n PressableMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function usePressableLogic(props: PressableProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { onPress, disabled, children, ...rest } = merged;\n\n return { onPress, disabled, children, rest };\n}\n","export function usePressableStyle(logic: any) {\n return {\n container: {\n // Provide visual feedback by lowering opacity when disabled.\n // This structural choice ensures standard disabled semantics without needing extra wrappers.\n opacity: logic.disabled ? 0.5 : 1,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { Pressable as RNPressable, StyleProp, ViewStyle } from 'react-native';\nimport { usePressableLogic, PressableProps } from './Pressable.logic';\nimport { usePressableStyle } from './Pressable.style';\n\n/**\n * A highly customizable wrapper around React Native's Pressable component.\n * It serves as the base for building interactive elements like buttons, list items, and tabs.\n * \n * **Use Cases:**\n * - Creating custom buttons or interactive cards.\n * - Making any view respond to touch events.\n * \n * **Structure:**\n * Utilizes the native `Pressable` to capture touch interactions without adding additional DOM/View hierarchy.\n * \n * **Accessibility Considerations:**\n * - Ensure `accessibilityRole` and `accessibilityLabel` are passed via props for screen readers.\n * - Visual feedback is necessary (opacity, background color change) when pressed, which can be managed via the `style` prop or the `disabled` state.\n */\nconst Pressable: React.FC<PressableProps> = (rawProps) => {\n const logic = usePressableLogic(rawProps);\n const styles = usePressableStyle(logic);\n \n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <RNPressable \n style={combinedStyle} \n onPress={logic.onPress} \n disabled={logic.disabled}\n {...logic.rest}\n >\n {logic.children}\n </RNPressable>\n );\n};\n\nexport default Pressable;\n","{\"type\":\"component\",\"id\":\"ProgressBar\",\"label\":\"Progress Bar\",\"description\":\"Horizontal progress indicator.\",\"category\":\"feedback\",\"tags\":[\"progress\",\"bar\",\"loading\",\"percentage\"],\"themeMapping\":{\"active\":\"primary\",\"track\":\"muted\"},\"variants\":[],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"progress\",\"label\":\"Progress (0-1)\",\"type\":\"number\",\"group\":\"content\",\"default\":0.5},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"trackColor\",\"label\":\"Track color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"full\"},{\"name\":\"showLabel\",\"label\":\"Show label\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo } from 'react';\nimport ProgressBarMeta from './ProgressBar.meta.yaml';\n\n/**\n * Props for the ProgressBar component.\n */\nexport interface ProgressBarProps {\n /**\n * The current progress value as a percentage (from 0 to 100).\n */\n progress?: number;\n \n /**\n * Additional props to pass down to the container View.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (ProgressBarMeta?.props) {\n ProgressBarMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useProgressBarLogic(props: ProgressBarProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { progress = 0, ...rest } = merged;\n\n // Ensure progress stays within bounds [0, 100]\n const validProgress = Math.max(0, Math.min(100, progress));\n\n return { progress: validProgress, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useProgressBarStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Fixed height and rounded borders for a standard horizontal bar.\n // overflow: 'hidden' ensures the internal fill respects the rounded corners.\n height: 8,\n backgroundColor: theme?.secondary || '#e5e7eb',\n borderRadius: 4,\n overflow: 'hidden',\n },\n fill: {\n // Takes up full height of container.\n // Width is dynamically controlled via logic to represent progress.\n height: '100%',\n backgroundColor: theme?.primary || '#000',\n width: `${logic.progress}%`,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, StyleProp, ViewStyle } from 'react-native';\nimport { useProgressBarLogic, ProgressBarProps } from './ProgressBar.logic';\nimport { useProgressBarStyle } from './ProgressBar.style';\n\n/**\n * A visual component that displays the completion progress of a task.\n * \n * **Use Cases:**\n * - Showing loading progress.\n * - Indicating completion percentage of form steps.\n * \n * **Structure:**\n * A container view with a nested fill view. The width of the nested view represents the progress.\n * \n * **Accessibility Considerations:**\n * - Provide `accessibilityRole=\"progressbar\"` (handled via props if needed).\n * - Consider passing `accessibilityValue={{ now: logic.progress, min: 0, max: 100 }}` to make it readable by screen readers.\n */\nconst ProgressBar: React.FC<ProgressBarProps> = (rawProps) => {\n const logic = useProgressBarLogic(rawProps);\n const styles = useProgressBarStyle(logic);\n\n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedStyle} {...logic.rest}>\n <View style={styles.fill as StyleProp<ViewStyle>} />\n </View>\n );\n};\n\nexport default ProgressBar;\n","{\"type\":\"component\",\"id\":\"RadioGroup\",\"label\":\"Radio Group\",\"description\":\"Group of radio buttons for single selection.\",\"category\":\"input\",\"tags\":[\"radio\",\"group\",\"select\",\"form\"],\"themeMapping\":{\"active\":\"primary\",\"border\":\"border\",\"text\":\"foreground\"},\"variants\":[],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"direction\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"column\",\"options\":[\"column\",\"row\"]},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":2},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"}]}","import { useMemo } from 'react';\nimport RadioGroupMeta from './RadioGroup.meta.yaml';\n\n/**\n * Props for the RadioGroup component.\n */\nexport interface RadioGroupProps {\n /**\n * The currently selected value.\n */\n value?: string;\n \n /**\n * Callback fired when a new radio option is selected.\n */\n onValueChange?: (value: string) => void;\n \n /**\n * Array of options to display in the radio group.\n */\n options: { label: string; value: string }[];\n \n /**\n * If true, disables the entire group and prevents selection changes.\n */\n disabled?: boolean;\n \n /**\n * Additional props to pass to the container view.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (RadioGroupMeta?.props) {\n RadioGroupMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useRadioGroupLogic(props: RadioGroupProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { value, onValueChange, options = [], disabled, ...rest } = merged;\n\n return { value, onValueChange, options, disabled, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useRadioGroupStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n // Stack items vertically by default with a gap for visual separation.\n flexDirection: 'column',\n gap: 12,\n // Provide visual feedback for the entire group when disabled.\n opacity: logic.disabled ? 0.5 : 1,\n },\n item: {\n // Align the custom radio graphic and label horizontally centered.\n flexDirection: 'row',\n alignItems: 'center',\n },\n radio: {\n // Fixed size with border radius equal to half to form a perfect circle.\n width: 18,\n height: 18,\n borderRadius: 9,\n borderWidth: 2,\n borderColor: theme?.primary || '#000',\n justifyContent: 'center',\n alignItems: 'center',\n marginRight: 8,\n },\n radioUnchecked: {\n borderColor: theme?.border || '#e5e7eb',\n },\n dot: {\n // Inner circle indicating checked state.\n width: 10,\n height: 10,\n borderRadius: 5,\n backgroundColor: theme?.primary || '#000',\n },\n label: {\n color: theme?.foreground || '#000',\n fontSize: 14,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, Text, Pressable, StyleProp, ViewStyle, TextStyle } from 'react-native';\nimport { useRadioGroupLogic, RadioGroupProps } from './RadioGroup.logic';\nimport { useRadioGroupStyle } from './RadioGroup.style';\n\n/**\n * A group of radio buttons allowing a single selection from multiple options.\n * \n * **Use Cases:**\n * - Form inputs requiring a single choice from a visible list of options.\n * - Settings panels where users must select one active mode or preference.\n * \n * **Structure:**\n * A container holding multiple `Pressable` items. Each item contains a custom radio button graphic\n * (built with nested views) and a text label.\n * \n * **Accessibility Considerations:**\n * - Should ideally group choices via `accessibilityRole=\"radiogroup\"`.\n * - Each item should have `accessibilityRole=\"radio\"` and `accessibilityState={{ checked: isSelected }}`.\n */\nconst RadioGroup: React.FC<RadioGroupProps> = (rawProps) => {\n const logic = useRadioGroupLogic(rawProps);\n const styles = useRadioGroupStyle(logic);\n\n const combinedContainerStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedContainerStyle} {...logic.rest} accessibilityRole=\"radiogroup\">\n {logic.options.map((opt) => {\n const isSelected = logic.value === opt.value;\n return (\n <Pressable \n key={opt.value} \n style={styles.item as StyleProp<ViewStyle>}\n disabled={logic.disabled}\n onPress={() => logic.onValueChange?.(opt.value)}\n accessibilityRole=\"radio\"\n accessibilityState={{ checked: isSelected, disabled: logic.disabled }}\n >\n <View style={[styles.radio, !isSelected && styles.radioUnchecked] as StyleProp<ViewStyle>}>\n {isSelected && <View style={styles.dot as StyleProp<ViewStyle>} />}\n </View>\n <Text style={styles.label as StyleProp<TextStyle>}>{opt.label}</Text>\n </Pressable>\n );\n })}\n </View>\n );\n};\n\nexport default RadioGroup;\n","{\"name\":\"SearchInput\",\"description\":\"A specialized input for searching with a clear button.\",\"tags\":[\"base\",\"input\",\"search\"],\"props\":[]}","import * as import_react from 'react';\nconst { useMemo, useState, useEffect, useCallback, useRef } = import_react;\nimport SearchInputMeta from './SearchInput.meta.yaml';\nimport { ViewStyle } from 'react-native';\n\nexport interface SearchInputProps {\n /** The search text */\n value?: string;\n /** Callback on text change */\n onChangeText?: (val: string) => void;\n /** Debounce time in ms. Default 300 */\n debounceMs?: number;\n /** Placeholder text */\n placeholder?: string;\n /** Additional styling */\n style?: ViewStyle;\n [key: string]: any;\n}\n\nexport function useSearchInputLogic(props: SearchInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SearchInputMeta?.props) {\n SearchInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value, onChangeText, debounceMs = 300, placeholder = 'Search...', ...rest } = merged;\n\n const [localValue, setLocalValue] = useState(value || '');\n const onChangeTextRef = useRef(onChangeText);\n \n useEffect(() => {\n onChangeTextRef.current = onChangeText;\n }, [onChangeText]);\n \n const timerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n useEffect(() => {\n if (value !== undefined && value !== localValue) {\n setLocalValue(value);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value]);\n\n const handleChangeText = useCallback((text: string) => {\n setLocalValue(text);\n \n if (timerRef.current) clearTimeout(timerRef.current);\n \n if (debounceMs > 0) {\n timerRef.current = setTimeout(() => {\n onChangeTextRef.current?.(text);\n }, debounceMs);\n } else {\n onChangeTextRef.current?.(text);\n }\n }, [debounceMs]);\n\n const clear = useCallback(() => {\n setLocalValue('');\n if (timerRef.current) clearTimeout(timerRef.current);\n onChangeTextRef.current?.('');\n }, []);\n\n // Cleanup\n useEffect(() => {\n return () => {\n if (timerRef.current) clearTimeout(timerRef.current);\n };\n }, []);\n\n return { value: localValue, handleChangeText, placeholder, clear, rest };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\n\nexport function useSearchInputStyle(logic: any) {\n return useMemo(() => {\n return StyleSheet.create({\n wrapper: {\n width: '100%',\n marginBottom: 16,\n },\n container: { \n flexDirection: 'row', \n alignItems: 'center', \n borderWidth: 1.5, \n borderColor: '#e2e8f0', \n borderRadius: 24, \n paddingHorizontal: 16,\n backgroundColor: '#f8fafc',\n shadowColor: 'rgba(0,0,0,0.03)',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 1,\n shadowRadius: 4,\n elevation: 1,\n },\n containerFocused: {\n borderColor: '#3b82f6',\n backgroundColor: '#ffffff',\n shadowColor: 'rgba(59, 130, 246, 0.1)',\n shadowOffset: { width: 0, height: 4 },\n shadowRadius: 8,\n },\n input: { \n flex: 1, \n height: 48, \n fontSize: 16, \n color: '#334155',\n // @ts-ignore\n outlineStyle: \"none\" as any,\n },\n iconLeft: { \n marginRight: 10,\n color: '#94a3b8',\n },\n iconRight: { \n padding: 6,\n marginLeft: 8,\n borderRadius: 16,\n backgroundColor: '#f1f5f9',\n alignItems: 'center',\n justifyContent: 'center',\n }\n });\n }, [logic]);\n}\n","import React, { useState } from 'react';\nimport { View, Pressable, TextInput } from 'react-native';\nimport { useSearchInputLogic, SearchInputProps } from './SearchInput.logic';\nimport { useSearchInputStyle } from './SearchInput.style';\n\n/**\n * @component SearchInput\n * @description A specialized input for searching with debounce and a clear button.\n */\nconst SearchInput: React.FC<SearchInputProps> = (rawProps) => {\n const logic = useSearchInputLogic(rawProps);\n const styles = useSearchInputStyle(logic);\n const [isFocused, setIsFocused] = useState(false);\n\n return (\n <View style={styles.wrapper as any}>\n <View style={[styles.container as any, isFocused && styles.containerFocused as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.iconLeft as any}>\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\n <circle cx=\"11\" cy=\"11\" r=\"8\"></circle>\n <line x1=\"21\" y1=\"21\" x2=\"16.65\" y2=\"16.65\"></line>\n </svg>\n </View>\n \n <TextInput \n value={logic.value} \n onChangeText={logic.handleChangeText} \n placeholder={logic.placeholder} \n placeholderTextColor=\"#94a3b8\"\n style={styles.input as any} \n onFocus={() => setIsFocused(true)}\n onBlur={() => setIsFocused(false)}\n />\n \n {logic.value.length > 0 && (\n <Pressable onPress={logic.clear} style={styles.iconRight as any}>\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\n <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"></line>\n <line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"></line>\n </svg>\n </Pressable>\n )}\n </View>\n </View>\n );\n};\n\nexport default SearchInput;\n","{\"type\":\"component\",\"id\":\"Select\",\"label\":\"Select\",\"description\":\"Dropdown select input with options.\",\"category\":\"input\",\"tags\":[\"select\",\"dropdown\",\"picker\",\"form\"],\"themeMapping\":{\"bg\":\"input\",\"text\":\"foreground\",\"border\":\"border\"},\"variants\":[{\"name\":\"outlined\",\"label\":\"Outlined\",\"overrides\":{\"borderWidth\":1}},{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{\"borderWidth\":0}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"px\":3,\"fontSize\":13,\"labelSize\":11},\"md\":{\"height\":40,\"px\":4,\"fontSize\":15,\"labelSize\":13},\"lg\":{\"height\":48,\"px\":5,\"fontSize\":17,\"labelSize\":14}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"outlined\",\"options\":[\"outlined\",\"filled\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"placeholder\",\"label\":\"Placeholder\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Select...\"},{\"name\":\"error\",\"label\":\"Error message\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"input\"}]}","import { useState } from 'react';\nimport SelectMeta from './Select.meta.yaml';\n\n/**\n * Props for the Select component.\n */\nexport interface SelectProps {\n /**\n * The currently selected value.\n */\n value?: string;\n \n /**\n * Callback fired when a new option is selected.\n */\n onValueChange?: (value: string) => void;\n \n /**\n * List of available choices to pick from.\n */\n options: { label: string; value: string }[];\n \n /**\n * Temporary text shown when no value is selected.\n */\n placeholder?: string;\n \n /**\n * Disables interaction with the picker.\n */\n disabled?: boolean;\n \n /**\n * Additional props to pass to the container view.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (SelectMeta?.props) {\n SelectMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useSelectLogic(props: SelectProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { value, onValueChange, options = [], placeholder, disabled, ...rest } = merged;\n const [isFocused, setIsFocused] = useState(false);\n\n return { value, onValueChange, options, placeholder, disabled, isFocused, setIsFocused, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSelectStyle(logic: any) {\n const { theme } = useTheme();\n \n const borderColor = logic.isFocused ? (theme?.ring || theme?.primary || '#000') : (theme?.border || '#e5e7eb');\n\n return {\n container: {\n // Container maintains its own visual border and background.\n backgroundColor: theme?.background || '#fff',\n borderColor: borderColor,\n borderWidth: 1,\n borderRadius: 6,\n // Padding gives space for the absolutely positioned native picker inside.\n paddingHorizontal: 12,\n paddingVertical: 10,\n opacity: logic.disabled ? 0.5 : 1,\n // Flex row layout keeps text and dropdown icon properly spaced.\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n },\n text: {\n color: logic.value ? (theme?.foreground || '#000') : (theme?.mutedForeground || '#9ca3af'),\n fontSize: 14,\n },\n iconColor: theme?.mutedForeground || '#9ca3af'\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, StyleSheet, StyleProp, ViewStyle } from 'react-native';\nimport { useSelectLogic, SelectProps } from './Select.logic';\nimport { useSelectStyle } from './Select.style';\nimport { Picker } from '@react-native-picker/picker';\n\n/**\n * A dropdown selection component.\n * \n * **Use Cases:**\n * - Forms requiring the user to choose one option from a long list.\n * - Filters or settings where space is limited and options are mutually exclusive.\n * \n * **Structure:**\n * Wraps `@react-native-picker/picker` within a styled container view. The Picker fills the container seamlessly using `absoluteFill`.\n * \n * **Accessibility Considerations:**\n * - The underlying Picker maps to native picker accessibility controls.\n * - Ensure `accessibilityLabel` is provided (via props) so screen readers can announce the purpose of the picker.\n */\nconst Select: React.FC<SelectProps> = (rawProps) => {\n const logic = useSelectLogic(rawProps);\n const styles = useSelectStyle(logic);\n\n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedStyle} {...logic.rest}>\n <Picker\n selectedValue={logic.value}\n onValueChange={(itemValue) => logic.onValueChange?.(itemValue)}\n enabled={!logic.disabled}\n style={StyleSheet.absoluteFill}\n onFocus={() => logic.setIsFocused(true)}\n onBlur={() => logic.setIsFocused(false)}\n >\n {logic.placeholder ? <Picker.Item label={logic.placeholder} value=\"\" color=\"#999\" /> : null}\n {logic.options.map((opt) => (\n <Picker.Item key={opt.value} label={opt.label} value={opt.value} />\n ))}\n </Picker>\n </View>\n );\n};\n\nexport default Select;\n","{\"type\":\"component\",\"id\":\"Separator\",\"label\":\"Separator\",\"description\":\"Visual separator with optional label.\",\"category\":\"display\",\"tags\":[\"separator\",\"divider\",\"or\",\"line\"],\"themeMapping\":{\"color\":\"border\",\"text\":\"mutedForeground\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"thickness\",\"label\":\"Thickness\",\"type\":\"number\",\"group\":\"style\",\"default\":1},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"orientation\",\"label\":\"Orientation\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"horizontal\",\"options\":[\"horizontal\",\"vertical\"]}]}","import SeparatorMeta from './Separator.meta.yaml';\n\n/**\n * Props for the Separator component.\n */\nexport interface SeparatorProps {\n /**\n * The orientation of the separator, deciding if it renders as a line horizontally or vertically.\n */\n orientation?: 'horizontal' | 'vertical';\n \n /**\n * Additional props to pass down to the container View.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (SeparatorMeta?.props) {\n SeparatorMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useSeparatorLogic(props: SeparatorProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { orientation = 'horizontal', ...rest } = merged;\n\n return { orientation, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSeparatorStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n backgroundColor: theme?.border || '#e5e7eb',\n // Dynamically sets width/height depending on orientation to form a thin line.\n width: logic.orientation === 'horizontal' ? '100%' : 1,\n height: logic.orientation === 'horizontal' ? 1 : '100%',\n // Adds spacing around the line based on orientation.\n marginVertical: logic.orientation === 'horizontal' ? 16 : 0,\n marginHorizontal: logic.orientation === 'vertical' ? 16 : 0,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, StyleProp, ViewStyle } from 'react-native';\nimport { useSeparatorLogic, SeparatorProps } from './Separator.logic';\nimport { useSeparatorStyle } from './Separator.style';\n\n/**\n * A visual divider to separate content vertically or horizontally.\n * \n * **Use Cases:**\n * - Dividing list items.\n * - Separating sections of a layout visually.\n * \n * **Structure:**\n * A simple View that alters its width and height based on the `orientation` prop.\n * \n * **Accessibility Considerations:**\n * - Normally purely decorative, so it doesn't need to be read by screen readers.\n * - Consider passing `accessibilityRole=\"none\"` or `accessible={false}` if needed.\n */\nconst Separator: React.FC<SeparatorProps> = (rawProps) => {\n const logic = useSeparatorLogic(rawProps);\n const styles = useSeparatorStyle(logic);\n\n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedStyle} {...logic.rest} />\n );\n};\n\nexport default Separator;\n","{\"type\":\"component\",\"id\":\"Slider\",\"label\":\"Slider\",\"description\":\"Range slider input.\",\"category\":\"input\",\"tags\":[\"slider\",\"range\",\"input\",\"form\"],\"themeMapping\":{\"active\":\"primary\",\"track\":\"muted\"},\"variants\":[],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{\"sm\":{\"trackHeight\":4,\"thumbSize\":16,\"labelSize\":11,\"valueSize\":12},\"md\":{\"trackHeight\":6,\"thumbSize\":20,\"labelSize\":13,\"valueSize\":14}},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"min\",\"label\":\"Min\",\"type\":\"number\",\"group\":\"behavior\",\"default\":0},{\"name\":\"max\",\"label\":\"Max\",\"type\":\"number\",\"group\":\"behavior\",\"default\":100},{\"name\":\"step\",\"label\":\"Step\",\"type\":\"number\",\"group\":\"behavior\",\"default\":1},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"showValue\",\"label\":\"Show value\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"}]}","import SliderMeta from './Slider.meta.yaml';\n\n/**\n * Props for the Slider component.\n */\nexport interface SliderProps {\n /**\n * The current numerical value of the slider.\n */\n value?: number;\n \n /**\n * Callback fired when the slider value changes.\n */\n onValueChange?: (value: number) => void;\n \n /**\n * The minimum allowable value.\n */\n min?: number;\n \n /**\n * The maximum allowable value.\n */\n max?: number;\n \n /**\n * The step size between values.\n */\n step?: number;\n \n /**\n * If true, disables user interaction with the slider.\n */\n disabled?: boolean;\n \n /**\n * Additional props to pass to the container view.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (SliderMeta?.props) {\n SliderMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useSliderLogic(props: SliderProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { value = 0, onValueChange, min = 0, max = 100, step = 1, disabled, ...rest } = merged;\n\n // Calculate percentage for rendering\n const percentage = Math.max(0, Math.min(100, ((value - min) / (max - min)) * 100));\n\n return { value, onValueChange, min, max, step, disabled, percentage, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSliderStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n height: 20,\n // Center the slider vertically within its container.\n justifyContent: 'center',\n opacity: logic.disabled ? 0.5 : 1,\n },\n track: {\n height: 4,\n backgroundColor: theme?.secondary || '#e5e7eb',\n borderRadius: 2,\n width: '100%',\n // Absolute positioning allows layering of track, fill, and thumb (if custom rendering).\n position: 'absolute',\n },\n fill: {\n height: 4,\n backgroundColor: theme?.primary || '#000',\n borderRadius: 2,\n // Dynamic width corresponding to the slider's percentage.\n width: `${logic.percentage}%`,\n position: 'absolute',\n },\n thumb: {\n width: 16,\n height: 16,\n borderRadius: 8,\n backgroundColor: theme?.primary || '#000',\n position: 'absolute',\n // Horizontally offset by percentage to position the thumb along the track.\n left: `${logic.percentage}%`,\n marginLeft: -8, // center thumb based on its width\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { View, StyleProp, ViewStyle } from 'react-native';\nimport { useSliderLogic, SliderProps } from './Slider.logic';\nimport { useSliderStyle } from './Slider.style';\nimport RNSlider from '@react-native-community/slider';\n\n/**\n * A slider component for selecting a value from a continuous or discrete range.\n * \n * **Use Cases:**\n * - Volume or brightness controls.\n * - Selecting a price range or age.\n * \n * **Structure:**\n * Wraps `@react-native-community/slider` to apply unified theme colors and spacing.\n * \n * **Accessibility Considerations:**\n * - The native slider handles basic accessibility (e.g., increment/decrement actions).\n * - Always pass an `accessibilityLabel` or use an adjacent text label so the user knows what the slider controls.\n */\nconst Slider: React.FC<SliderProps> = (rawProps) => {\n const logic = useSliderLogic(rawProps);\n const styles = useSliderStyle(logic);\n\n const combinedStyle = useMemo(() => {\n return [styles.container, logic.rest.style] as StyleProp<ViewStyle>;\n }, [styles.container, logic.rest.style]);\n\n return (\n <View style={combinedStyle} {...logic.rest}>\n <RNSlider\n style={{ width: '100%', height: 40 }}\n minimumValue={logic.min || 0}\n maximumValue={logic.max || 100}\n value={logic.value || 0}\n onValueChange={logic.onValueChange}\n minimumTrackTintColor={styles.fill?.backgroundColor as string || '#000'}\n maximumTrackTintColor={styles.track?.backgroundColor as string || '#ccc'}\n thumbTintColor={styles.thumb?.backgroundColor as string || '#000'}\n disabled={logic.disabled}\n step={logic.step}\n />\n </View>\n );\n};\n\nexport default Slider;\n","{\"type\":\"component\",\"id\":\"Spinner\",\"label\":\"Spinner\",\"description\":\"Loading indicator.\",\"category\":\"feedback\",\"tags\":[\"spinner\",\"loading\",\"indicator\"],\"themeMapping\":{\"color\":\"primary\"},\"variants\":[],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"}]}","import SpinnerMeta from './Spinner.meta.yaml';\n\n/**\n * Props for the Spinner component.\n */\nexport interface SpinnerProps {\n /**\n * Size of the spinner. Usually 'small' or 'large'.\n * Numeric values fallback to 'small' on native platforms, though scaling could be applied.\n */\n size?: 'small' | 'large' | number;\n \n /**\n * Optional custom color for the spinner. Falls back to theme primary color.\n */\n color?: string;\n \n /**\n * Additional props to pass to the container view.\n */\n [key: string]: any;\n}\n\nconst META_DEFAULTS: Record<string, any> = {};\nif (SpinnerMeta?.props) {\n SpinnerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) META_DEFAULTS[p.name] = p.default;\n });\n}\n\nexport function useSpinnerLogic(props: SpinnerProps) {\n const merged = { ...META_DEFAULTS, ...props };\n const { size = 'small', color, ...rest } = merged;\n\n return { size, color, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSpinnerStyle(logic: any) {\n const { theme } = useTheme();\n return {\n // Only extracts the color since the native ActivityIndicator handles its own structural rendering.\n // Falls back to a default black if no theme or explicit color is provided.\n color: logic.color || theme?.primary || '#000000',\n };\n}\n","import React from 'react';\nimport { ActivityIndicator, View } from 'react-native';\nimport { useSpinnerLogic, SpinnerProps } from './Spinner.logic';\nimport { useSpinnerStyle } from './Spinner.style';\n\n/**\n * A loading spinner component to indicate activity or loading state.\n * \n * **Use Cases:**\n * - Showing that data is being fetched.\n * - Indicating a processing state on a button or screen.\n * \n * **Structure:**\n * Wraps React Native's native `ActivityIndicator` inside a `View` container, \n * applying theme colors automatically.\n * \n * **Accessibility Considerations:**\n * - Ensure `accessibilityLabel` (e.g., \"Loading...\") is passed so screen readers can announce the loading state.\n * - Often used with `accessibilityRole=\"progressbar\"`.\n */\nconst Spinner: React.FC<SpinnerProps> = (rawProps) => {\n const logic = useSpinnerLogic(rawProps);\n const styles = useSpinnerStyle(logic);\n\n return (\n <View style={logic.rest.style} {...logic.rest}>\n <ActivityIndicator \n size={typeof logic.size === 'number' ? 'small' : logic.size} \n color={styles.color} \n />\n </View>\n );\n};\n\nexport default Spinner;\n","{\"type\":\"component\",\"id\":\"Switch\",\"label\":\"Switch\",\"description\":\"Toggle switch.\",\"category\":\"input\",\"tags\":[\"switch\",\"toggle\",\"boolean\"],\"themeMapping\":{\"active\":\"primary\",\"track\":\"muted\"},\"variants\":[],\"sizes\":[\"sm\",\"md\"],\"sizeMap\":{\"sm\":{\"scale\":0.8,\"labelSize\":13,\"width\":36,\"height\":20},\"md\":{\"scale\":1,\"labelSize\":15,\"width\":44,\"height\":24}},\"colorMap\":{},\"props\":[{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\"]},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"trackColor\",\"label\":\"Track color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"}]}","import { useMemo, useState, useCallback } from 'react';\nimport SwitchMeta from './Switch.meta.yaml';\n\n/**\n * Props for the Switch component.\n */\nexport interface SwitchProps {\n /**\n * The controlled checked state of the switch.\n * If provided, the switch operates in controlled mode and relies on `onCheckedChange` to update its state.\n */\n checked?: boolean;\n\n /**\n * Callback invoked when the switch's checked state changes.\n * Receives the new boolean state as its argument.\n */\n onCheckedChange?: (checked: boolean) => void;\n\n /**\n * Disables the switch, preventing user interaction and altering its visual opacity.\n */\n disabled?: boolean;\n\n /**\n * Optional text label rendered alongside the switch track.\n * Also serves as the primary accessibility label if provided.\n */\n label?: string;\n\n /**\n * Additional custom props that will be passed down to the root Pressable element.\n */\n [key: string]: any;\n}\n\nexport function useSwitchLogic(props: SwitchProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SwitchMeta?.props) {\n SwitchMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { checked: controlledChecked, onCheckedChange, disabled, label, ...rest } = merged;\n\n const isControlled = controlledChecked !== undefined;\n const [internalChecked, setInternalChecked] = useState(false);\n const checked = isControlled ? controlledChecked : internalChecked;\n\n const handlePress = useCallback(() => {\n if (disabled) return;\n const nextState = !checked;\n if (!isControlled) {\n setInternalChecked(nextState);\n }\n onCheckedChange?.(nextState);\n }, [disabled, checked, isControlled, onCheckedChange]);\n\n return { checked, handlePress, disabled, label, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useSwitchStyle(logic: any) {\n const { theme } = useTheme();\n \n const bgColor = logic.checked ? (theme?.primary || '#000') : (theme?.muted || '#e5e7eb');\n \n return {\n wrapper: {\n /* Flexbox used to align the track and the label side-by-side horizontally. */\n flexDirection: 'row',\n alignItems: 'center',\n /* Reduce opacity to visually indicate disabled state */\n opacity: logic.disabled ? 0.5 : 1,\n },\n track: {\n width: 44,\n height: 24,\n /* Fully rounded corners for a pill shape */\n borderRadius: 12,\n backgroundColor: bgColor,\n /* Center children vertically and horizontally (though thumb translates horizontally) */\n justifyContent: 'center',\n padding: 2,\n },\n thumb: {\n width: 20,\n height: 20,\n /* Fully rounded corners for a circular thumb */\n borderRadius: 10,\n backgroundColor: '#fff',\n /* Subdued shadow to give a slight 3D elevation over the track */\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 0.2,\n shadowRadius: 2,\n elevation: 2,\n /* Note: translateX is applied dynamically via Animated.View in Switch.tsx */\n },\n label: {\n color: theme?.foreground || '#000',\n fontSize: 14,\n /* Spacing between the switch track and the label */\n marginLeft: 8,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useSwitchLogic, SwitchProps } from './Switch.logic';\nimport { useSwitchStyle } from './Switch.style';\nimport Animated, { \n useSharedValue, \n useAnimatedStyle, \n withSpring \n} from 'react-native-reanimated';\n\n/**\n * A highly accessible, animated toggle switch component.\n * \n * @role\n * Provides a boolean input control that allows the user to toggle between checked and unchecked states.\n * \n * @useCases\n * - Settings panels to toggle preferences.\n * - Form fields for boolean choices (e.g., \"I agree to terms\", \"Enable notifications\").\n * \n * @structure\n * - Uses a `Pressable` wrapper for interaction and accessibility.\n * - Contains a `View` acting as the track.\n * - Uses an `Animated.View` from `react-native-reanimated` for the thumb to provide smooth spring animations when toggled.\n * - Optionally renders a `Text` component for the label next to the switch.\n * \n * @accessibility\n * - Implements `accessibilityRole=\"switch\"`.\n * - Uses `accessibilityState` to announce the current `checked` and `disabled` states to screen readers.\n * - Uses `accessibilityLabel` from the provided label or defaults to \"Toggle Switch\".\n */\nconst Switch: React.FC<SwitchProps> = (rawProps) => {\n const logic = useSwitchLogic(rawProps);\n const styles = useSwitchStyle(logic);\n \n const translateX = useSharedValue(logic.checked ? 20 : 0);\n\n useEffect(() => {\n translateX.value = withSpring(logic.checked ? 20 : 0, {\n mass: 1,\n damping: 15,\n stiffness: 120,\n overshootClamping: true,\n restDisplacementThreshold: 0.01,\n restSpeedThreshold: 2,\n });\n }, [logic.checked, translateX]);\n\n const animatedThumbStyle = useAnimatedStyle(() => {\n return {\n transform: [{ translateX: translateX.value }],\n };\n });\n\n return (\n <Pressable \n style={[styles.wrapper as any, logic.rest.style]} \n onPress={logic.handlePress} \n disabled={logic.disabled}\n accessibilityRole=\"switch\"\n accessibilityState={{ checked: logic.checked, disabled: logic.disabled }}\n accessibilityLabel={logic.label || \"Toggle Switch\"}\n >\n <View style={styles.track as any}>\n <Animated.View style={[styles.thumb as any, animatedThumbStyle]} />\n </View>\n {logic.label && <Text style={styles.label as any}>{logic.label}</Text>}\n </Pressable>\n );\n};\n\nexport default Switch;\n","{\"type\":\"component\",\"id\":\"Tabs\",\"label\":\"Tabs\",\"description\":\"Tab navigation with content panels.\",\"category\":\"navigation\",\"tags\":[\"tabs\",\"navigation\",\"panel\",\"switch\"],\"themeMapping\":{\"active\":\"primary\",\"bg\":\"card\",\"border\":\"border\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"activeColor\",\"label\":\"Active color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"position\",\"label\":\"Position\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"top\",\"options\":[\"top\",\"bottom\"]}]}","import { useMemo, useState, useCallback } from 'react';\nimport TabsMeta from './Tabs.meta.yaml';\n\n/**\n * Props for the Tabs component.\n */\nexport interface TabsProps {\n /**\n * An array of tab objects. Each tab must have a unique `key`, a `title` for the tab label,\n * and an optional `content` node to display when active.\n */\n tabs: { key: string; title: string; content?: React.ReactNode }[];\n\n /**\n * The key of the tab that should be active by default upon initial render.\n */\n defaultActiveKey?: string;\n\n /**\n * Callback invoked when the user selects a different tab.\n * Receives the key of the newly selected tab.\n */\n onChange?: (key: string) => void;\n\n /**\n * Additional custom props that will be passed down to the root container.\n */\n [key: string]: any;\n}\n\nexport function useTabsLogic(props: TabsProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TabsMeta?.props) {\n TabsMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { tabs = [], defaultActiveKey, onChange, ...rest } = merged;\n\n const initialKey = defaultActiveKey || (tabs.length > 0 ? tabs[0].key : '');\n const [activeKey, setActiveKey] = useState(initialKey);\n\n const handleTabPress = useCallback((key: string) => {\n setActiveKey(key);\n onChange?.(key);\n }, [onChange]);\n\n return { tabs, activeKey, handleTabPress, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useTabsStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n /* Stack the tab bar above the content area vertically */\n flexDirection: 'column',\n width: '100%',\n },\n tabBar: {\n /* Lay out the tabs horizontally next to each other */\n flexDirection: 'row',\n borderBottomWidth: 1,\n borderBottomColor: theme?.border || '#e5e7eb',\n /* Add some space below the tab bar before the content begins */\n marginBottom: 16,\n },\n tab: {\n paddingVertical: 10,\n paddingHorizontal: 16,\n borderBottomWidth: 2,\n /* Transparent border by default to prevent layout shift when active border appears */\n borderBottomColor: 'transparent',\n },\n tabActive: {\n borderBottomColor: theme?.primary || '#000',\n },\n tabText: {\n color: theme?.mutedForeground || '#6b7280',\n fontSize: 14,\n fontWeight: '500',\n },\n tabTextActive: {\n color: theme?.primary || '#000',\n fontWeight: '600',\n },\n contentContainer: {\n /* Allow the content to fill the remaining available vertical space */\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { View, Text, Pressable } from 'react-native';\nimport { useTabsLogic, TabsProps } from './Tabs.logic';\nimport { useTabsStyle } from './Tabs.style';\n\n/**\n * A navigational component to switch between different views or content panes.\n * \n * @role\n * Provides a tabbed interface allowing users to navigate between distinct sections of content within the same context.\n * \n * @useCases\n * - Switching between different data categories (e.g., \"Recent\", \"Favorites\", \"All\").\n * - Navigating through different settings pages.\n * \n * @structure\n * - Container `View` wrapping the tab bar and the content.\n * - Tab bar `View` holding multiple `Pressable` tabs.\n * - Content `View` displaying the active tab's `ReactNode`.\n * \n * @accessibility\n * - The tab bar uses `accessibilityRole=\"tablist\"`.\n * - Each tab uses `accessibilityRole=\"tab\"`.\n * - The active state is conveyed to screen readers via `accessibilityState={{ selected: isActive }}`.\n */\nconst Tabs: React.FC<TabsProps> = (rawProps) => {\n const logic = useTabsLogic(rawProps);\n const styles = useTabsStyle(logic);\n\n const activeTabContent = logic.tabs.find((t) => t.key === logic.activeKey)?.content;\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <View style={styles.tabBar as any} accessibilityRole=\"tablist\">\n {logic.tabs.map((tab) => {\n const isActive = tab.key === logic.activeKey;\n return (\n <Pressable\n key={tab.key}\n style={[styles.tab as any, isActive && styles.tabActive]}\n onPress={() => logic.handleTabPress(tab.key)}\n accessibilityRole=\"tab\"\n accessibilityState={{ selected: isActive }}\n >\n <Text style={[styles.tabText as any, isActive && styles.tabTextActive]}>\n {tab.title}\n </Text>\n </Pressable>\n );\n })}\n </View>\n <View style={styles.contentContainer as any}>\n {activeTabContent}\n </View>\n </View>\n );\n};\n\nexport default Tabs;\n","{\"type\":\"component\",\"id\":\"Text\",\"label\":\"Text\",\"description\":\"Text display component with typography control.\",\"category\":\"display\",\"tags\":[\"text\",\"label\",\"paragraph\",\"heading\",\"typography\"],\"themeMapping\":{\"color\":\"foreground\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"text\",\"label\":\"Text\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Text\"},{\"name\":\"fontSize\",\"label\":\"Font size\",\"type\":\"number\",\"group\":\"style\",\"default\":14},{\"name\":\"fontWeight\",\"label\":\"Font weight\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"400\",\"options\":[\"300\",\"400\",\"500\",\"600\",\"700\",\"800\"]},{\"name\":\"color\",\"label\":\"Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"foreground\"},{\"name\":\"textAlign\",\"label\":\"Align\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"left\",\"options\":[\"left\",\"center\",\"right\"]},{\"name\":\"numberOfLines\",\"label\":\"Max lines\",\"type\":\"number\",\"group\":\"behavior\"}]}","import { useMemo } from 'react';\nimport TextMeta from './Text.meta.yaml';\n\n/**\n * Props for the Text component.\n */\nexport interface TextProps {\n /**\n * The content to be rendered inside the Text component.\n */\n children?: React.ReactNode;\n\n /**\n * The typography variant determining font size, weight, and default margins.\n */\n variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'p' | 'small' | 'muted';\n\n /**\n * Horizontal text alignment.\n */\n align?: 'left' | 'center' | 'right';\n\n /**\n * Override for the font weight. If omitted, the variant's default weight is used.\n */\n weight?: 'normal' | 'bold' | '600';\n\n /**\n * Additional custom props that will be passed down to the underlying Text component.\n */\n [key: string]: any;\n}\n\nexport function useTextLogic(props: TextProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TextMeta?.props) {\n TextMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, variant = 'p', align = 'left', weight, ...rest } = merged;\n\n return { children, variant, align, weight, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useTextStyle(logic: any) {\n const { theme } = useTheme();\n \n let fontSize = 16;\n let fontWeight = logic.weight || 'normal';\n let color = theme?.foreground || '#000000';\n let marginBottom = 0;\n\n switch (logic.variant) {\n case 'h1': fontSize = 36; fontWeight = logic.weight || 'bold'; marginBottom = 16; break;\n case 'h2': fontSize = 30; fontWeight = logic.weight || 'bold'; marginBottom = 14; break;\n case 'h3': fontSize = 24; fontWeight = logic.weight || '600'; marginBottom = 12; break;\n case 'h4': fontSize = 20; fontWeight = logic.weight || '600'; marginBottom = 10; break;\n case 'small': fontSize = 12; break;\n case 'muted': fontSize = 14; color = theme?.mutedForeground || '#6b7280'; break;\n case 'p':\n default: fontSize = 16; marginBottom = 8; break;\n }\n\n return {\n text: {\n fontSize,\n fontWeight,\n color,\n textAlign: logic.align,\n /* Bottom margin varies depending on typography variant to provide standard spacing */\n marginBottom,\n }\n };\n}\n","import React from 'react';\nimport { Text as RNText } from 'react-native';\nimport { useTextLogic, TextProps } from './Text.logic';\nimport { useTextStyle } from './Text.style';\n\n/**\n * A foundational typography component.\n * \n * @role\n * Renders text on the screen using predefined design system variants.\n * \n * @useCases\n * - Displaying headings, paragraphs, and labels.\n * - Enforcing consistent typography (font sizes, weights, and colors) across the app.\n * \n * @structure\n * - Wraps the React Native `Text` component.\n * \n * @accessibility\n * - Inherits React Native's `Text` accessibility features.\n * - Text content is automatically accessible to screen readers.\n */\nconst Text: React.FC<TextProps> = (rawProps) => {\n const logic = useTextLogic(rawProps);\n const styles = useTextStyle(logic);\n\n return (\n <RNText style={[styles.text as any, logic.rest.style]}>\n {logic.children}\n </RNText>\n );\n};\n\nexport default Text;\n","{\"type\":\"component\",\"id\":\"TextArea\",\"label\":\"Text Area\",\"description\":\"Multi-line text input.\",\"category\":\"input\",\"tags\":[\"textarea\",\"multiline\",\"input\",\"form\"],\"themeMapping\":{\"bg\":\"input\",\"text\":\"foreground\",\"border\":\"border\"},\"variants\":[{\"name\":\"outlined\",\"label\":\"Outlined\",\"overrides\":{\"borderWidth\":1,\"bg\":\"transparent\"}},{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{\"borderWidth\":0}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":80,\"px\":3,\"py\":2,\"fontSize\":13,\"labelSize\":11},\"md\":{\"height\":120,\"px\":4,\"py\":3,\"fontSize\":15,\"labelSize\":13},\"lg\":{\"height\":180,\"px\":5,\"py\":4,\"fontSize\":17,\"labelSize\":14}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"outlined\",\"options\":[\"outlined\",\"filled\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"placeholder\",\"label\":\"Placeholder\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"error\",\"label\":\"Error message\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"numberOfLines\",\"label\":\"Lines\",\"type\":\"number\",\"group\":\"layout\",\"default\":4},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"input\"}]}","import { useMemo, useState, useCallback } from 'react';\nimport TextAreaMeta from './TextArea.meta.yaml';\n\n/**\n * Props for the TextArea component.\n */\nexport interface TextAreaProps {\n /** The controlled text value of the text area. */\n value?: string;\n /** The default text value for an uncontrolled text area. */\n defaultValue?: string;\n /** Callback invoked when the text changes. */\n onChangeText?: (text: string) => void;\n /** Placeholder text shown when the text area is empty. */\n placeholder?: string;\n /** Disables the text area, preventing user input. */\n disabled?: boolean;\n /** Error message to display below the text area. */\n error?: string;\n /** Approximate number of lines to dictate the initial minimum height. */\n lines?: number;\n /** Additional custom props that will be passed to the container View. */\n [key: string]: any;\n}\n\nexport function useTextAreaLogic(props: TextAreaProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TextAreaMeta?.props) {\n TextAreaMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value, defaultValue, onChangeText, placeholder, disabled, error, lines = 3, ...rest } = merged;\n\n const [isFocused, setIsFocused] = useState(false);\n const [contentHeight, setContentHeight] = useState(0);\n\n const handleContentSizeChange = useCallback((e: any) => {\n setContentHeight(e.nativeEvent.contentSize.height);\n }, []);\n\n return { \n value, defaultValue, onChangeText, placeholder, disabled, error, lines, \n isFocused, setIsFocused, contentHeight, handleContentSizeChange, rest \n };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useTextAreaStyle(logic: any) {\n const { theme } = useTheme();\n \n let borderColor = theme?.border || '#e5e7eb';\n if (logic.error) borderColor = theme?.destructive || '#ef4444';\n else if (logic.isFocused) borderColor = theme?.ring || theme?.primary || '#3b82f6';\n\n const baseMinHeight = logic.lines * 20 + 20;\n\n return {\n baseMinHeight,\n container: {\n marginBottom: logic.error ? 4 : 0,\n },\n inputWrapper: {\n backgroundColor: theme?.background || '#ffffff',\n borderColor: borderColor,\n borderWidth: 1,\n borderRadius: 8,\n overflow: 'hidden' as const,\n opacity: logic.disabled ? 0.5 : 1,\n },\n input: {\n flex: 1,\n paddingHorizontal: 12,\n paddingVertical: 10,\n color: theme?.foreground || '#111827',\n fontSize: 16,\n textAlignVertical: 'top' as const,\n },\n placeholderColor: theme?.mutedForeground || '#9ca3af',\n errorText: {\n color: theme?.destructive || '#ef4444',\n fontSize: 12,\n marginTop: 4,\n marginLeft: 4,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { View, TextInput as RNTextInput, Text } from 'react-native';\nimport Animated, { useAnimatedStyle, withTiming, useSharedValue } from 'react-native-reanimated';\nimport { useTextAreaLogic, TextAreaProps } from './TextArea.logic';\nimport { useTextAreaStyle } from './TextArea.style';\n\n/**\n * @component TextArea\n * @description An auto-expanding multi-line text input with smooth height transitions.\n */\nconst TextArea: React.FC<TextAreaProps> = (rawProps) => {\n const logic = useTextAreaLogic(rawProps);\n const styles = useTextAreaStyle(logic);\n\n const animatedHeight = useSharedValue(styles.baseMinHeight);\n\n useEffect(() => {\n const targetHeight = Math.max(styles.baseMinHeight, logic.contentHeight + 20); // Add padding\n animatedHeight.value = withTiming(targetHeight, { duration: 150 });\n }, [logic.contentHeight, styles.baseMinHeight]);\n\n const animatedStyle = useAnimatedStyle(() => {\n return {\n height: animatedHeight.value,\n };\n });\n\n return (\n <View style={[styles.container, logic.rest.style]}>\n <Animated.View style={[styles.inputWrapper, animatedStyle]}>\n <RNTextInput\n style={styles.input}\n value={logic.value}\n defaultValue={logic.defaultValue}\n onChangeText={logic.onChangeText}\n placeholder={logic.placeholder}\n placeholderTextColor={styles.placeholderColor}\n editable={!logic.disabled}\n onFocus={() => logic.setIsFocused(true)}\n onBlur={() => logic.setIsFocused(false)}\n multiline\n onContentSizeChange={logic.handleContentSizeChange}\n />\n </Animated.View>\n {logic.error ? <Text style={styles.errorText}>{logic.error}</Text> : null}\n </View>\n );\n};\n\nexport default TextArea;\n","{\"type\":\"component\",\"id\":\"TextInput\",\"label\":\"Text Input\",\"description\":\"Single-line text input with label, error state, and icon support.\",\"category\":\"input\",\"tags\":[\"input\",\"text\",\"field\",\"form\"],\"themeMapping\":{\"bg\":\"input\",\"text\":\"foreground\",\"border\":\"border\",\"placeholder\":\"mutedForeground\"},\"variants\":[{\"name\":\"outlined\",\"label\":\"Outlined\",\"overrides\":{\"borderWidth\":1,\"bg\":\"transparent\"}},{\"name\":\"filled\",\"label\":\"Filled\",\"overrides\":{\"borderWidth\":0}},{\"name\":\"underline\",\"label\":\"Underline\",\"overrides\":{\"borderWidth\":0,\"borderBottomWidth\":1,\"borderRadius\":\"none\"}}],\"sizes\":[\"sm\",\"md\",\"lg\"],\"sizeMap\":{\"sm\":{\"height\":32,\"px\":3,\"fontSize\":13,\"labelSize\":11},\"md\":{\"height\":40,\"px\":4,\"fontSize\":15,\"labelSize\":13},\"lg\":{\"height\":48,\"px\":5,\"fontSize\":17,\"labelSize\":14}},\"colorMap\":{},\"props\":[{\"name\":\"variant\",\"label\":\"Variant\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"outlined\",\"options\":[\"outlined\",\"filled\",\"underline\"]},{\"name\":\"size\",\"label\":\"Size\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"md\",\"options\":[\"sm\",\"md\",\"lg\"]},{\"name\":\"placeholder\",\"label\":\"Placeholder\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"label\",\"label\":\"Label\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"error\",\"label\":\"Error message\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"disabled\",\"label\":\"Disabled\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"secureEntry\",\"label\":\"Password\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"md\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"input\"},{\"name\":\"borderColor\",\"label\":\"Border color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"}]}","import { useMemo, useState } from 'react';\nimport TextInputMeta from './TextInput.meta.yaml';\n\n/**\n * Props for the TextInput component.\n */\nexport interface TextInputProps {\n /**\n * The controlled text value of the input.\n */\n value?: string;\n\n /**\n * The default text value for an uncontrolled input.\n */\n defaultValue?: string;\n\n /**\n * Callback invoked when the text changes.\n */\n onChangeText?: (text: string) => void;\n\n /**\n * Placeholder text shown when the input is empty.\n */\n placeholder?: string;\n\n /**\n * Disables the input, preventing user interaction.\n */\n disabled?: boolean;\n\n /**\n * Error message to display below the input. Also styles the border red.\n */\n error?: string;\n\n /**\n * Additional custom props that will be passed to the container View.\n */\n [key: string]: any;\n}\n\nexport function useTextInputLogic(props: TextInputProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TextInputMeta?.props) {\n TextInputMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { value, defaultValue, onChangeText, placeholder, disabled, error, ...rest } = merged;\n\n const [isFocused, setIsFocused] = useState(false);\n\n return { value, defaultValue, onChangeText, placeholder, disabled, error, isFocused, setIsFocused, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useTextInputStyle(logic: any) {\n const { theme } = useTheme();\n \n let borderColor = theme?.border || '#e5e7eb';\n if (logic.error) borderColor = theme?.destructive || '#ff0000';\n else if (logic.isFocused) borderColor = theme?.ring || theme?.primary || '#000000';\n\n return {\n container: {\n /* Add slight bottom margin when error text is present to accommodate it */\n marginBottom: logic.error ? 4 : 0,\n },\n input: {\n backgroundColor: theme?.background || '#fff',\n borderColor: borderColor,\n borderWidth: 1,\n borderRadius: 6,\n paddingHorizontal: 12,\n paddingVertical: 10,\n color: theme?.foreground || '#000',\n fontSize: 14,\n /* Reduce opacity when disabled */\n opacity: logic.disabled ? 0.5 : 1,\n },\n placeholderColor: theme?.mutedForeground || '#9ca3af',\n errorText: {\n color: theme?.destructive || '#ff0000',\n fontSize: 12,\n marginTop: 4,\n }\n };\n}\n","import React from 'react';\nimport { View, TextInput as RNTextInput, Text } from 'react-native';\nimport { useTextInputLogic, TextInputProps } from './TextInput.logic';\nimport { useTextInputStyle } from './TextInput.style';\n\n/**\n * A single-line text input component.\n * \n * @role\n * Provides a field for users to enter single-line text content, such as names or email addresses.\n * \n * @useCases\n * - Registration and login forms.\n * - Search bars.\n * \n * @structure\n * - Wraps a React Native `TextInput` inside a `View` container.\n * - Optionally renders an error `Text` below the input.\n * \n * @accessibility\n * - The underlying `TextInput` is naturally accessible.\n * - Error text should ideally be linked to the input via accessibility hints or announcements in a fully accessible form setup.\n */\nconst TextInput: React.FC<TextInputProps> = (rawProps) => {\n const logic = useTextInputLogic(rawProps);\n const styles = useTextInputStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n <RNTextInput\n style={styles.input as any}\n value={logic.value}\n defaultValue={logic.defaultValue}\n onChangeText={logic.onChangeText}\n placeholder={logic.placeholder}\n placeholderTextColor={styles.placeholderColor}\n editable={!logic.disabled}\n onFocus={() => logic.setIsFocused(true)}\n onBlur={() => logic.setIsFocused(false)}\n />\n {logic.error ? <Text style={styles.errorText as any}>{logic.error}</Text> : null}\n </View>\n );\n};\n\nexport default TextInput;\n","{\"type\":\"component\",\"id\":\"Video\",\"label\":\"Voido\",\"description\":\"Video player with controls, autoplay, and loop.\",\"category\":\"media\",\"tags\":[\"video\",\"player\",\"media\",\"stream\"],\"themeMapping\":{\"bg\":\"muted\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"source\",\"label\":\"Source URL\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"poster\",\"label\":\"Poster URL\",\"type\":\"string\",\"group\":\"content\"},{\"name\":\"autoplay\",\"label\":\"Autoplay\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"loop\",\"label\":\"Loop\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"muted\",\"label\":\"Muted\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"controls\",\"label\":\"Show controls\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"resizeMode\",\"label\":\"Resize mode\",\"type\":\"enum\",\"group\":\"style\",\"default\":\"contain\",\"options\":[\"cover\",\"contain\",\"stretch\"]},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":220},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"}]}","import { useMemo, useEffect } from 'react';\nimport { useVideoPlayer } from 'expo-video';\nimport VideoMeta from './Video.meta.yaml';\n\n/**\n * Props for the Video component.\n */\nexport interface VideoProps {\n /**\n * The URI or local path to the video file.\n */\n source: string;\n\n /**\n * If true, the video will start playing automatically once loaded.\n */\n autoPlay?: boolean;\n\n /**\n * If true, the video will restart from the beginning once it reaches the end.\n */\n loop?: boolean;\n\n /**\n * Determines whether native playback controls should be displayed. Defaults to true.\n */\n controls?: boolean;\n\n /**\n * Additional custom props that will be passed to the container View.\n */\n [key: string]: any;\n}\n\nexport function useVideoLogic(props: VideoProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (VideoMeta?.props) {\n VideoMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { source, autoPlay, loop, controls, ...rest } = merged;\n\n const player = useVideoPlayer(source, player => {\n player.loop = loop ?? false;\n if (autoPlay) {\n player.play();\n }\n });\n\n useEffect(() => {\n if (player) {\n player.loop = loop ?? false;\n if (autoPlay && !player.playing) {\n player.play();\n }\n }\n }, [loop, autoPlay, player]);\n\n return { source, autoPlay, loop, controls, player, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useVideoStyle(logic: any) {\n const { theme } = useTheme();\n return {\n container: {\n /* Fill available space by default if placed in a flex container */\n flex: 1,\n /* Ensure the video has a sensible minimum height to avoid zero-height collapses */\n minHeight: 200,\n /* Black background to provide a standard letterbox/pillarbox color */\n backgroundColor: '#000',\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useVideoLogic, VideoProps } from './Video.logic';\nimport { useVideoStyle } from './Video.style';\nimport { VideoView } from 'expo-video';\n\n/**\n * A media component for video playback.\n * \n * @role\n * Embeds and plays video content from a given URI or source.\n * \n * @useCases\n * - Showing tutorials, promotional videos, or user-generated content.\n * - Background videos for landing pages (using autoPlay and loop).\n * \n * @structure\n * - Uses a standard `View` for the container to apply layout constraints.\n * - Relies on `expo-video`'s `VideoView` component for native playback capabilities.\n * \n * @accessibility\n * - Controls should be made accessible natively by `expo-video`. \n * - When controls are hidden (e.g., background video), ensure the video content is strictly decorative or alternate text/captions are provided elsewhere.\n */\nconst Video: React.FC<VideoProps> = (rawProps) => {\n const logic = useVideoLogic(rawProps);\n const styles = useVideoStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.player ? (\n <VideoView\n style={{ width: '100%', height: '100%' }}\n player={logic.player}\n nativeControls={logic.controls ?? true}\n />\n ) : null}\n </View>\n );\n};\n\nexport default Video;\n","{\"type\":\"component\",\"id\":\"WebView\",\"label\":\"WebView\",\"description\":\"Embedded web browser view.\",\"category\":\"media\",\"tags\":[\"webview\",\"browser\",\"iframe\",\"embed\"],\"themeMapping\":{\"bg\":\"muted\"},\"variants\":[],\"sizes\":[],\"sizeMap\":{},\"colorMap\":{},\"props\":[{\"name\":\"url\",\"label\":\"URL\",\"type\":\"string\",\"group\":\"content\",\"default\":\"https://expo.dev\"},{\"name\":\"width\",\"label\":\"Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"height\",\"label\":\"Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":400},{\"name\":\"scrollEnabled\",\"label\":\"Scroll\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"borderRadius\",\"label\":\"Border radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"}]}","import { useMemo } from 'react';\nimport WebViewMeta from './WebView.meta.yaml';\n\n/**\n * Props for the WebView component.\n */\nexport interface WebViewProps {\n /**\n * The URL or URI to load inside the web view.\n */\n source: string;\n\n /**\n * Additional custom props that will be passed to the container View.\n */\n [key: string]: any;\n}\n\nexport function useWebViewLogic(props: WebViewProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (WebViewMeta?.props) {\n WebViewMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { source, ...rest } = merged;\n\n return { source, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useWebViewStyle(logic: any) {\n const { theme } = useTheme();\n\n return {\n container: {\n /* Fill available space by default if placed in a flex container */\n flex: 1,\n /* Provide a minimum height so it doesn't collapse entirely if flex isn't sufficient */\n minHeight: 400,\n backgroundColor: theme?.background || '#fff',\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { useWebViewLogic, WebViewProps } from './WebView.logic';\nimport { useWebViewStyle } from './WebView.style';\nimport RNWebView from 'react-native-webview';\n\n/**\n * An embedded web browser component.\n * \n * @role\n * Renders web content inside a native application view.\n * \n * @useCases\n * - Displaying external websites or articles without leaving the app.\n * - Rendering complex HTML strings or rich text.\n * - Loading web-based auth flows or payment gateways.\n * \n * @structure\n * - Wraps `react-native-webview` inside a `View` container.\n * \n * @accessibility\n * - The web content should inherently implement its own ARIA and semantic HTML for screen readers.\n */\nconst WebView: React.FC<WebViewProps> = (rawProps) => {\n const logic = useWebViewLogic(rawProps);\n const styles = useWebViewStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]}>\n {logic.source && (\n <RNWebView source={{ uri: logic.source }} style={{ flex: 1 }} />\n )}\n </View>\n );\n};\n\nexport default WebView;\n","{\"name\":\"WheelPicker\",\"description\":\"A scrollable barrel wheel picker. If items exceed maxItemsInWheel, a \\\"More...\\\" option opens a submenu modal.\",\"props\":[{\"name\":\"items\",\"type\":\"array\",\"description\":\"Array of items to pick from { label, value }\",\"required\":true},{\"name\":\"value\",\"type\":\"string\",\"description\":\"Currently selected value\"},{\"name\":\"itemHeight\",\"type\":\"number\",\"description\":\"Height of a single item in pixels\",\"default\":40},{\"name\":\"maxItemsInWheel\",\"type\":\"number\",\"description\":\"Maximum number of items to show in the wheel before moving the rest to a submenu\",\"default\":5},{\"name\":\"moreLabel\",\"type\":\"string\",\"description\":\"Label for the \\\"More...\\\" option\",\"default\":\"Plus...\"}]}","import { useMemo, useState, useCallback } from 'react';\nimport { NativeSyntheticEvent, NativeScrollEvent } from 'react-native';\nimport WheelPickerMeta from './WheelPicker.meta.yaml';\n\n/**\n * Represents a single item in the WheelPicker\n */\nexport interface WheelPickerItem {\n /** Display text for the item */\n label: string;\n /** Unique value identifying the item */\n value: string;\n}\n\nexport interface WheelPickerProps {\n /** Array of items to pick from */\n items: WheelPickerItem[];\n /** Currently selected value */\n value?: string;\n /** Callback fired when an item is selected */\n onChange?: (value: string) => void;\n /** Height of a single item in pixels (default: 44) */\n itemHeight?: number;\n /** Maximum number of items to show in the wheel before moving the rest to a submenu (default: 7) */\n maxItemsInWheel?: number;\n /** Label for the \"More...\" option (default: 'More...') */\n moreLabel?: string;\n /** Additional styling or container props */\n [key: string]: any;\n}\n\n/**\n * Custom hook to encapsulate WheelPicker business logic.\n */\nexport function useWheelPickerLogic(props: WheelPickerProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (WheelPickerMeta?.props) {\n WheelPickerMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { \n items = [], \n value, \n onChange, \n itemHeight = 44,\n maxItemsInWheel = 7,\n moreLabel = 'More...',\n ...rest \n } = merged;\n\n const [isSubmenuOpen, setIsSubmenuOpen] = useState(false);\n\n // Compute the visible items in the wheel vs the submenu\n const wheelItems = useMemo(() => {\n if (items.length <= maxItemsInWheel) {\n return items;\n }\n const truncated = items.slice(0, maxItemsInWheel - 1);\n truncated.push({ label: moreLabel, value: '__MORE__' });\n return truncated;\n }, [items, maxItemsInWheel, moreLabel]);\n\n // Find the selected index among the wheel items\n const selectedIndex = useMemo(() => {\n const idx = wheelItems.findIndex((i: WheelPickerItem) => i.value === value);\n return idx >= 0 ? idx : 0;\n }, [wheelItems, value]);\n\n const handleScrollEnd = useCallback((event: NativeSyntheticEvent<NativeScrollEvent>) => {\n const offsetY = event.nativeEvent.contentOffset.y;\n const index = Math.round(offsetY / itemHeight);\n \n if (index >= 0 && index < wheelItems.length) {\n const selectedItem = wheelItems[index];\n if (selectedItem.value === '__MORE__') {\n setIsSubmenuOpen(true);\n } else if (onChange && selectedItem.value !== value) {\n onChange(selectedItem.value);\n }\n }\n }, [itemHeight, wheelItems, onChange, value]);\n\n const selectFromSubmenu = useCallback((val: string) => {\n setIsSubmenuOpen(false);\n if (onChange && val !== value) onChange(val);\n }, [onChange, value]);\n\n return { \n wheelItems, \n allItems: items,\n selectedIndex,\n itemHeight,\n isSubmenuOpen,\n setIsSubmenuOpen,\n handleScrollEnd,\n selectFromSubmenu,\n value,\n onChange,\n rest \n };\n}\n","import { useMemo } from 'react';\nimport { StyleSheet } from 'react-native';\nimport { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useWheelPickerStyle(logic: any) {\n const { theme } = useTheme();\n\n return useMemo(() => StyleSheet.create({\n container: {\n height: logic.itemHeight * 5, \n overflow: 'hidden',\n justifyContent: 'center',\n backgroundColor: theme?.background || '#ffffff',\n borderRadius: 12,\n borderWidth: 1,\n borderColor: theme?.border || '#e5e7eb',\n },\n scrollView: {\n flex: 1,\n },\n itemContainer: {\n height: logic.itemHeight,\n justifyContent: 'center',\n alignItems: 'center',\n paddingHorizontal: 16,\n },\n itemText: {\n fontSize: 18,\n fontWeight: '500',\n color: theme?.foreground || '#111827',\n textAlign: 'center',\n },\n activeHighlight: {\n position: 'absolute',\n top: logic.itemHeight * 2, \n left: 12,\n right: 12,\n height: logic.itemHeight,\n backgroundColor: theme?.muted || 'rgba(0, 0, 0, 0.05)',\n borderRadius: 8,\n pointerEvents: 'none', \n },\n modalOverlay: {\n flex: 1,\n backgroundColor: 'rgba(0,0,0,0.5)',\n justifyContent: 'flex-end',\n },\n modalContent: {\n backgroundColor: theme?.background || '#ffffff',\n borderTopLeftRadius: 24,\n borderTopRightRadius: 24,\n maxHeight: '80%',\n paddingBottom: 32,\n shadowColor: '#000',\n shadowOffset: { width: 0, height: -4 },\n shadowOpacity: 0.1,\n shadowRadius: 12,\n elevation: 10,\n },\n modalHeader: {\n padding: 20,\n borderBottomWidth: 1,\n borderBottomColor: theme?.border || '#e5e7eb',\n alignItems: 'center',\n },\n modalTitle: {\n fontSize: 18,\n fontWeight: '600',\n color: theme?.foreground || '#111827',\n },\n submenuItem: {\n paddingVertical: 16,\n paddingHorizontal: 24,\n borderBottomWidth: 1,\n borderBottomColor: theme?.border || '#f3f4f6',\n },\n submenuItemActive: {\n backgroundColor: theme?.muted || '#f9fafb',\n },\n submenuItemPressed: {\n backgroundColor: theme?.border || '#e5e7eb',\n },\n submenuItemText: {\n fontSize: 16,\n color: theme?.foreground || '#374151',\n },\n submenuItemTextActive: {\n color: theme?.primary || '#3b82f6',\n fontWeight: '700',\n }\n }), [logic.itemHeight, theme]);\n}\n","import React, { useEffect } from 'react';\nimport { View, Text, Modal, Pressable } from 'react-native';\nimport Animated, { \n useAnimatedScrollHandler, \n useSharedValue, \n useAnimatedStyle,\n interpolate,\n Extrapolation,\n useAnimatedRef\n} from 'react-native-reanimated';\nimport { useWheelPickerLogic, WheelPickerProps, WheelPickerItem } from './WheelPicker.logic';\nimport { useWheelPickerStyle } from './WheelPicker.style';\n\n/**\n * Animated wheel item that calculates its 3D rotation based on the scroll position.\n */\nconst AnimatedWheelItem = ({ \n item, \n index, \n scrollY, \n itemHeight, \n styles \n}: { \n item: WheelPickerItem;\n index: number;\n scrollY: Animated.SharedValue<number>;\n itemHeight: number;\n styles: any;\n}) => {\n const animatedStyle = useAnimatedStyle(() => {\n const distance = scrollY.value - index * itemHeight;\n \n const rotateX = interpolate(\n distance,\n [-itemHeight * 2, 0, itemHeight * 2],\n [-50, 0, 50],\n Extrapolation.CLAMP\n );\n\n const scale = interpolate(\n distance,\n [-itemHeight * 2, 0, itemHeight * 2],\n [0.85, 1, 0.85],\n Extrapolation.CLAMP\n );\n\n const opacity = interpolate(\n distance,\n [-itemHeight * 2, 0, itemHeight * 2],\n [0.3, 1, 0.3],\n Extrapolation.CLAMP\n );\n\n const translateY = interpolate(\n distance,\n [-itemHeight * 2, 0, itemHeight * 2],\n [itemHeight * 0.4, 0, -itemHeight * 0.4],\n Extrapolation.CLAMP\n );\n\n return {\n transform: [\n { perspective: 500 },\n { translateY },\n { rotateX: `${rotateX}deg` },\n { scale }\n ],\n opacity,\n };\n });\n\n return (\n <Animated.View style={[styles.itemContainer, animatedStyle]}>\n <Text style={styles.itemText} numberOfLines={1}>{item.label}</Text>\n </Animated.View>\n );\n};\n\n/**\n * @component WheelPicker\n * @description A fully robust 3D scrollable barrel wheel picker with submenu support.\n */\nconst WheelPicker: React.FC<WheelPickerProps> = (rawProps) => {\n const logic = useWheelPickerLogic(rawProps);\n const styles = useWheelPickerStyle(logic);\n const animatedRef = useAnimatedRef<Animated.ScrollView>();\n const scrollY = useSharedValue(logic.selectedIndex * logic.itemHeight);\n\n const scrollHandler = useAnimatedScrollHandler({\n onScroll: (event) => {\n scrollY.value = event.contentOffset.y;\n },\n });\n\n useEffect(() => {\n if (animatedRef.current && logic.selectedIndex >= 0) {\n setTimeout(() => {\n if (animatedRef.current && 'scrollTo' in animatedRef.current) {\n (animatedRef.current as any).scrollTo({ \n y: logic.selectedIndex * logic.itemHeight, \n animated: true \n });\n }\n }, 50);\n }\n }, [logic.selectedIndex, logic.itemHeight]);\n\n return (\n <View style={[styles.container, logic.rest.style]} {...logic.rest}>\n <View style={styles.activeHighlight} />\n \n <Animated.ScrollView\n ref={animatedRef}\n style={styles.scrollView}\n showsVerticalScrollIndicator={false}\n snapToInterval={logic.itemHeight}\n decelerationRate=\"fast\"\n onScroll={scrollHandler}\n scrollEventThrottle={16}\n onMomentumScrollEnd={logic.handleScrollEnd}\n contentContainerStyle={{\n paddingVertical: logic.itemHeight * 2\n }}\n >\n {logic.wheelItems.map((item: WheelPickerItem, idx: number) => (\n <AnimatedWheelItem\n key={`${item.value}-${idx}`}\n item={item}\n index={idx}\n scrollY={scrollY}\n itemHeight={logic.itemHeight}\n styles={styles}\n />\n ))}\n </Animated.ScrollView>\n\n <Modal\n visible={logic.isSubmenuOpen}\n transparent={true}\n animationType=\"slide\"\n onRequestClose={() => logic.setIsSubmenuOpen(false)}\n >\n <View style={styles.modalOverlay}>\n <View style={styles.modalContent}>\n <View style={styles.modalHeader}>\n <Text style={styles.modalTitle}>Select Option</Text>\n </View>\n <Animated.ScrollView bounces={false}>\n {logic.allItems.map((item: WheelPickerItem, idx: number) => (\n <Pressable\n key={`${item.value}-${idx}`}\n style={({ pressed }) => [\n styles.submenuItem,\n logic.value === item.value && styles.submenuItemActive,\n pressed && styles.submenuItemPressed\n ]}\n onPress={() => logic.selectFromSubmenu(item.value)}\n >\n <Text \n style={[\n styles.submenuItemText,\n logic.value === item.value && styles.submenuItemTextActive\n ]}\n >\n {item.label}\n </Text>\n </Pressable>\n ))}\n </Animated.ScrollView>\n </View>\n </View>\n </Modal>\n </View>\n );\n};\n\nexport default WheelPicker;\n","import React from 'react';\nimport { View, Text } from 'react-native';\n\nexport const Placeholder = ({ label }: { label: string }) => {\n return (\n <View style={{\n flex: 1,\n minHeight: 40,\n minWidth: 40,\n borderWidth: 1,\n borderStyle: 'dashed',\n borderColor: 'rgba(150, 150, 150, 0.5)',\n borderRadius: 4,\n margin: 4,\n justifyContent: 'center',\n alignItems: 'center',\n backgroundColor: 'rgba(150, 150, 150, 0.05)',\n }}>\n <Text style={{\n color: 'rgba(150, 150, 150, 0.8)',\n fontSize: 12,\n fontWeight: 'bold',\n textTransform: 'uppercase',\n }}>\n {label}\n </Text>\n </View>\n );\n};\n","{\"type\":\"layout\",\"id\":\"AuthLayout\",\"label\":\"Authentication\",\"description\":\"Panel branding (desktop) + centered form. Mobile: full screen.\",\"category\":\"page\",\"tags\":[\"auth\",\"login\",\"signup\",\"onboarding\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"children\",\"label\":\"Form\",\"required\":true,\"kind\":\"children\"},{\"name\":\"branding\",\"label\":\"Panel branding\",\"required\":false,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"brandingBackground\",\"label\":\"Branding Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"background\",\"group\":\"style\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"brandingRatio\",\"label\":\"Branding Ratio\",\"type\":\"ratio\",\"group\":\"layout\",\"default\":0.5,\"min\":0,\"max\":1},{\"name\":\"padding\",\"label\":\"Form Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"shadowed\",\"label\":\"Mobile Shadow\",\"type\":\"boolean\",\"group\":\"style\",\"default\":true},{\"name\":\"formMaxWidth\",\"label\":\"Form Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":520},{\"name\":\"formScrollPaddingY\",\"label\":\"Scroll Y Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":8},{\"name\":\"formScrollPaddingX\",\"label\":\"Scroll X Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4}]}","import { useMemo } from 'react';\nimport AuthLayoutMeta from './AuthLayout.meta.yaml';\n\n/**\n * Props for the AuthLayout component.\n */\nexport interface AuthLayoutProps {\n /**\n * The visual element to display alongside the authentication form.\n * Typically an Image or SVG component providing branding or context.\n */\n image?: React.ReactNode;\n /**\n * The authentication form components (e.g., inputs, buttons).\n * These are rendered within a centered, padded container.\n */\n children?: React.ReactNode;\n /**\n * Allows overriding standard View properties and extending with custom layout attributes.\n */\n [key: string]: any;\n}\n\nexport function useAuthLayoutLogic(props: AuthLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (AuthLayoutMeta?.props) {\n AuthLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { image, children, ...rest } = merged;\n\n return { image, children, rest };\n}\n","\nexport function useAuthLayoutStyle(logic: any) {\n return {\n // Defines a row-oriented flex container to place the image and form side by side.\n // Fills the entire available space (flex: 1).\n container: {\n flex: 1,\n flexDirection: 'row',\n },\n // Consumes 50% of the space when present. Uses display: 'none' to completely collapse\n // when no image is provided, ensuring the form takes over.\n imageContainer: {\n flex: 1,\n display: logic.image ? 'flex' : 'none',\n },\n // Form container shares equal flex weight (flex: 1) with the image.\n // Centers content horizontally and vertically using justifyContent and alignItems.\n // Adds padding to ensure inputs do not hit the edge of the screen.\n formContainer: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n padding: 32,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useAuthLayoutLogic, AuthLayoutProps } from './AuthLayout.logic';\nimport { useAuthLayoutStyle } from './AuthLayout.style';\n\n/**\n * @component AuthLayout\n * @description\n * AuthLayout provides a foundational structure tailored specifically for authentication screens\n * (e.g., login, registration, password recovery). It splits the viewport into a split-screen \n * layout featuring an illustrative or branding image alongside a dedicated form container.\n *\n * @useCases\n * - Login or Registration pages where a primary marketing image is desired.\n * - Onboarding flows with distinct visual separation between content and input.\n *\n * @structure\n * - Renders a row-based Flexbox container.\n * - Left/Top side: An optional visual container for branding/imagery.\n * - Right/Bottom side: A centered container for authentication forms.\n *\n * @accessibility\n * - Ensure that the provided `image` node contains appropriate `accessibilityLabel` attributes if it conveys meaning.\n * - The form container acts as a standard `View`, but screen readers should be guided sequentially from the image (if any) to the form.\n */\nconst AuthLayout: React.FC<AuthLayoutProps> = (rawProps) => {\n const logic = useAuthLayoutLogic(rawProps);\n const styles = useAuthLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.imageContainer as any}>\n {logic.image || <Placeholder label=\"image\" />}\n </View>\n <View style={styles.formContainer as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </View>\n );\n};\n\nexport default AuthLayout;\n","{\"type\":\"layout\",\"id\":\"BentoLayout\",\"label\":\"Bento\",\"description\":\"Bento box grid with varied cell sizes.\",\"category\":\"content\",\"tags\":[\"bento\",\"grid\",\"mosaic\",\"dashboard\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"items\",\"label\":\"Items\",\"required\":true,\"kind\":\"items\"}],\"responsive\":true,\"animated\":false,\"previewItemCount\":5,\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":2},{\"name\":\"itemBackground\",\"label\":\"Item Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"itemBorderRadius\",\"label\":\"Item Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":1200},{\"name\":\"baseHeight\",\"label\":\"Base Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":200},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"cellConfig\",\"label\":\"Cell Config\",\"type\":\"json\",\"group\":\"content\",\"default\":[]}]}","import { useMemo } from 'react';\nimport BentoLayoutMeta from './BentoLayout.meta.yaml';\n\n/**\n * Props for the BentoLayout component.\n */\nexport interface BentoLayoutProps {\n /**\n * The grid items to be displayed in the bento layout.\n */\n children?: React.ReactNode;\n /**\n * The spacing gap between bento items, measured in pixels.\n * Controls both the row and column gaps equivalently.\n */\n gap?: number;\n /**\n * Allows overriding standard View properties and extending with custom layout attributes.\n */\n [key: string]: any;\n}\n\nexport function useBentoLayoutLogic(props: BentoLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BentoLayoutMeta?.props) {\n BentoLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, gap = 16, ...rest } = merged;\n\n return { children, gap, rest };\n}\n","\nexport function useBentoLayoutStyle(logic: any) {\n return {\n // Uses flex-wrap to allow bento items to flow to subsequent rows.\n // 'gap' establishes spacing between items consistently.\n container: {\n flex: 1,\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: logic.gap,\n },\n // Large items consume the full row width to act as heroes or featured content.\n itemLarge: { flexBasis: '100%', height: 300, marginBottom: logic.gap },\n // Medium items take slightly less than half the space, accommodating the gap.\n itemMedium: { flexBasis: '48%', height: 200, marginBottom: logic.gap },\n // Small items divide into roughly thirds of the row width.\n itemSmall: { flexBasis: '31%', height: 150, marginBottom: logic.gap },\n };\n}\n","import React, { useMemo } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useBentoLayoutLogic, BentoLayoutProps } from './BentoLayout.logic';\nimport { useBentoLayoutStyle } from './BentoLayout.style';\n\n/**\n * @component BentoLayout\n * @description\n * BentoLayout implements a \"bento box\" style grid, dynamically distributing its children \n * into differently sized rectangular compartments. It aims to create an engaging, masonry-like\n * visual hierarchy.\n *\n * @useCases\n * - Dashboards displaying varying widgets (charts, stats, lists).\n * - Portfolios or media galleries requiring dynamic grid weighting.\n *\n * @structure\n * - Employs a flex-wrap row container to flow items continuously.\n * - Wraps each child in a container that simulates bento sizing (large, medium, or small)\n * based on its positional index.\n *\n * @accessibility\n * - The semantic ordering matches the visual DOM flow. \n * - Content should be naturally understandable in sequential order.\n */\nconst BentoLayout: React.FC<BentoLayoutProps> = (rawProps) => {\n const logic = useBentoLayoutLogic(rawProps);\n const styles = useBentoLayoutStyle(logic);\n\n // Naive automatic bento distribution for React Native (can be overridden by children)\n // Wrapped in useMemo to prevent unnecessary recalculations on re-renders\n const wrappedChildren = useMemo(() => {\n return React.Children.map(logic.children, (child, i) => {\n const isFirst = i === 0;\n const isEvenRow = Math.floor(i / 3) % 2 === 0;\n const style = isFirst ? styles.itemLarge : (isEvenRow ? styles.itemMedium : styles.itemSmall);\n \n return (\n <View key={i} style={style as any}>\n {child}\n </View>\n );\n });\n }, [logic.children, styles]);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {wrappedChildren}\n </View>\n );\n};\n\nexport default BentoLayout;\n","{\"type\":\"layout\",\"id\":\"BottomDrawerLayout\",\"label\":\"Bottom Drawer\",\"description\":\"Animated bottom drawer with swipe gesture.\",\"category\":\"navigation\",\"tags\":[\"drawer\",\"bottom-sheet\",\"swipe\",\"modal\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\",\"expo-haptics\"]},\"themeMapping\":{\"root\":\"background\",\"drawer\":\"background\",\"accent\":\"primary\",\"border\":\"border\"},\"slots\":[{\"name\":\"content\",\"label\":\"Main content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"drawerContent\",\"label\":\"Drawer content\",\"required\":true,\"kind\":\"named\"}],\"constants\":{\"springConfig\":{\"damping\":25,\"stiffness\":200,\"mass\":0.5,\"overshootClamping\":true}},\"responsive\":true,\"animated\":true,\"props\":[{\"name\":\"drawerHeight\",\"label\":\"Drawer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":400},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"drawerBackground\",\"label\":\"Drawer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"drawerBorderRadius\",\"label\":\"Drawer Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"3xl\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"defaultOpen\",\"label\":\"Open by Default\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"handleColor\",\"label\":\"Handle Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"backdropOpacity\",\"label\":\"Backdrop Opacity\",\"type\":\"ratio\",\"group\":\"style\",\"default\":0.4,\"min\":0,\"max\":1},{\"name\":\"contentScaleWhenOpen\",\"label\":\"Open Content Scale\",\"type\":\"ratio\",\"group\":\"behavior\",\"default\":0.95,\"min\":0.5,\"max\":1},{\"name\":\"handleBarColor\",\"label\":\"Handle Bar Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"handleButtonSize\",\"label\":\"Handle Button Size\",\"type\":\"number\",\"group\":\"layout\",\"default\":56}]}","import { useMemo } from 'react';\nimport BottomDrawerLayoutMeta from './BottomDrawerLayout.meta.yaml';\n\n/**\n * Props for the BottomDrawerLayout component.\n */\nexport interface BottomDrawerLayoutProps {\n /**\n * The content to display inside the bottom drawer when it is open.\n */\n drawer?: React.ReactNode;\n /**\n * The primary screen content displayed behind the drawer.\n */\n children?: React.ReactNode;\n /**\n * Determines whether the drawer is currently visible (true) or hidden (false).\n */\n isOpen?: boolean;\n /**\n * Callback invoked when the user taps the background overlay to dismiss the drawer.\n */\n onClose?: () => void;\n /**\n * Additional properties to spread onto the main container.\n */\n [key: string]: any;\n}\n\nexport function useBottomDrawerLayoutLogic(props: BottomDrawerLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (BottomDrawerLayoutMeta?.props) {\n BottomDrawerLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { drawer, children, isOpen = false, onClose, ...rest } = merged;\n\n return { drawer, children, isOpen, onClose, rest };\n}\n","\nexport function useBottomDrawerLayoutStyle(logic: any) {\n return {\n // Fills the screen to contain both main content and absolute-positioned drawer overlays.\n container: {\n flex: 1,\n },\n // Covers the entire screen. Uses z-index: 10 to sit above children, but below the drawer.\n overlay: {\n position: 'absolute',\n top: 0, bottom: 0, left: 0, right: 0,\n backgroundColor: 'rgba(0,0,0,0.5)',\n zIndex: 10,\n },\n // Anchors to the bottom of the screen. Uses a higher z-index (20) to sit above the overlay.\n drawer: {\n position: 'absolute',\n bottom: 0, left: 0, right: 0,\n minHeight: 200,\n backgroundColor: '#fff',\n zIndex: 20,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Pressable } from 'react-native';\nimport { useBottomDrawerLayoutLogic, BottomDrawerLayoutProps } from './BottomDrawerLayout.logic';\nimport { useBottomDrawerLayoutStyle } from './BottomDrawerLayout.style';\n\n/**\n * @component BottomDrawerLayout\n * @description\n * BottomDrawerLayout provides a primary content area overlaid with a dismissible drawer\n * that slides up from the bottom of the screen.\n *\n * @useCases\n * - Displaying secondary contextual actions or menus.\n * - Presenting supplementary information without navigating away from the main screen.\n *\n * @structure\n * - A main content container (flex: 1).\n * - A semi-transparent overlay covering the screen when the drawer is open (captures taps to close).\n * - A bottom-anchored drawer container holding the drawer content.\n *\n * @accessibility\n * - The overlay acts as a dismiss button. It should properly describe its \"close\" action to screen readers.\n * - When open, focus should ideally be trapped within the drawer or immediately directed to it.\n */\nconst BottomDrawerLayout: React.FC<BottomDrawerLayoutProps> = (rawProps) => {\n const logic = useBottomDrawerLayoutLogic(rawProps);\n const styles = useBottomDrawerLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n {logic.isOpen && (\n <>\n <Pressable \n style={styles.overlay as any} \n onPress={logic.onClose} \n accessibilityRole=\"button\"\n accessibilityLabel=\"Close drawer\"\n />\n <View style={styles.drawer as any}>\n {logic.drawer || <Placeholder label=\"drawer\" />}\n </View>\n </>\n )}\n </View>\n );\n};\n\nexport default BottomDrawerLayout;\n","{\"type\":\"layout\",\"id\":\"CenteredLayout\",\"label\":\"Centered\",\"description\":\"Centered content with optional card and maxWidth.\",\"category\":\"page\",\"tags\":[\"centered\",\"form\",\"onboarding\",\"modal\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":true,\"kind\":\"children\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"maxWidth\",\"label\":\"Card Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":500},{\"name\":\"padding\",\"label\":\"Card Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"background\",\"label\":\"Page Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"cardBackground\",\"label\":\"Card Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"3xl\"},{\"name\":\"shadowed\",\"label\":\"Card Shadow\",\"type\":\"boolean\",\"group\":\"style\",\"default\":false},{\"name\":\"mobilePadding\",\"label\":\"Mobile Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"desktopPadding\",\"label\":\"Desktop Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":6}]}","import { useMemo } from 'react';\nimport CenteredLayoutMeta from './CenteredLayout.meta.yaml';\n\n/**\n * Props for the CenteredLayout component.\n */\nexport interface CenteredLayoutProps {\n /**\n * The content to be centered horizontally and vertically.\n */\n children?: React.ReactNode;\n /**\n * Additional styles or View properties for the container.\n */\n [key: string]: any;\n}\n\nexport function useCenteredLayoutLogic(props: CenteredLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (CenteredLayoutMeta?.props) {\n CenteredLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nexport function useCenteredLayoutStyle(logic: any) {\n return {\n // Flex: 1 to ensure it fills the parent container completely.\n // Center items on both the main axis and cross axis.\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useCenteredLayoutLogic, CenteredLayoutProps } from './CenteredLayout.logic';\nimport { useCenteredLayoutStyle } from './CenteredLayout.style';\n\n/**\n * @component CenteredLayout\n * @description\n * CenteredLayout is a simple utility layout that perfectly centers its children \n * both horizontally and vertically within the available space.\n *\n * @useCases\n * - Loading screens with a central spinner.\n * - Error states or \"empty\" states displaying a central icon and message.\n * - Splash screens.\n *\n * @structure\n * - A single Flexbox container taking up all available space.\n * - Employs justifyContent and alignItems to center contents.\n *\n * @accessibility\n * - Transparent from an accessibility perspective; it simply groups elements visually.\n * - Ensure child elements have appropriate accessibility roles if needed.\n */\nconst CenteredLayout: React.FC<CenteredLayoutProps> = (rawProps) => {\n const logic = useCenteredLayoutLogic(rawProps);\n const styles = useCenteredLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n );\n};\n\nexport default CenteredLayout;\n","{\"type\":\"layout\",\"id\":\"DashboardLayout\",\"label\":\"Dashboard\",\"description\":\"Fixed header, collapsible sidebar, scrollable content, optional footer.\",\"category\":\"page\",\"tags\":[\"dashboard\",\"admin\",\"sidebar\",\"header\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\"]},\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"header\",\"label\":\"Header\",\"required\":true,\"kind\":\"named\"},{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"sidebar\",\"label\":\"Sidebar\",\"required\":false,\"kind\":\"named\"},{\"name\":\"footer\",\"label\":\"Footer\",\"required\":false,\"kind\":\"named\"}],\"responsive\":true,\"animated\":true,\"props\":[{\"name\":\"sidebarWidth\",\"label\":\"Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":260},{\"name\":\"sidebarCollapsedWidth\",\"label\":\"Collapsed Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":70},{\"name\":\"headerHeight\",\"label\":\"Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":70},{\"name\":\"footerHeight\",\"label\":\"Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"disableContentScroll\",\"label\":\"Disable Content Scroll\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"headerBackground\",\"label\":\"Header Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"sidebarBackground\",\"label\":\"Sidebar Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"contentBackground\",\"label\":\"Content Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"footerBackground\",\"label\":\"Footer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"headerPaddingX\",\"label\":\"Header X Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"mobileHeaderMinHeight\",\"label\":\"Min Mobile Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"defaultSidebarCollapsed\",\"label\":\"Sidebar Collapsed by Default\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo } from 'react';\nimport DashboardLayoutMeta from './DashboardLayout.meta.yaml';\n\n/**\n * Props for the DashboardLayout component.\n */\nexport interface DashboardLayoutProps {\n /**\n * The React node to render in the left-hand sidebar container.\n */\n sidebar?: React.ReactNode;\n /**\n * The React node to render in the top header container above the main content.\n */\n header?: React.ReactNode;\n /**\n * The primary application content rendered below the header.\n */\n children?: React.ReactNode;\n /**\n * The fixed width of the sidebar. Defaults to 250.\n */\n sidebarWidth?: number;\n /**\n * Additional properties to spread onto the outermost container.\n */\n [key: string]: any;\n}\n\nexport function useDashboardLayoutLogic(props: DashboardLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (DashboardLayoutMeta?.props) {\n DashboardLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { sidebar, header, children, sidebarWidth = 250, ...rest } = merged;\n\n return { sidebar, header, children, sidebarWidth, rest };\n}\n","\nexport function useDashboardLayoutStyle(logic: any) {\n return {\n // Horizontal flex layout to place the sidebar and main content side-by-side.\n container: {\n flex: 1,\n flexDirection: 'row',\n },\n // Sidebar uses a fixed width determined by logic, and a right border for visual separation.\n sidebarContainer: {\n width: logic.sidebarWidth,\n borderRightWidth: 1,\n borderRightColor: '#e5e7eb',\n },\n // Main area takes up all remaining horizontal space, switching to a column layout \n // to stack the header above the children.\n mainContainer: {\n flex: 1,\n flexDirection: 'column',\n },\n // Header gets a bottom border to delineate it from the main content.\n headerContainer: {\n borderBottomWidth: 1,\n borderBottomColor: '#e5e7eb',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useDashboardLayoutLogic, DashboardLayoutProps } from './DashboardLayout.logic';\nimport { useDashboardLayoutStyle } from './DashboardLayout.style';\n\n/**\n * @component DashboardLayout\n * @description\n * DashboardLayout provides a classic web-style app layout, typically featuring a fixed \n * vertical sidebar on the left and a top header spanning the remaining width.\n *\n * @useCases\n * - Admin panels or complex data-heavy applications.\n * - Navigation-heavy apps needing a persistent menu across all screens.\n *\n * @structure\n * - Outer container uses a row-based Flexbox layout.\n * - Left side: A sidebar with a fixed or dynamically provided width.\n * - Right side: A main content column (flex: 1).\n * - Main column top: A header container.\n * - Main column bottom: The primary scrolling children content.\n *\n * @accessibility\n * - Ensure logical tab-ordering from Sidebar -> Header -> Main Content.\n * - Wrap sidebar items in proper accessible touch targets.\n */\nconst DashboardLayout: React.FC<DashboardLayoutProps> = (rawProps) => {\n const logic = useDashboardLayoutLogic(rawProps);\n const styles = useDashboardLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.sidebarContainer as any}>\n {logic.sidebar || <Placeholder label=\"sidebar\" />}\n </View>\n <View style={styles.mainContainer as any}>\n <View style={styles.headerContainer as any}>\n {logic.header || <Placeholder label=\"header\" />}\n </View>\n <View style={{ flex: 1 }}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </View>\n </View>\n );\n};\n\nexport default DashboardLayout;\n","{\"type\":\"layout\",\"id\":\"DeckLayout\",\"label\":\"Deck\",\"description\":\"Swipeable card stack with depth effect.\",\"category\":\"card\",\"tags\":[\"deck\",\"cards\",\"swipe\",\"tinder\",\"stack\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\",\"expo-haptics\"]},\"slots\":[{\"name\":\"items\",\"label\":\"Cards\",\"required\":true,\"kind\":\"items\"}],\"constants\":{\"swipeThreshold\":60,\"exitDistance\":450,\"springConfig\":{\"damping\":20,\"stiffness\":200,\"mass\":0.5}},\"responsive\":false,\"animated\":true,\"previewItemCount\":4,\"props\":[{\"name\":\"peekOffset\",\"label\":\"Peek Offset\",\"type\":\"number\",\"group\":\"layout\",\"default\":12},{\"name\":\"peekScale\",\"label\":\"Peek Scale\",\"type\":\"ratio\",\"group\":\"layout\",\"default\":0.05,\"min\":0,\"max\":0.2},{\"name\":\"cycle\",\"label\":\"Loop\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"cardShadow\",\"label\":\"Card Shadows\",\"type\":\"boolean\",\"group\":\"style\",\"default\":true},{\"name\":\"cardBackground\",\"label\":\"Card Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"cardBorderRadius\",\"label\":\"Card Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":24},{\"name\":\"containerWidth\",\"label\":\"Container Width\",\"type\":\"string\",\"group\":\"layout\",\"default\":\"90%\"},{\"name\":\"containerHeight\",\"label\":\"Container Height\",\"type\":\"string\",\"group\":\"layout\",\"default\":\"75%\"},{\"name\":\"peekCount\",\"label\":\"Background Cards\",\"type\":\"number\",\"group\":\"layout\",\"default\":2},{\"name\":\"peekRotation\",\"label\":\"Peek Rotation\",\"type\":\"number\",\"group\":\"layout\",\"default\":0},{\"name\":\"direction\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"horizontal\",\"options\":[\"horizontal\",\"vertical\"]},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"}]}","import { useMemo } from 'react';\nimport DeckLayoutMeta from './DeckLayout.meta.yaml';\n\n/**\n * Props for the DeckLayout component.\n */\nexport interface DeckLayoutProps {\n /**\n * The individual cards to be rendered within the deck stack.\n * Each child represents a swipable card.\n */\n children?: React.ReactNode;\n /**\n * Additional styles or View properties for the background container.\n */\n [key: string]: any;\n}\n\nexport function useDeckLayoutLogic(props: DeckLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (DeckLayoutMeta?.props) {\n DeckLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nexport function useDeckLayoutStyle(logic: any) {\n return {\n // Centers the stack of cards in the middle of the screen.\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n },\n // Absolute positioning allows cards to overlap each other (stacked on Z-axis).\n // Adds shadows for a physical card depth effect.\n card: {\n position: 'absolute',\n width: '80%',\n height: '70%',\n backgroundColor: '#fff',\n borderRadius: 16,\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 0.25,\n shadowRadius: 3.84,\n elevation: 5,\n }\n };\n}\n","import React, { useMemo } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Dimensions } from 'react-native';\nimport Animated, { useAnimatedStyle, useSharedValue, withSpring, runOnJS } from 'react-native-reanimated';\nimport { GestureDetector, Gesture } from 'react-native-gesture-handler';\nimport { useDeckLayoutLogic, DeckLayoutProps } from './DeckLayout.logic';\nimport { useDeckLayoutStyle } from './DeckLayout.style';\n\nconst { width } = Dimensions.get('window');\n\n/**\n * @component DeckLayout\n * @description\n * DeckLayout implements a Tinder-like swipable card interface. Children are rendered as \n * stacked cards that users can drag and swipe away to reveal the next item.\n *\n * @useCases\n * - Discovery interfaces (matching apps, product discovery).\n * - Flashcards or bite-sized educational content.\n *\n * @structure\n * - Cards are stacked absolutely on top of each other in the center of the screen.\n * - Uses Reanimated and Gesture Handler to track pans and animate standard deck interactions.\n * - Z-index is dynamically assigned to keep the active card on top and scaled correctly.\n *\n * @accessibility\n * - Swiping actions should have accessible alternative buttons for users with motor impairments.\n * - The active card must clearly announce its contents. Hidden cards should ideally have `importantForAccessibility=\"no\"`.\n */\nconst DeckLayout: React.FC<DeckLayoutProps> = (rawProps) => {\n const logic = useDeckLayoutLogic(rawProps);\n const styles = useDeckLayoutStyle(logic);\n const [currentIndex, setCurrentIndex] = React.useState(0);\n\n const translateX = useSharedValue(0);\n const translateY = useSharedValue(0);\n\n const nextCard = () => {\n setCurrentIndex((prev) => prev + 1);\n };\n\n const pan = Gesture.Pan()\n .onUpdate((event) => {\n translateX.value = event.translationX;\n translateY.value = event.translationY;\n })\n .onEnd((event) => {\n if (Math.abs(event.translationX) > width * 0.3) {\n translateX.value = withSpring(Math.sign(event.translationX) * width * 1.5);\n runOnJS(nextCard)();\n } else {\n translateX.value = withSpring(0);\n translateY.value = withSpring(0);\n }\n });\n\n const animatedStyle = useAnimatedStyle(() => {\n return {\n transform: [\n { translateX: translateX.value },\n { translateY: translateY.value },\n { rotate: `${translateX.value / 15}deg` }\n ],\n };\n });\n\n const childrenArray = React.Children.toArray(logic.children);\n \n // Memoize visible children slicing to prevent unnecessary calculations\n const visibleChildren = useMemo(() => {\n return childrenArray.slice(currentIndex, currentIndex + 3);\n }, [childrenArray, currentIndex]);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {visibleChildren.map((child, index) => {\n const isFirst = index === 0;\n const scale = 1 - index * 0.05;\n const top = 15 + index * 5;\n \n if (isFirst) {\n return (\n <GestureDetector gesture={pan} key={currentIndex}>\n <Animated.View style={[styles.card as any, animatedStyle, { top: `${top}%`, zIndex: 100 }]}>\n {child}\n </Animated.View>\n </GestureDetector>\n );\n }\n \n return (\n <View \n style={[styles.card as any, { top: `${top}%`, transform: [{ scale }], zIndex: 100 - index }]} \n key={currentIndex + index}\n importantForAccessibility=\"no\"\n >\n {child}\n </View>\n );\n }).reverse()}\n </View>\n );\n};\n\nexport default DeckLayout;\n","{\"type\":\"layout\",\"id\":\"FlexLayout\",\"label\":\"Flex\",\"description\":\"Adaptive direction, wrap, and spacing. Optional scroll.\",\"category\":\"content\",\"tags\":[\"flex\",\"row\",\"column\",\"wrap\",\"adaptive\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"children\",\"label\":\"Elements\",\"required\":true,\"kind\":\"children\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"direction\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"row\",\"options\":[\"row\",\"column\"]},{\"name\":\"wrap\",\"label\":\"Wrap Line\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"align\",\"label\":\"Align Items\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"stretch\",\"options\":[\"stretch\",\"flex-start\",\"center\",\"flex-end\",\"baseline\"]},{\"name\":\"justify\",\"label\":\"Justify Content\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"flex-start\",\"options\":[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"]},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"}]}","import { useMemo } from 'react';\nimport FlexLayoutMeta from './FlexLayout.meta.yaml';\n\n/**\n * Props for the FlexLayout component.\n */\nexport interface FlexLayoutProps {\n /**\n * The React elements to render inside the layout.\n */\n children?: React.ReactNode;\n /**\n * Defines the primary axis of the flex container.\n * 'row' arranges children horizontally, 'column' vertically.\n * Defaults to 'column'.\n */\n direction?: 'row' | 'column';\n /**\n * The spacing between adjacent flex items in pixels.\n * Defaults to 0.\n */\n gap?: number;\n /**\n * Additional properties to pass to the underlying React Native View component.\n */\n [key: string]: any;\n}\n\nexport function useFlexLayoutLogic(props: FlexLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FlexLayoutMeta?.props) {\n FlexLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, direction = 'column', gap = 0, ...rest } = merged;\n\n return { children, direction, gap, rest };\n}\n","/**\n * Styles for the FlexLayout component.\n * \n * Structural choices:\n * - flex: 1 enables the container to expand and fill available space.\n * - flexDirection determines the primary axis of arrangement based on logic.\n * - gap provides a consistent spacing between child elements using flex gap.\n */\nexport function useFlexLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: logic.direction,\n gap: logic.gap,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useFlexLayoutLogic, FlexLayoutProps } from './FlexLayout.logic';\nimport { useFlexLayoutStyle } from './FlexLayout.style';\n\n/**\n * A flexible layout component that arranges its children in a row or column.\n * It uses flexbox under the hood and allows configuring the primary axis \n * and gap between elements.\n * \n * Use cases:\n * - Simple linear arrangements of components (e.g., toolbars, lists).\n * - Distributing space evenly along a single axis.\n * \n * Accessibility considerations:\n * - Make sure to pass appropriate accessibility labels to the underlying `View` if this layout serves a semantic purpose.\n */\nconst FlexLayout: React.FC<FlexLayoutProps> = (rawProps) => {\n const logic = useFlexLayoutLogic(rawProps);\n const styles = useFlexLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n );\n};\n\nexport default FlexLayout;\n","{\"type\":\"layout\",\"id\":\"FlipLayout\",\"label\":\"Flip\",\"description\":\"Carousel with front/back flip and horizontal swipe.\",\"category\":\"card\",\"tags\":[\"flip\",\"card\",\"recto-verso\",\"flashcard\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\"]},\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"items\",\"label\":\"Front Faces\",\"required\":true,\"kind\":\"items\"},{\"name\":\"backContent\",\"label\":\"Back Faces\",\"required\":false,\"kind\":\"named-array\"}],\"constants\":{\"flipThreshold\":22,\"scaleFactor\":0.92,\"flipScaleFactor\":0.9,\"springNoBounce\":{\"damping\":30,\"stiffness\":240,\"mass\":0.6},\"springSnap\":{\"damping\":35,\"stiffness\":300,\"mass\":0.5},\"exitLeft\":-700,\"exitRight\":700},\"responsive\":false,\"animated\":true,\"previewItemCount\":3,\"props\":[{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"cardBackground\",\"label\":\"Card Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"flipPerspective\",\"label\":\"Flip Perspective\",\"type\":\"number\",\"group\":\"layout\",\"default\":1200},{\"name\":\"swipeThreshold\",\"label\":\"Swipe Threshold\",\"type\":\"number\",\"group\":\"behavior\",\"default\":40},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"cardBorderRadius\",\"label\":\"Card Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":20},{\"name\":\"cardAspectRatio\",\"label\":\"Card ratio (web)\",\"type\":\"number\",\"group\":\"layout\",\"default\":0.5625,\"description\":\"Width/height ratio on web - omitted = adaptive\"},{\"name\":\"cardMaxHeight\",\"label\":\"Max Card Height\",\"type\":\"number\",\"group\":\"layout\",\"description\":\"Max height in px - omitted = no limit\"},{\"name\":\"dezoomDuration\",\"label\":\"Zoom Out Duration\",\"type\":\"number\",\"group\":\"behavior\",\"default\":120},{\"name\":\"flipDuration\",\"label\":\"Flip Duration\",\"type\":\"number\",\"group\":\"behavior\",\"default\":320},{\"name\":\"slideOutDuration\",\"label\":\"Slide Out Duration\",\"type\":\"number\",\"group\":\"behavior\",\"default\":140}]}","import { useMemo, useState } from 'react';\nimport FlipLayoutMeta from './FlipLayout.meta.yaml';\n\n/**\n * Props for the FlipLayout component.\n */\nexport interface FlipLayoutProps {\n /**\n * The React node to render on the front side of the layout.\n */\n front?: React.ReactNode;\n /**\n * The React node to render on the back side of the layout.\n */\n back?: React.ReactNode;\n /**\n * Additional properties to pass to the underlying Pressable container.\n */\n [key: string]: any;\n}\n\nexport function useFlipLayoutLogic(props: FlipLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FlipLayoutMeta?.props) {\n FlipLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { front, back, ...rest } = merged;\n const [isFlipped, setIsFlipped] = useState(false);\n\n return { front, back, isFlipped, setIsFlipped, rest };\n}\n","/**\n * Styles for the FlipLayout component.\n * \n * Structural choices:\n * - The container centers its children content.\n * - 'card' styling defines full width/height taking advantage of absolute positioning from logic.\n * - 'backfaceVisibility: hidden' ensures that the reversed views do not show their mirrored content during rotation.\n */\nexport function useFlipLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n },\n card: {\n width: '100%',\n height: '100%',\n backfaceVisibility: 'hidden',\n },\n back: {\n position: 'absolute',\n top: 0,\n }\n };\n}\n","import React, { useEffect } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { Pressable, StyleSheet, ViewStyle } from 'react-native';\nimport Animated, { useAnimatedStyle, useSharedValue, withSpring, interpolate } from 'react-native-reanimated';\nimport { useFlipLayoutLogic, FlipLayoutProps } from './FlipLayout.logic';\nimport { useFlipLayoutStyle } from './FlipLayout.style';\n\n/**\n * An animated interactive layout component that visually flips between a front \n * and back side, similar to a physical card.\n * \n * Use cases:\n * - Flashcards for educational apps.\n * - Revealing additional details (e.g., product specs on the back of a product card).\n * \n * Accessibility considerations:\n * - The component is wrapped in a `Pressable` which provides interactive behaviors. \n * - Ensure `accessibilityRole=\"button\"` and `accessibilityHint` are passed if it behaves as a toggle.\n */\nconst FlipLayout: React.FC<FlipLayoutProps> = (rawProps) => {\n const logic = useFlipLayoutLogic(rawProps);\n const styles = useFlipLayoutStyle(logic);\n\n const flipValue = useSharedValue(0);\n\n useEffect(() => {\n flipValue.value = withSpring(logic.isFlipped ? 180 : 0, { damping: 15, stiffness: 100 });\n }, [logic.isFlipped, flipValue]);\n\n const frontAnimatedStyle = useAnimatedStyle(() => {\n return {\n transform: [{ rotateY: `${flipValue.value}deg` }],\n opacity: interpolate(flipValue.value, [89, 90], [1, 0]),\n };\n });\n\n const backAnimatedStyle = useAnimatedStyle(() => {\n return {\n transform: [{ rotateY: `${flipValue.value + 180}deg` }],\n opacity: interpolate(flipValue.value, [89, 90], [0, 1]),\n };\n });\n\n return (\n <Pressable style={[styles.container as ViewStyle, logic.rest.style]} onPress={() => logic.setIsFlipped(!logic.isFlipped)} {...logic.rest}>\n <Animated.View style={[styles.card as ViewStyle, frontAnimatedStyle, StyleSheet.absoluteFill, { backfaceVisibility: 'hidden' }]}>\n {logic.front || <Placeholder label=\"front\" />}\n </Animated.View>\n <Animated.View style={[styles.card as ViewStyle, backAnimatedStyle, StyleSheet.absoluteFill, { backfaceVisibility: 'hidden' }]}>\n {logic.back || <Placeholder label=\"back\" />}\n </Animated.View>\n </Pressable>\n );\n};\n\nexport default FlipLayout;\n","{\"type\":\"layout\",\"id\":\"FooterLayout\",\"label\":\"Footer\",\"description\":\"Main content with fixed or scrollable footer.\",\"category\":\"content\",\"tags\":[\"footer\",\"sticky\",\"bottom-bar\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"footer\",\"label\":\"Footer\",\"required\":true,\"kind\":\"named\"}],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"footerHeight\",\"label\":\"Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"sticky\",\"label\":\"Sticky Footer\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"footerBackground\",\"label\":\"Footer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"footerBorderRadius\",\"label\":\"Footer Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"contentBorderRadius\",\"label\":\"Content Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Content Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"footerPadding\",\"label\":\"Footer Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"compact\",\"label\":\"Compact Mode\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo } from 'react';\nimport FooterLayoutMeta from './FooterLayout.meta.yaml';\n\n/**\n * Props for the FooterLayout component.\n */\nexport interface FooterLayoutProps {\n /**\n * The React element to display in the persistent footer section at the bottom.\n */\n footer?: React.ReactNode;\n /**\n * The main content to render in the scrollable or flexible area above the footer.\n */\n children?: React.ReactNode;\n /**\n * Additional standard React Native View properties to pass to the container view.\n */\n [key: string]: any;\n}\n\nexport function useFooterLayoutLogic(props: FooterLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (FooterLayoutMeta?.props) {\n FooterLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { footer, children, ...rest } = merged;\n\n return { footer, children, rest };\n}\n","/**\n * Styles for the FooterLayout component.\n * \n * Structural choices:\n * - 'container' uses column flex direction to stack content vertically.\n * - 'content' gets flex: 1 to expand and take up all remaining vertical space above the footer.\n * - 'footer' retains its intrinsic height and uses z-index to overlay if ever needed.\n */\nexport function useFooterLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: 'column',\n },\n content: {\n flex: 1,\n },\n footer: {\n zIndex: 5,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useFooterLayoutLogic, FooterLayoutProps } from './FooterLayout.logic';\nimport { useFooterLayoutStyle } from './FooterLayout.style';\n\n/**\n * A standard layout that provides a main content area and a fixed footer area.\n * The content area flexibly consumes the available space above the footer.\n * \n * Use cases:\n * - App screens that require a persistent bottom action bar or navigation.\n * - Modals or dialogues with sticky bottom confirmation buttons.\n * \n * Accessibility considerations:\n * - Semantic layout structure; ensure that focus order feels natural and \n * the footer has an appropriate accessibility role if it acts as a landmark (e.g. bottom navigation).\n */\nconst FooterLayout: React.FC<FooterLayoutProps> = (rawProps) => {\n const logic = useFooterLayoutLogic(rawProps);\n const styles = useFooterLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.content as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n <View style={styles.footer as any}>\n {logic.footer || <Placeholder label=\"footer\" />}\n </View>\n </View>\n );\n};\n\nexport default FooterLayout;\n","{\"type\":\"layout\",\"id\":\"GridLayout\",\"label\":\"Grid\",\"description\":\"Responsive grid with adaptive columns.\",\"category\":\"content\",\"tags\":[\"grid\",\"columns\",\"responsive\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"items\",\"label\":\"Cells\",\"required\":true,\"kind\":\"items\"}],\"responsive\":true,\"animated\":false,\"previewItemCount\":6,\"props\":[{\"name\":\"columns\",\"label\":\"Columns\",\"type\":\"number\",\"group\":\"layout\",\"description\":\"Number of columns (auto if omitted)\"},{\"name\":\"cellHeight\",\"label\":\"Cell Height\",\"type\":\"number\",\"group\":\"layout\",\"description\":\"Fixed height in px - omitted = content adaptive\"},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"itemBackground\",\"label\":\"Item Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"itemBorderRadius\",\"label\":\"Item Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"transparent\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"compact\",\"label\":\"Compact Mode\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false}]}","import { useMemo } from 'react';\nimport GridLayoutMeta from './GridLayout.meta.yaml';\nimport { useWindowDimensions } from 'react-native';\n\n/**\n * Props for the GridLayout component.\n */\nexport interface GridLayoutProps {\n /**\n * The React elements to render as items in the grid.\n */\n children?: React.ReactNode;\n /**\n * The number of columns to display in the grid. Defaults to 2.\n */\n columns?: number;\n /**\n * The gap (spacing) between items in the grid. Defaults to 16.\n */\n gap?: number;\n /**\n * Additional properties to pass to the underlying React Native View component.\n */\n [key: string]: any;\n}\n\nexport function useGridLayoutLogic(props: GridLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (GridLayoutMeta?.props) {\n GridLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, columns = 2, gap = 16, ...rest } = merged;\n\n return { children, columns, gap, rest };\n}\n","/**\n * Styles for the GridLayout component.\n * \n * Structural choices:\n * - flexWrap: 'wrap' allows children to flow onto the next row once a row is full.\n * - flexDirection: 'row' builds the grid from left to right.\n * - flexBasis dynamically calculates item width to fit `logic.columns` items per row.\n * - padding mimics the grid gap on individual items (native gap behavior may vary depending on React Native version and setup).\n */\nexport function useGridLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: logic.gap,\n },\n item: {\n // Approximating grid with flexBasis on Native\n flexBasis: `${100 / logic.columns}%`,\n // Subtracting gap compensation roughly\n padding: logic.gap / 2,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useGridLayoutLogic, GridLayoutProps } from './GridLayout.logic';\nimport { useGridLayoutStyle } from './GridLayout.style';\n\n/**\n * A layout component that arranges its children into a responsive grid.\n * It uses flexWrap to break items into rows, calculating the item width based on the configured columns.\n * \n * Use cases:\n * - Image galleries or product listings displaying items in a uniform grid.\n * - Dashboard cards layout.\n * \n * Accessibility considerations:\n * - If representing a data grid, ensure proper accessibility roles (e.g., `role=\"grid\"` on container, `role=\"gridcell\"` on children).\n * - Consider the navigation flow (left-to-right, top-to-bottom) for screen readers.\n */\nconst GridLayout: React.FC<GridLayoutProps> = (rawProps) => {\n const logic = useGridLayoutLogic(rawProps);\n const styles = useGridLayoutStyle(logic);\n\n // Wrap children to apply the flexBasis correctly\n const wrappedChildren = React.Children.map(logic.children, (child, i) => (\n <View key={i} style={styles.item as any}>\n {child}\n </View>\n ));\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {wrappedChildren}\n </View>\n );\n};\n\nexport default GridLayout;\n","{\"type\":\"layout\",\"id\":\"HeaderContentLayout\",\"label\":\"Collapsible Header\",\"description\":\"Header that shrinks on scroll with main content.\",\"category\":\"scroll\",\"tags\":[\"header\",\"collapsible\",\"scroll\",\"parallax\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\"]},\"themeMapping\":{\"root\":\"background\",\"header\":\"card\",\"content\":\"card\"},\"slots\":[{\"name\":\"header\",\"label\":\"Header\",\"required\":true,\"kind\":\"named\"},{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"}],\"responsive\":false,\"animated\":true,\"props\":[{\"name\":\"headerHeight\",\"label\":\"Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":150},{\"name\":\"headerCollapsedHeight\",\"label\":\"Collapsed Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"headerBackground\",\"label\":\"Header Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"headerBorderRadius\",\"label\":\"Header Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"contentBackground\",\"label\":\"Content Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"contentBorderRadius\",\"label\":\"Content Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Content Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"headerPadding\",\"label\":\"Header Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":5},{\"name\":\"scrollEventThrottle\",\"label\":\"Scroll Throttle event\",\"type\":\"number\",\"group\":\"behavior\",\"default\":16}]}","import { useMemo } from 'react';\nimport HeaderContentLayoutMeta from './HeaderContentLayout.meta.yaml';\n\n/**\n * Props for the HeaderContentLayout component.\n */\nexport interface HeaderContentLayoutProps {\n /**\n * The React element to display in the fixed header area at the top.\n */\n header?: React.ReactNode;\n /**\n * The main React elements to display in the flexible content area below the header.\n */\n children?: React.ReactNode;\n /**\n * Additional properties to pass to the underlying React Native View wrapper.\n */\n [key: string]: any;\n}\n\nexport function useHeaderContentLayoutLogic(props: HeaderContentLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (HeaderContentLayoutMeta?.props) {\n HeaderContentLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { header, children, ...rest } = merged;\n\n return { header, children, rest };\n}\n","/**\n * Styles for the HeaderContentLayout component.\n * \n * Structural choices:\n * - 'container' uses column flex direction to naturally stack the header above the content.\n * - 'header' uses zIndex: 5 so that shadows or overlays from the header appear above the content.\n * - 'content' uses flex: 1 to consume all vertical space remaining after the header is rendered.\n */\nexport function useHeaderContentLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: 'column',\n },\n header: {\n zIndex: 5,\n },\n content: {\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useHeaderContentLayoutLogic, HeaderContentLayoutProps } from './HeaderContentLayout.logic';\nimport { useHeaderContentLayoutStyle } from './HeaderContentLayout.style';\n\n/**\n * A standard layout providing a fixed top header area and a flexible main content area below.\n * \n * Use cases:\n * - App screens with a persistent top navigation bar or title area.\n * - Views where content scrolls under a stationary header.\n * \n * Accessibility considerations:\n * - Ensure the header element has an appropriate accessibility role (like `header` or `heading`)\n * to provide proper landmarks for screen reader navigation.\n */\nconst HeaderContentLayout: React.FC<HeaderContentLayoutProps> = (rawProps) => {\n const logic = useHeaderContentLayoutLogic(rawProps);\n const styles = useHeaderContentLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.header as any}>\n {logic.header || <Placeholder label=\"header\" />}\n </View>\n <View style={styles.content as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </View>\n );\n};\n\nexport default HeaderContentLayout;\n","{\"type\":\"layout\",\"id\":\"LeftDrawerLayout\",\"label\":\"Left Drawer\",\"description\":\"Animated left lateral drawer with swipe gesture.\",\"category\":\"navigation\",\"tags\":[\"drawer\",\"side-menu\",\"swipe\",\"navigation\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\",\"expo-haptics\"]},\"themeMapping\":{\"root\":\"background\",\"drawer\":\"background\",\"accent\":\"primary\",\"border\":\"border\"},\"slots\":[{\"name\":\"content\",\"label\":\"Main Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"drawerContent\",\"label\":\"Drawer Content\",\"required\":true,\"kind\":\"named\"}],\"constants\":{\"springConfig\":{\"damping\":25,\"stiffness\":200,\"mass\":0.5,\"overshootClamping\":true}},\"responsive\":false,\"animated\":true,\"props\":[{\"name\":\"drawerWidth\",\"label\":\"Drawer Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":280},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"drawerBackground\",\"label\":\"Drawer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"drawerBorderRadius\",\"label\":\"Drawer Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"defaultOpen\",\"label\":\"Open by Default\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"handleColor\",\"label\":\"Handle Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"backdropOpacity\",\"label\":\"Backdrop Opacity\",\"type\":\"ratio\",\"group\":\"style\",\"default\":0.4,\"min\":0,\"max\":1},{\"name\":\"contentScaleWhenOpen\",\"label\":\"Open Content Scale\",\"type\":\"ratio\",\"group\":\"behavior\",\"default\":0.98,\"min\":0.5,\"max\":1},{\"name\":\"handleBarColor\",\"label\":\"Handle Bar Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"handleBarWidth\",\"label\":\"Gesture Zone Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":40}]}","import { useMemo, useState } from 'react';\nimport LeftDrawerLayoutMeta from './LeftDrawerLayout.meta.yaml';\n\n/**\n * Props for the LeftDrawerLayout component.\n */\nexport interface LeftDrawerLayoutProps {\n /**\n * The React elements to display inside the drawer panel when it is open.\n */\n drawer?: React.ReactNode;\n /**\n * The main screen content to display beneath the drawer.\n */\n children?: React.ReactNode;\n /**\n * A boolean indicating whether the drawer is currently open and visible.\n */\n isOpen?: boolean;\n /**\n * A callback function invoked when the overlay backdrop is pressed to close the drawer.\n */\n onClose?: () => void;\n /**\n * Additional properties to pass to the underlying React Native View component.\n */\n [key: string]: any;\n}\n\nexport function useLeftDrawerLayoutLogic(props: LeftDrawerLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (LeftDrawerLayoutMeta?.props) {\n LeftDrawerLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { drawer, children, isOpen = false, onClose, ...rest } = merged;\n\n return { drawer, children, isOpen, onClose, rest };\n}\n","/**\n * Styles for the LeftDrawerLayout component.\n * \n * Structural choices:\n * - 'container' acts as the main wrapper, filling available space with flex: 1.\n * - 'overlay' covers the entire screen absolutely using top/bottom/left/right: 0, with a semi-transparent black background. It sits above the main content (zIndex: 10).\n * - 'drawer' is absolutely positioned on the left side, with a fixed width, and sits above the overlay (zIndex: 20).\n */\nexport function useLeftDrawerLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n },\n overlay: {\n position: 'absolute',\n top: 0, bottom: 0, left: 0, right: 0,\n backgroundColor: 'rgba(0,0,0,0.5)',\n zIndex: 10,\n },\n drawer: {\n position: 'absolute',\n top: 0, bottom: 0, left: 0,\n width: 280,\n backgroundColor: '#fff',\n zIndex: 20,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Pressable } from 'react-native';\nimport { useLeftDrawerLayoutLogic, LeftDrawerLayoutProps } from './LeftDrawerLayout.logic';\nimport { useLeftDrawerLayoutStyle } from './LeftDrawerLayout.style';\n\n/**\n * A layout component that implements a standard left-side navigation drawer pattern.\n * It renders the main content and conditionally overlays a backdrop and sliding drawer.\n * \n * Use cases:\n * - App-level global navigation menus.\n * - Sidebar filters for search results or e-commerce lists.\n * \n * Accessibility considerations:\n * - When the drawer is open, screen readers should ideally be trapped within the drawer content.\n * - Ensure the backdrop `Pressable` provides a clear accessibilityLabel like \"Close drawer\" \n * and appropriate `accessibilityRole=\"button\"`.\n */\nconst LeftDrawerLayout: React.FC<LeftDrawerLayoutProps> = (rawProps) => {\n const logic = useLeftDrawerLayoutLogic(rawProps);\n const styles = useLeftDrawerLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n {logic.isOpen && (\n <>\n <Pressable \n style={styles.overlay as any} \n onPress={logic.onClose} \n accessibilityRole=\"button\"\n accessibilityLabel=\"Close drawer\"\n />\n <View style={styles.drawer as any}>\n {logic.drawer || <Placeholder label=\"drawer\" />}\n </View>\n </>\n )}\n </View>\n );\n};\n\nexport default LeftDrawerLayout;\n","{\"type\":\"layout\",\"id\":\"MasonryLayout\",\"label\":\"Masonry\",\"description\":\"Multi-column masonry grid.\",\"category\":\"content\",\"tags\":[\"masonry\",\"pinterest\",\"waterfall\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"items\",\"label\":\"Items\",\"required\":true,\"kind\":\"items\"}],\"responsive\":false,\"animated\":false,\"previewItemCount\":6,\"props\":[{\"name\":\"columns\",\"label\":\"Columns\",\"type\":\"number\",\"group\":\"layout\",\"default\":2},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":1},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"transparent\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"itemBackground\",\"label\":\"Item Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"itemBorderRadius\",\"label\":\"Item Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"}]}","import { useMemo } from 'react';\nimport MasonryLayoutMeta from './MasonryLayout.meta.yaml';\n\n/**\n * Props for the MasonryLayout component.\n */\nexport interface MasonryLayoutProps {\n /**\n * The React elements to render within the masonry layout.\n */\n children?: React.ReactNode;\n /**\n * The total number of columns to divide the content into.\n */\n columns?: number;\n /**\n * The spacing between both columns and rows of items.\n */\n gap?: number;\n /**\n * Additional properties to pass to the underlying React Native View component.\n */\n [key: string]: any;\n}\n\nexport function useMasonryLayoutLogic(props: MasonryLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (MasonryLayoutMeta?.props) {\n MasonryLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, columns = 2, gap = 16, ...rest } = merged;\n\n return { children, columns, gap, rest };\n}\n","/**\n * Styles for the MasonryLayout component.\n * \n * Structural choices:\n * - 'container' uses flex direction 'row' to arrange columns horizontally.\n * - 'column' uses flex direction 'column' to arrange its assigned items vertically.\n * - gap is applied to both container (for column spacing) and column (for item vertical spacing).\n */\nexport function useMasonryLayoutStyle(logic: any) {\n return {\n container: {\n flex: 1,\n flexDirection: 'row',\n gap: logic.gap,\n },\n column: {\n flex: 1,\n flexDirection: 'column',\n gap: logic.gap,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useMasonryLayoutLogic, MasonryLayoutProps } from './MasonryLayout.logic';\nimport { useMasonryLayoutStyle } from './MasonryLayout.style';\n\n/**\n * A layout component that arranges children into a Masonry (Pinterest-style) grid.\n * It distributes items iteratively across the specified number of columns.\n * \n * Use cases:\n * - Displaying lists of images or cards of varying heights.\n * - News feeds with varying length content snippets.\n * \n * Accessibility considerations:\n * - Depending on the reading order, visually, items are read down a column before moving to the next.\n * - Consider if a screen reader user needs to read items row-by-row instead. If so, a standard grid layout might be preferred, or `tabIndex` / `accessibilityOrder` might need adjustment.\n */\nconst MasonryLayout: React.FC<MasonryLayoutProps> = (rawProps) => {\n const logic = useMasonryLayoutLogic(rawProps);\n const styles = useMasonryLayoutStyle(logic);\n\n // Distribute children into columns\n const cols = Array.from({ length: logic.columns }, () => [] as React.ReactNode[]);\n React.Children.forEach(logic.children, (child, i) => {\n cols[i % logic.columns].push(child);\n });\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {cols.map((col, i) => (\n <View key={i} style={styles.column as any}>\n {col}\n </View>\n ))}\n </View>\n );\n};\n\nexport default MasonryLayout;\n","{\"type\":\"layout\",\"id\":\"ParallaxLayout\",\"label\":\"Parallax\",\"description\":\"Horizontal scrollable rows with parallax synchronization. Items are automatically distributed into rows based on itemsPerRow.\",\"category\":\"scroll\",\"tags\":[\"parallax\",\"horizontal\",\"sync\",\"showcase\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\"]},\"slots\":[{\"name\":\"items\",\"label\":\"Items\",\"required\":true,\"kind\":\"items\"}],\"responsive\":false,\"animated\":true,\"previewItemCount\":9,\"props\":[{\"name\":\"rowCount\",\"label\":\"Number of Rows\",\"type\":\"number\",\"group\":\"layout\",\"default\":3},{\"name\":\"itemWidth\",\"label\":\"Item Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":200},{\"name\":\"spacing\",\"label\":\"Vertical Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"itemSpacing\",\"label\":\"Item Spacing\",\"type\":\"number\",\"group\":\"layout\",\"default\":12},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"rowBackground\",\"label\":\"Row Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"itemBackground\",\"label\":\"Item Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"itemBorderRadius\",\"label\":\"Item Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"rowBorderRadius\",\"label\":\"Row Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"alternateDirection\",\"label\":\"Alternate Direction\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"bounces\",\"label\":\"Scroll Bounce\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"showScrollIndicator\",\"label\":\"Scroll Indicator\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"scrollEventThrottle\",\"label\":\"Scroll Throttle\",\"type\":\"number\",\"group\":\"behavior\",\"default\":16}]}","import { useMemo } from 'react';\nimport ParallaxLayoutMeta from './ParallaxLayout.meta.yaml';\n\n/**\n * Properties for the ParallaxLayout component.\n */\nexport interface ParallaxLayoutProps {\n /**\n * The React Node representing the header content (often an image) to display with a parallax effect.\n */\n headerImage?: React.ReactNode;\n /**\n * The main content to display below the parallax header inside a scrollable area.\n */\n children?: React.ReactNode;\n /**\n * The height of the header image area in logical pixels.\n * Defaults to 250.\n */\n headerHeight?: number;\n /**\n * Additional generic properties to pass to the container view.\n */\n [key: string]: any;\n}\n\nexport function useParallaxLayoutLogic(props: ParallaxLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ParallaxLayoutMeta?.props) {\n ParallaxLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { headerImage, children, headerHeight = 250, ...rest } = merged;\n\n return { headerImage, children, headerHeight, rest };\n}\n","\nexport function useParallaxLayoutStyle(logic: any) {\n return {\n /**\n * The main container expands to fill the available space (flex: 1).\n */\n container: {\n flex: 1,\n },\n /**\n * The header is positioned absolutely behind the scroll view content (done in TSX).\n * It uses overflow: hidden to ensure scaled/translated content does not bleed out.\n */\n header: {\n height: logic.headerHeight,\n width: '100%',\n overflow: 'hidden',\n },\n /**\n * The content wrapper fills the remaining space and provides a solid background \n * to obscure the parallax header as the user scrolls up.\n */\n content: {\n flex: 1,\n backgroundColor: '#fff',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, StyleSheet } from 'react-native';\nimport Animated, { useAnimatedScrollHandler, useSharedValue, useAnimatedStyle, interpolate, Extrapolation } from 'react-native-reanimated';\nimport { useParallaxLayoutLogic, ParallaxLayoutProps } from './ParallaxLayout.logic';\nimport { useParallaxLayoutStyle } from './ParallaxLayout.style';\n\n/**\n * ParallaxLayout provides a scrollable view with a parallax header effect.\n * The header image translates and scales based on the scroll position.\n * This layout is ideal for profile screens, detailed views, or any page where a prominent header image should react smoothly to scroll interactions.\n * \n * Accessibility considerations:\n * - Ensure the header image has an appropriate accessible label or role if it conveys meaningful information.\n * - The inner ScrollView should naturally support scroll accessibility actions.\n */\nconst ParallaxLayout: React.FC<ParallaxLayoutProps> = (rawProps) => {\n const logic = useParallaxLayoutLogic(rawProps);\n const styles = useParallaxLayoutStyle(logic);\n\n const scrollY = useSharedValue(0);\n\n const scrollHandler = useAnimatedScrollHandler({\n onScroll: (event) => {\n scrollY.value = event.contentOffset.y;\n },\n });\n\n const headerAnimatedStyle = useAnimatedStyle(() => {\n return {\n transform: [\n {\n translateY: interpolate(\n scrollY.value,\n [-logic.headerHeight, 0, logic.headerHeight],\n [-logic.headerHeight / 2, 0, logic.headerHeight * 0.75],\n Extrapolation.CLAMP\n ),\n },\n {\n scale: interpolate(\n scrollY.value,\n [-logic.headerHeight, 0, logic.headerHeight],\n [2, 1, 1],\n Extrapolation.CLAMP\n ),\n },\n ],\n };\n });\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <Animated.View style={[styles.header as any, StyleSheet.absoluteFill, { height: logic.headerHeight }, headerAnimatedStyle]}>\n {logic.headerImage || <Placeholder label=\"headerImage\" />}\n </Animated.View>\n <Animated.ScrollView\n onScroll={scrollHandler}\n scrollEventThrottle={16}\n contentContainerStyle={{ paddingTop: logic.headerHeight }}\n style={StyleSheet.absoluteFill}\n >\n <View style={styles.content as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </Animated.ScrollView>\n </View>\n );\n};\n\nexport default ParallaxLayout;\n","{\"type\":\"layout\",\"id\":\"ResponsiveLayout\",\"label\":\"Responsive\",\"description\":\"Adaptive layout header/sidebar/content/footer with 3 modes.\",\"category\":\"page\",\"tags\":[\"responsive\",\"adaptive\",\"header\",\"sidebar\",\"footer\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"header\",\"label\":\"Header\",\"required\":false,\"kind\":\"named\"},{\"name\":\"sidebar\",\"label\":\"Sidebar\",\"required\":false,\"kind\":\"named\"},{\"name\":\"footer\",\"label\":\"Footer\",\"required\":false,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"headerHeight\",\"label\":\"Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"sidebarWidth\",\"label\":\"Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":260},{\"name\":\"footerHeight\",\"label\":\"Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"adaptiveMode\",\"label\":\"Adaptive Mode\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"basic\",\"options\":[\"basic\",\"sidebar\",\"full\"]},{\"name\":\"hideHeader\",\"label\":\"Hide Header\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"hideFooter\",\"label\":\"Hide Footer\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"collapseFooterOnTablet\",\"label\":\"Compact Footer on Tablet\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"headerBackground\",\"label\":\"Header Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"sidebarBackground\",\"label\":\"Sidebar Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"footerBackground\",\"label\":\"Footer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"contentBackground\",\"label\":\"Content Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"contentPadding\",\"label\":\"Content Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"mobileHeaderHeight\",\"label\":\"Mobile Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":56},{\"name\":\"tabletFooterHeight\",\"label\":\"Tablet Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":48},{\"name\":\"sidebarMaxWidth\",\"label\":\"Sidebar Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":320}]}","import { useMemo } from 'react';\nimport ResponsiveLayoutMeta from './ResponsiveLayout.meta.yaml';\nimport { useWindowDimensions } from 'react-native';\n\n/**\n * Properties for the ResponsiveLayout component.\n */\nexport interface ResponsiveLayoutProps {\n /**\n * The React nodes to be rendered inside this layout.\n */\n children?: React.ReactNode;\n /**\n * The width threshold in logical pixels above which the layout switches to desktop mode (row direction).\n * Defaults to 768.\n */\n breakpoint?: number;\n /**\n * Additional properties to pass to the underlying view.\n */\n [key: string]: any;\n}\n\nexport function useResponsiveLayoutLogic(props: ResponsiveLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ResponsiveLayoutMeta?.props) {\n ResponsiveLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, breakpoint = 768, ...rest } = merged;\n \n const { width } = useWindowDimensions();\n const isDesktop = width >= breakpoint;\n\n return { children, isDesktop, rest };\n}\n","\nexport function useResponsiveLayoutStyle(logic: any) {\n return {\n /**\n * The container flexes to fill available space.\n * Flex direction is determined by the responsive breakpoint logic:\n * 'row' for wide screens, 'column' for narrow screens.\n */\n container: {\n flex: 1,\n flexDirection: logic.isDesktop ? 'row' : 'column',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useResponsiveLayoutLogic, ResponsiveLayoutProps } from './ResponsiveLayout.logic';\nimport { useResponsiveLayoutStyle } from './ResponsiveLayout.style';\n\n/**\n * ResponsiveLayout automatically adjusts its flex direction based on the current window width.\n * It switches between a column layout for narrow screens (e.g., mobile) and a row layout for wider screens (e.g., desktop/tablet).\n * Useful for building adaptive user interfaces without explicit media queries.\n * \n * Accessibility considerations:\n * - Order of children is preserved. Ensure logical focus order makes sense in both row and column orientations.\n */\nconst ResponsiveLayout: React.FC<ResponsiveLayoutProps> = (rawProps) => {\n const logic = useResponsiveLayoutLogic(rawProps);\n const styles = useResponsiveLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n );\n};\n\nexport default ResponsiveLayout;\n","{\"type\":\"layout\",\"id\":\"RootLayout\",\"label\":\"Root\",\"description\":\"Root page container with direct flex control. Ideal as the base of every page.\",\"category\":\"page\",\"tags\":[\"root\",\"page\",\"container\",\"flex\"],\"themeMapping\":{\"root\":\"background\"},\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":true,\"kind\":\"children\"}],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"justifyContent\",\"label\":\"Justify\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"flex-start\",\"options\":[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"]},{\"name\":\"alignItems\",\"label\":\"Align Items\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"stretch\",\"options\":[\"stretch\",\"flex-start\",\"center\",\"flex-end\",\"baseline\"]},{\"name\":\"flexDirection\",\"label\":\"Direction\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"column\",\"options\":[\"column\",\"row\"]},{\"name\":\"gap\",\"label\":\"Gap\",\"type\":\"number\",\"group\":\"layout\",\"default\":0}]}","import { useMemo } from 'react';\nimport RootLayoutMeta from './RootLayout.meta.yaml';\n\n/**\n * Properties for the RootLayout component.\n */\nexport interface RootLayoutProps {\n /**\n * The top-level children of the application or screen.\n */\n children?: React.ReactNode;\n /**\n * Any additional generic view props.\n */\n [key: string]: any;\n}\n\nexport function useRootLayoutLogic(props: RootLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (RootLayoutMeta?.props) {\n RootLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","import { useTheme } from \"../../../../theme/providers/ThemeProvider\";\n\nexport function useRootLayoutStyle(logic: any) {\n const { theme } = useTheme();\n return {\n /**\n * Container expands to fill the screen (flex: 1) and applies the primary background \n * color from the current theme to establish the base surface of the app.\n */\n container: {\n flex: 1,\n backgroundColor: theme?.background || '#fff',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useRootLayoutLogic, RootLayoutProps } from './RootLayout.logic';\nimport { useRootLayoutStyle } from './RootLayout.style';\n// Using SafeAreaProvider from react-native-safe-area-context\nimport { SafeAreaProvider } from 'react-native-safe-area-context';\n\n/**\n * RootLayout serves as the top-level container for an application or major screen.\n * It wraps its content in a SafeAreaProvider to ensure content avoids device notches and system bars.\n * \n * Accessibility considerations:\n * - This layout establishes a base view; ensure child elements properly handle semantic roles.\n */\nconst RootLayout: React.FC<RootLayoutProps> = (rawProps) => {\n const logic = useRootLayoutLogic(rawProps);\n const styles = useRootLayoutStyle(logic);\n\n return (\n <SafeAreaProvider>\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </SafeAreaProvider>\n );\n};\n\nexport default RootLayout;\n","{\"type\":\"layout\",\"id\":\"ScrollLayout\",\"label\":\"Scroll\",\"description\":\"Scrollable structure with sticky or inline header/footer.\",\"category\":\"scroll\",\"tags\":[\"scroll\",\"sticky\",\"header\",\"footer\",\"safe-area\"],\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"header\",\"label\":\"Header\",\"required\":false,\"kind\":\"named\"},{\"name\":\"footer\",\"label\":\"Footer\",\"required\":false,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"useSafeAreaInsets\",\"label\":\"Safe area\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"headerHeight\",\"label\":\"Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":80},{\"name\":\"footerHeight\",\"label\":\"Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"scrollDirection\",\"label\":\"Scroll Direction\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"vertical\",\"options\":[\"vertical\",\"horizontal\",\"both\"]},{\"name\":\"showScrollIndicator\",\"label\":\"Scroll Indicator\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"enableBounces\",\"label\":\"Bounce\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"stickyHeader\",\"label\":\"Sticky Header\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"stickyFooter\",\"label\":\"Sticky Footer\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"headerBackground\",\"label\":\"Header Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"footerBackground\",\"label\":\"Footer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"contentBackground\",\"label\":\"Content Background\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"headerPadding\",\"label\":\"Header Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"footerPadding\",\"label\":\"Footer Padding\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"mobileHeaderHeight\",\"label\":\"Mobile Header Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":60},{\"name\":\"mobileFooterHeight\",\"label\":\"Mobile Footer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":50}]}","import { useMemo } from 'react';\nimport ScrollLayoutMeta from './ScrollLayout.meta.yaml';\n\n/**\n * Properties for the ScrollLayout component.\n */\nexport interface ScrollLayoutProps {\n /**\n * The elements to be rendered inside the scroll view.\n */\n children?: React.ReactNode;\n /**\n * If true, the layout scrolls horizontally instead of vertically.\n * Defaults to false.\n */\n horizontal?: boolean;\n /**\n * Additional properties to pass to the underlying ScrollView.\n */\n [key: string]: any;\n}\n\nexport function useScrollLayoutLogic(props: ScrollLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (ScrollLayoutMeta?.props) {\n ScrollLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, horizontal, ...rest } = merged;\n\n return { children, horizontal, rest };\n}\n","\nexport function useScrollLayoutStyle(logic: any) {\n return {\n /**\n * The scroll container fills the available space by default.\n * Content inside can expand beyond bounds to enable scrolling.\n */\n container: {\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { ScrollView } from 'react-native';\nimport { useScrollLayoutLogic, ScrollLayoutProps } from './ScrollLayout.logic';\nimport { useScrollLayoutStyle } from './ScrollLayout.style';\n\n/**\n * ScrollLayout is a generic layout providing a scrollable region.\n * It can scroll either vertically (default) or horizontally based on its properties.\n * Ideal for lists, forms, or any content that might exceed screen bounds.\n * \n * Accessibility considerations:\n * - ScrollViews inherently support scrolling semantics. \n * - If horizontal, ensure it can be navigated via keyboard or screen reader horizontal scroll actions.\n */\nconst ScrollLayout: React.FC<ScrollLayoutProps> = (rawProps) => {\n const logic = useScrollLayoutLogic(rawProps);\n const styles = useScrollLayoutStyle(logic);\n\n return (\n <ScrollView \n style={[styles.container as any, logic.rest.style]} \n horizontal={logic.horizontal}\n {...logic.rest}\n >\n {logic.children || <Placeholder label=\"children\" />}\n </ScrollView>\n );\n};\n\nexport default ScrollLayout;\n","{\"type\":\"layout\",\"id\":\"SidebarLayout\",\"label\":\"Sidebar\",\"description\":\"Content with lateral sidebar, collapsible on mobile.\",\"category\":\"navigation\",\"tags\":[\"sidebar\",\"navigation\",\"drawer\",\"layout\"],\"themeMapping\":{\"root\":\"background\",\"sidebar\":\"card\",\"border\":\"border\"},\"slots\":[{\"name\":\"sidebar\",\"label\":\"Sidebar\",\"required\":true,\"kind\":\"named\"},{\"name\":\"content\",\"label\":\"Content\",\"required\":true,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"sidebarWidth\",\"label\":\"Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":280},{\"name\":\"position\",\"label\":\"Sidebar Position\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"left\",\"options\":[\"left\",\"right\"]},{\"name\":\"collapsible\",\"label\":\"Collapsible on Mobile\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":4},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"background\",\"group\":\"style\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"sidebarBackground\",\"label\":\"Sidebar Background\",\"type\":\"background\",\"group\":\"style\"},{\"name\":\"sidebarBorderRadius\",\"label\":\"Sidebar Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"resizable\",\"label\":\"Resizable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"sidebarMinWidth\",\"label\":\"Min Sidebar Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":150},{\"name\":\"sidebarMaxWidth\",\"label\":\"Sidebar Max Width\",\"type\":\"number\",\"group\":\"layout\",\"default\":600}]}","import { useMemo } from 'react';\nimport SidebarLayoutMeta from './SidebarLayout.meta.yaml';\n\n/**\n * Properties for the SidebarLayout component.\n */\nexport interface SidebarLayoutProps {\n /**\n * The React node to render inside the sidebar pane.\n */\n sidebar?: React.ReactNode;\n /**\n * The main content node to render in the primary pane.\n */\n children?: React.ReactNode;\n /**\n * Determines whether the sidebar appears on the 'left' or 'right'.\n * Defaults to 'left'.\n */\n sidebarPosition?: 'left' | 'right';\n /**\n * The width of the sidebar in logical pixels.\n * Defaults to 250.\n */\n sidebarWidth?: number;\n /**\n * Additional generic properties to pass to the container wrapper.\n */\n [key: string]: any;\n}\n\nexport function useSidebarLayoutLogic(props: SidebarLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SidebarLayoutMeta?.props) {\n SidebarLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { sidebar, children, sidebarPosition = 'left', sidebarWidth = 250, ...rest } = merged;\n\n return { sidebar, children, sidebarPosition, sidebarWidth, rest };\n}\n","\nexport function useSidebarLayoutStyle(logic: any) {\n const isLeft = logic.sidebarPosition === 'left';\n return {\n /**\n * Container uses flex row or row-reverse to position the sidebar naturally\n * based on the specified position property.\n */\n container: {\n flex: 1,\n flexDirection: isLeft ? 'row' : 'row-reverse',\n },\n /**\n * The sidebar container has a fixed width and applies a border to separate it \n * visually from the main content.\n */\n sidebarContainer: {\n width: logic.sidebarWidth,\n borderRightWidth: isLeft ? 1 : 0,\n borderLeftWidth: isLeft ? 0 : 1,\n borderColor: '#e5e7eb',\n },\n /**\n * The main container fills all remaining space adjacent to the sidebar.\n */\n mainContainer: {\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useSidebarLayoutLogic, SidebarLayoutProps } from './SidebarLayout.logic';\nimport { useSidebarLayoutStyle } from './SidebarLayout.style';\n\n/**\n * SidebarLayout provides a two-pane layout featuring a collapsible or fixed sidebar next to a main content area.\n * It allows positioning the sidebar on either the left or right side.\n * Ideal for navigation drawers or secondary tools panels alongside primary content.\n * \n * Accessibility considerations:\n * - Ensure that the sidebar area is appropriately landmarked (e.g. role=\"navigation\" or \"complementary\").\n * - Focus management should handle transitioning between sidebar and main content if the sidebar is toggled.\n */\nconst SidebarLayout: React.FC<SidebarLayoutProps> = (rawProps) => {\n const logic = useSidebarLayoutLogic(rawProps);\n const styles = useSidebarLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.sidebarContainer as any}>\n {logic.sidebar || <Placeholder label=\"sidebar\" />}\n </View>\n <View style={styles.mainContainer as any}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </View>\n );\n};\n\nexport default SidebarLayout;\n","{\"type\":\"layout\",\"id\":\"SketchLayout\",\"label\":\"Sketch (placeholder)\",\"description\":\"Placeholder for a drawing canvas.\",\"category\":\"special\",\"tags\":[\"sketch\",\"draw\",\"canvas\",\"placeholder\"],\"slots\":[],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"}]}","import { useMemo } from 'react';\nimport SketchLayoutMeta from './SketchLayout.meta.yaml';\n\n/**\n * Properties for the SketchLayout component.\n */\nexport interface SketchLayoutProps {\n /**\n * The content to be rendered on the 2D scrollable canvas.\n */\n children?: React.ReactNode;\n /**\n * Additional properties applied to the innermost content wrapper view.\n */\n [key: string]: any;\n}\n\nexport function useSketchLayoutLogic(props: SketchLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SketchLayoutMeta?.props) {\n SketchLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nexport function useSketchLayoutStyle(logic: any) {\n return {\n /**\n * The outermost container takes up the available space and provides \n * a light background color to simulate a canvas or sketchpad area.\n */\n container: {\n flex: 1,\n // Infinite canvas feel\n backgroundColor: '#f8f9fa',\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { ScrollView, View } from 'react-native';\nimport { useSketchLayoutLogic, SketchLayoutProps } from './SketchLayout.logic';\nimport { useSketchLayoutStyle } from './SketchLayout.style';\n\n/**\n * SketchLayout creates a 2D scrollable canvas area (both horizontally and vertically).\n * It nests a vertical ScrollView inside a horizontal ScrollView to achieve an \"infinite canvas\" feel.\n * Useful for drawing apps, large diagrams, or highly extensive data tables.\n * \n * Accessibility considerations:\n * - Nested scroll views can be difficult to navigate for keyboard-only or screen reader users.\n * - Ensure critical content can be accessed without complex 2D scrolling if possible.\n */\nconst SketchLayout: React.FC<SketchLayoutProps> = (rawProps) => {\n const logic = useSketchLayoutLogic(rawProps);\n const styles = useSketchLayoutStyle(logic);\n\n return (\n <ScrollView horizontal style={styles.container as any}>\n <ScrollView>\n <View style={logic.rest.style} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n </ScrollView>\n </ScrollView>\n );\n};\n\nexport default SketchLayout;\n","import React, { useState, useEffect } from 'react';\n\n/**\n * Props for the SortableGridLayout component.\n * \n * @typeParam T - The type of data items in the grid.\n */\nexport interface SortableGridLayoutProps<T> {\n /** \n * The list of data items to render. \n */\n data: T[];\n \n /** \n * Function to extract a unique key from an item. \n */\n keyExtractor: (item: T, index: number) => string;\n \n /** \n * Function to render each item. \n */\n renderItem: (item: T, index: number) => React.ReactNode;\n \n /** \n * Number of columns in the grid. Default is 3. \n */\n columns?: number;\n \n /** \n * Spacing between items in pixels. Default is 8. \n */\n spacing?: number;\n \n /** \n * Callback fired when items are successfully reordered. \n */\n onReorder?: (newData: T[]) => void;\n \n /** Any other props for the container View. */\n [key: string]: any;\n}\n\nexport function useSortableGridLayoutLogic<T>(rawProps: SortableGridLayoutProps<T>) {\n const {\n data,\n keyExtractor,\n renderItem,\n columns = 3,\n spacing = 8,\n onReorder,\n ...rest\n } = rawProps;\n\n const [items, setItems] = useState<T[]>(data);\n\n // Sync state if external prop changes\n useEffect(() => {\n setItems(data);\n }, [data]);\n\n const handleReorder = (fromIndex: number, toIndex: number) => {\n if (fromIndex === toIndex) return;\n const newItems = [...items];\n const [movedItem] = newItems.splice(fromIndex, 1);\n newItems.splice(toIndex, 0, movedItem);\n setItems(newItems);\n onReorder?.(newItems);\n };\n\n return {\n items,\n keyExtractor,\n renderItem,\n columns,\n spacing,\n handleReorder,\n rest\n };\n}\n","export function useSortableGridLayoutStyle(logic: any) {\n return {\n container: {\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n justifyContent: 'flex-start',\n width: '100%',\n position: 'relative',\n },\n itemWrapper: {\n padding: logic.spacing / 2,\n }\n };\n}\n","import React, { useState } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, LayoutChangeEvent } from 'react-native';\nimport { Gesture, GestureDetector } from 'react-native-gesture-handler';\nimport Animated, { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';\nimport { useSortableGridLayoutLogic, SortableGridLayoutProps } from './SortableGridLayout.logic';\nimport { useSortableGridLayoutStyle } from './SortableGridLayout.style';\n\n/**\n * @component SortableGridLayout\n * @description\n * A reorderable grid layout that allows users to drag and drop items to reorder them.\n * \n * @useCases\n * - Photo galleries where users can rearrange their albums.\n * - Dashboards where widget positions can be customized.\n * \n * @structure\n * Uses `react-native-reanimated` and `react-native-gesture-handler` for fluid 60fps animations \n * during drag and drop. Renders items within an `Animated.View` inside a `GestureDetector`.\n * \n * @accessibility\n * Drag and drop is inherently difficult for screen readers. Ensure you provide accessible \n * alternative buttons (e.g., \"Move Up\", \"Move Down\") within each item for keyboard/voice navigation.\n */\nfunction SortableGridLayout<T>(rawProps: SortableGridLayoutProps<T>) {\n const logic = useSortableGridLayoutLogic(rawProps);\n const styles = useSortableGridLayoutStyle(logic);\n const [containerWidth, setContainerWidth] = useState(0);\n\n const onLayout = (e: LayoutChangeEvent) => {\n setContainerWidth(e.nativeEvent.layout.width);\n };\n\n const itemWidth = containerWidth > 0 ? containerWidth / logic.columns : `${100 / logic.columns}%`;\n\n return (\n <View style={[styles.container as any, logic.rest.style]} onLayout={onLayout} {...logic.rest}>\n {logic.items.map((item, index) => {\n const key = logic.keyExtractor(item, index);\n return (\n <DraggableGridItem\n key={key}\n itemWidth={itemWidth}\n wrapperStyle={styles.itemWrapper}\n >\n {logic.renderItem(item, index)}\n </DraggableGridItem>\n );\n })}\n </View>\n );\n}\n\n// Subcomponent for handling gestures per item\nconst DraggableGridItem = ({ children, itemWidth, wrapperStyle }: any) => {\n const isDragging = useSharedValue(false);\n const translateX = useSharedValue(0);\n const translateY = useSharedValue(0);\n\n const panGesture = Gesture.Pan()\n .onStart(() => {\n isDragging.value = true;\n })\n .onUpdate((e) => {\n translateX.value = e.translationX;\n translateY.value = e.translationY;\n })\n .onEnd(() => {\n isDragging.value = false;\n translateX.value = withSpring(0);\n translateY.value = withSpring(0);\n // Advanced 2D Grid Intersection logic goes here to trigger handleReorder\n });\n\n const animatedStyle = useAnimatedStyle(() => {\n return {\n zIndex: isDragging.value ? 100 : 1,\n transform: [\n { translateX: translateX.value },\n { translateY: translateY.value },\n { scale: withSpring(isDragging.value ? 1.05 : 1) }\n ],\n };\n });\n\n return (\n <GestureDetector gesture={panGesture}>\n <Animated.View style={[wrapperStyle, { width: itemWidth }, animatedStyle]}>\n {children}\n </Animated.View>\n </GestureDetector>\n );\n};\n\nexport default SortableGridLayout;\n","{\"type\":\"layout\",\"id\":\"SplitLayout\",\"label\":\"Split\",\"description\":\"Two panels (left/right or top/bottom) with independent scroll.\",\"category\":\"content\",\"tags\":[\"split\",\"two-pane\",\"master-detail\"],\"themeMapping\":{\"root\":\"background\",\"left\":\"card\",\"right\":\"card\"},\"slots\":[{\"name\":\"left\",\"label\":\"Left Panel\",\"required\":true,\"kind\":\"named\"},{\"name\":\"right\",\"label\":\"Right Panel\",\"required\":true,\"kind\":\"named\"}],\"responsive\":true,\"animated\":false,\"props\":[{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"leftWidth\",\"label\":\"Fixed Left Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"ratio\",\"label\":\"Left Ratio\",\"type\":\"ratio\",\"group\":\"layout\",\"default\":0.5,\"min\":0,\"max\":1},{\"name\":\"orientation\",\"label\":\"Orientation\",\"type\":\"enum\",\"group\":\"layout\",\"default\":\"horizontal\",\"options\":[\"horizontal\",\"vertical\"]},{\"name\":\"hideLeftOnMobile\",\"label\":\"Hide Left on Mobile\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"leftBackground\",\"label\":\"Left Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"rightBackground\",\"label\":\"Right Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"leftBorderRadius\",\"label\":\"Left Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"rightBorderRadius\",\"label\":\"Right Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"}]}","import { useMemo } from 'react';\nimport SplitLayoutMeta from './SplitLayout.meta.yaml';\n\n/**\n * Properties for the SplitLayout component.\n */\nexport interface SplitLayoutProps {\n /**\n * The React node to render in the left pane.\n */\n left?: React.ReactNode;\n /**\n * The React node to render in the right pane.\n */\n right?: React.ReactNode;\n /**\n * The percentage (0-100) of the width that the left pane should consume.\n * The right pane will consume the remainder.\n * Defaults to 50.\n */\n ratio?: number;\n /**\n * Additional generic properties to pass to the top-level container.\n */\n [key: string]: any;\n}\n\nexport function useSplitLayoutLogic(props: SplitLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SplitLayoutMeta?.props) {\n SplitLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { \n left, right, ratio = 0.5, \n spacing, leftWidth, orientation, hideLeftOnMobile,\n background, borderRadius,\n leftBackground, rightBackground,\n leftBorderRadius, rightBorderRadius,\n ...rest \n } = merged;\n\n const validRatio = Math.max(0, Math.min(1, ratio));\n\n return { \n left, right, ratio: validRatio, \n spacing, leftWidth, orientation, hideLeftOnMobile,\n background, borderRadius,\n leftBackground, rightBackground,\n leftBorderRadius, rightBorderRadius,\n rest \n };\n}\n","\nimport { useTheme } from \"../../../../theme/providers/ThemeProvider\";\nimport { spacing, radii } from \"../../../../tokens\";\n\nexport function useSplitLayoutStyle(logic: any) {\n const { theme } = useTheme();\n\n const isVertical = logic.orientation === 'vertical';\n\n const getSpacing = (val: string | number) => {\n if (typeof val === 'number') return val;\n return (spacing as any)[val] || 0;\n };\n\n const getRadius = (val: string) => (radii as any)[val] || 0;\n const getColor = (val: string) => (theme as any)[val] || val;\n\n const gap = getSpacing(logic.spacing);\n\n return {\n container: {\n flex: 1,\n flexDirection: isVertical ? 'column' : 'row',\n backgroundColor: getColor(logic.background),\n borderRadius: getRadius(logic.borderRadius),\n overflow: 'hidden',\n gap,\n },\n left: {\n flex: logic.leftWidth ? undefined : logic.ratio,\n width: isVertical ? '100%' : logic.leftWidth,\n height: isVertical ? logic.leftWidth : '100%',\n backgroundColor: getColor(logic.leftBackground),\n borderRadius: getRadius(logic.leftBorderRadius),\n display: logic.hideLeftOnMobile ? 'none' : 'flex', // En conditions réelles, utiliser un hook de media query\n },\n right: {\n flex: logic.leftWidth ? 1 : (1 - logic.ratio),\n backgroundColor: getColor(logic.rightBackground),\n borderRadius: getRadius(logic.rightBorderRadius),\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useSplitLayoutLogic, SplitLayoutProps } from './SplitLayout.logic';\nimport { useSplitLayoutStyle } from './SplitLayout.style';\n\n/**\n * SplitLayout divides the available width between two panes (left and right) based on a specified percentage ratio.\n * It is ideal for side-by-side comparative views, master-detail interfaces, or any scenario needing a proportional split.\n * \n * Accessibility considerations:\n * - Ensure meaningful content flow so that navigating left-to-right makes sense contextually.\n */\nconst SplitLayout: React.FC<SplitLayoutProps> = (rawProps) => {\n const logic = useSplitLayoutLogic(rawProps);\n const styles = useSplitLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <View style={styles.left as any}>\n {logic.left || <Placeholder label=\"left\" />}\n </View>\n <View style={styles.right as any}>\n {logic.right || <Placeholder label=\"right\" />}\n </View>\n </View>\n );\n};\n\nexport default SplitLayout;\n","{\"type\":\"layout\",\"id\":\"Swipe2ScreenLayout\",\"label\":\"Swipe to Screen\",\"description\":\"Presentation layout with swipe to a projected screen and QR code.\",\"category\":\"special\",\"tags\":[\"swipe\",\"projection\",\"qr\",\"slides\"],\"architecture\":{\"dependencies\":[\"react-native-gesture-handler\",\"expo-camera\",\"expo-haptics\"]},\"slots\":[{\"name\":\"items\",\"label\":\"Slides\",\"required\":true,\"kind\":\"items\"}],\"responsive\":false,\"animated\":true,\"previewItemCount\":3,\"props\":[{\"name\":\"containerBackground\",\"label\":\"Container Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#000\"},{\"name\":\"screenBackground\",\"label\":\"Screen Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#fff\"},{\"name\":\"swipeThreshold\",\"label\":\"Swipe Threshold\",\"type\":\"number\",\"group\":\"behavior\",\"default\":100},{\"name\":\"projectedScale\",\"label\":\"Projected Scale\",\"type\":\"ratio\",\"group\":\"behavior\",\"default\":0.8,\"min\":0.5,\"max\":1},{\"name\":\"animationDuration\",\"label\":\"Animation Duration\",\"type\":\"number\",\"group\":\"behavior\",\"default\":300},{\"name\":\"slides\",\"label\":\"Slides\",\"type\":\"json\",\"group\":\"content\",\"default\":[]}]}","import { useMemo } from 'react';\nimport Swipe2ScreenLayoutMeta from './Swipe2ScreenLayout.meta.yaml';\n\n/**\n * Props for the Swipe2ScreenLayout component.\n */\nexport interface Swipe2ScreenLayoutProps {\n /**\n * The React node representing the content of the first screen (left side).\n */\n screen1?: React.ReactNode;\n /**\n * The React node representing the content of the second screen (right side).\n */\n screen2?: React.ReactNode;\n /**\n * Any additional properties to spread onto the underlying ScrollView container.\n */\n [key: string]: any;\n}\n\nexport function useSwipe2ScreenLayoutLogic(props: Swipe2ScreenLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (Swipe2ScreenLayoutMeta?.props) {\n Swipe2ScreenLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { screen1, screen2, ...rest } = merged;\n\n return { screen1, screen2, rest };\n}\n","\nimport { Dimensions } from 'react-native';\nconst { width } = Dimensions.get('window');\n\nexport function useSwipe2ScreenLayoutStyle(logic: any) {\n return {\n /**\n * Container uses flex: 1 to fill available vertical space, \n * ensuring the horizontal ScrollView displays its content properly.\n */\n container: {\n flex: 1,\n },\n /**\n * Each screen forces its width to the device width to enable accurate paging \n * and snaps. It flexes to fill vertical space.\n */\n screen: {\n width,\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { ScrollView, View } from 'react-native';\nimport { useSwipe2ScreenLayoutLogic, Swipe2ScreenLayoutProps } from './Swipe2ScreenLayout.logic';\nimport { useSwipe2ScreenLayoutStyle } from './Swipe2ScreenLayout.style';\n\n/**\n * @component Swipe2ScreenLayout\n * @description A specialized horizontal layout component that allows swiping between exactly two distinct screens.\n * Useful for simple navigation patterns like tabbed views or split experiences where users can pan \n * horizontally between two distinct primary areas.\n * @accessibility\n * - Includes standard horizontal ScrollView accessibility.\n * - Screen content should dictate their own accessibility roles.\n * - Paging enabled for easy traversal between the two sections.\n */\nconst Swipe2ScreenLayout: React.FC<Swipe2ScreenLayoutProps> = (rawProps) => {\n const logic = useSwipe2ScreenLayoutLogic(rawProps);\n const styles = useSwipe2ScreenLayoutStyle(logic);\n\n return (\n <ScrollView \n horizontal \n pagingEnabled \n showsHorizontalScrollIndicator={false}\n style={[styles.container as any, logic.rest.style]} \n {...logic.rest}\n >\n <View style={styles.screen as any}>\n {logic.screen1 || <Placeholder label=\"screen1\" />}\n </View>\n <View style={styles.screen as any}>\n {logic.screen2 || <Placeholder label=\"screen2\" />}\n </View>\n </ScrollView>\n );\n};\n\nexport default Swipe2ScreenLayout;\n","{\"type\":\"layout\",\"id\":\"SwiperLayout\",\"label\":\"Swiper\",\"description\":\"Multi-directional swipeable carousel with preloading.\",\"category\":\"card\",\"tags\":[\"swiper\",\"carousel\",\"slides\",\"stories\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\"]},\"themeMapping\":{\"root\":\"background\",\"surface\":\"card\"},\"slots\":[{\"name\":\"items\",\"label\":\"Slides\",\"required\":true,\"kind\":\"items\"}],\"constants\":{\"scaleFactor\":0.85},\"responsive\":false,\"animated\":true,\"previewItemCount\":4,\"props\":[{\"name\":\"enableSwipeUp\",\"label\":\"Swipe Up\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"enableSwipeDown\",\"label\":\"Swipe Down\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"cardBackground\",\"label\":\"Card Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"},{\"name\":\"cardBorderRadius\",\"label\":\"Card Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"showCardCount\",\"label\":\"Card Counter\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"preloadRange\",\"label\":\"Preloading\",\"type\":\"number\",\"group\":\"behavior\",\"default\":2},{\"name\":\"swipeThreshold\",\"label\":\"Swipe Threshold\",\"type\":\"number\",\"group\":\"behavior\",\"default\":40},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"springDamping\",\"label\":\"Spring Damping\",\"type\":\"number\",\"group\":\"behavior\",\"default\":12},{\"name\":\"springStiffness\",\"label\":\"Spring Stiffness\",\"type\":\"number\",\"group\":\"behavior\",\"default\":160},{\"name\":\"cardCountBackground\",\"label\":\"Counter Background\",\"type\":\"color\",\"group\":\"style\",\"default\":\"rgba(0,0,0,0.6)\"},{\"name\":\"cardCountTextColor\",\"label\":\"Counter Text\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#fff\"}]}","import { useMemo } from 'react';\nimport SwiperLayoutMeta from './SwiperLayout.meta.yaml';\n\n/**\n * Props for the SwiperLayout component.\n */\nexport interface SwiperLayoutProps {\n /**\n * The child nodes to be rendered as distinct swipable pages.\n */\n children?: React.ReactNode;\n /**\n * Any additional properties to spread onto the underlying ScrollView container.\n */\n [key: string]: any;\n}\n\nexport function useSwiperLayoutLogic(props: SwiperLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SwiperLayoutMeta?.props) {\n SwiperLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nimport { Dimensions } from 'react-native';\nconst { width } = Dimensions.get('window');\n\nexport function useSwiperLayoutStyle(logic: any) {\n return {\n /**\n * Container uses flex: 1 to fill available vertical space, \n * ensuring the horizontal ScrollView works correctly.\n */\n container: {\n flex: 1,\n },\n /**\n * Each slide takes the full width of the screen to ensure proper \n * pagination snapping in the horizontal scroll view.\n */\n slide: {\n width,\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { ScrollView, View } from 'react-native';\nimport { useSwiperLayoutLogic, SwiperLayoutProps } from './SwiperLayout.logic';\nimport { useSwiperLayoutStyle } from './SwiperLayout.style';\n\n/**\n * @component SwiperLayout\n * @description A horizontal swiping layout that allows paginated navigation through a dynamic \n * list of children elements. Good for carousels or multi-step flows.\n * @accessibility\n * - ScrollView is inherently accessible, exposing the content as a single scrollable container.\n * - Paging enabled allows screen readers to navigate smoothly across pages.\n */\nconst SwiperLayout: React.FC<SwiperLayoutProps> = (rawProps) => {\n const logic = useSwiperLayoutLogic(rawProps);\n const styles = useSwiperLayoutStyle(logic);\n\n return (\n <ScrollView \n horizontal \n pagingEnabled \n showsHorizontalScrollIndicator={false}\n style={[styles.container as any, logic.rest.style]} \n {...logic.rest}\n >\n {React.Children.map(logic.children, (child, index) => (\n <View key={index} style={styles.slide as any}>\n {child}\n </View>\n ))}\n </ScrollView>\n );\n};\n\nexport default SwiperLayout;\n","{\"type\":\"layout\",\"id\":\"SystemLayout\",\"label\":\"System UI\",\"description\":\"System wrapper managing StatusBar, SafeAreaView, and NavigationBar.\",\"category\":\"special\",\"tags\":[\"system\",\"statusbar\",\"navigation-bar\",\"safe-area\"],\"architecture\":{\"dependencies\":[\"expo-status-bar\",\"react-native-safe-area-context\"]},\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":true,\"kind\":\"children\"}],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"rootBackgroundColor\",\"label\":\"Root Background Color\",\"type\":\"color\",\"group\":\"style\",\"default\":\"#0c3ddbff\"},{\"name\":\"statusBarContentStyle\",\"label\":\"Status Bar Style\",\"type\":\"enum\",\"group\":\"behavior\",\"default\":\"auto\",\"options\":[\"light\",\"dark\",\"auto\"]},{\"name\":\"edges\",\"label\":\"Safe Area Edges\",\"type\":\"json\",\"group\":\"behavior\",\"default\":[\"top\",\"bottom\",\"left\",\"right\"]},{\"name\":\"navigationBarContentStyle\",\"label\":\"Nav Bar Style\",\"type\":\"enum\",\"group\":\"behavior\",\"options\":[\"light\",\"dark\"]},{\"name\":\"navigationBarReferenceColor\",\"label\":\"Nav Bar Ref Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"card\"}]}","import { useMemo } from 'react';\nimport SystemLayoutMeta from './SystemLayout.meta.yaml';\n\n/**\n * Props for the SystemLayout component.\n */\nexport interface SystemLayoutProps {\n /**\n * The content to be rendered inside the safe area container.\n */\n children?: React.ReactNode;\n /**\n * The visual style of the system status bar ('light', 'dark', or 'auto').\n */\n statusBarMode?: 'light' | 'dark' | 'auto';\n /**\n * Any additional properties to spread onto the SafeAreaView container.\n */\n [key: string]: any;\n}\n\nexport function useSystemLayoutLogic(props: SystemLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (SystemLayoutMeta?.props) {\n SystemLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, statusBarMode = 'auto', ...rest } = merged;\n\n return { children, statusBarMode, rest };\n}\n","\nexport function useSystemLayoutStyle(logic: any) {\n return {\n /**\n * Container uses flex: 1 to ensure it occupies all available screen real estate \n * within the safe area boundaries.\n */\n container: {\n flex: 1,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { useSystemLayoutLogic, SystemLayoutProps } from './SystemLayout.logic';\nimport { useSystemLayoutStyle } from './SystemLayout.style';\nimport { SafeAreaView } from 'react-native-safe-area-context';\nimport { StatusBar } from 'expo-status-bar';\n\n/**\n * @component SystemLayout\n * @description A foundational layout component that provides a safe area for content, \n * avoiding device notches and status bars. It also handles the system status bar styling.\n * @accessibility\n * - Provides a safe container to ensure UI elements are not obscured by system UI.\n * - Leaves specific accessibility roles and labels to its children.\n */\nconst SystemLayout: React.FC<SystemLayoutProps> = (rawProps) => {\n const logic = useSystemLayoutLogic(rawProps);\n const styles = useSystemLayoutStyle(logic);\n\n return (\n <SafeAreaView style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n <StatusBar style={logic.statusBarMode} />\n {logic.children || <Placeholder label=\"children\" />}\n </SafeAreaView>\n );\n};\n\nexport default SystemLayout;\n","{\"type\":\"layout\",\"id\":\"TopDrawerLayout\",\"label\":\"Top Drawer\",\"description\":\"Animated top drawer with swipe gesture.\",\"category\":\"navigation\",\"tags\":[\"drawer\",\"top-sheet\",\"swipe\",\"notification\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\",\"react-native-gesture-handler\",\"expo-haptics\"]},\"themeMapping\":{\"root\":\"background\",\"drawer\":\"background\",\"border\":\"border\",\"muted\":\"muted\"},\"slots\":[{\"name\":\"content\",\"label\":\"Main Content\",\"required\":true,\"kind\":\"named\"},{\"name\":\"drawerContent\",\"label\":\"Drawer Content\",\"required\":true,\"kind\":\"named\"}],\"constants\":{\"springConfig\":{\"damping\":25,\"stiffness\":200,\"mass\":0.5,\"overshootClamping\":true}},\"responsive\":false,\"animated\":true,\"props\":[{\"name\":\"drawerHeight\",\"label\":\"Drawer Height\",\"type\":\"number\",\"group\":\"layout\",\"default\":600},{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"drawerBackground\",\"label\":\"Drawer Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"drawerBorderRadius\",\"label\":\"Drawer Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"3xl\"},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"defaultOpen\",\"label\":\"Open by Default\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":false},{\"name\":\"handleColor\",\"label\":\"Handle Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"backdropOpacity\",\"label\":\"Backdrop Opacity\",\"type\":\"ratio\",\"group\":\"style\",\"default\":0.4,\"min\":0,\"max\":1},{\"name\":\"contentScaleWhenOpen\",\"label\":\"Open Content Scale\",\"type\":\"ratio\",\"group\":\"behavior\",\"default\":0.95,\"min\":0.5,\"max\":1},{\"name\":\"closeButtonBackground\",\"label\":\"Close Button Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"muted\"},{\"name\":\"closeButtonSize\",\"label\":\"Close Button Size\",\"type\":\"number\",\"group\":\"layout\",\"default\":36},{\"name\":\"closeButtonBorderColor\",\"label\":\"Close Button Border\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"border\"},{\"name\":\"closeButtonTextColor\",\"label\":\"Close Button Text\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"mutedForeground\"}]}","import { useMemo } from 'react';\nimport TopDrawerLayoutMeta from './TopDrawerLayout.meta.yaml';\n\n/**\n * Props for the TopDrawerLayout component.\n */\nexport interface TopDrawerLayoutProps {\n /**\n * The content to display inside the drawer panel when it is open.\n */\n drawer?: React.ReactNode;\n /**\n * The primary screen content behind the drawer.\n */\n children?: React.ReactNode;\n /**\n * Controls whether the top drawer is currently visible.\n */\n isOpen?: boolean;\n /**\n * Callback fired when the user taps the background overlay to dismiss the drawer.\n */\n onClose?: () => void;\n /**\n * Any additional properties to spread onto the main View container.\n */\n [key: string]: any;\n}\n\nexport function useTopDrawerLayoutLogic(props: TopDrawerLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TopDrawerLayoutMeta?.props) {\n TopDrawerLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { drawer, children, isOpen = false, onClose, ...rest } = merged;\n\n return { drawer, children, isOpen, onClose, rest };\n}\n","\nexport function useTopDrawerLayoutStyle(logic: any) {\n return {\n /**\n * Main container takes up the entire space using flex: 1.\n */\n container: {\n flex: 1,\n },\n /**\n * The background overlay sits on top of the main content (zIndex: 10) \n * and covers the full screen to intercept taps for closing the drawer.\n */\n overlay: {\n position: 'absolute',\n top: 0, bottom: 0, left: 0, right: 0,\n backgroundColor: 'rgba(0,0,0,0.5)',\n zIndex: 10,\n },\n /**\n * The drawer itself sits above the overlay (zIndex: 20) at the top of the screen.\n */\n drawer: {\n position: 'absolute',\n top: 0, left: 0, right: 0,\n minHeight: 200,\n backgroundColor: '#fff',\n zIndex: 20,\n }\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Pressable } from 'react-native';\nimport { useTopDrawerLayoutLogic, TopDrawerLayoutProps } from './TopDrawerLayout.logic';\nimport { useTopDrawerLayoutStyle } from './TopDrawerLayout.style';\n\n/**\n * @component TopDrawerLayout\n * @description A layout providing a slide-down or overlay drawer from the top of the screen.\n * Useful for global menus, notifications, or settings panels.\n * @accessibility\n * - The overlay acts as a Pressable to close the drawer and includes an accessibilityRole and label.\n * - Drawer content can be read by screen readers when active.\n */\nconst TopDrawerLayout: React.FC<TopDrawerLayoutProps> = (rawProps) => {\n const logic = useTopDrawerLayoutLogic(rawProps);\n const styles = useTopDrawerLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n {logic.isOpen && (\n <>\n <Pressable \n style={styles.overlay as any} \n onPress={logic.onClose} \n accessibilityRole=\"button\"\n accessibilityLabel=\"Close Drawer\"\n />\n <View style={styles.drawer as any}>\n {logic.drawer || <Placeholder label=\"drawer\" />}\n </View>\n </>\n )}\n </View>\n );\n};\n\nexport default TopDrawerLayout;\n","{\"type\":\"layout\",\"id\":\"TutoLayout\",\"lname\":\"TutoLayout\",\"description\":\"A guided tutorial overlay layout that traces children elements and renders an interactive tour.\",\"category\":\"special\",\"tags\":[\"layout\",\"tutorial\",\"guide\",\"onboarding\"],\"architecture\":{\"dependencies\":[\"react-native-reanimated\"]},\"themeMapping\":{\"root\":\"background\",\"accent\":\"primary\",\"text\":\"foreground\"},\"slots\":[{\"name\":\"children\",\"label\":\"Content to Annotate\",\"required\":true,\"kind\":\"children\"}],\"constants\":{\"swipeThreshold\":40},\"responsive\":false,\"animated\":true,\"props\":[{\"name\":\"overlayOpacity\",\"label\":\"Overlay Opacity\",\"type\":\"ratio\",\"group\":\"style\",\"default\":0.78,\"min\":0,\"max\":1},{\"name\":\"overlayColor\",\"label\":\"Overlay Color\",\"type\":\"color\",\"group\":\"style\"},{\"name\":\"showSkip\",\"label\":\"Skip Button\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"nextLabel\",\"label\":\"Next Label\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Next\"},{\"name\":\"finishLabel\",\"label\":\"Finish Label\",\"type\":\"string\",\"group\":\"content\",\"default\":\"Finish\"},{\"name\":\"accentColor\",\"label\":\"Accent Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"primary\"},{\"name\":\"textBackground\",\"label\":\"Text Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"textColor\",\"label\":\"Text Color\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"foreground\"},{\"name\":\"mutedTextColor\",\"label\":\"Secondary Text\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"mutedForeground\"},{\"name\":\"steps\",\"label\":\"Steps\",\"type\":\"json\",\"group\":\"content\",\"default\":[]}]}","import { useMemo, useState, useCallback, useRef } from 'react';\nimport { LayoutRectangle, View } from 'react-native';\nimport { TutoElementRegistry } from './TutoContext';\nimport TutoLayoutMeta from './TutoLayout.meta.yaml';\n\nexport type TutoAnimationType = 'swipe-left' | 'swipe-right' | 'swipe-up' | 'swipe-down' | 'tap' | 'double-tap' | 'none';\n\nexport interface TutoStep {\n /** The ID of the TutoElement to highlight */\n targetId: string;\n /** Title text for the tooltip */\n title?: string;\n /** Description text for the tooltip */\n description?: string;\n /** Animation gesture to display over the highlight */\n animation?: TutoAnimationType;\n}\n\nexport interface TutoLayoutProps {\n /** Array of tutorial steps */\n steps?: TutoStep[];\n /** Whether the tutorial overlay is currently active */\n isActive?: boolean;\n /** Callback fired when a step changes */\n onStepChange?: (stepIndex: number) => void;\n /** Callback fired when the tutorial completes */\n onComplete?: () => void;\n [key: string]: any;\n}\n\nexport function useTutoLayoutLogic(props: TutoLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (TutoLayoutMeta?.props) {\n TutoLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { steps = [], isActive, onStepChange, onComplete, children, ...rest } = merged;\n\n const rootRef = useRef<View>(null);\n const [currentStepIndex, setCurrentStepIndex] = useState(0);\n const [registry, setRegistry] = useState<TutoElementRegistry>(new Map());\n\n const currentStep = steps[currentStepIndex];\n const targetId = currentStep?.targetId;\n\n const nextStep = useCallback(() => {\n if (currentStepIndex < steps.length - 1) {\n const nextIndex = currentStepIndex + 1;\n setCurrentStepIndex(nextIndex);\n onStepChange?.(nextIndex);\n } else {\n onComplete?.();\n }\n }, [currentStepIndex, steps.length, onStepChange, onComplete]);\n \n const prevStep = useCallback(() => {\n if (currentStepIndex > 0) {\n const prevIndex = currentStepIndex - 1;\n setCurrentStepIndex(prevIndex);\n onStepChange?.(prevIndex);\n }\n }, [currentStepIndex, onStepChange]);\n\n const registerElement = useCallback((id: string, layout: LayoutRectangle) => {\n setRegistry(prev => {\n const newMap = new Map(prev);\n newMap.set(id, layout);\n return newMap;\n });\n }, []);\n\n const unregisterElement = useCallback((id: string) => {\n setRegistry(prev => {\n const newMap = new Map(prev);\n newMap.delete(id);\n return newMap;\n });\n }, []);\n\n const targetLayout = targetId ? registry.get(targetId) : undefined;\n\n return { \n steps,\n currentStep,\n currentStepIndex, \n nextStep,\n prevStep,\n isActive,\n targetLayout,\n children,\n rootRef,\n contextValue: { registerElement, unregisterElement, registry, rootRef },\n rest \n };\n}\n","import { useMemo } from 'react';\n\nexport function useTutoLayoutStyle(logic: any) {\n return useMemo(() => ({\n container: {\n flex: 1,\n position: 'relative',\n },\n tooltipContainer: {\n width: 250,\n maxWidth: '80%',\n },\n tooltipCard: {\n backgroundColor: 'white',\n borderRadius: 12,\n padding: 16,\n shadowColor: '#000',\n shadowOffset: { width: 0, height: 4 },\n shadowOpacity: 0.15,\n shadowRadius: 12,\n elevation: 5,\n },\n tooltipTitle: {\n fontSize: 16,\n fontWeight: 'bold',\n marginBottom: 6,\n color: '#1A1A1A',\n },\n tooltipDesc: {\n fontSize: 14,\n color: '#666',\n marginBottom: 12,\n lineHeight: 20,\n },\n tooltipActions: {\n flexDirection: 'row',\n justifyContent: 'flex-end',\n alignItems: 'center',\n gap: 8,\n },\n tooltipBtn: {\n paddingVertical: 6,\n paddingHorizontal: 12,\n borderRadius: 6,\n },\n tooltipBtnPrimary: {\n backgroundColor: '#4A90E2',\n },\n tooltipBtnText: {\n fontSize: 14,\n fontWeight: '600',\n color: '#4A90E2',\n }\n }), [logic]);\n}\n","import { createContext, useContext, RefObject } from 'react';\nimport { LayoutRectangle, View } from 'react-native';\n\nexport type LayoutRect = LayoutRectangle;\nexport type TutoElementRegistry = Map<string, LayoutRectangle>;\n\nexport interface TutoContextType {\n /** Register a component's layout rectangle */\n registerElement: (id: string, layout: LayoutRectangle) => void;\n /** Unregister a component */\n unregisterElement: (id: string) => void;\n /** The current registry map */\n registry: TutoElementRegistry;\n /** Reference to the root layout view for relative measurements */\n rootRef: any;\n}\n\nexport const TutoContext = createContext<TutoContextType | null>(null);\n\nexport const useTutoContext = () => {\n const ctx = useContext(TutoContext);\n if (!ctx) {\n throw new Error('useTutoContext must be used within a TutoLayout');\n }\n return ctx;\n};\n","import React, { useEffect } from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withRepeat, withSequence, withTiming, withDelay } from 'react-native-reanimated';\nimport { TutoAnimationType } from './TutoLayout.logic';\n\nexport const TutoAnimations: React.FC<{ type: TutoAnimationType }> = ({ type }) => {\n const transX = useSharedValue(0);\n const transY = useSharedValue(0);\n const scale = useSharedValue(1);\n const opacity = useSharedValue(0);\n\n useEffect(() => {\n if (type === 'tap') {\n opacity.value = 1;\n scale.value = withRepeat(\n withSequence(\n withTiming(0.8, { duration: 200 }),\n withTiming(1, { duration: 200 }),\n withDelay(1000, withTiming(1, { duration: 0 }))\n ),\n -1,\n true\n );\n } else if (type === 'swipe-right') {\n opacity.value = withRepeat(\n withSequence(\n withTiming(1, { duration: 200 }),\n withTiming(1, { duration: 800 }),\n withTiming(0, { duration: 200 }),\n withDelay(500, withTiming(0, { duration: 0 }))\n ),\n -1\n );\n transX.value = withRepeat(\n withSequence(\n withTiming(0, { duration: 200 }),\n withTiming(100, { duration: 800 }),\n withTiming(100, { duration: 200 }),\n withTiming(0, { duration: 0 }),\n withDelay(500, withTiming(0, { duration: 0 }))\n ),\n -1\n );\n }\n // Add logic for swipe-left, swipe-up, double-tap as needed\n }, [type]);\n\n const style = useAnimatedStyle(() => ({\n opacity: opacity.value,\n transform: [\n { translateX: transX.value },\n { translateY: transY.value },\n { scale: scale.value }\n ]\n }));\n\n if (type === 'none') return null;\n\n return (\n <View style={[StyleSheet.absoluteFill, { justifyContent: \"center\", alignItems: \"center\" }]} pointerEvents=\"none\">\n <Animated.View style={[styles.cursor, style]} />\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n cursor: {\n width: 30,\n height: 30,\n borderRadius: 15,\n backgroundColor: 'rgba(255, 255, 255, 0.7)',\n borderWidth: 2,\n borderColor: 'rgba(0, 0, 0, 0.2)',\n }\n});\n","import React, { useEffect } from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View, Pressable, Text, StyleSheet } from 'react-native';\nimport Animated, { useSharedValue, useAnimatedStyle, withTiming, withSpring } from 'react-native-reanimated';\nimport { useTutoLayoutLogic, TutoLayoutProps } from './TutoLayout.logic';\nimport { useTutoLayoutStyle } from './TutoLayout.style';\nimport { TutoContext } from './TutoContext';\nimport { TutoAnimations } from './TutoAnimations';\n\n/**\n * @component TutoLayout\n * @description \n * An advanced \"Tour Guide\" layout engine designed for onboarding flows.\n * It acts as an absolute wrapper and uses `TutoContext` to track the bounding boxes\n * of children components wrapped in `TutoElement`.\n * Supports highlighting, tooltips, and gesture animations (swipe/tap).\n */\nconst TutoLayout: React.FC<TutoLayoutProps> = (rawProps) => {\n const logic = useTutoLayoutLogic(rawProps);\n const styles = useTutoLayoutStyle(logic);\n\n // Animated properties for the highlight frame\n const animX = useSharedValue(0);\n const animY = useSharedValue(0);\n const animW = useSharedValue(0);\n const animH = useSharedValue(0);\n const animOpacity = useSharedValue(0);\n\n useEffect(() => {\n if (logic.isActive && logic.targetLayout) {\n animOpacity.value = withTiming(1, { duration: 300 });\n animX.value = withSpring(logic.targetLayout.x, { damping: 15 });\n animY.value = withSpring(logic.targetLayout.y, { damping: 15 });\n animW.value = withSpring(logic.targetLayout.width, { damping: 15 });\n animH.value = withSpring(logic.targetLayout.height, { damping: 15 });\n } else {\n animOpacity.value = withTiming(0, { duration: 300 });\n }\n }, [logic.isActive, logic.targetLayout, animOpacity, animX, animY, animW, animH]);\n\n const highlightStyle = useAnimatedStyle(() => ({\n opacity: animOpacity.value,\n left: animX.value,\n top: animY.value,\n width: animW.value,\n height: animH.value,\n position: 'absolute',\n borderWidth: 2,\n borderColor: '#4A90E2',\n borderRadius: 8,\n backgroundColor: 'rgba(74, 144, 226, 0.2)', // Light highlight tint\n zIndex: 9999,\n }));\n\n const tooltipStyle = useAnimatedStyle(() => {\n // Position tooltip below or above the highlight\n // Simple heuristic: put below, unless it's too low\n const topPosition = animY.value + animH.value + 12;\n return {\n opacity: animOpacity.value,\n position: 'absolute',\n left: Math.max(12, animX.value), // Don't go off left edge\n top: topPosition,\n zIndex: 10000,\n };\n });\n\n return (\n <TutoContext.Provider value={logic.contextValue}>\n <View ref={logic.rootRef} style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n\n {/* Tutorial Overlay */}\n <View style={[StyleSheet.absoluteFill, { zIndex: 9998 }]} pointerEvents=\"box-none\">\n {/* Darkened backdrop except highlight area (simulated by border here, or just a solid highlight) */}\n <Animated.View style={highlightStyle} pointerEvents=\"none\">\n {/* Gesture Animations */}\n {logic.currentStep?.animation && (\n <TutoAnimations type={logic.currentStep.animation} />\n )}\n </Animated.View>\n \n {/* Tooltip & Controls */}\n {logic.targetLayout && (\n <Animated.View style={[styles.tooltipContainer as any, tooltipStyle]} pointerEvents=\"box-none\">\n <View style={styles.tooltipCard as any}>\n {!!logic.currentStep?.title && (\n <Text style={styles.tooltipTitle as any}>{logic.currentStep.title}</Text>\n )}\n {!!logic.currentStep?.description && (\n <Text style={styles.tooltipDesc as any}>{logic.currentStep.description}</Text>\n )}\n <View style={styles.tooltipActions as any}>\n {logic.currentStepIndex > 0 && (\n <Pressable onPress={logic.prevStep} style={styles.tooltipBtn as any}>\n <Text style={styles.tooltipBtnText as any}>Back</Text>\n </Pressable>\n )}\n <Pressable onPress={logic.nextStep} style={[styles.tooltipBtn as any, styles.tooltipBtnPrimary as any]}>\n <Text style={[styles.tooltipBtnText as any, { color: 'white' }]}>\n {logic.currentStepIndex === logic.steps.length - 1 ? 'Finish' : 'Next'}\n </Text>\n </Pressable>\n </View>\n </View>\n </Animated.View>\n )}\n </View>\n </View>\n </TutoContext.Provider>\n );\n};\n\nexport default TutoLayout;\n","{\"type\":\"layout\",\"id\":\"VoidLayout\",\"label\":\"Void\",\"description\":\"Minimal container with optional scroll, padding, and maxWidth.\",\"category\":\"page\",\"tags\":[\"blank\",\"empty\",\"minimal\",\"wrapper\"],\"slots\":[{\"name\":\"children\",\"label\":\"Content\",\"required\":true,\"kind\":\"children\"}],\"responsive\":false,\"animated\":false,\"props\":[{\"name\":\"maxWidth\",\"label\":\"Max Width\",\"type\":\"number\",\"group\":\"layout\",\"description\":\"Maximum container width\"},{\"name\":\"scrollable\",\"label\":\"Scrollable\",\"type\":\"boolean\",\"group\":\"behavior\",\"default\":true},{\"name\":\"background\",\"label\":\"Background\",\"type\":\"color\",\"group\":\"style\",\"themeDefault\":\"background\"},{\"name\":\"borderRadius\",\"label\":\"Border Radius\",\"type\":\"radius\",\"group\":\"style\",\"default\":\"none\"},{\"name\":\"padding\",\"label\":\"Padding\",\"type\":\"padding\",\"group\":\"layout\"},{\"name\":\"spacing\",\"label\":\"Spacing\",\"type\":\"spacing\",\"group\":\"layout\",\"default\":0},{\"name\":\"centerContent\",\"label\":\"Center Content\",\"type\":\"boolean\",\"group\":\"layout\",\"default\":false},{\"name\":\"showBorder\",\"label\":\"Visible Border\",\"type\":\"boolean\",\"group\":\"style\",\"default\":false}]}","import { useMemo } from 'react';\nimport VoidLayoutMeta from './VoidLayout.meta.yaml';\n\n/**\n * Props for the VoidLayout component.\n */\nexport interface VoidLayoutProps {\n /**\n * Content to render inside the raw unstyled container.\n */\n children?: React.ReactNode;\n /**\n * Any additional properties to spread onto the underlying View.\n */\n [key: string]: any;\n}\n\nexport function useVoidLayoutLogic(props: VoidLayoutProps) {\n const metaDefaults = useMemo(() => {\n const defaults: Record<string, any> = {};\n if (VoidLayoutMeta?.props) {\n VoidLayoutMeta.props.forEach((p: any) => {\n if (p.default !== undefined) defaults[p.name] = p.default;\n });\n }\n return defaults;\n }, []);\n\n const merged = { ...metaDefaults, ...props };\n const { children, ...rest } = merged;\n\n return { children, rest };\n}\n","\nexport function useVoidLayoutStyle(logic: any) {\n return {\n /**\n * Empty style object for the passthrough container.\n */\n container: {}\n };\n}\n","import React from 'react';\nimport { Placeholder } from '../../Placeholder';\nimport { View } from 'react-native';\nimport { useVoidLayoutLogic, VoidLayoutProps } from './VoidLayout.logic';\nimport { useVoidLayoutStyle } from './VoidLayout.style';\n\n/**\n * @component VoidLayout\n * @description An intentionally blank layout acting purely as a passthrough fragment or unthemed wrapper.\n * Useful for structural hierarchy without visual overhead or as a base class.\n * @accessibility\n * - Purely transparent container, no inherent accessibility role, leaving it to its children.\n */\nconst VoidLayout: React.FC<VoidLayoutProps> = (rawProps) => {\n const logic = useVoidLayoutLogic(rawProps);\n const styles = useVoidLayoutStyle(logic);\n\n return (\n <View style={[styles.container as any, logic.rest.style]} {...logic.rest}>\n {logic.children || <Placeholder label=\"children\" />}\n </View>\n );\n};\n\nexport default VoidLayout;\n","/**\n * PlatformOverride — Context to override platform detection in preview mode.\n * When provided, useBreakpoint and usePlatformInfo will use these values instead of real ones.\n */\nimport React, { createContext, useContext } from 'react';\nimport type { BreakpointInfo } from './useBreakpoint';\nimport type { PlatformInfo } from './usePlatformInfo';\n\n/**\n * Valeur de surcharge (override) pour la plateforme et les points d'arrêt (breakpoints).\n */\nexport interface PlatformOverrideValue {\n breakpoint?: BreakpointInfo;\n platform?: PlatformInfo;\n}\n\nconst Ctx = createContext<PlatformOverrideValue | null>(null);\n\n/**\n * Hook permettant d'accéder au contexte de surcharge de la plateforme.\n * \n * @returns La valeur actuelle du contexte de surcharge ou null.\n */\nexport const usePlatformOverride = () => useContext(Ctx);\n\n/**\n * Fournisseur de contexte pour la surcharge des informations de plateforme.\n *\n * @param props - Les propriétés, incluant la valeur de surcharge et les enfants.\n * @returns Un élément Provider de contexte.\n */\nexport const PlatformOverrideProvider: React.FC<{ value: PlatformOverrideValue; children: React.ReactNode }> = ({ value, children }) => (\n <Ctx.Provider value={value}>{children}</Ctx.Provider>\n);\n","import { Dimensions, Platform } from \"react-native\";\nimport { Breakpoint, breakpoints } from '../../tokens';\n\n/**\n * Retourne le point d'arrêt (breakpoint) correspondant à la largeur d'écran donnée ou courante.\n *\n * @param innerWidth - Largeur d'écran optionnelle à utiliser (par défaut la largeur de la fenêtre).\n * @returns Le point d'arrêt (ex: xs, sm, md, lg, xl, 2xl).\n */\nexport const getBreakpoint = (innerWidth?: number): Breakpoint => {\n const width =\n innerWidth ??\n (Platform.OS === \"web\" && typeof window !== \"undefined\"\n ? window.innerWidth\n : Dimensions.get(\"window\").width);\n\n if (width >= breakpoints[\"2xl\"]) return \"2xl\";\n if (width >= breakpoints.xl) return \"xl\";\n if (width >= breakpoints.lg) return \"lg\";\n if (width >= breakpoints.md) return \"md\";\n if (width >= breakpoints.sm) return \"sm\";\n return \"xs\";\n};\n\n/**\n * Type pour une valeur responsive (valeur brute ou objet associant breakpoint et valeur).\n */\nexport type ResponsiveValue<T> = T | Partial<Record<Breakpoint, T>>;\n\n/**\n * Obtient la valeur correspondante pour un point d'arrêt donné à partir d'un objet ResponsiveValue.\n * Gère le repli (fallback) vers le point d'arrêt inférieur le plus proche.\n *\n * @param value - La valeur ou configuration responsive.\n * @param currentBreakpoint - Le point d'arrêt actuel de référence.\n * @returns La valeur résolue pour le point d'arrêt.\n */\nexport const getResponsiveValue = <T>(\n value: ResponsiveValue<T>,\n currentBreakpoint: Breakpoint,\n): T => {\n if (typeof value !== \"object\" || value === null) {\n return value as T;\n }\n\n const responsiveValue = value as Partial<Record<Breakpoint, T>>;\n const orderedBreakpoints: Breakpoint[] = [\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"2xl\",\n ];\n const currentIndex = orderedBreakpoints.indexOf(currentBreakpoint);\n\n for (let i = currentIndex; i >= 0; i--) {\n const bp = orderedBreakpoints[i];\n if (responsiveValue[bp] !== undefined) {\n return responsiveValue[bp] as T;\n }\n }\n\n return responsiveValue[orderedBreakpoints[0]] as T;\n};","import React, { useCallback, useRef } from 'react';\nimport { View, LayoutChangeEvent, ViewStyle, InteractionManager } from 'react-native';\nimport { useTutoContext } from './TutoContext';\n\nexport interface TutoElementProps {\n id: string;\n children: React.ReactNode;\n style?: ViewStyle;\n}\n\n/**\n * @component TutoElement\n * @description\n * Wraps an element and automatically registers its bounding box into the TutoLayout registry.\n * Uses measureLayout to calculate position relative to the TutoLayout root.\n */\nexport const TutoElement: React.FC<TutoElementProps> = ({ id, children, style }) => {\n const { registerElement, unregisterElement, rootRef } = useTutoContext();\n const viewRef = useRef<View>(null);\n\n const measureAndRegister = useCallback(() => {\n if (viewRef.current && rootRef.current) {\n viewRef.current.measureLayout(\n rootRef.current,\n (x, y, width, height) => {\n registerElement(id, { x, y, width, height });\n },\n () => {\n // Fallback if measureLayout fails (e.g. not in same view hierarchy yet)\n }\n );\n }\n }, [id, registerElement, rootRef]);\n\n const handleLayout = useCallback((e: LayoutChangeEvent) => {\n // Wait for the next tick to ensure layout is fully computed\n InteractionManager.runAfterInteractions(() => {\n measureAndRegister();\n });\n }, [measureAndRegister]);\n\n React.useEffect(() => {\n return () => {\n unregisterElement(id);\n };\n }, [id, unregisterElement]);\n\n return (\n <View ref={viewRef} style={style} onLayout={handleLayout} collapsable={false}>\n {children}\n </View>\n );\n};\n\nexport default TutoElement;\n"]}