reykit 1.0.161 → 1.0.163
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.js +8017 -8001
- package/dist/src/component/index.d.ts +9 -9
- package/dist/src/component/ui/alert-dialog.d.ts +1 -1
- package/dist/src/component/ui/button-group.d.ts +1 -1
- package/dist/src/component/ui/calendar.d.ts +1 -1
- package/dist/src/component/ui/carousel.d.ts +1 -1
- package/dist/src/component/ui/command.d.ts +1 -1
- package/dist/src/component/ui/field.d.ts +1 -1
- package/dist/src/component/ui/icon.d.ts +6 -3
- package/dist/src/component/ui/index.d.ts +53 -53
- package/dist/src/component/ui/input-group.d.ts +1 -1
- package/dist/src/component/ui/item.d.ts +1 -1
- package/dist/src/component/ui/menubar.d.ts +1 -1
- package/dist/src/component/ui/pagination.d.ts +1 -1
- package/dist/src/component/ui/sidebar.d.ts +4 -4
- package/dist/src/component/ui/toggle-group.d.ts +1 -1
- package/dist/src/index.d.ts +3 -3
- package/dist/src/lib/index.d.ts +8 -8
- package/dist/src/lib/window.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* @Contact : reyxbo@163.com
|
|
5
5
|
* @Explain : Component index file.
|
|
6
6
|
*/
|
|
7
|
-
import * as ui from 'ui';
|
|
7
|
+
import * as ui from './ui';
|
|
8
8
|
export { ui };
|
|
9
|
-
export { type BreadcrumbDict, Breadcrumb } from '
|
|
10
|
-
export { CycleButton } from '
|
|
11
|
-
export { Form } from '
|
|
12
|
-
export { Loading } from '
|
|
13
|
-
export { useLoading } from '
|
|
14
|
-
export { Notice, notice } from '
|
|
15
|
-
export { type HeaderOption, type SearchOption, type ButtonOption, type OptionName, type RowOption, type SelectRowsOption, Table } from '
|
|
16
|
-
export { IconToggle } from '
|
|
9
|
+
export { type BreadcrumbDict, Breadcrumb } from './Breadcrumb';
|
|
10
|
+
export { CycleButton } from './Button';
|
|
11
|
+
export { Form } from './Form';
|
|
12
|
+
export { Loading } from './Loading/Loading';
|
|
13
|
+
export { useLoading } from './Loading/uesLoading';
|
|
14
|
+
export { Notice, notice } from './Notice';
|
|
15
|
+
export { type HeaderOption, type SearchOption, type ButtonOption, type OptionName, type RowOption, type SelectRowsOption, Table } from './Table';
|
|
16
|
+
export { IconToggle } from './Toggle';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { Button } from '
|
|
2
|
+
import { Button } from './button';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function AlertDialog({ ...props }: AlertDialogPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function AlertDialogTrigger({ ...props }: AlertDialogPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRender } from '@base-ui/react/use-render';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { Separator } from '
|
|
3
|
+
import { Separator } from './separator';
|
|
4
4
|
declare const buttonGroupVariants: (props?: ({
|
|
5
5
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DayPicker, DayButton, Locale } from 'react-day-picker';
|
|
2
|
-
import { Button } from '
|
|
2
|
+
import { Button } from './button';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
5
5
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
|
|
2
|
-
import { Button } from '
|
|
2
|
+
import { Button } from './button';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
5
5
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Command as CommandPrimitive } from 'cmdk';
|
|
2
|
-
import { Dialog } from '
|
|
2
|
+
import { Dialog } from './dialog';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: Omit<React.ComponentProps<typeof Dialog>, 'children'> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Label } from '
|
|
2
|
+
import { Label } from './label';
|
|
3
3
|
declare function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<'legend'> & {
|
|
5
5
|
variant?: 'legend' | 'label';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
export * from 'lucide-react';
|
|
3
|
+
export declare const Python: ({ ...props }: ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Javascript: ({ ...props }: ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const Github: ({ ...props }: ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Npm: ({ ...props }: ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import { Link } from 'react-router-dom';
|
|
2
|
-
import { Button } from '
|
|
3
|
-
import { Badge } from '
|
|
4
|
-
import { Label } from '
|
|
5
|
-
import { Input } from '
|
|
6
|
-
import { Textarea } from '
|
|
7
|
-
import { Checkbox } from '
|
|
8
|
-
import { RadioGroup, RadioGroupItem } from '
|
|
9
|
-
import { Switch } from '
|
|
10
|
-
import { Toggle } from '
|
|
11
|
-
import { Kbd } from '
|
|
12
|
-
import { Progress } from '
|
|
13
|
-
import { Slider } from '
|
|
14
|
-
import { Calendar } from '
|
|
15
|
-
import { Spinner } from '
|
|
16
|
-
import { Separator } from '
|
|
17
|
-
import { Skeleton } from '
|
|
18
|
-
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from '
|
|
19
|
-
import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from '
|
|
20
|
-
import { ToggleGroup, ToggleGroupItem } from '
|
|
21
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from '
|
|
22
|
-
import { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator } from '
|
|
23
|
-
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '
|
|
24
|
-
import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from '
|
|
25
|
-
import { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage } from '
|
|
26
|
-
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '
|
|
27
|
-
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '
|
|
28
|
-
import { Alert, AlertDescription, AlertTitle } from '
|
|
29
|
-
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '
|
|
30
|
-
import { HoverCard, HoverCardContent, HoverCardTrigger } from '
|
|
31
|
-
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from '
|
|
32
|
-
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '
|
|
33
|
-
import { Popover, PopoverContent, PopoverTrigger } from '
|
|
34
|
-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '
|
|
35
|
-
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogTitle, DialogTrigger } from '
|
|
36
|
-
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogTitle, AlertDialogTrigger } from '
|
|
37
|
-
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '
|
|
38
|
-
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTitle, DrawerTrigger } from '
|
|
39
|
-
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from '
|
|
40
|
-
import { Toaster } from '
|
|
41
|
-
import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from '
|
|
42
|
-
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from '
|
|
43
|
-
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '
|
|
44
|
-
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '
|
|
45
|
-
import { Tabs, TabsContent, TabsList, TabsTrigger } from '
|
|
46
|
-
import { ScrollArea, ScrollBar } from '
|
|
47
|
-
import { AspectRatio } from '
|
|
48
|
-
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from '
|
|
49
|
-
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from '
|
|
50
|
-
import { Item, ItemActions, ItemContent, ItemDescription, ItemGroup, ItemMedia, ItemSeparator, ItemTitle } from '
|
|
51
|
-
import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '
|
|
52
|
-
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '
|
|
53
|
-
import { SidebarProvider, SidebarInset, SidebarTrigger, Sidebar, SidebarRail, SidebarHeader, SidebarContent, SidebarFooter, SidebarSeparator, SidebarInput, SidebarGroup, SidebarGroupLabel, SidebarGroupAction, SidebarGroupContent, SidebarMenu, SidebarMenuSkeleton, SidebarMenuItem, SidebarMenuButton, SidebarMenuAction, SidebarMenuBadge, SidebarMenuSub, SidebarMenuSubItem, SidebarMenuSubButton, useSidebar } from '
|
|
54
|
-
import
|
|
2
|
+
import { Button } from './button';
|
|
3
|
+
import { Badge } from './badge';
|
|
4
|
+
import { Label } from './label';
|
|
5
|
+
import { Input } from './input';
|
|
6
|
+
import { Textarea } from './textarea';
|
|
7
|
+
import { Checkbox } from './checkbox';
|
|
8
|
+
import { RadioGroup, RadioGroupItem } from './radio-group';
|
|
9
|
+
import { Switch } from './switch';
|
|
10
|
+
import { Toggle } from './toggle';
|
|
11
|
+
import { Kbd } from './kbd';
|
|
12
|
+
import { Progress } from './progress';
|
|
13
|
+
import { Slider } from './slider';
|
|
14
|
+
import { Calendar } from './calendar';
|
|
15
|
+
import { Spinner } from './spinner';
|
|
16
|
+
import { Separator } from './separator';
|
|
17
|
+
import { Skeleton } from './skeleton';
|
|
18
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from './input-group';
|
|
19
|
+
import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from './button-group';
|
|
20
|
+
import { ToggleGroup, ToggleGroupItem } from './toggle-group';
|
|
21
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from './select';
|
|
22
|
+
import { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator } from './combobox';
|
|
23
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './dropdown-menu';
|
|
24
|
+
import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './input-otp';
|
|
25
|
+
import { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage } from './avatar';
|
|
26
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from './collapsible';
|
|
27
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './accordion';
|
|
28
|
+
import { Alert, AlertDescription, AlertTitle } from './alert';
|
|
29
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './card';
|
|
30
|
+
import { HoverCard, HoverCardContent, HoverCardTrigger } from './hover-card';
|
|
31
|
+
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from './command';
|
|
32
|
+
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from './carousel';
|
|
33
|
+
import { Popover, PopoverContent, PopoverTrigger } from './popover';
|
|
34
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './tooltip';
|
|
35
|
+
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogTitle, DialogTrigger } from './dialog';
|
|
36
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogTitle, AlertDialogTrigger } from './alert-dialog';
|
|
37
|
+
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './sheet';
|
|
38
|
+
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTitle, DrawerTrigger } from './drawer';
|
|
39
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './table';
|
|
40
|
+
import { Toaster } from './sonner';
|
|
41
|
+
import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from './menubar';
|
|
42
|
+
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from './navigation-menu';
|
|
43
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './breadcrumb';
|
|
44
|
+
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './pagination';
|
|
45
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from './tabs';
|
|
46
|
+
import { ScrollArea, ScrollBar } from './scroll-area';
|
|
47
|
+
import { AspectRatio } from './aspect-ratio';
|
|
48
|
+
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './resizable';
|
|
49
|
+
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './context-menu';
|
|
50
|
+
import { Item, ItemActions, ItemContent, ItemDescription, ItemGroup, ItemMedia, ItemSeparator, ItemTitle } from './item';
|
|
51
|
+
import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from './field';
|
|
52
|
+
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from './empty';
|
|
53
|
+
import { SidebarProvider, SidebarInset, SidebarTrigger, Sidebar, SidebarRail, SidebarHeader, SidebarContent, SidebarFooter, SidebarSeparator, SidebarInput, SidebarGroup, SidebarGroupLabel, SidebarGroupAction, SidebarGroupContent, SidebarMenu, SidebarMenuSkeleton, SidebarMenuItem, SidebarMenuButton, SidebarMenuAction, SidebarMenuBadge, SidebarMenuSub, SidebarMenuSubItem, SidebarMenuSubButton, useSidebar } from './sidebar';
|
|
54
|
+
import * as icon from './icon';
|
|
55
55
|
/**
|
|
56
56
|
* Hook of return popup box component dictionary by media inquiries.
|
|
57
57
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Button } from '
|
|
2
|
+
import { Button } from './button';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function InputGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare const inputGroupAddonVariants: (props?: ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRender } from '@base-ui/react/use-render';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { Separator } from '
|
|
3
|
+
import { Separator } from './separator';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
declare function ItemGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare function ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
2
2
|
import { Menubar as MenubarPrimitive } from '@base-ui/react/menubar';
|
|
3
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '
|
|
3
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './dropdown-menu';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
declare function Menubar({ className, ...props }: MenubarPrimitive.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare function MenubarMenu({ ...props }: React.ComponentProps<typeof DropdownMenu>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from '
|
|
1
|
+
import { Button } from './button';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useRender } from '@base-ui/react/use-render';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { Button } from '
|
|
4
|
-
import { Input } from '
|
|
5
|
-
import { Separator } from '
|
|
6
|
-
import { TooltipContent } from '
|
|
3
|
+
import { Button } from './button';
|
|
4
|
+
import { Input } from './input';
|
|
5
|
+
import { Separator } from './separator';
|
|
6
|
+
import { TooltipContent } from './tooltip';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
type SidebarContextProps = {
|
|
9
9
|
state: 'expanded' | 'collapsed';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
|
|
2
2
|
import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { toggleVariants } from '
|
|
4
|
+
import { toggleVariants } from './toggle';
|
|
5
5
|
declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: ToggleGroupPrimitive.Props & VariantProps<typeof toggleVariants> & {
|
|
6
6
|
spacing?: number;
|
|
7
7
|
orientation?: 'horizontal' | 'vertical';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { base, data, image, net, re, react, twc, window } from '
|
|
1
|
+
import { base, data, image, net, re, react, twc, window } from './lib';
|
|
2
2
|
/**
|
|
3
3
|
* @Time : 2026-03-11
|
|
4
4
|
* @Author : Rey
|
|
5
5
|
* @Contact : reyxbo@163.com
|
|
6
6
|
* @Explain : Main index file.
|
|
7
7
|
*/
|
|
8
|
-
import * as component from 'component';
|
|
9
|
-
import * as ui from 'component/ui';
|
|
8
|
+
import * as component from './component';
|
|
9
|
+
import * as ui from './component/ui';
|
|
10
10
|
declare const _default: {
|
|
11
11
|
component: typeof component;
|
|
12
12
|
ui: typeof component.ui;
|
package/dist/src/lib/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as base from 'lib/base';
|
|
2
|
-
import * as data from 'lib/data';
|
|
3
|
-
import * as image from 'lib/image';
|
|
4
|
-
import * as net from 'lib/net';
|
|
5
|
-
import * as re from 'lib/re';
|
|
6
|
-
import * as react from 'lib/react';
|
|
7
|
-
import * as twc from 'lib/twc';
|
|
8
|
-
import * as window from 'lib/window';
|
|
1
|
+
import * as base from '../lib/base';
|
|
2
|
+
import * as data from '../lib/data';
|
|
3
|
+
import * as image from '../lib/image';
|
|
4
|
+
import * as net from '../lib/net';
|
|
5
|
+
import * as re from '../lib/re';
|
|
6
|
+
import * as react from '../lib/react';
|
|
7
|
+
import * as twc from '../lib/twc';
|
|
8
|
+
import * as window from '../lib/window';
|
|
9
9
|
export { base, data, image, net, re, react, twc, window };
|
package/dist/src/lib/window.d.ts
CHANGED