uilab-core 0.2.21 → 0.3.1
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/components/button.d.ts +2 -1
- package/dist/components/field.d.ts +1 -1
- package/dist/components/input-group.d.ts +1 -1
- package/dist/components/resizable.d.ts +4 -5
- package/dist/components/toggle-group.d.ts +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +16 -17
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme.css +1 -1
- package/package.json +24 -24
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
|
17
17
|
import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
|
|
18
18
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
19
19
|
import { Menu } from '@base-ui/react/menu';
|
|
20
|
-
import { Label as Label$1 } from '@/components/label';
|
|
21
20
|
import { PreviewCard } from '@base-ui/react/preview-card';
|
|
22
21
|
import { OTPInput } from 'input-otp';
|
|
23
22
|
import { Separator as Separator$2 } from '@/components/separator';
|
|
@@ -36,7 +35,6 @@ import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
|
36
35
|
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
37
36
|
import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
38
37
|
import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
|
|
39
|
-
import { toggleVariants as toggleVariants$1 } from '@/components/toggle';
|
|
40
38
|
import { ClassValue } from 'clsx';
|
|
41
39
|
|
|
42
40
|
declare function Accordion({ className, ...props }: Accordion$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
@@ -56,7 +54,8 @@ declare const buttonVariants: (props?: ({
|
|
|
56
54
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
57
55
|
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
58
56
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
59
|
-
|
|
57
|
+
type ButtonProps = Button$1.Props & VariantProps<typeof buttonVariants>;
|
|
58
|
+
declare function Button({ className, variant, size, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
60
59
|
|
|
61
60
|
declare function AlertDialog({ ...props }: AlertDialog$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
62
61
|
declare function AlertDialogTrigger({ ...props }: AlertDialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
@@ -239,6 +238,8 @@ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">
|
|
|
239
238
|
declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
240
239
|
declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
241
240
|
|
|
241
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
|
|
242
|
+
|
|
242
243
|
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
243
244
|
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
244
245
|
variant?: "legend" | "label";
|
|
@@ -249,7 +250,7 @@ declare const fieldVariants: (props?: ({
|
|
|
249
250
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
250
251
|
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
251
252
|
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
252
|
-
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label
|
|
253
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
253
254
|
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
254
255
|
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
255
256
|
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
@@ -267,7 +268,7 @@ declare function HoverCardContent({ className, side, sideOffset, align, alignOff
|
|
|
267
268
|
|
|
268
269
|
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
269
270
|
declare const inputGroupAddonVariants: (props?: ({
|
|
270
|
-
align?: "inline-
|
|
271
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
271
272
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
272
273
|
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
273
274
|
declare const inputGroupButtonVariants: (props?: ({
|
|
@@ -312,8 +313,6 @@ declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div
|
|
|
312
313
|
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
|
|
313
314
|
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
314
315
|
|
|
315
|
-
declare function Label({ className, ...props }: React$1.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
|
|
316
|
-
|
|
317
316
|
declare function Menubar({ className, ...props }: Menubar$1.Props): react_jsx_runtime.JSX.Element;
|
|
318
317
|
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu>): react_jsx_runtime.JSX.Element;
|
|
319
318
|
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuGroup>): react_jsx_runtime.JSX.Element;
|
|
@@ -370,9 +369,9 @@ declare function ProgressValue({ className, ...props }: Progress$1.Value.Props):
|
|
|
370
369
|
declare function RadioGroup({ className, ...props }: RadioGroup$1.Props): react_jsx_runtime.JSX.Element;
|
|
371
370
|
declare function RadioGroupItem({ className, ...props }: Radio.Root.Props): react_jsx_runtime.JSX.Element;
|
|
372
371
|
|
|
373
|
-
declare function ResizablePanelGroup({ className, ...props }:
|
|
374
|
-
declare function ResizablePanel({ ...props }:
|
|
375
|
-
declare function ResizableHandle({ withHandle, className, ...props }:
|
|
372
|
+
declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): react_jsx_runtime.JSX.Element;
|
|
374
|
+
declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
376
375
|
withHandle?: boolean;
|
|
377
376
|
}): react_jsx_runtime.JSX.Element;
|
|
378
377
|
|
|
@@ -494,18 +493,18 @@ declare function TabsContent({ className, ...props }: Tabs$1.Panel.Props): react
|
|
|
494
493
|
|
|
495
494
|
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
496
495
|
|
|
497
|
-
declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: ToggleGroup$1.Props & VariantProps<typeof toggleVariants$1> & {
|
|
498
|
-
spacing?: number;
|
|
499
|
-
orientation?: "horizontal" | "vertical";
|
|
500
|
-
}): react_jsx_runtime.JSX.Element;
|
|
501
|
-
declare function ToggleGroupItem({ className, children, variant, size, ...props }: Toggle$1.Props & VariantProps<typeof toggleVariants$1>): react_jsx_runtime.JSX.Element;
|
|
502
|
-
|
|
503
496
|
declare const toggleVariants: (props?: ({
|
|
504
497
|
variant?: "default" | "outline" | null | undefined;
|
|
505
498
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
506
499
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
507
500
|
declare function Toggle({ className, variant, size, ...props }: Toggle$1.Props & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
508
501
|
|
|
502
|
+
declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
|
|
503
|
+
spacing?: number;
|
|
504
|
+
orientation?: "horizontal" | "vertical";
|
|
505
|
+
}): react_jsx_runtime.JSX.Element;
|
|
506
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: Toggle$1.Props & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
507
|
+
|
|
509
508
|
declare function useIsMobile(): boolean;
|
|
510
509
|
|
|
511
510
|
declare function cn(...inputs: ClassValue[]): string;
|
|
@@ -513,4 +512,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
513
512
|
declare const _default: {};
|
|
514
513
|
|
|
515
514
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataList, DataListItem, DataListLabel, DataListValue, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, cn, dataListVariants, _default as default, navigationMenuTriggerStyle, tabsListVariants, toggleVariants, useIsMobile, useSidebar };
|
|
516
|
-
export type { DataListItemProps };
|
|
515
|
+
export type { ButtonProps, DataListItemProps };
|