@alpic-ai/ui 1.173.1 → 1.173.2

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.
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority";
2
2
  import * as React$1 from "react";
3
3
  //#region src/components/alert.d.ts
4
4
  declare const alertVariants: (props?: ({
5
- variant?: "success" | "warning" | "destructive" | "default" | null | undefined;
5
+ variant?: "default" | "destructive" | "warning" | "success" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {}
8
8
  declare function Alert({ className, variant, ...props }: AlertProps): React$1.JSX.Element;
@@ -3,7 +3,7 @@ import * as React$1 from "react";
3
3
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
4
4
  //#region src/components/avatar.d.ts
5
5
  declare const avatarVariants: (props?: ({
6
- size?: "sm" | "md" | "xs" | "lg" | "xl" | null | undefined;
6
+ size?: "sm" | "lg" | "md" | "xl" | "xs" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  type AvatarSize = NonNullable<VariantProps<typeof avatarVariants>["size"]>;
9
9
  type AvatarStatus = "online";
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  //#region src/components/badge.d.ts
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "secondary" | "primary" | "success" | "warning" | "error" | null | undefined;
4
+ variant?: "warning" | "success" | "primary" | "secondary" | "error" | null | undefined;
5
5
  size?: "sm" | "md" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  interface BadgeProps extends React.ComponentProps<"span">, VariantProps<typeof badgeVariants> {}
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority";
2
2
  import * as React$1 from "react";
3
3
  //#region src/components/button.d.ts
4
4
  declare const buttonVariants: (props?: ({
5
- variant?: "secondary" | "primary" | "tertiary" | "link" | "link-muted" | "destructive" | "cta" | null | undefined;
5
+ variant?: "destructive" | "primary" | "secondary" | "link" | "tertiary" | "link-muted" | "cta" | null | undefined;
6
6
  size?: "default" | "icon" | "icon-rounded" | "pill" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  interface ButtonProps extends React$1.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
@@ -8,7 +8,7 @@ declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof
8
8
  declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): React$1.JSX.Element;
9
9
  declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): React$1.JSX.Element;
10
10
  declare const dropdownMenuItemVariants: (props?: ({
11
- variant?: "destructive" | "default" | null | undefined;
11
+ variant?: "default" | "destructive" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
13
  declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & VariantProps<typeof dropdownMenuItemVariants> & {
14
14
  inset?: boolean;
@@ -46,7 +46,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul
46
46
  declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
47
47
  declare const sidebarMenuButtonVariants: (props?: ({
48
48
  variant?: "default" | "outline" | null | undefined;
49
- size?: "sm" | "default" | "lg" | null | undefined;
49
+ size?: "default" | "sm" | "lg" | null | undefined;
50
50
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
51
51
  declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
52
52
  asChild?: boolean;
@@ -1,8 +1,8 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  //#region src/components/spinner.d.ts
3
3
  declare const spinnerVariants: (props?: ({
4
- variant?: "secondary" | "primary" | null | undefined;
5
- size?: "sm" | "md" | "lg" | "xl" | null | undefined;
4
+ variant?: "primary" | "secondary" | null | undefined;
5
+ size?: "sm" | "lg" | "md" | "xl" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  interface SpinnerProps extends Omit<React.ComponentProps<"svg">, "children">, VariantProps<typeof spinnerVariants> {}
8
8
  declare function Spinner({ className, variant, size, ...props }: SpinnerProps): import("react").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  //#region src/components/status-dot.d.ts
3
3
  declare const statusDotVariants: (props?: ({
4
- variant?: "success" | "warning" | "destructive" | "muted" | null | undefined;
4
+ variant?: "destructive" | "warning" | "success" | "muted" | null | undefined;
5
5
  pulse?: boolean | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  interface StatusDotProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof statusDotVariants> {}
@@ -3,7 +3,7 @@ import * as React$1 from "react";
3
3
  import * as TabsPrimitive from "@radix-ui/react-tabs";
4
4
  //#region src/components/tabs.d.ts
5
5
  declare const tabsTriggerVariants: (props?: ({
6
- variant?: "default" | "pill" | "line" | null | undefined;
6
+ variant?: "default" | "line" | "pill" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): React$1.JSX.Element;
9
9
  declare const tabsListVariants: (props?: ({
@@ -4,7 +4,7 @@ import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
4
4
  //#region src/components/toggle-group.d.ts
5
5
  declare const toggleGroupItemVariants: (props?: ({
6
6
  variant?: "default" | "outline" | null | undefined;
7
- size?: "sm" | "default" | null | undefined;
7
+ size?: "default" | "sm" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  type ToggleGroupContextValue = VariantProps<typeof toggleGroupItemVariants>;
10
10
  declare function ToggleGroup({ className, variant, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & ToggleGroupContextValue): React$1.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
2
  //#region src/hooks/use-isomorphic-layout-effect.d.ts
3
- declare const useIsomorphicLayoutEffect: typeof React$1.useLayoutEffect;
3
+ declare const useIsomorphicLayoutEffect: typeof React$1.useEffect;
4
4
  //#endregion
5
5
  export { useIsomorphicLayoutEffect };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/ui",
3
- "version": "1.173.1",
3
+ "version": "1.173.2",
4
4
  "description": "Alpic design system — shared UI components",
5
5
  "type": "module",
6
6
  "exports": {
@@ -53,15 +53,15 @@
53
53
  "clsx": "^2.1.1",
54
54
  "cmdk": "^1.1.1",
55
55
  "recharts": "^3.10.1",
56
- "tailwind-merge": "^3.6.0"
56
+ "tailwind-merge": "^3.7.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@ladle/react": "^5.1.1",
60
60
  "@tailwindcss/postcss": "^4.3.3",
61
- "@types/react": "19.2.18",
62
- "@types/react-dom": "19.2.7",
63
- "lucide-react": "^1.41.0",
64
- "react-hook-form": "^7.87.0",
61
+ "@types/react": "19.3.0",
62
+ "@types/react-dom": "19.3.0",
63
+ "lucide-react": "^1.45.0",
64
+ "react-hook-form": "^7.88.0",
65
65
  "shx": "^0.4.0",
66
66
  "sonner": "^2.0.8",
67
67
  "tailwindcss": "^4.3.3",