@constructive-io/ui 0.14.0 → 0.14.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.
@@ -2,13 +2,13 @@ import * as React$1 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  //#region src/components/badge.d.ts
4
4
  declare const badgeVariants: (props?: ({
5
- size?: "default" | "sm" | "lg" | null | undefined;
6
- variant?: "default" | "destructive" | "outline" | "secondary" | "info" | "success" | "warning" | "error" | null | undefined;
5
+ size?: "default" | "lg" | "sm" | null | undefined;
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
- size?: "default" | "sm" | "lg" | null | undefined;
11
- variant?: "default" | "destructive" | "outline" | "secondary" | "info" | "success" | "warning" | "error" | null | undefined;
10
+ size?: "default" | "lg" | "sm" | null | undefined;
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 };
@@ -2,13 +2,13 @@ import * as React$1 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  //#region src/components/badge.d.ts
4
4
  declare const badgeVariants: (props?: ({
5
- size?: "default" | "sm" | "lg" | null | undefined;
6
- variant?: "default" | "destructive" | "outline" | "secondary" | "info" | "success" | "warning" | "error" | null | undefined;
5
+ size?: "default" | "lg" | "sm" | null | undefined;
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
- size?: "default" | "sm" | "lg" | null | undefined;
11
- variant?: "default" | "destructive" | "outline" | "secondary" | "info" | "success" | "warning" | "error" | null | undefined;
10
+ size?: "default" | "lg" | "sm" | null | undefined;
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,7 +3,7 @@ import * as React$1 from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  //#region src/components/button-group.d.ts
5
5
  declare const buttonGroupVariants: (props?: ({
6
- orientation?: "vertical" | "horizontal" | null | undefined;
6
+ orientation?: "horizontal" | "vertical" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  interface ButtonGroupProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof buttonGroupVariants> {}
9
9
  declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): React$1.JSX.Element;
@@ -3,7 +3,7 @@ import * as React$1 from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  //#region src/components/button-group.d.ts
5
5
  declare const buttonGroupVariants: (props?: ({
6
- orientation?: "vertical" | "horizontal" | null | undefined;
6
+ orientation?: "horizontal" | "vertical" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  interface ButtonGroupProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof buttonGroupVariants> {}
9
9
  declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): React$1.JSX.Element;
@@ -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" | "sm" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "xl" | "xs" | null | undefined;
7
- variant?: "default" | "ghost" | "destructive" | "destructive-outline" | "link" | "outline" | "secondary" | null | undefined;
6
+ size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
7
+ variant?: "link" | "default" | "destructive" | "destructive-outline" | "ghost" | "outline" | "secondary" | null | undefined;
8
8
  wrap?: boolean | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -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" | "sm" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "xl" | "xs" | null | undefined;
7
- variant?: "default" | "ghost" | "destructive" | "destructive-outline" | "link" | "outline" | "secondary" | null | undefined;
6
+ size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
7
+ variant?: "link" | "default" | "destructive" | "destructive-outline" | "ghost" | "outline" | "secondary" | null | undefined;
8
8
  wrap?: boolean | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -2,7 +2,7 @@ import * as React$1 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  //#region src/components/card.d.ts
4
4
  declare const cardVariants: (props?: ({
5
- variant?: "default" | "elevated" | "flat" | "ghost" | "interactive" | null | undefined;
5
+ variant?: "default" | "ghost" | "elevated" | "flat" | "interactive" | null | undefined;
6
6
  size?: "default" | "sm" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  interface CardProps extends React$1.ComponentProps<'div'>, VariantProps<typeof cardVariants> {}
@@ -2,7 +2,7 @@ import * as React$1 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  //#region src/components/card.d.ts
4
4
  declare const cardVariants: (props?: ({
5
- variant?: "default" | "elevated" | "flat" | "ghost" | "interactive" | null | undefined;
5
+ variant?: "default" | "ghost" | "elevated" | "flat" | "interactive" | null | undefined;
6
6
  size?: "default" | "sm" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  interface CardProps extends React$1.ComponentProps<'div'>, VariantProps<typeof cardVariants> {}
@@ -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?: "vertical" | "horizontal" | "responsive" | null | undefined;
11
+ orientation?: "horizontal" | "vertical" | "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?: "vertical" | "horizontal" | "responsive" | null | undefined;
11
+ orientation?: "horizontal" | "vertical" | "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 {
@@ -16,7 +16,7 @@ interface ItemProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps
16
16
  }
17
17
  declare const Item: React$1.ForwardRefExoticComponent<ItemProps & React$1.RefAttributes<HTMLDivElement>>;
18
18
  declare const itemMediaVariants: (props?: ({
19
- variant?: "default" | "icon" | "image" | null | undefined;
19
+ variant?: "image" | "default" | "icon" | null | undefined;
20
20
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
21
  interface ItemMediaProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof itemMediaVariants> {}
22
22
  declare function ItemMedia({ className, variant, ...props }: ItemMediaProps): React$1.JSX.Element;
@@ -16,7 +16,7 @@ interface ItemProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps
16
16
  }
17
17
  declare const Item: React$1.ForwardRefExoticComponent<ItemProps & React$1.RefAttributes<HTMLDivElement>>;
18
18
  declare const itemMediaVariants: (props?: ({
19
- variant?: "default" | "icon" | "image" | null | undefined;
19
+ variant?: "image" | "default" | "icon" | null | undefined;
20
20
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
21
  interface ItemMediaProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof itemMediaVariants> {}
22
22
  declare function ItemMedia({ className, variant, ...props }: ItemMediaProps): React$1.JSX.Element;
@@ -44,7 +44,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<'ul
44
44
  declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<'li'>): React$1.JSX.Element;
45
45
  declare const sidebarMenuButtonVariants: (props?: ({
46
46
  variant?: "default" | "outline" | null | undefined;
47
- size?: "default" | "sm" | "lg" | null | undefined;
47
+ size?: "default" | "lg" | "sm" | null | undefined;
48
48
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
49
49
  declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<'button'> & React$1.ComponentProps<'button'> & {
50
50
  isActive?: boolean;
@@ -44,7 +44,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<'ul
44
44
  declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<'li'>): React$1.JSX.Element;
45
45
  declare const sidebarMenuButtonVariants: (props?: ({
46
46
  variant?: "default" | "outline" | null | undefined;
47
- size?: "default" | "sm" | "lg" | null | undefined;
47
+ size?: "default" | "lg" | "sm" | null | undefined;
48
48
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
49
49
  declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<'button'> & React$1.ComponentProps<'button'> & {
50
50
  isActive?: boolean;
@@ -4,7 +4,7 @@ import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
4
4
  //#region src/components/toggle.d.ts
5
5
  declare const toggleVariants: (props?: ({
6
6
  variant?: "default" | "outline" | null | undefined;
7
- size?: "default" | "sm" | "lg" | null | undefined;
7
+ size?: "default" | "lg" | "sm" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  type ToggleProps = React$1.ComponentProps<typeof Toggle$1> & VariantProps<typeof toggleVariants>;
10
10
  declare function Toggle({ className, variant, size, children, ...props }: ToggleProps): React$1.JSX.Element;
@@ -4,7 +4,7 @@ import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
4
4
  //#region src/components/toggle.d.ts
5
5
  declare const toggleVariants: (props?: ({
6
6
  variant?: "default" | "outline" | null | undefined;
7
- size?: "default" | "sm" | "lg" | null | undefined;
7
+ size?: "default" | "lg" | "sm" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  type ToggleProps = React$1.ComponentProps<typeof Toggle$1> & VariantProps<typeof toggleVariants>;
10
10
  declare function Toggle({ className, variant, size, children, ...props }: ToggleProps): React$1.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/ui",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Shared UI component library built on Base UI and Tailwind CSS v4",
5
5
  "keywords": [
6
6
  "react",
@@ -885,5 +885,5 @@
885
885
  "engines": {
886
886
  "node": ">=18.0.0"
887
887
  },
888
- "gitHead": "5d03a5f2d8cac36e443d861ca1fd36bc66b12e06"
888
+ "gitHead": "47f7c369334a26bf7b944443892b5083acdffb2b"
889
889
  }