New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mbao01/common

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mbao01/common - npm Package Compare versions

Comparing version 0.0.41 to 0.0.42

2

dist/types/components/Accordion/Accordion.d.ts

@@ -0,4 +1,4 @@

import { AccordionProps } from './types';
import * as React from "react";
import * as AccordionPrimitive from "@radix-ui/react-accordion";
import type { AccordionProps } from "./types";
declare const Accordion: {

@@ -5,0 +5,0 @@ (props: AccordionProps): import("react/jsx-runtime").JSX.Element;

@@ -1,3 +0,3 @@

export declare const getAccordionItemClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getAccordionTriggerClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getAccordionContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getAccordionItemClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getAccordionTriggerClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getAccordionContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Accordion } from "./Accordion";
export { Accordion } from './Accordion';

@@ -1,2 +0,1 @@

/// <reference types="react" />
import * as AccordionPrimitive from "@radix-ui/react-accordion";

@@ -3,0 +2,0 @@ export type AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;

@@ -1,2 +0,2 @@

import type { AlertDescriptionProps, AlertTitleProps, AlertProps } from "./types";
import { AlertDescriptionProps, AlertProps, AlertTitleProps } from './types';
declare const Alert: {

@@ -3,0 +3,0 @@ ({ variant, outline, className, ...props }: AlertProps): import("react/jsx-runtime").JSX.Element;

export declare const getAlertClasses: (props?: ({
variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
outline?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Alert } from "./Alert";
export { Alert } from './Alert';

@@ -1,6 +0,5 @@

/// <reference types="react" />
import { type VariantProps } from "../../libs";
import { getAlertClasses } from "./constants";
import { VariantProps } from '../../libs';
import { getAlertClasses } from './constants';
export type AlertProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getAlertClasses>;
export type AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
export type AlertDescriptionProps = React.HTMLAttributes<HTMLDivElement>;

@@ -0,4 +1,4 @@

import { AlertDialogFooterProps, AlertDialogHeaderProps, AlertDialogProps } from './types';
import * as React from "react";
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
import type { AlertDialogFooterProps, AlertDialogHeaderProps, AlertDialogProps } from "./types";
declare const AlertDialog: {

@@ -25,5 +25,5 @@ (props: AlertDialogProps): import("react/jsx-runtime").JSX.Element;

variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
isLoading?: boolean | undefined;

@@ -33,5 +33,5 @@ } & React.RefAttributes<HTMLButtonElement>>;

variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
isLoading?: boolean | undefined;

@@ -38,0 +38,0 @@ } & React.RefAttributes<HTMLButtonElement>>;

@@ -1,1 +0,1 @@

export declare const getDialogCloseClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDialogCloseClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { AlertDialog } from "./AlertDialog";
export { AlertDialog } from './AlertDialog';

@@ -1,6 +0,5 @@

/// <reference types="react" />
import { VariantProps } from '../../libs';
import { getButtonClasses } from '../Button/constants';
import { getDialogContentClasses, getDialogDescriptionClasses, getDialogFooterClasses, getDialogHeaderClasses, getDialogOverlayClasses, getDialogTitleClasses } from '../Dialog/constants';
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
import { type VariantProps } from "../../libs";
import { getDialogContentClasses, getDialogDescriptionClasses, getDialogFooterClasses, getDialogHeaderClasses, getDialogOverlayClasses, getDialogTitleClasses } from "../Dialog/constants";
import { getButtonClasses } from "../Button/constants";
export type AlertDialogProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Root>;

@@ -7,0 +6,0 @@ export type AlertDialogOverlayProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay> & VariantProps<typeof getDialogOverlayClasses>;

@@ -1,2 +0,2 @@

import { type AnchorProps } from "./types";
import { AnchorProps } from './types';
export declare const Anchor: ({ href, hover, variant, children, className, underline, isExternal, ...props }: AnchorProps) => import("react/jsx-runtime").JSX.Element;

@@ -5,2 +5,2 @@ export declare const getAnchorClasses: (props?: ({

underline?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Anchor } from "./Anchor";
export { Anchor } from './Anchor';

@@ -1,6 +0,5 @@

/// <reference types="react" />
import { VariantProps } from "../../libs";
import { getAnchorClasses } from "./constant";
import { VariantProps } from '../../libs';
import { getAnchorClasses } from './constant';
export type AnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
isExternal?: boolean;
} & VariantProps<typeof getAnchorClasses>;

@@ -1,2 +0,2 @@

import type { AvatarProps, AvatarImageProps, AvatarFallbackProps } from "./types";
import { AvatarFallbackProps, AvatarImageProps, AvatarProps } from './types';
declare const Avatar: {

@@ -3,0 +3,0 @@ ({ className, size, status, ...props }: AvatarProps): import("react/jsx-runtime").JSX.Element;

export declare const getAvatarClasses: (props?: ({
size?: 16 | 4 | 8 | 12 | 24 | 32 | 48 | 64 | null | undefined;
status?: "online" | "offline" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getAvatarImageClasses: (props?: ({

@@ -9,3 +9,3 @@ variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;

ring?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getAvatarFallbackClasses: (props?: ({

@@ -16,2 +16,2 @@ size?: 16 | 4 | 8 | 12 | 24 | 32 | 48 | 64 | null | undefined;

ring?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Avatar } from "./Avatar";
export { Avatar } from './Avatar';

@@ -1,7 +0,6 @@

/// <reference types="react" />
import { VariantProps } from '../../libs';
import { getAvatarClasses, getAvatarFallbackClasses, getAvatarImageClasses } from './constants';
import * as AvatarPrimitive from "@radix-ui/react-avatar";
import { type VariantProps } from "../../libs";
import { getAvatarClasses, getAvatarFallbackClasses, getAvatarImageClasses } from "./constants";
export type AvatarProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, "asChild" | "size"> & VariantProps<typeof getAvatarClasses>;
export type AvatarImageProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>, "asChild"> & VariantProps<typeof getAvatarImageClasses>;
export type AvatarFallbackProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>, "asChild"> & VariantProps<typeof getAvatarFallbackClasses>;

@@ -1,2 +0,2 @@

import { type BadgeProps } from "./types";
import { BadgeProps } from './types';
export declare const Badge: ({ size, outline, rounded, variant, className, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;

@@ -6,2 +6,2 @@ export declare const getBadgeClasses: (props?: ({

rounded?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../libs";
import { getBadgeClasses } from "./constants";
import { VariantProps } from '../../libs';
import { getBadgeClasses } from './constants';
export type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof getBadgeClasses>;

@@ -1,3 +0,3 @@

import type { BreadcrumbProps, BreadcrumbsProps } from "./types";
import { BreadcrumbProps, BreadcrumbsProps } from './types';
export declare const Breadcrumbs: (props: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
export declare const Breadcrumb: (props: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,1 +0,1 @@

export { Breadcrumbs } from "./Breadcrumbs";
export { Breadcrumbs } from './Breadcrumbs';

@@ -1,3 +0,2 @@

/// <reference types="react" />
export type BreadcrumbProps = React.HTMLAttributes<HTMLLIElement>;
export type BreadcrumbsProps = React.HTMLAttributes<HTMLUListElement>;

@@ -1,11 +0,11 @@

import React from "react";
import { default as React } from 'react';
declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
isLoading?: boolean | undefined;
} & {
asChild?: boolean | undefined;
asChild?: boolean;
} & React.RefAttributes<HTMLButtonElement>>;
export { Button };

@@ -7,2 +7,2 @@ export declare const getButtonClasses: (props?: ({

isLoading?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Button } from "./Button";
export { Button } from './Button';

@@ -1,6 +0,6 @@

import { type VariantProps } from "../../libs";
import { type ButtonHTMLAttributes } from "react";
import { getButtonClasses } from "./constants";
import { ButtonHTMLAttributes } from 'react';
import { VariantProps } from '../../libs';
import { getButtonClasses } from './constants';
export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof getButtonClasses> & {
asChild?: boolean;
};

@@ -1,2 +0,2 @@

import { type CalendarProps } from "./types";
import { CalendarProps } from './types';
export declare const Calendar: {

@@ -3,0 +3,0 @@ ({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;

@@ -1,1 +0,1 @@

export { Calendar } from "./Calendar";
export { Calendar } from './Calendar';

@@ -1,3 +0,2 @@

/// <reference types="react" />
import { DayPicker } from "react-day-picker";
import { DayPicker } from 'react-day-picker';
export type CalendarProps = React.ComponentProps<typeof DayPicker>;

@@ -1,2 +0,2 @@

import type { CardActionsProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardImageProps, CardTitleProps, CardProps, CardBodyProps } from "./types";
import { CardActionsProps, CardBodyProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardImageProps, CardProps, CardTitleProps } from './types';
declare const Card: {

@@ -3,0 +3,0 @@ ({ compact, bordered, horizontal, overlay, className, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;

@@ -6,2 +6,2 @@ export declare const getCardClasses: (props?: ({

overlay?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export * from "./Card";
export * from './Card';

@@ -1,4 +0,4 @@

import React from "react";
import { type VariantProps } from "../../libs";
import { getCardClasses } from "./constants";
import { default as React } from 'react';
import { VariantProps } from '../../libs';
import { getCardClasses } from './constants';
export type CardProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getCardClasses>;

@@ -5,0 +5,0 @@ export type CardActionsProps = React.HTMLAttributes<HTMLDivElement>;

@@ -1,27 +0,26 @@

/// <reference types="react" />
import type { CarouselProps } from "./types";
import { CarouselProps } from './types';
declare const Carousel: {
({ orientation, opts, setApi, plugins, className, children, ...props }: CarouselProps & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
displayName: string;
Content: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
Item: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
Next: import("react").ForwardRefExoticComponent<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
Content: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
Next: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
isLoading?: boolean | undefined;
} & {
asChild?: boolean | undefined;
} & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
Previous: import("react").ForwardRefExoticComponent<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
asChild?: boolean;
} & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
Previous: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
isLoading?: boolean | undefined;
} & {
asChild?: boolean | undefined;
} & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
asChild?: boolean;
} & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
};
export { Carousel };

@@ -1,3 +0,2 @@

/// <reference types="react" />
import { type CarouselContextProps } from "./types";
export declare const CarouselContext: import("react").Context<CarouselContextProps | null>;
import { CarouselContextProps } from './types';
export declare const CarouselContext: import('react').Context<CarouselContextProps | null>;
export declare const getCarouselContentClasses: (props?: ({
orientation?: "horizontal" | "vertical" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getCarouselItemClasses: (props?: ({
orientation?: "horizontal" | "vertical" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getCarouselNextClasses: (props?: ({
orientation?: "horizontal" | "vertical" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getCarouselPreviousClasses: (props?: ({
orientation?: "horizontal" | "vertical" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Carousel } from "./Carousel";
export { Carousel } from './Carousel';

@@ -1,3 +0,2 @@

import { type UseEmblaCarouselType } from "embla-carousel-react";
import useEmblaCarousel from "embla-carousel-react";
import { UseEmblaCarouselType, default as useEmblaCarousel } from 'embla-carousel-react';
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;

@@ -4,0 +3,0 @@ type CarouselOptions = UseCarouselParameters[0];

@@ -1,1 +0,1 @@

export declare function useCarousel(): import("./types").CarouselContextProps;
export declare function useCarousel(): import('./types').CarouselContextProps;

@@ -1,9 +0,8 @@

/// <reference types="react" />
import { CollapsibleProps } from '@radix-ui/react-collapsible';
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
import { type CollapsibleProps } from "@radix-ui/react-accordion";
declare const Collapsible: {
(props: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
Trigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
Content: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
Trigger: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
Content: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import('react').RefAttributes<HTMLDivElement>>;
};
export { Collapsible };

@@ -1,1 +0,1 @@

export { Collapsible } from "./Collapsible";
export { Collapsible } from './Collapsible';

@@ -1,3 +0,2 @@

/// <reference types="react" />
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
export type CollapsibleProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>;

@@ -1,2 +0,2 @@

import type { ComboboxProps, Item } from "./types";
import { ComboboxProps, Item } from './types';
export declare const Combobox: <T extends Item>({ label, items, classes, emptyText, placeholder, getItemValue, getItemLabel, }: ComboboxProps<T>) => import("react/jsx-runtime").JSX.Element;

@@ -1,1 +0,1 @@

export { Combobox } from "./Combobox";
export { Combobox } from './Combobox';

@@ -0,3 +1,3 @@

import { CommandDialogProps, CommandProps } from './types';
import * as React from "react";
import type { CommandProps, CommandDialogProps } from "./types";
declare const Command: {

@@ -8,8 +8,8 @@ ({ className, ...props }: CommandProps): import("react/jsx-runtime").JSX.Element;

Input: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
ref?: React.Ref<HTMLInputElement> | undefined;
ref?: React.Ref<HTMLInputElement>;
} & {
asChild?: boolean | undefined;
asChild?: boolean;
}, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
value?: string | undefined;
onValueChange?: ((search: string) => void) | undefined;
value?: string;
onValueChange?: (search: string) => void;
} & React.RefAttributes<HTMLInputElement>, "ref"> & {} & React.RefAttributes<HTMLInputElement>>;

@@ -19,7 +19,7 @@ List: React.ForwardRefExoticComponent<Omit<{

} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: React.Ref<HTMLDivElement> | undefined;
ref?: React.Ref<HTMLDivElement>;
} & {
asChild?: boolean | undefined;
asChild?: boolean;
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
label?: string | undefined;
label?: string;
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;

@@ -29,5 +29,5 @@ Empty: React.ForwardRefExoticComponent<Omit<{

} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: React.Ref<HTMLDivElement> | undefined;
ref?: React.Ref<HTMLDivElement>;
} & {
asChild?: boolean | undefined;
asChild?: boolean;
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;

@@ -37,9 +37,9 @@ Group: React.ForwardRefExoticComponent<Omit<{

} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: React.Ref<HTMLDivElement> | undefined;
ref?: React.Ref<HTMLDivElement>;
} & {
asChild?: boolean | undefined;
asChild?: boolean;
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
heading?: React.ReactNode;
value?: string | undefined;
forceMount?: boolean | undefined;
value?: string;
forceMount?: boolean;
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;

@@ -49,11 +49,11 @@ Item: React.ForwardRefExoticComponent<Omit<{

} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: React.Ref<HTMLDivElement> | undefined;
ref?: React.Ref<HTMLDivElement>;
} & {
asChild?: boolean | undefined;
asChild?: boolean;
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
disabled?: boolean | undefined;
onSelect?: ((value: string) => void) | undefined;
value?: string | undefined;
keywords?: string[] | undefined;
forceMount?: boolean | undefined;
disabled?: boolean;
onSelect?: (value: string) => void;
value?: string;
keywords?: string[];
forceMount?: boolean;
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;

@@ -65,9 +65,9 @@ Shortcut: {

Separator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
ref?: React.Ref<HTMLDivElement> | undefined;
ref?: React.Ref<HTMLDivElement>;
} & {
asChild?: boolean | undefined;
asChild?: boolean;
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
alwaysRender?: boolean | undefined;
alwaysRender?: boolean;
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
};
export { Command };

@@ -1,11 +0,11 @@

export declare const getCommandClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDialogContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandDialogClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandInputWrapperClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandInputClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandListClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandEmptyClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandGroupClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandSeparatorClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandItemClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandShortcutClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getCommandClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDialogContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandDialogClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandInputWrapperClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandInputClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandListClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandEmptyClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandGroupClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandSeparatorClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandItemClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getCommandShortcutClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Command } from "./Command";
export { Command } from './Command';

@@ -1,8 +0,7 @@

/// <reference types="react" />
import { Command as CommandPrimitive } from "cmdk";
import { type DialogProps } from "../Dialog/types";
import { type VariantProps } from "../../libs";
import { getCommandClasses, getCommandInputClasses } from "./constants";
import { Command as CommandPrimitive } from 'cmdk';
import { VariantProps } from '../../libs';
import { DialogProps } from '../Dialog/types';
import { getCommandClasses, getCommandInputClasses } from './constants';
export type CommandProps = React.ComponentPropsWithoutRef<typeof CommandPrimitive> & VariantProps<typeof getCommandClasses>;
export type CommandInputProps = React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input> & VariantProps<typeof getCommandInputClasses>;
export type CommandDialogProps = DialogProps;

@@ -1,2 +0,2 @@

import { type DatePickerProps } from "./types";
import { DatePickerProps } from './types';
export declare const DatePicker: ({ name, size, wide, label, outline, variant, disabled, defaultDate, children, getDateValue, getDateLabel, triggerClassName, ...props }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,2 +0,2 @@

import { type DateRangePickerProps } from "./types";
import { DateRangePickerProps } from './types';
export declare const DateRangePicker: ({ name, size, wide, label, outline, variant, disabled, defaultRange, getRangeValue, getRangeLabel, triggerClassName, ...props }: DateRangePickerProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,3 +0,3 @@

export { DatePicker } from "./DatePicker";
export { DateRangePicker } from "./DateRangePicker";
export { MultipleDatesPicker } from "./MultipleDatesPicker";
export { DatePicker } from './DatePicker';
export { DateRangePicker } from './DateRangePicker';
export { MultipleDatesPicker } from './MultipleDatesPicker';

@@ -1,2 +0,2 @@

import { type MultipleDatesPickerProps } from "./types";
import { MultipleDatesPickerProps } from './types';
export declare const MultipleDatesPicker: ({ name, size, wide, label, outline, variant, disabled, defaultDates, getDatesValue, getDatesLabel, ...props }: MultipleDatesPickerProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,9 +0,8 @@

/// <reference types="react" />
import { DateRange, DayPickerMultipleProps, DayPickerRangeProps, DayPickerSingleProps } from "react-day-picker";
import { ButtonProps } from "../Button/types";
type BaseDatePickerProps = Pick<ButtonProps, "variant" | "outline" | "wide" | "size" | "name" | "disabled"> & {
import { DateRange, PropsBase, PropsMulti, PropsRange, PropsSingle } from 'react-day-picker';
import { ButtonProps } from '../Button/types';
type BaseDatePickerProps = Omit<PropsBase, "mode"> & Pick<ButtonProps, "variant" | "outline" | "wide" | "size" | "name" | "disabled"> & {
label?: string;
triggerClassName?: string;
};
export type DatePickerProps = BaseDatePickerProps & Omit<DayPickerSingleProps, "mode"> & {
export type DatePickerProps = BaseDatePickerProps & Omit<PropsSingle, "mode"> & {
children?: ({ date, setDate, }: {

@@ -17,3 +16,3 @@ date: Date | undefined;

};
export type DateRangePickerProps = BaseDatePickerProps & Omit<DayPickerRangeProps, "mode"> & {
export type DateRangePickerProps = BaseDatePickerProps & Omit<PropsRange, "mode"> & {
defaultRange?: DateRange;

@@ -26,3 +25,3 @@ getRangeValue?: (range: DateRange | undefined) => {

};
export type MultipleDatesPickerProps = BaseDatePickerProps & Omit<DayPickerMultipleProps, "mode"> & {
export type MultipleDatesPickerProps = BaseDatePickerProps & Omit<PropsMulti, "mode"> & {
defaultDates?: Date[];

@@ -29,0 +28,0 @@ getDatesValue?: (dates: Date[] | undefined) => string[] | undefined;

@@ -1,2 +0,2 @@

import type { DescriptionProps, DescriptionTermProps, DescriptionDetailProps } from "./types";
import { DescriptionDetailProps, DescriptionProps, DescriptionTermProps } from './types';
declare const Description: {

@@ -3,0 +3,0 @@ (props: DescriptionProps): import("react/jsx-runtime").JSX.Element;

@@ -1,1 +0,1 @@

export { Description } from "./Description";
export { Description } from './Description';

@@ -1,4 +0,3 @@

/// <reference types="react" />
export type DescriptionProps = React.HTMLAttributes<HTMLDListElement>;
export type DescriptionTermProps = React.HTMLAttributes<HTMLElement>;
export type DescriptionDetailProps = React.HTMLAttributes<HTMLElement>;

@@ -1,10 +0,10 @@

export declare const getDialogOverlayClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDialogOverlayClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDialogContentClasses: (props?: ({
variant?: "dialog" | "sheet" | null | undefined;
side?: "top" | "right" | "bottom" | "left" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const getDialogHeaderClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDialogFooterClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDialogTitleClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDialogDescriptionClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDialogCloseClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getDialogHeaderClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDialogFooterClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDialogTitleClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDialogDescriptionClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDialogCloseClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -0,4 +1,4 @@

import { DialogFooterProps, DialogHeaderProps, DialogProps } from './types';
import * as React from "react";
import * as DialogPrimitive from "@radix-ui/react-dialog";
import type { DialogProps, DialogFooterProps, DialogHeaderProps } from "./types";
declare const Dialog: {

@@ -19,4 +19,4 @@ (props: DialogProps): import("react/jsx-runtime").JSX.Element;

} & {
showClose?: boolean | undefined;
closeProps?: import("./types").DialogCloseProps | undefined;
showClose?: boolean;
closeProps?: import('./types').DialogCloseProps;
} & React.RefAttributes<HTMLDivElement>>;

@@ -23,0 +23,0 @@ Footer: {

@@ -1,1 +0,1 @@

export { Dialog } from "./Dialog";
export { Dialog } from './Dialog';

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { VariantProps } from '../../libs';
import { getDialogCloseClasses, getDialogContentClasses, getDialogDescriptionClasses, getDialogFooterClasses, getDialogHeaderClasses, getDialogOverlayClasses, getDialogTitleClasses } from './constants';
import * as DialogPrimitive from "@radix-ui/react-dialog";
import { type VariantProps } from "../../libs";
import { getDialogCloseClasses, getDialogContentClasses, getDialogDescriptionClasses, getDialogFooterClasses, getDialogHeaderClasses, getDialogOverlayClasses, getDialogTitleClasses } from "./constants";
export type DialogProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>;

@@ -6,0 +5,0 @@ export type DialogOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay> & VariantProps<typeof getDialogOverlayClasses>;

@@ -1,6 +0,6 @@

export declare const getDrawerContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDrawerDescriptionClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDrawerHeaderClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDrawerFooterClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDrawerOverlayClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDrawerTitleClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getDrawerContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDrawerDescriptionClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDrawerHeaderClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDrawerFooterClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDrawerOverlayClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getDrawerTitleClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,13 +0,10 @@

/// <reference types="react" />
import { DrawerProps } from "./types";
import { DrawerProps } from './types';
declare const Drawer: {
({ shouldScaleBackground, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
Portal: import("react").FC<import("@radix-ui/react-dialog").DialogPortalProps>;
Overlay: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-dialog").DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
Trigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
Close: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
Content: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-dialog").DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
onAnimationEnd?: ((open: boolean) => void) | undefined;
} & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
Portal: typeof import('vaul').Portal;
Overlay: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogOverlayProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Trigger: import('react').ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
Close: import('react').ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
Content: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Header: {

@@ -21,12 +18,10 @@ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;

};
Title: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dialog").DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
Description: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dialog").DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
Title: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogTitleProps & import('react').RefAttributes<HTMLHeadingElement>, "ref"> & import('react').RefAttributes<HTMLHeadingElement>>;
Description: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>, "ref"> & import('react').RefAttributes<HTMLParagraphElement>>;
};
declare const DrawerTrigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
declare const DrawerPortal: import("react").FC<import("@radix-ui/react-dialog").DialogPortalProps>;
declare const DrawerClose: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
declare const DrawerOverlay: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-dialog").DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
declare const DrawerContent: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-dialog").DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
onAnimationEnd?: ((open: boolean) => void) | undefined;
} & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
declare const DrawerTrigger: import('react').ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
declare const DrawerPortal: typeof import('vaul').Portal;
declare const DrawerClose: import('react').ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
declare const DrawerOverlay: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogOverlayProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
declare const DrawerContent: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
declare const DrawerHeader: {

@@ -40,4 +35,4 @@ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;

};
declare const DrawerTitle: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dialog").DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
declare const DrawerDescription: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dialog").DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
declare const DrawerTitle: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogTitleProps & import('react').RefAttributes<HTMLHeadingElement>, "ref"> & import('react').RefAttributes<HTMLHeadingElement>>;
declare const DrawerDescription: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>, "ref"> & import('react').RefAttributes<HTMLParagraphElement>>;
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };

@@ -1,1 +0,1 @@

export { Drawer } from "./Drawer";
export { Drawer } from './Drawer';

@@ -1,3 +0,2 @@

/// <reference types="react" />
import { Drawer as DrawerPrimitive } from "vaul";
import { Drawer as DrawerPrimitive } from 'vaul';
export type DrawerProps = React.ComponentProps<typeof DrawerPrimitive.Root>;

@@ -1,7 +0,6 @@

/// <reference types="react" />
import type { FileUploaderInputProps, FileUploaderProps } from "./types";
import { FileUploaderInputProps, FileUploaderProps } from './types';
export declare const FileUploader: {
({ className, dropzoneOptions, value, onValueChange, reSelect, orientation, children, dir, ...props }: FileUploaderProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
Content: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
Content: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
Input: {

@@ -11,5 +10,5 @@ ({ classes, children, ...props }: FileUploaderInputProps): import("react/jsx-runtime").JSX.Element;

};
Item: import("react").ForwardRefExoticComponent<{
Item: import('react').ForwardRefExoticComponent<{
index: number;
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
} & import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
};

@@ -1,3 +0,2 @@

/// <reference types="react" />
import { type FileUploaderContextType } from "./types";
export declare const FileUploaderContext: import("react").Context<FileUploaderContextType | null>;
import { FileUploaderContextType } from './types';
export declare const FileUploaderContext: import('react').Context<FileUploaderContextType | null>;

@@ -1,1 +0,1 @@

export { FileUploader } from "./FileUploader";
export { FileUploader } from './FileUploader';

@@ -1,3 +0,3 @@

import type { Dispatch, Ref, SetStateAction } from "react";
import type { DropzoneState, DropzoneOptions } from "react-dropzone";
import { Dispatch, Ref, SetStateAction } from 'react';
import { DropzoneOptions, DropzoneState } from 'react-dropzone';
export type FileUploaderProps = {

@@ -4,0 +4,0 @@ value: File[] | null;

@@ -1,1 +0,1 @@

export declare const useFileUpload: () => import("./types").FileUploaderContextType;
export declare const useFileUpload: () => import('./types').FileUploaderContextType;
export declare const getCheckboxClasses: (props?: ({
variant?: "accent" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | null | undefined;
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Checkbox } from "./Checkbox";
export { Checkbox } from './Checkbox';

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../../libs";
import { getCheckboxClasses } from "./constants";
import { VariantProps } from '../../../libs';
import { getCheckboxClasses } from './constants';
export type CheckboxProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref" | "type"> & VariantProps<typeof getCheckboxClasses>;

@@ -1,1 +0,1 @@

export declare const getFormControlClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getFormControlClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,2 +0,2 @@

import type { As, FormControlProps } from "./types";
import { As, FormControlProps } from './types';
export declare const FormControl: <T extends As>({ as, children, className, ...props }: FormControlProps<T>) => import("react/jsx-runtime").JSX.Element;

@@ -1,1 +0,1 @@

export { FormControl } from "./FormControl";
export { FormControl } from './FormControl';

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../../../libs";
import { getFormControlClasses } from "./constants";
import { VariantProps } from '../../../../libs';
import { getFormControlClasses } from './constants';
export type As = "div" | "span" | "label";

@@ -5,0 +4,0 @@ type AllowedElements = Pick<JSX.IntrinsicElements, As>;

@@ -1,1 +0,1 @@

export declare const getLabelClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getLabelClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Label } from "./Label";
export { Label } from './Label';

@@ -1,2 +0,2 @@

import type { LabelProps, LabelTextProps } from "./types";
import { LabelProps, LabelTextProps } from './types';
declare const Label: {

@@ -3,0 +3,0 @@ ({ className, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;

@@ -1,7 +0,6 @@

/// <reference types="react" />
import { VariantProps } from '../../../../libs';
import { Text } from '../../../Text';
import { getLabelClasses } from './constants';
import * as LabelPrimitive from "@radix-ui/react-label";
import { type VariantProps } from "../../../../libs";
import { getLabelClasses } from "./constants";
import { Text } from "../../../Text";
export type LabelProps = React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof getLabelClasses>;
export type LabelTextProps = Omit<React.ComponentProps<typeof Text>, "as">;

@@ -1,13 +0,13 @@

export { Input } from "./Input";
export { OtpInput } from "./OtpInput";
export { Phone } from "./Phone";
export { Radio } from "./Radio";
export { Range } from "./Range";
export { Select } from "./Select";
export { Slider } from "./Slider";
export { Switch } from "./Switch";
export { Checkbox } from "./Checkbox";
export { Textarea } from "./Textarea";
export { TextField } from "./TextField";
export { Label } from "./components/Label";
export { FormControl } from "./components/FormControl";
export { Input } from './Input';
export { OtpInput } from './OtpInput';
export { Phone } from './Phone';
export { Radio } from './Radio';
export { Range } from './Range';
export { Select } from './Select';
export { Slider } from './Slider';
export { Switch } from './Switch';
export { Checkbox } from './Checkbox';
export { Textarea } from './Textarea';
export { TextField } from './TextField';
export { Label } from './components/Label';
export { FormControl } from './components/FormControl';

@@ -7,2 +7,2 @@ export declare const getInputClasses: (props?: ({

type?: string | number | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Input } from "./Input";
export { Input } from './Input';

@@ -1,8 +0,8 @@

import React from "react";
import { default as React } from 'react';
export declare const Input: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLInputElement>, "ref" | "size"> & Omit<{
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
type?: string | number | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
}, "type"> & React.RefAttributes<HTMLInputElement>>;

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../../libs";
import { getInputClasses } from "./constants";
import { VariantProps } from '../../../libs';
import { getInputClasses } from './constants';
export type InputProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref"> & Omit<VariantProps<typeof getInputClasses>, "type">;

@@ -1,1 +0,1 @@

export { OtpInput } from "./OtpInput";
export { OtpInput } from './OtpInput';

@@ -1,2 +0,2 @@

import { type OtpInputProps } from "./types";
import { OtpInputProps } from './types';
export declare const OtpInput: ({ className, inputProps, ...props }: OtpInputProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,3 +0,3 @@

import { type OTPInputProps } from "react-otp-input";
import { InputProps } from "../Input/types";
import { OTPInputProps } from 'react-otp-input';
import { InputProps } from '../Input/types';
export type OtpInputProps = {

@@ -4,0 +4,0 @@ className?: string;

@@ -1,2 +0,2 @@

export declare const getPhoneButtonClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getPhoneInputClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getPhoneButtonClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getPhoneInputClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Phone } from "./Phone";
export { Phone } from './Phone';

@@ -1,4 +0,4 @@

import React from "react";
import { type PhoneProps } from "./types";
import { default as React } from 'react';
import { PhoneProps } from './types';
declare const Phone: React.ForwardRefExoticComponent<PhoneProps & React.RefAttributes<HTMLInputElement>>;
export { Phone };

@@ -1,2 +0,2 @@

import { type InputProps } from "../Input/types";
import { InputProps } from '../Input/types';
export type PhoneProps = Omit<InputProps, "type" | "label" | "inputMode">;
export declare const getRadioClasses: (props?: ({
variant?: "accent" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | null | undefined;
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Radio } from "./Radio";
export { Radio } from './Radio';

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../../libs";
import { getRadioClasses } from "./constants";
import { VariantProps } from '../../../libs';
import { getRadioClasses } from './constants';
export type RadioProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref" | "type"> & VariantProps<typeof getRadioClasses>;

@@ -6,2 +6,2 @@ export declare const getRangeClasses: (props?: ({

size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Range } from "./Range";
export { Range } from './Range';
import * as React from "react";
declare const Range: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLInputElement>, "type" | "ref" | "size"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
disabled?: boolean | undefined;
} & React.RefAttributes<HTMLInputElement>>;
export { Range };

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../../libs";
import { getRangeClasses } from "./constants";
import { VariantProps } from '../../../libs';
import { getRangeClasses } from './constants';
export type RangeProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref" | "type"> & VariantProps<typeof getRangeClasses>;

@@ -6,13 +6,13 @@ export declare const getSelectTriggerClasses: (props?: ({

size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getSelectItemClasses: (props?: ({
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const getSelectLabelClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getSelectSeparatorClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getSelectLabelClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getSelectSeparatorClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getSelectContentClasses: (props?: ({
position?: "popper" | "item-aligned" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getSelectViewportClasses: (props?: ({
position?: "popper" | "item-aligned" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Select } from "./Select";
export { Select } from './Select';

@@ -9,5 +9,5 @@ import * as React from "react";

variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
} & React.RefAttributes<HTMLButtonElement>>;

@@ -20,5 +20,5 @@ Content: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {

variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
} & React.RefAttributes<HTMLDivElement>>;

@@ -25,0 +25,0 @@ Separator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;

@@ -1,7 +0,6 @@

/// <reference types="react" />
import { VariantProps } from '../../../libs';
import { getSelectContentClasses, getSelectTriggerClasses } from './constants';
import * as SelectPrimitive from "@radix-ui/react-select";
import { type VariantProps } from "../../../libs";
import { getSelectContentClasses, getSelectTriggerClasses } from "./constants";
export type SelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> & VariantProps<typeof getSelectTriggerClasses>;
export type SelectItemProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> & VariantProps<typeof getSelectTriggerClasses>;
export type SelectContentProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> & VariantProps<typeof getSelectContentClasses>;
export declare const getSliderRootClasses: (props?: ({
disabled?: boolean | null | undefined;
wide?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getSliderTrackClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getSliderClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getSliderThumbClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Slider } from "./Slider";
export { Slider } from './Slider';

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { type VariantProps } from "../../../libs";
import { VariantProps } from '../../../libs';
import { getSliderClasses, getSliderRootClasses, getSliderThumbClasses, getSliderTrackClasses } from './constants';
import * as SliderPrimitive from "@radix-ui/react-slider";
import { getSliderClasses, getSliderRootClasses, getSliderThumbClasses, getSliderTrackClasses } from "./constants";
export type SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> & VariantProps<typeof getSliderClasses> & VariantProps<typeof getSliderTrackClasses> & VariantProps<typeof getSliderThumbClasses> & VariantProps<typeof getSliderRootClasses>;
export declare const getSwitchClasses: (props?: ({
variant?: "accent" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | null | undefined;
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Switch } from "./Switch";
export { Switch } from './Switch';

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../../libs";
import { getSwitchClasses } from "./constants";
import { VariantProps } from '../../../libs';
import { getSwitchClasses } from './constants';
export type SwitchProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref" | "type"> & VariantProps<typeof getSwitchClasses>;

@@ -6,2 +6,2 @@ export declare const getTextareaClasses: (props?: ({

size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Textarea } from "./Textarea";
export { Textarea } from './Textarea';
import * as React from "react";
declare const Textarea: React.ForwardRefExoticComponent<Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "ref" | "size"> & {
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
} & React.RefAttributes<HTMLTextAreaElement>>;
export { Textarea };

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../../libs";
import { getTextareaClasses } from "./constants";
import { VariantProps } from '../../../libs';
import { getTextareaClasses } from './constants';
export type TextareaProps = Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "ref"> & VariantProps<typeof getTextareaClasses>;

@@ -1,1 +0,1 @@

export declare const getTextFieldClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getTextFieldClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { TextField } from "./TextField";
export { TextField } from './TextField';

@@ -1,11 +0,11 @@

import React from "react";
import { default as React } from 'react';
export declare const TextField: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLInputElement>, "ref" | "size"> & Omit<{
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
type?: string | number | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
}, "type"> & {
info?: React.ReactNode;
error?: string | string[] | null | undefined;
error?: string | string[] | null;
} & React.RefAttributes<HTMLInputElement>>;

@@ -1,3 +0,3 @@

import { type ReactNode } from "react";
import { type InputProps } from "../Input/types";
import { ReactNode } from 'react';
import { InputProps } from '../Input/types';
export type TextFieldProps = InputProps & {

@@ -4,0 +4,0 @@ info?: ReactNode;

@@ -1,1 +0,1 @@

export declare const getHoverCardContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getHoverCardContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,9 +0,8 @@

/// <reference types="react" />
import { HoverCardProps } from './types';
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
import { HoverCardProps } from "./types";
declare const HoverCard: {
(props: HoverCardProps): import("react/jsx-runtime").JSX.Element;
Content: import("react").ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
Trigger: import("react").ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & import("react").RefAttributes<HTMLAnchorElement>>;
Content: import('react').ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Trigger: import('react').ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & import('react').RefAttributes<HTMLAnchorElement>>;
};
export { HoverCard };

@@ -1,1 +0,1 @@

export { HoverCard } from "./HoverCard";
export { HoverCard } from './HoverCard';

@@ -1,3 +0,2 @@

/// <reference types="react" />
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
export type HoverCardProps = React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Root>;

@@ -5,2 +5,2 @@ export declare const getLoadingClasses: (props?: ({

size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Loading } from "./Loading";
export { Loading } from './Loading';

@@ -1,2 +0,2 @@

import { type LoadingProps } from "./types";
import { LoadingProps } from './types';
export declare const Loading: ({ size, intent, variant, className, ...props }: LoadingProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../libs";
import { getLoadingClasses } from "./constants";
import { VariantProps } from '../../libs';
import { getLoadingClasses } from './constants';
export type LoadingProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof getLoadingClasses>;

@@ -1,26 +0,25 @@

/// <reference types="react" />
import { ContextMenuProps, ContextMenuShortcutProps } from './types';
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
import type { ContextMenuProps, ContextMenuShortcutProps } from "./types";
declare const ContextMenu: {
(props: ContextMenuProps): import("react/jsx-runtime").JSX.Element;
Trigger: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & import("react").RefAttributes<HTMLSpanElement>>;
Group: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
Portal: import("react").FC<ContextMenuPrimitive.ContextMenuPortalProps>;
Sub: import("react").FC<ContextMenuPrimitive.ContextMenuSubProps>;
RadioGroup: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
Content: import("react").ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
Item: import("react").ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
Trigger: import('react').ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & import('react').RefAttributes<HTMLSpanElement>>;
Group: import('react').ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & import('react').RefAttributes<HTMLDivElement>>;
Portal: import('react').FC<ContextMenuPrimitive.ContextMenuPortalProps>;
Sub: import('react').FC<ContextMenuPrimitive.ContextMenuSubProps>;
RadioGroup: import('react').ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & import('react').RefAttributes<HTMLDivElement>>;
Content: import('react').ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
Item: import('react').ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
inset?: boolean | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
CheckboxItem: import("react").ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
} & import('react').RefAttributes<HTMLDivElement>>;
CheckboxItem: import('react').ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
RadioItem: import("react").ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
} & import('react').RefAttributes<HTMLDivElement>>;
RadioItem: import('react').ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
Label: import("react").ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
} & import('react').RefAttributes<HTMLDivElement>>;
Label: import('react').ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
inset?: boolean | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
Separator: import("react").ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
} & import('react').RefAttributes<HTMLDivElement>>;
Separator: import('react').ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
Shortcut: {

@@ -30,8 +29,8 @@ ({ className, ...props }: ContextMenuShortcutProps): import("react/jsx-runtime").JSX.Element;

};
SubContent: import("react").ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
SubTrigger: import("react").ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
SubContent: import('react').ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
SubTrigger: import('react').ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
inset?: boolean | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
} & import('react').RefAttributes<HTMLDivElement>>;
};
export { ContextMenu };

@@ -1,1 +0,1 @@

export { ContextMenu } from "./ContextMenu";
export { ContextMenu } from './ContextMenu';

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { VariantProps } from '../../../libs';
import { getMenubarCheckboxItemClasses, getMenubarContentClasses, getMenubarItemClasses, getMenubarLabelClasses, getMenubarRadioItemClasses, getMenubarSeparatorClasses, getMenubarShortcutClasses, getMenubarSubContentClasses, getMenubarSubTriggerClasses } from '../Menubar/constants';
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
import { type VariantProps } from "../../../libs";
import { getMenubarCheckboxItemClasses, getMenubarContentClasses, getMenubarItemClasses, getMenubarLabelClasses, getMenubarRadioItemClasses, getMenubarSeparatorClasses, getMenubarShortcutClasses, getMenubarSubContentClasses, getMenubarSubTriggerClasses } from "../Menubar/constants";
export type ContextMenuProps = React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Root>;

@@ -6,0 +5,0 @@ export type ContextMenuSubTriggerProps = React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & VariantProps<typeof getMenubarSubTriggerClasses>;

@@ -1,22 +0,21 @@

/// <reference types="react" />
import { DropdownMenuProps, DropdownMenuShortcutProps } from './types';
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
import type { DropdownMenuProps, DropdownMenuShortcutProps } from "./types";
declare const DropdownMenu: {
(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
Trigger: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
Content: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
Item: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
Trigger: import('react').ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
Content: import('react').ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
Item: import('react').ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
inset?: boolean | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
CheckboxItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
} & import('react').RefAttributes<HTMLDivElement>>;
CheckboxItem: import('react').ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
RadioItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
} & import('react').RefAttributes<HTMLDivElement>>;
RadioItem: import('react').ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
Label: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
} & import('react').RefAttributes<HTMLDivElement>>;
Label: import('react').ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
inset?: boolean | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
Separator: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
} & import('react').RefAttributes<HTMLDivElement>>;
Separator: import('react').ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
Shortcut: {

@@ -26,12 +25,12 @@ ({ className, ...props }: DropdownMenuShortcutProps): import("react/jsx-runtime").JSX.Element;

};
Group: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
Portal: import("react").FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
Sub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
SubContent: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
SubTrigger: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
Group: import('react').ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & import('react').RefAttributes<HTMLDivElement>>;
Portal: import('react').FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
Sub: import('react').FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
SubContent: import('react').ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
SubTrigger: import('react').ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
inset?: boolean | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
RadioGroup: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
} & import('react').RefAttributes<HTMLDivElement>>;
RadioGroup: import('react').ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & import('react').RefAttributes<HTMLDivElement>>;
};
export { DropdownMenu };

@@ -1,1 +0,1 @@

export { DropdownMenu } from "./DropdownMenu";
export { DropdownMenu } from './DropdownMenu';

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { VariantProps } from '../../../libs';
import { getMenubarCheckboxItemClasses, getMenubarContentClasses, getMenubarItemClasses, getMenubarLabelClasses, getMenubarRadioItemClasses, getMenubarSeparatorClasses, getMenubarShortcutClasses, getMenubarSubContentClasses, getMenubarSubTriggerClasses } from '../Menubar/constants';
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
import { type VariantProps } from "../../../libs";
import { getMenubarCheckboxItemClasses, getMenubarContentClasses, getMenubarItemClasses, getMenubarLabelClasses, getMenubarRadioItemClasses, getMenubarSeparatorClasses, getMenubarShortcutClasses, getMenubarSubContentClasses, getMenubarSubTriggerClasses } from "../Menubar/constants";
export type DropdownMenuProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root>;

@@ -6,0 +5,0 @@ export type DropdownMenuSubTriggerProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & VariantProps<typeof getMenubarSubTriggerClasses>;

@@ -1,4 +0,4 @@

export { ContextMenu } from "./ContextMenu";
export { DropdownMenu } from "./DropdownMenu";
export { Menubar } from "./Menubar";
export { NavigationMenu } from "./NavigationMenu";
export { ContextMenu } from './ContextMenu';
export { DropdownMenu } from './DropdownMenu';
export { Menubar } from './Menubar';
export { NavigationMenu } from './NavigationMenu';

@@ -1,25 +0,25 @@

export declare const getMenubarClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getMenubarClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getMenubarTriggerClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getMenubarSubTriggerClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | null | undefined;
inset?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const getMenubarContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getMenubarSubContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getMenubarContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getMenubarSubContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getMenubarItemClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | null | undefined;
inset?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getMenubarCheckboxItemClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getMenubarRadioItemClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getMenubarLabelClasses: (props?: ({
inset?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const getMenubarSeparatorClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getMenubarShortcutClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getMenubarSeparatorClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getMenubarShortcutClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Menubar } from "./Menubar";
export { Menubar } from './Menubar';

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { VariantProps } from '../../../libs';
import { getMenubarCheckboxItemClasses, getMenubarContentClasses, getMenubarItemClasses, getMenubarLabelClasses, getMenubarRadioItemClasses, getMenubarSeparatorClasses, getMenubarShortcutClasses, getMenubarSubContentClasses, getMenubarSubTriggerClasses, getMenubarTriggerClasses } from './constants';
import * as MenubarPrimitive from "@radix-ui/react-menubar";
import { type VariantProps } from "../../../libs";
import { getMenubarCheckboxItemClasses, getMenubarContentClasses, getMenubarItemClasses, getMenubarLabelClasses, getMenubarRadioItemClasses, getMenubarSeparatorClasses, getMenubarShortcutClasses, getMenubarSubContentClasses, getMenubarSubTriggerClasses, getMenubarTriggerClasses } from "./constants";
export type MenubarProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>;

@@ -6,0 +5,0 @@ export type MenubarTriggerProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger> & VariantProps<typeof getMenubarTriggerClasses>;

@@ -1,8 +0,8 @@

export declare const getNavigationMenuClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getNavigationMenuListClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getNavigationMenuClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getNavigationMenuListClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getNavigationMenuTriggerClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const getNavigationMenuContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getNavigationMenuViewportClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getNavigationMenuIndicatorClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getNavigationMenuContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getNavigationMenuViewportClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getNavigationMenuIndicatorClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { NavigationMenu } from "./NavigationMenu";
export { NavigationMenu } from './NavigationMenu';

@@ -1,17 +0,16 @@

/// <reference types="react" />
import { NavigationMenuProps } from './types';
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
import type { NavigationMenuProps } from "./types";
declare const NavigationMenu: {
({ className, children, ...props }: NavigationMenuProps): import("react/jsx-runtime").JSX.Element;
displayName: string | undefined;
List: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & import("react").RefAttributes<HTMLUListElement>, "ref"> & {} & import("react").RefAttributes<HTMLUListElement>>;
Item: import("react").ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & import("react").RefAttributes<HTMLLIElement>>;
Content: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
Trigger: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
List: import('react').ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & import('react').RefAttributes<HTMLUListElement>, "ref"> & {} & import('react').RefAttributes<HTMLUListElement>>;
Item: import('react').ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & import('react').RefAttributes<HTMLLIElement>>;
Content: import('react').ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
Trigger: import('react').ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | undefined;
} & import("react").RefAttributes<HTMLButtonElement>>;
Link: import("react").ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
Indicator: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
Viewport: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {} & import("react").RefAttributes<HTMLDivElement>>;
} & import('react').RefAttributes<HTMLButtonElement>>;
Link: import('react').ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & import('react').RefAttributes<HTMLAnchorElement>>;
Indicator: import('react').ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
Viewport: import('react').ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {} & import('react').RefAttributes<HTMLDivElement>>;
};
export { NavigationMenu };

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { VariantProps } from '../../../libs';
import { getNavigationMenuClasses, getNavigationMenuContentClasses, getNavigationMenuIndicatorClasses, getNavigationMenuListClasses, getNavigationMenuTriggerClasses, getNavigationMenuViewportClasses } from './constants';
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
import { type VariantProps } from "../../../libs";
import { getNavigationMenuClasses, getNavigationMenuContentClasses, getNavigationMenuIndicatorClasses, getNavigationMenuListClasses, getNavigationMenuTriggerClasses, getNavigationMenuViewportClasses } from "./constants";
export type NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> & VariantProps<typeof getNavigationMenuClasses>;

@@ -6,0 +5,0 @@ export type NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List> & VariantProps<typeof getNavigationMenuListClasses>;

@@ -1,5 +0,5 @@

export declare const getPaginationClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getPaginationContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getPaginationEllipsisClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getPaginationNextClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getPaginationPreviousClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getPaginationClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getPaginationContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getPaginationEllipsisClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getPaginationNextClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getPaginationPreviousClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Pagination } from "./Pagination";
export { Pagination } from './Pagination';

@@ -1,7 +0,6 @@

/// <reference types="react" />
import { PaginationEllipsisProps, PaginationLinkProps, PaginationNextProps, PaginationPreviousProps, type PaginationProps } from "./types";
import { PaginationProps, PaginationEllipsisProps, PaginationLinkProps, PaginationNextProps, PaginationPreviousProps } from './types';
declare const Pagination: {
({ className, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
Content: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
Content: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & import('react').RefAttributes<HTMLUListElement>>;
Link: {

@@ -11,3 +10,3 @@ ({ className, size, wide, outline, variant, isActive, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;

};
Item: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
Previous: {

@@ -14,0 +13,0 @@ ({ className, children, ...props }: PaginationPreviousProps): import("react/jsx-runtime").JSX.Element;

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { VariantProps } from "../../libs";
import { getButtonClasses } from "../Button/constants";
import { VariantProps } from '../../libs';
import { getButtonClasses } from '../Button/constants';
export type PaginationProps = React.ComponentProps<"nav">;

@@ -5,0 +4,0 @@ export type PaginationContentProps = React.ComponentProps<"ul">;

@@ -1,1 +0,1 @@

export declare const getPopoverContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getPopoverContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Popover } from "./Popover";
export { Popover } from './Popover';

@@ -0,4 +1,4 @@

import { PopoverProps } from './types';
import * as React from "react";
import * as PopoverPrimitive from "@radix-ui/react-popover";
import { PopoverProps } from "./types";
declare const Popover: {

@@ -5,0 +5,0 @@ (props: PopoverProps): import("react/jsx-runtime").JSX.Element;

@@ -1,6 +0,5 @@

/// <reference types="react" />
import { VariantProps } from '../../libs';
import { getPopoverContentClasses } from './constants';
import * as PopoverPrimitive from "@radix-ui/react-popover";
import { type VariantProps } from "../../libs";
import { getPopoverContentClasses } from "./constants";
export type PopoverProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Root>;
export type PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & VariantProps<typeof getPopoverContentClasses>;
export declare const getProgressClasses: (props?: ({
variant?: "accent" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | "base" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getProgressIndicatorClasses: (props?: ({
variant?: "accent" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | "base" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Progress } from "./Progress";
export { Progress } from './Progress';

@@ -1,2 +0,2 @@

import React from "react";
import { default as React } from 'react';
import * as ProgressPrimitive from "@radix-ui/react-progress";

@@ -3,0 +3,0 @@ export declare const Progress: React.ForwardRefExoticComponent<Omit<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref">, "asChild"> & {

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { VariantProps } from '../../libs';
import { getProgressClasses } from './constants';
import * as ProgressPrimitive from "@radix-ui/react-progress";
import { type VariantProps } from "../../libs";
import { getProgressClasses } from "./constants";
export type ProgressProps = Omit<React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, "asChild"> & VariantProps<typeof getProgressClasses>;

@@ -1,8 +0,8 @@

export declare const getScrollAreaClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getScrollAreaClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getScrollAreaScrollbarClasses: (props?: ({
orientation?: "horizontal" | "vertical" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getScrollAreaThumbClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | "base" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const getScrollAreaViewportClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getScrollAreaViewportClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { ScrollArea, Scrollbar } from "./ScrollArea";
export { ScrollArea, Scrollbar } from './ScrollArea';

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { ScrollAreaProps } from './types';
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
import type { ScrollAreaProps } from "./types";
declare const ScrollArea: {

@@ -8,5 +7,5 @@ ({ className, children, scrollbar, ...props }: ScrollAreaProps): import("react/jsx-runtime").JSX.Element;

};
declare const Scrollbar: import("react").ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
declare const Scrollbar: import('react').ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | "base" | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
} & import('react').RefAttributes<HTMLDivElement>>;
export { ScrollArea, Scrollbar };

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { VariantProps } from '../../libs';
import { getScrollAreaThumbClasses } from './constants';
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
import { VariantProps } from "../../libs";
import { getScrollAreaThumbClasses } from "./constants";
export type ScrollAreaProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & {

@@ -6,0 +5,0 @@ scrollbar?: ScrollbarProps;

export declare const getSeparatorClasses: (props?: ({
orientation?: "horizontal" | "vertical" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Separator } from "./Separator";
export { Separator } from './Separator';

@@ -1,2 +0,2 @@

import { type SeparatorProps } from "./types";
import { SeparatorProps } from './types';
export declare const Separator: ({ className, orientation, decorative, ...props }: SeparatorProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,3 +0,2 @@

/// <reference types="react" />
import * as SeparatorPrimitive from "@radix-ui/react-separator";
export type SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;

@@ -6,2 +6,2 @@ export declare const getSkeletonClasses: (props?: ({

round?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Skeleton } from "./Skeleton";
export { Skeleton } from './Skeleton';

@@ -1,2 +0,2 @@

import { type SkeletonProps } from "./types";
import { SkeletonProps } from './types';
export declare const Skeleton: ({ round, width, height, variant, className, ...props }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../libs";
import { getSkeletonClasses } from "./constants";
import { VariantProps } from '../../libs';
import { getSkeletonClasses } from './constants';
export type SkeletonProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getSkeletonClasses>;

@@ -1,1 +0,1 @@

export { Slot } from "./Slot";
export { Slot } from './Slot';

@@ -1,1 +0,1 @@

export { Slot, Slottable } from "@radix-ui/react-slot";
export { Slot, Slottable } from '@radix-ui/react-slot';
export declare const getToastClasses: (props?: ({
variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
outline?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getToastButtonClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "base" | null | undefined;
outline?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,2 +0,2 @@

export { toast } from "sonner";
export { Toaster } from "./Toaster";
export { toast } from 'sonner';
export { Toaster } from './Toaster';

@@ -1,2 +0,2 @@

import { type ToasterProps } from "./types";
import { ToasterProps } from './types';
export declare const Toaster: ({ theme, variant, actionButton, cancelButton, closeButton, showCloseButton, outline, ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { Toaster } from "sonner";
import { type VariantProps } from "../../libs";
import { getToastButtonClasses, getToastClasses } from "./constants";
import { Toaster } from 'sonner';
import { VariantProps } from '../../libs';
import { getToastButtonClasses, getToastClasses } from './constants';
type ToastButtonVariantProps = VariantProps<typeof getToastButtonClasses>;

@@ -6,0 +5,0 @@ export type ToasterProps = Omit<React.ComponentProps<typeof Toaster>, "closeButton"> & VariantProps<typeof getToastClasses> & Partial<Record<"actionButton" | "cancelButton" | "closeButton", ToastButtonVariantProps>> & {

@@ -7,3 +7,3 @@ export declare const getTableClasses: (props?: ({

size?: "xs" | "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const getTableHeaderClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getTableHeaderClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Table } from "./Table";
export { Table } from './Table';

@@ -1,14 +0,13 @@

/// <reference types="react" />
import type { TableBodyProps, TableCaptionProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableProps, TableRowProps } from "./types";
import { TableBodyProps, TableCaptionProps, TableCellProps, TableFooterProps, TableHeaderProps, TableHeadProps, TableProps, TableRowProps } from './types';
declare const Table: {
({ className, caption, zebra, size, pinRow, pinColumn, ...props }: TableProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
Header: import("react").ForwardRefExoticComponent<TableHeaderProps & import("react").RefAttributes<HTMLTableSectionElement>>;
Body: import("react").ForwardRefExoticComponent<TableBodyProps & import("react").RefAttributes<HTMLTableSectionElement>>;
Footer: import("react").ForwardRefExoticComponent<TableFooterProps & import("react").RefAttributes<HTMLTableSectionElement>>;
Head: import("react").ForwardRefExoticComponent<TableHeadProps & import("react").RefAttributes<HTMLTableCellElement>>;
Row: import("react").ForwardRefExoticComponent<TableRowProps & import("react").RefAttributes<HTMLTableRowElement>>;
Cell: import("react").ForwardRefExoticComponent<TableCellProps & import("react").RefAttributes<HTMLTableCellElement>>;
Caption: import("react").ForwardRefExoticComponent<TableCaptionProps & import("react").RefAttributes<HTMLTableCaptionElement>>;
Header: import('react').ForwardRefExoticComponent<TableHeaderProps & import('react').RefAttributes<HTMLTableSectionElement>>;
Body: import('react').ForwardRefExoticComponent<TableBodyProps & import('react').RefAttributes<HTMLTableSectionElement>>;
Footer: import('react').ForwardRefExoticComponent<TableFooterProps & import('react').RefAttributes<HTMLTableSectionElement>>;
Head: import('react').ForwardRefExoticComponent<TableHeadProps & import('react').RefAttributes<HTMLTableCellElement>>;
Row: import('react').ForwardRefExoticComponent<TableRowProps & import('react').RefAttributes<HTMLTableRowElement>>;
Cell: import('react').ForwardRefExoticComponent<TableCellProps & import('react').RefAttributes<HTMLTableCellElement>>;
Caption: import('react').ForwardRefExoticComponent<TableCaptionProps & import('react').RefAttributes<HTMLTableCaptionElement>>;
};
export { Table };

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { VariantProps } from "../../libs";
import { getTableClasses } from "./constants";
import { VariantProps } from '../../libs';
import { getTableClasses } from './constants';
export type TableProps = React.HTMLAttributes<HTMLTableElement> & VariantProps<typeof getTableClasses>;

@@ -5,0 +4,0 @@ export type TableHeaderProps = React.HTMLAttributes<HTMLTableSectionElement>;

@@ -1,3 +0,3 @@

export declare const getTabsListClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getTabsTriggerClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getTabsContentClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getTabsListClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getTabsTriggerClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
export declare const getTabsContentClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { Tabs } from "./Tabs";
export { Tabs } from './Tabs';

@@ -0,4 +1,4 @@

import { TabsProps } from './types';
import * as React from "react";
import * as TabsPrimitive from "@radix-ui/react-tabs";
import type { TabsProps } from "./types";
declare const Tabs: {

@@ -5,0 +5,0 @@ (props: TabsProps): import("react/jsx-runtime").JSX.Element;

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { VariantProps } from '../../libs';
import { getTabsContentClasses, getTabsListClasses, getTabsTriggerClasses } from './constants';
import * as TabsPrimitive from "@radix-ui/react-tabs";
import { type VariantProps } from "../../libs";
import { getTabsContentClasses, getTabsListClasses, getTabsTriggerClasses } from "./constants";
export type TabsProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>;

@@ -6,0 +5,0 @@ export type TabsListProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> & VariantProps<typeof getTabsListClasses>;

export declare const getTextClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
size?: "xs" | "sm" | "lg" | "base" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,2 +0,2 @@

import type { As, TextProps } from "./types";
import { As, TextProps } from './types';
export declare const Text: <T extends As>({ as, size, variant, children, className, ...props }: TextProps<T>) => import("react/jsx-runtime").JSX.Element;

@@ -1,4 +0,3 @@

/// <reference types="react" />
import { type VariantProps } from "../../libs";
import { getTextClasses } from "./constants";
import { VariantProps } from '../../libs';
import { getTextClasses } from './constants';
export type As = "h1" | "h2" | "h3" | "h4" | "h5" | "p" | "span";

@@ -5,0 +4,0 @@ type AllowedElements = Pick<JSX.IntrinsicElements, As>;

@@ -1,1 +0,1 @@

export declare const getThemeSwitchClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getThemeSwitchClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { ThemeSwitch } from "./ThemeSwitch";
export { ThemeSwitch } from './ThemeSwitch';

@@ -1,2 +0,2 @@

import { type ThemeSwitchProps } from "./types";
import { ThemeSwitchProps } from './types';
export declare const ThemeSwitch: ({ name, render, className, theme: defaultTheme, ...props }: ThemeSwitchProps) => import("react/jsx-runtime").JSX.Element;

@@ -1,3 +0,2 @@

/// <reference types="react" />
import { type Theme } from "../../utilities";
import { Theme } from '../../utilities';
export type ThemeSwitchProps = React.ComponentPropsWithoutRef<"label"> & {

@@ -4,0 +3,0 @@ name?: string;

export declare const getToggleClasses: (props?: ({
variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Toggle } from "./Toggle";
export { Toggle } from './Toggle';

@@ -5,5 +5,5 @@ import * as React from "react";

variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
isLoading?: boolean | undefined;

@@ -10,0 +10,0 @@ }, "variant" | "isLoading"> & {

@@ -1,7 +0,6 @@

/// <reference types="react" />
import { VariantProps } from '../../libs';
import { getButtonClasses } from '../Button/constants';
import { getToggleClasses } from './constants';
import * as TogglePrimitive from "@radix-ui/react-toggle";
import { type VariantProps } from "../../libs";
import { getButtonClasses } from "../Button/constants";
import { getToggleClasses } from "./constants";
export type BaseToggleProps = Omit<VariantProps<typeof getButtonClasses>, "variant" | "isLoading"> & VariantProps<typeof getToggleClasses>;
export type ToggleProps = React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> & BaseToggleProps;

@@ -1,1 +0,1 @@

export declare const getToggleGroupClasses: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
export declare const getToggleGroupClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;

@@ -1,1 +0,1 @@

export { ToggleGroup } from "./ToggleGroup";
export { ToggleGroup } from './ToggleGroup';

@@ -1,16 +0,15 @@

/// <reference types="react" />
import { ToggleGroupProps } from './types';
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
import type { ToggleGroupProps } from "./types";
declare const ToggleGroup: {
({ className, variant, children, ...props }: ToggleGroupProps): import("react/jsx-runtime").JSX.Element;
Item: import("react").ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & Omit<{
Item: import('react').ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & Omit<{
variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
outline?: boolean | undefined;
wide?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
isLoading?: boolean | undefined;
}, "variant" | "isLoading"> & {
variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
} & import("react").RefAttributes<HTMLButtonElement>>;
} & import('react').RefAttributes<HTMLButtonElement>>;
};
export { ToggleGroup };

@@ -1,6 +0,5 @@

/// <reference types="react" />
import { BaseToggleProps } from '../Toggle/types';
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
import { BaseToggleProps } from "../Toggle/types";
export type ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & Pick<BaseToggleProps, "variant">;
export type ToggleGroupItemProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> & BaseToggleProps;
export type ToggleGroupContextType = Pick<BaseToggleProps, "variant">;
export declare const getTooltipContentClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export declare const getTooltipArrowClasses: (props?: ({
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;

@@ -1,1 +0,1 @@

export { Tooltip } from "./Tooltip";
export { Tooltip } from './Tooltip';

@@ -1,4 +0,4 @@

import React from "react";
import { default as React } from 'react';
import { TooltipArrowProps } from './types';
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
import type { TooltipArrowProps } from "./types";
declare const Tooltip: {

@@ -5,0 +5,0 @@ (props: TooltipPrimitive.TooltipProps): import("react/jsx-runtime").JSX.Element;

@@ -1,6 +0,5 @@

/// <reference types="react" />
import { type VariantProps } from "../../libs";
import { getTooltipArrowClasses, getTooltipContentClasses } from "./constants";
import { VariantProps } from '../../libs';
import { getTooltipArrowClasses, getTooltipContentClasses } from './constants';
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
export type TooltipArrowProps = React.HTMLAttributes<React.ElementRef<typeof TooltipPrimitive.Arrow>> & TooltipPrimitive.TooltipArrowProps & VariantProps<typeof getTooltipArrowClasses>;
export type TooltipContentProps = React.HTMLAttributes<React.ElementRef<typeof TooltipPrimitive.Content>> & TooltipPrimitive.TooltipContentProps & VariantProps<typeof getTooltipContentClasses>;
/** actions */
export * from "./components/Anchor";
export * from "./components/Button";
export * from "./components/Breadcrumbs";
export * from "./components/Menu";
export * from "./components/Pagination";
export * from "./components/ThemeSwitch";
export * from "./components/Toggle";
export * from "./components/ToggleGroup";
export * from './components/Anchor';
export * from './components/Button';
export * from './components/Breadcrumbs';
export * from './components/Menu';
export * from './components/Pagination';
export * from './components/ThemeSwitch';
export * from './components/Toggle';
export * from './components/ToggleGroup';
/** data display */
export * from "./components/Accordion";
export * from "./components/Alert";
export * from "./components/Avatar";
export * from "./components/Badge";
export * from "./components/Card";
export * from "./components/Calendar";
export * from "./components/Collapsible";
export * from "./components/Description";
export * from "./components/Progress";
export * from "./components/ScrollArea";
export * from "./components/Separator";
export * from "./components/Sonner";
export * from "./components/Table";
export * from "./components/Tabs";
export * from "./components/Text";
export * from './components/Accordion';
export * from './components/Alert';
export * from './components/Avatar';
export * from './components/Badge';
export * from './components/Card';
export * from './components/Calendar';
export * from './components/Collapsible';
export * from './components/Description';
export * from './components/Progress';
export * from './components/ScrollArea';
export * from './components/Separator';
export * from './components/Sonner';
export * from './components/Table';
export * from './components/Tabs';
export * from './components/Text';
/** data input */
export * from "./components/FileUploader";
export * from "./components/Form";
export * from "./components/Combobox";
export * from "./components/DatePicker";
export * from './components/FileUploader';
export * from './components/Form';
export * from './components/Combobox';
export * from './components/DatePicker';
/** feedback */
export * from "./components/Loading";
export * from "./components/Skeleton";
export * from "./components/Tooltip";
export * from './components/Loading';
export * from './components/Skeleton';
export * from './components/Tooltip';
/** composable */
export * from "./components/AlertDialog";
export * from "./components/Command";
export * from "./components/Dialog";
export * from "./components/HoverCard";
export * from "./components/Popover";
export * from "./components/Slot";
export * from './components/AlertDialog';
export * from './components/Command';
export * from './components/Dialog';
export * from './components/HoverCard';
export * from './components/Popover';
export * from './components/Slot';

@@ -1,3 +0,3 @@

import { type VariantProps as OriginalVariantProps } from "class-variance-authority";
export { cva } from "class-variance-authority";
import { VariantProps as OriginalVariantProps } from 'class-variance-authority';
export { cva } from 'class-variance-authority';
type ExcludeNull<T> = {

@@ -4,0 +4,0 @@ [P in keyof T]: Exclude<T[P], null>;

@@ -1,1 +0,1 @@

export { cva, type VariantProps } from "./cva";
export { cva, type VariantProps } from './cva';

@@ -1,2 +0,2 @@

import { type ClassValue } from "clsx";
import { ClassValue } from 'clsx';
export declare function cn(...inputs: ClassValue[]): string;

@@ -1,2 +0,2 @@

export declare const getSubpaths: (pathname: string, pathLabels?: Record<string, string> | undefined, includeRoot?: boolean) => {
export declare const getSubpaths: (pathname: string, pathLabels?: Record<string, string>, includeRoot?: boolean) => {
href: {

@@ -3,0 +3,0 @@ pathname: string;

@@ -1,1 +0,1 @@

export { getSubpaths } from "./getSubpaths";
export { getSubpaths } from './getSubpaths';

@@ -1,3 +0,3 @@

export * from "./theme";
export { cn } from "./cn";
export { getSubpaths } from "./getSubpaths";
export * from './theme';
export { cn } from './cn';
export { getSubpaths } from './getSubpaths';
{
"name": "@mbao01/common",
"private": false,
"version": "0.0.41",
"version": "0.0.42",
"type": "module",

@@ -52,2 +52,3 @@ "author": "Ayomide Bakare",

"scripts": {
"clean": "pnpx rimraf node_modules",
"dev": "storybook dev -p 6006",

@@ -57,2 +58,4 @@ "build": "tsc && vite build",

"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prettier": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
"preview": "vite preview",

@@ -69,86 +72,89 @@ "prod": "pnpx http-server ../../docs/storybook/common --port 6006",

"dependencies": {
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-context-menu": "^2.1.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-hover-card": "^1.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-menubar": "^1.0.4",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toggle": "^1.0.3",
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@tailwindcss/typography": "^0.5.14",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-menubar": "^1.1.1",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@tailwindcss/typography": "^0.5.15",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"daisyui": "^4.6.2",
"date-fns": "^3.6.0",
"embla-carousel-react": "^8.0.2",
"react-day-picker": "^8.10.0",
"daisyui": "^4.12.10",
"embla-carousel-react": "^8.3.0",
"react-dropzone": "^14.2.3",
"react-international-phone": "^4.2.6",
"react-international-phone": "^4.3.0",
"react-otp-input": "^3.1.1",
"sonner": "^1.4.41",
"tailwind-merge": "^2.2.1",
"sonner": "^1.5.0",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"universal-cookie": "^7.1.4",
"vaul": "^0.9.0"
"universal-cookie": "^7.2.0",
"vaul": "^1.0.0"
},
"devDependencies": {
"@storybook/addon-essentials": "^8.0.6",
"@storybook/addon-interactions": "^8.0.6",
"@storybook/addon-links": "^8.0.6",
"@storybook/addon-onboarding": "^8.0.6",
"@storybook/addon-themes": "^8.0.6",
"@storybook/addon-viewport": "^8.3.3",
"@storybook/blocks": "^8.0.6",
"@storybook/react": "^8.0.6",
"@storybook/react-vite": "^8.0.6",
"@storybook/test": "^8.0.6",
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@storybook/addon-a11y": "^8.3.4",
"@storybook/addon-essentials": "^8.3.4",
"@storybook/addon-interactions": "^8.3.4",
"@storybook/addon-links": "^8.3.4",
"@storybook/addon-onboarding": "^8.3.4",
"@storybook/addon-themes": "^8.3.4",
"@storybook/addon-viewport": "^8.3.4",
"@storybook/blocks": "^8.3.4",
"@storybook/react": "^8.3.4",
"@storybook/react-vite": "^8.3.4",
"@storybook/test": "^8.3.4",
"@storybook/test-runner": "^0.19.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest-image-snapshot": "^6.4.0",
"@types/node": "^20.11.17",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.2.2",
"@vitest/ui": "^1.2.2",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"eslint-plugin-storybook": "^0.8.0",
"@types/node": "^22.7.4",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"autoprefixer": "^10.4.20",
"date-fns": "^4.1.0",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"eslint-plugin-storybook": "^0.9.0",
"jest-image-snapshot": "^6.4.0",
"jsdom": "^23.2.0",
"jsdom": "^25.0.1",
"path": "^0.12.7",
"postcss": "^8.4.35",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.0",
"storybook": "^8.0.6",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3",
"vite": "^5.1.1",
"vite-plugin-dts": "^3.7.2",
"vitest": "^1.2.2"
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-day-picker": "^9.1.3",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.2",
"storybook": "^8.3.4",
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2",
"vite": "^5.4.8",
"vite-plugin-dts": "^4.2.2",
"vitest": "^2.1.1"
},

@@ -160,3 +166,3 @@ "peerDependencies": {

},
"gitHead": "90d74b3c06abe95709a7e4e4a4e545322562e02d"
"gitHead": "eeaf76c4b41380b44e7eaed95b0391727e78010f"
}
import * as AccordionPrimitive from "@radix-ui/react-accordion";
export type AccordionProps = React.ComponentPropsWithoutRef<
typeof AccordionPrimitive.Root
>;
export type AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;

@@ -11,5 +9,3 @@ export type AccordionContentProps = React.ComponentPropsWithoutRef<

export type AccordionItemProps = React.ComponentPropsWithoutRef<
typeof AccordionPrimitive.Item
>;
export type AccordionItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;

@@ -16,0 +12,0 @@ export type AccordionTriggerProps = React.ComponentPropsWithoutRef<

import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
import { type VariantProps } from "../../libs";
import { getButtonClasses } from "../Button/constants";
import {

@@ -11,7 +12,4 @@ getDialogContentClasses,

} from "../Dialog/constants";
import { getButtonClasses } from "../Button/constants";
export type AlertDialogProps = React.ComponentPropsWithoutRef<
typeof AlertDialogPrimitive.Root
>;
export type AlertDialogProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Root>;

@@ -47,3 +45,3 @@ export type AlertDialogOverlayProps = React.ComponentPropsWithoutRef<

> &
VariantProps<typeof getButtonClasses>;
VariantProps<typeof getButtonClasses>;

@@ -50,0 +48,0 @@ export type AlertDialogCancelProps = React.ComponentPropsWithoutRef<

@@ -51,20 +51,17 @@ import { cva } from "../../libs";

export const getAvatarFallbackClasses = cva(
"flex items-center justify-center w-full",
{
...classesConfig,
variants: {
...classesConfig.variants,
size: {
4: "text-[4px]",
8: "text-base",
12: "text-lg",
16: "text-xl",
24: "text-2xl",
32: "text-3xl",
48: "text-4xl",
64: "text-5xl",
},
export const getAvatarFallbackClasses = cva("flex items-center justify-center w-full", {
...classesConfig,
variants: {
...classesConfig.variants,
size: {
4: "text-[4px]",
8: "text-base",
12: "text-lg",
16: "text-xl",
24: "text-2xl",
32: "text-3xl",
48: "text-4xl",
64: "text-5xl",
},
}
);
},
});
import * as AvatarPrimitive from "@radix-ui/react-avatar";
import { type VariantProps } from "../../libs";
import {
getAvatarClasses,
getAvatarFallbackClasses,
getAvatarImageClasses,
} from "./constants";
import { getAvatarClasses, getAvatarFallbackClasses, getAvatarImageClasses } from "./constants";

@@ -9,0 +5,0 @@ export type AvatarProps = Omit<

@@ -1,1 +0,1 @@

export { Badge } from './Badge';
export { Badge } from "./Badge";
import { cva } from "../../libs";
export const getButtonClasses = cva("btn", {
export const getButtonClasses = cva("btn [&:disabled]:text-opacity-50", {
variants: {

@@ -5,0 +5,0 @@ variant: {

@@ -0,3 +1,3 @@

import { type ButtonHTMLAttributes } from "react";
import { type VariantProps } from "../../libs";
import { type ButtonHTMLAttributes } from "react";
import { getButtonClasses } from "./constants";

@@ -4,0 +4,0 @@

@@ -5,4 +5,3 @@ import React from "react";

export type CardProps = React.HTMLAttributes<HTMLDivElement> &
VariantProps<typeof getCardClasses>;
export type CardProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getCardClasses>;

@@ -9,0 +8,0 @@ export type CardActionsProps = React.HTMLAttributes<HTMLDivElement>;

@@ -15,16 +15,13 @@ import { cva } from "../../libs";

export const getCarouselItemClasses = cva(
"min-w-0 shrink-0 grow-0 basis-full",
{
variants: {
orientation: {
horizontal: "pl-4",
vertical: "pt-4",
},
export const getCarouselItemClasses = cva("min-w-0 shrink-0 grow-0 basis-full", {
variants: {
orientation: {
horizontal: "pl-4",
vertical: "pt-4",
},
defaultVariants: {
orientation: "horizontal",
},
}
);
},
defaultVariants: {
orientation: "horizontal",
},
});

@@ -31,0 +28,0 @@ export const getCarouselNextClasses = cva(

@@ -1,2 +0,2 @@

import { type UseEmblaCarouselType } from "embla-carousel-react";
import type { UseEmblaCarouselType } from "embla-carousel-react";
import useEmblaCarousel from "embla-carousel-react";

@@ -3,0 +3,0 @@

import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
export type CollapsibleProps = React.ComponentPropsWithoutRef<
typeof CollapsiblePrimitive.Root
>;
export type CollapsibleProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>;

@@ -13,5 +13,3 @@ import { cva } from "../../libs";

export const getCommandInputWrapperClasses = cva(
"flex items-center border-b px-3"
);
export const getCommandInputWrapperClasses = cva("flex items-center border-b px-3");

@@ -22,5 +20,3 @@ export const getCommandInputClasses = cva(

export const getCommandListClasses = cva(
"max-h-[300px] overflow-y-auto overflow-x-hidden"
);
export const getCommandListClasses = cva("max-h-[300px] overflow-y-auto overflow-x-hidden");

@@ -27,0 +23,0 @@ export const getCommandEmptyClasses = cva("py-6 text-center text-sm");

import { Command as CommandPrimitive } from "cmdk";
import { type VariantProps } from "../../libs";
import { type DialogProps } from "../Dialog/types";
import { type VariantProps } from "../../libs";
import { getCommandClasses, getCommandInputClasses } from "./constants";
export type CommandProps = React.ComponentPropsWithoutRef<
typeof CommandPrimitive
> &
export type CommandProps = React.ComponentPropsWithoutRef<typeof CommandPrimitive> &
VariantProps<typeof getCommandClasses>;
export type CommandInputProps = React.ComponentPropsWithoutRef<
typeof CommandPrimitive.Input
> &
export type CommandInputProps = React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input> &
VariantProps<typeof getCommandInputClasses>;
export type CommandDialogProps = DialogProps;

@@ -1,19 +0,12 @@

import {
DateRange,
DayPickerMultipleProps,
DayPickerRangeProps,
DayPickerSingleProps,
} from "react-day-picker";
import { ButtonProps } from "../Button/types";
import type { DateRange, PropsBase, PropsMulti, PropsRange, PropsSingle } from "react-day-picker";
import { type ButtonProps } from "../Button/types";
type BaseDatePickerProps = Pick<
ButtonProps,
"variant" | "outline" | "wide" | "size" | "name" | "disabled"
> & {
label?: string;
triggerClassName?: string;
};
type BaseDatePickerProps = Omit<PropsBase, "mode"> &
Pick<ButtonProps, "variant" | "outline" | "wide" | "size" | "name" | "disabled"> & {
label?: string;
triggerClassName?: string;
};
export type DatePickerProps = BaseDatePickerProps &
Omit<DayPickerSingleProps, "mode"> & {
Omit<PropsSingle, "mode"> & {
children?: ({

@@ -32,3 +25,3 @@ date,

export type DateRangePickerProps = BaseDatePickerProps &
Omit<DayPickerRangeProps, "mode"> & {
Omit<PropsRange, "mode"> & {
defaultRange?: DateRange;

@@ -39,14 +32,10 @@ getRangeValue?: (range: DateRange | undefined) => {

};
getRangeLabel?: (
range: DateRange | undefined
) => string | JSX.Element | undefined;
getRangeLabel?: (range: DateRange | undefined) => string | JSX.Element | undefined;
};
export type MultipleDatesPickerProps = BaseDatePickerProps &
Omit<DayPickerMultipleProps, "mode"> & {
Omit<PropsMulti, "mode"> & {
defaultDates?: Date[];
getDatesValue?: (dates: Date[] | undefined) => string[] | undefined;
getDatesLabel?: (
dates: Date[] | undefined
) => string | JSX.Element | undefined;
getDatesLabel?: (dates: Date[] | undefined) => string | JSX.Element | undefined;
};

@@ -32,5 +32,3 @@ import { cva } from "../../libs";

export const getDialogHeaderClasses = cva(
"flex flex-col space-y-1.5 text-center sm:text-left"
);
export const getDialogHeaderClasses = cva("flex flex-col space-y-1.5 text-center sm:text-left");

@@ -41,5 +39,3 @@ export const getDialogFooterClasses = cva(

export const getDialogTitleClasses = cva(
"text-lg font-semibold leading-none tracking-tight"
);
export const getDialogTitleClasses = cva("text-lg font-semibold leading-none tracking-tight");

@@ -46,0 +42,0 @@ export const getDialogDescriptionClasses = cva("text-sm text-muted-foreground");

@@ -13,19 +13,11 @@ import * as DialogPrimitive from "@radix-ui/react-dialog";

export type DialogProps = React.ComponentPropsWithoutRef<
typeof DialogPrimitive.Root
>;
export type DialogProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>;
export type DialogOverlayProps = React.ComponentPropsWithoutRef<
typeof DialogPrimitive.Overlay
> &
export type DialogOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay> &
VariantProps<typeof getDialogOverlayClasses>;
export type DialogCloseProps = React.ComponentPropsWithoutRef<
typeof DialogPrimitive.Close
> &
export type DialogCloseProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Close> &
VariantProps<typeof getDialogCloseClasses>;
export type DialogContentProps = React.ComponentPropsWithoutRef<
typeof DialogPrimitive.Content
> &
export type DialogContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> &
VariantProps<typeof getDialogContentClasses> & {

@@ -42,5 +34,3 @@ showClose?: boolean;

export type DialogTitleProps = React.ComponentPropsWithoutRef<
typeof DialogPrimitive.Title
> &
export type DialogTitleProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title> &
VariantProps<typeof getDialogTitleClasses>;

@@ -47,0 +37,0 @@

@@ -9,5 +9,3 @@ import { cva } from "../../libs";

export const getDrawerHeaderClasses = cva(
"grid gap-1.5 p-4 text-center sm:text-left"
);
export const getDrawerHeaderClasses = cva("grid gap-1.5 p-4 text-center sm:text-left");

@@ -18,4 +16,2 @@ export const getDrawerFooterClasses = cva("mt-auto flex flex-col gap-2 p-4");

export const getDrawerTitleClasses = cva(
"text-lg font-semibold leading-none tracking-tight"
);
export const getDrawerTitleClasses = cva("text-lg font-semibold leading-none tracking-tight");
import type { Dispatch, Ref, SetStateAction } from "react";
import type { DropzoneState, DropzoneOptions } from "react-dropzone";
import type { DropzoneOptions, DropzoneState } from "react-dropzone";

@@ -4,0 +4,0 @@ export type FileUploaderProps = {

import { type VariantProps } from "../../../libs";
import { getCheckboxClasses } from "./constants";
export type CheckboxProps = Omit<
React.HTMLProps<HTMLInputElement>,
"size" | "ref" | "type"
> &
export type CheckboxProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref" | "type"> &
VariantProps<typeof getCheckboxClasses>;
import * as LabelPrimitive from "@radix-ui/react-label";
import { type VariantProps } from "../../../../libs";
import { Text } from "../../../Text";
import { getLabelClasses } from "./constants";
import { Text } from "../../../Text";
export type LabelProps = React.ComponentPropsWithoutRef<
typeof LabelPrimitive.Root
> &
export type LabelProps = React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &
VariantProps<typeof getLabelClasses>;
export type LabelTextProps = Omit<React.ComponentProps<typeof Text>, "as">;
import { cva } from "../../../libs";
export const getInputClasses = cva(
"input rounded-md transition-all duration-100",
{
variants: {
variant: {
default: "bg-transparent",
accent: "input-accent",
error: "input-error",
ghost: "input-ghost",
info: "input-info",
primary: "input-primary",
secondary: "input-secondary",
success: "input-success",
warning: "input-warning",
},
outline: {
true: "input-bordered",
},
wide: {
true: "w-full",
},
size: {
xs: "input-xs",
sm: "input-sm",
md: "input-md",
lg: "input-lg",
},
type: {
["file" as string]:
"file:border-0 file:bg-transparent file:text-sm file:font-medium file:h-full",
},
export const getInputClasses = cva("input rounded-md transition-all duration-100", {
variants: {
variant: {
default: "bg-transparent",
accent: "input-accent",
error: "input-error",
ghost: "input-ghost",
info: "input-info",
primary: "input-primary",
secondary: "input-secondary",
success: "input-success",
warning: "input-warning",
},
compoundVariants: [
{
size: undefined,
className: "min-h-fit h-10",
},
{
variant: undefined,
outline: true,
className: "border-neutral-content",
},
{
variant: "default",
outline: true,
className: "border-base-content",
},
],
}
);
outline: {
true: "input-bordered",
},
wide: {
true: "w-full",
},
size: {
xs: "input-xs",
sm: "input-sm",
md: "input-md",
lg: "input-lg",
},
type: {
["file" as string]:
"file:border-0 file:bg-transparent file:text-sm file:font-medium file:h-full",
},
},
compoundVariants: [
{
size: undefined,
className: "min-h-fit h-10",
},
{
variant: undefined,
outline: true,
className: "border-neutral-content",
},
{
variant: "default",
outline: true,
className: "border-base-content",
},
],
});
import { type VariantProps } from "../../../libs";
import { getInputClasses } from "./constants";
export type InputProps = Omit<
React.HTMLProps<HTMLInputElement>,
"size" | "ref"
> &
export type InputProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref"> &
Omit<VariantProps<typeof getInputClasses>, "type">;
import { type VariantProps } from "../../../libs";
import { getRadioClasses } from "./constants";
export type RadioProps = Omit<
React.HTMLProps<HTMLInputElement>,
"size" | "ref" | "type"
> &
export type RadioProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref" | "type"> &
VariantProps<typeof getRadioClasses>;
import { type VariantProps } from "../../../libs";
import { getRangeClasses } from "./constants";
export type RangeProps = Omit<
React.HTMLProps<HTMLInputElement>,
"size" | "ref" | "type"
> &
export type RangeProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref" | "type"> &
VariantProps<typeof getRangeClasses>;

@@ -5,15 +5,9 @@ import * as SelectPrimitive from "@radix-ui/react-select";

export type SelectTriggerProps = React.ComponentPropsWithoutRef<
typeof SelectPrimitive.Trigger
> &
export type SelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &
VariantProps<typeof getSelectTriggerClasses>;
export type SelectItemProps = React.ComponentPropsWithoutRef<
typeof SelectPrimitive.Item
> &
export type SelectItemProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> &
VariantProps<typeof getSelectTriggerClasses>;
export type SelectContentProps = React.ComponentPropsWithoutRef<
typeof SelectPrimitive.Content
> &
export type SelectContentProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> &
VariantProps<typeof getSelectContentClasses>;

@@ -17,28 +17,25 @@ import { cva } from "../../../libs";

export const getSliderTrackClasses = cva(
"relative h-2 w-full grow overflow-hidden rounded-full",
{
variants: {
variant: {
primary: "bg-neutral-content",
secondary: "bg-neutral-content",
accent: "bg-neutral-content",
success: "bg-neutral-content",
warning: "bg-neutral-content",
info: "bg-neutral-content",
error: "bg-neutral-content",
neutral: "bg-base-200",
},
size: {
xs: "h-0.5",
sm: "h-1",
md: "h-2",
lg: "h-3",
},
export const getSliderTrackClasses = cva("relative h-2 w-full grow overflow-hidden rounded-full", {
variants: {
variant: {
primary: "bg-neutral-content",
secondary: "bg-neutral-content",
accent: "bg-neutral-content",
success: "bg-neutral-content",
warning: "bg-neutral-content",
info: "bg-neutral-content",
error: "bg-neutral-content",
neutral: "bg-base-200",
},
defaultVariants: {
variant: "neutral",
size: {
xs: "h-0.5",
sm: "h-1",
md: "h-2",
lg: "h-3",
},
}
);
},
defaultVariants: {
variant: "neutral",
},
});

@@ -45,0 +42,0 @@ export const getSliderClasses = cva("absolute h-full", {

@@ -0,3 +1,3 @@

import * as SliderPrimitive from "@radix-ui/react-slider";
import { type VariantProps } from "../../../libs";
import * as SliderPrimitive from "@radix-ui/react-slider";
import {

@@ -10,5 +10,3 @@ getSliderClasses,

export type SliderProps = React.ComponentPropsWithoutRef<
typeof SliderPrimitive.Root
> &
export type SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> &
VariantProps<typeof getSliderClasses> &

@@ -15,0 +13,0 @@ VariantProps<typeof getSliderTrackClasses> &

import { type VariantProps } from "../../../libs";
import { getSwitchClasses } from "./constants";
export type SwitchProps = Omit<
React.HTMLProps<HTMLInputElement>,
"size" | "ref" | "type"
> &
export type SwitchProps = Omit<React.HTMLProps<HTMLInputElement>, "size" | "ref" | "type"> &
VariantProps<typeof getSwitchClasses>;
import { cva } from "../../../libs";
export const getTextareaClasses = cva(
"textarea rounded-md transition-all duration-100",
{
variants: {
variant: {
default: "bg-transparent",
accent: "textarea-accent",
error: "textarea-error",
ghost: "textarea-ghost",
info: "textarea-info",
primary: "textarea-primary",
secondary: "textarea-secondary",
success: "textarea-success",
warning: "textarea-warning",
},
outline: {
true: "textarea-bordered",
},
wide: {
true: "w-full",
},
size: {
xs: "textarea-xs",
sm: "textarea-sm",
md: "textarea-md",
lg: "textarea-lg",
},
export const getTextareaClasses = cva("textarea rounded-md transition-all duration-100", {
variants: {
variant: {
default: "bg-transparent",
accent: "textarea-accent",
error: "textarea-error",
ghost: "textarea-ghost",
info: "textarea-info",
primary: "textarea-primary",
secondary: "textarea-secondary",
success: "textarea-success",
warning: "textarea-warning",
},
compoundVariants: [
{
size: undefined,
className: "min-h-fit h-10",
},
{
variant: undefined,
outline: true,
className: "border-neutral-content",
},
{
variant: "default",
outline: true,
className: "border-base-content",
},
],
}
);
outline: {
true: "textarea-bordered",
},
wide: {
true: "w-full",
},
size: {
xs: "textarea-xs",
sm: "textarea-sm",
md: "textarea-md",
lg: "textarea-lg",
},
},
compoundVariants: [
{
size: undefined,
className: "min-h-fit h-10",
},
{
variant: undefined,
outline: true,
className: "border-neutral-content",
},
{
variant: "default",
outline: true,
className: "border-base-content",
},
],
});
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
export type HoverCardProps = React.ComponentPropsWithoutRef<
typeof HoverCardPrimitive.Root
>;
export type HoverCardProps = React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Root>;

@@ -15,5 +15,3 @@ import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";

export type ContextMenuProps = React.ComponentPropsWithoutRef<
typeof ContextMenuPrimitive.Root
>;
export type ContextMenuProps = React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Root>;

@@ -20,0 +18,0 @@ export type ContextMenuSubTriggerProps = React.ComponentPropsWithoutRef<

@@ -15,5 +15,3 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";

export type DropdownMenuProps = React.ComponentPropsWithoutRef<
typeof DropdownMenuPrimitive.Root
>;
export type DropdownMenuProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root>;

@@ -20,0 +18,0 @@ export type DropdownMenuSubTriggerProps = React.ComponentPropsWithoutRef<

@@ -16,9 +16,5 @@ import * as MenubarPrimitive from "@radix-ui/react-menubar";

export type MenubarProps = React.ComponentPropsWithoutRef<
typeof MenubarPrimitive.Root
>;
export type MenubarProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>;
export type MenubarTriggerProps = React.ComponentPropsWithoutRef<
typeof MenubarPrimitive.Trigger
> &
export type MenubarTriggerProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger> &
VariantProps<typeof getMenubarTriggerClasses>;

@@ -31,5 +27,3 @@

export type MenubarContentProps = React.ComponentPropsWithoutRef<
typeof MenubarPrimitive.Content
> &
export type MenubarContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> &
VariantProps<typeof getMenubarContentClasses>;

@@ -42,5 +36,3 @@

export type MenubarItemProps = React.ComponentPropsWithoutRef<
typeof MenubarPrimitive.Item
> &
export type MenubarItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> &
VariantProps<typeof getMenubarItemClasses>;

@@ -58,5 +50,3 @@

export type MenubarLabelProps = React.ComponentPropsWithoutRef<
typeof MenubarPrimitive.Label
> &
export type MenubarLabelProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> &
VariantProps<typeof getMenubarLabelClasses>;

@@ -63,0 +53,0 @@

@@ -5,9 +5,5 @@ import { cva } from "../../libs";

export const getPaginationContentClasses = cva(
"flex flex-row items-center gap-1"
);
export const getPaginationContentClasses = cva("flex flex-row items-center gap-1");
export const getPaginationEllipsisClasses = cva(
"flex h-9 w-9 items-center justify-center"
);
export const getPaginationEllipsisClasses = cva("flex h-9 w-9 items-center justify-center");

@@ -14,0 +10,0 @@ export const getPaginationNextClasses = cva("gap-1 px-3");

@@ -5,9 +5,5 @@ import * as PopoverPrimitive from "@radix-ui/react-popover";

export type PopoverProps = React.ComponentPropsWithoutRef<
typeof PopoverPrimitive.Root
>;
export type PopoverProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Root>;
export type PopoverContentProps = React.ComponentPropsWithoutRef<
typeof PopoverPrimitive.Content
> &
export type PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> &
VariantProps<typeof getPopoverContentClasses>;
import { cva } from "../../libs";
export const getProgressClasses = cva(
"relative h-2 w-full overflow-hidden rounded-full",
{
variants: {
variant: {
accent: "bg-accent/20",
base: "bg-base-content/20",
error: "bg-error/20",
ghost: "bg-ghost/20",
info: "bg-info/20",
link: "bg-link/20",
neutral: "bg-neutral/20",
primary: "bg-primary/20",
secondary: "bg-secondary/20",
success: "bg-success/20",
warning: "bg-warning/20",
},
export const getProgressClasses = cva("relative h-2 w-full overflow-hidden rounded-full", {
variants: {
variant: {
accent: "bg-accent/20",
base: "bg-base-content/20",
error: "bg-error/20",
ghost: "bg-ghost/20",
info: "bg-info/20",
link: "bg-link/20",
neutral: "bg-neutral/20",
primary: "bg-primary/20",
secondary: "bg-secondary/20",
success: "bg-success/20",
warning: "bg-warning/20",
},
defaultVariants: {
variant: "base",
},
}
);
},
defaultVariants: {
variant: "base",
},
});
export const getProgressIndicatorClasses = cva(
"h-full w-full flex-1 transition-all",
{
variants: {
variant: {
accent: "bg-accent",
base: "bg-base-content",
error: "bg-error",
ghost: "bg-ghost",
info: "bg-info",
link: "bg-link",
neutral: "bg-neutral",
primary: "bg-primary",
secondary: "bg-secondary",
success: "bg-success",
warning: "bg-warning",
},
export const getProgressIndicatorClasses = cva("h-full w-full flex-1 transition-all", {
variants: {
variant: {
accent: "bg-accent",
base: "bg-base-content",
error: "bg-error",
ghost: "bg-ghost",
info: "bg-info",
link: "bg-link",
neutral: "bg-neutral",
primary: "bg-primary",
secondary: "bg-secondary",
success: "bg-success",
warning: "bg-warning",
},
defaultVariants: {
variant: "base",
},
}
);
},
defaultVariants: {
variant: "base",
},
});

@@ -5,13 +5,10 @@ import { cva } from "../../libs";

export const getScrollAreaScrollbarClasses = cva(
"flex touch-none select-none transition-colors",
{
variants: {
orientation: {
horizontal: "h-2.5 flex-col border-t border-t-transparent p-[1px]",
vertical: "h-full w-2.5 border-l border-l-transparent p-[1px]",
},
export const getScrollAreaScrollbarClasses = cva("flex touch-none select-none transition-colors", {
variants: {
orientation: {
horizontal: "h-2.5 flex-col border-t border-t-transparent p-[1px]",
vertical: "h-full w-2.5 border-l border-l-transparent p-[1px]",
},
}
);
},
});

@@ -35,4 +32,2 @@ export const getScrollAreaThumbClasses = cva("relative flex-1 rounded-full", {

export const getScrollAreaViewportClasses = cva(
"h-full w-full rounded-[inherit]"
);
export const getScrollAreaViewportClasses = cva("h-full w-full rounded-[inherit]");

@@ -5,5 +5,3 @@ import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";

export type ScrollAreaProps = React.ComponentPropsWithoutRef<
typeof ScrollAreaPrimitive.Root
> & {
export type ScrollAreaProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & {
scrollbar?: ScrollbarProps;

@@ -10,0 +8,0 @@ };

import * as SeparatorPrimitive from "@radix-ui/react-separator";
export type SeparatorProps = React.ComponentPropsWithoutRef<
typeof SeparatorPrimitive.Root
>;
export type SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;

@@ -45,12 +45,7 @@ import { cva } from "../../libs";

info: "group-[.sonner]:!bg-info group-[.sonner]:!text-info-content",
neutral:
"group-[.sonner]:!bg-neutral group-[.sonner]:!text-neutral-content",
primary:
"group-[.sonner]:!bg-primary group-[.sonner]:!text-primary-content",
secondary:
"group-[.sonner]:!bg-secondary group-[.sonner]:!text-secondary-content",
success:
"group-[.sonner]:!bg-success group-[.sonner]:!text-success-content",
warning:
"group-[.sonner]:!bg-warning group-[.sonner]:!text-warning-content",
neutral: "group-[.sonner]:!bg-neutral group-[.sonner]:!text-neutral-content",
primary: "group-[.sonner]:!bg-primary group-[.sonner]:!text-primary-content",
secondary: "group-[.sonner]:!bg-secondary group-[.sonner]:!text-secondary-content",
success: "group-[.sonner]:!bg-success group-[.sonner]:!text-success-content",
warning: "group-[.sonner]:!bg-warning group-[.sonner]:!text-warning-content",
},

@@ -80,4 +75,3 @@ outline: {

variant: "neutral",
className:
"group-[.sonner]:!border-neutral group-[.sonner]:!text-neutral",
className: "group-[.sonner]:!border-neutral group-[.sonner]:!text-neutral",
},

@@ -87,4 +81,3 @@ {

variant: "primary",
className:
"group-[.sonner]:!border-primary group-[.sonner]:!text-primary",
className: "group-[.sonner]:!border-primary group-[.sonner]:!text-primary",
},

@@ -94,4 +87,3 @@ {

variant: "secondary",
className:
"group-[.sonner]:!border-secondary group-[.sonner]:!text-secondary",
className: "group-[.sonner]:!border-secondary group-[.sonner]:!text-secondary",
},

@@ -101,4 +93,3 @@ {

variant: "success",
className:
"group-[.sonner]:!border-success group-[.sonner]:!text-success",
className: "group-[.sonner]:!border-success group-[.sonner]:!text-success",
},

@@ -108,6 +99,5 @@ {

variant: "warning",
className:
"group-[.sonner]:!border-warning group-[.sonner]:!text-warning",
className: "group-[.sonner]:!border-warning group-[.sonner]:!text-warning",
},
],
});

@@ -7,12 +7,6 @@ import { Toaster } from "sonner";

export type ToasterProps = Omit<
React.ComponentProps<typeof Toaster>,
"closeButton"
> &
export type ToasterProps = Omit<React.ComponentProps<typeof Toaster>, "closeButton"> &
VariantProps<typeof getToastClasses> &
Partial<
Record<
"actionButton" | "cancelButton" | "closeButton",
ToastButtonVariantProps
>
> & { showCloseButton?: boolean };
Partial<Record<"actionButton" | "cancelButton" | "closeButton", ToastButtonVariantProps>> & {
showCloseButton?: boolean;
};
import * as TabsPrimitive from "@radix-ui/react-tabs";
import { type VariantProps } from "../../libs";
import {
getTabsContentClasses,
getTabsListClasses,
getTabsTriggerClasses,
} from "./constants";
import { getTabsContentClasses, getTabsListClasses, getTabsTriggerClasses } from "./constants";
export type TabsProps = React.ComponentPropsWithoutRef<
typeof TabsPrimitive.Root
>;
export type TabsProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>;
export type TabsListProps = React.ComponentPropsWithoutRef<
typeof TabsPrimitive.List
> &
export type TabsListProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> &
VariantProps<typeof getTabsListClasses>;
export type TabsTriggerProps = React.ComponentPropsWithoutRef<
typeof TabsPrimitive.Trigger
> &
export type TabsTriggerProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> &
VariantProps<typeof getTabsTriggerClasses>;
export type TabsContentProps = React.ComponentPropsWithoutRef<
typeof TabsPrimitive.Content
> &
export type TabsContentProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content> &
VariantProps<typeof getTabsContentClasses>;

@@ -1,1 +0,1 @@

export { Text } from './Text';
export { Text } from "./Text";

@@ -8,7 +8,5 @@ import { type VariantProps } from "../../libs";

export type TextProps<T extends As> = React.HTMLAttributes<
HTMLElement & AllowedElements[T]
> &
export type TextProps<T extends As> = React.HTMLAttributes<HTMLElement & AllowedElements[T]> &
VariantProps<typeof getTextClasses> & {
as?: As;
};

@@ -6,11 +6,6 @@ import * as TogglePrimitive from "@radix-ui/react-toggle";

export type BaseToggleProps = Omit<
VariantProps<typeof getButtonClasses>,
"variant" | "isLoading"
> &
export type BaseToggleProps = Omit<VariantProps<typeof getButtonClasses>, "variant" | "isLoading"> &
VariantProps<typeof getToggleClasses>;
export type ToggleProps = React.ComponentPropsWithoutRef<
typeof TogglePrimitive.Root
> &
export type ToggleProps = React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> &
BaseToggleProps;
import { cva } from "../../libs";
export const getToggleGroupClasses = cva(
"flex items-center justify-center gap-1"
);
export const getToggleGroupClasses = cva("flex items-center justify-center gap-1");
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
import { BaseToggleProps } from "../Toggle/types";
export type ToggleGroupProps = React.ComponentPropsWithoutRef<
typeof ToggleGroupPrimitive.Root
> &
export type ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> &
Pick<BaseToggleProps, "variant">;

@@ -8,0 +6,0 @@

@@ -0,4 +1,4 @@

import * as TooltipPrimitive from "@radix-ui/react-tooltip";
import { type VariantProps } from "../../libs";
import { getTooltipArrowClasses, getTooltipContentClasses } from "./constants";
import * as TooltipPrimitive from "@radix-ui/react-tooltip";

@@ -5,0 +5,0 @@ export type TooltipArrowProps = React.HTMLAttributes<

@@ -8,4 +8,2 @@ import { type VariantProps as OriginalVariantProps } from "class-variance-authority";

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type VariantProps<T extends (...args: any) => any> = ExcludeNull<
OriginalVariantProps<T>
>;
export type VariantProps<T extends (...args: any) => any> = ExcludeNull<OriginalVariantProps<T>>;

@@ -1,2 +0,3 @@

import { type ClassValue, clsx } from "clsx";
import type { ClassValue } from "clsx";
import { clsx } from "clsx";
import { twMerge } from "tailwind-merge";

@@ -3,0 +4,0 @@

@@ -15,3 +15,3 @@ const PATH_SEPARATOR = "/";

pathname: string,
pathLabels?: Record<string, string> | undefined,
pathLabels?: Record<string, string>,
includeRoot?: boolean

@@ -22,5 +22,3 @@ ) => {

const breadcrumbs = segments.map((segment, index) => {
const path = `${PATH_SEPARATOR}${segments
.slice(0, index + 1)
.join(PATH_SEPARATOR)}`;
const path = `${PATH_SEPARATOR}${segments.slice(0, index + 1).join(PATH_SEPARATOR)}`;

@@ -27,0 +25,0 @@ return createPathObject(segment, path, pathLabels);

@@ -9,3 +9,3 @@ {

},
"include": ["vite.config.ts", ".storybook"]
"include": ["vite*.config.ts", ".storybook"]
}

@@ -0,3 +1,3 @@

import { cleanup } from "@testing-library/react";
import { afterEach, vi } from "vitest";
import { cleanup } from "@testing-library/react";
import "@testing-library/jest-dom/vitest";

@@ -18,2 +18,18 @@

window.HTMLElement.prototype.scrollIntoView = vi.fn();
Object.defineProperty(window, "matchMedia", {
writable: true,
value: vi.fn().mockImplementation((query: MediaQueryList) => ({
matches: false,
media: query,
onchange: null,
addListener: vi.fn(),
removeListener: vi.fn(),
addEventListener: vi.fn(),
removeEventListener: vi.fn(),
dispatchEvent: vi.fn(),
})),
});
// runs a cleanup after each test case (e.g. clearing jsdom)

@@ -20,0 +36,0 @@ afterEach(() => {

@@ -0,3 +1,3 @@

import react from "@vitejs/plugin-react";
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";

@@ -13,2 +13,3 @@ export default defineConfig({

enabled: true,
ignoreEmptyLines: true,
provider: "v8",

@@ -15,0 +16,0 @@ reporter: ["text", "html", "clover", "json"],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc