shadcn-ui-react 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
2
  import * as React$1 from 'react';
3
3
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
4
- import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
  import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
7
7
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
@@ -40,6 +40,7 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
40
40
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
41
41
  import * as TogglePrimitive from '@radix-ui/react-toggle';
42
42
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
43
+ import { ClassValue } from 'clsx';
43
44
 
44
45
  declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
45
46
  declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -50,7 +51,7 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive
50
51
 
51
52
  declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
52
53
  variant?: "default" | "destructive" | null | undefined;
53
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
54
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
54
55
  declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
55
56
  declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
56
57
 
@@ -62,7 +63,7 @@ declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimi
62
63
 
63
64
  declare const badgeVariants: (props?: ({
64
65
  variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
65
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
66
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
66
67
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
67
68
  }
68
69
  declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
@@ -88,7 +89,7 @@ declare const BreadcrumbEllipsis: {
88
89
  declare const buttonVariants: (props?: ({
89
90
  variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
90
91
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
91
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
92
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
92
93
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
93
94
  asChild?: boolean;
94
95
  }
@@ -387,7 +388,7 @@ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
387
388
  }
388
389
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
389
390
 
390
- declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
391
+ declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
391
392
 
392
393
  declare const MenubarMenu: {
393
394
  (props: MenubarPrimitive.MenubarMenuProps & {
@@ -433,7 +434,7 @@ declare const Modal: React$1.FC<ModalProps>;
433
434
  declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
434
435
  declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
435
436
  declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
436
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string;
437
+ declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
437
438
  declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
438
439
  declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
439
440
  declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
@@ -529,7 +530,7 @@ declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
529
530
  declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
530
531
  declare const sheetVariants: (props?: ({
531
532
  side?: "top" | "right" | "bottom" | "left" | null | undefined;
532
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
533
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
533
534
  interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
534
535
  }
535
536
  declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -575,7 +576,7 @@ declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
575
576
  declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
576
577
  declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
577
578
  variant?: "default" | "destructive" | null | undefined;
578
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
579
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
579
580
  declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
580
581
  declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
581
582
  declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -586,20 +587,20 @@ type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
586
587
  declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
587
588
  variant?: "default" | "outline" | null | undefined;
588
589
  size?: "default" | "sm" | "lg" | null | undefined;
589
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
590
+ } & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
590
591
  declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
591
592
  variant?: "default" | "outline" | null | undefined;
592
593
  size?: "default" | "sm" | "lg" | null | undefined;
593
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
594
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
594
595
 
595
596
  declare const toggleVariants: (props?: ({
596
597
  variant?: "default" | "outline" | null | undefined;
597
598
  size?: "default" | "sm" | "lg" | null | undefined;
598
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
599
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
599
600
  declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
600
601
  variant?: "default" | "outline" | null | undefined;
601
602
  size?: "default" | "sm" | "lg" | null | undefined;
602
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
603
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
603
604
 
604
605
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
605
606
  declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
@@ -648,4 +649,6 @@ declare function useToast(): {
648
649
  toasts: ToasterToast[];
649
650
  };
650
651
 
651
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationNextLast, PaginationPrevious, PaginationPreviousLast, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, navigationMenuTriggerStyle, reducer, toast, toggleVariants, useFormField, useToast };
652
+ declare function cn(...inputs: ClassValue[]): string;
653
+
654
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationNextLast, PaginationPrevious, PaginationPreviousLast, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, navigationMenuTriggerStyle, reducer, toast, toggleVariants, useFormField, useToast };
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "shadcn-ui-react",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "private": false,
5
5
  "author": "Blencm",
6
6
  "description": "React UI library for ShadCN",
7
+ "type": "module",
7
8
  "main": "lib/index.js",
9
+ "module": "lib/index.js",
8
10
  "types": "lib/index.d.ts",
9
11
  "keywords": [
10
12
  "react",
@@ -32,6 +34,29 @@
32
34
  "devDependencies": {
33
35
  "@eslint/config-array": "^0.19.2",
34
36
  "@eslint/object-schema": "^2.1.6",
37
+ "@tailwindcss/postcss": "^4.0.8",
38
+ "@types/node": "^22.13.5",
39
+ "@types/react": "^19.0.10",
40
+ "@types/react-dom": "^19.0.4",
41
+ "autoprefixer": "^10.4.20",
42
+ "cross-env": "^7.0.3",
43
+ "react": "^19.0.0",
44
+ "react-day-picker": "^9.5.1",
45
+ "react-dom": "^19.0.0",
46
+ "react-test-renderer": "^19.0.0",
47
+ "rimraf": "^6.0.1",
48
+ "tailwindcss": "^4.0.8",
49
+ "tsup": "^8.3.6",
50
+ "typescript": "^5.7.3"
51
+ },
52
+ "peerDependencies": {
53
+ "react": "^17.0.0 || ^18.3.1 || ^19.0.0",
54
+ "react-dom": "^17.0.0 || ^18.3.1 || ^19.0.0"
55
+ },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "dependencies": {
35
60
  "@hookform/resolvers": "^4.1.1",
36
61
  "@radix-ui/react-accordion": "^1.2.3",
37
62
  "@radix-ui/react-alert-dialog": "^1.1.6",
@@ -61,25 +86,6 @@
61
86
  "@radix-ui/react-toggle": "^1.1.2",
62
87
  "@radix-ui/react-toggle-group": "^1.1.2",
63
88
  "@radix-ui/react-tooltip": "^1.1.8",
64
- "@types/react": "^19.0.10",
65
- "@types/react-dom": "^19.0.4",
66
- "cross-env": "^7.0.3",
67
- "react": "^19.0.0",
68
- "react-day-picker": "^9.5.1",
69
- "react-dom": "^19.0.0",
70
- "react-test-renderer": "^19.0.0",
71
- "rimraf": "^6.0.1",
72
- "tsup": "^8.3.6",
73
- "typescript": "^5.7.3"
74
- },
75
- "peerDependencies": {
76
- "react": "^17.0.0 || ^18.3.1 || ^19.0.0",
77
- "react-dom": "^17.0.0 || ^18.3.1 || ^19.0.0"
78
- },
79
- "publishConfig": {
80
- "access": "public"
81
- },
82
- "dependencies": {
83
89
  "class-variance-authority": "^0.7.1",
84
90
  "clsx": "^2.1.1",
85
91
  "cmdk": "^1.0.4",
@@ -0,0 +1,6 @@
1
+ export default {
2
+ plugins: {
3
+ "@tailwindcss/postcss": {},
4
+ autoprefixer: {},
5
+ },
6
+ };
@@ -0,0 +1,74 @@
1
+ /** @type {import('tailwindcss').Config} */
2
+ module.exports = {
3
+ darkMode: ['class'],
4
+ content: [
5
+ './src/**/*.{ts,tsx}'
6
+ ],
7
+ prefix: '',
8
+ theme: {
9
+ container: {
10
+ center: true,
11
+ padding: '2rem',
12
+ screens: {
13
+ '2xl': '1400px'
14
+ }
15
+ },
16
+ extend: {
17
+ colors: {
18
+ border: 'hsl(var(--border))',
19
+ input: 'hsl(var(--input))',
20
+ ring: 'hsl(var(--ring))',
21
+ background: 'hsl(var(--background))',
22
+ foreground: 'hsl(var(--foreground))',
23
+ primary: {
24
+ DEFAULT: 'hsl(var(--primary))',
25
+ foreground: 'hsl(var(--primary-foreground))'
26
+ },
27
+ secondary: {
28
+ DEFAULT: 'hsl(var(--secondary))',
29
+ foreground: 'hsl(var(--secondary-foreground))'
30
+ },
31
+ destructive: {
32
+ DEFAULT: 'hsl(var(--destructive))',
33
+ foreground: 'hsl(var(--destructive-foreground))'
34
+ },
35
+ muted: {
36
+ DEFAULT: 'hsl(var(--muted))',
37
+ foreground: 'hsl(var(--muted-foreground))'
38
+ },
39
+ accent: {
40
+ DEFAULT: 'hsl(var(--accent))',
41
+ foreground: 'hsl(var(--accent-foreground))'
42
+ },
43
+ popover: {
44
+ DEFAULT: 'hsl(var(--popover))',
45
+ foreground: 'hsl(var(--popover-foreground))'
46
+ },
47
+ card: {
48
+ DEFAULT: 'hsl(var(--card))',
49
+ foreground: 'hsl(var(--card-foreground))'
50
+ }
51
+ },
52
+ borderRadius: {
53
+ lg: 'var(--radius)',
54
+ md: 'calc(var(--radius) - 2px)',
55
+ sm: 'calc(var(--radius) - 4px)'
56
+ },
57
+ keyframes: {
58
+ 'accordion-down': {
59
+ from: { height: '0' },
60
+ to: { height: 'var(--radix-accordion-content-height)' }
61
+ },
62
+ 'accordion-up': {
63
+ from: { height: 'var(--radix-accordion-content-height)' },
64
+ to: { height: '0' }
65
+ }
66
+ },
67
+ animation: {
68
+ 'accordion-down': 'accordion-down 0.2s ease-out',
69
+ 'accordion-up': 'accordion-up 0.2s ease-out'
70
+ }
71
+ }
72
+ },
73
+ plugins: [require('tailwindcss-animate')]
74
+ };
package/tsconfig.json CHANGED
@@ -13,12 +13,12 @@
13
13
  "noFallthroughCasesInSwitch": true,
14
14
 
15
15
  "declaration": true,
16
- "moduleResolution": "Node",
16
+ "moduleResolution": "bundler",
17
17
  "resolveJsonModule": true,
18
18
  "isolatedModules": true,
19
19
  "noEmit": true,
20
20
  "jsx": "react"
21
21
  },
22
22
 
23
- "include": ["src/**/*", "**/*.ts", "**/*.tsx"]
23
+ "include": ["src"],
24
24
  }