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.
@@ -4,5 +4,6 @@ declare const buttonVariants: (props?: ({
4
4
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- declare function Button({ className, variant, size, ...props }: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>): import("react/jsx-runtime").JSX.Element;
7
+ export type ButtonProps = ButtonPrimitive.Props & VariantProps<typeof buttonVariants>;
8
+ declare function Button({ className, variant, size, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
8
9
  export { Button, buttonVariants };
@@ -1,5 +1,5 @@
1
1
  import { type VariantProps } from "class-variance-authority";
2
- import { Label } from "@/components/label";
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";
@@ -3,7 +3,7 @@ import { type VariantProps } from "class-variance-authority";
3
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
- align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
6
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
9
9
  declare const inputGroupButtonVariants: (props?: ({
@@ -1,8 +1,7 @@
1
- import * as React from "react";
2
1
  import * as ResizablePrimitive from "react-resizable-panels";
3
- declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): import("react/jsx-runtime").JSX.Element;
4
- declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): import("react/jsx-runtime").JSX.Element;
5
- declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
2
+ declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): import("react/jsx-runtime").JSX.Element;
4
+ declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
6
5
  withHandle?: boolean;
7
6
  }): import("react/jsx-runtime").JSX.Element;
8
- export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
7
+ export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
@@ -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 { type VariantProps } from "class-variance-authority";
4
- import { toggleVariants } from "@/components/toggle";
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";