@use-stall/ui 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +10 -14
- package/dist/index.d.ts +10 -14
- package/dist/index.js +86 -95
- package/dist/index.mjs +100 -108
- package/package.json +23 -20
- package/dist/styles.css +0 -3
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
package/dist/index.d.mts
CHANGED
|
@@ -17,7 +17,6 @@ import { Drawer as Drawer$1 } from 'vaul';
|
|
|
17
17
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
18
18
|
import * as tailwind_variants from 'tailwind-variants';
|
|
19
19
|
import { VariantProps as VariantProps$1 } from 'tailwind-variants';
|
|
20
|
-
export { ClassValue, VariantProps } from 'tailwind-variants';
|
|
21
20
|
import * as _base_ui_components_react_field from '@base-ui-components/react/field';
|
|
22
21
|
import { Field as Field$1 } from '@base-ui-components/react/field';
|
|
23
22
|
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
@@ -329,23 +328,20 @@ declare const DropdownMenuShortcut: {
|
|
|
329
328
|
displayName: string;
|
|
330
329
|
};
|
|
331
330
|
|
|
332
|
-
type AsProp<T extends React.ElementType> = {
|
|
331
|
+
type AsProp<T extends React$1.ElementType> = {
|
|
333
332
|
as?: T;
|
|
334
333
|
};
|
|
335
|
-
type PropsToOmit<T extends React.ElementType, P> = keyof (AsProp<T> & P);
|
|
336
|
-
type PolymorphicComponentProp<T extends React.ElementType, Props =
|
|
337
|
-
type PolymorphicRef<T extends React.ElementType> = React.ComponentPropsWithRef<T>[
|
|
338
|
-
type PolymorphicComponentPropWithRef<T extends React.ElementType, Props =
|
|
334
|
+
type PropsToOmit<T extends React$1.ElementType, P> = keyof (AsProp<T> & P);
|
|
335
|
+
type PolymorphicComponentProp<T extends React$1.ElementType, Props extends object = Record<string, never>> = React$1.PropsWithChildren<Props & AsProp<T>> & Omit<React$1.ComponentPropsWithoutRef<T>, PropsToOmit<T, Props>>;
|
|
336
|
+
type PolymorphicRef<T extends React$1.ElementType> = React$1.ComponentPropsWithRef<T>["ref"];
|
|
337
|
+
type PolymorphicComponentPropWithRef<T extends React$1.ElementType, Props extends object = Record<string, never>> = PolymorphicComponentProp<T, Props> & {
|
|
339
338
|
ref?: PolymorphicRef<T>;
|
|
340
339
|
};
|
|
341
|
-
type PolymorphicComponentPropsWithRef<T extends React.ElementType, P =
|
|
342
|
-
type PolymorphicComponentProps<T extends React.ElementType, P =
|
|
343
|
-
type PolymorphicComponent<P> = {
|
|
344
|
-
<T extends React.ElementType>(props: PolymorphicComponentPropsWithRef<T, P>): React.ReactNode;
|
|
340
|
+
type PolymorphicComponentPropsWithRef<T extends React$1.ElementType, P extends object = Record<string, never>> = PolymorphicComponentPropWithRef<T, P>;
|
|
341
|
+
type PolymorphicComponentProps<T extends React$1.ElementType, P extends object = Record<string, never>> = PolymorphicComponentProp<T, P>;
|
|
342
|
+
type PolymorphicComponent<P extends object> = {
|
|
343
|
+
<T extends React$1.ElementType>(props: PolymorphicComponentPropsWithRef<T, P>): React$1.ReactNode;
|
|
345
344
|
};
|
|
346
|
-
|
|
347
|
-
declare const tv: tailwind_variants.TV;
|
|
348
|
-
|
|
349
345
|
declare const fancyButtonVariants: tailwind_variants.TVReturnType<{
|
|
350
346
|
variant: {
|
|
351
347
|
neutral: {
|
|
@@ -786,4 +782,4 @@ declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrim
|
|
|
786
782
|
|
|
787
783
|
declare function cn(...inputs: ClassValue[]): string;
|
|
788
784
|
|
|
789
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type PasswordInputProps, PhoneNumberInput, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, PriceInput, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants,
|
|
785
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type PasswordInputProps, PhoneNumberInput, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, PriceInput, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants, useComboboxFilter, useFormField };
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ import { Drawer as Drawer$1 } from 'vaul';
|
|
|
17
17
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
18
18
|
import * as tailwind_variants from 'tailwind-variants';
|
|
19
19
|
import { VariantProps as VariantProps$1 } from 'tailwind-variants';
|
|
20
|
-
export { ClassValue, VariantProps } from 'tailwind-variants';
|
|
21
20
|
import * as _base_ui_components_react_field from '@base-ui-components/react/field';
|
|
22
21
|
import { Field as Field$1 } from '@base-ui-components/react/field';
|
|
23
22
|
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
@@ -329,23 +328,20 @@ declare const DropdownMenuShortcut: {
|
|
|
329
328
|
displayName: string;
|
|
330
329
|
};
|
|
331
330
|
|
|
332
|
-
type AsProp<T extends React.ElementType> = {
|
|
331
|
+
type AsProp<T extends React$1.ElementType> = {
|
|
333
332
|
as?: T;
|
|
334
333
|
};
|
|
335
|
-
type PropsToOmit<T extends React.ElementType, P> = keyof (AsProp<T> & P);
|
|
336
|
-
type PolymorphicComponentProp<T extends React.ElementType, Props =
|
|
337
|
-
type PolymorphicRef<T extends React.ElementType> = React.ComponentPropsWithRef<T>[
|
|
338
|
-
type PolymorphicComponentPropWithRef<T extends React.ElementType, Props =
|
|
334
|
+
type PropsToOmit<T extends React$1.ElementType, P> = keyof (AsProp<T> & P);
|
|
335
|
+
type PolymorphicComponentProp<T extends React$1.ElementType, Props extends object = Record<string, never>> = React$1.PropsWithChildren<Props & AsProp<T>> & Omit<React$1.ComponentPropsWithoutRef<T>, PropsToOmit<T, Props>>;
|
|
336
|
+
type PolymorphicRef<T extends React$1.ElementType> = React$1.ComponentPropsWithRef<T>["ref"];
|
|
337
|
+
type PolymorphicComponentPropWithRef<T extends React$1.ElementType, Props extends object = Record<string, never>> = PolymorphicComponentProp<T, Props> & {
|
|
339
338
|
ref?: PolymorphicRef<T>;
|
|
340
339
|
};
|
|
341
|
-
type PolymorphicComponentPropsWithRef<T extends React.ElementType, P =
|
|
342
|
-
type PolymorphicComponentProps<T extends React.ElementType, P =
|
|
343
|
-
type PolymorphicComponent<P> = {
|
|
344
|
-
<T extends React.ElementType>(props: PolymorphicComponentPropsWithRef<T, P>): React.ReactNode;
|
|
340
|
+
type PolymorphicComponentPropsWithRef<T extends React$1.ElementType, P extends object = Record<string, never>> = PolymorphicComponentPropWithRef<T, P>;
|
|
341
|
+
type PolymorphicComponentProps<T extends React$1.ElementType, P extends object = Record<string, never>> = PolymorphicComponentProp<T, P>;
|
|
342
|
+
type PolymorphicComponent<P extends object> = {
|
|
343
|
+
<T extends React$1.ElementType>(props: PolymorphicComponentPropsWithRef<T, P>): React$1.ReactNode;
|
|
345
344
|
};
|
|
346
|
-
|
|
347
|
-
declare const tv: tailwind_variants.TV;
|
|
348
|
-
|
|
349
345
|
declare const fancyButtonVariants: tailwind_variants.TVReturnType<{
|
|
350
346
|
variant: {
|
|
351
347
|
neutral: {
|
|
@@ -786,4 +782,4 @@ declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrim
|
|
|
786
782
|
|
|
787
783
|
declare function cn(...inputs: ClassValue[]): string;
|
|
788
784
|
|
|
789
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type PasswordInputProps, PhoneNumberInput, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, PriceInput, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants,
|
|
785
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type PasswordInputProps, PhoneNumberInput, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, PriceInput, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants, useComboboxFilter, useFormField };
|