@amazecontinuityprojects/amazeui 1.0.0 → 1.1.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/dist/index.d.mts +81 -36
- package/dist/index.d.ts +81 -36
- package/dist/index.js +402 -162
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +385 -154
- package/dist/index.mjs.map +1 -1
- package/dist/tailwind.css +239 -0
- package/package.json +5 -2
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../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":["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,YAAY,WAAW;AACvB,SAAS,WAAW,YAAiD;AACrE,SAAS,WAA8B;;;ACFvC,SAAS,YAA6B;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;AD8DW;AA9DX,IAAM,iBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,aAAa;AAAA,QACb,SAAS;AAAA,QACT,WAAW;AAAA,QACX,OAAO;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM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","jsx","Text","View","jsx","View","React","jsx","React","View","jsx","View","React","View","Pressable","Text","jsx","View","Pressable","Text","React","View","Text","jsx","View","Text","React","View","Text","Pressable","jsx","Pressable","View","Text","React","Modal","View","Text","Pressable","jsx","View","Pressable","Modal","Text","React","Modal","View","Pressable","jsx","View","Pressable","Modal"]}
|
|
1
|
+
{"version":3,"sources":["../src/lib/primitives.tsx","../src/lib/utils.ts","../src/components/ui/button.tsx","../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","../src/components/ui/sidebar.tsx","../src/components/ui/theme-provider.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Platform, View as RNView, Text as RNText, Pressable as RNPressable, TextInput as RNTextInput } from \"react-native\";\nimport type { ViewProps, TextProps, PressableProps, TextInputProps } from \"react-native\";\n\nimport { cn } from \"./utils\";\n\nexport const View = React.forwardRef<any, ViewProps & { className?: string }>(({ className, style, ...props }, ref) => {\n if (Platform.OS === 'web') {\n const C = \"div\" as any;\n return <C ref={ref} className={cn(\"flex flex-col items-stretch justify-start min-w-0 min-h-0 relative\", className)} style={style as any} {...props as any} />;\n // Note: removed inline styles that override tailwind classes\n }\n return <RNView ref={ref} className={className} style={style} {...props} />;\n});\nView.displayName = \"View\";\n\nexport const Text = React.forwardRef<any, TextProps & { className?: string }>(({ className, style, ...props }, ref) => {\n if (Platform.OS === 'web') {\n const C = \"span\" as any;\n return <C ref={ref} className={cn(\"inline m-0 p-0\", className)} style={style as any} {...props as any} />;\n }\n return <RNText ref={ref} className={className} style={style} {...props} />;\n});\nText.displayName = \"Text\";\n\nexport const Pressable = React.forwardRef<any, PressableProps & { className?: string, onClick?: any }>(({ className, style, onPress, onClick, ...props }, ref) => {\n if (Platform.OS === 'web') {\n const C = \"button\" as any;\n return <C ref={ref} type=\"button\" onClick={onPress || onClick} className={cn(\"flex flex-col items-stretch justify-start bg-transparent border-none p-0 m-0 cursor-pointer outline-none relative\", className)} style={style as any} {...props as any} />;\n }\n return <RNPressable ref={ref} onPress={onPress || onClick} className={className} style={style} {...props} />;\n});\nPressable.displayName = \"Pressable\";\n\nexport const TextInput = React.forwardRef<any, TextInputProps & { className?: string, onChange?: any }>(({ className, style, onChangeText, onChange, value, ...props }, ref) => {\n if (Platform.OS === 'web') {\n const C = \"input\" as any;\n return <C ref={ref} value={value} onChange={(e: any) => { onChangeText?.(e.target.value); onChange?.(e); }} className={className} style={{ ...(style as any) }} {...props as any} />;\n }\n return <RNTextInput ref={ref} value={value} onChangeText={onChangeText} onChange={onChange} className={className} style={style} {...props} />;\n});\nTextInput.displayName = \"TextInput\";\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","\"use client\";\nimport { Text, Pressable } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { 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 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 defaultVariants: {\n variant: \"default\",\n size: \"default\"}}\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 defaultVariants: {\n variant: \"default\"}}\n)\n\nexport interface ButtonProps\n extends PressableProps,\n VariantProps<typeof buttonVariants> {\n children: React.ReactNode;\n className?: string;\n textClassName?: string;\n onClick?: (event: any) => void;\n}\n\nconst Button = React.forwardRef<React.ElementRef<typeof Pressable>, ButtonProps>(\n ({ className, variant, size, children, textClassName, onClick, onPress, ...props }, ref) => {\n return (\n <Pressable onPress={onPress || onClick}\n ref={ref}\n {...({ className: cn(buttonVariants({ variant, size }), className) } as any)}\n {...props}\n >\n {React.Children.map(children, (child) => \n typeof child === 'string' || typeof child === 'number' ? (\n <Text {...({ className: cn(buttonTextVariants({ variant }), textClassName) } as any)}>{child}</Text>\n ) : (\n child\n )\n )}\n </Pressable>\n )\n }\n)\nButton.displayName = \"Button\"\n\nexport { Button, buttonVariants, buttonTextVariants }\n\n","\"use client\";\nimport { View, Text } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { type ViewProps, type TextProps } from \"react-native\"\nimport { cn } from \"../../lib/utils\"\n\nconst Card = React.forwardRef<React.ElementRef<typeof View>, ViewProps & { className?: string; onClick?: React.MouseEventHandler<HTMLDivElement>; onPress?: any }>(\n ({ className, ...props }, ref) => (\n <View\n ref={ref}\n {...({ className: cn(\"rounded-xl border border-border bg-card/60 backdrop-blur-xl shadow-sm dark:bg-card/40\", 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\n","\"use client\";\nimport { TextInput } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { 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\n","\"use client\";\nimport { Text } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { 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\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\n","\"use client\";\nimport { View } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { 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\n","\"use client\";\nimport * as React from \"react\"\nimport { Switch as NativeSwitch, type SwitchProps as NativeSwitchProps } from \"react-native\"\n\nexport interface SwitchProps extends NativeSwitchProps {\n onCheckedChange?: (checked: boolean) => void;\n checked?: boolean;\n onChange?: (event: any) => void;\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, onCheckedChange, onChange, onValueChange, checked, value, ...props }, ref) => {\n return (\n <NativeSwitch value={checked !== undefined ? checked : value} onValueChange={(val) => { onValueChange?.(val); onCheckedChange?.(val); onChange?.(val); }}\n ref={ref}\n {...props}\n />\n )\n }\n)\nSwitch.displayName = \"Switch\"\n\nexport { Switch }\n\n","\"use client\";\nimport { View } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { 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\n","\"use client\";\nimport { View, Text, Pressable } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { 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\n","\"use client\";\nimport { View, Text } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { 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","\"use client\";\nimport { View, Text, Pressable } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { Modal, 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 as any).onClick?.(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","\"use client\";\nimport { View, Text, Pressable } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { Modal, 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 as any).onClick?.(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); (props as any).onClick?.(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","\"use client\";\nimport { View, Pressable } from \"../../lib/primitives\";\nimport * as React from \"react\"\nimport { Modal, 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 as any).onClick?.(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\n","\"use client\";\nimport * as React from \"react\"\nimport { cn } from \"../../lib/utils\"\n\nconst SidebarContext = React.createContext<{\n isOpen: boolean\n setIsOpen: (open: boolean) => void\n} | null>(null)\n\nexport function useSidebar() {\n const context = React.useContext(SidebarContext)\n if (!context) {\n throw new Error(\"useSidebar must be used within a SidebarProvider\")\n }\n return context\n}\n\nexport interface SidebarProps extends React.HTMLAttributes<HTMLDivElement> {\n isOpen?: boolean\n onOpenChange?: (open: boolean) => void\n side?: \"left\" | \"right\"\n}\n\nexport const Sidebar = React.forwardRef<HTMLDivElement, SidebarProps>(\n ({ className, isOpen = true, onOpenChange, side = \"left\", children, ...props }, ref) => {\n const [internalOpen, setInternalOpen] = React.useState(isOpen)\n const isControlled = onOpenChange !== undefined\n const openState = isControlled ? isOpen : internalOpen\n\n const handleToggle = React.useCallback((open: boolean) => {\n if (isControlled) {\n onOpenChange(open)\n } else {\n setInternalOpen(open)\n }\n }, [isControlled, onOpenChange])\n\n return (\n <SidebarContext.Provider value={{ isOpen: openState, setIsOpen: handleToggle }}>\n <aside\n ref={ref}\n data-state={openState ? \"expanded\" : \"collapsed\"}\n className={cn(\n \"fixed top-4 z-50 hidden h-[calc(100vh-2rem)] flex-col rounded-[24px] border border-sidebar-border bg-sidebar text-sidebar-foreground shadow-lg dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)] transition-all duration-300 ease-[cubic-bezier(0.2,0.8,0.2,1)] md:flex\",\n openState ? \"overflow-hidden w-[280px]\" : \"overflow-visible w-[72px]\",\n side === \"left\" ? \"left-4\" : \"right-4\",\n className\n )}\n {...props}\n >\n {children}\n </aside>\n </SidebarContext.Provider>\n )\n }\n)\nSidebar.displayName = \"Sidebar\"\n\nexport const SidebarHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => {\n const { isOpen } = useSidebar()\n return (\n <div\n ref={ref}\n className={cn(\n \"flex flex-col border-b border-sidebar-border shrink-0\",\n isOpen ? \"px-4 pb-4 pt-5\" : \"px-3.5 py-4\",\n className\n )}\n {...props}\n />\n )\n }\n)\nSidebarHeader.displayName = \"SidebarHeader\"\n\nexport const SidebarContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => {\n const { isOpen } = useSidebar()\n return (\n <div\n ref={ref}\n style={{ overflowY: \"auto\", overflowX: \"hidden\" }}\n className={cn(\n \"min-h-0 flex-1\",\n isOpen ? \"px-3 py-4\" : \"px-2 py-4 items-center\",\n className\n )}\n {...props}\n />\n )\n }\n)\nSidebarContent.displayName = \"SidebarContent\"\n\nexport const SidebarGroup = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\"flex flex-col gap-1 w-full\", className)}\n {...props}\n />\n )\n }\n)\nSidebarGroup.displayName = \"SidebarGroup\"\n\nexport const SidebarGroupLabel = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => {\n const { isOpen } = useSidebar()\n if (!isOpen) return null\n return (\n <div\n ref={ref}\n className={cn(\"px-3 mb-1 mt-4 text-[10px] font-bold uppercase tracking-[0.1em] text-sidebar-foreground/50\", className)}\n {...props}\n />\n )\n }\n)\nSidebarGroupLabel.displayName = \"SidebarGroupLabel\"\n\nexport interface SidebarItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n icon?: React.ReactNode\n isActive?: boolean\n label?: React.ReactNode\n rightElement?: React.ReactNode\n}\n\nexport const SidebarItem = React.forwardRef<HTMLButtonElement, SidebarItemProps>(\n ({ className, icon, isActive, label, rightElement, ...props }, ref) => {\n const { isOpen } = useSidebar()\n return (\n <button\n ref={ref}\n data-active={isActive}\n className={cn(\n \"group relative flex items-center rounded-xl transition-all duration-150 w-full hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\",\n isOpen ? \"gap-3 px-3 py-2 justify-start text-sm\" : \"justify-center p-3 h-11 w-11 mt-1\",\n isActive \n ? \"bg-sidebar-accent border border-sidebar-border text-info font-semibold shadow-sm\" \n : \"text-sidebar-foreground/70 border border-transparent\",\n className\n )}\n {...props}\n >\n <div className={cn(\"shrink-0\", isActive ? \"text-info\" : \"text-sidebar-foreground/60 group-hover:text-sidebar-foreground\")}>\n {icon}\n </div>\n {isOpen && label && (\n <span className={cn(\"truncate flex-1 text-left\", isActive ? \"font-semibold\" : \"font-medium\")}>\n {label}\n </span>\n )}\n {isOpen && rightElement && (\n <div className=\"shrink-0\">\n {rightElement}\n </div>\n )}\n {!isOpen && label && (\n <div className=\"absolute left-full ml-4 hidden group-hover:block z-50 px-3 py-1.5 rounded-lg bg-gray-900 text-white dark:bg-gray-100 dark:text-gray-900 text-xs font-medium whitespace-nowrap shadow-xl\">\n {label}\n <div className=\"absolute left-0 top-1/2 -translate-x-1 -translate-y-1/2 w-2 h-2 bg-gray-900 dark:bg-gray-100 rotate-45\"></div>\n </div>\n )}\n </button>\n )\n }\n)\nSidebarItem.displayName = \"SidebarItem\"\n\nexport const SidebarFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => {\n const { isOpen } = useSidebar()\n return (\n <div\n ref={ref}\n className={cn(\n \"shrink-0 border-t border-sidebar-border bg-sidebar-accent/30 backdrop-blur-md\",\n isOpen ? \"p-4\" : \"p-3 flex justify-center\",\n className\n )}\n {...props}\n />\n )\n }\n)\nSidebarFooter.displayName = \"SidebarFooter\"","\"use client\";\n\nimport * as React from \"react\";\nimport { ThemeProvider as NextThemesProvider, type ThemeProviderProps } from \"next-themes\";\n\nexport function ThemeProvider({ children, ...props }: ThemeProviderProps) {\n React.useEffect(() => {\n const legacyDarkTheme = [\"mid\", \"night\"].join(\"\");\n if (window.localStorage.getItem(\"theme\") === legacyDarkTheme) {\n window.localStorage.setItem(\"theme\", \"dark\");\n }\n }, []);\n\n return <NextThemesProvider {...props}>{children}</NextThemesProvider>;\n}\n\nexport { useTheme } from \"next-themes\";\n"],"mappings":";;;AAAA,YAAY,WAAW;AACvB,SAAS,UAAU,QAAQ,QAAQ,QAAQ,QAAQ,aAAa,aAAa,aAAa,mBAAmB;;;ACD7G,SAAS,YAA6B;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ADIW;AAHJ,IAAM,OAAa,iBAAoD,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,GAAG,QAAQ;AACrH,MAAI,SAAS,OAAO,OAAO;AACzB,UAAM,IAAI;AACV,WAAO,oBAAC,KAAE,KAAU,WAAW,GAAG,sEAAsE,SAAS,GAAG,OAAsB,GAAG,OAAc;AAAA,EAE7J;AACA,SAAO,oBAAC,UAAO,KAAU,WAAsB,OAAe,GAAG,OAAO;AAC1E,CAAC;AACD,KAAK,cAAc;AAEZ,IAAM,OAAa,iBAAoD,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,GAAG,QAAQ;AACrH,MAAI,SAAS,OAAO,OAAO;AACzB,UAAM,IAAI;AACV,WAAO,oBAAC,KAAE,KAAU,WAAW,GAAG,kBAAkB,SAAS,GAAG,OAAsB,GAAG,OAAc;AAAA,EACzG;AACA,SAAO,oBAAC,UAAO,KAAU,WAAsB,OAAe,GAAG,OAAO;AAC1E,CAAC;AACD,KAAK,cAAc;AAEZ,IAAM,YAAkB,iBAAwE,CAAC,EAAE,WAAW,OAAO,SAAS,SAAS,GAAG,MAAM,GAAG,QAAQ;AAChK,MAAI,SAAS,OAAO,OAAO;AACzB,UAAM,IAAI;AACV,WAAO,oBAAC,KAAE,KAAU,MAAK,UAAS,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;AACF;AACA,YAAY,cAAc;AAEnB,IAAM,gBAAsB;AAAA,EACjC,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ;AAChC,UAAM,EAAE,OAAO,IAAI,WAAW;AAC9B,WACE,gBAAAA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,WAAW;AAAA,UACT;AAAA,UACA,SAAS,QAAQ;AAAA,UACjB;AAAA,QACF;AAAA,QACC,GAAG;AAAA;AAAA,IACN;AAAA,EAEJ;AACF;AACA,cAAc,cAAc;;;AC1L5B,YAAYC,aAAW;AACvB,SAAS,iBAAiB,0BAAmD;AAa7E,SAAS,gBAAgB;AAHhB,gBAAAC,aAAA;AARF,SAAS,cAAc,EAAE,UAAU,GAAG,MAAM,GAAuB;AACxE,EAAM,kBAAU,MAAM;AACpB,UAAM,kBAAkB,CAAC,OAAO,OAAO,EAAE,KAAK,EAAE;AAChD,QAAI,OAAO,aAAa,QAAQ,OAAO,MAAM,iBAAiB;AAC5D,aAAO,aAAa,QAAQ,SAAS,MAAM;AAAA,IAC7C;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SAAO,gBAAAA,MAAC,sBAAoB,GAAG,OAAQ,UAAS;AAClD;","names":["React","jsx","React","jsx","React","jsx","React","cva","jsx","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","Modal","jsx","Modal","React","Modal","jsx","Modal","React","jsx","React","jsx"]}
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@source "../src";
|
|
3
|
+
@plugin "@tailwindcss/typography";
|
|
4
|
+
@import "tw-animate-css";
|
|
5
|
+
|
|
6
|
+
@custom-variant dark (&:is(.dark *));
|
|
7
|
+
|
|
8
|
+
@theme inline {
|
|
9
|
+
|
|
10
|
+
--color-emerald-450: oklch(0.65 0.15 164);
|
|
11
|
+
--color-background: var(--background);
|
|
12
|
+
--color-foreground: var(--foreground);
|
|
13
|
+
--color-text-heading: var(--text-heading);
|
|
14
|
+
--color-text-primary: var(--text-primary);
|
|
15
|
+
--color-text-secondary: var(--text-secondary);
|
|
16
|
+
--color-text-muted: var(--text-muted);
|
|
17
|
+
--color-text-disabled: var(--text-disabled);
|
|
18
|
+
--color-surface: var(--surface);
|
|
19
|
+
--color-surface-secondary: var(--surface-secondary);
|
|
20
|
+
--color-surface-tertiary: var(--surface-tertiary);
|
|
21
|
+
--color-surface-raised: var(--surface-raised);
|
|
22
|
+
--color-surface-hover: var(--surface-hover);
|
|
23
|
+
--color-border-muted: var(--border-muted);
|
|
24
|
+
--color-border-strong: var(--border-strong);
|
|
25
|
+
--color-border: var(--border-strong);
|
|
26
|
+
--color-input: var(--border-muted);
|
|
27
|
+
--color-ring: var(--primary);
|
|
28
|
+
--color-muted: var(--surface-secondary);
|
|
29
|
+
--color-muted-foreground: var(--text-muted);
|
|
30
|
+
--color-popover: var(--surface);
|
|
31
|
+
--color-popover-foreground: var(--text-primary);
|
|
32
|
+
--color-card: var(--surface);
|
|
33
|
+
--color-card-foreground: var(--text-primary);
|
|
34
|
+
--color-success: var(--success);
|
|
35
|
+
--color-success-foreground: var(--success-foreground);
|
|
36
|
+
--color-success-surface: var(--success-surface);
|
|
37
|
+
--color-warning: var(--warning);
|
|
38
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
39
|
+
--color-warning-surface: var(--warning-surface);
|
|
40
|
+
--color-danger: var(--danger);
|
|
41
|
+
--color-danger-foreground: var(--danger-foreground);
|
|
42
|
+
--color-danger-surface: var(--danger-surface);
|
|
43
|
+
--color-info: var(--info);
|
|
44
|
+
--color-info-foreground: var(--info-foreground);
|
|
45
|
+
--color-info-surface: var(--info-surface);
|
|
46
|
+
--font-sans: var(--font-geist-sans);
|
|
47
|
+
--font-mono: var(--font-geist-mono);
|
|
48
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
49
|
+
--color-primary: var(--primary);
|
|
50
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
51
|
+
--color-secondary: var(--secondary);
|
|
52
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
53
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
54
|
+
--radius-lg: var(--radius);
|
|
55
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
56
|
+
|
|
57
|
+
--color-sidebar: var(--sidebar);
|
|
58
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
59
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
60
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
61
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
62
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
63
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
64
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
65
|
+
--color-chart-5: var(--chart-5);
|
|
66
|
+
--color-chart-4: var(--chart-4);
|
|
67
|
+
--color-chart-3: var(--chart-3);
|
|
68
|
+
--color-chart-2: var(--chart-2);
|
|
69
|
+
--color-chart-1: var(--chart-1);
|
|
70
|
+
--color-gray-50: var(--neutral-50);
|
|
71
|
+
--color-gray-100: var(--neutral-100);
|
|
72
|
+
--color-gray-200: var(--neutral-200);
|
|
73
|
+
--color-gray-300: var(--neutral-300);
|
|
74
|
+
--color-gray-400: var(--neutral-400);
|
|
75
|
+
--color-gray-500: var(--neutral-500);
|
|
76
|
+
--color-gray-600: var(--neutral-600);
|
|
77
|
+
--color-gray-700: var(--neutral-700);
|
|
78
|
+
--color-gray-800: var(--neutral-800);
|
|
79
|
+
--color-gray-900: var(--neutral-900);
|
|
80
|
+
--color-gray-950: var(--neutral-950);
|
|
81
|
+
--color-slate-50: var(--neutral-50);
|
|
82
|
+
--color-slate-100: var(--neutral-100);
|
|
83
|
+
--color-slate-200: var(--neutral-200);
|
|
84
|
+
--color-slate-300: var(--neutral-300);
|
|
85
|
+
--color-slate-400: var(--neutral-400);
|
|
86
|
+
--color-slate-500: var(--neutral-500);
|
|
87
|
+
--color-slate-600: var(--neutral-600);
|
|
88
|
+
--color-slate-700: var(--neutral-700);
|
|
89
|
+
--color-slate-800: var(--neutral-800);
|
|
90
|
+
--color-slate-900: var(--neutral-900);
|
|
91
|
+
--color-slate-950: var(--neutral-950);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:root {
|
|
95
|
+
--radius: 0.625rem;
|
|
96
|
+
--background: oklch(0.982 0.004 247);
|
|
97
|
+
--foreground: oklch(0.205 0.023 255);
|
|
98
|
+
--text-heading: oklch(0.18 0.026 255);
|
|
99
|
+
--text-primary: oklch(0.25 0.024 255);
|
|
100
|
+
--text-secondary: oklch(0.42 0.023 255);
|
|
101
|
+
--text-muted: oklch(0.52 0.02 255);
|
|
102
|
+
--text-disabled: oklch(0.68 0.015 255);
|
|
103
|
+
--surface: oklch(1 0 0);
|
|
104
|
+
--surface-secondary: oklch(0.965 0.005 247);
|
|
105
|
+
--surface-tertiary: oklch(0.935 0.008 247);
|
|
106
|
+
--surface-raised: oklch(1 0 0);
|
|
107
|
+
--surface-hover: oklch(0.955 0.007 247);
|
|
108
|
+
--border-muted: oklch(0.93 0.007 247);
|
|
109
|
+
--border-strong: oklch(0.84 0.012 247);
|
|
110
|
+
--card: var(--surface);
|
|
111
|
+
--card-foreground: var(--text-primary);
|
|
112
|
+
--popover: var(--surface-raised);
|
|
113
|
+
--popover-foreground: var(--text-primary);
|
|
114
|
+
--primary: oklch(0.205 0 0);
|
|
115
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
116
|
+
--secondary: var(--surface-secondary);
|
|
117
|
+
--secondary-foreground: var(--text-primary);
|
|
118
|
+
--muted: var(--surface-secondary);
|
|
119
|
+
--muted-foreground: var(--text-muted);
|
|
120
|
+
--accent: var(--surface-tertiary);
|
|
121
|
+
--accent-foreground: var(--text-primary);
|
|
122
|
+
--destructive: var(--danger);
|
|
123
|
+
--border: var(--border-muted);
|
|
124
|
+
--input: var(--border-strong);
|
|
125
|
+
--ring: oklch(0.708 0 0);
|
|
126
|
+
--success: oklch(0.47 0.135 152);
|
|
127
|
+
--success-foreground: oklch(0.31 0.096 152);
|
|
128
|
+
--success-surface: oklch(0.95 0.035 152);
|
|
129
|
+
--warning: oklch(0.58 0.142 72);
|
|
130
|
+
--warning-foreground: oklch(0.37 0.096 72);
|
|
131
|
+
--warning-surface: oklch(0.96 0.04 86);
|
|
132
|
+
--danger: oklch(0.52 0.2 27);
|
|
133
|
+
--danger-foreground: oklch(0.42 0.17 27);
|
|
134
|
+
--danger-surface: oklch(0.95 0.035 27);
|
|
135
|
+
--info: oklch(0.52 0.16 255);
|
|
136
|
+
--info-foreground: oklch(0.42 0.14 255);
|
|
137
|
+
--info-surface: oklch(0.95 0.03 255);
|
|
138
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
139
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
140
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
141
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
142
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
143
|
+
--sidebar: oklch(0.985 0 0);
|
|
144
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
145
|
+
--sidebar-primary: oklch(0.9 0 0);
|
|
146
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
147
|
+
--sidebar-accent: oklch(0.95 0 0);
|
|
148
|
+
--sidebar-accent-foreground: oklch(0.145 0 0);
|
|
149
|
+
--sidebar-border: oklch(0.9 0 0);
|
|
150
|
+
--sidebar-ring: oklch(0.6 0 0);
|
|
151
|
+
--neutral-50: var(--surface-secondary);
|
|
152
|
+
--neutral-100: var(--surface-tertiary);
|
|
153
|
+
--neutral-200: var(--border-muted);
|
|
154
|
+
--neutral-300: var(--border-strong);
|
|
155
|
+
--neutral-400: var(--text-muted);
|
|
156
|
+
--neutral-500: var(--text-secondary);
|
|
157
|
+
--neutral-600: var(--text-secondary);
|
|
158
|
+
--neutral-700: var(--text-primary);
|
|
159
|
+
--neutral-800: var(--text-heading);
|
|
160
|
+
--neutral-900: var(--text-heading);
|
|
161
|
+
--neutral-950: oklch(0.13 0.027 255);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.hide-scrollbar::-webkit-scrollbar {
|
|
165
|
+
display: none;
|
|
166
|
+
}
|
|
167
|
+
.hide-scrollbar {
|
|
168
|
+
-ms-overflow-style: none;
|
|
169
|
+
scrollbar-width: none;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.dark {
|
|
173
|
+
--background: oklch(0.09 0.015 255);
|
|
174
|
+
--foreground: oklch(0.96 0.005 247);
|
|
175
|
+
--text-heading: oklch(0.985 0.003 247);
|
|
176
|
+
--text-primary: oklch(0.95 0.005 247);
|
|
177
|
+
--text-secondary: oklch(0.85 0.008 247);
|
|
178
|
+
--text-muted: oklch(0.72 0.01 247);
|
|
179
|
+
--text-disabled: oklch(0.55 0.01 247);
|
|
180
|
+
--surface: oklch(0.20 0 0);
|
|
181
|
+
--surface-secondary: oklch(0.25 0 0);
|
|
182
|
+
--surface-tertiary: oklch(0.28 0 0);
|
|
183
|
+
--surface-raised: oklch(0.23 0 0);
|
|
184
|
+
--surface-hover: oklch(0.27 0 0);
|
|
185
|
+
--border-muted: oklch(0.98 0.004 247 / 0.16);
|
|
186
|
+
--border-strong: oklch(0.98 0.004 247 / 0.28);
|
|
187
|
+
--card: var(--surface);
|
|
188
|
+
--card-foreground: var(--text-primary);
|
|
189
|
+
--popover: var(--surface-raised);
|
|
190
|
+
--popover-foreground: var(--text-primary);
|
|
191
|
+
--primary: oklch(0.922 0 0);
|
|
192
|
+
--primary-foreground: oklch(0.15 0 0);
|
|
193
|
+
--secondary: var(--surface-secondary);
|
|
194
|
+
--secondary-foreground: var(--text-primary);
|
|
195
|
+
--muted: var(--surface-secondary);
|
|
196
|
+
--muted-foreground: var(--text-muted);
|
|
197
|
+
--accent: var(--surface-tertiary);
|
|
198
|
+
--accent-foreground: var(--text-primary);
|
|
199
|
+
--destructive: var(--danger);
|
|
200
|
+
--border: var(--border-muted);
|
|
201
|
+
--input: var(--border-strong);
|
|
202
|
+
--ring: oklch(0.6 0 0);
|
|
203
|
+
--success: oklch(0.74 0.18 152);
|
|
204
|
+
--success-foreground: oklch(0.8 0.17 152);
|
|
205
|
+
--success-surface: oklch(0.27 0.08 152 / 0.5);
|
|
206
|
+
--warning: oklch(0.8 0.16 78);
|
|
207
|
+
--warning-foreground: oklch(0.84 0.15 78);
|
|
208
|
+
--warning-surface: oklch(0.32 0.09 78 / 0.5);
|
|
209
|
+
--danger: oklch(0.74 0.19 27);
|
|
210
|
+
--danger-foreground: oklch(0.8 0.17 27);
|
|
211
|
+
--danger-surface: oklch(0.31 0.1 27 / 0.5);
|
|
212
|
+
--info: oklch(0.74 0.16 255);
|
|
213
|
+
--info-foreground: oklch(0.8 0.14 255);
|
|
214
|
+
--info-surface: oklch(0.3 0.09 255 / 0.5);
|
|
215
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
216
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
217
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
218
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
219
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
220
|
+
--sidebar: oklch(0.18 0 0);
|
|
221
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
222
|
+
--sidebar-primary: oklch(0.22 0 0);
|
|
223
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
224
|
+
--sidebar-accent: oklch(0.22 0 0);
|
|
225
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
226
|
+
--sidebar-border: oklch(0.985 0 0 / 0.12);
|
|
227
|
+
--sidebar-ring: oklch(0.6 0 0);
|
|
228
|
+
--neutral-50: var(--text-heading);
|
|
229
|
+
--neutral-100: var(--text-primary);
|
|
230
|
+
--neutral-200: var(--text-secondary);
|
|
231
|
+
--neutral-300: var(--text-secondary);
|
|
232
|
+
--neutral-400: var(--text-muted);
|
|
233
|
+
--neutral-500: var(--text-muted);
|
|
234
|
+
--neutral-600: var(--border-strong);
|
|
235
|
+
--neutral-700: var(--surface-tertiary);
|
|
236
|
+
--neutral-800: var(--surface-secondary);
|
|
237
|
+
--neutral-900: var(--surface);
|
|
238
|
+
--neutral-950: var(--background);
|
|
239
|
+
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.1.0",
|
|
7
7
|
"description": "The design library for AmazeCC",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
@@ -47,14 +47,17 @@
|
|
|
47
47
|
"typescript": "^6.0.3"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
+
"@tailwindcss/typography": "^0.5.20",
|
|
50
51
|
"class-variance-authority": "^0.7.1",
|
|
51
52
|
"clsx": "^2.1.1",
|
|
52
53
|
"lucide-react-native": "^1.23.0",
|
|
53
54
|
"nativewind": "^4.2.6",
|
|
55
|
+
"next-themes": "^0.4.6",
|
|
54
56
|
"react": "^19.2.7",
|
|
55
57
|
"react-dom": "^19.2.7",
|
|
56
58
|
"react-native": "^0.86.0",
|
|
57
59
|
"react-native-web": "^0.21.2",
|
|
58
|
-
"tailwind-merge": "^3.6.0"
|
|
60
|
+
"tailwind-merge": "^3.6.0",
|
|
61
|
+
"tw-animate-css": "^1.4.0"
|
|
59
62
|
}
|
|
60
63
|
}
|