@skybin-tech/nebula-ui 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.cjs","sources":["../../../../src/components/Accordion/Accordion.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport {\n Accordion as AccordionPrimitive,\n AccordionItem as AccordionItemPrimitive,\n AccordionTrigger as AccordionTriggerPrimitive,\n AccordionContent as AccordionContentPrimitive,\n} from \"../../primitives/accordion\"\n\nexport const Accordion = AccordionPrimitive\n\nexport const AccordionItem = forwardRef<\n ElementRef<typeof AccordionItemPrimitive>,\n ComponentPropsWithoutRef<typeof AccordionItemPrimitive>\n>((props, ref) => <AccordionItemPrimitive ref={ref} {...props} />)\nAccordionItem.displayName = \"AccordionItem\"\n\nexport const AccordionTrigger = forwardRef<\n ElementRef<typeof AccordionTriggerPrimitive>,\n ComponentPropsWithoutRef<typeof AccordionTriggerPrimitive>\n>((props, ref) => <AccordionTriggerPrimitive ref={ref} {...props} />)\nAccordionTrigger.displayName = \"AccordionTrigger\"\n\nexport const AccordionContent = forwardRef<\n ElementRef<typeof AccordionContentPrimitive>,\n ComponentPropsWithoutRef<typeof AccordionContentPrimitive>\n>((props, ref) => <AccordionContentPrimitive ref={ref} {...props} />)\nAccordionContent.displayName = \"AccordionContent\"\n"],"names":["AccordionPrimitive","forwardRef","AccordionItemPrimitive","AccordionTriggerPrimitive","AccordionContentPrimitive"],"mappings":";;;;;;AASO,MAAM,YAAYA,UAAAA;AAElB,MAAM,gBAAgBC,MAAAA,WAG3B,CAAC,OAAO,uCAASC,UAAAA,eAAA,EAAuB,KAAW,GAAG,OAAO,CAAE;AACjE,cAAc,cAAc;AAErB,MAAM,mBAAmBD,MAAAA,WAG9B,CAAC,OAAO,uCAASE,UAAAA,kBAAA,EAA0B,KAAW,GAAG,OAAO,CAAE;AACpE,iBAAiB,cAAc;AAExB,MAAM,mBAAmBF,MAAAA,WAG9B,CAAC,OAAO,uCAASG,UAAAA,kBAAA,EAA0B,KAAW,GAAG,OAAO,CAAE;AACpE,iBAAiB,cAAc;;;;;"}
1
+ {"version":3,"file":"Accordion.cjs","sources":["../../../../src/components/Accordion/Accordion.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\r\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\r\nimport {\r\n Accordion as AccordionPrimitive,\r\n AccordionItem as AccordionItemPrimitive,\r\n AccordionTrigger as AccordionTriggerPrimitive,\r\n AccordionContent as AccordionContentPrimitive,\r\n} from \"../../primitives/accordion\"\r\n\r\nexport const Accordion = AccordionPrimitive\r\n\r\nexport const AccordionItem = forwardRef<\r\n ElementRef<typeof AccordionItemPrimitive>,\r\n ComponentPropsWithoutRef<typeof AccordionItemPrimitive>\r\n>((props, ref) => <AccordionItemPrimitive ref={ref} {...props} />)\r\nAccordionItem.displayName = \"AccordionItem\"\r\n\r\nexport const AccordionTrigger = forwardRef<\r\n ElementRef<typeof AccordionTriggerPrimitive>,\r\n ComponentPropsWithoutRef<typeof AccordionTriggerPrimitive>\r\n>((props, ref) => <AccordionTriggerPrimitive ref={ref} {...props} />)\r\nAccordionTrigger.displayName = \"AccordionTrigger\"\r\n\r\nexport const AccordionContent = forwardRef<\r\n ElementRef<typeof AccordionContentPrimitive>,\r\n ComponentPropsWithoutRef<typeof AccordionContentPrimitive>\r\n>((props, ref) => <AccordionContentPrimitive ref={ref} {...props} />)\r\nAccordionContent.displayName = \"AccordionContent\"\r\n"],"names":["AccordionPrimitive","forwardRef","AccordionItemPrimitive","AccordionTriggerPrimitive","AccordionContentPrimitive"],"mappings":";;;;;;AASO,MAAM,YAAYA,UAAAA;AAElB,MAAM,gBAAgBC,MAAAA,WAG3B,CAAC,OAAO,uCAASC,UAAAA,eAAA,EAAuB,KAAW,GAAG,OAAO,CAAE;AACjE,cAAc,cAAc;AAErB,MAAM,mBAAmBD,MAAAA,WAG9B,CAAC,OAAO,uCAASE,UAAAA,kBAAA,EAA0B,KAAW,GAAG,OAAO,CAAE;AACpE,iBAAiB,cAAc;AAExB,MAAM,mBAAmBF,MAAAA,WAG9B,CAAC,OAAO,uCAASG,UAAAA,kBAAA,EAA0B,KAAW,GAAG,OAAO,CAAE;AACpE,iBAAiB,cAAc;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.cjs","sources":["../../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from \"lucide-react\"\nimport { cn } from \"../../utils/cn\"\nimport { ButtonPrimitive, buttonVariants } from \"../../primitives/button\"\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<\"nav\">) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn(\"mx-auto flex w-full justify-center\", className)}\n {...props}\n />\n)\nPagination.displayName = \"Pagination\"\n\nconst PaginationContent = React.forwardRef<\n HTMLUListElement,\n React.ComponentProps<\"ul\">\n>(({ className, ...props }, ref) => (\n <ul\n ref={ref}\n className={cn(\"flex flex-row items-center gap-1\", className)}\n {...props}\n />\n))\nPaginationContent.displayName = \"PaginationContent\"\n\nconst PaginationItem = React.forwardRef<\n HTMLLIElement,\n React.ComponentProps<\"li\">\n>(({ className, ...props }, ref) => (\n <li ref={ref} className={cn(\"\", className)} {...props} />\n))\nPaginationItem.displayName = \"PaginationItem\"\n\ntype PaginationLinkProps = {\n isActive?: boolean\n} & Pick<React.ComponentProps<typeof ButtonPrimitive>, \"size\"> &\n React.ComponentProps<\"a\">\n\nconst PaginationLink = ({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) => (\n <a\n aria-current={isActive ? \"page\" : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? \"outline\" : \"ghost\",\n size,\n }),\n className\n )}\n {...props}\n />\n)\nPaginationLink.displayName = \"PaginationLink\"\n\nconst PaginationPrevious = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to previous page\"\n size=\"default\"\n className={cn(\"gap-1 pl-2.5\", className)}\n {...props}\n >\n <ChevronLeft className=\"h-4 w-4\" />\n <span>Previous</span>\n </PaginationLink>\n)\nPaginationPrevious.displayName = \"PaginationPrevious\"\n\nconst PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to next page\"\n size=\"default\"\n className={cn(\"gap-1 pr-2.5\", className)}\n {...props}\n >\n <span>Next</span>\n <ChevronRight className=\"h-4 w-4\" />\n </PaginationLink>\n)\nPaginationNext.displayName = \"PaginationNext\"\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<\"span\">) => (\n <span\n aria-hidden\n className={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n {...props}\n >\n <MoreHorizontal className=\"h-4 w-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n)\nPaginationEllipsis.displayName = \"PaginationEllipsis\"\n\nexport {\n Pagination,\n PaginationContent,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n PaginationEllipsis,\n}\n"],"names":["jsx","cn","React","buttonVariants","jsxs","ChevronLeft","ChevronRight","MoreHorizontal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,aAAa,CAAC,EAAE,WAAW,GAAG,YAClCA,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAWC,GAAAA,GAAG,sCAAsC,SAAS;AAAA,IAC5D,GAAG;AAAA,EAAA;AACN;AAEF,WAAW,cAAc;AAEzB,MAAM,oBAAoBC,iBAAM,WAG9B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1BF,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAWC,GAAAA,GAAG,oCAAoC,SAAS;AAAA,IAC1D,GAAG;AAAA,EAAA;AACN,CACD;AACD,kBAAkB,cAAc;AAEhC,MAAM,iBAAiBC,iBAAM,WAG3B,CAAC,EAAE,WAAW,GAAG,SAAS,uCACzB,MAAA,EAAG,KAAU,WAAWD,GAAAA,GAAG,IAAI,SAAS,GAAI,GAAG,OAAO,CACxD;AACD,eAAe,cAAc;AAO7B,MAAM,iBAAiB,CAAC,EAAE,WAAW,UAAU,OAAO,QAAQ,GAAG,MAAA,MAC/DD,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,gBAAc,WAAW,SAAS;AAAA,IAClC,WAAWC,GAAAA;AAAAA,MACTE,sBAAe;AAAA,QACb,SAAS,WAAW,YAAY;AAAA,QAChC;AAAA,MAAA,CACD;AAAA,MACD;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1CC,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAWH,GAAAA,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAACK,YAAAA,aAAA,EAAY,WAAU,UAAA,CAAU;AAAA,MACjCL,2BAAAA,IAAC,UAAK,UAAA,WAAA,CAAQ;AAAA,IAAA;AAAA,EAAA;AAChB;AAEF,mBAAmB,cAAc;AAEjC,MAAM,iBAAiB,CAAC,EAAE,WAAW,GAAG,YACtCI,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAWH,GAAAA,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAAC,UAAK,UAAA,OAAA,CAAI;AAAA,MACVA,2BAAAA,IAACM,YAAAA,cAAA,EAAa,WAAU,UAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACpC;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1CF,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,eAAW;AAAA,IACX,WAAWH,GAAAA,GAAG,4CAA4C,SAAS;AAAA,IAClE,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAACO,YAAAA,gBAAA,EAAe,WAAU,UAAA,CAAU;AAAA,MACpCP,2BAAAA,IAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACtC;AAEF,mBAAmB,cAAc;;;;;;;;"}
1
+ {"version":3,"file":"Pagination.cjs","sources":["../../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from \"lucide-react\"\r\nimport { cn } from \"../../utils/cn\"\r\nimport { ButtonPrimitive, buttonVariants } from \"../../primitives/button\"\r\n\r\nconst Pagination = ({ className, ...props }: React.ComponentProps<\"nav\">) => (\r\n <nav\r\n role=\"navigation\"\r\n aria-label=\"pagination\"\r\n className={cn(\"mx-auto flex w-full justify-center\", className)}\r\n {...props}\r\n />\r\n)\r\nPagination.displayName = \"Pagination\"\r\n\r\nconst PaginationContent = React.forwardRef<\r\n HTMLUListElement,\r\n React.ComponentProps<\"ul\">\r\n>(({ className, ...props }, ref) => (\r\n <ul\r\n ref={ref}\r\n className={cn(\"flex flex-row items-center gap-1\", className)}\r\n {...props}\r\n />\r\n))\r\nPaginationContent.displayName = \"PaginationContent\"\r\n\r\nconst PaginationItem = React.forwardRef<\r\n HTMLLIElement,\r\n React.ComponentProps<\"li\">\r\n>(({ className, ...props }, ref) => (\r\n <li ref={ref} className={cn(\"\", className)} {...props} />\r\n))\r\nPaginationItem.displayName = \"PaginationItem\"\r\n\r\ntype PaginationLinkProps = {\r\n isActive?: boolean\r\n} & Pick<React.ComponentProps<typeof ButtonPrimitive>, \"size\"> &\r\n React.ComponentProps<\"a\">\r\n\r\nconst PaginationLink = ({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) => (\r\n <a\r\n aria-current={isActive ? \"page\" : undefined}\r\n className={cn(\r\n buttonVariants({\r\n variant: isActive ? \"outline\" : \"ghost\",\r\n size,\r\n }),\r\n className\r\n )}\r\n {...props}\r\n />\r\n)\r\nPaginationLink.displayName = \"PaginationLink\"\r\n\r\nconst PaginationPrevious = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\r\n <PaginationLink\r\n aria-label=\"Go to previous page\"\r\n size=\"default\"\r\n className={cn(\"gap-1 pl-2.5\", className)}\r\n {...props}\r\n >\r\n <ChevronLeft className=\"h-4 w-4\" />\r\n <span>Previous</span>\r\n </PaginationLink>\r\n)\r\nPaginationPrevious.displayName = \"PaginationPrevious\"\r\n\r\nconst PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\r\n <PaginationLink\r\n aria-label=\"Go to next page\"\r\n size=\"default\"\r\n className={cn(\"gap-1 pr-2.5\", className)}\r\n {...props}\r\n >\r\n <span>Next</span>\r\n <ChevronRight className=\"h-4 w-4\" />\r\n </PaginationLink>\r\n)\r\nPaginationNext.displayName = \"PaginationNext\"\r\n\r\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<\"span\">) => (\r\n <span\r\n aria-hidden\r\n className={cn(\"flex h-9 w-9 items-center justify-center\", className)}\r\n {...props}\r\n >\r\n <MoreHorizontal className=\"h-4 w-4\" />\r\n <span className=\"sr-only\">More pages</span>\r\n </span>\r\n)\r\nPaginationEllipsis.displayName = \"PaginationEllipsis\"\r\n\r\nexport {\r\n Pagination,\r\n PaginationContent,\r\n PaginationItem,\r\n PaginationLink,\r\n PaginationNext,\r\n PaginationPrevious,\r\n PaginationEllipsis,\r\n}\r\n"],"names":["jsx","cn","React","buttonVariants","jsxs","ChevronLeft","ChevronRight","MoreHorizontal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,aAAa,CAAC,EAAE,WAAW,GAAG,YAClCA,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAWC,GAAAA,GAAG,sCAAsC,SAAS;AAAA,IAC5D,GAAG;AAAA,EAAA;AACN;AAEF,WAAW,cAAc;AAEzB,MAAM,oBAAoBC,iBAAM,WAG9B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1BF,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAWC,GAAAA,GAAG,oCAAoC,SAAS;AAAA,IAC1D,GAAG;AAAA,EAAA;AACN,CACD;AACD,kBAAkB,cAAc;AAEhC,MAAM,iBAAiBC,iBAAM,WAG3B,CAAC,EAAE,WAAW,GAAG,SAAS,uCACzB,MAAA,EAAG,KAAU,WAAWD,GAAAA,GAAG,IAAI,SAAS,GAAI,GAAG,OAAO,CACxD;AACD,eAAe,cAAc;AAO7B,MAAM,iBAAiB,CAAC,EAAE,WAAW,UAAU,OAAO,QAAQ,GAAG,MAAA,MAC/DD,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,gBAAc,WAAW,SAAS;AAAA,IAClC,WAAWC,GAAAA;AAAAA,MACTE,sBAAe;AAAA,QACb,SAAS,WAAW,YAAY;AAAA,QAChC;AAAA,MAAA,CACD;AAAA,MACD;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1CC,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAWH,GAAAA,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAACK,YAAAA,aAAA,EAAY,WAAU,UAAA,CAAU;AAAA,MACjCL,2BAAAA,IAAC,UAAK,UAAA,WAAA,CAAQ;AAAA,IAAA;AAAA,EAAA;AAChB;AAEF,mBAAmB,cAAc;AAEjC,MAAM,iBAAiB,CAAC,EAAE,WAAW,GAAG,YACtCI,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAWH,GAAAA,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAAC,UAAK,UAAA,OAAA,CAAI;AAAA,MACVA,2BAAAA,IAACM,YAAAA,cAAA,EAAa,WAAU,UAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACpC;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1CF,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,eAAW;AAAA,IACX,WAAWH,GAAAA,GAAG,4CAA4C,SAAS;AAAA,IAClE,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAACO,YAAAA,gBAAA,EAAe,WAAU,UAAA,CAAU;AAAA,MACpCP,2BAAAA,IAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACtC;AAEF,mBAAmB,cAAc;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.cjs","sources":["../../../../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["import { Skeleton as SkeletonPrimitive } from \"../../primitives/skeleton\"\nimport type { ComponentPropsWithoutRef } from \"react\"\n\nexport type SkeletonProps = ComponentPropsWithoutRef<typeof SkeletonPrimitive>\n\nexport function Skeleton(props: SkeletonProps) {\n return <SkeletonPrimitive {...props} />\n}\nSkeleton.displayName = \"Skeleton\"\n"],"names":["jsx","SkeletonPrimitive"],"mappings":";;;;;AAKO,SAAS,SAAS,OAAsB;AAC7C,SAAOA,+BAACC,SAAAA,UAAA,EAAmB,GAAG,MAAA,CAAO;AACvC;AACA,SAAS,cAAc;;"}
1
+ {"version":3,"file":"Skeleton.cjs","sources":["../../../../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["import { Skeleton as SkeletonPrimitive } from \"../../primitives/skeleton\"\r\nimport type { ComponentPropsWithoutRef } from \"react\"\r\n\r\nexport type SkeletonProps = ComponentPropsWithoutRef<typeof SkeletonPrimitive>\r\n\r\nexport function Skeleton(props: SkeletonProps) {\r\n return <SkeletonPrimitive {...props} />\r\n}\r\nSkeleton.displayName = \"Skeleton\"\r\n"],"names":["jsx","SkeletonPrimitive"],"mappings":";;;;;AAKO,SAAS,SAAS,OAAsB;AAC7C,SAAOA,+BAACC,SAAAA,UAAA,EAAmB,GAAG,MAAA,CAAO;AACvC;AACA,SAAS,cAAc;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.cjs","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import {\n Tooltip as TooltipPrimitive,\n TooltipTrigger as TooltipTriggerPrimitive,\n TooltipContent as TooltipContentPrimitive,\n TooltipProvider as TooltipProviderPrimitive,\n} from \"../../primitives/tooltip\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport { forwardRef } from \"react\"\n\nexport const TooltipProvider = TooltipProviderPrimitive\nexport const Tooltip = TooltipPrimitive\nexport const TooltipTrigger = TooltipTriggerPrimitive\n\nexport const TooltipContent = forwardRef<\n ElementRef<typeof TooltipContentPrimitive>,\n ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\n>((props, ref) => <TooltipContentPrimitive ref={ref} {...props} />)\nTooltipContent.displayName = \"TooltipContent\"\n\nexport type TooltipContentProps = ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\n"],"names":["TooltipProviderPrimitive","TooltipPrimitive","TooltipTriggerPrimitive","forwardRef","TooltipContentPrimitive"],"mappings":";;;;;;AASO,MAAM,kBAAkBA,QAAAA;AACxB,MAAM,UAAUC,QAAAA;AAChB,MAAM,iBAAiBC,QAAAA;AAEvB,MAAM,iBAAiBC,MAAAA,WAG5B,CAAC,OAAO,uCAASC,QAAAA,gBAAA,EAAwB,KAAW,GAAG,OAAO,CAAE;AAClE,eAAe,cAAc;;;;;"}
1
+ {"version":3,"file":"Tooltip.cjs","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import {\r\n Tooltip as TooltipPrimitive,\r\n TooltipTrigger as TooltipTriggerPrimitive,\r\n TooltipContent as TooltipContentPrimitive,\r\n TooltipProvider as TooltipProviderPrimitive,\r\n} from \"../../primitives/tooltip\"\r\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\r\nimport { forwardRef } from \"react\"\r\n\r\nexport const TooltipProvider = TooltipProviderPrimitive\r\nexport const Tooltip = TooltipPrimitive\r\nexport const TooltipTrigger = TooltipTriggerPrimitive\r\n\r\nexport const TooltipContent = forwardRef<\r\n ElementRef<typeof TooltipContentPrimitive>,\r\n ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\r\n>((props, ref) => <TooltipContentPrimitive ref={ref} {...props} />)\r\nTooltipContent.displayName = \"TooltipContent\"\r\n\r\nexport type TooltipContentProps = ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\r\n"],"names":["TooltipProviderPrimitive","TooltipPrimitive","TooltipTriggerPrimitive","forwardRef","TooltipContentPrimitive"],"mappings":";;;;;;AASO,MAAM,kBAAkBA,QAAAA;AACxB,MAAM,UAAUC,QAAAA;AAChB,MAAM,iBAAiBC,QAAAA;AAEvB,MAAM,iBAAiBC,MAAAA,WAG5B,CAAC,OAAO,uCAASC,QAAAA,gBAAA,EAAwB,KAAW,GAAG,OAAO,CAAE;AAClE,eAAe,cAAc;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.cjs","sources":["../../../src/primitives/accordion.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\"\nimport { ChevronDown } from \"lucide-react\"\nimport { cn } from \"@/utils/index\"\n\nconst Accordion = AccordionPrimitive.Root\n\nconst AccordionItem = React.forwardRef<\n React.ElementRef<typeof AccordionPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item\n ref={ref}\n className={cn(\"border-b border-border\", className)}\n {...props}\n />\n))\nAccordionItem.displayName = \"AccordionItem\"\n\nconst AccordionTrigger = React.forwardRef<\n React.ElementRef<typeof AccordionPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={ref}\n className={cn(\n \"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronDown className=\"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n))\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName\n\nconst AccordionContent = React.forwardRef<\n React.ElementRef<typeof AccordionPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Content\n ref={ref}\n className=\"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n {...props}\n >\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\n </AccordionPrimitive.Content>\n))\nAccordionContent.displayName = AccordionPrimitive.Content.displayName\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\n"],"names":["AccordionPrimitive","React","jsx","cn","jsxs","ChevronDown"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,YAAYA,8BAAmB;AAErC,MAAM,gBAAgBC,iBAAM,WAG1B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1BC,2BAAAA;AAAAA,EAACF,8BAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAWG,GAAAA,GAAG,0BAA0B,SAAS;AAAA,IAChD,GAAG;AAAA,EAAA;AACN,CACD;AACD,cAAc,cAAc;AAE5B,MAAM,mBAAmBF,iBAAM,WAG7B,CAAC,EAAE,WAAW,UAAU,GAAG,MAAA,GAAS,QACpCC,2BAAAA,IAACF,8BAAmB,QAAnB,EAA0B,WAAU,QACnC,UAAAI,2BAAAA;AAAAA,EAACJ,8BAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAWG,GAAAA;AAAAA,MACT;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,IAEH,UAAA;AAAA,MAAA;AAAA,MACDD,2BAAAA,IAACG,YAAAA,aAAA,EAAY,WAAU,2EAAA,CAA2E;AAAA,IAAA;AAAA,EAAA;AACpG,GACF,CACD;AACD,iBAAiB,cAAcL,8BAAmB,QAAQ;AAE1D,MAAM,mBAAmBC,iBAAM,WAG7B,CAAC,EAAE,WAAW,UAAU,GAAG,SAAS,QACpCC,2BAAAA;AAAAA,EAACF,8BAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAU;AAAA,IACT,GAAG;AAAA,IAEJ,yCAAC,OAAA,EAAI,WAAWG,GAAAA,GAAG,aAAa,SAAS,GAAI,SAAA,CAAS;AAAA,EAAA;AACxD,CACD;AACD,iBAAiB,cAAcH,8BAAmB,QAAQ;;;;;"}
1
+ {"version":3,"file":"accordion.cjs","sources":["../../../src/primitives/accordion.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\"\r\nimport { ChevronDown } from \"lucide-react\"\r\nimport { cn } from \"@/utils/index\"\r\n\r\nconst Accordion = AccordionPrimitive.Root\r\n\r\nconst AccordionItem = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Item>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\r\n>(({ className, ...props }, ref) => (\r\n <AccordionPrimitive.Item\r\n ref={ref}\r\n className={cn(\"border-b border-border\", className)}\r\n {...props}\r\n />\r\n))\r\nAccordionItem.displayName = \"AccordionItem\"\r\n\r\nconst AccordionTrigger = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Trigger>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\r\n>(({ className, children, ...props }, ref) => (\r\n <AccordionPrimitive.Header className=\"flex\">\r\n <AccordionPrimitive.Trigger\r\n ref={ref}\r\n className={cn(\r\n \"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n {children}\r\n <ChevronDown className=\"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200\" />\r\n </AccordionPrimitive.Trigger>\r\n </AccordionPrimitive.Header>\r\n))\r\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName\r\n\r\nconst AccordionContent = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Content>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\r\n>(({ className, children, ...props }, ref) => (\r\n <AccordionPrimitive.Content\r\n ref={ref}\r\n className=\"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\r\n {...props}\r\n >\r\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\r\n </AccordionPrimitive.Content>\r\n))\r\nAccordionContent.displayName = AccordionPrimitive.Content.displayName\r\n\r\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\r\n"],"names":["AccordionPrimitive","React","jsx","cn","jsxs","ChevronDown"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,YAAYA,8BAAmB;AAErC,MAAM,gBAAgBC,iBAAM,WAG1B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1BC,2BAAAA;AAAAA,EAACF,8BAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAWG,GAAAA,GAAG,0BAA0B,SAAS;AAAA,IAChD,GAAG;AAAA,EAAA;AACN,CACD;AACD,cAAc,cAAc;AAE5B,MAAM,mBAAmBF,iBAAM,WAG7B,CAAC,EAAE,WAAW,UAAU,GAAG,MAAA,GAAS,QACpCC,2BAAAA,IAACF,8BAAmB,QAAnB,EAA0B,WAAU,QACnC,UAAAI,2BAAAA;AAAAA,EAACJ,8BAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAWG,GAAAA;AAAAA,MACT;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,IAEH,UAAA;AAAA,MAAA;AAAA,MACDD,2BAAAA,IAACG,YAAAA,aAAA,EAAY,WAAU,2EAAA,CAA2E;AAAA,IAAA;AAAA,EAAA;AACpG,GACF,CACD;AACD,iBAAiB,cAAcL,8BAAmB,QAAQ;AAE1D,MAAM,mBAAmBC,iBAAM,WAG7B,CAAC,EAAE,WAAW,UAAU,GAAG,SAAS,QACpCC,2BAAAA;AAAAA,EAACF,8BAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAU;AAAA,IACT,GAAG;AAAA,IAEJ,yCAAC,OAAA,EAAI,WAAWG,GAAAA,GAAG,aAAa,SAAS,GAAI,SAAA,CAAS;AAAA,EAAA;AACxD,CACD;AACD,iBAAiB,cAAcH,8BAAmB,QAAQ;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"badge.cjs","sources":["../../../src/primitives/badge.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/utils\"\n\nconst badgeVariants = cva(\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n {\n variants: {\n variant: {\n default:\n \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n destructive:\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\n outline: \"text-foreground\",\n success:\n \"border-transparent bg-emerald-100 text-emerald-800 hover:bg-emerald-100/80\",\n warning:\n \"border-transparent bg-amber-100 text-amber-800 hover:bg-amber-100/80\",\n info:\n \"border-transparent bg-sky-100 text-sky-800 hover:bg-sky-100/80\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nexport interface BadgeProps\n extends React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof badgeVariants> {}\n\nfunction Badge({ className, variant, ...props }: BadgeProps) {\n return (\n <div className={cn(badgeVariants({ variant }), className)} {...props} />\n )\n}\n\nexport { Badge, badgeVariants }\n"],"names":["cva","jsx","cn"],"mappings":";;;;;;;AAKA,MAAM,gBAAgBA,uBAAAA;AAAAA,EACpB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,WACE;AAAA,QACF,aACE;AAAA,QACF,SAAS;AAAA,QACT,SACE;AAAA,QACF,SACE;AAAA,QACF,MACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;AAMA,SAAS,MAAM,EAAE,WAAW,SAAS,GAAG,SAAqB;AAC3D,SACEC,+BAAC,OAAA,EAAI,WAAWC,GAAAA,GAAG,cAAc,EAAE,QAAA,CAAS,GAAG,SAAS,GAAI,GAAG,MAAA,CAAO;AAE1E;;;"}
1
+ {"version":3,"file":"badge.cjs","sources":["../../../src/primitives/badge.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport { cva, type VariantProps } from \"class-variance-authority\"\r\n\r\nimport { cn } from \"@/utils\"\r\n\r\nconst badgeVariants = cva(\r\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\r\n {\r\n variants: {\r\n variant: {\r\n default:\r\n \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\r\n secondary:\r\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\r\n destructive:\r\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\r\n outline: \"text-foreground\",\r\n success:\r\n \"border-transparent bg-emerald-100 text-emerald-800 hover:bg-emerald-100/80\",\r\n warning:\r\n \"border-transparent bg-amber-100 text-amber-800 hover:bg-amber-100/80\",\r\n info:\r\n \"border-transparent bg-sky-100 text-sky-800 hover:bg-sky-100/80\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"default\",\r\n },\r\n }\r\n)\r\n\r\nexport interface BadgeProps\r\n extends React.HTMLAttributes<HTMLDivElement>,\r\n VariantProps<typeof badgeVariants> {}\r\n\r\nfunction Badge({ className, variant, ...props }: BadgeProps) {\r\n return (\r\n <div className={cn(badgeVariants({ variant }), className)} {...props} />\r\n )\r\n}\r\n\r\nexport { Badge, badgeVariants }\r\n"],"names":["cva","jsx","cn"],"mappings":";;;;;;;AAKA,MAAM,gBAAgBA,uBAAAA;AAAAA,EACpB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,WACE;AAAA,QACF,aACE;AAAA,QACF,SAAS;AAAA,QACT,SACE;AAAA,QACF,SACE;AAAA,QACF,MACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;AAMA,SAAS,MAAM,EAAE,WAAW,SAAS,GAAG,SAAqB;AAC3D,SACEC,+BAAC,OAAA,EAAI,WAAWC,GAAAA,GAAG,cAAc,EAAE,QAAA,CAAS,GAAG,SAAS,GAAI,GAAG,MAAA,CAAO;AAE1E;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.cjs","sources":["../../../src/primitives/skeleton.tsx"],"sourcesContent":["import { cn } from \"@/utils/index\"\n\nfunction Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\"animate-pulse rounded-md bg-muted\", className)}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n"],"names":["jsx","cn"],"mappings":";;;;;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA+C;AAC/E,SACEA,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,GAAAA,GAAG,qCAAqC,SAAS;AAAA,MAC3D,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;;"}
1
+ {"version":3,"file":"skeleton.cjs","sources":["../../../src/primitives/skeleton.tsx"],"sourcesContent":["import { cn } from \"@/utils/index\"\r\n\r\nfunction Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {\r\n return (\r\n <div\r\n className={cn(\"animate-pulse rounded-md bg-muted\", className)}\r\n {...props}\r\n />\r\n )\r\n}\r\n\r\nexport { Skeleton }\r\n"],"names":["jsx","cn"],"mappings":";;;;;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA+C;AAC/E,SACEA,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,GAAAA,GAAG,qCAAqC,SAAS;AAAA,MAC3D,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.cjs","sources":["../../../src/primitives/tooltip.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\nimport { cn } from \"@/utils/index\"\n\nconst TooltipProvider = TooltipPrimitive.Provider\nconst Tooltip = TooltipPrimitive.Root\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className\n )}\n {...props}\n />\n </TooltipPrimitive.Portal>\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n"],"names":["TooltipPrimitive","React","jsx","cn"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,kBAAkBA,4BAAiB;AACzC,MAAM,UAAUA,4BAAiB;AACjC,MAAM,iBAAiBA,4BAAiB;AAExC,MAAM,iBAAiBC,iBAAM,WAG3B,CAAC,EAAE,WAAW,aAAa,GAAG,GAAG,SAAS,QAC1CC,2BAAAA,IAACF,4BAAiB,QAAjB,EACC,UAAAE,2BAAAA;AAAAA,EAACF,4BAAiB;AAAA,EAAjB;AAAA,IACC;AAAA,IACA;AAAA,IACA,WAAWG,GAAAA;AAAAA,MACT;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN,GACF,CACD;AACD,eAAe,cAAcH,4BAAiB,QAAQ;;;;;"}
1
+ {"version":3,"file":"tooltip.cjs","sources":["../../../src/primitives/tooltip.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\r\nimport { cn } from \"@/utils/index\"\r\n\r\nconst TooltipProvider = TooltipPrimitive.Provider\r\nconst Tooltip = TooltipPrimitive.Root\r\nconst TooltipTrigger = TooltipPrimitive.Trigger\r\n\r\nconst TooltipContent = React.forwardRef<\r\n React.ElementRef<typeof TooltipPrimitive.Content>,\r\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\r\n>(({ className, sideOffset = 4, ...props }, ref) => (\r\n <TooltipPrimitive.Portal>\r\n <TooltipPrimitive.Content\r\n ref={ref}\r\n sideOffset={sideOffset}\r\n className={cn(\r\n \"z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n </TooltipPrimitive.Portal>\r\n))\r\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\r\n\r\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\r\n"],"names":["TooltipPrimitive","React","jsx","cn"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,kBAAkBA,4BAAiB;AACzC,MAAM,UAAUA,4BAAiB;AACjC,MAAM,iBAAiBA,4BAAiB;AAExC,MAAM,iBAAiBC,iBAAM,WAG3B,CAAC,EAAE,WAAW,aAAa,GAAG,GAAG,SAAS,QAC1CC,2BAAAA,IAACF,4BAAiB,QAAjB,EACC,UAAAE,2BAAAA;AAAAA,EAACF,4BAAiB;AAAA,EAAjB;AAAA,IACC;AAAA,IACA;AAAA,IACA,WAAWG,GAAAA;AAAAA,MACT;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN,GACF,CACD;AACD,eAAe,cAAcH,4BAAiB,QAAQ;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.js","sources":["../../../src/components/Accordion/Accordion.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport {\n Accordion as AccordionPrimitive,\n AccordionItem as AccordionItemPrimitive,\n AccordionTrigger as AccordionTriggerPrimitive,\n AccordionContent as AccordionContentPrimitive,\n} from \"../../primitives/accordion\"\n\nexport const Accordion = AccordionPrimitive\n\nexport const AccordionItem = forwardRef<\n ElementRef<typeof AccordionItemPrimitive>,\n ComponentPropsWithoutRef<typeof AccordionItemPrimitive>\n>((props, ref) => <AccordionItemPrimitive ref={ref} {...props} />)\nAccordionItem.displayName = \"AccordionItem\"\n\nexport const AccordionTrigger = forwardRef<\n ElementRef<typeof AccordionTriggerPrimitive>,\n ComponentPropsWithoutRef<typeof AccordionTriggerPrimitive>\n>((props, ref) => <AccordionTriggerPrimitive ref={ref} {...props} />)\nAccordionTrigger.displayName = \"AccordionTrigger\"\n\nexport const AccordionContent = forwardRef<\n ElementRef<typeof AccordionContentPrimitive>,\n ComponentPropsWithoutRef<typeof AccordionContentPrimitive>\n>((props, ref) => <AccordionContentPrimitive ref={ref} {...props} />)\nAccordionContent.displayName = \"AccordionContent\"\n"],"names":["AccordionPrimitive","AccordionItemPrimitive","AccordionTriggerPrimitive","AccordionContentPrimitive"],"mappings":";;;;AASO,MAAM,YAAYA;AAElB,MAAM,gBAAgB,WAG3B,CAAC,OAAO,4BAASC,iBAAA,EAAuB,KAAW,GAAG,OAAO,CAAE;AACjE,cAAc,cAAc;AAErB,MAAM,mBAAmB,WAG9B,CAAC,OAAO,4BAASC,oBAAA,EAA0B,KAAW,GAAG,OAAO,CAAE;AACpE,iBAAiB,cAAc;AAExB,MAAM,mBAAmB,WAG9B,CAAC,OAAO,4BAASC,oBAAA,EAA0B,KAAW,GAAG,OAAO,CAAE;AACpE,iBAAiB,cAAc;"}
1
+ {"version":3,"file":"Accordion.js","sources":["../../../src/components/Accordion/Accordion.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\r\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\r\nimport {\r\n Accordion as AccordionPrimitive,\r\n AccordionItem as AccordionItemPrimitive,\r\n AccordionTrigger as AccordionTriggerPrimitive,\r\n AccordionContent as AccordionContentPrimitive,\r\n} from \"../../primitives/accordion\"\r\n\r\nexport const Accordion = AccordionPrimitive\r\n\r\nexport const AccordionItem = forwardRef<\r\n ElementRef<typeof AccordionItemPrimitive>,\r\n ComponentPropsWithoutRef<typeof AccordionItemPrimitive>\r\n>((props, ref) => <AccordionItemPrimitive ref={ref} {...props} />)\r\nAccordionItem.displayName = \"AccordionItem\"\r\n\r\nexport const AccordionTrigger = forwardRef<\r\n ElementRef<typeof AccordionTriggerPrimitive>,\r\n ComponentPropsWithoutRef<typeof AccordionTriggerPrimitive>\r\n>((props, ref) => <AccordionTriggerPrimitive ref={ref} {...props} />)\r\nAccordionTrigger.displayName = \"AccordionTrigger\"\r\n\r\nexport const AccordionContent = forwardRef<\r\n ElementRef<typeof AccordionContentPrimitive>,\r\n ComponentPropsWithoutRef<typeof AccordionContentPrimitive>\r\n>((props, ref) => <AccordionContentPrimitive ref={ref} {...props} />)\r\nAccordionContent.displayName = \"AccordionContent\"\r\n"],"names":["AccordionPrimitive","AccordionItemPrimitive","AccordionTriggerPrimitive","AccordionContentPrimitive"],"mappings":";;;;AASO,MAAM,YAAYA;AAElB,MAAM,gBAAgB,WAG3B,CAAC,OAAO,4BAASC,iBAAA,EAAuB,KAAW,GAAG,OAAO,CAAE;AACjE,cAAc,cAAc;AAErB,MAAM,mBAAmB,WAG9B,CAAC,OAAO,4BAASC,oBAAA,EAA0B,KAAW,GAAG,OAAO,CAAE;AACpE,iBAAiB,cAAc;AAExB,MAAM,mBAAmB,WAG9B,CAAC,OAAO,4BAASC,oBAAA,EAA0B,KAAW,GAAG,OAAO,CAAE;AACpE,iBAAiB,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.js","sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from \"lucide-react\"\nimport { cn } from \"../../utils/cn\"\nimport { ButtonPrimitive, buttonVariants } from \"../../primitives/button\"\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<\"nav\">) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn(\"mx-auto flex w-full justify-center\", className)}\n {...props}\n />\n)\nPagination.displayName = \"Pagination\"\n\nconst PaginationContent = React.forwardRef<\n HTMLUListElement,\n React.ComponentProps<\"ul\">\n>(({ className, ...props }, ref) => (\n <ul\n ref={ref}\n className={cn(\"flex flex-row items-center gap-1\", className)}\n {...props}\n />\n))\nPaginationContent.displayName = \"PaginationContent\"\n\nconst PaginationItem = React.forwardRef<\n HTMLLIElement,\n React.ComponentProps<\"li\">\n>(({ className, ...props }, ref) => (\n <li ref={ref} className={cn(\"\", className)} {...props} />\n))\nPaginationItem.displayName = \"PaginationItem\"\n\ntype PaginationLinkProps = {\n isActive?: boolean\n} & Pick<React.ComponentProps<typeof ButtonPrimitive>, \"size\"> &\n React.ComponentProps<\"a\">\n\nconst PaginationLink = ({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) => (\n <a\n aria-current={isActive ? \"page\" : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? \"outline\" : \"ghost\",\n size,\n }),\n className\n )}\n {...props}\n />\n)\nPaginationLink.displayName = \"PaginationLink\"\n\nconst PaginationPrevious = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to previous page\"\n size=\"default\"\n className={cn(\"gap-1 pl-2.5\", className)}\n {...props}\n >\n <ChevronLeft className=\"h-4 w-4\" />\n <span>Previous</span>\n </PaginationLink>\n)\nPaginationPrevious.displayName = \"PaginationPrevious\"\n\nconst PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to next page\"\n size=\"default\"\n className={cn(\"gap-1 pr-2.5\", className)}\n {...props}\n >\n <span>Next</span>\n <ChevronRight className=\"h-4 w-4\" />\n </PaginationLink>\n)\nPaginationNext.displayName = \"PaginationNext\"\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<\"span\">) => (\n <span\n aria-hidden\n className={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n {...props}\n >\n <MoreHorizontal className=\"h-4 w-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n)\nPaginationEllipsis.displayName = \"PaginationEllipsis\"\n\nexport {\n Pagination,\n PaginationContent,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n PaginationEllipsis,\n}\n"],"names":[],"mappings":";;;;;;AAKA,MAAM,aAAa,CAAC,EAAE,WAAW,GAAG,YAClC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAW,GAAG,sCAAsC,SAAS;AAAA,IAC5D,GAAG;AAAA,EAAA;AACN;AAEF,WAAW,cAAc;AAEzB,MAAM,oBAAoB,MAAM,WAG9B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAAC;AAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,oCAAoC,SAAS;AAAA,IAC1D,GAAG;AAAA,EAAA;AACN,CACD;AACD,kBAAkB,cAAc;AAEhC,MAAM,iBAAiB,MAAM,WAG3B,CAAC,EAAE,WAAW,GAAG,SAAS,4BACzB,MAAA,EAAG,KAAU,WAAW,GAAG,IAAI,SAAS,GAAI,GAAG,OAAO,CACxD;AACD,eAAe,cAAc;AAO7B,MAAM,iBAAiB,CAAC,EAAE,WAAW,UAAU,OAAO,QAAQ,GAAG,MAAA,MAC/D;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,gBAAc,WAAW,SAAS;AAAA,IAClC,WAAW;AAAA,MACT,eAAe;AAAA,QACb,SAAS,WAAW,YAAY;AAAA,QAChC;AAAA,MAAA,CACD;AAAA,MACD;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1C;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAW,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAA,oBAAC,aAAA,EAAY,WAAU,UAAA,CAAU;AAAA,MACjC,oBAAC,UAAK,UAAA,WAAA,CAAQ;AAAA,IAAA;AAAA,EAAA;AAChB;AAEF,mBAAmB,cAAc;AAEjC,MAAM,iBAAiB,CAAC,EAAE,WAAW,GAAG,YACtC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAW,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAA,oBAAC,UAAK,UAAA,OAAA,CAAI;AAAA,MACV,oBAAC,cAAA,EAAa,WAAU,UAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACpC;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1C;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,eAAW;AAAA,IACX,WAAW,GAAG,4CAA4C,SAAS;AAAA,IAClE,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAA,oBAAC,gBAAA,EAAe,WAAU,UAAA,CAAU;AAAA,MACpC,oBAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACtC;AAEF,mBAAmB,cAAc;"}
1
+ {"version":3,"file":"Pagination.js","sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from \"lucide-react\"\r\nimport { cn } from \"../../utils/cn\"\r\nimport { ButtonPrimitive, buttonVariants } from \"../../primitives/button\"\r\n\r\nconst Pagination = ({ className, ...props }: React.ComponentProps<\"nav\">) => (\r\n <nav\r\n role=\"navigation\"\r\n aria-label=\"pagination\"\r\n className={cn(\"mx-auto flex w-full justify-center\", className)}\r\n {...props}\r\n />\r\n)\r\nPagination.displayName = \"Pagination\"\r\n\r\nconst PaginationContent = React.forwardRef<\r\n HTMLUListElement,\r\n React.ComponentProps<\"ul\">\r\n>(({ className, ...props }, ref) => (\r\n <ul\r\n ref={ref}\r\n className={cn(\"flex flex-row items-center gap-1\", className)}\r\n {...props}\r\n />\r\n))\r\nPaginationContent.displayName = \"PaginationContent\"\r\n\r\nconst PaginationItem = React.forwardRef<\r\n HTMLLIElement,\r\n React.ComponentProps<\"li\">\r\n>(({ className, ...props }, ref) => (\r\n <li ref={ref} className={cn(\"\", className)} {...props} />\r\n))\r\nPaginationItem.displayName = \"PaginationItem\"\r\n\r\ntype PaginationLinkProps = {\r\n isActive?: boolean\r\n} & Pick<React.ComponentProps<typeof ButtonPrimitive>, \"size\"> &\r\n React.ComponentProps<\"a\">\r\n\r\nconst PaginationLink = ({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) => (\r\n <a\r\n aria-current={isActive ? \"page\" : undefined}\r\n className={cn(\r\n buttonVariants({\r\n variant: isActive ? \"outline\" : \"ghost\",\r\n size,\r\n }),\r\n className\r\n )}\r\n {...props}\r\n />\r\n)\r\nPaginationLink.displayName = \"PaginationLink\"\r\n\r\nconst PaginationPrevious = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\r\n <PaginationLink\r\n aria-label=\"Go to previous page\"\r\n size=\"default\"\r\n className={cn(\"gap-1 pl-2.5\", className)}\r\n {...props}\r\n >\r\n <ChevronLeft className=\"h-4 w-4\" />\r\n <span>Previous</span>\r\n </PaginationLink>\r\n)\r\nPaginationPrevious.displayName = \"PaginationPrevious\"\r\n\r\nconst PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\r\n <PaginationLink\r\n aria-label=\"Go to next page\"\r\n size=\"default\"\r\n className={cn(\"gap-1 pr-2.5\", className)}\r\n {...props}\r\n >\r\n <span>Next</span>\r\n <ChevronRight className=\"h-4 w-4\" />\r\n </PaginationLink>\r\n)\r\nPaginationNext.displayName = \"PaginationNext\"\r\n\r\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<\"span\">) => (\r\n <span\r\n aria-hidden\r\n className={cn(\"flex h-9 w-9 items-center justify-center\", className)}\r\n {...props}\r\n >\r\n <MoreHorizontal className=\"h-4 w-4\" />\r\n <span className=\"sr-only\">More pages</span>\r\n </span>\r\n)\r\nPaginationEllipsis.displayName = \"PaginationEllipsis\"\r\n\r\nexport {\r\n Pagination,\r\n PaginationContent,\r\n PaginationItem,\r\n PaginationLink,\r\n PaginationNext,\r\n PaginationPrevious,\r\n PaginationEllipsis,\r\n}\r\n"],"names":[],"mappings":";;;;;;AAKA,MAAM,aAAa,CAAC,EAAE,WAAW,GAAG,YAClC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAW,GAAG,sCAAsC,SAAS;AAAA,IAC5D,GAAG;AAAA,EAAA;AACN;AAEF,WAAW,cAAc;AAEzB,MAAM,oBAAoB,MAAM,WAG9B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAAC;AAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,oCAAoC,SAAS;AAAA,IAC1D,GAAG;AAAA,EAAA;AACN,CACD;AACD,kBAAkB,cAAc;AAEhC,MAAM,iBAAiB,MAAM,WAG3B,CAAC,EAAE,WAAW,GAAG,SAAS,4BACzB,MAAA,EAAG,KAAU,WAAW,GAAG,IAAI,SAAS,GAAI,GAAG,OAAO,CACxD;AACD,eAAe,cAAc;AAO7B,MAAM,iBAAiB,CAAC,EAAE,WAAW,UAAU,OAAO,QAAQ,GAAG,MAAA,MAC/D;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,gBAAc,WAAW,SAAS;AAAA,IAClC,WAAW;AAAA,MACT,eAAe;AAAA,QACb,SAAS,WAAW,YAAY;AAAA,QAChC;AAAA,MAAA,CACD;AAAA,MACD;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1C;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAW,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAA,oBAAC,aAAA,EAAY,WAAU,UAAA,CAAU;AAAA,MACjC,oBAAC,UAAK,UAAA,WAAA,CAAQ;AAAA,IAAA;AAAA,EAAA;AAChB;AAEF,mBAAmB,cAAc;AAEjC,MAAM,iBAAiB,CAAC,EAAE,WAAW,GAAG,YACtC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAW,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAA,oBAAC,UAAK,UAAA,OAAA,CAAI;AAAA,MACV,oBAAC,cAAA,EAAa,WAAU,UAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACpC;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1C;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,eAAW;AAAA,IACX,WAAW,GAAG,4CAA4C,SAAS;AAAA,IAClE,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAA,oBAAC,gBAAA,EAAe,WAAU,UAAA,CAAU;AAAA,MACpC,oBAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACtC;AAEF,mBAAmB,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.js","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["import { Skeleton as SkeletonPrimitive } from \"../../primitives/skeleton\"\nimport type { ComponentPropsWithoutRef } from \"react\"\n\nexport type SkeletonProps = ComponentPropsWithoutRef<typeof SkeletonPrimitive>\n\nexport function Skeleton(props: SkeletonProps) {\n return <SkeletonPrimitive {...props} />\n}\nSkeleton.displayName = \"Skeleton\"\n"],"names":["SkeletonPrimitive"],"mappings":";;;AAKO,SAAS,SAAS,OAAsB;AAC7C,SAAO,oBAACA,YAAA,EAAmB,GAAG,MAAA,CAAO;AACvC;AACA,SAAS,cAAc;"}
1
+ {"version":3,"file":"Skeleton.js","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["import { Skeleton as SkeletonPrimitive } from \"../../primitives/skeleton\"\r\nimport type { ComponentPropsWithoutRef } from \"react\"\r\n\r\nexport type SkeletonProps = ComponentPropsWithoutRef<typeof SkeletonPrimitive>\r\n\r\nexport function Skeleton(props: SkeletonProps) {\r\n return <SkeletonPrimitive {...props} />\r\n}\r\nSkeleton.displayName = \"Skeleton\"\r\n"],"names":["SkeletonPrimitive"],"mappings":";;;AAKO,SAAS,SAAS,OAAsB;AAC7C,SAAO,oBAACA,YAAA,EAAmB,GAAG,MAAA,CAAO;AACvC;AACA,SAAS,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.js","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import {\n Tooltip as TooltipPrimitive,\n TooltipTrigger as TooltipTriggerPrimitive,\n TooltipContent as TooltipContentPrimitive,\n TooltipProvider as TooltipProviderPrimitive,\n} from \"../../primitives/tooltip\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport { forwardRef } from \"react\"\n\nexport const TooltipProvider = TooltipProviderPrimitive\nexport const Tooltip = TooltipPrimitive\nexport const TooltipTrigger = TooltipTriggerPrimitive\n\nexport const TooltipContent = forwardRef<\n ElementRef<typeof TooltipContentPrimitive>,\n ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\n>((props, ref) => <TooltipContentPrimitive ref={ref} {...props} />)\nTooltipContent.displayName = \"TooltipContent\"\n\nexport type TooltipContentProps = ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\n"],"names":["TooltipProviderPrimitive","TooltipPrimitive","TooltipTriggerPrimitive","TooltipContentPrimitive"],"mappings":";;;;AASO,MAAM,kBAAkBA;AACxB,MAAM,UAAUC;AAChB,MAAM,iBAAiBC;AAEvB,MAAM,iBAAiB,WAG5B,CAAC,OAAO,4BAASC,kBAAA,EAAwB,KAAW,GAAG,OAAO,CAAE;AAClE,eAAe,cAAc;"}
1
+ {"version":3,"file":"Tooltip.js","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import {\r\n Tooltip as TooltipPrimitive,\r\n TooltipTrigger as TooltipTriggerPrimitive,\r\n TooltipContent as TooltipContentPrimitive,\r\n TooltipProvider as TooltipProviderPrimitive,\r\n} from \"../../primitives/tooltip\"\r\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\r\nimport { forwardRef } from \"react\"\r\n\r\nexport const TooltipProvider = TooltipProviderPrimitive\r\nexport const Tooltip = TooltipPrimitive\r\nexport const TooltipTrigger = TooltipTriggerPrimitive\r\n\r\nexport const TooltipContent = forwardRef<\r\n ElementRef<typeof TooltipContentPrimitive>,\r\n ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\r\n>((props, ref) => <TooltipContentPrimitive ref={ref} {...props} />)\r\nTooltipContent.displayName = \"TooltipContent\"\r\n\r\nexport type TooltipContentProps = ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\r\n"],"names":["TooltipProviderPrimitive","TooltipPrimitive","TooltipTriggerPrimitive","TooltipContentPrimitive"],"mappings":";;;;AASO,MAAM,kBAAkBA;AACxB,MAAM,UAAUC;AAChB,MAAM,iBAAiBC;AAEvB,MAAM,iBAAiB,WAG5B,CAAC,OAAO,4BAASC,kBAAA,EAAwB,KAAW,GAAG,OAAO,CAAE;AAClE,eAAe,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.js","sources":["../../src/primitives/accordion.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\"\nimport { ChevronDown } from \"lucide-react\"\nimport { cn } from \"@/utils/index\"\n\nconst Accordion = AccordionPrimitive.Root\n\nconst AccordionItem = React.forwardRef<\n React.ElementRef<typeof AccordionPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item\n ref={ref}\n className={cn(\"border-b border-border\", className)}\n {...props}\n />\n))\nAccordionItem.displayName = \"AccordionItem\"\n\nconst AccordionTrigger = React.forwardRef<\n React.ElementRef<typeof AccordionPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={ref}\n className={cn(\n \"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronDown className=\"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n))\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName\n\nconst AccordionContent = React.forwardRef<\n React.ElementRef<typeof AccordionPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Content\n ref={ref}\n className=\"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n {...props}\n >\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\n </AccordionPrimitive.Content>\n))\nAccordionContent.displayName = AccordionPrimitive.Content.displayName\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\n"],"names":[],"mappings":";;;;;;AAKA,MAAM,YAAY,mBAAmB;AAErC,MAAM,gBAAgB,MAAM,WAG1B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAAC,mBAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAW,GAAG,0BAA0B,SAAS;AAAA,IAChD,GAAG;AAAA,EAAA;AACN,CACD;AACD,cAAc,cAAc;AAE5B,MAAM,mBAAmB,MAAM,WAG7B,CAAC,EAAE,WAAW,UAAU,GAAG,MAAA,GAAS,QACpC,oBAAC,mBAAmB,QAAnB,EAA0B,WAAU,QACnC,UAAA;AAAA,EAAC,mBAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,IAEH,UAAA;AAAA,MAAA;AAAA,MACD,oBAAC,aAAA,EAAY,WAAU,2EAAA,CAA2E;AAAA,IAAA;AAAA,EAAA;AACpG,GACF,CACD;AACD,iBAAiB,cAAc,mBAAmB,QAAQ;AAE1D,MAAM,mBAAmB,MAAM,WAG7B,CAAC,EAAE,WAAW,UAAU,GAAG,SAAS,QACpC;AAAA,EAAC,mBAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAU;AAAA,IACT,GAAG;AAAA,IAEJ,8BAAC,OAAA,EAAI,WAAW,GAAG,aAAa,SAAS,GAAI,SAAA,CAAS;AAAA,EAAA;AACxD,CACD;AACD,iBAAiB,cAAc,mBAAmB,QAAQ;"}
1
+ {"version":3,"file":"accordion.js","sources":["../../src/primitives/accordion.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\"\r\nimport { ChevronDown } from \"lucide-react\"\r\nimport { cn } from \"@/utils/index\"\r\n\r\nconst Accordion = AccordionPrimitive.Root\r\n\r\nconst AccordionItem = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Item>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\r\n>(({ className, ...props }, ref) => (\r\n <AccordionPrimitive.Item\r\n ref={ref}\r\n className={cn(\"border-b border-border\", className)}\r\n {...props}\r\n />\r\n))\r\nAccordionItem.displayName = \"AccordionItem\"\r\n\r\nconst AccordionTrigger = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Trigger>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\r\n>(({ className, children, ...props }, ref) => (\r\n <AccordionPrimitive.Header className=\"flex\">\r\n <AccordionPrimitive.Trigger\r\n ref={ref}\r\n className={cn(\r\n \"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n {children}\r\n <ChevronDown className=\"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200\" />\r\n </AccordionPrimitive.Trigger>\r\n </AccordionPrimitive.Header>\r\n))\r\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName\r\n\r\nconst AccordionContent = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Content>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\r\n>(({ className, children, ...props }, ref) => (\r\n <AccordionPrimitive.Content\r\n ref={ref}\r\n className=\"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\r\n {...props}\r\n >\r\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\r\n </AccordionPrimitive.Content>\r\n))\r\nAccordionContent.displayName = AccordionPrimitive.Content.displayName\r\n\r\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\r\n"],"names":[],"mappings":";;;;;;AAKA,MAAM,YAAY,mBAAmB;AAErC,MAAM,gBAAgB,MAAM,WAG1B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1B;AAAA,EAAC,mBAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAW,GAAG,0BAA0B,SAAS;AAAA,IAChD,GAAG;AAAA,EAAA;AACN,CACD;AACD,cAAc,cAAc;AAE5B,MAAM,mBAAmB,MAAM,WAG7B,CAAC,EAAE,WAAW,UAAU,GAAG,MAAA,GAAS,QACpC,oBAAC,mBAAmB,QAAnB,EAA0B,WAAU,QACnC,UAAA;AAAA,EAAC,mBAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,IAEH,UAAA;AAAA,MAAA;AAAA,MACD,oBAAC,aAAA,EAAY,WAAU,2EAAA,CAA2E;AAAA,IAAA;AAAA,EAAA;AACpG,GACF,CACD;AACD,iBAAiB,cAAc,mBAAmB,QAAQ;AAE1D,MAAM,mBAAmB,MAAM,WAG7B,CAAC,EAAE,WAAW,UAAU,GAAG,SAAS,QACpC;AAAA,EAAC,mBAAmB;AAAA,EAAnB;AAAA,IACC;AAAA,IACA,WAAU;AAAA,IACT,GAAG;AAAA,IAEJ,8BAAC,OAAA,EAAI,WAAW,GAAG,aAAa,SAAS,GAAI,SAAA,CAAS;AAAA,EAAA;AACxD,CACD;AACD,iBAAiB,cAAc,mBAAmB,QAAQ;"}
@@ -1 +1 @@
1
- {"version":3,"file":"badge.js","sources":["../../src/primitives/badge.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/utils\"\n\nconst badgeVariants = cva(\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n {\n variants: {\n variant: {\n default:\n \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n destructive:\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\n outline: \"text-foreground\",\n success:\n \"border-transparent bg-emerald-100 text-emerald-800 hover:bg-emerald-100/80\",\n warning:\n \"border-transparent bg-amber-100 text-amber-800 hover:bg-amber-100/80\",\n info:\n \"border-transparent bg-sky-100 text-sky-800 hover:bg-sky-100/80\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nexport interface BadgeProps\n extends React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof badgeVariants> {}\n\nfunction Badge({ className, variant, ...props }: BadgeProps) {\n return (\n <div className={cn(badgeVariants({ variant }), className)} {...props} />\n )\n}\n\nexport { Badge, badgeVariants }\n"],"names":[],"mappings":";;;;;AAKA,MAAM,gBAAgB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,WACE;AAAA,QACF,aACE;AAAA,QACF,SAAS;AAAA,QACT,SACE;AAAA,QACF,SACE;AAAA,QACF,MACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;AAMA,SAAS,MAAM,EAAE,WAAW,SAAS,GAAG,SAAqB;AAC3D,SACE,oBAAC,OAAA,EAAI,WAAW,GAAG,cAAc,EAAE,QAAA,CAAS,GAAG,SAAS,GAAI,GAAG,MAAA,CAAO;AAE1E;"}
1
+ {"version":3,"file":"badge.js","sources":["../../src/primitives/badge.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport { cva, type VariantProps } from \"class-variance-authority\"\r\n\r\nimport { cn } from \"@/utils\"\r\n\r\nconst badgeVariants = cva(\r\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\r\n {\r\n variants: {\r\n variant: {\r\n default:\r\n \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\r\n secondary:\r\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\r\n destructive:\r\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\r\n outline: \"text-foreground\",\r\n success:\r\n \"border-transparent bg-emerald-100 text-emerald-800 hover:bg-emerald-100/80\",\r\n warning:\r\n \"border-transparent bg-amber-100 text-amber-800 hover:bg-amber-100/80\",\r\n info:\r\n \"border-transparent bg-sky-100 text-sky-800 hover:bg-sky-100/80\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"default\",\r\n },\r\n }\r\n)\r\n\r\nexport interface BadgeProps\r\n extends React.HTMLAttributes<HTMLDivElement>,\r\n VariantProps<typeof badgeVariants> {}\r\n\r\nfunction Badge({ className, variant, ...props }: BadgeProps) {\r\n return (\r\n <div className={cn(badgeVariants({ variant }), className)} {...props} />\r\n )\r\n}\r\n\r\nexport { Badge, badgeVariants }\r\n"],"names":[],"mappings":";;;;;AAKA,MAAM,gBAAgB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,WACE;AAAA,QACF,aACE;AAAA,QACF,SAAS;AAAA,QACT,SACE;AAAA,QACF,SACE;AAAA,QACF,MACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;AAMA,SAAS,MAAM,EAAE,WAAW,SAAS,GAAG,SAAqB;AAC3D,SACE,oBAAC,OAAA,EAAI,WAAW,GAAG,cAAc,EAAE,QAAA,CAAS,GAAG,SAAS,GAAI,GAAG,MAAA,CAAO;AAE1E;"}
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.js","sources":["../../src/primitives/skeleton.tsx"],"sourcesContent":["import { cn } from \"@/utils/index\"\n\nfunction Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\"animate-pulse rounded-md bg-muted\", className)}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n"],"names":[],"mappings":";;;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA+C;AAC/E,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,GAAG,qCAAqC,SAAS;AAAA,MAC3D,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;"}
1
+ {"version":3,"file":"skeleton.js","sources":["../../src/primitives/skeleton.tsx"],"sourcesContent":["import { cn } from \"@/utils/index\"\r\n\r\nfunction Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {\r\n return (\r\n <div\r\n className={cn(\"animate-pulse rounded-md bg-muted\", className)}\r\n {...props}\r\n />\r\n )\r\n}\r\n\r\nexport { Skeleton }\r\n"],"names":[],"mappings":";;;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA+C;AAC/E,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,GAAG,qCAAqC,SAAS;AAAA,MAC3D,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;"}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sources":["../../src/primitives/tooltip.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\nimport { cn } from \"@/utils/index\"\n\nconst TooltipProvider = TooltipPrimitive.Provider\nconst Tooltip = TooltipPrimitive.Root\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className\n )}\n {...props}\n />\n </TooltipPrimitive.Portal>\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n"],"names":[],"mappings":";;;;;AAIA,MAAM,kBAAkB,iBAAiB;AACzC,MAAM,UAAU,iBAAiB;AACjC,MAAM,iBAAiB,iBAAiB;AAExC,MAAM,iBAAiB,MAAM,WAG3B,CAAC,EAAE,WAAW,aAAa,GAAG,GAAG,SAAS,QAC1C,oBAAC,iBAAiB,QAAjB,EACC,UAAA;AAAA,EAAC,iBAAiB;AAAA,EAAjB;AAAA,IACC;AAAA,IACA;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN,GACF,CACD;AACD,eAAe,cAAc,iBAAiB,QAAQ;"}
1
+ {"version":3,"file":"tooltip.js","sources":["../../src/primitives/tooltip.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\r\nimport { cn } from \"@/utils/index\"\r\n\r\nconst TooltipProvider = TooltipPrimitive.Provider\r\nconst Tooltip = TooltipPrimitive.Root\r\nconst TooltipTrigger = TooltipPrimitive.Trigger\r\n\r\nconst TooltipContent = React.forwardRef<\r\n React.ElementRef<typeof TooltipPrimitive.Content>,\r\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\r\n>(({ className, sideOffset = 4, ...props }, ref) => (\r\n <TooltipPrimitive.Portal>\r\n <TooltipPrimitive.Content\r\n ref={ref}\r\n sideOffset={sideOffset}\r\n className={cn(\r\n \"z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n </TooltipPrimitive.Portal>\r\n))\r\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\r\n\r\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\r\n"],"names":[],"mappings":";;;;;AAIA,MAAM,kBAAkB,iBAAiB;AACzC,MAAM,UAAU,iBAAiB;AACjC,MAAM,iBAAiB,iBAAiB;AAExC,MAAM,iBAAiB,MAAM,WAG3B,CAAC,EAAE,WAAW,aAAa,GAAG,GAAG,SAAS,QAC1C,oBAAC,iBAAiB,QAAjB,EACC,UAAA;AAAA,EAAC,iBAAiB;AAAA,EAAjB;AAAA,IACC;AAAA,IACA;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN,GACF,CACD;AACD,eAAe,cAAc,iBAAiB,QAAQ;"}
package/package.json CHANGED
@@ -1,497 +1,497 @@
1
- {
2
- "name": "@skybin-tech/nebula-ui",
3
- "version": "0.0.25",
4
- "type": "module",
5
- "author": "Anwar <anwar@skybin.io>",
6
- "description": "Reusable React component library with form validation using shadcn/ui patterns, react-hook-form, and Zod",
7
- "files": [
8
- "dist"
9
- ],
10
- "main": "./dist/cjs/index.cjs",
11
- "module": "./dist/index.js",
12
- "types": "./dist/index.d.ts",
13
- "exports": {
14
- ".": {
15
- "import": {
16
- "types": "./dist/index.d.ts",
17
- "default": "./dist/index.js"
18
- },
19
- "require": {
20
- "types": "./dist/index.d.ts",
21
- "default": "./dist/cjs/index.cjs"
22
- }
23
- },
24
- "./components/Button": {
25
- "import": {
26
- "types": "./dist/components/Button/index.d.ts",
27
- "default": "./dist/components/Button/Button.js"
28
- },
29
- "require": {
30
- "types": "./dist/components/Button/index.d.ts",
31
- "default": "./dist/cjs/components/Button/Button.cjs"
32
- }
33
- },
34
- "./components/Form": {
35
- "import": {
36
- "types": "./dist/components/Form/index.d.ts",
37
- "default": "./dist/components/Form/Form.js"
38
- },
39
- "require": {
40
- "types": "./dist/components/Form/index.d.ts",
41
- "default": "./dist/cjs/components/Form/Form.cjs"
42
- }
43
- },
44
- "./hooks/useDebounce": {
45
- "import": {
46
- "types": "./dist/hooks/useDebounce.d.ts",
47
- "default": "./dist/hooks/useDebounce.js"
48
- },
49
- "require": {
50
- "types": "./dist/hooks/useDebounce.d.ts",
51
- "default": "./dist/cjs/hooks/useDebounce.cjs"
52
- }
53
- },
54
- "./hooks/useToggle": {
55
- "import": {
56
- "types": "./dist/hooks/useToggle.d.ts",
57
- "default": "./dist/hooks/useToggle.js"
58
- },
59
- "require": {
60
- "types": "./dist/hooks/useToggle.d.ts",
61
- "default": "./dist/cjs/hooks/useToggle.cjs"
62
- }
63
- },
64
- "./utils/cn": {
65
- "import": {
66
- "types": "./dist/utils/cn.d.ts",
67
- "default": "./dist/utils/cn.js"
68
- },
69
- "require": {
70
- "types": "./dist/utils/cn.d.ts",
71
- "default": "./dist/cjs/utils/cn.cjs"
72
- }
73
- },
74
- "./package.json": "./package.json",
75
- "./components/Card": {
76
- "import": {
77
- "types": "./dist/components/Card/index.d.ts",
78
- "default": "./dist/components/Card/index.js"
79
- },
80
- "require": {
81
- "types": "./dist/components/Card/index.d.ts",
82
- "default": "./dist/cjs/components/Card/index.cjs"
83
- }
84
- },
85
- "./components/Badge": {
86
- "import": {
87
- "types": "./dist/components/Badge/index.d.ts",
88
- "default": "./dist/components/Badge/index.js"
89
- },
90
- "require": {
91
- "types": "./dist/components/Badge/index.d.ts",
92
- "default": "./dist/cjs/components/Badge/index.cjs"
93
- }
94
- },
95
- "./components/Avatar": {
96
- "import": {
97
- "types": "./dist/components/Avatar/index.d.ts",
98
- "default": "./dist/components/Avatar/index.js"
99
- },
100
- "require": {
101
- "types": "./dist/components/Avatar/index.d.ts",
102
- "default": "./dist/cjs/components/Avatar/index.cjs"
103
- }
104
- },
105
- "./components/DropdownMenu": {
106
- "import": {
107
- "types": "./dist/components/DropdownMenu/index.d.ts",
108
- "default": "./dist/components/DropdownMenu/index.js"
109
- },
110
- "require": {
111
- "types": "./dist/components/DropdownMenu/index.d.ts",
112
- "default": "./dist/cjs/components/DropdownMenu/index.cjs"
113
- }
114
- },
115
- "./components/Separator": {
116
- "import": {
117
- "types": "./dist/components/Separator/index.d.ts",
118
- "default": "./dist/components/Separator/index.js"
119
- },
120
- "require": {
121
- "types": "./dist/components/Separator/index.d.ts",
122
- "default": "./dist/cjs/components/Separator/index.cjs"
123
- }
124
- },
125
- "./components/Dialog": {
126
- "import": {
127
- "types": "./dist/components/Dialog/index.d.ts",
128
- "default": "./dist/components/Dialog/index.js"
129
- },
130
- "require": {
131
- "types": "./dist/components/Dialog/index.d.ts",
132
- "default": "./dist/cjs/components/Dialog/index.cjs"
133
- }
134
- },
135
- "./components/Popover": {
136
- "import": {
137
- "types": "./dist/components/Popover/index.d.ts",
138
- "default": "./dist/components/Popover/index.js"
139
- },
140
- "require": {
141
- "types": "./dist/components/Popover/index.d.ts",
142
- "default": "./dist/cjs/components/Popover/index.cjs"
143
- }
144
- },
145
- "./components/ScrollArea": {
146
- "import": {
147
- "types": "./dist/components/ScrollArea/index.d.ts",
148
- "default": "./dist/components/ScrollArea/index.js"
149
- },
150
- "require": {
151
- "types": "./dist/components/ScrollArea/index.d.ts",
152
- "default": "./dist/cjs/components/ScrollArea/index.cjs"
153
- }
154
- },
155
- "./components/Toggle": {
156
- "import": {
157
- "types": "./dist/components/Toggle/index.d.ts",
158
- "default": "./dist/components/Toggle/index.js"
159
- },
160
- "require": {
161
- "types": "./dist/components/Toggle/index.d.ts",
162
- "default": "./dist/cjs/components/Toggle/index.cjs"
163
- }
164
- },
165
- "./components/Table": {
166
- "import": {
167
- "types": "./dist/components/Table/index.d.ts",
168
- "default": "./dist/components/Table/index.js"
169
- },
170
- "require": {
171
- "types": "./dist/components/Table/index.d.ts",
172
- "default": "./dist/cjs/components/Table/index.cjs"
173
- }
174
- },
175
- "./components/Command": {
176
- "import": {
177
- "types": "./dist/components/Command/index.d.ts",
178
- "default": "./dist/components/Command/index.js"
179
- },
180
- "require": {
181
- "types": "./dist/components/Command/index.d.ts",
182
- "default": "./dist/cjs/components/Command/index.cjs"
183
- }
184
- },
185
- "./components/Calendar": {
186
- "import": {
187
- "types": "./dist/components/Calendar/index.d.ts",
188
- "default": "./dist/components/Calendar/index.js"
189
- },
190
- "require": {
191
- "types": "./dist/components/Calendar/index.d.ts",
192
- "default": "./dist/cjs/components/Calendar/index.cjs"
193
- }
194
- },
195
- "./components/Sonner": {
196
- "import": {
197
- "types": "./dist/components/Sonner/index.d.ts",
198
- "default": "./dist/components/Sonner/index.js"
199
- },
200
- "require": {
201
- "types": "./dist/components/Sonner/index.d.ts",
202
- "default": "./dist/cjs/components/Sonner/index.cjs"
203
- }
204
- },
205
- "./components/Toast": {
206
- "import": {
207
- "types": "./dist/components/Toast/index.d.ts",
208
- "default": "./dist/components/Toast/index.js"
209
- },
210
- "require": {
211
- "types": "./dist/components/Toast/index.d.ts",
212
- "default": "./dist/cjs/components/Toast/index.cjs"
213
- }
214
- },
215
- "./hooks/useToast": {
216
- "import": {
217
- "types": "./dist/hooks/useToast.d.ts",
218
- "default": "./dist/hooks/useToast.js"
219
- },
220
- "require": {
221
- "types": "./dist/hooks/useToast.d.ts",
222
- "default": "./dist/cjs/hooks/useToast.cjs"
223
- }
224
- },
225
- "./components/Checkbox": {
226
- "import": {
227
- "types": "./dist/components/Checkbox/Checkbox.d.ts",
228
- "default": "./dist/components/Checkbox/Checkbox.js"
229
- },
230
- "require": {
231
- "types": "./dist/components/Checkbox/Checkbox.d.ts",
232
- "default": "./dist/cjs/components/Checkbox/Checkbox.cjs"
233
- }
234
- },
235
- "./components/Tooltip": {
236
- "import": {
237
- "types": "./dist/components/Tooltip/index.d.ts",
238
- "default": "./dist/components/Tooltip/index.js"
239
- },
240
- "require": {
241
- "types": "./dist/components/Tooltip/index.d.ts",
242
- "default": "./dist/cjs/components/Tooltip/index.cjs"
243
- }
244
- },
245
- "./components/Skeleton": {
246
- "import": {
247
- "types": "./dist/components/Skeleton/index.d.ts",
248
- "default": "./dist/components/Skeleton/index.js"
249
- },
250
- "require": {
251
- "types": "./dist/components/Skeleton/index.d.ts",
252
- "default": "./dist/cjs/components/Skeleton/index.cjs"
253
- }
254
- },
255
- "./components/Accordion": {
256
- "import": {
257
- "types": "./dist/components/Accordion/index.d.ts",
258
- "default": "./dist/components/Accordion/index.js"
259
- },
260
- "require": {
261
- "types": "./dist/components/Accordion/index.d.ts",
262
- "default": "./dist/cjs/components/Accordion/index.cjs"
263
- }
264
- },
265
- "./components/Pagination": {
266
- "import": {
267
- "types": "./dist/components/Pagination/index.d.ts",
268
- "default": "./dist/components/Pagination/index.js"
269
- },
270
- "require": {
271
- "types": "./dist/components/Pagination/index.d.ts",
272
- "default": "./dist/cjs/components/Pagination/index.cjs"
273
- }
274
- }
275
- },
276
- "typesVersions": {
277
- "*": {
278
- "components/Button": [
279
- "./dist/components/Button/index.d.ts"
280
- ],
281
- "components/Form": [
282
- "./dist/components/Form/index.d.ts"
283
- ],
284
- "hooks/useDebounce": [
285
- "./dist/hooks/useDebounce.d.ts"
286
- ],
287
- "hooks/useToggle": [
288
- "./dist/hooks/useToggle.d.ts"
289
- ],
290
- "utils/cn": [
291
- "./dist/utils/cn.d.ts"
292
- ],
293
- "components/Card": [
294
- "./dist/components/Card/index.d.ts"
295
- ],
296
- "components/Badge": [
297
- "./dist/components/Badge/index.d.ts"
298
- ],
299
- "components/Avatar": [
300
- "./dist/components/Avatar/index.d.ts"
301
- ],
302
- "components/DropdownMenu": [
303
- "./dist/components/DropdownMenu/index.d.ts"
304
- ],
305
- "components/Separator": [
306
- "./dist/components/Separator/index.d.ts"
307
- ],
308
- "components/Dialog": [
309
- "./dist/components/Dialog/index.d.ts"
310
- ],
311
- "components/Popover": [
312
- "./dist/components/Popover/index.d.ts"
313
- ],
314
- "components/ScrollArea": [
315
- "./dist/components/ScrollArea/index.d.ts"
316
- ],
317
- "components/Toggle": [
318
- "./dist/components/Toggle/index.d.ts"
319
- ],
320
- "components/Table": [
321
- "./dist/components/Table/index.d.ts"
322
- ],
323
- "components/Command": [
324
- "./dist/components/Command/index.d.ts"
325
- ],
326
- "components/Calendar": [
327
- "./dist/components/Calendar/index.d.ts"
328
- ],
329
- "components/Sonner": [
330
- "./dist/components/Sonner/index.d.ts"
331
- ],
332
- "components/Toast": [
333
- "./dist/components/Toast/index.d.ts"
334
- ],
335
- "hooks/useToast": [
336
- "./dist/hooks/useToast.d.ts"
337
- ],
338
- "components/Checkbox": [
339
- "./dist/components/Checkbox/Checkbox.d.ts"
340
- ],
341
- "components/Tooltip": [
342
- "./dist/components/Tooltip/index.d.ts"
343
- ],
344
- "components/Skeleton": [
345
- "./dist/components/Skeleton/index.d.ts"
346
- ],
347
- "components/Accordion": [
348
- "./dist/components/Accordion/index.d.ts"
349
- ],
350
- "components/Pagination": [
351
- "./dist/components/Pagination/index.d.ts"
352
- ]
353
- }
354
- },
355
- "sideEffects": [
356
- "**/*.css"
357
- ],
358
- "scripts": {
359
- "dev": "vite",
360
- "build": "tsc -b && vite build",
361
- "build:lib": "vite build",
362
- "lint": "eslint .",
363
- "preview": "vite preview",
364
- "prepublishOnly": "npm run build:lib",
365
- "storybook": "storybook dev -p 6006",
366
- "build-storybook": "storybook build",
367
- "deploy": "npm publish --access public"
368
- },
369
- "peerDependencies": {
370
- "@hookform/resolvers": "^5.0.0",
371
- "@radix-ui/react-avatar": ">=1.0.0",
372
- "@radix-ui/react-checkbox": ">=1.0.0",
373
- "@radix-ui/react-dialog": ">=1.0.0",
374
- "@radix-ui/react-dropdown-menu": ">=2.1.16",
375
- "@radix-ui/react-label": ">=2.0.0",
376
- "@radix-ui/react-popover": ">=1.0.0",
377
- "@radix-ui/react-radio-group": ">=1.0.0",
378
- "@radix-ui/react-scroll-area": ">=1.0.0",
379
- "@radix-ui/react-select": ">=2.0.0",
380
- "@radix-ui/react-separator": ">=1.0.0",
381
- "@radix-ui/react-slot": ">=1.0.0",
382
- "@radix-ui/react-switch": ">=1.0.0",
383
- "@radix-ui/react-toast": ">=1.0.0",
384
- "@radix-ui/react-toggle": ">=1.0.0",
385
- "@radix-ui/react-tooltip": ">=1.0.0",
386
- "@radix-ui/react-accordion": ">=1.0.0",
387
- "class-variance-authority": ">=0.7.0",
388
- "clsx": ">=2.0.0",
389
- "cmdk": ">=1.0.0",
390
- "date-fns": ">=3.0.0",
391
- "lucide-react": ">=0.400.0",
392
- "react": "^18.0.0 || ^19.0.0",
393
- "react-day-picker": ">=8.0.0",
394
- "react-dom": "^18.0.0 || ^19.0.0",
395
- "react-hook-form": "^7.0.0",
396
- "sonner": ">=1.0.0",
397
- "tailwind-merge": ">=2.0.0",
398
- "tailwindcss": "^3.0.0 || ^4.0.0",
399
- "zod": "^3.0.0 || ^4.0.0"
400
- },
401
- "peerDependenciesMeta": {
402
- "zod": {
403
- "optional": false
404
- },
405
- "react-hook-form": {
406
- "optional": false
407
- },
408
- "@hookform/resolvers": {
409
- "optional": false
410
- }
411
- },
412
- "devDependencies": {
413
- "@chromatic-com/storybook": "^5.0.1",
414
- "@eslint/js": "^9.39.4",
415
- "@hookform/resolvers": "^5.2.2",
416
- "@radix-ui/react-avatar": "^1.1.11",
417
- "@radix-ui/react-checkbox": "^1.3.3",
418
- "@radix-ui/react-dialog": "^1.1.15",
419
- "@radix-ui/react-dropdown-menu": "2.1.16",
420
- "@radix-ui/react-label": "^2.1.8",
421
- "@radix-ui/react-popover": "^1.1.15",
422
- "@radix-ui/react-radio-group": "^1.3.8",
423
- "@radix-ui/react-scroll-area": "^1.2.10",
424
- "@radix-ui/react-select": "^2.2.6",
425
- "@radix-ui/react-separator": "^1.1.8",
426
- "@radix-ui/react-slot": "^1.2.4",
427
- "@radix-ui/react-switch": "^1.2.6",
428
- "@radix-ui/react-toast": "^1.2.15",
429
- "@radix-ui/react-toggle": "^1.1.10",
430
- "@radix-ui/react-tooltip": "^1.2.7",
431
- "@radix-ui/react-accordion": "^1.2.11",
432
- "@storybook/addon-a11y": "^10.2.17",
433
- "@storybook/addon-docs": "^10.2.17",
434
- "@storybook/addon-onboarding": "^10.2.17",
435
- "@storybook/addon-vitest": "^10.2.17",
436
- "@storybook/react-vite": "^10.2.17",
437
- "@tailwindcss/vite": "^4.2.1",
438
- "@types/glob": "^9.0.0",
439
- "@types/node": "^25.4.0",
440
- "@types/react": "^19.2.14",
441
- "@types/react-dom": "^19.2.3",
442
- "@vitejs/plugin-react-swc": "^4.3.0",
443
- "@vitest/browser-playwright": "^4.1.0",
444
- "@vitest/coverage-v8": "^4.1.0",
445
- "class-variance-authority": "^0.7.1",
446
- "clsx": "^2.1.1",
447
- "cmdk": "^1.1.1",
448
- "date-fns": "^4.1.0",
449
- "esbuild": "^0.27.4",
450
- "eslint": "^9.39.4",
451
- "eslint-plugin-react-hooks": "^7.0.1",
452
- "eslint-plugin-react-refresh": "^0.5.2",
453
- "eslint-plugin-storybook": "^10.2.17",
454
- "glob": "^13.0.6",
455
- "globals": "^16.5.0",
456
- "lucide-react": "^0.577.0",
457
- "playwright": "^1.58.2",
458
- "react": "^19.2.4",
459
- "react-day-picker": "^9.14.0",
460
- "react-dom": "^19.2.4",
461
- "react-hook-form": "^7.71.2",
462
- "sonner": "^2.0.7",
463
- "storybook": "^10.2.17",
464
- "tailwind-merge": "^3.5.0",
465
- "tailwindcss": "^4.2.1",
466
- "typescript": "~5.9.3",
467
- "typescript-eslint": "^8.57.0",
468
- "vite": "^7.3.1",
469
- "vite-plugin-checker": "^0.12.0",
470
- "vite-plugin-dts": "^4.5.4",
471
- "vite-plugin-eslint": "^1.8.1",
472
- "vite-plugin-eslint2": "^5.0.5",
473
- "vite-tsconfig-paths": "^6.1.1",
474
- "vitest": "^4.1.0",
475
- "zod": "^3.25.76"
476
- },
477
- "repository": {
478
- "type": "git",
479
- "url": "git+https://github.com/skybin-tech/nebula-ui.git"
480
- },
481
- "keywords": [
482
- "react",
483
- "components",
484
- "ui",
485
- "library",
486
- "form",
487
- "validation",
488
- "zod",
489
- "react-hook-form",
490
- "typescript",
491
- "tailwindcss"
492
- ],
493
- "license": "MIT",
494
- "dependencies": {
495
- "@radix-ui/react-tabs": "^1.1.13"
496
- }
497
- }
1
+ {
2
+ "name": "@skybin-tech/nebula-ui",
3
+ "version": "0.0.26",
4
+ "type": "module",
5
+ "author": "Anwar <anwar@skybin.io>",
6
+ "description": "Reusable React component library with form validation using shadcn/ui patterns, react-hook-form, and Zod",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "main": "./dist/cjs/index.cjs",
11
+ "module": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "import": {
16
+ "types": "./dist/index.d.ts",
17
+ "default": "./dist/index.js"
18
+ },
19
+ "require": {
20
+ "types": "./dist/index.d.ts",
21
+ "default": "./dist/cjs/index.cjs"
22
+ }
23
+ },
24
+ "./components/Button": {
25
+ "import": {
26
+ "types": "./dist/components/Button/index.d.ts",
27
+ "default": "./dist/components/Button/Button.js"
28
+ },
29
+ "require": {
30
+ "types": "./dist/components/Button/index.d.ts",
31
+ "default": "./dist/cjs/components/Button/Button.cjs"
32
+ }
33
+ },
34
+ "./components/Form": {
35
+ "import": {
36
+ "types": "./dist/components/Form/index.d.ts",
37
+ "default": "./dist/components/Form/Form.js"
38
+ },
39
+ "require": {
40
+ "types": "./dist/components/Form/index.d.ts",
41
+ "default": "./dist/cjs/components/Form/Form.cjs"
42
+ }
43
+ },
44
+ "./hooks/useDebounce": {
45
+ "import": {
46
+ "types": "./dist/hooks/useDebounce.d.ts",
47
+ "default": "./dist/hooks/useDebounce.js"
48
+ },
49
+ "require": {
50
+ "types": "./dist/hooks/useDebounce.d.ts",
51
+ "default": "./dist/cjs/hooks/useDebounce.cjs"
52
+ }
53
+ },
54
+ "./hooks/useToggle": {
55
+ "import": {
56
+ "types": "./dist/hooks/useToggle.d.ts",
57
+ "default": "./dist/hooks/useToggle.js"
58
+ },
59
+ "require": {
60
+ "types": "./dist/hooks/useToggle.d.ts",
61
+ "default": "./dist/cjs/hooks/useToggle.cjs"
62
+ }
63
+ },
64
+ "./utils/cn": {
65
+ "import": {
66
+ "types": "./dist/utils/cn.d.ts",
67
+ "default": "./dist/utils/cn.js"
68
+ },
69
+ "require": {
70
+ "types": "./dist/utils/cn.d.ts",
71
+ "default": "./dist/cjs/utils/cn.cjs"
72
+ }
73
+ },
74
+ "./package.json": "./package.json",
75
+ "./components/Card": {
76
+ "import": {
77
+ "types": "./dist/components/Card/index.d.ts",
78
+ "default": "./dist/components/Card/index.js"
79
+ },
80
+ "require": {
81
+ "types": "./dist/components/Card/index.d.ts",
82
+ "default": "./dist/cjs/components/Card/index.cjs"
83
+ }
84
+ },
85
+ "./components/Badge": {
86
+ "import": {
87
+ "types": "./dist/components/Badge/index.d.ts",
88
+ "default": "./dist/components/Badge/index.js"
89
+ },
90
+ "require": {
91
+ "types": "./dist/components/Badge/index.d.ts",
92
+ "default": "./dist/cjs/components/Badge/index.cjs"
93
+ }
94
+ },
95
+ "./components/Avatar": {
96
+ "import": {
97
+ "types": "./dist/components/Avatar/index.d.ts",
98
+ "default": "./dist/components/Avatar/index.js"
99
+ },
100
+ "require": {
101
+ "types": "./dist/components/Avatar/index.d.ts",
102
+ "default": "./dist/cjs/components/Avatar/index.cjs"
103
+ }
104
+ },
105
+ "./components/DropdownMenu": {
106
+ "import": {
107
+ "types": "./dist/components/DropdownMenu/index.d.ts",
108
+ "default": "./dist/components/DropdownMenu/index.js"
109
+ },
110
+ "require": {
111
+ "types": "./dist/components/DropdownMenu/index.d.ts",
112
+ "default": "./dist/cjs/components/DropdownMenu/index.cjs"
113
+ }
114
+ },
115
+ "./components/Separator": {
116
+ "import": {
117
+ "types": "./dist/components/Separator/index.d.ts",
118
+ "default": "./dist/components/Separator/index.js"
119
+ },
120
+ "require": {
121
+ "types": "./dist/components/Separator/index.d.ts",
122
+ "default": "./dist/cjs/components/Separator/index.cjs"
123
+ }
124
+ },
125
+ "./components/Dialog": {
126
+ "import": {
127
+ "types": "./dist/components/Dialog/index.d.ts",
128
+ "default": "./dist/components/Dialog/index.js"
129
+ },
130
+ "require": {
131
+ "types": "./dist/components/Dialog/index.d.ts",
132
+ "default": "./dist/cjs/components/Dialog/index.cjs"
133
+ }
134
+ },
135
+ "./components/Popover": {
136
+ "import": {
137
+ "types": "./dist/components/Popover/index.d.ts",
138
+ "default": "./dist/components/Popover/index.js"
139
+ },
140
+ "require": {
141
+ "types": "./dist/components/Popover/index.d.ts",
142
+ "default": "./dist/cjs/components/Popover/index.cjs"
143
+ }
144
+ },
145
+ "./components/ScrollArea": {
146
+ "import": {
147
+ "types": "./dist/components/ScrollArea/index.d.ts",
148
+ "default": "./dist/components/ScrollArea/index.js"
149
+ },
150
+ "require": {
151
+ "types": "./dist/components/ScrollArea/index.d.ts",
152
+ "default": "./dist/cjs/components/ScrollArea/index.cjs"
153
+ }
154
+ },
155
+ "./components/Toggle": {
156
+ "import": {
157
+ "types": "./dist/components/Toggle/index.d.ts",
158
+ "default": "./dist/components/Toggle/index.js"
159
+ },
160
+ "require": {
161
+ "types": "./dist/components/Toggle/index.d.ts",
162
+ "default": "./dist/cjs/components/Toggle/index.cjs"
163
+ }
164
+ },
165
+ "./components/Table": {
166
+ "import": {
167
+ "types": "./dist/components/Table/index.d.ts",
168
+ "default": "./dist/components/Table/index.js"
169
+ },
170
+ "require": {
171
+ "types": "./dist/components/Table/index.d.ts",
172
+ "default": "./dist/cjs/components/Table/index.cjs"
173
+ }
174
+ },
175
+ "./components/Command": {
176
+ "import": {
177
+ "types": "./dist/components/Command/index.d.ts",
178
+ "default": "./dist/components/Command/index.js"
179
+ },
180
+ "require": {
181
+ "types": "./dist/components/Command/index.d.ts",
182
+ "default": "./dist/cjs/components/Command/index.cjs"
183
+ }
184
+ },
185
+ "./components/Calendar": {
186
+ "import": {
187
+ "types": "./dist/components/Calendar/index.d.ts",
188
+ "default": "./dist/components/Calendar/index.js"
189
+ },
190
+ "require": {
191
+ "types": "./dist/components/Calendar/index.d.ts",
192
+ "default": "./dist/cjs/components/Calendar/index.cjs"
193
+ }
194
+ },
195
+ "./components/Sonner": {
196
+ "import": {
197
+ "types": "./dist/components/Sonner/index.d.ts",
198
+ "default": "./dist/components/Sonner/index.js"
199
+ },
200
+ "require": {
201
+ "types": "./dist/components/Sonner/index.d.ts",
202
+ "default": "./dist/cjs/components/Sonner/index.cjs"
203
+ }
204
+ },
205
+ "./components/Toast": {
206
+ "import": {
207
+ "types": "./dist/components/Toast/index.d.ts",
208
+ "default": "./dist/components/Toast/index.js"
209
+ },
210
+ "require": {
211
+ "types": "./dist/components/Toast/index.d.ts",
212
+ "default": "./dist/cjs/components/Toast/index.cjs"
213
+ }
214
+ },
215
+ "./hooks/useToast": {
216
+ "import": {
217
+ "types": "./dist/hooks/useToast.d.ts",
218
+ "default": "./dist/hooks/useToast.js"
219
+ },
220
+ "require": {
221
+ "types": "./dist/hooks/useToast.d.ts",
222
+ "default": "./dist/cjs/hooks/useToast.cjs"
223
+ }
224
+ },
225
+ "./components/Checkbox": {
226
+ "import": {
227
+ "types": "./dist/components/Checkbox/Checkbox.d.ts",
228
+ "default": "./dist/components/Checkbox/Checkbox.js"
229
+ },
230
+ "require": {
231
+ "types": "./dist/components/Checkbox/Checkbox.d.ts",
232
+ "default": "./dist/cjs/components/Checkbox/Checkbox.cjs"
233
+ }
234
+ },
235
+ "./components/Tooltip": {
236
+ "import": {
237
+ "types": "./dist/components/Tooltip/index.d.ts",
238
+ "default": "./dist/components/Tooltip/index.js"
239
+ },
240
+ "require": {
241
+ "types": "./dist/components/Tooltip/index.d.ts",
242
+ "default": "./dist/cjs/components/Tooltip/index.cjs"
243
+ }
244
+ },
245
+ "./components/Skeleton": {
246
+ "import": {
247
+ "types": "./dist/components/Skeleton/index.d.ts",
248
+ "default": "./dist/components/Skeleton/index.js"
249
+ },
250
+ "require": {
251
+ "types": "./dist/components/Skeleton/index.d.ts",
252
+ "default": "./dist/cjs/components/Skeleton/index.cjs"
253
+ }
254
+ },
255
+ "./components/Accordion": {
256
+ "import": {
257
+ "types": "./dist/components/Accordion/index.d.ts",
258
+ "default": "./dist/components/Accordion/index.js"
259
+ },
260
+ "require": {
261
+ "types": "./dist/components/Accordion/index.d.ts",
262
+ "default": "./dist/cjs/components/Accordion/index.cjs"
263
+ }
264
+ },
265
+ "./components/Pagination": {
266
+ "import": {
267
+ "types": "./dist/components/Pagination/index.d.ts",
268
+ "default": "./dist/components/Pagination/index.js"
269
+ },
270
+ "require": {
271
+ "types": "./dist/components/Pagination/index.d.ts",
272
+ "default": "./dist/cjs/components/Pagination/index.cjs"
273
+ }
274
+ }
275
+ },
276
+ "typesVersions": {
277
+ "*": {
278
+ "components/Button": [
279
+ "./dist/components/Button/index.d.ts"
280
+ ],
281
+ "components/Form": [
282
+ "./dist/components/Form/index.d.ts"
283
+ ],
284
+ "hooks/useDebounce": [
285
+ "./dist/hooks/useDebounce.d.ts"
286
+ ],
287
+ "hooks/useToggle": [
288
+ "./dist/hooks/useToggle.d.ts"
289
+ ],
290
+ "utils/cn": [
291
+ "./dist/utils/cn.d.ts"
292
+ ],
293
+ "components/Card": [
294
+ "./dist/components/Card/index.d.ts"
295
+ ],
296
+ "components/Badge": [
297
+ "./dist/components/Badge/index.d.ts"
298
+ ],
299
+ "components/Avatar": [
300
+ "./dist/components/Avatar/index.d.ts"
301
+ ],
302
+ "components/DropdownMenu": [
303
+ "./dist/components/DropdownMenu/index.d.ts"
304
+ ],
305
+ "components/Separator": [
306
+ "./dist/components/Separator/index.d.ts"
307
+ ],
308
+ "components/Dialog": [
309
+ "./dist/components/Dialog/index.d.ts"
310
+ ],
311
+ "components/Popover": [
312
+ "./dist/components/Popover/index.d.ts"
313
+ ],
314
+ "components/ScrollArea": [
315
+ "./dist/components/ScrollArea/index.d.ts"
316
+ ],
317
+ "components/Toggle": [
318
+ "./dist/components/Toggle/index.d.ts"
319
+ ],
320
+ "components/Table": [
321
+ "./dist/components/Table/index.d.ts"
322
+ ],
323
+ "components/Command": [
324
+ "./dist/components/Command/index.d.ts"
325
+ ],
326
+ "components/Calendar": [
327
+ "./dist/components/Calendar/index.d.ts"
328
+ ],
329
+ "components/Sonner": [
330
+ "./dist/components/Sonner/index.d.ts"
331
+ ],
332
+ "components/Toast": [
333
+ "./dist/components/Toast/index.d.ts"
334
+ ],
335
+ "hooks/useToast": [
336
+ "./dist/hooks/useToast.d.ts"
337
+ ],
338
+ "components/Checkbox": [
339
+ "./dist/components/Checkbox/Checkbox.d.ts"
340
+ ],
341
+ "components/Tooltip": [
342
+ "./dist/components/Tooltip/index.d.ts"
343
+ ],
344
+ "components/Skeleton": [
345
+ "./dist/components/Skeleton/index.d.ts"
346
+ ],
347
+ "components/Accordion": [
348
+ "./dist/components/Accordion/index.d.ts"
349
+ ],
350
+ "components/Pagination": [
351
+ "./dist/components/Pagination/index.d.ts"
352
+ ]
353
+ }
354
+ },
355
+ "sideEffects": [
356
+ "**/*.css"
357
+ ],
358
+ "scripts": {
359
+ "dev": "vite",
360
+ "build": "tsc -b && vite build",
361
+ "build:lib": "vite build",
362
+ "lint": "eslint .",
363
+ "preview": "vite preview",
364
+ "prepublishOnly": "npm run build:lib",
365
+ "storybook": "storybook dev -p 6006",
366
+ "build-storybook": "storybook build",
367
+ "deploy": "npm publish --access public"
368
+ },
369
+ "peerDependencies": {
370
+ "@hookform/resolvers": "^5.0.0",
371
+ "@radix-ui/react-avatar": ">=1.0.0",
372
+ "@radix-ui/react-checkbox": ">=1.0.0",
373
+ "@radix-ui/react-dialog": ">=1.0.0",
374
+ "@radix-ui/react-dropdown-menu": ">=2.1.16",
375
+ "@radix-ui/react-label": ">=2.0.0",
376
+ "@radix-ui/react-popover": ">=1.0.0",
377
+ "@radix-ui/react-radio-group": ">=1.0.0",
378
+ "@radix-ui/react-scroll-area": ">=1.0.0",
379
+ "@radix-ui/react-select": ">=2.0.0",
380
+ "@radix-ui/react-separator": ">=1.0.0",
381
+ "@radix-ui/react-slot": ">=1.0.0",
382
+ "@radix-ui/react-switch": ">=1.0.0",
383
+ "@radix-ui/react-toast": ">=1.0.0",
384
+ "@radix-ui/react-toggle": ">=1.0.0",
385
+ "@radix-ui/react-tooltip": ">=1.0.0",
386
+ "@radix-ui/react-accordion": ">=1.0.0",
387
+ "class-variance-authority": ">=0.7.0",
388
+ "clsx": ">=2.0.0",
389
+ "cmdk": ">=1.0.0",
390
+ "date-fns": ">=3.0.0",
391
+ "lucide-react": ">=0.400.0",
392
+ "react": "^18.0.0 || ^19.0.0",
393
+ "react-day-picker": ">=8.0.0",
394
+ "react-dom": "^18.0.0 || ^19.0.0",
395
+ "react-hook-form": "^7.0.0",
396
+ "sonner": ">=1.0.0",
397
+ "tailwind-merge": ">=2.0.0",
398
+ "tailwindcss": "^3.0.0 || ^4.0.0",
399
+ "zod": "^3.0.0 || ^4.0.0"
400
+ },
401
+ "peerDependenciesMeta": {
402
+ "zod": {
403
+ "optional": false
404
+ },
405
+ "react-hook-form": {
406
+ "optional": false
407
+ },
408
+ "@hookform/resolvers": {
409
+ "optional": false
410
+ }
411
+ },
412
+ "devDependencies": {
413
+ "@chromatic-com/storybook": "^5.2.1",
414
+ "@eslint/js": "^9.39.4",
415
+ "@hookform/resolvers": "^5.4.0",
416
+ "@radix-ui/react-avatar": "^1.2.0",
417
+ "@radix-ui/react-checkbox": "^1.3.5",
418
+ "@radix-ui/react-dialog": "^1.1.17",
419
+ "@radix-ui/react-dropdown-menu": "2.1.18",
420
+ "@radix-ui/react-label": "^2.1.10",
421
+ "@radix-ui/react-popover": "^1.1.17",
422
+ "@radix-ui/react-radio-group": "^1.4.1",
423
+ "@radix-ui/react-scroll-area": "^1.2.12",
424
+ "@radix-ui/react-select": "^2.3.1",
425
+ "@radix-ui/react-separator": "^1.1.10",
426
+ "@radix-ui/react-slot": "^1.3.0",
427
+ "@radix-ui/react-switch": "^1.3.1",
428
+ "@radix-ui/react-toast": "^1.2.17",
429
+ "@radix-ui/react-toggle": "^1.1.12",
430
+ "@radix-ui/react-tooltip": "^1.2.10",
431
+ "@radix-ui/react-accordion": "^1.2.14",
432
+ "@storybook/addon-a11y": "^10.4.6",
433
+ "@storybook/addon-docs": "^10.4.6",
434
+ "@storybook/addon-onboarding": "^10.4.6",
435
+ "@storybook/addon-vitest": "^10.4.6",
436
+ "@storybook/react-vite": "^10.4.6",
437
+ "@tailwindcss/vite": "^4.3.1",
438
+ "@types/glob": "^9.0.0",
439
+ "@types/node": "^25.9.3",
440
+ "@types/react": "^19.2.17",
441
+ "@types/react-dom": "^19.2.3",
442
+ "@vitejs/plugin-react-swc": "^4.3.1",
443
+ "@vitest/browser-playwright": "^4.1.9",
444
+ "@vitest/coverage-v8": "^4.1.9",
445
+ "class-variance-authority": "^0.7.1",
446
+ "clsx": "^2.1.1",
447
+ "cmdk": "^1.1.1",
448
+ "date-fns": "^4.4.0",
449
+ "esbuild": "^0.28.1",
450
+ "eslint": "^9.39.4",
451
+ "eslint-plugin-react-hooks": "^7.1.1",
452
+ "eslint-plugin-react-refresh": "^0.5.3",
453
+ "eslint-plugin-storybook": "^10.4.6",
454
+ "glob": "^13.0.6",
455
+ "globals": "^17.6.0",
456
+ "lucide-react": "^1.20.0",
457
+ "playwright": "^1.61.0",
458
+ "react": "^19.2.7",
459
+ "react-day-picker": "^10.0.1",
460
+ "react-dom": "^19.2.7",
461
+ "react-hook-form": "^7.79.0",
462
+ "sonner": "^2.0.7",
463
+ "storybook": "^10.4.6",
464
+ "tailwind-merge": "^3.6.0",
465
+ "tailwindcss": "^4.3.1",
466
+ "typescript": "~5.9.3",
467
+ "typescript-eslint": "^8.61.1",
468
+ "vite": "^8.0.16",
469
+ "vite-plugin-checker": "^0.14.3",
470
+ "vite-plugin-dts": "^5.0.2",
471
+ "vite-plugin-eslint": "^1.8.1",
472
+ "vite-plugin-eslint2": "^5.1.0",
473
+ "vite-tsconfig-paths": "^6.1.1",
474
+ "vitest": "^4.1.9",
475
+ "zod": "^4.4.3"
476
+ },
477
+ "repository": {
478
+ "type": "git",
479
+ "url": "git+https://github.com/skybin-tech/nebula-ui.git"
480
+ },
481
+ "keywords": [
482
+ "react",
483
+ "components",
484
+ "ui",
485
+ "library",
486
+ "form",
487
+ "validation",
488
+ "zod",
489
+ "react-hook-form",
490
+ "typescript",
491
+ "tailwindcss"
492
+ ],
493
+ "license": "MIT",
494
+ "dependencies": {
495
+ "@radix-ui/react-tabs": "^1.1.15"
496
+ }
497
+ }