@thetinycode/hash-ui 1.0.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/LICENSE +21 -0
- package/README.md +189 -0
- package/dist/index.cjs +1111 -0
- package/dist/index.d.cts +182 -0
- package/dist/index.d.ts +182 -0
- package/dist/index.js +1000 -0
- package/dist/styles.css +1 -0
- package/package.json +43 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import { ClassValue } from 'clsx';
|
|
6
|
+
|
|
7
|
+
declare const buttonVariants: (props?: ({
|
|
8
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
9
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
12
|
+
}
|
|
13
|
+
declare function Button({ className, variant, size, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
16
|
+
}
|
|
17
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
18
|
+
|
|
19
|
+
interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
20
|
+
}
|
|
21
|
+
declare function Label({ className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
24
|
+
}
|
|
25
|
+
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
26
|
+
|
|
27
|
+
interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
28
|
+
}
|
|
29
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
|
|
30
|
+
|
|
31
|
+
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
32
|
+
}
|
|
33
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
34
|
+
|
|
35
|
+
declare const alertVariants: (props?: ({
|
|
36
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
37
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
38
|
+
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
39
|
+
}
|
|
40
|
+
declare function Alert({ className, variant, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
declare function AlertTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
42
|
+
declare function AlertDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
43
|
+
|
|
44
|
+
interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
45
|
+
src?: string;
|
|
46
|
+
alt?: string;
|
|
47
|
+
fallback?: string;
|
|
48
|
+
}
|
|
49
|
+
declare function Avatar({ className, src, alt, fallback, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
50
|
+
declare function AvatarGroup({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
51
|
+
|
|
52
|
+
declare const badgeVariants: (props?: ({
|
|
53
|
+
variant?: "secondary" | "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
54
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
55
|
+
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
56
|
+
}
|
|
57
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
declare function Card({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function CardHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare function CardTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare function CardDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare function CardContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare function CardFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
65
|
+
|
|
66
|
+
declare function EmptyState({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare function EmptyStateTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare function EmptyStateDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function EmptyStateActions({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
70
|
+
|
|
71
|
+
declare function Stat({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function StatLabel({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
73
|
+
declare function StatValue({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
74
|
+
declare function StatChange({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
75
|
+
|
|
76
|
+
declare function Box({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
77
|
+
|
|
78
|
+
type ContainerProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
79
|
+
size?: "sm" | "md" | "lg" | "full";
|
|
80
|
+
};
|
|
81
|
+
declare function Container({ className, size, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
82
|
+
|
|
83
|
+
interface DividerProps extends React.HTMLAttributes<HTMLHRElement> {
|
|
84
|
+
orientation?: "horizontal" | "vertical";
|
|
85
|
+
}
|
|
86
|
+
declare function Divider({ className, orientation, ...props }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
87
|
+
|
|
88
|
+
type GridCols = 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
89
|
+
type GapSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
90
|
+
interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
91
|
+
cols?: GridCols;
|
|
92
|
+
gap?: GapSize;
|
|
93
|
+
}
|
|
94
|
+
declare function Grid({ className, cols, gap, ...props }: GridProps): react_jsx_runtime.JSX.Element;
|
|
95
|
+
|
|
96
|
+
type SectionSpacing = "sm" | "md" | "lg" | "xl";
|
|
97
|
+
type SectionElement = "section" | "div" | "main" | "aside" | "article";
|
|
98
|
+
interface SectionProps extends React.HTMLAttributes<HTMLElement> {
|
|
99
|
+
spacing?: SectionSpacing;
|
|
100
|
+
as?: SectionElement;
|
|
101
|
+
}
|
|
102
|
+
declare function Section({ className, spacing, as: Comp, ...props }: SectionProps): react_jsx_runtime.JSX.Element;
|
|
103
|
+
declare function SectionHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
104
|
+
declare function SectionTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
105
|
+
declare function SectionDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
107
|
+
type StackProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
108
|
+
direction?: "row" | "col";
|
|
109
|
+
gap?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
110
|
+
};
|
|
111
|
+
declare function Stack({ className, direction, gap, ...props }: StackProps): react_jsx_runtime.JSX.Element;
|
|
112
|
+
|
|
113
|
+
declare function Breadcrumb({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
114
|
+
declare function BreadcrumbList({ className, ...props }: React.OlHTMLAttributes<HTMLOListElement>): react_jsx_runtime.JSX.Element;
|
|
115
|
+
declare function BreadcrumbItem({ className, ...props }: React.LiHTMLAttributes<HTMLLIElement>): react_jsx_runtime.JSX.Element;
|
|
116
|
+
declare function BreadcrumbSeparator({ className, children, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function BreadcrumbPage({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
118
|
+
|
|
119
|
+
declare function Header({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare function HeaderInner({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function HeaderBrand({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare function HeaderNav({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function HeaderActions({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
124
|
+
|
|
125
|
+
declare function Pagination({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
126
|
+
declare function PaginationList({ className, ...props }: React.HTMLAttributes<HTMLUListElement>): react_jsx_runtime.JSX.Element;
|
|
127
|
+
declare function PaginationItem({ className, ...props }: React.HTMLAttributes<HTMLLIElement>): react_jsx_runtime.JSX.Element;
|
|
128
|
+
interface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
129
|
+
isActive?: boolean;
|
|
130
|
+
}
|
|
131
|
+
declare function PaginationLink({ className, isActive, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
132
|
+
|
|
133
|
+
declare function Tabs({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
134
|
+
declare function TabsList({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
135
|
+
interface TabsTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
136
|
+
active?: boolean;
|
|
137
|
+
}
|
|
138
|
+
declare function TabsTrigger({ className, active, ...props }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
139
|
+
declare function TabsContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
140
|
+
|
|
141
|
+
interface DrawerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
142
|
+
open?: boolean;
|
|
143
|
+
side?: "left" | "right";
|
|
144
|
+
}
|
|
145
|
+
declare function Drawer({ className, open, side, ...props }: DrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
146
|
+
|
|
147
|
+
declare function Dropdown({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
148
|
+
declare function DropdownMenu({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
149
|
+
declare function DropdownItem({ className, ...props }: React.ButtonHTMLAttributes<HTMLButtonElement>): react_jsx_runtime.JSX.Element;
|
|
150
|
+
|
|
151
|
+
interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
152
|
+
open?: boolean;
|
|
153
|
+
}
|
|
154
|
+
declare function Modal({ className, open, ...props }: ModalProps): react_jsx_runtime.JSX.Element | null;
|
|
155
|
+
declare function ModalHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
156
|
+
declare function ModalTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
157
|
+
declare function ModalDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
158
|
+
declare function ModalContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
159
|
+
declare function ModalFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
160
|
+
|
|
161
|
+
declare const toastVariants: (props?: ({
|
|
162
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
163
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
164
|
+
interface ToastProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof toastVariants> {
|
|
165
|
+
}
|
|
166
|
+
declare function Toast({ className, variant, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function ToastTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
168
|
+
declare function ToastDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
169
|
+
declare function ToastViewport({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
170
|
+
|
|
171
|
+
declare function Tooltip({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
172
|
+
|
|
173
|
+
declare function Hero({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
174
|
+
declare function HeroContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function HeroBadge({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
176
|
+
declare function HeroTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
177
|
+
declare function HeroDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
178
|
+
declare function HeroActions({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
179
|
+
|
|
180
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
181
|
+
|
|
182
|
+
export { Alert, AlertDescription, type AlertProps, AlertTitle, Avatar, AvatarGroup, type AvatarProps, Badge, type BadgeProps, Box, Breadcrumb, BreadcrumbItem, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Container, Divider, type DividerProps, Drawer, type DrawerProps, Dropdown, DropdownItem, DropdownMenu, EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateTitle, Grid, type GridProps, Header, HeaderActions, HeaderBrand, HeaderInner, HeaderNav, Hero, HeroActions, HeroBadge, HeroContent, HeroDescription, HeroTitle, Input, type InputProps, Label, type LabelProps, Modal, ModalContent, ModalDescription, ModalFooter, ModalHeader, type ModalProps, ModalTitle, Pagination, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationList, Section, SectionDescription, SectionHeader, type SectionProps, SectionTitle, Select, type SelectProps, Stack, Stat, StatChange, StatLabel, StatValue, Switch, type SwitchProps, Tabs, TabsContent, TabsList, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastDescription, type ToastProps, ToastTitle, ToastViewport, Tooltip, cn };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import { ClassValue } from 'clsx';
|
|
6
|
+
|
|
7
|
+
declare const buttonVariants: (props?: ({
|
|
8
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
9
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
12
|
+
}
|
|
13
|
+
declare function Button({ className, variant, size, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
16
|
+
}
|
|
17
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
18
|
+
|
|
19
|
+
interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
20
|
+
}
|
|
21
|
+
declare function Label({ className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
24
|
+
}
|
|
25
|
+
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
26
|
+
|
|
27
|
+
interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
28
|
+
}
|
|
29
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
|
|
30
|
+
|
|
31
|
+
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
32
|
+
}
|
|
33
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
34
|
+
|
|
35
|
+
declare const alertVariants: (props?: ({
|
|
36
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
37
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
38
|
+
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
39
|
+
}
|
|
40
|
+
declare function Alert({ className, variant, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
declare function AlertTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
42
|
+
declare function AlertDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
43
|
+
|
|
44
|
+
interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
45
|
+
src?: string;
|
|
46
|
+
alt?: string;
|
|
47
|
+
fallback?: string;
|
|
48
|
+
}
|
|
49
|
+
declare function Avatar({ className, src, alt, fallback, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
50
|
+
declare function AvatarGroup({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
51
|
+
|
|
52
|
+
declare const badgeVariants: (props?: ({
|
|
53
|
+
variant?: "secondary" | "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
54
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
55
|
+
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
56
|
+
}
|
|
57
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
declare function Card({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function CardHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare function CardTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare function CardDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare function CardContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare function CardFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
65
|
+
|
|
66
|
+
declare function EmptyState({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare function EmptyStateTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare function EmptyStateDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function EmptyStateActions({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
70
|
+
|
|
71
|
+
declare function Stat({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function StatLabel({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
73
|
+
declare function StatValue({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
74
|
+
declare function StatChange({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
75
|
+
|
|
76
|
+
declare function Box({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
77
|
+
|
|
78
|
+
type ContainerProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
79
|
+
size?: "sm" | "md" | "lg" | "full";
|
|
80
|
+
};
|
|
81
|
+
declare function Container({ className, size, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
82
|
+
|
|
83
|
+
interface DividerProps extends React.HTMLAttributes<HTMLHRElement> {
|
|
84
|
+
orientation?: "horizontal" | "vertical";
|
|
85
|
+
}
|
|
86
|
+
declare function Divider({ className, orientation, ...props }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
87
|
+
|
|
88
|
+
type GridCols = 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
89
|
+
type GapSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
90
|
+
interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
91
|
+
cols?: GridCols;
|
|
92
|
+
gap?: GapSize;
|
|
93
|
+
}
|
|
94
|
+
declare function Grid({ className, cols, gap, ...props }: GridProps): react_jsx_runtime.JSX.Element;
|
|
95
|
+
|
|
96
|
+
type SectionSpacing = "sm" | "md" | "lg" | "xl";
|
|
97
|
+
type SectionElement = "section" | "div" | "main" | "aside" | "article";
|
|
98
|
+
interface SectionProps extends React.HTMLAttributes<HTMLElement> {
|
|
99
|
+
spacing?: SectionSpacing;
|
|
100
|
+
as?: SectionElement;
|
|
101
|
+
}
|
|
102
|
+
declare function Section({ className, spacing, as: Comp, ...props }: SectionProps): react_jsx_runtime.JSX.Element;
|
|
103
|
+
declare function SectionHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
104
|
+
declare function SectionTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
105
|
+
declare function SectionDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
107
|
+
type StackProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
108
|
+
direction?: "row" | "col";
|
|
109
|
+
gap?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
110
|
+
};
|
|
111
|
+
declare function Stack({ className, direction, gap, ...props }: StackProps): react_jsx_runtime.JSX.Element;
|
|
112
|
+
|
|
113
|
+
declare function Breadcrumb({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
114
|
+
declare function BreadcrumbList({ className, ...props }: React.OlHTMLAttributes<HTMLOListElement>): react_jsx_runtime.JSX.Element;
|
|
115
|
+
declare function BreadcrumbItem({ className, ...props }: React.LiHTMLAttributes<HTMLLIElement>): react_jsx_runtime.JSX.Element;
|
|
116
|
+
declare function BreadcrumbSeparator({ className, children, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function BreadcrumbPage({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
118
|
+
|
|
119
|
+
declare function Header({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare function HeaderInner({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function HeaderBrand({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare function HeaderNav({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function HeaderActions({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
124
|
+
|
|
125
|
+
declare function Pagination({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
126
|
+
declare function PaginationList({ className, ...props }: React.HTMLAttributes<HTMLUListElement>): react_jsx_runtime.JSX.Element;
|
|
127
|
+
declare function PaginationItem({ className, ...props }: React.HTMLAttributes<HTMLLIElement>): react_jsx_runtime.JSX.Element;
|
|
128
|
+
interface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
129
|
+
isActive?: boolean;
|
|
130
|
+
}
|
|
131
|
+
declare function PaginationLink({ className, isActive, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
132
|
+
|
|
133
|
+
declare function Tabs({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
134
|
+
declare function TabsList({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
135
|
+
interface TabsTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
136
|
+
active?: boolean;
|
|
137
|
+
}
|
|
138
|
+
declare function TabsTrigger({ className, active, ...props }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
139
|
+
declare function TabsContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
140
|
+
|
|
141
|
+
interface DrawerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
142
|
+
open?: boolean;
|
|
143
|
+
side?: "left" | "right";
|
|
144
|
+
}
|
|
145
|
+
declare function Drawer({ className, open, side, ...props }: DrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
146
|
+
|
|
147
|
+
declare function Dropdown({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
148
|
+
declare function DropdownMenu({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
149
|
+
declare function DropdownItem({ className, ...props }: React.ButtonHTMLAttributes<HTMLButtonElement>): react_jsx_runtime.JSX.Element;
|
|
150
|
+
|
|
151
|
+
interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
152
|
+
open?: boolean;
|
|
153
|
+
}
|
|
154
|
+
declare function Modal({ className, open, ...props }: ModalProps): react_jsx_runtime.JSX.Element | null;
|
|
155
|
+
declare function ModalHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
156
|
+
declare function ModalTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
157
|
+
declare function ModalDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
158
|
+
declare function ModalContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
159
|
+
declare function ModalFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
160
|
+
|
|
161
|
+
declare const toastVariants: (props?: ({
|
|
162
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
163
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
164
|
+
interface ToastProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof toastVariants> {
|
|
165
|
+
}
|
|
166
|
+
declare function Toast({ className, variant, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function ToastTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
168
|
+
declare function ToastDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
169
|
+
declare function ToastViewport({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
170
|
+
|
|
171
|
+
declare function Tooltip({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
172
|
+
|
|
173
|
+
declare function Hero({ className, ...props }: React.HTMLAttributes<HTMLElement>): react_jsx_runtime.JSX.Element;
|
|
174
|
+
declare function HeroContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function HeroBadge({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
176
|
+
declare function HeroTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
177
|
+
declare function HeroDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
178
|
+
declare function HeroActions({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
179
|
+
|
|
180
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
181
|
+
|
|
182
|
+
export { Alert, AlertDescription, type AlertProps, AlertTitle, Avatar, AvatarGroup, type AvatarProps, Badge, type BadgeProps, Box, Breadcrumb, BreadcrumbItem, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Container, Divider, type DividerProps, Drawer, type DrawerProps, Dropdown, DropdownItem, DropdownMenu, EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateTitle, Grid, type GridProps, Header, HeaderActions, HeaderBrand, HeaderInner, HeaderNav, Hero, HeroActions, HeroBadge, HeroContent, HeroDescription, HeroTitle, Input, type InputProps, Label, type LabelProps, Modal, ModalContent, ModalDescription, ModalFooter, ModalHeader, type ModalProps, ModalTitle, Pagination, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationList, Section, SectionDescription, SectionHeader, type SectionProps, SectionTitle, Select, type SelectProps, Stack, Stat, StatChange, StatLabel, StatValue, Switch, type SwitchProps, Tabs, TabsContent, TabsList, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastDescription, type ToastProps, ToastTitle, ToastViewport, Tooltip, cn };
|