@me1a/ui 2.1.6 → 2.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-5ZMFQLBF.esm.js +2 -0
- package/dist/chunk-5ZMFQLBF.esm.js.map +1 -0
- package/dist/{chunk-TKRGIWLE.cjs.js → chunk-ELZV2CGE.cjs.js} +2 -2
- package/dist/{chunk-TKRGIWLE.cjs.js.map → chunk-ELZV2CGE.cjs.js.map} +1 -1
- package/dist/chunk-IXYLGKQT.cjs.js +2 -0
- package/dist/chunk-IXYLGKQT.cjs.js.map +1 -0
- package/dist/{chunk-6EETNYKI.esm.js → chunk-PEQ3VT44.esm.js} +2 -2
- package/dist/{chunk-6EETNYKI.esm.js.map → chunk-PEQ3VT44.esm.js.map} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/molecules.cjs.js +1 -1
- package/dist/molecules.d.mts +1 -1
- package/dist/molecules.d.ts +1 -1
- package/dist/molecules.esm.js +1 -1
- package/dist/organisms.cjs.js +1 -1
- package/dist/organisms.d.mts +142 -0
- package/dist/organisms.d.ts +142 -0
- package/dist/organisms.esm.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-F2K3NFCW.cjs.js +0 -2
- package/dist/chunk-F2K3NFCW.cjs.js.map +0 -1
- package/dist/chunk-LEUTYD7G.esm.js +0 -2
- package/dist/chunk-LEUTYD7G.esm.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/molecules/card/card.tsx","../src/components/molecules/navigation-menu/navigation-menu.variants.ts","../src/components/molecules/navigation-menu/navigation-menu.tsx"],"names":["Card","className","props","ref","jsx","cn","CardHeader","CardTitle","CardDescription","CardContent","CardFooter","navigationMenuTriggerStyle","cva","NavigationMenu","s","children","jsxs","NavigationMenuViewport","NavigationMenuList","NavigationMenuItem","NavigationMenuTrigger","variant","ChevronDown","NavigationMenuContent","NavigationMenuLink","Navig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CAAA,CAAA,IAAA,CAE7CP,CAA+B,CAAAH,CAAA,CAAA,UAAA,CAGnC,CAAC,CAAE,SAAA,CAAAb,CAAW,CAAA,GAAGC,CAAM,CAAA,CAAGC,MAC1BC,GAAC,CAAA,KAAA,CAAA,CAAI,SAAWC,CAAAA,CAAAA,CAAG,8CAA8C,CAAA,CAC/D,SAAAD,GAAyB,CAAA,CAAA,CAAA,QAAA,CAAxB,CACC,SAAWC,CAAAA,CAAAA,CACT,wVACAJ,CACF,CAAA,CACA,GAAKE,CAAAA,GAAAA,CACJ,GAAGD,CAAAA,CACN,EACF,CACD,EACDe,CAAuB,CAAA,WAAA,CAAsC,CAAS,CAAA,QAAA,CAAA,WAAA,KAEhEQ,CAAgC,CAAAX,CAAA,CAAA,UAAA,CAGpC,CAAC,CAAE,SAAAb,CAAAA,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,GAC1BC,GAAAA,GAAAA,CAAyB,CAAxB,CAAA,SAAA,CAAA,CACC,IAAKD,GACL,CAAA,SAAA,CAAWE,CACT,CAAA,8LAAA,CACAJ,CACF,CAAA,CACC,GAAGC,CAEJ,CAAA,QAAA,CAAAE,GAAC,CAAA,KAAA,CAAA,CAAI,SAAU,CAAA,wEAAA,CAAyE,EAC1F,CACD,EACDqB,CAAwB,CAAA,WAAA,CAAsC,CAAU,CAAA,SAAA,CAAA,WAAA","file":"chunk-6EETNYKI.esm.js","sourcesContent":["/**\n * Card is a flexible container component that can be used to group related content and actions.\n * It provides a consistent visual style with a subtle border, shadow, and rounded corners.\n *\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\n/**\n * The main card container component.\n * Provides the base styling for the card including border, shadow, and rounded corners.\n * * @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-card--docs\n *\n * @example\n * ```tsx\n * // Basic card\n * <Card>\n * <CardHeader>\n * <CardTitle>Card Title</CardTitle>\n * <CardDescription>Card Description</CardDescription>\n * </CardHeader>\n * <CardContent>\n * <p>Card content goes here.</p>\n * </CardContent>\n * <CardFooter>\n * <Button>Action</Button>\n * </CardFooter>\n * </Card>\n *\n * // Card with custom styling\n * <Card className=\"bg-primary text-primary-foreground\">\n * <CardHeader>\n * <CardTitle>Custom Styled Card</CardTitle>\n * </CardHeader>\n * <CardContent>\n * <p>This card has custom background and text colors.</p>\n * </CardContent>\n * </Card>\n * ```\n */\nconst Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"rounded-lg border bg-card text-card-foreground shadow-sm\", className)}\n {...props}\n />\n )\n)\nCard.displayName = \"Card\"\n\n/**\n * Header section of the card.\n * Typically contains the card title and description.\n * Includes padding and spacing for consistent layout.\n */\nconst CardHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"flex flex-col space-y-1.5 p-6\", className)} {...props} />\n )\n)\nCardHeader.displayName = \"CardHeader\"\n\n/**\n * Title component for the card.\n * Should be used within CardHeader.\n * Provides consistent typography styling for card titles.\n */\nconst CardTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\"text-2xl font-semibold leading-none tracking-tight\", className)}\n {...props}\n />\n )\n)\nCardTitle.displayName = \"CardTitle\"\n\n/**\n * Description component for the card.\n * Should be used within CardHeader.\n * Provides consistent typography styling for card descriptions.\n */\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p ref={ref} className={cn(\"text-sm text-muted-foreground\", className)} {...props} />\n))\nCardDescription.displayName = \"CardDescription\"\n\n/**\n * Main content section of the card.\n * Includes padding and removes top padding to maintain consistent spacing with the header.\n */\nconst CardContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6 pt-0\", className)} {...props} />\n )\n)\nCardContent.displayName = \"CardContent\"\n\n/**\n * Footer section of the card.\n * Typically contains action buttons or additional information.\n * Includes padding and removes top padding to maintain consistent spacing with the content.\n */\nconst CardFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"flex items-center p-6 pt-0\", className)} {...props} />\n )\n)\nCardFooter.displayName = \"CardFooter\"\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n","import { cva } from \"class-variance-authority\"\n\nexport const navigationMenuTriggerStyle = cva(\n \"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50\",\n {\n variants: {\n variant: {\n default: \"text-foreground\",\n ghost: \"hover:bg-transparent hover:underline\",\n link: \"text-primary underline-offset-4 hover:underline\",\n mobile: \"w-full justify-between border-b border-border py-4 text-base font-medium\"\n }\n },\n defaultVariants: {\n variant: \"default\"\n }\n }\n)\n","import * as React from \"react\"\nimport * as NavigationMenuPrimitive from \"@radix-ui/react-navigation-menu\"\nimport { ChevronDown } from \"lucide-react\"\nimport { cn } from \"@/utils/index\"\nimport { navigationMenuTriggerStyle } from \"./navigation-menu.variants\"\nimport type {\n NavigationMenuProps,\n NavigationMenuListProps,\n NavigationMenuItemProps,\n NavigationMenuTriggerProps,\n NavigationMenuContentProps,\n NavigationMenuLinkProps,\n NavigationMenuViewportProps,\n NavigationMenuIndicatorProps\n} from \"./navigation-menu.types\"\n\n/**\n * NavigationMenu component for creating accessible navigation menus with dropdowns.\n * Built on top of Radix UI's NavigationMenu primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs\n *\n * @example\n * ```tsx\n * <NavigationMenu>\n * <NavigationMenuList>\n * <NavigationMenuItem>\n * <NavigationMenuTrigger>Getting Started</NavigationMenuTrigger>\n * <NavigationMenuContent>\n * <ul className=\"grid gap-3 p-4 md:w-[400px] lg:w-[500px]\">\n * <li className=\"row-span-3\">\n * <NavigationMenuLink asChild>\n * <a className=\"flex h-full w-full select-none flex-col justify-end rounded-md bg-gradient-to-b from-muted/50 to-muted p-6 no-underline outline-none focus:shadow-md\">\n * <div className=\"mb-2 mt-4 text-lg font-medium\">shadcn/ui</div>\n * <p className=\"text-sm leading-tight text-muted-foreground\">\n * Beautifully designed components built with Radix UI and Tailwind CSS.\n * </p>\n * </a>\n * </NavigationMenuLink>\n * </li>\n * </ul>\n * </NavigationMenuContent>\n * </NavigationMenuItem>\n * </NavigationMenuList>\n * </NavigationMenu>\n * ```\n */\nconst NavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n NavigationMenuProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn(\"relative z-10 flex max-w-max flex-1 items-center justify-center\", className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n))\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName\n\nconst NavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n NavigationMenuListProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn(\"group flex flex-1 list-none items-center justify-center space-x-1\", className)}\n {...props}\n />\n))\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n NavigationMenuTriggerProps\n>(({ className, children, variant, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle({ variant }), className)}\n {...props}\n >\n {children}{\" \"}\n <ChevronDown\n className=\"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n))\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName\n\nconst NavigationMenuContent = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n NavigationMenuContentProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n \"left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto\",\n className\n )}\n {...props}\n />\n))\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n NavigationMenuViewportProps\n>(({ className, ...props }, ref) => (\n <div className={cn(\"absolute left-0 top-full flex justify-center\")}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n \"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]\",\n className\n )}\n ref={ref}\n {...props}\n />\n </div>\n))\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n NavigationMenuIndicatorProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n \"top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in\",\n className\n )}\n {...props}\n >\n <div className=\"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n))\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName\n\nexport {\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/components/molecules/card/card.tsx","../src/components/molecules/navigation-menu/navigation-menu.variants.ts","../src/components/molecules/navigation-menu/navigation-menu.tsx"],"names":["Card","className","props","ref","jsx","cn","CardHeader","CardTitle","CardDescription","CardContent","CardFooter","navigationMenuTriggerStyle","cva","NavigationMenu","s","children","jsxs","NavigationMenuViewport","NavigationMenuList","NavigationMenuItem","NavigationMenuTrigger","variant","ChevronDown","NavigationMenuContent","NavigationMenuLink","NavigationMenuIndicator"],"mappings":"6OAwCMA,IAAAA,CAAAA,CAAa,CACjB,CAAA,UAAA,CAAA,CAAC,CAAE,SAAA,CAAAC,EAAW,GAAGC,CAAM,CAAGC,CAAAA,GAAAA,GACxBC,GAAC,CAAA,KAAA,CAAA,CACC,IAAKD,GACL,CAAA,SAAA,CAAWE,CAAG,CAAA,0DAAA,CAA4DJ,CAAS,CAAA,CAClF,GAAGC,CACN,CAAA,CAEJ,EACAF,CAAK,CAAA,WAAA,CAAc,OAObM,IAAAA,CAAAA,CAAmB,CACvB,CAAA,UAAA,CAAA,CAAC,CAAE,SAAA,CAAAL,EAAW,GAAGC,CAAM,CAAGC,CAAAA,GAAAA,GACxBC,GAAC,CAAA,KAAA,CAAA,CAAI,IAAKD,GAAK,CAAA,S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C,CAAC,CAAE,SAAAb,CAAAA,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,GAC1BC,GAAAA,GAAAA,CAAyB,CAAxB,CAAA,SAAA,CAAA,CACC,IAAKD,GACL,CAAA,SAAA,CAAWE,CACT,CAAA,8LAAA,CACAJ,CACF,CAAA,CACC,GAAGC,CAEJ,CAAA,QAAA,CAAAE,GAAC,CAAA,KAAA,CAAA,CAAI,SAAU,CAAA,wEAAA,CAAyE,EAC1F,CACD,EACDqB,CAAwB,CAAA,WAAA,CAAsC,CAAU,CAAA,SAAA,CAAA,WAAA","file":"chunk-PEQ3VT44.esm.js","sourcesContent":["/**\n * Card is a flexible container component that can be used to group related content and actions.\n * It provides a consistent visual style with a subtle border, shadow, and rounded corners.\n *\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\n/**\n * The main card container component.\n * Provides the base styling for the card including border, shadow, and rounded corners.\n * * @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-card--docs\n *\n * @example\n * ```tsx\n * // Basic card\n * <Card>\n * <CardHeader>\n * <CardTitle>Card Title</CardTitle>\n * <CardDescription>Card Description</CardDescription>\n * </CardHeader>\n * <CardContent>\n * <p>Card content goes here.</p>\n * </CardContent>\n * <CardFooter>\n * <Button>Action</Button>\n * </CardFooter>\n * </Card>\n *\n * // Card with custom styling\n * <Card className=\"bg-primary text-primary-foreground\">\n * <CardHeader>\n * <CardTitle>Custom Styled Card</CardTitle>\n * </CardHeader>\n * <CardContent>\n * <p>This card has custom background and text colors.</p>\n * </CardContent>\n * </Card>\n * ```\n */\nconst Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"rounded-lg border bg-card text-card-foreground shadow-sm\", className)}\n {...props}\n />\n )\n)\nCard.displayName = \"Card\"\n\n/**\n * Header section of the card.\n * Typically contains the card title and description.\n * Includes padding and spacing for consistent layout.\n */\nconst CardHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"flex flex-col space-y-1.5 p-6\", className)} {...props} />\n )\n)\nCardHeader.displayName = \"CardHeader\"\n\n/**\n * Title component for the card.\n * Should be used within CardHeader.\n * Provides consistent typography styling for card titles.\n */\nconst CardTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\"text-2xl font-semibold leading-none tracking-tight\", className)}\n {...props}\n />\n )\n)\nCardTitle.displayName = \"CardTitle\"\n\n/**\n * Description component for the card.\n * Should be used within CardHeader.\n * Provides consistent typography styling for card descriptions.\n */\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p ref={ref} className={cn(\"text-sm text-muted-foreground\", className)} {...props} />\n))\nCardDescription.displayName = \"CardDescription\"\n\n/**\n * Main content section of the card.\n * Includes padding and removes top padding to maintain consistent spacing with the header.\n */\nconst CardContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6 pt-0\", className)} {...props} />\n )\n)\nCardContent.displayName = \"CardContent\"\n\n/**\n * Footer section of the card.\n * Typically contains action buttons or additional information.\n * Includes padding and removes top padding to maintain consistent spacing with the content.\n */\nconst CardFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"flex items-center p-6 pt-0\", className)} {...props} />\n )\n)\nCardFooter.displayName = \"CardFooter\"\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n","import { cva } from \"class-variance-authority\"\n\nexport const navigationMenuTriggerStyle = cva(\n \"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50\",\n {\n variants: {\n variant: {\n default: \"text-foreground\",\n ghost: \"hover:bg-transparent hover:underline\",\n link: \"text-primary underline-offset-4 hover:underline\",\n mobile: \"w-full justify-between border-b border-border py-4 text-base font-medium\"\n }\n },\n defaultVariants: {\n variant: \"default\"\n }\n }\n)\n","import * as React from \"react\"\nimport * as NavigationMenuPrimitive from \"@radix-ui/react-navigation-menu\"\nimport { ChevronDown } from \"lucide-react\"\nimport { cn } from \"@/utils/index\"\nimport { navigationMenuTriggerStyle } from \"./navigation-menu.variants\"\nimport type {\n NavigationMenuProps,\n NavigationMenuListProps,\n NavigationMenuItemProps,\n NavigationMenuTriggerProps,\n NavigationMenuContentProps,\n NavigationMenuLinkProps,\n NavigationMenuViewportProps,\n NavigationMenuIndicatorProps\n} from \"./navigation-menu.types\"\n\n/**\n * NavigationMenu component for creating accessible navigation menus with dropdowns.\n * Built on top of Radix UI's NavigationMenu primitive.\n *\n * @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs\n *\n * @example\n * ```\n * <NavigationMenu>\n * <NavigationMenuList>\n * <NavigationMenuItem>\n * <NavigationMenuTrigger>Getting Started</NavigationMenuTrigger>\n * <NavigationMenuContent>\n * <ul className=\"grid gap-3 p-4 md:w-[400px] lg:w-[500px]\">\n * <li className=\"row-span-3\">\n * <NavigationMenuLink asChild>\n * <a className=\"flex h-full w-full select-none flex-col justify-end rounded-md bg-gradient-to-b from-muted/50 to-muted p-6 no-underline outline-none focus:shadow-md\">\n * <div className=\"mb-2 mt-4 text-lg font-medium\">shadcn/ui</div>\n * <p className=\"text-sm leading-tight text-muted-foreground\">\n * Beautifully designed components built with Radix UI and Tailwind CSS.\n * </p>\n * </a>\n * </NavigationMenuLink>\n * </li>\n * </ul>\n * </NavigationMenuContent>\n * </NavigationMenuItem>\n * </NavigationMenuList>\n * </NavigationMenu>\n * ```\n */\nconst NavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n NavigationMenuProps\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn(\"relative z-10 flex max-w-max flex-1 items-center justify-center\", className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n))\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName\n\nconst NavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n NavigationMenuListProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn(\"group flex flex-1 list-none items-center justify-center space-x-1\", className)}\n {...props}\n />\n))\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n NavigationMenuTriggerProps\n>(({ className, children, variant, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle({ variant }), className)}\n {...props}\n >\n {children}{\" \"}\n <ChevronDown\n className=\"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n))\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName\n\nconst NavigationMenuContent = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n NavigationMenuContentProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n \"left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto\",\n className\n )}\n {...props}\n />\n))\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n NavigationMenuViewportProps\n>(({ className, ...props }, ref) => (\n <div className={cn(\"absolute left-0 top-full flex justify-center\")}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n \"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]\",\n className\n )}\n ref={ref}\n {...props}\n />\n </div>\n))\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n NavigationMenuIndicatorProps\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n \"top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in\",\n className\n )}\n {...props}\n >\n <div className=\"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n))\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName\n\nexport {\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport\n}\n"]}
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';require('./chunk-MVWMLXLL.cjs.js');var chunkOZY26HWB_cjs_js=require('./chunk-OZY26HWB.cjs.js'),chunkWJNYKJP6_cjs_js=require('./chunk-WJNYKJP6.cjs.js'),chunkTKRGIWLE_cjs_js=require('./chunk-TKRGIWLE.cjs.js'),chunkUAZIJGWR_cjs_js=require('./chunk-UAZIJGWR.cjs.js'),chunkF2K3NFCW_cjs_js=require('./chunk-F2K3NFCW.cjs.js'),chunkKOYJODOP_cjs_js=require('./chunk-KOYJODOP.cjs.js'),chunkC4ZAMI2P_cjs_js=require('./chunk-C4ZAMI2P.cjs.js'),chunkBR7Z6MCL_cjs_js=require('./chunk-BR7Z6MCL.cjs.js'),chunkSL2ZUI4G_cjs_js=require('./chunk-SL2ZUI4G.cjs.js');Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.o}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.q}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.p}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.s}});Object.defineProperty(exports,"Box",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.c}});Object.defineProperty(exports,"Container",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.e}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.h}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.j}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.n}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.l}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.k}});Object.defineProperty(exports,"DialogOverlay",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.i}});Object.defineProperty(exports,"DialogPortal",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.g}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.m}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.f}});Object.defineProperty(exports,"PageLoader",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.v}});Object.defineProperty(exports,"Stack",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.d}});Object.defineProperty(exports,"TextField",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.a}});Object.defineProperty(exports,"Toast",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.y}});Object.defineProperty(exports,"ToastAction",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.z}});Object.defineProperty(exports,"ToastClose",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.A}});Object.defineProperty(exports,"ToastDescription",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.C}});Object.defineProperty(exports,"ToastProvider",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.w}});Object.defineProperty(exports,"ToastTitle",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.B}});Object.defineProperty(exports,"ToastViewport",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.x}});Object.defineProperty(exports,"Toaster",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.D}});Object.defineProperty(exports,"Typography",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.u}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.r}});Object.defineProperty(exports,"typographyVariants",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.t}});Object.defineProperty(exports,"reducer",{enumerable:true,get:function(){return chunkWJNYKJP6_cjs_js.a}});Object.defineProperty(exports,"toast",{enumerable:true,get:function(){return chunkWJNYKJP6_cjs_js.b}});Object.defineProperty(exports,"useToast",{enumerable:true,get:function(){return chunkWJNYKJP6_cjs_js.c}});Object.defineProperty(exports,"Card",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.a}});Object.defineProperty(exports,"CardContent",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.e}});Object.defineProperty(exports,"CardDescription",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.d}});Object.defineProperty(exports,"CardFooter",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.f}});Object.defineProperty(exports,"CardHeader",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.b}});Object.defineProperty(exports,"CardTitle",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.c}});Object.defineProperty(exports,"NavigationMenu",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.g}});Object.defineProperty(exports,"NavigationMenuContent",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.k}});Object.defineProperty(exports,"NavigationMenuIndicator",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.n}});Object.defineProperty(exports,"NavigationMenuItem",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.i}});Object.defineProperty(exports,"NavigationMenuLink",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.l}});Object.defineProperty(exports,"NavigationMenuList",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.h}});Object.defineProperty(exports,"NavigationMenuTrigger",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.j}});Object.defineProperty(exports,"NavigationMenuViewport",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.m}});Object.defineProperty(exports,"Label",{enumerable:true,get:function(){return chunkUAZIJGWR_cjs_js.a}});Object.defineProperty(exports,"Drawer",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.a}});Object.defineProperty(exports,"DrawerClose",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.d}});Object.defineProperty(exports,"DrawerContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.f}});Object.defineProperty(exports,"DrawerDescription",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.j}});Object.defineProperty(exports,"DrawerFooter",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.h}});Object.defineProperty(exports,"DrawerHeader",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.g}});Object.defineProperty(exports,"DrawerOverlay",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.e}});Object.defineProperty(exports,"DrawerPortal",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.c}});Object.defineProperty(exports,"DrawerTitle",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.i}});Object.defineProperty(exports,"DrawerTrigger",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.b}});Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.J}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.T}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.R}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.L}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.S}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.V}});Object.defineProperty(exports,"DropdownMenuPortal",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.M}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.O}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.U}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.W}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.X}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.N}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.Q}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.P}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.K}});Object.defineProperty(exports,"Sidebar",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.m}});Object.defineProperty(exports,"SidebarContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.u}});Object.defineProperty(exports,"SidebarFooter",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.s}});Object.defineProperty(exports,"SidebarGroup",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.v}});Object.defineProperty(exports,"SidebarGroupAction",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.x}});Object.defineProperty(exports,"SidebarGroupContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.y}});Object.defineProperty(exports,"SidebarGroupLabel",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.w}});Object.defineProperty(exports,"SidebarHeader",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.r}});Object.defineProperty(exports,"SidebarInput",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.q}});Object.defineProperty(exports,"SidebarInset",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.p}});Object.defineProperty(exports,"SidebarMenu",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.z}});Object.defineProperty(exports,"SidebarMenuAction",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.D}});Object.defineProperty(exports,"SidebarMenuBadge",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.E}});Object.defineProperty(exports,"SidebarMenuButton",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.C}});Object.defineProperty(exports,"SidebarMenuItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.A}});Object.defineProperty(exports,"SidebarMenuSkeleton",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.F}});Object.defineProperty(exports,"SidebarMenuSub",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.G}});Object.defineProperty(exports,"SidebarMenuSubButton",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.I}});Object.defineProperty(exports,"SidebarMenuSubItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.H}});Object.defineProperty(exports,"SidebarProvider",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.l}});Object.defineProperty(exports,"SidebarRail",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.o}});Object.defineProperty(exports,"SidebarSeparator",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.t}});Object.defineProperty(exports,"SidebarTrigger",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.n}});Object.defineProperty(exports,"sidebarMenuButtonVariants",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.B}});Object.defineProperty(exports,"useSidebar",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.k}});Object.defineProperty(exports,"useIsMobile",{enumerable:true,get:function(){return chunkKOYJODOP_cjs_js.a}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.b}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.c}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.d}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.f}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.i}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.m}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.k}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.j}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.h}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.g}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.l}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.e}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.n}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.p}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.r}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.o}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.q}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkBR7Z6MCL_cjs_js.a}});Object.defineProperty(exports,"cn",{enumerable:true,get:function(){return chunkSL2ZUI4G_cjs_js.a}});//# sourceMappingURL=index.cjs.js.map
|
|
1
|
+
'use strict';require('./chunk-MVWMLXLL.cjs.js');var chunkOZY26HWB_cjs_js=require('./chunk-OZY26HWB.cjs.js'),chunkWJNYKJP6_cjs_js=require('./chunk-WJNYKJP6.cjs.js'),chunkELZV2CGE_cjs_js=require('./chunk-ELZV2CGE.cjs.js'),chunkUAZIJGWR_cjs_js=require('./chunk-UAZIJGWR.cjs.js'),chunkIXYLGKQT_cjs_js=require('./chunk-IXYLGKQT.cjs.js'),chunkKOYJODOP_cjs_js=require('./chunk-KOYJODOP.cjs.js'),chunkC4ZAMI2P_cjs_js=require('./chunk-C4ZAMI2P.cjs.js'),chunkBR7Z6MCL_cjs_js=require('./chunk-BR7Z6MCL.cjs.js'),chunkSL2ZUI4G_cjs_js=require('./chunk-SL2ZUI4G.cjs.js');Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.o}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.q}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.p}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.s}});Object.defineProperty(exports,"Box",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.c}});Object.defineProperty(exports,"Container",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.e}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.h}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.j}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.n}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.l}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.k}});Object.defineProperty(exports,"DialogOverlay",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.i}});Object.defineProperty(exports,"DialogPortal",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.g}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.m}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.f}});Object.defineProperty(exports,"PageLoader",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.v}});Object.defineProperty(exports,"Stack",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.d}});Object.defineProperty(exports,"TextField",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.a}});Object.defineProperty(exports,"Toast",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.y}});Object.defineProperty(exports,"ToastAction",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.z}});Object.defineProperty(exports,"ToastClose",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.A}});Object.defineProperty(exports,"ToastDescription",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.C}});Object.defineProperty(exports,"ToastProvider",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.w}});Object.defineProperty(exports,"ToastTitle",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.B}});Object.defineProperty(exports,"ToastViewport",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.x}});Object.defineProperty(exports,"Toaster",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.D}});Object.defineProperty(exports,"Typography",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.u}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.r}});Object.defineProperty(exports,"typographyVariants",{enumerable:true,get:function(){return chunkOZY26HWB_cjs_js.t}});Object.defineProperty(exports,"reducer",{enumerable:true,get:function(){return chunkWJNYKJP6_cjs_js.a}});Object.defineProperty(exports,"toast",{enumerable:true,get:function(){return chunkWJNYKJP6_cjs_js.b}});Object.defineProperty(exports,"useToast",{enumerable:true,get:function(){return chunkWJNYKJP6_cjs_js.c}});Object.defineProperty(exports,"Card",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.a}});Object.defineProperty(exports,"CardContent",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.e}});Object.defineProperty(exports,"CardDescription",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.d}});Object.defineProperty(exports,"CardFooter",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.f}});Object.defineProperty(exports,"CardHeader",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.b}});Object.defineProperty(exports,"CardTitle",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.c}});Object.defineProperty(exports,"NavigationMenu",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.g}});Object.defineProperty(exports,"NavigationMenuContent",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.k}});Object.defineProperty(exports,"NavigationMenuIndicator",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.n}});Object.defineProperty(exports,"NavigationMenuItem",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.i}});Object.defineProperty(exports,"NavigationMenuLink",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.l}});Object.defineProperty(exports,"NavigationMenuList",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.h}});Object.defineProperty(exports,"NavigationMenuTrigger",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.j}});Object.defineProperty(exports,"NavigationMenuViewport",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.m}});Object.defineProperty(exports,"Label",{enumerable:true,get:function(){return chunkUAZIJGWR_cjs_js.a}});Object.defineProperty(exports,"Drawer",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.a}});Object.defineProperty(exports,"DrawerClose",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.d}});Object.defineProperty(exports,"DrawerContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.f}});Object.defineProperty(exports,"DrawerDescription",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.j}});Object.defineProperty(exports,"DrawerFooter",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.h}});Object.defineProperty(exports,"DrawerHeader",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.g}});Object.defineProperty(exports,"DrawerOverlay",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.e}});Object.defineProperty(exports,"DrawerPortal",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.c}});Object.defineProperty(exports,"DrawerTitle",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.i}});Object.defineProperty(exports,"DrawerTrigger",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.b}});Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.J}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.T}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.R}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.L}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.S}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.V}});Object.defineProperty(exports,"DropdownMenuPortal",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.M}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.O}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.U}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.W}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.X}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.N}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.Q}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.P}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.K}});Object.defineProperty(exports,"Sidebar",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.m}});Object.defineProperty(exports,"SidebarContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.u}});Object.defineProperty(exports,"SidebarFooter",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.s}});Object.defineProperty(exports,"SidebarGroup",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.v}});Object.defineProperty(exports,"SidebarGroupAction",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.x}});Object.defineProperty(exports,"SidebarGroupContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.y}});Object.defineProperty(exports,"SidebarGroupLabel",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.w}});Object.defineProperty(exports,"SidebarHeader",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.r}});Object.defineProperty(exports,"SidebarInput",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.q}});Object.defineProperty(exports,"SidebarInset",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.p}});Object.defineProperty(exports,"SidebarMenu",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.z}});Object.defineProperty(exports,"SidebarMenuAction",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.D}});Object.defineProperty(exports,"SidebarMenuBadge",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.E}});Object.defineProperty(exports,"SidebarMenuButton",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.C}});Object.defineProperty(exports,"SidebarMenuItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.A}});Object.defineProperty(exports,"SidebarMenuSkeleton",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.F}});Object.defineProperty(exports,"SidebarMenuSub",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.G}});Object.defineProperty(exports,"SidebarMenuSubButton",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.I}});Object.defineProperty(exports,"SidebarMenuSubItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.H}});Object.defineProperty(exports,"SidebarProvider",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.l}});Object.defineProperty(exports,"SidebarRail",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.o}});Object.defineProperty(exports,"SidebarSeparator",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.t}});Object.defineProperty(exports,"SidebarTrigger",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.n}});Object.defineProperty(exports,"sidebarMenuButtonVariants",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.B}});Object.defineProperty(exports,"useSidebar",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.k}});Object.defineProperty(exports,"useIsMobile",{enumerable:true,get:function(){return chunkKOYJODOP_cjs_js.a}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.b}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.c}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.d}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.f}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.i}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.m}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.k}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.j}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.h}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.g}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.l}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.e}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.n}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.p}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.r}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.o}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.q}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunkC4ZAMI2P_cjs_js.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkBR7Z6MCL_cjs_js.a}});Object.defineProperty(exports,"cn",{enumerable:true,get:function(){return chunkSL2ZUI4G_cjs_js.a}});//# sourceMappingURL=index.cjs.js.map
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import'./chunk-U4NMIMU7.esm.js';export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,y as Toast,z as ToastAction,A as ToastClose,C as ToastDescription,w as ToastProvider,B as ToastTitle,x as ToastViewport,D as Toaster,u as Typography,r as badgeVariants,t as typographyVariants}from'./chunk-LCAU4YZI.esm.js';export{a as reducer,b as toast,c as useToast}from'./chunk-JKTYFZ5M.esm.js';export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,g as NavigationMenu,k as NavigationMenuContent,n as NavigationMenuIndicator,i as NavigationMenuItem,l as NavigationMenuLink,h as NavigationMenuList,j as NavigationMenuTrigger,m as NavigationMenuViewport}from'./chunk-
|
|
1
|
+
import'./chunk-U4NMIMU7.esm.js';export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,y as Toast,z as ToastAction,A as ToastClose,C as ToastDescription,w as ToastProvider,B as ToastTitle,x as ToastViewport,D as Toaster,u as Typography,r as badgeVariants,t as typographyVariants}from'./chunk-LCAU4YZI.esm.js';export{a as reducer,b as toast,c as useToast}from'./chunk-JKTYFZ5M.esm.js';export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,g as NavigationMenu,k as NavigationMenuContent,n as NavigationMenuIndicator,i as NavigationMenuItem,l as NavigationMenuLink,h as NavigationMenuList,j as NavigationMenuTrigger,m as NavigationMenuViewport}from'./chunk-PEQ3VT44.esm.js';export{a as Label}from'./chunk-7NN2L46N.esm.js';export{a as Drawer,d as DrawerClose,f as DrawerContent,j as DrawerDescription,h as DrawerFooter,g as DrawerHeader,e as DrawerOverlay,c as DrawerPortal,i as DrawerTitle,b as DrawerTrigger,J as DropdownMenu,T as DropdownMenuCheckboxItem,R as DropdownMenuContent,L as DropdownMenuGroup,S as DropdownMenuItem,V as DropdownMenuLabel,M as DropdownMenuPortal,O as DropdownMenuRadioGroup,U as DropdownMenuRadioItem,W as DropdownMenuSeparator,X as DropdownMenuShortcut,N as DropdownMenuSub,Q as DropdownMenuSubContent,P as DropdownMenuSubTrigger,K as DropdownMenuTrigger,m as Sidebar,u as SidebarContent,s as SidebarFooter,v as SidebarGroup,x as SidebarGroupAction,y as SidebarGroupContent,w as SidebarGroupLabel,r as SidebarHeader,q as SidebarInput,p as SidebarInset,z as SidebarMenu,D as SidebarMenuAction,E as SidebarMenuBadge,C as SidebarMenuButton,A as SidebarMenuItem,F as SidebarMenuSkeleton,G as SidebarMenuSub,I as SidebarMenuSubButton,H as SidebarMenuSubItem,l as SidebarProvider,o as SidebarRail,t as SidebarSeparator,n as SidebarTrigger,B as sidebarMenuButtonVariants,k as useSidebar}from'./chunk-5ZMFQLBF.esm.js';export{a as useIsMobile}from'./chunk-M4S5YZ56.esm.js';export{b as Button,c as Separator,d as Sheet,f as SheetClose,i as SheetContent,m as SheetDescription,k as SheetFooter,j as SheetHeader,h as SheetOverlay,g as SheetPortal,l as SheetTitle,e as SheetTrigger,n as Skeleton,p as Tooltip,r as TooltipContent,o as TooltipProvider,q as TooltipTrigger,a as buttonVariants}from'./chunk-3HTFCAYW.esm.js';export{a as Input}from'./chunk-EBPUGBUT.esm.js';export{a as cn}from'./chunk-C26U3FL4.esm.js';//# sourceMappingURL=index.esm.js.map
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/molecules.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkELZV2CGE_cjs_js=require('./chunk-ELZV2CGE.cjs.js');require('./chunk-SL2ZUI4G.cjs.js');Object.defineProperty(exports,"Card",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.a}});Object.defineProperty(exports,"CardContent",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.e}});Object.defineProperty(exports,"CardDescription",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.d}});Object.defineProperty(exports,"CardFooter",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.f}});Object.defineProperty(exports,"CardHeader",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.b}});Object.defineProperty(exports,"CardTitle",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.c}});Object.defineProperty(exports,"NavigationMenu",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.g}});Object.defineProperty(exports,"NavigationMenuContent",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.k}});Object.defineProperty(exports,"NavigationMenuIndicator",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.n}});Object.defineProperty(exports,"NavigationMenuItem",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.i}});Object.defineProperty(exports,"NavigationMenuLink",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.l}});Object.defineProperty(exports,"NavigationMenuList",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.h}});Object.defineProperty(exports,"NavigationMenuTrigger",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.j}});Object.defineProperty(exports,"NavigationMenuViewport",{enumerable:true,get:function(){return chunkELZV2CGE_cjs_js.m}});//# sourceMappingURL=molecules.cjs.js.map
|
|
2
2
|
//# sourceMappingURL=molecules.cjs.js.map
|
package/dist/molecules.d.mts
CHANGED
|
@@ -136,7 +136,7 @@ interface NavigationMenuIndicatorProps extends React.ComponentPropsWithoutRef<ty
|
|
|
136
136
|
* @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
|
-
* ```
|
|
139
|
+
* ```
|
|
140
140
|
* <NavigationMenu>
|
|
141
141
|
* <NavigationMenuList>
|
|
142
142
|
* <NavigationMenuItem>
|
package/dist/molecules.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ interface NavigationMenuIndicatorProps extends React.ComponentPropsWithoutRef<ty
|
|
|
136
136
|
* @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
|
-
* ```
|
|
139
|
+
* ```
|
|
140
140
|
* <NavigationMenu>
|
|
141
141
|
* <NavigationMenuList>
|
|
142
142
|
* <NavigationMenuItem>
|
package/dist/molecules.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,g as NavigationMenu,k as NavigationMenuContent,n as NavigationMenuIndicator,i as NavigationMenuItem,l as NavigationMenuLink,h as NavigationMenuList,j as NavigationMenuTrigger,m as NavigationMenuViewport}from'./chunk-
|
|
1
|
+
export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,g as NavigationMenu,k as NavigationMenuContent,n as NavigationMenuIndicator,i as NavigationMenuItem,l as NavigationMenuLink,h as NavigationMenuList,j as NavigationMenuTrigger,m as NavigationMenuViewport}from'./chunk-PEQ3VT44.esm.js';import'./chunk-C26U3FL4.esm.js';//# sourceMappingURL=molecules.esm.js.map
|
|
2
2
|
//# sourceMappingURL=molecules.esm.js.map
|
package/dist/organisms.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkIXYLGKQT_cjs_js=require('./chunk-IXYLGKQT.cjs.js');require('./chunk-KOYJODOP.cjs.js'),require('./chunk-C4ZAMI2P.cjs.js'),require('./chunk-BR7Z6MCL.cjs.js'),require('./chunk-SL2ZUI4G.cjs.js');Object.defineProperty(exports,"Drawer",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.a}});Object.defineProperty(exports,"DrawerClose",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.d}});Object.defineProperty(exports,"DrawerContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.f}});Object.defineProperty(exports,"DrawerDescription",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.j}});Object.defineProperty(exports,"DrawerFooter",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.h}});Object.defineProperty(exports,"DrawerHeader",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.g}});Object.defineProperty(exports,"DrawerOverlay",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.e}});Object.defineProperty(exports,"DrawerPortal",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.c}});Object.defineProperty(exports,"DrawerTitle",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.i}});Object.defineProperty(exports,"DrawerTrigger",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.b}});Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.J}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.T}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.R}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.L}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.S}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.V}});Object.defineProperty(exports,"DropdownMenuPortal",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.M}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.O}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.U}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.W}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.X}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.N}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.Q}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.P}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.K}});Object.defineProperty(exports,"Sidebar",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.m}});Object.defineProperty(exports,"SidebarContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.u}});Object.defineProperty(exports,"SidebarFooter",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.s}});Object.defineProperty(exports,"SidebarGroup",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.v}});Object.defineProperty(exports,"SidebarGroupAction",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.x}});Object.defineProperty(exports,"SidebarGroupContent",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.y}});Object.defineProperty(exports,"SidebarGroupLabel",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.w}});Object.defineProperty(exports,"SidebarHeader",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.r}});Object.defineProperty(exports,"SidebarInput",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.q}});Object.defineProperty(exports,"SidebarInset",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.p}});Object.defineProperty(exports,"SidebarMenu",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.z}});Object.defineProperty(exports,"SidebarMenuAction",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.D}});Object.defineProperty(exports,"SidebarMenuBadge",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.E}});Object.defineProperty(exports,"SidebarMenuButton",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.C}});Object.defineProperty(exports,"SidebarMenuItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.A}});Object.defineProperty(exports,"SidebarMenuSkeleton",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.F}});Object.defineProperty(exports,"SidebarMenuSub",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.G}});Object.defineProperty(exports,"SidebarMenuSubButton",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.I}});Object.defineProperty(exports,"SidebarMenuSubItem",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.H}});Object.defineProperty(exports,"SidebarProvider",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.l}});Object.defineProperty(exports,"SidebarRail",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.o}});Object.defineProperty(exports,"SidebarSeparator",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.t}});Object.defineProperty(exports,"SidebarTrigger",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.n}});Object.defineProperty(exports,"sidebarMenuButtonVariants",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.B}});Object.defineProperty(exports,"useSidebar",{enumerable:true,get:function(){return chunkIXYLGKQT_cjs_js.k}});//# sourceMappingURL=organisms.cjs.js.map
|
|
2
2
|
//# sourceMappingURL=organisms.cjs.js.map
|
package/dist/organisms.d.mts
CHANGED
|
@@ -157,46 +157,188 @@ declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React
|
|
|
157
157
|
isActive?: boolean;
|
|
158
158
|
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
159
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Context props for the Sidebar component that manages its state and behavior.
|
|
162
|
+
* This context provides the necessary state and methods to control the sidebar's
|
|
163
|
+
* expansion, collapse, and mobile responsiveness.
|
|
164
|
+
*
|
|
165
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
166
|
+
*/
|
|
160
167
|
type SidebarContextProps = {
|
|
168
|
+
/** Current state of the sidebar - either expanded or collapsed */
|
|
161
169
|
state: "expanded" | "collapsed";
|
|
170
|
+
/** Whether the sidebar is currently open */
|
|
162
171
|
open: boolean;
|
|
172
|
+
/** Function to control the sidebar's open state */
|
|
163
173
|
setOpen: (open: boolean) => void;
|
|
174
|
+
/** Whether the mobile sidebar is currently open */
|
|
164
175
|
openMobile: boolean;
|
|
176
|
+
/** Function to control the mobile sidebar's open state */
|
|
165
177
|
setOpenMobile: (open: boolean) => void;
|
|
178
|
+
/** Whether the sidebar is being viewed on a mobile device */
|
|
166
179
|
isMobile: boolean;
|
|
180
|
+
/** Function to toggle the sidebar's state */
|
|
167
181
|
toggleSidebar: () => void;
|
|
168
182
|
};
|
|
183
|
+
/**
|
|
184
|
+
* Props for the main Sidebar component.
|
|
185
|
+
* Extends the base div props and adds sidebar-specific configuration options.
|
|
186
|
+
*
|
|
187
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* ```tsx
|
|
191
|
+
* <Sidebar
|
|
192
|
+
* side="left"
|
|
193
|
+
* variant="sidebar"
|
|
194
|
+
* collapsible="icon"
|
|
195
|
+
* >
|
|
196
|
+
* <SidebarContent>...</SidebarContent>
|
|
197
|
+
* </Sidebar>
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
169
200
|
type SidebarProps = React$1.ComponentProps<"div"> & {
|
|
201
|
+
/** Position of the sidebar relative to the main content */
|
|
170
202
|
side?: "left" | "right";
|
|
203
|
+
/** Visual style variant of the sidebar */
|
|
171
204
|
variant?: "sidebar" | "floating" | "inset";
|
|
205
|
+
/** Collapse behavior of the sidebar */
|
|
172
206
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
173
207
|
};
|
|
208
|
+
/**
|
|
209
|
+
* Props for the SidebarProvider component that manages sidebar state.
|
|
210
|
+
* Provides controlled and uncontrolled state management options.
|
|
211
|
+
*
|
|
212
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* ```tsx
|
|
216
|
+
* <SidebarProvider defaultOpen={true}>
|
|
217
|
+
* <Sidebar>...</Sidebar>
|
|
218
|
+
* </SidebarProvider>
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
174
221
|
type SidebarProviderProps = React$1.ComponentProps<"div"> & {
|
|
222
|
+
/** Initial open state for uncontrolled usage */
|
|
175
223
|
defaultOpen?: boolean;
|
|
224
|
+
/** Controlled open state */
|
|
176
225
|
open?: boolean;
|
|
226
|
+
/** Callback when open state changes */
|
|
177
227
|
onOpenChange?: (open: boolean) => void;
|
|
178
228
|
};
|
|
229
|
+
/**
|
|
230
|
+
* Props for the SidebarMenuButton component.
|
|
231
|
+
* Extends button props with additional styling and behavior options.
|
|
232
|
+
*
|
|
233
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* ```tsx
|
|
237
|
+
* <SidebarMenuButton
|
|
238
|
+
* isActive={true}
|
|
239
|
+
* tooltip="Dashboard"
|
|
240
|
+
* >
|
|
241
|
+
* <DashboardIcon />
|
|
242
|
+
* </SidebarMenuButton>
|
|
243
|
+
* ```
|
|
244
|
+
*/
|
|
179
245
|
type SidebarMenuButtonProps = React$1.ComponentProps<"button"> & {
|
|
246
|
+
/** Whether to render as a child component */
|
|
180
247
|
asChild?: boolean;
|
|
248
|
+
/** Whether the button is currently active */
|
|
181
249
|
isActive?: boolean;
|
|
250
|
+
/** Tooltip content or configuration */
|
|
182
251
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
183
252
|
} & VariantProps<typeof sidebarMenuButtonVariants>;
|
|
253
|
+
/**
|
|
254
|
+
* Props for the SidebarMenuAction component.
|
|
255
|
+
* Used for action buttons within the sidebar menu.
|
|
256
|
+
*
|
|
257
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* ```tsx
|
|
261
|
+
* <SidebarMenuAction showOnHover>
|
|
262
|
+
* <PlusIcon />
|
|
263
|
+
* </SidebarMenuAction>
|
|
264
|
+
* ```
|
|
265
|
+
*/
|
|
184
266
|
type SidebarMenuActionProps = React$1.ComponentProps<"button"> & {
|
|
267
|
+
/** Whether to render as a child component */
|
|
185
268
|
asChild?: boolean;
|
|
269
|
+
/** Whether to only show the action on hover */
|
|
186
270
|
showOnHover?: boolean;
|
|
187
271
|
};
|
|
272
|
+
/**
|
|
273
|
+
* Props for the SidebarMenuSubButton component.
|
|
274
|
+
* Used for secondary navigation items within the sidebar.
|
|
275
|
+
*
|
|
276
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
277
|
+
*
|
|
278
|
+
* @example
|
|
279
|
+
* ```tsx
|
|
280
|
+
* <SidebarMenuSubButton
|
|
281
|
+
* size="sm"
|
|
282
|
+
* isActive={true}
|
|
283
|
+
* href="/settings/profile"
|
|
284
|
+
* >
|
|
285
|
+
* Profile Settings
|
|
286
|
+
* </SidebarMenuSubButton>
|
|
287
|
+
* ```
|
|
288
|
+
*/
|
|
188
289
|
type SidebarMenuSubButtonProps = React$1.ComponentProps<"a"> & {
|
|
290
|
+
/** Whether to render as a child component */
|
|
189
291
|
asChild?: boolean;
|
|
292
|
+
/** Size variant of the sub-button */
|
|
190
293
|
size?: "sm" | "md";
|
|
294
|
+
/** Whether the sub-button is currently active */
|
|
191
295
|
isActive?: boolean;
|
|
192
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Props for the SidebarMenuSkeleton component.
|
|
299
|
+
* Used to show loading states in the sidebar menu.
|
|
300
|
+
*
|
|
301
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
302
|
+
*
|
|
303
|
+
* @example
|
|
304
|
+
* ```tsx
|
|
305
|
+
* <SidebarMenuSkeleton showIcon />
|
|
306
|
+
* ```
|
|
307
|
+
*/
|
|
193
308
|
type SidebarMenuSkeletonProps = React$1.ComponentProps<"div"> & {
|
|
309
|
+
/** Whether to show an icon skeleton */
|
|
194
310
|
showIcon?: boolean;
|
|
195
311
|
};
|
|
312
|
+
/**
|
|
313
|
+
* Props for the SidebarGroupLabel component.
|
|
314
|
+
* Used to display section labels within the sidebar.
|
|
315
|
+
*
|
|
316
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
317
|
+
*
|
|
318
|
+
* @example
|
|
319
|
+
* ```tsx
|
|
320
|
+
* <SidebarGroupLabel>Navigation</SidebarGroupLabel>
|
|
321
|
+
* ```
|
|
322
|
+
*/
|
|
196
323
|
type SidebarGroupLabelProps = React$1.ComponentProps<"div"> & {
|
|
324
|
+
/** Whether to render as a child component */
|
|
197
325
|
asChild?: boolean;
|
|
198
326
|
};
|
|
327
|
+
/**
|
|
328
|
+
* Props for the SidebarGroupAction component.
|
|
329
|
+
* Used for action buttons within sidebar groups.
|
|
330
|
+
*
|
|
331
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
332
|
+
*
|
|
333
|
+
* @example
|
|
334
|
+
* ```tsx
|
|
335
|
+
* <SidebarGroupAction>
|
|
336
|
+
* <SettingsIcon />
|
|
337
|
+
* </SidebarGroupAction>
|
|
338
|
+
* ```
|
|
339
|
+
*/
|
|
199
340
|
type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
|
|
341
|
+
/** Whether to render as a child component */
|
|
200
342
|
asChild?: boolean;
|
|
201
343
|
};
|
|
202
344
|
|
package/dist/organisms.d.ts
CHANGED
|
@@ -157,46 +157,188 @@ declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React
|
|
|
157
157
|
isActive?: boolean;
|
|
158
158
|
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
159
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Context props for the Sidebar component that manages its state and behavior.
|
|
162
|
+
* This context provides the necessary state and methods to control the sidebar's
|
|
163
|
+
* expansion, collapse, and mobile responsiveness.
|
|
164
|
+
*
|
|
165
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
166
|
+
*/
|
|
160
167
|
type SidebarContextProps = {
|
|
168
|
+
/** Current state of the sidebar - either expanded or collapsed */
|
|
161
169
|
state: "expanded" | "collapsed";
|
|
170
|
+
/** Whether the sidebar is currently open */
|
|
162
171
|
open: boolean;
|
|
172
|
+
/** Function to control the sidebar's open state */
|
|
163
173
|
setOpen: (open: boolean) => void;
|
|
174
|
+
/** Whether the mobile sidebar is currently open */
|
|
164
175
|
openMobile: boolean;
|
|
176
|
+
/** Function to control the mobile sidebar's open state */
|
|
165
177
|
setOpenMobile: (open: boolean) => void;
|
|
178
|
+
/** Whether the sidebar is being viewed on a mobile device */
|
|
166
179
|
isMobile: boolean;
|
|
180
|
+
/** Function to toggle the sidebar's state */
|
|
167
181
|
toggleSidebar: () => void;
|
|
168
182
|
};
|
|
183
|
+
/**
|
|
184
|
+
* Props for the main Sidebar component.
|
|
185
|
+
* Extends the base div props and adds sidebar-specific configuration options.
|
|
186
|
+
*
|
|
187
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* ```tsx
|
|
191
|
+
* <Sidebar
|
|
192
|
+
* side="left"
|
|
193
|
+
* variant="sidebar"
|
|
194
|
+
* collapsible="icon"
|
|
195
|
+
* >
|
|
196
|
+
* <SidebarContent>...</SidebarContent>
|
|
197
|
+
* </Sidebar>
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
169
200
|
type SidebarProps = React$1.ComponentProps<"div"> & {
|
|
201
|
+
/** Position of the sidebar relative to the main content */
|
|
170
202
|
side?: "left" | "right";
|
|
203
|
+
/** Visual style variant of the sidebar */
|
|
171
204
|
variant?: "sidebar" | "floating" | "inset";
|
|
205
|
+
/** Collapse behavior of the sidebar */
|
|
172
206
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
173
207
|
};
|
|
208
|
+
/**
|
|
209
|
+
* Props for the SidebarProvider component that manages sidebar state.
|
|
210
|
+
* Provides controlled and uncontrolled state management options.
|
|
211
|
+
*
|
|
212
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* ```tsx
|
|
216
|
+
* <SidebarProvider defaultOpen={true}>
|
|
217
|
+
* <Sidebar>...</Sidebar>
|
|
218
|
+
* </SidebarProvider>
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
174
221
|
type SidebarProviderProps = React$1.ComponentProps<"div"> & {
|
|
222
|
+
/** Initial open state for uncontrolled usage */
|
|
175
223
|
defaultOpen?: boolean;
|
|
224
|
+
/** Controlled open state */
|
|
176
225
|
open?: boolean;
|
|
226
|
+
/** Callback when open state changes */
|
|
177
227
|
onOpenChange?: (open: boolean) => void;
|
|
178
228
|
};
|
|
229
|
+
/**
|
|
230
|
+
* Props for the SidebarMenuButton component.
|
|
231
|
+
* Extends button props with additional styling and behavior options.
|
|
232
|
+
*
|
|
233
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* ```tsx
|
|
237
|
+
* <SidebarMenuButton
|
|
238
|
+
* isActive={true}
|
|
239
|
+
* tooltip="Dashboard"
|
|
240
|
+
* >
|
|
241
|
+
* <DashboardIcon />
|
|
242
|
+
* </SidebarMenuButton>
|
|
243
|
+
* ```
|
|
244
|
+
*/
|
|
179
245
|
type SidebarMenuButtonProps = React$1.ComponentProps<"button"> & {
|
|
246
|
+
/** Whether to render as a child component */
|
|
180
247
|
asChild?: boolean;
|
|
248
|
+
/** Whether the button is currently active */
|
|
181
249
|
isActive?: boolean;
|
|
250
|
+
/** Tooltip content or configuration */
|
|
182
251
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
183
252
|
} & VariantProps<typeof sidebarMenuButtonVariants>;
|
|
253
|
+
/**
|
|
254
|
+
* Props for the SidebarMenuAction component.
|
|
255
|
+
* Used for action buttons within the sidebar menu.
|
|
256
|
+
*
|
|
257
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* ```tsx
|
|
261
|
+
* <SidebarMenuAction showOnHover>
|
|
262
|
+
* <PlusIcon />
|
|
263
|
+
* </SidebarMenuAction>
|
|
264
|
+
* ```
|
|
265
|
+
*/
|
|
184
266
|
type SidebarMenuActionProps = React$1.ComponentProps<"button"> & {
|
|
267
|
+
/** Whether to render as a child component */
|
|
185
268
|
asChild?: boolean;
|
|
269
|
+
/** Whether to only show the action on hover */
|
|
186
270
|
showOnHover?: boolean;
|
|
187
271
|
};
|
|
272
|
+
/**
|
|
273
|
+
* Props for the SidebarMenuSubButton component.
|
|
274
|
+
* Used for secondary navigation items within the sidebar.
|
|
275
|
+
*
|
|
276
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
277
|
+
*
|
|
278
|
+
* @example
|
|
279
|
+
* ```tsx
|
|
280
|
+
* <SidebarMenuSubButton
|
|
281
|
+
* size="sm"
|
|
282
|
+
* isActive={true}
|
|
283
|
+
* href="/settings/profile"
|
|
284
|
+
* >
|
|
285
|
+
* Profile Settings
|
|
286
|
+
* </SidebarMenuSubButton>
|
|
287
|
+
* ```
|
|
288
|
+
*/
|
|
188
289
|
type SidebarMenuSubButtonProps = React$1.ComponentProps<"a"> & {
|
|
290
|
+
/** Whether to render as a child component */
|
|
189
291
|
asChild?: boolean;
|
|
292
|
+
/** Size variant of the sub-button */
|
|
190
293
|
size?: "sm" | "md";
|
|
294
|
+
/** Whether the sub-button is currently active */
|
|
191
295
|
isActive?: boolean;
|
|
192
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Props for the SidebarMenuSkeleton component.
|
|
299
|
+
* Used to show loading states in the sidebar menu.
|
|
300
|
+
*
|
|
301
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
302
|
+
*
|
|
303
|
+
* @example
|
|
304
|
+
* ```tsx
|
|
305
|
+
* <SidebarMenuSkeleton showIcon />
|
|
306
|
+
* ```
|
|
307
|
+
*/
|
|
193
308
|
type SidebarMenuSkeletonProps = React$1.ComponentProps<"div"> & {
|
|
309
|
+
/** Whether to show an icon skeleton */
|
|
194
310
|
showIcon?: boolean;
|
|
195
311
|
};
|
|
312
|
+
/**
|
|
313
|
+
* Props for the SidebarGroupLabel component.
|
|
314
|
+
* Used to display section labels within the sidebar.
|
|
315
|
+
*
|
|
316
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
317
|
+
*
|
|
318
|
+
* @example
|
|
319
|
+
* ```tsx
|
|
320
|
+
* <SidebarGroupLabel>Navigation</SidebarGroupLabel>
|
|
321
|
+
* ```
|
|
322
|
+
*/
|
|
196
323
|
type SidebarGroupLabelProps = React$1.ComponentProps<"div"> & {
|
|
324
|
+
/** Whether to render as a child component */
|
|
197
325
|
asChild?: boolean;
|
|
198
326
|
};
|
|
327
|
+
/**
|
|
328
|
+
* Props for the SidebarGroupAction component.
|
|
329
|
+
* Used for action buttons within sidebar groups.
|
|
330
|
+
*
|
|
331
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
332
|
+
*
|
|
333
|
+
* @example
|
|
334
|
+
* ```tsx
|
|
335
|
+
* <SidebarGroupAction>
|
|
336
|
+
* <SettingsIcon />
|
|
337
|
+
* </SidebarGroupAction>
|
|
338
|
+
* ```
|
|
339
|
+
*/
|
|
199
340
|
type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
|
|
341
|
+
/** Whether to render as a child component */
|
|
200
342
|
asChild?: boolean;
|
|
201
343
|
};
|
|
202
344
|
|
package/dist/organisms.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as Drawer,d as DrawerClose,f as DrawerContent,j as DrawerDescription,h as DrawerFooter,g as DrawerHeader,e as DrawerOverlay,c as DrawerPortal,i as DrawerTitle,b as DrawerTrigger,J as DropdownMenu,T as DropdownMenuCheckboxItem,R as DropdownMenuContent,L as DropdownMenuGroup,S as DropdownMenuItem,V as DropdownMenuLabel,M as DropdownMenuPortal,O as DropdownMenuRadioGroup,U as DropdownMenuRadioItem,W as DropdownMenuSeparator,X as DropdownMenuShortcut,N as DropdownMenuSub,Q as DropdownMenuSubContent,P as DropdownMenuSubTrigger,K as DropdownMenuTrigger,m as Sidebar,u as SidebarContent,s as SidebarFooter,v as SidebarGroup,x as SidebarGroupAction,y as SidebarGroupContent,w as SidebarGroupLabel,r as SidebarHeader,q as SidebarInput,p as SidebarInset,z as SidebarMenu,D as SidebarMenuAction,E as SidebarMenuBadge,C as SidebarMenuButton,A as SidebarMenuItem,F as SidebarMenuSkeleton,G as SidebarMenuSub,I as SidebarMenuSubButton,H as SidebarMenuSubItem,l as SidebarProvider,o as SidebarRail,t as SidebarSeparator,n as SidebarTrigger,B as sidebarMenuButtonVariants,k as useSidebar}from'./chunk-
|
|
1
|
+
export{a as Drawer,d as DrawerClose,f as DrawerContent,j as DrawerDescription,h as DrawerFooter,g as DrawerHeader,e as DrawerOverlay,c as DrawerPortal,i as DrawerTitle,b as DrawerTrigger,J as DropdownMenu,T as DropdownMenuCheckboxItem,R as DropdownMenuContent,L as DropdownMenuGroup,S as DropdownMenuItem,V as DropdownMenuLabel,M as DropdownMenuPortal,O as DropdownMenuRadioGroup,U as DropdownMenuRadioItem,W as DropdownMenuSeparator,X as DropdownMenuShortcut,N as DropdownMenuSub,Q as DropdownMenuSubContent,P as DropdownMenuSubTrigger,K as DropdownMenuTrigger,m as Sidebar,u as SidebarContent,s as SidebarFooter,v as SidebarGroup,x as SidebarGroupAction,y as SidebarGroupContent,w as SidebarGroupLabel,r as SidebarHeader,q as SidebarInput,p as SidebarInset,z as SidebarMenu,D as SidebarMenuAction,E as SidebarMenuBadge,C as SidebarMenuButton,A as SidebarMenuItem,F as SidebarMenuSkeleton,G as SidebarMenuSub,I as SidebarMenuSubButton,H as SidebarMenuSubItem,l as SidebarProvider,o as SidebarRail,t as SidebarSeparator,n as SidebarTrigger,B as sidebarMenuButtonVariants,k as useSidebar}from'./chunk-5ZMFQLBF.esm.js';import'./chunk-M4S5YZ56.esm.js';import'./chunk-3HTFCAYW.esm.js';import'./chunk-EBPUGBUT.esm.js';import'./chunk-C26U3FL4.esm.js';//# sourceMappingURL=organisms.esm.js.map
|
|
2
2
|
//# sourceMappingURL=organisms.esm.js.map
|