@constructive-io/ui 0.9.0 → 0.10.0
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/{button-D4vqTxhp.d.cts → button-Bvh83YGs.d.cts} +3 -3
- package/dist/{button-D4vqTxhp.d.ts → button-Bvh83YGs.d.ts} +3 -3
- package/dist/components/badge.d.cts +2 -2
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/button.d.cts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/field.d.cts +1 -1
- package/dist/components/field.d.ts +1 -1
- package/dist/components/pagination.d.cts +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/sheet.d.cts +1 -1
- package/dist/components/sheet.d.ts +1 -1
- package/dist/components/sidebar.d.cts +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/tags.d.cts +1 -1
- package/dist/components/tags.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -3,8 +3,8 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/components/button.d.ts
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
5
|
static?: boolean | null | undefined;
|
|
6
|
-
size?: "default" | "
|
|
7
|
-
variant?: "default" | "destructive" | "outline" | "
|
|
6
|
+
size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
|
|
7
|
+
variant?: "default" | "destructive" | "destructive-outline" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
10
10
|
variant?: VariantProps<typeof buttonVariants>['variant'];
|
|
@@ -17,4 +17,4 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
17
17
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { ButtonProps as n, buttonVariants as r, Button as t };
|
|
20
|
-
//# sourceMappingURL=button-
|
|
20
|
+
//# sourceMappingURL=button-Bvh83YGs.d.cts.map
|
|
@@ -3,8 +3,8 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/components/button.d.ts
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
5
|
static?: boolean | null | undefined;
|
|
6
|
-
size?: "default" | "
|
|
7
|
-
variant?: "default" | "destructive" | "outline" | "
|
|
6
|
+
size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
|
|
7
|
+
variant?: "default" | "destructive" | "destructive-outline" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
10
10
|
variant?: VariantProps<typeof buttonVariants>['variant'];
|
|
@@ -17,4 +17,4 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
17
17
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { ButtonProps as n, buttonVariants as r, Button as t };
|
|
20
|
-
//# sourceMappingURL=button-
|
|
20
|
+
//# sourceMappingURL=button-Bvh83YGs.d.ts.map
|
|
@@ -3,12 +3,12 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/components/badge.d.ts
|
|
4
4
|
declare const badgeVariants: (props?: ({
|
|
5
5
|
size?: "default" | "lg" | "sm" | null | undefined;
|
|
6
|
-
variant?: "default" | "destructive" | "
|
|
6
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
type BadgeProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
|
|
9
9
|
declare const Badge: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
10
10
|
size?: "default" | "lg" | "sm" | null | undefined;
|
|
11
|
-
variant?: "default" | "destructive" | "
|
|
11
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Badge, type BadgeProps, badgeVariants };
|
|
@@ -3,12 +3,12 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/components/badge.d.ts
|
|
4
4
|
declare const badgeVariants: (props?: ({
|
|
5
5
|
size?: "default" | "lg" | "sm" | null | undefined;
|
|
6
|
-
variant?: "default" | "destructive" | "
|
|
6
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
type BadgeProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
|
|
9
9
|
declare const Badge: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
10
10
|
size?: "default" | "lg" | "sm" | null | undefined;
|
|
11
|
-
variant?: "default" | "destructive" | "
|
|
11
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Badge, type BadgeProps, badgeVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-
|
|
1
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-Bvh83YGs.cjs";
|
|
2
2
|
export { Button, type ButtonProps, buttonVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-
|
|
1
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-Bvh83YGs.js";
|
|
2
2
|
export { Button, type ButtonProps, buttonVariants };
|
|
@@ -8,7 +8,7 @@ declare function FieldLegend({ className, variant, ...props }: React$1.Component
|
|
|
8
8
|
}): React$1.JSX.Element;
|
|
9
9
|
declare function FieldGroup({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
10
10
|
declare const fieldVariants: (props?: ({
|
|
11
|
-
orientation?: "
|
|
11
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
13
|
type StructuralFieldProps = React$1.ComponentProps<'div'> & VariantProps<typeof fieldVariants>;
|
|
14
14
|
interface LegacyFieldProps {
|
|
@@ -8,7 +8,7 @@ declare function FieldLegend({ className, variant, ...props }: React$1.Component
|
|
|
8
8
|
}): React$1.JSX.Element;
|
|
9
9
|
declare function FieldGroup({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
10
10
|
declare const fieldVariants: (props?: ({
|
|
11
|
-
orientation?: "
|
|
11
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
13
|
type StructuralFieldProps = React$1.ComponentProps<'div'> & VariantProps<typeof fieldVariants>;
|
|
14
14
|
interface LegacyFieldProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
1
|
+
import { t as Button } from "../button-Bvh83YGs.cjs";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
//#region src/components/pagination.d.ts
|
|
4
4
|
declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): React$1.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
1
|
+
import { t as Button } from "../button-Bvh83YGs.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
//#region src/components/pagination.d.ts
|
|
4
4
|
declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): React$1.JSX.Element;
|
|
@@ -74,7 +74,7 @@ type SheetOverlayProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
74
74
|
};
|
|
75
75
|
declare function SheetOverlay({ className, asChild: _asChild, forceMount: _forceMount, ...props }: SheetOverlayProps): React$1.JSX.Element;
|
|
76
76
|
declare const sheetVariants: (props?: ({
|
|
77
|
-
side?: "
|
|
77
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
78
78
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
79
79
|
type SheetContentProps = Omit<React$1.ComponentProps<typeof Dialog.Popup>, 'children'> & VariantProps<typeof sheetVariants> & HTMLMotionProps<'div'> & {
|
|
80
80
|
transition?: Transition;
|
|
@@ -74,7 +74,7 @@ type SheetOverlayProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
74
74
|
};
|
|
75
75
|
declare function SheetOverlay({ className, asChild: _asChild, forceMount: _forceMount, ...props }: SheetOverlayProps): React$1.JSX.Element;
|
|
76
76
|
declare const sheetVariants: (props?: ({
|
|
77
|
-
side?: "
|
|
77
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
78
78
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
79
79
|
type SheetContentProps = Omit<React$1.ComponentProps<typeof Dialog.Popup>, 'children'> & VariantProps<typeof sheetVariants> & HTMLMotionProps<'div'> & {
|
|
80
80
|
transition?: Transition;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as TooltipContent } from "../tooltip-CTRQoN1A.cjs";
|
|
2
|
-
import { t as Button } from "../button-
|
|
2
|
+
import { t as Button } from "../button-Bvh83YGs.cjs";
|
|
3
3
|
import { t as Input } from "../input-CBrCuMH8.cjs";
|
|
4
4
|
import { t as Separator } from "../separator-BQEsr0Rc.cjs";
|
|
5
5
|
import * as React$1 from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as TooltipContent } from "../tooltip-CTRQoN1A.js";
|
|
2
|
-
import { t as Button } from "../button-
|
|
2
|
+
import { t as Button } from "../button-Bvh83YGs.js";
|
|
3
3
|
import { t as Input } from "../input-CBrCuMH8.js";
|
|
4
4
|
import { t as Separator } from "../separator-BQEsr0Rc.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
1
|
+
import { t as Button } from "../button-Bvh83YGs.cjs";
|
|
2
2
|
import { Badge } from "./badge.cjs";
|
|
3
3
|
import { CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "./command.cjs";
|
|
4
4
|
import { PopoverContent } from "./popover.cjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
1
|
+
import { t as Button } from "../button-Bvh83YGs.js";
|
|
2
2
|
import { Badge } from "./badge.js";
|
|
3
3
|
import { CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "./command.js";
|
|
4
4
|
import { PopoverContent } from "./popover.js";
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as To
|
|
|
3
3
|
import { a as alertVariants, i as AlertTitle, n as AlertDescription, t as Alert } from "./alert-BXuP0ayz.cjs";
|
|
4
4
|
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./components/alert-dialog.cjs";
|
|
5
5
|
import { AppBar, AppBarProps, AppBreadcrumbItem, AppLinkRenderProps, AppLinkRenderer, createAppLink } from "./components/app-bar.cjs";
|
|
6
|
-
import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-
|
|
6
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-Bvh83YGs.cjs";
|
|
7
7
|
import { n as InputProps, t as Input } from "./input-CBrCuMH8.cjs";
|
|
8
8
|
import { n as SeparatorProps, t as Separator } from "./separator-BQEsr0Rc.cjs";
|
|
9
9
|
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./components/sidebar.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as To
|
|
|
3
3
|
import { a as alertVariants, i as AlertTitle, n as AlertDescription, t as Alert } from "./alert-BXuP0ayz.js";
|
|
4
4
|
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./components/alert-dialog.js";
|
|
5
5
|
import { AppBar, AppBarProps, AppBreadcrumbItem, AppLinkRenderProps, AppLinkRenderer, createAppLink } from "./components/app-bar.js";
|
|
6
|
-
import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-
|
|
6
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-Bvh83YGs.js";
|
|
7
7
|
import { n as InputProps, t as Input } from "./input-CBrCuMH8.js";
|
|
8
8
|
import { n as SeparatorProps, t as Separator } from "./separator-BQEsr0Rc.js";
|
|
9
9
|
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./components/sidebar.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Shared UI component library built on Base UI and Tailwind CSS v4",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -746,5 +746,5 @@
|
|
|
746
746
|
"engines": {
|
|
747
747
|
"node": ">=18.0.0"
|
|
748
748
|
},
|
|
749
|
-
"gitHead": "
|
|
749
|
+
"gitHead": "e67742115963ccc5c941feec12781459e8753c5c"
|
|
750
750
|
}
|