bopodev-ui 0.1.6 → 0.1.7

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.
@@ -0,0 +1,5 @@
1
+
2
+ 
3
+ > bopodev-ui@0.1.7 build /Users/danielkrusenstrahle/Documents/Projects/Monorepo/BopoHQ/packages/ui
4
+ > tsc -p tsconfig.json --emitDeclarationOnly
5
+
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ export declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
4
+ variant?: "ghost" | "primary" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,4 @@
1
+ import type * as React from "react";
2
+ export declare function Card({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
3
+ export declare function CardHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
4
+ export declare function CardBody({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ export declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
3
+ export declare const Textarea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,8 @@
1
+ import * as Dialog from "@radix-ui/react-dialog";
2
+ import type * as React from "react";
3
+ export declare const Modal: React.FC<Dialog.DialogProps>;
4
+ export declare const ModalTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ export declare const ModalClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
6
+ export declare function ModalContent({ className, ...props }: React.ComponentProps<typeof Dialog.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ModalTitle({ className, ...props }: React.ComponentProps<typeof Dialog.Title>): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ModalDescription({ className, ...props }: React.ComponentProps<typeof Dialog.Description>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export * from "./components/button";
2
+ export * from "./components/card";
3
+ export * from "./components/input";
4
+ export * from "./components/modal";
5
+ export * from "./lib/cn";
6
+ export * from "./styles";
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,17 @@
1
+ export declare const uiStyles: {
2
+ readonly shell: "min-h-screen bg-bopo-bg text-bopo-text";
3
+ readonly card: "rounded-xl border border-bopo-border bg-bopo-panel shadow-[0_1px_0_rgba(255,255,255,0.02)]";
4
+ readonly cardHeader: "border-b border-bopo-border px-4 py-3 text-sm font-medium tracking-tight";
5
+ readonly cardBody: "px-4 py-4";
6
+ readonly muted: "text-bopo-muted";
7
+ readonly tableHeader: "bg-bopo-panel-elevated text-xs uppercase tracking-wide text-bopo-muted";
8
+ readonly input: "h-9 w-full rounded-lg border border-bopo-border bg-bopo-panel-elevated px-3 text-sm text-bopo-text outline-none transition placeholder:text-bopo-muted/80 focus:border-bopo-accent focus:ring-2 focus:ring-bopo-accent/20";
9
+ readonly buttonBase: "inline-flex h-9 items-center justify-center rounded-lg border px-3 text-sm font-medium transition disabled:cursor-not-allowed disabled:opacity-60";
10
+ readonly buttonGhost: "border-bopo-border bg-transparent text-bopo-text hover:bg-bopo-panel-elevated";
11
+ readonly buttonPrimary: "border-bopo-accent bg-bopo-accent text-white shadow-[0_0_0_1px_rgba(255,255,255,0.04)] hover:brightness-110";
12
+ readonly badge: "inline-flex items-center rounded-md border px-2 py-0.5 text-xs";
13
+ readonly modalOverlay: "fixed inset-0 z-50 bg-black/70 backdrop-blur-sm";
14
+ readonly modalContent: "fixed left-1/2 top-1/2 z-50 w-[min(720px,94vw)] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-bopo-border bg-bopo-panel p-5 shadow-2xl";
15
+ readonly modalTitle: "text-base font-semibold tracking-tight text-bopo-text";
16
+ readonly modalDescription: "mt-1 text-sm leading-6 text-bopo-muted";
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bopodev-ui",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",