@amazecontinuityprojects/amazeui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +2 -0
- package/dist/index.d.mts +166 -0
- package/dist/index.d.ts +166 -0
- package/dist/index.js +682 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +605 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/components/ui/button.tsx","../src/lib/utils.ts","../src/components/ui/card.tsx","../src/components/ui/input.tsx","../src/components/ui/label.tsx","../src/components/ui/skeleton.tsx","../src/components/ui/switch.tsx","../src/components/ui/progress.tsx","../src/components/ui/tabs.tsx","../src/components/ui/table.tsx","../src/components/ui/dialog.tsx","../src/components/ui/dropdown-menu.tsx","../src/components/ui/popover.tsx"],"sourcesContent":["export * from \"./components/ui/button\";\nexport * from \"./components/ui/card\";\nexport * from \"./components/ui/input\";\nexport * from \"./components/ui/label\";\nexport * from \"./components/ui/skeleton\";\nexport * from \"./components/ui/switch\";\nexport * from \"./components/ui/progress\";\nexport * from \"./components/ui/tabs\";\nexport * from \"./components/ui/table\";\nexport * from \"./components/ui/dialog\";\nexport * from \"./components/ui/dropdown-menu\";\nexport * from \"./components/ui/popover\";\nexport * from \"./lib/utils\";\n","import * as React from \"react\"\nimport { Pressable, Text, type PressableProps, type TextProps } from \"react-native\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { cn } from \"../../lib/utils\"\n\nconst buttonVariants = cva(\n \"flex flex-row items-center justify-center gap-2 rounded-md font-medium transition-all\",\n {\n variants: {\n variant: {\n default: \"bg-primary hover:bg-primary/90\",\n destructive: \"bg-danger hover:bg-danger/90\",\n outline: \"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground\",\n secondary: \"bg-secondary hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"underline-offset-4 hover:underline\",\n },\n size: {\n default: \"h-9 px-4 py-2\",\n sm: \"h-8 rounded-md px-3\",\n lg: \"h-10 rounded-md px-6\",\n icon: \"h-9 w-9\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n)\n\nconst buttonTextVariants = cva(\n \"font-medium\",\n {\n variants: {\n variant: {\n default: \"text-primary-foreground\",\n destructive: \"text-white\",\n outline: \"text-foreground\",\n secondary: \"text-secondary-foreground\",\n ghost: \"text-foreground\",\n link: \"text-primary\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nexport interface ButtonProps\n extends PressableProps,\n VariantProps<typeof buttonVariants> {\n children: React.ReactNode;\n className?: string;\n textClassName?: string;\n}\n\nconst Button = React.forwardRef<React.ElementRef<typeof Pressable>, ButtonProps>(\n ({ className, variant, size, children, textClassName, ...props }, ref) => {\n return (\n <Pressable\n ref={ref}\n {...({ className: cn(buttonVariants({ variant, size }), className) } as any)}\n {...props}\n >\n {typeof children === 'string' ? (\n <Text {...({ className: cn(buttonTextVariants({ variant }), textClassName) } as any)}>{children}</Text>\n ) : children}\n </Pressable>\n )\n }\n)\nButton.displayName = \"Button\"\n\nexport { Button, buttonVariants, buttonTextVariants }\n","import { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n","import * as React from \"react\"\nimport { View, Text, type ViewProps, type TextProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nconst Card = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\"rounded-xl border border-border bg-card shadow-sm\", className) } as any)}\n {...props}\n />\n )\n)\nCard.displayName = \"Card\"\n\nconst CardHeader = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\"flex flex-col space-y-1.5 p-6\", className) } as any)}\n {...props}\n />\n )\n)\nCardHeader.displayName = \"CardHeader\"\n\nconst CardTitle = React.forwardRef<React.ElementRef<typeof Text>, TextProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <Text\n ref={ref}\n {...({ className: cn(\"font-semibold text-lg leading-none tracking-tight text-foreground\", className) } as any)}\n {...props}\n />\n )\n)\nCardTitle.displayName = \"CardTitle\"\n\nconst CardDescription = React.forwardRef<React.ElementRef<typeof Text>, TextProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <Text\n ref={ref}\n {...({ className: cn(\"text-sm text-muted-foreground\", className) } as any)}\n {...props}\n />\n )\n)\nCardDescription.displayName = \"CardDescription\"\n\nconst CardContent = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View ref={ref} {...({ className: cn(\"p-6 pt-0\", className) } as any)} {...props} />\n )\n)\nCardContent.displayName = \"CardContent\"\n\nconst CardFooter = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\"flex flex-row items-center p-6 pt-0\", className) } as any)}\n {...props}\n />\n )\n)\nCardFooter.displayName = \"CardFooter\"\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n","import * as React from \"react\"\nimport { TextInput, type TextInputProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nexport interface InputProps extends TextInputProps {\n className?: string;\n}\n\nconst Input = React.forwardRef<React.ElementRef<typeof TextInput>, InputProps>(\n ({ className, ...props }, ref) => {\n return (\n <TextInput\n ref={ref}\n placeholderTextColor=\"#a3a3a3\" // gray-400 equivalent for default placeholder\n {...({ className: cn(\"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm text-foreground\", className) } as any)}\n {...props}\n />\n )\n }\n)\nInput.displayName = \"Input\"\n\nexport { Input }\n","import * as React from \"react\"\nimport { Text, type TextProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nconst labelVariants = cva(\n \"text-sm font-medium leading-none text-foreground peer-disabled:opacity-70\",\n {\n variants: {},\n defaultVariants: {},\n }\n)\n\nexport interface LabelProps extends TextProps, VariantProps<typeof labelVariants> {\n className?: string;\n}\n\nconst Label = React.forwardRef<React.ElementRef<typeof Text>, LabelProps>(\n ({ className, ...props }, ref) => (\n <Text\n ref={ref}\n {...({ className: cn(labelVariants(), className) } as any)}\n {...props}\n />\n )\n)\nLabel.displayName = \"Label\"\n\nexport { Label }\n","import * as React from \"react\"\nimport { View, type ViewProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nexport interface SkeletonProps extends ViewProps {\n className?: string;\n}\n\nfunction Skeleton({ className, ...props }: SkeletonProps) {\n return (\n <View\n {...({ className: cn(\"animate-pulse rounded-md bg-primary/10\", className) } as any)}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n","import * as React from \"react\"\nimport { Switch as NativeSwitch, type SwitchProps as NativeSwitchProps } from \"react-native\"\n\nexport interface SwitchProps extends NativeSwitchProps {\n className?: string; // Kept for interface compatibility, though Native Switch styling is limited via className\n}\n\nconst Switch = React.forwardRef<React.ElementRef<typeof NativeSwitch>, SwitchProps>(\n ({ className, ...props }, ref) => {\n return (\n <NativeSwitch\n ref={ref}\n {...props}\n />\n )\n }\n)\nSwitch.displayName = \"Switch\"\n\nexport { Switch }\n","import * as React from \"react\"\nimport { View, type ViewProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nexport interface ProgressProps extends ViewProps {\n className?: string;\n value?: number;\n}\n\nconst Progress = React.forwardRef<React.ElementRef<typeof View>, ProgressProps>(\n ({ className, value = 0, ...props }, ref) => {\n // Ensure value is between 0 and 100\n const boundedValue = Math.min(100, Math.max(0, value || 0));\n \n return (\n <View\n ref={ref}\n {...({ className: cn(\"relative h-2 w-full overflow-hidden rounded-full bg-primary/20\", className) } as any)}\n {...props}\n >\n <View \n {...({ className: \"h-full bg-primary flex-1 transition-all\" } as any)}\n style={{ width: `${boundedValue}%` }}\n />\n </View>\n )\n }\n)\nProgress.displayName = \"Progress\"\n\nexport { Progress }\n","import * as React from \"react\"\nimport { View, Pressable, Text, type ViewProps, type PressableProps, type TextProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nconst TabsContext = React.createContext<{\n value: string\n onValueChange: (value: string) => void\n} | null>(null)\n\nexport interface TabsProps extends ViewProps {\n value?: string\n defaultValue?: string\n onValueChange?: (value: string) => void\n className?: string\n}\n\nfunction Tabs({ value: controlledValue, defaultValue, onValueChange, className, children, ...props }: TabsProps) {\n const [uncontrolledValue, setUncontrolledValue] = React.useState(defaultValue || \"\")\n \n const value = controlledValue !== undefined ? controlledValue : uncontrolledValue\n const handleValueChange = React.useCallback(\n (newValue: string) => {\n setUncontrolledValue(newValue)\n onValueChange?.(newValue)\n },\n [onValueChange]\n )\n\n return (\n <TabsContext.Provider value={{ value, onValueChange: handleValueChange }}>\n <View {...({ className } as any)} {...props}>\n {children}\n </View>\n </TabsContext.Provider>\n )\n}\n\nfunction useTabsContext() {\n const context = React.useContext(TabsContext)\n if (!context) {\n throw new Error(\"Tabs compound components must be rendered within the Tabs component\")\n }\n return context\n}\n\nconst TabsList = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\"flex-row items-center justify-center rounded-md bg-muted p-1 text-muted-foreground\", className) } as any)}\n {...props}\n />\n )\n)\nTabsList.displayName = \"TabsList\"\n\nconst TabsTrigger = React.forwardRef<React.ElementRef<typeof Pressable>, PressableProps & { value: string; className?: string; textClassName?: string }>(\n ({ className, textClassName, value, children, ...props }, ref) => {\n const context = useTabsContext()\n const isSelected = context.value === value\n\n return (\n <Pressable\n ref={ref}\n onPress={() => context.onValueChange(value)}\n {...({ className: cn(\n \"flex-1 items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5\",\n isSelected ? \"bg-background shadow-sm\" : \"bg-transparent\",\n className\n ) } as any)}\n {...props}\n >\n {typeof children === 'string' ? (\n <Text {...({ className: cn(\"text-sm font-medium transition-all\", isSelected ? \"text-foreground\" : \"text-muted-foreground\", textClassName) } as any)}>\n {children}\n </Text>\n ) : (\n children\n )}\n </Pressable>\n )\n }\n)\nTabsTrigger.displayName = \"TabsTrigger\"\n\nconst TabsContent = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { value: string; className?: string }>(\n ({ className, value, children, ...props }, ref) => {\n const context = useTabsContext()\n\n if (context.value !== value) {\n return null\n }\n\n return (\n <View\n ref={ref}\n {...({ className: cn(\"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\", className) } as any)}\n {...props}\n >\n {children}\n </View>\n )\n }\n)\nTabsContent.displayName = \"TabsContent\"\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent }\n","import * as React from \"react\"\nimport { View, Text, type ViewProps, type TextProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nconst Table = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View {...({ className: \"w-full overflow-hidden\" } as any)}>\n <View\n ref={ref}\n {...({ className: cn(\"w-full text-sm\", className) } as any)}\n {...props}\n />\n </View>\n )\n)\nTable.displayName = \"Table\"\n\nconst TableHeader = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View ref={ref} {...({ className: cn(\"flex flex-row items-center border-b border-border bg-muted/50\", className) } as any)} {...props} />\n )\n)\nTableHeader.displayName = \"TableHeader\"\n\nconst TableBody = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\"flex flex-col [&_>_view:last-child]:border-0\", className) } as any)}\n {...props}\n />\n )\n)\nTableBody.displayName = \"TableBody\"\n\nconst TableRow = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\n \"flex flex-row items-center border-b border-border transition-colors hover:bg-muted/50\",\n className\n ) } as any)}\n {...props}\n />\n )\n)\nTableRow.displayName = \"TableRow\"\n\nconst TableHead = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, children, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\n \"h-12 px-4 flex justify-center text-left align-middle font-medium text-muted-foreground\",\n className\n ) } as any)}\n {...props}\n >\n {typeof children === 'string' ? <Text {...({ className: \"font-semibold text-muted-foreground text-sm\" } as any)}>{children}</Text> : children}\n </View>\n )\n)\nTableHead.displayName = \"TableHead\"\n\nconst TableCell = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, children, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\"p-4 align-middle\", className) } as any)}\n {...props}\n >\n {typeof children === 'string' ? <Text {...({ className: \"text-foreground text-sm\" } as any)}>{children}</Text> : children}\n </View>\n )\n)\nTableCell.displayName = \"TableCell\"\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableRow,\n TableHead,\n TableCell,\n}\n","import * as React from \"react\"\nimport { Modal, View, Text, Pressable, type ModalProps, type ViewProps, type TextProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nexport interface DialogProps extends ModalProps {\n open?: boolean;\n onOpenChange?: (open: boolean) => void;\n children?: React.ReactNode;\n}\n\nconst DialogContext = React.createContext<{\n open: boolean;\n onOpenChange: (open: boolean) => void;\n} | null>(null)\n\nfunction useDialog() {\n const context = React.useContext(DialogContext)\n if (!context) throw new Error(\"Dialog components must be used within a Dialog\")\n return context\n}\n\nfunction Dialog({ open = false, onOpenChange, children, ...props }: DialogProps) {\n const [isOpen, setIsOpen] = React.useState(open)\n const isControlled = onOpenChange !== undefined\n \n const currentOpen = isControlled ? open : isOpen\n const setCurrentOpen = React.useCallback((val: boolean) => {\n if (!isControlled) setIsOpen(val)\n onOpenChange?.(val)\n }, [isControlled, onOpenChange])\n\n return (\n <DialogContext.Provider value={{ open: currentOpen, onOpenChange: setCurrentOpen }}>\n {children}\n </DialogContext.Provider>\n )\n}\n\nconst DialogTrigger = React.forwardRef<React.ElementRef<typeof Pressable>, React.ComponentProps<typeof Pressable>>(\n ({ onPress, children, ...props }, ref) => {\n const { onOpenChange } = useDialog()\n return (\n <Pressable ref={ref} onPress={(e) => { onOpenChange(true); onPress?.(e) }} {...props}>\n {children}\n </Pressable>\n )\n }\n)\nDialogTrigger.displayName = \"DialogTrigger\"\n\nconst DialogContent = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, children, ...props }, ref) => {\n const { open, onOpenChange } = useDialog()\n\n return (\n <Modal\n visible={open}\n transparent={true}\n animationType=\"fade\"\n onRequestClose={() => onOpenChange(false)}\n >\n <View {...({ className: \"flex-1 items-center justify-center bg-black/80\" } as any)}>\n <View\n ref={ref}\n {...({ className: cn(\"w-full max-w-lg rounded-xl border border-border bg-background p-6 shadow-lg sm:rounded-[1rem]\", className) } as any)}\n {...props}\n >\n {children}\n </View>\n </View>\n </Modal>\n )\n }\n)\nDialogContent.displayName = \"DialogContent\"\n\nconst DialogHeader = ({ className, ...props }: ViewProps & { className?: string }) => (\n <View {...({ className: cn(\"flex flex-col space-y-1.5 text-center sm:text-left\", className) } as any)} {...props} />\n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({ className, ...props }: ViewProps & { className?: string }) => (\n <View {...({ className: cn(\"flex flex-row flex-wrap items-center justify-end space-x-2 mt-4\", className) } as any)} {...props} />\n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<React.ElementRef<typeof Text>, TextProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <Text ref={ref} {...({ className: cn(\"text-lg font-semibold leading-none tracking-tight text-foreground\", className) } as any)} {...props} />\n )\n)\nDialogTitle.displayName = \"DialogTitle\"\n\nconst DialogDescription = React.forwardRef<React.ElementRef<typeof Text>, TextProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <Text ref={ref} {...({ className: cn(\"text-sm text-muted-foreground\", className) } as any)} {...props} />\n )\n)\nDialogDescription.displayName = \"DialogDescription\"\n\nexport {\n Dialog,\n DialogTrigger,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n","import * as React from \"react\"\nimport { Modal, View, Text, Pressable, type ViewProps, type TextProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nexport interface DropdownMenuProps {\n children: React.ReactNode;\n}\n\nconst DropdownContext = React.createContext<{\n open: boolean;\n setOpen: (open: boolean) => void;\n} | null>(null)\n\nfunction DropdownMenu({ children }: DropdownMenuProps) {\n const [open, setOpen] = React.useState(false)\n return (\n <DropdownContext.Provider value={{ open, setOpen }}>\n <View {...({ className: \"relative\" } as any)}>\n {children}\n </View>\n </DropdownContext.Provider>\n )\n}\n\nconst DropdownMenuTrigger = React.forwardRef<React.ElementRef<typeof Pressable>, React.ComponentProps<typeof Pressable>>(\n ({ onPress, children, ...props }, ref) => {\n const context = React.useContext(DropdownContext)\n return (\n <Pressable ref={ref} onPress={(e) => { context?.setOpen(!context.open); onPress?.(e) }} {...props}>\n {children}\n </Pressable>\n )\n }\n)\nDropdownMenuTrigger.displayName = \"DropdownMenuTrigger\"\n\nconst DropdownMenuContent = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, children, ...props }, ref) => {\n const context = React.useContext(DropdownContext)\n if (!context?.open) return null\n\n return (\n <Modal visible={context.open} transparent={true} animationType=\"fade\" onRequestClose={() => context.setOpen(false)}>\n <Pressable \n onPress={() => context.setOpen(false)} \n {...({ className: \"flex-1 bg-black/10 justify-end sm:justify-center items-center\" } as any)}\n >\n <Pressable onPress={(e) => e.stopPropagation()}>\n <View\n ref={ref}\n {...({ className: cn(\"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 zoom-in-95\", className) } as any)}\n {...props}\n >\n {children}\n </View>\n </Pressable>\n </Pressable>\n </Modal>\n )\n }\n)\nDropdownMenuContent.displayName = \"DropdownMenuContent\"\n\nconst DropdownMenuItem = React.forwardRef<React.ElementRef<typeof Pressable>, React.ComponentProps<typeof Pressable> & { className?: string; textClassName?: string }>(\n ({ className, textClassName, onPress, children, ...props }, ref) => {\n const context = React.useContext(DropdownContext)\n return (\n <Pressable\n ref={ref}\n onPress={(e) => { context?.setOpen(false); onPress?.(e) }}\n {...({ className: cn(\"relative flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent focus:bg-accent\", className) } as any)}\n {...props}\n >\n {typeof children === 'string' ? (\n <Text {...({ className: cn(\"text-foreground\", textClassName) } as any)}>{children}</Text>\n ) : children}\n </Pressable>\n )\n }\n)\nDropdownMenuItem.displayName = \"DropdownMenuItem\"\n\nconst DropdownMenuLabel = React.forwardRef<React.ElementRef<typeof Text>, TextProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <Text ref={ref} {...({ className: cn(\"px-2 py-1.5 text-sm font-semibold text-foreground\", className) } as any)} {...props} />\n )\n)\nDropdownMenuLabel.displayName = \"DropdownMenuLabel\"\n\nconst DropdownMenuSeparator = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, ...props }, ref) => (\n <View ref={ref} {...({ className: cn(\"-mx-1 my-1 h-px bg-muted\", className) } as any)} {...props} />\n )\n)\nDropdownMenuSeparator.displayName = \"DropdownMenuSeparator\"\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n}\n","import * as React from \"react\"\nimport { Modal, View, Pressable, type ViewProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nexport interface PopoverProps {\n children: React.ReactNode;\n}\n\nconst PopoverContext = React.createContext<{\n open: boolean;\n setOpen: (open: boolean) => void;\n} | null>(null)\n\nfunction Popover({ children }: PopoverProps) {\n const [open, setOpen] = React.useState(false)\n return (\n <PopoverContext.Provider value={{ open, setOpen }}>\n <View {...({ className: \"relative\" } as any)}>\n {children}\n </View>\n </PopoverContext.Provider>\n )\n}\n\nconst PopoverTrigger = React.forwardRef<React.ElementRef<typeof Pressable>, React.ComponentProps<typeof Pressable>>(\n ({ onPress, children, ...props }, ref) => {\n const context = React.useContext(PopoverContext)\n return (\n <Pressable ref={ref} onPress={(e) => { context?.setOpen(!context.open); onPress?.(e) }} {...props}>\n {children}\n </Pressable>\n )\n }\n)\nPopoverTrigger.displayName = \"PopoverTrigger\"\n\nconst PopoverContent = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string }>(\n ({ className, children, ...props }, ref) => {\n const context = React.useContext(PopoverContext)\n if (!context?.open) return null\n\n return (\n <Modal visible={context.open} transparent={true} animationType=\"fade\" onRequestClose={() => context.setOpen(false)}>\n <Pressable \n onPress={() => context.setOpen(false)} \n {...({ className: \"flex-1 bg-transparent justify-center items-center\" } as any)}\n >\n <Pressable onPress={(e) => e.stopPropagation()}>\n <View\n ref={ref}\n {...({ className: cn(\"z-50 w-72 rounded-md border border-border bg-popover p-4 text-popover-foreground shadow-md outline-none\", className) } as any)}\n {...props}\n >\n {children}\n </View>\n </Pressable>\n </Pressable>\n </Modal>\n )\n }\n)\nPopoverContent.displayName = \"PopoverContent\"\n\nexport { Popover, PopoverTrigger, PopoverContent }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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,GACF;AAEJ;AAEA,IAAM,iBAAuB;AAAA,EAC3B,CAAC,EAAE,SAAS,UAAU,GAAG,MAAM,GAAG,QAAQ;AACxC,UAAM,UAAgB,mBAAW,cAAc;AAC/C,WACE,8CAAC,mCAAU,KAAU,SAAS,CAAC,MAAM;AAAE,yCAAS,QAAQ,CAAC,QAAQ;AAAO,yCAAU;AAAA,IAAG,GAAI,GAAG,OACzF,UACH;AAAA,EAEJ;AACF;AACA,eAAe,cAAc;AAE7B,IAAM,iBAAuB;AAAA,EAC3B,CAAC,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,QAAQ;AAC1C,UAAM,UAAgB,mBAAW,cAAc;AAC/C,QAAI,EAAC,mCAAS,MAAM,QAAO;AAE3B,WACE,8CAAC,+BAAM,SAAS,QAAQ,MAAM,aAAa,MAAM,eAAc,QAAO,gBAAgB,MAAM,QAAQ,QAAQ,KAAK,GAC/G;AAAA,MAAC;AAAA;AAAA,QACE,SAAS,MAAM,QAAQ,QAAQ,KAAK;AAAA,QACnC,GAAI,EAAE,WAAW,oDAAoD;AAAA,QAEvE,wDAAC,mCAAU,SAAS,CAAC,MAAM,EAAE,gBAAgB,GAC3C;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACC,GAAI,EAAE,WAAW,GAAG,2GAA2G,SAAS,EAAE;AAAA,YAC1I,GAAG;AAAA,YAEH;AAAA;AAAA,QACH,GACF;AAAA;AAAA,IACF,GACF;AAAA,EAEJ;AACF;AACA,eAAe,cAAc;","names":["React","import_react_native","import_jsx_runtime","React","import_react_native","import_jsx_runtime","React","import_react_native","import_class_variance_authority","import_jsx_runtime","import_react_native","import_jsx_runtime","React","import_react_native","import_jsx_runtime","NativeSwitch","React","import_react_native","import_jsx_runtime","React","import_react_native","import_jsx_runtime","React","import_react_native","import_jsx_runtime","React","import_react_native","import_jsx_runtime","React","import_react_native","import_jsx_runtime","React","import_react_native","import_jsx_runtime"]}
|