@constructive-io/ui 0.10.1 → 0.11.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/README.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @constructive-io/ui
2
2
 
3
+ <p align="center" width="100%">
4
+ <img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
5
+ </p>
6
+
7
+ <p align="center" width="100%">
8
+ <a href="https://github.com/constructive-io/blocks/actions/workflows/ci.yml">
9
+ <img height="20" src="https://github.com/constructive-io/blocks/actions/workflows/ci.yml/badge.svg" />
10
+ </a>
11
+ <a href="https://github.com/constructive-io/blocks/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
12
+ <a href="https://www.npmjs.com/package/@constructive-io/ui"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/blocks?filename=packages%2Fui%2Fpackage.json"/></a>
13
+ </p>
14
+
3
15
  A modern React component library built on [Base UI](https://base-ui.com/) primitives and [Tailwind CSS v4](https://tailwindcss.com/).
4
16
 
5
17
  ## Installation
@@ -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" | "lg" | "sm" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
7
- variant?: "default" | "destructive" | "outline" | "secondary" | "destructive-outline" | "ghost" | "link" | null | undefined;
6
+ size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
7
+ variant?: "default" | "ghost" | "destructive" | "destructive-outline" | "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-D4vqTxhp.d.cts.map
20
+ //# sourceMappingURL=button-DBRYW_AI.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" | "lg" | "sm" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
7
- variant?: "default" | "destructive" | "outline" | "secondary" | "destructive-outline" | "ghost" | "link" | null | undefined;
6
+ size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
7
+ variant?: "default" | "ghost" | "destructive" | "destructive-outline" | "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-D4vqTxhp.d.ts.map
20
+ //# sourceMappingURL=button-DBRYW_AI.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" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | 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
10
  size?: "default" | "lg" | "sm" | null | undefined;
11
- variant?: "default" | "destructive" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | 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,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" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | 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
10
  size?: "default" | "lg" | "sm" | null | undefined;
11
- variant?: "default" | "destructive" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | 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 };
@@ -1,2 +1,2 @@
1
- import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-D4vqTxhp.cjs";
1
+ import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-DBRYW_AI.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-D4vqTxhp.js";
1
+ import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-DBRYW_AI.js";
2
2
  export { Button, type ButtonProps, buttonVariants };
@@ -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" | "ghost" | "elevated" | "flat" | "interactive" | null | undefined;
5
+ variant?: "default" | "elevated" | "flat" | "ghost" | "interactive" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  interface CardProps extends React$1.ComponentProps<'div'>, VariantProps<typeof cardVariants> {}
8
8
  declare function Card({ className, variant, ...props }: CardProps): React$1.JSX.Element;
@@ -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" | "ghost" | "elevated" | "flat" | "interactive" | null | undefined;
5
+ variant?: "default" | "elevated" | "flat" | "ghost" | "interactive" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  interface CardProps extends React$1.ComponentProps<'div'>, VariantProps<typeof cardVariants> {}
8
8
  declare function Card({ className, variant, ...props }: CardProps): React$1.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { t as Button } from "../button-D4vqTxhp.cjs";
1
+ import { t as Button } from "../button-DBRYW_AI.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-D4vqTxhp.js";
1
+ import { t as Button } from "../button-DBRYW_AI.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;
@@ -1,5 +1,5 @@
1
1
  import { n as TooltipContent } from "../tooltip-CTRQoN1A.cjs";
2
- import { t as Button } from "../button-D4vqTxhp.cjs";
2
+ import { t as Button } from "../button-DBRYW_AI.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-D4vqTxhp.js";
2
+ import { t as Button } from "../button-DBRYW_AI.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-D4vqTxhp.cjs";
1
+ import { t as Button } from "../button-DBRYW_AI.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-D4vqTxhp.js";
1
+ import { t as Button } from "../button-DBRYW_AI.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-D4vqTxhp.cjs";
6
+ import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-DBRYW_AI.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-D4vqTxhp.js";
6
+ import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-DBRYW_AI.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.10.1",
3
+ "version": "0.11.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": "b0fd1126b68b23543a51949c1e847c4d820863d3"
749
+ "gitHead": "e346c631379604b4ff57480530eb58afde25772c"
750
750
  }