uilab-core 0.2.13 → 0.2.21

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.
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
3
- import { Button } from "@/components/button";
3
+ import { Button } from "./button";
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;
6
6
  declare function AlertDialogPortal({ ...props }: AlertDialogPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { useRender } from "@base-ui/react/use-render";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
7
7
  export { Badge, badgeVariants };
@@ -1,6 +1,6 @@
1
1
  import { useRender } from "@base-ui/react/use-render";
2
2
  import { type VariantProps } from "class-variance-authority";
3
- import { Separator } from "@/components/separator";
3
+ import { Separator } from "./separator";
4
4
  declare const buttonGroupVariants: (props?: ({
5
5
  orientation?: "horizontal" | "vertical" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { DayPicker, type DayButton } from "react-day-picker";
3
- import { Button } from "@/components/button";
3
+ import { Button } from "./button";
4
4
  declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
5
  buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
6
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { Command as CommandPrimitive } from "cmdk";
3
- import { Dialog } from "@/components/dialog";
3
+ import { Dialog } from "./dialog";
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"> & {
6
6
  title?: string;
@@ -0,0 +1,14 @@
1
+ import { type ComponentProps } from "react";
2
+ import { useRender } from "@base-ui/react/use-render";
3
+ import { type VariantProps } from "class-variance-authority";
4
+ export declare const dataListVariants: (props?: ({
5
+ orientation?: "horizontal" | "vertical" | null | undefined;
6
+ size?: "default" | "sm" | "lg" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export declare function DataList({ className, orientation, size, render, ...props }: VariantProps<typeof dataListVariants> & useRender.ComponentProps<"dl">): import("react/jsx-runtime").JSX.Element;
9
+ export interface DataListItemProps extends React.HTMLAttributes<HTMLDivElement> {
10
+ className?: string;
11
+ }
12
+ export declare function DataListItem({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
13
+ export declare function DataListLabel({ className, ...props }: ComponentProps<"dt">): import("react/jsx-runtime").JSX.Element;
14
+ export declare function DataListValue({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
@@ -13,6 +13,7 @@ export * from './checkbox';
13
13
  export * from './collapsible';
14
14
  export * from './command';
15
15
  export * from './context-menu';
16
+ export * from './data-list';
16
17
  export * from './dialog';
17
18
  export * from './drawer';
18
19
  export * from './dropdown-menu';
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
- import { Button } from "@/components/button";
3
+ import { Button } from "./button";
4
4
  declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
5
  declare const inputGroupAddonVariants: (props?: ({
6
6
  align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { Menu as MenuPrimitive } from "@base-ui/react/menu";
3
3
  import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
4
- import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "@/components/dropdown-menu";
4
+ import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./dropdown-menu";
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;
7
7
  declare function MenubarGroup({ ...props }: React.ComponentProps<typeof DropdownMenuGroup>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Button } from "@/components/button";
2
+ import { Button } from "./button";
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;
5
5
  declare function PaginationItem({ ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import * as React from "react";
2
2
  import { useRender } from "@base-ui/react/use-render";
3
3
  import { type VariantProps } from "class-variance-authority";
4
- import { Button } from "@/components/button";
5
- import { Input } from "@/components/input";
6
- import { Separator } from "@/components/separator";
7
- import { TooltipContent } from "@/components/tooltip";
4
+ import { Button } from "./button";
5
+ import { Input } from "./input";
6
+ import { Separator } from "./separator";
7
+ import { TooltipContent } from "./tooltip";
8
8
  type SidebarContextProps = {
9
9
  state: "expanded" | "collapsed";
10
10
  open: boolean;