@thangnqdev/ui 0.1.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 +196 -0
- package/dist/Label-DWOlgSNW.d.cts +14 -0
- package/dist/Label-DWOlgSNW.d.ts +14 -0
- package/dist/bento/index.cjs +140 -0
- package/dist/bento/index.cjs.map +1 -0
- package/dist/bento/index.d.cts +4 -0
- package/dist/bento/index.d.ts +4 -0
- package/dist/bento/index.js +4 -0
- package/dist/bento/index.js.map +1 -0
- package/dist/bento/styles.css +46 -0
- package/dist/buttons/index.cjs +365 -0
- package/dist/buttons/index.cjs.map +1 -0
- package/dist/buttons/index.d.cts +4 -0
- package/dist/buttons/index.d.ts +4 -0
- package/dist/buttons/index.js +5 -0
- package/dist/buttons/index.js.map +1 -0
- package/dist/buttons/styles.css +6 -0
- package/dist/chunk-2OXZK6IP.js +514 -0
- package/dist/chunk-2OXZK6IP.js.map +1 -0
- package/dist/chunk-4S6L5V7X.js +15 -0
- package/dist/chunk-4S6L5V7X.js.map +1 -0
- package/dist/chunk-5FZ6ZFII.js +728 -0
- package/dist/chunk-5FZ6ZFII.js.map +1 -0
- package/dist/chunk-66VWUJEI.js +86 -0
- package/dist/chunk-66VWUJEI.js.map +1 -0
- package/dist/chunk-A7P3O5Z5.js +163 -0
- package/dist/chunk-A7P3O5Z5.js.map +1 -0
- package/dist/chunk-ATYGDTMK.js +257 -0
- package/dist/chunk-ATYGDTMK.js.map +1 -0
- package/dist/chunk-C4SUXMI3.js +138 -0
- package/dist/chunk-C4SUXMI3.js.map +1 -0
- package/dist/chunk-EU2LPUYP.js +25 -0
- package/dist/chunk-EU2LPUYP.js.map +1 -0
- package/dist/chunk-F5Q7BTMH.js +1991 -0
- package/dist/chunk-F5Q7BTMH.js.map +1 -0
- package/dist/chunk-GXI2H5XA.js +46 -0
- package/dist/chunk-GXI2H5XA.js.map +1 -0
- package/dist/chunk-H3LCNPMC.js +101 -0
- package/dist/chunk-H3LCNPMC.js.map +1 -0
- package/dist/chunk-IABPUCAQ.js +19 -0
- package/dist/chunk-IABPUCAQ.js.map +1 -0
- package/dist/chunk-KJRBRTQE.js +101 -0
- package/dist/chunk-KJRBRTQE.js.map +1 -0
- package/dist/chunk-LBUBXUYQ.js +40 -0
- package/dist/chunk-LBUBXUYQ.js.map +1 -0
- package/dist/chunk-LWFRUJRU.js +537 -0
- package/dist/chunk-LWFRUJRU.js.map +1 -0
- package/dist/chunk-NFVONJUK.js +882 -0
- package/dist/chunk-NFVONJUK.js.map +1 -0
- package/dist/chunk-PF4ZHGVW.js +284 -0
- package/dist/chunk-PF4ZHGVW.js.map +1 -0
- package/dist/chunk-WAFHC4DQ.js +366 -0
- package/dist/chunk-WAFHC4DQ.js.map +1 -0
- package/dist/chunk-X76KBH4Y.js +71 -0
- package/dist/chunk-X76KBH4Y.js.map +1 -0
- package/dist/core/index.cjs +103 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +3 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +4 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/styles.css +128 -0
- package/dist/data-display/index.cjs +1023 -0
- package/dist/data-display/index.cjs.map +1 -0
- package/dist/data-display/index.d.cts +4 -0
- package/dist/data-display/index.d.ts +4 -0
- package/dist/data-display/index.js +6 -0
- package/dist/data-display/index.js.map +1 -0
- package/dist/data-display/styles.css +4 -0
- package/dist/feedback/index.cjs +368 -0
- package/dist/feedback/index.cjs.map +1 -0
- package/dist/feedback/index.d.cts +4 -0
- package/dist/feedback/index.d.ts +4 -0
- package/dist/feedback/index.js +4 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/feedback/styles.css +4 -0
- package/dist/forms/index.cjs +2287 -0
- package/dist/forms/index.cjs.map +1 -0
- package/dist/forms/index.d.cts +5 -0
- package/dist/forms/index.d.ts +5 -0
- package/dist/forms/index.js +10 -0
- package/dist/forms/index.js.map +1 -0
- package/dist/forms/styles.css +6 -0
- package/dist/glass/index.cjs +165 -0
- package/dist/glass/index.cjs.map +1 -0
- package/dist/glass/index.d.cts +4 -0
- package/dist/glass/index.d.ts +4 -0
- package/dist/glass/index.js +4 -0
- package/dist/glass/index.js.map +1 -0
- package/dist/glass/styles.css +81 -0
- package/dist/index-BTvkbCIj.d.cts +146 -0
- package/dist/index-BTvkbCIj.d.ts +146 -0
- package/dist/index-BkRqGNG1.d.cts +201 -0
- package/dist/index-BkRqGNG1.d.ts +201 -0
- package/dist/index-BlPcGeW-.d.cts +45 -0
- package/dist/index-BlPcGeW-.d.ts +45 -0
- package/dist/index-BzOCqvC6.d.cts +32 -0
- package/dist/index-BzOCqvC6.d.ts +32 -0
- package/dist/index-CCeWYAvn.d.cts +83 -0
- package/dist/index-COQ7uwt9.d.cts +44 -0
- package/dist/index-COQ7uwt9.d.ts +44 -0
- package/dist/index-CenuF_P2.d.cts +221 -0
- package/dist/index-CenuF_P2.d.ts +221 -0
- package/dist/index-Cle6QzQl.d.ts +371 -0
- package/dist/index-D6fE7w-b.d.cts +90 -0
- package/dist/index-D6fE7w-b.d.ts +90 -0
- package/dist/index-DR8cfJUG.d.ts +83 -0
- package/dist/index-DzcWh1Hs.d.cts +131 -0
- package/dist/index-DzcWh1Hs.d.ts +131 -0
- package/dist/index-TyK-Ldpy.d.cts +371 -0
- package/dist/index-ugj5s6a3.d.cts +95 -0
- package/dist/index-ugj5s6a3.d.ts +95 -0
- package/dist/index.cjs +6400 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/layout/index.cjs +516 -0
- package/dist/layout/index.cjs.map +1 -0
- package/dist/layout/index.d.cts +4 -0
- package/dist/layout/index.d.ts +4 -0
- package/dist/layout/index.js +4 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/styles.css +8 -0
- package/dist/navigation/index.cjs +673 -0
- package/dist/navigation/index.cjs.map +1 -0
- package/dist/navigation/index.d.cts +2 -0
- package/dist/navigation/index.d.ts +2 -0
- package/dist/navigation/index.js +8 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/navigation/styles.css +4 -0
- package/dist/overlays/index.cjs +954 -0
- package/dist/overlays/index.cjs.map +1 -0
- package/dist/overlays/index.d.cts +4 -0
- package/dist/overlays/index.d.ts +4 -0
- package/dist/overlays/index.js +9 -0
- package/dist/overlays/index.js.map +1 -0
- package/dist/overlays/styles.css +8 -0
- package/dist/styles.css +333 -0
- package/dist/typography/index.cjs +311 -0
- package/dist/typography/index.cjs.map +1 -0
- package/dist/typography/index.d.cts +5 -0
- package/dist/typography/index.d.ts +5 -0
- package/dist/typography/index.js +6 -0
- package/dist/typography/index.js.map +1 -0
- package/dist/typography/styles.css +5 -0
- package/llms.txt +113 -0
- package/package.json +116 -0
- package/src/bento/BentoCard.tsx +140 -0
- package/src/bento/BentoGrid.tsx +50 -0
- package/src/bento/index.ts +2 -0
- package/src/bento/tokens.css +46 -0
- package/src/buttons/Button.tsx +104 -0
- package/src/buttons/ButtonGroup.tsx +43 -0
- package/src/buttons/IconButton.tsx +79 -0
- package/src/buttons/SplitButton.tsx +86 -0
- package/src/buttons/ToggleButton.tsx +157 -0
- package/src/buttons/index.ts +5 -0
- package/src/buttons/tokens.css +6 -0
- package/src/core/ThemeProvider.tsx +123 -0
- package/src/core/index.ts +2 -0
- package/src/core/tokens.css +128 -0
- package/src/data-display/Accordion.tsx +147 -0
- package/src/data-display/Avatar.tsx +134 -0
- package/src/data-display/Card.tsx +112 -0
- package/src/data-display/Carousel.tsx +130 -0
- package/src/data-display/Chip.tsx +74 -0
- package/src/data-display/DataTablePro.tsx +356 -0
- package/src/data-display/StatCard.tsx +60 -0
- package/src/data-display/Table.tsx +74 -0
- package/src/data-display/Timeline.tsx +62 -0
- package/src/data-display/TreeView.tsx +140 -0
- package/src/data-display/index.ts +10 -0
- package/src/data-display/tokens.css +4 -0
- package/src/feedback/Alert.tsx +80 -0
- package/src/feedback/EmptyState.tsx +45 -0
- package/src/feedback/ProgressBar.tsx +174 -0
- package/src/feedback/Skeleton.tsx +66 -0
- package/src/feedback/Spinner.tsx +65 -0
- package/src/feedback/index.ts +5 -0
- package/src/feedback/tokens.css +4 -0
- package/src/forms/Checkbox.tsx +69 -0
- package/src/forms/CheckboxGroup.tsx +29 -0
- package/src/forms/Combobox.tsx +368 -0
- package/src/forms/DatePicker.tsx +480 -0
- package/src/forms/FileUpload.tsx +222 -0
- package/src/forms/FormField.tsx +115 -0
- package/src/forms/Input.tsx +151 -0
- package/src/forms/MaskedInput.tsx +97 -0
- package/src/forms/NumberInput.tsx +248 -0
- package/src/forms/PasswordInput.tsx +35 -0
- package/src/forms/PinInput.tsx +125 -0
- package/src/forms/Radio.tsx +142 -0
- package/src/forms/RangeSlider.tsx +111 -0
- package/src/forms/SearchInput.tsx +34 -0
- package/src/forms/Select.tsx +103 -0
- package/src/forms/Slider.tsx +85 -0
- package/src/forms/Switch.tsx +95 -0
- package/src/forms/Textarea.tsx +114 -0
- package/src/forms/index.ts +18 -0
- package/src/forms/tokens.css +6 -0
- package/src/glass/GlassBadge.tsx +61 -0
- package/src/glass/GlassButton.tsx +59 -0
- package/src/glass/GlassCard.tsx +71 -0
- package/src/glass/index.ts +3 -0
- package/src/glass/tokens.css +81 -0
- package/src/index.ts +26 -0
- package/src/layout/AspectRatio.tsx +39 -0
- package/src/layout/Container.tsx +53 -0
- package/src/layout/Divider.tsx +61 -0
- package/src/layout/Flex.tsx +79 -0
- package/src/layout/Grid.tsx +124 -0
- package/src/layout/PageLayout.tsx +59 -0
- package/src/layout/ScrollArea.tsx +43 -0
- package/src/layout/Section.tsx +47 -0
- package/src/layout/Spacer.tsx +30 -0
- package/src/layout/Stack.tsx +88 -0
- package/src/layout/index.ts +10 -0
- package/src/layout/tokens.css +8 -0
- package/src/navigation/Breadcrumb.tsx +73 -0
- package/src/navigation/CommandPalette.tsx +142 -0
- package/src/navigation/DropdownMenu.tsx +160 -0
- package/src/navigation/Pagination.tsx +114 -0
- package/src/navigation/Stepper.tsx +93 -0
- package/src/navigation/Tabs.tsx +133 -0
- package/src/navigation/index.ts +6 -0
- package/src/navigation/tokens.css +4 -0
- package/src/overlays/AlertDialog.tsx +54 -0
- package/src/overlays/BottomSheet.tsx +123 -0
- package/src/overlays/ContextMenu.tsx +119 -0
- package/src/overlays/Drawer.tsx +145 -0
- package/src/overlays/FocusTrap.tsx +49 -0
- package/src/overlays/HoverCard.tsx +72 -0
- package/src/overlays/Modal.tsx +219 -0
- package/src/overlays/Popover.tsx +126 -0
- package/src/overlays/Portal.tsx +23 -0
- package/src/overlays/Toast.tsx +137 -0
- package/src/overlays/Tooltip.tsx +100 -0
- package/src/overlays/index.ts +11 -0
- package/src/overlays/tokens.css +8 -0
- package/src/styles/tokens.css +2 -0
- package/src/typography/Blockquote.tsx +32 -0
- package/src/typography/Code.tsx +89 -0
- package/src/typography/Heading.tsx +56 -0
- package/src/typography/Kbd.tsx +25 -0
- package/src/typography/Label.tsx +47 -0
- package/src/typography/Link.tsx +56 -0
- package/src/typography/Text.tsx +62 -0
- package/src/typography/index.ts +7 -0
- package/src/typography/tokens.css +5 -0
- package/src/utils/cn.ts +6 -0
- package/ui-contract.json +62 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const cardVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "glow" | "bordered" | "elevated" | "interactive" | null | undefined;
|
|
7
|
+
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
8
|
+
specular?: boolean | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface CardProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
11
|
+
}
|
|
12
|
+
declare const Card: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const CardHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const CardTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
15
|
+
declare const CardDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
16
|
+
declare const CardContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const CardFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
|
|
19
|
+
declare const Table: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableElement> & React__default.RefAttributes<HTMLTableElement>>;
|
|
20
|
+
declare const TableHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
21
|
+
declare const TableBody: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
22
|
+
declare const TableFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
23
|
+
declare const TableRow: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableRowElement> & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
24
|
+
declare const TableHead: React__default.ForwardRefExoticComponent<React__default.ThHTMLAttributes<HTMLTableCellElement> & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
25
|
+
declare const TableCell: React__default.ForwardRefExoticComponent<React__default.TdHTMLAttributes<HTMLTableCellElement> & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
26
|
+
declare const TableCaption: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableCaptionElement> & React__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
27
|
+
|
|
28
|
+
declare const avatarVariants: (props?: ({
|
|
29
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
30
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
31
|
+
declare const statusVariants: (props?: ({
|
|
32
|
+
status?: "offline" | "online" | "busy" | "away" | null | undefined;
|
|
33
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
34
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
35
|
+
interface AvatarProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
|
|
36
|
+
src?: string;
|
|
37
|
+
alt?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
status?: 'online' | 'offline' | 'busy' | 'away';
|
|
40
|
+
}
|
|
41
|
+
declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
interface AvatarGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
43
|
+
max?: number;
|
|
44
|
+
spacing?: 'tight' | 'normal';
|
|
45
|
+
}
|
|
46
|
+
declare const AvatarGroup: React__default.ForwardRefExoticComponent<AvatarGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
|
|
48
|
+
interface AccordionContextType {
|
|
49
|
+
openItems: string[];
|
|
50
|
+
toggleItem: (id: string) => void;
|
|
51
|
+
}
|
|
52
|
+
declare function useAccordion(): AccordionContextType;
|
|
53
|
+
interface AccordionProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
54
|
+
type?: 'single' | 'multiple';
|
|
55
|
+
defaultValue?: string | string[];
|
|
56
|
+
value?: string | string[];
|
|
57
|
+
onValueChange?: (val: any) => void;
|
|
58
|
+
}
|
|
59
|
+
declare const Accordion: React__default.ForwardRefExoticComponent<AccordionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
60
|
+
interface AccordionItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
61
|
+
value: string;
|
|
62
|
+
}
|
|
63
|
+
declare const AccordionItem: React__default.ForwardRefExoticComponent<AccordionItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
declare const AccordionTrigger: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
65
|
+
declare const AccordionContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
66
|
+
|
|
67
|
+
declare const chipVariants: (props?: ({
|
|
68
|
+
variant?: "default" | "error" | "success" | "primary" | "secondary" | "warning" | null | undefined;
|
|
69
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
70
|
+
clickable?: boolean | null | undefined;
|
|
71
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
72
|
+
interface ChipProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof chipVariants> {
|
|
73
|
+
onRemove?: () => void;
|
|
74
|
+
icon?: React__default.ReactNode;
|
|
75
|
+
}
|
|
76
|
+
declare const Chip: React__default.ForwardRefExoticComponent<ChipProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
77
|
+
|
|
78
|
+
interface StatCardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
79
|
+
label: string;
|
|
80
|
+
value: string | number;
|
|
81
|
+
change?: string | number;
|
|
82
|
+
trend?: 'up' | 'down' | 'neutral';
|
|
83
|
+
trendLabel?: string;
|
|
84
|
+
icon?: React__default.ReactNode;
|
|
85
|
+
}
|
|
86
|
+
declare const StatCard: React__default.ForwardRefExoticComponent<StatCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
87
|
+
|
|
88
|
+
interface TimelineItem {
|
|
89
|
+
id: string | number;
|
|
90
|
+
title: React__default.ReactNode;
|
|
91
|
+
description?: React__default.ReactNode;
|
|
92
|
+
timestamp?: string;
|
|
93
|
+
icon?: React__default.ReactNode;
|
|
94
|
+
status?: 'completed' | 'active' | 'pending';
|
|
95
|
+
}
|
|
96
|
+
interface TimelineProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
97
|
+
items: TimelineItem[];
|
|
98
|
+
}
|
|
99
|
+
declare const Timeline: React__default.ForwardRefExoticComponent<TimelineProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
100
|
+
|
|
101
|
+
interface ColumnDef<T> {
|
|
102
|
+
key: string;
|
|
103
|
+
header: string | React__default.ReactNode;
|
|
104
|
+
accessor?: (row: T) => any;
|
|
105
|
+
render?: (row: T, index: number) => React__default.ReactNode;
|
|
106
|
+
sortable?: boolean;
|
|
107
|
+
width?: string;
|
|
108
|
+
}
|
|
109
|
+
interface DataTableProProps<T> {
|
|
110
|
+
data: T[];
|
|
111
|
+
columns: ColumnDef<T>[];
|
|
112
|
+
keyExtractor: (row: T) => string;
|
|
113
|
+
searchable?: boolean;
|
|
114
|
+
searchPlaceholder?: string;
|
|
115
|
+
selectable?: boolean;
|
|
116
|
+
onSelectionChange?: (selectedKeys: string[]) => void;
|
|
117
|
+
pageSize?: number;
|
|
118
|
+
pageSizeOptions?: number[];
|
|
119
|
+
title?: string;
|
|
120
|
+
description?: string;
|
|
121
|
+
actions?: React__default.ReactNode;
|
|
122
|
+
className?: string;
|
|
123
|
+
}
|
|
124
|
+
declare function DataTablePro<T extends Record<string, any>>({ data, columns, keyExtractor, searchable, searchPlaceholder, selectable, onSelectionChange, pageSize: initialPageSize, pageSizeOptions, title, description, actions, className, }: DataTableProProps<T>): React__default.JSX.Element;
|
|
125
|
+
|
|
126
|
+
interface TreeItem {
|
|
127
|
+
id: string;
|
|
128
|
+
label: string;
|
|
129
|
+
icon?: React__default.ReactNode;
|
|
130
|
+
badge?: string | number;
|
|
131
|
+
children?: TreeItem[];
|
|
132
|
+
defaultExpanded?: boolean;
|
|
133
|
+
}
|
|
134
|
+
interface TreeViewProps {
|
|
135
|
+
data: TreeItem[];
|
|
136
|
+
selectedId?: string;
|
|
137
|
+
onSelect?: (item: TreeItem) => void;
|
|
138
|
+
className?: string;
|
|
139
|
+
}
|
|
140
|
+
declare const TreeView: React__default.ForwardRefExoticComponent<TreeViewProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
141
|
+
|
|
142
|
+
interface CarouselProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
143
|
+
autoplay?: boolean;
|
|
144
|
+
autoplayInterval?: number;
|
|
145
|
+
loop?: boolean;
|
|
146
|
+
showArrows?: boolean;
|
|
147
|
+
showDots?: boolean;
|
|
148
|
+
children: React__default.ReactNode[];
|
|
149
|
+
}
|
|
150
|
+
declare const Carousel: React__default.ForwardRefExoticComponent<CarouselProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
151
|
+
|
|
152
|
+
declare const index_Accordion: typeof Accordion;
|
|
153
|
+
declare const index_AccordionContent: typeof AccordionContent;
|
|
154
|
+
declare const index_AccordionItem: typeof AccordionItem;
|
|
155
|
+
type index_AccordionItemProps = AccordionItemProps;
|
|
156
|
+
type index_AccordionProps = AccordionProps;
|
|
157
|
+
declare const index_AccordionTrigger: typeof AccordionTrigger;
|
|
158
|
+
declare const index_Avatar: typeof Avatar;
|
|
159
|
+
declare const index_AvatarGroup: typeof AvatarGroup;
|
|
160
|
+
type index_AvatarGroupProps = AvatarGroupProps;
|
|
161
|
+
type index_AvatarProps = AvatarProps;
|
|
162
|
+
declare const index_Card: typeof Card;
|
|
163
|
+
declare const index_CardContent: typeof CardContent;
|
|
164
|
+
declare const index_CardDescription: typeof CardDescription;
|
|
165
|
+
declare const index_CardFooter: typeof CardFooter;
|
|
166
|
+
declare const index_CardHeader: typeof CardHeader;
|
|
167
|
+
type index_CardProps = CardProps;
|
|
168
|
+
declare const index_CardTitle: typeof CardTitle;
|
|
169
|
+
declare const index_Carousel: typeof Carousel;
|
|
170
|
+
type index_CarouselProps = CarouselProps;
|
|
171
|
+
declare const index_Chip: typeof Chip;
|
|
172
|
+
type index_ChipProps = ChipProps;
|
|
173
|
+
type index_ColumnDef<T> = ColumnDef<T>;
|
|
174
|
+
declare const index_DataTablePro: typeof DataTablePro;
|
|
175
|
+
type index_DataTableProProps<T> = DataTableProProps<T>;
|
|
176
|
+
declare const index_StatCard: typeof StatCard;
|
|
177
|
+
type index_StatCardProps = StatCardProps;
|
|
178
|
+
declare const index_Table: typeof Table;
|
|
179
|
+
declare const index_TableBody: typeof TableBody;
|
|
180
|
+
declare const index_TableCaption: typeof TableCaption;
|
|
181
|
+
declare const index_TableCell: typeof TableCell;
|
|
182
|
+
declare const index_TableFooter: typeof TableFooter;
|
|
183
|
+
declare const index_TableHead: typeof TableHead;
|
|
184
|
+
declare const index_TableHeader: typeof TableHeader;
|
|
185
|
+
declare const index_TableRow: typeof TableRow;
|
|
186
|
+
declare const index_Timeline: typeof Timeline;
|
|
187
|
+
type index_TimelineItem = TimelineItem;
|
|
188
|
+
type index_TimelineProps = TimelineProps;
|
|
189
|
+
type index_TreeItem = TreeItem;
|
|
190
|
+
declare const index_TreeView: typeof TreeView;
|
|
191
|
+
type index_TreeViewProps = TreeViewProps;
|
|
192
|
+
declare const index_avatarVariants: typeof avatarVariants;
|
|
193
|
+
declare const index_cardVariants: typeof cardVariants;
|
|
194
|
+
declare const index_chipVariants: typeof chipVariants;
|
|
195
|
+
declare const index_statusVariants: typeof statusVariants;
|
|
196
|
+
declare const index_useAccordion: typeof useAccordion;
|
|
197
|
+
declare namespace index {
|
|
198
|
+
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, type index_AccordionItemProps as AccordionItemProps, type index_AccordionProps as AccordionProps, index_AccordionTrigger as AccordionTrigger, index_Avatar as Avatar, index_AvatarGroup as AvatarGroup, type index_AvatarGroupProps as AvatarGroupProps, type index_AvatarProps as AvatarProps, index_Card as Card, index_CardContent as CardContent, index_CardDescription as CardDescription, index_CardFooter as CardFooter, index_CardHeader as CardHeader, type index_CardProps as CardProps, index_CardTitle as CardTitle, index_Carousel as Carousel, type index_CarouselProps as CarouselProps, index_Chip as Chip, type index_ChipProps as ChipProps, type index_ColumnDef as ColumnDef, index_DataTablePro as DataTablePro, type index_DataTableProProps as DataTableProProps, index_StatCard as StatCard, type index_StatCardProps as StatCardProps, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Timeline as Timeline, type index_TimelineItem as TimelineItem, type index_TimelineProps as TimelineProps, type index_TreeItem as TreeItem, index_TreeView as TreeView, type index_TreeViewProps as TreeViewProps, index_avatarVariants as avatarVariants, index_cardVariants as cardVariants, index_chipVariants as chipVariants, index_statusVariants as statusVariants, index_useAccordion as useAccordion };
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export { Accordion as A, TableFooter as B, Card as C, DataTablePro as D, TableHead as E, TableHeader as F, TableRow as G, Timeline as H, type TimelineItem as I, type TimelineProps as J, type TreeItem as K, TreeView as L, type TreeViewProps as M, avatarVariants as N, cardVariants as O, chipVariants as P, statusVariants as Q, useAccordion as R, StatCard as S, Table as T, AccordionContent as a, AccordionItem as b, type AccordionItemProps as c, type AccordionProps as d, AccordionTrigger as e, Avatar as f, AvatarGroup as g, type AvatarGroupProps as h, type AvatarProps as i, CardContent as j, CardDescription as k, CardFooter as l, CardHeader as m, type CardProps as n, CardTitle as o, Carousel as p, type CarouselProps as q, Chip as r, type ChipProps as s, type ColumnDef as t, index as u, type DataTableProProps as v, type StatCardProps as w, TableBody as x, TableCaption as y, TableCell as z };
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const cardVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "glow" | "bordered" | "elevated" | "interactive" | null | undefined;
|
|
7
|
+
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
8
|
+
specular?: boolean | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface CardProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
11
|
+
}
|
|
12
|
+
declare const Card: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const CardHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const CardTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
15
|
+
declare const CardDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
16
|
+
declare const CardContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const CardFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
|
|
19
|
+
declare const Table: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableElement> & React__default.RefAttributes<HTMLTableElement>>;
|
|
20
|
+
declare const TableHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
21
|
+
declare const TableBody: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
22
|
+
declare const TableFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
23
|
+
declare const TableRow: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableRowElement> & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
24
|
+
declare const TableHead: React__default.ForwardRefExoticComponent<React__default.ThHTMLAttributes<HTMLTableCellElement> & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
25
|
+
declare const TableCell: React__default.ForwardRefExoticComponent<React__default.TdHTMLAttributes<HTMLTableCellElement> & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
26
|
+
declare const TableCaption: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableCaptionElement> & React__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
27
|
+
|
|
28
|
+
declare const avatarVariants: (props?: ({
|
|
29
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
30
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
31
|
+
declare const statusVariants: (props?: ({
|
|
32
|
+
status?: "offline" | "online" | "busy" | "away" | null | undefined;
|
|
33
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
34
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
35
|
+
interface AvatarProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
|
|
36
|
+
src?: string;
|
|
37
|
+
alt?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
status?: 'online' | 'offline' | 'busy' | 'away';
|
|
40
|
+
}
|
|
41
|
+
declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
interface AvatarGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
43
|
+
max?: number;
|
|
44
|
+
spacing?: 'tight' | 'normal';
|
|
45
|
+
}
|
|
46
|
+
declare const AvatarGroup: React__default.ForwardRefExoticComponent<AvatarGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
|
|
48
|
+
interface AccordionContextType {
|
|
49
|
+
openItems: string[];
|
|
50
|
+
toggleItem: (id: string) => void;
|
|
51
|
+
}
|
|
52
|
+
declare function useAccordion(): AccordionContextType;
|
|
53
|
+
interface AccordionProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
54
|
+
type?: 'single' | 'multiple';
|
|
55
|
+
defaultValue?: string | string[];
|
|
56
|
+
value?: string | string[];
|
|
57
|
+
onValueChange?: (val: any) => void;
|
|
58
|
+
}
|
|
59
|
+
declare const Accordion: React__default.ForwardRefExoticComponent<AccordionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
60
|
+
interface AccordionItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
61
|
+
value: string;
|
|
62
|
+
}
|
|
63
|
+
declare const AccordionItem: React__default.ForwardRefExoticComponent<AccordionItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
declare const AccordionTrigger: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
65
|
+
declare const AccordionContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
66
|
+
|
|
67
|
+
declare const chipVariants: (props?: ({
|
|
68
|
+
variant?: "default" | "error" | "success" | "primary" | "secondary" | "warning" | null | undefined;
|
|
69
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
70
|
+
clickable?: boolean | null | undefined;
|
|
71
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
72
|
+
interface ChipProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof chipVariants> {
|
|
73
|
+
onRemove?: () => void;
|
|
74
|
+
icon?: React__default.ReactNode;
|
|
75
|
+
}
|
|
76
|
+
declare const Chip: React__default.ForwardRefExoticComponent<ChipProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
77
|
+
|
|
78
|
+
interface StatCardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
79
|
+
label: string;
|
|
80
|
+
value: string | number;
|
|
81
|
+
change?: string | number;
|
|
82
|
+
trend?: 'up' | 'down' | 'neutral';
|
|
83
|
+
trendLabel?: string;
|
|
84
|
+
icon?: React__default.ReactNode;
|
|
85
|
+
}
|
|
86
|
+
declare const StatCard: React__default.ForwardRefExoticComponent<StatCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
87
|
+
|
|
88
|
+
interface TimelineItem {
|
|
89
|
+
id: string | number;
|
|
90
|
+
title: React__default.ReactNode;
|
|
91
|
+
description?: React__default.ReactNode;
|
|
92
|
+
timestamp?: string;
|
|
93
|
+
icon?: React__default.ReactNode;
|
|
94
|
+
status?: 'completed' | 'active' | 'pending';
|
|
95
|
+
}
|
|
96
|
+
interface TimelineProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
97
|
+
items: TimelineItem[];
|
|
98
|
+
}
|
|
99
|
+
declare const Timeline: React__default.ForwardRefExoticComponent<TimelineProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
100
|
+
|
|
101
|
+
interface ColumnDef<T> {
|
|
102
|
+
key: string;
|
|
103
|
+
header: string | React__default.ReactNode;
|
|
104
|
+
accessor?: (row: T) => any;
|
|
105
|
+
render?: (row: T, index: number) => React__default.ReactNode;
|
|
106
|
+
sortable?: boolean;
|
|
107
|
+
width?: string;
|
|
108
|
+
}
|
|
109
|
+
interface DataTableProProps<T> {
|
|
110
|
+
data: T[];
|
|
111
|
+
columns: ColumnDef<T>[];
|
|
112
|
+
keyExtractor: (row: T) => string;
|
|
113
|
+
searchable?: boolean;
|
|
114
|
+
searchPlaceholder?: string;
|
|
115
|
+
selectable?: boolean;
|
|
116
|
+
onSelectionChange?: (selectedKeys: string[]) => void;
|
|
117
|
+
pageSize?: number;
|
|
118
|
+
pageSizeOptions?: number[];
|
|
119
|
+
title?: string;
|
|
120
|
+
description?: string;
|
|
121
|
+
actions?: React__default.ReactNode;
|
|
122
|
+
className?: string;
|
|
123
|
+
}
|
|
124
|
+
declare function DataTablePro<T extends Record<string, any>>({ data, columns, keyExtractor, searchable, searchPlaceholder, selectable, onSelectionChange, pageSize: initialPageSize, pageSizeOptions, title, description, actions, className, }: DataTableProProps<T>): React__default.JSX.Element;
|
|
125
|
+
|
|
126
|
+
interface TreeItem {
|
|
127
|
+
id: string;
|
|
128
|
+
label: string;
|
|
129
|
+
icon?: React__default.ReactNode;
|
|
130
|
+
badge?: string | number;
|
|
131
|
+
children?: TreeItem[];
|
|
132
|
+
defaultExpanded?: boolean;
|
|
133
|
+
}
|
|
134
|
+
interface TreeViewProps {
|
|
135
|
+
data: TreeItem[];
|
|
136
|
+
selectedId?: string;
|
|
137
|
+
onSelect?: (item: TreeItem) => void;
|
|
138
|
+
className?: string;
|
|
139
|
+
}
|
|
140
|
+
declare const TreeView: React__default.ForwardRefExoticComponent<TreeViewProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
141
|
+
|
|
142
|
+
interface CarouselProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
143
|
+
autoplay?: boolean;
|
|
144
|
+
autoplayInterval?: number;
|
|
145
|
+
loop?: boolean;
|
|
146
|
+
showArrows?: boolean;
|
|
147
|
+
showDots?: boolean;
|
|
148
|
+
children: React__default.ReactNode[];
|
|
149
|
+
}
|
|
150
|
+
declare const Carousel: React__default.ForwardRefExoticComponent<CarouselProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
151
|
+
|
|
152
|
+
declare const index_Accordion: typeof Accordion;
|
|
153
|
+
declare const index_AccordionContent: typeof AccordionContent;
|
|
154
|
+
declare const index_AccordionItem: typeof AccordionItem;
|
|
155
|
+
type index_AccordionItemProps = AccordionItemProps;
|
|
156
|
+
type index_AccordionProps = AccordionProps;
|
|
157
|
+
declare const index_AccordionTrigger: typeof AccordionTrigger;
|
|
158
|
+
declare const index_Avatar: typeof Avatar;
|
|
159
|
+
declare const index_AvatarGroup: typeof AvatarGroup;
|
|
160
|
+
type index_AvatarGroupProps = AvatarGroupProps;
|
|
161
|
+
type index_AvatarProps = AvatarProps;
|
|
162
|
+
declare const index_Card: typeof Card;
|
|
163
|
+
declare const index_CardContent: typeof CardContent;
|
|
164
|
+
declare const index_CardDescription: typeof CardDescription;
|
|
165
|
+
declare const index_CardFooter: typeof CardFooter;
|
|
166
|
+
declare const index_CardHeader: typeof CardHeader;
|
|
167
|
+
type index_CardProps = CardProps;
|
|
168
|
+
declare const index_CardTitle: typeof CardTitle;
|
|
169
|
+
declare const index_Carousel: typeof Carousel;
|
|
170
|
+
type index_CarouselProps = CarouselProps;
|
|
171
|
+
declare const index_Chip: typeof Chip;
|
|
172
|
+
type index_ChipProps = ChipProps;
|
|
173
|
+
type index_ColumnDef<T> = ColumnDef<T>;
|
|
174
|
+
declare const index_DataTablePro: typeof DataTablePro;
|
|
175
|
+
type index_DataTableProProps<T> = DataTableProProps<T>;
|
|
176
|
+
declare const index_StatCard: typeof StatCard;
|
|
177
|
+
type index_StatCardProps = StatCardProps;
|
|
178
|
+
declare const index_Table: typeof Table;
|
|
179
|
+
declare const index_TableBody: typeof TableBody;
|
|
180
|
+
declare const index_TableCaption: typeof TableCaption;
|
|
181
|
+
declare const index_TableCell: typeof TableCell;
|
|
182
|
+
declare const index_TableFooter: typeof TableFooter;
|
|
183
|
+
declare const index_TableHead: typeof TableHead;
|
|
184
|
+
declare const index_TableHeader: typeof TableHeader;
|
|
185
|
+
declare const index_TableRow: typeof TableRow;
|
|
186
|
+
declare const index_Timeline: typeof Timeline;
|
|
187
|
+
type index_TimelineItem = TimelineItem;
|
|
188
|
+
type index_TimelineProps = TimelineProps;
|
|
189
|
+
type index_TreeItem = TreeItem;
|
|
190
|
+
declare const index_TreeView: typeof TreeView;
|
|
191
|
+
type index_TreeViewProps = TreeViewProps;
|
|
192
|
+
declare const index_avatarVariants: typeof avatarVariants;
|
|
193
|
+
declare const index_cardVariants: typeof cardVariants;
|
|
194
|
+
declare const index_chipVariants: typeof chipVariants;
|
|
195
|
+
declare const index_statusVariants: typeof statusVariants;
|
|
196
|
+
declare const index_useAccordion: typeof useAccordion;
|
|
197
|
+
declare namespace index {
|
|
198
|
+
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, type index_AccordionItemProps as AccordionItemProps, type index_AccordionProps as AccordionProps, index_AccordionTrigger as AccordionTrigger, index_Avatar as Avatar, index_AvatarGroup as AvatarGroup, type index_AvatarGroupProps as AvatarGroupProps, type index_AvatarProps as AvatarProps, index_Card as Card, index_CardContent as CardContent, index_CardDescription as CardDescription, index_CardFooter as CardFooter, index_CardHeader as CardHeader, type index_CardProps as CardProps, index_CardTitle as CardTitle, index_Carousel as Carousel, type index_CarouselProps as CarouselProps, index_Chip as Chip, type index_ChipProps as ChipProps, type index_ColumnDef as ColumnDef, index_DataTablePro as DataTablePro, type index_DataTableProProps as DataTableProProps, index_StatCard as StatCard, type index_StatCardProps as StatCardProps, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Timeline as Timeline, type index_TimelineItem as TimelineItem, type index_TimelineProps as TimelineProps, type index_TreeItem as TreeItem, index_TreeView as TreeView, type index_TreeViewProps as TreeViewProps, index_avatarVariants as avatarVariants, index_cardVariants as cardVariants, index_chipVariants as chipVariants, index_statusVariants as statusVariants, index_useAccordion as useAccordion };
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export { Accordion as A, TableFooter as B, Card as C, DataTablePro as D, TableHead as E, TableHeader as F, TableRow as G, Timeline as H, type TimelineItem as I, type TimelineProps as J, type TreeItem as K, TreeView as L, type TreeViewProps as M, avatarVariants as N, cardVariants as O, chipVariants as P, statusVariants as Q, useAccordion as R, StatCard as S, Table as T, AccordionContent as a, AccordionItem as b, type AccordionItemProps as c, type AccordionProps as d, AccordionTrigger as e, Avatar as f, AvatarGroup as g, type AvatarGroupProps as h, type AvatarProps as i, CardContent as j, CardDescription as k, CardFooter as l, CardHeader as m, type CardProps as n, CardTitle as o, Carousel as p, type CarouselProps as q, Chip as r, type ChipProps as s, type ColumnDef as t, index as u, type DataTableProProps as v, type StatCardProps as w, TableBody as x, TableCaption as y, TableCell as z };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const bentoGridVariants: (props?: ({
|
|
6
|
+
cols?: 2 | 1 | 4 | 3 | null | undefined;
|
|
7
|
+
gap?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
flow?: "col" | "row" | "dense" | "row-dense" | "col-dense" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface BentoGridProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bentoGridVariants> {
|
|
11
|
+
}
|
|
12
|
+
declare const BentoGrid: React__default.FC<BentoGridProps>;
|
|
13
|
+
|
|
14
|
+
declare const bentoCardVariants: (props?: ({
|
|
15
|
+
colSpan?: 2 | 1 | 3 | null | undefined;
|
|
16
|
+
rowSpan?: 2 | 1 | 3 | null | undefined;
|
|
17
|
+
variant?: "default" | "elevated" | "spotlight" | null | undefined;
|
|
18
|
+
radius?: "md" | "lg" | null | undefined;
|
|
19
|
+
padding?: "sm" | "md" | "lg" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
|
+
interface BentoCardProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'>, VariantProps<typeof bentoCardVariants> {
|
|
22
|
+
title?: React__default.ReactNode;
|
|
23
|
+
description?: React__default.ReactNode;
|
|
24
|
+
icon?: React__default.ReactNode;
|
|
25
|
+
tag?: React__default.ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Decorative background graphic. Non-interactive backdrop element.
|
|
28
|
+
*/
|
|
29
|
+
backgroundGraphic?: React__default.ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Use `backgroundGraphic` instead.
|
|
32
|
+
*/
|
|
33
|
+
graphic?: React__default.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
declare const BentoCard: React__default.ForwardRefExoticComponent<BentoCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
|
|
37
|
+
declare const index_BentoCard: typeof BentoCard;
|
|
38
|
+
type index_BentoCardProps = BentoCardProps;
|
|
39
|
+
declare const index_BentoGrid: typeof BentoGrid;
|
|
40
|
+
type index_BentoGridProps = BentoGridProps;
|
|
41
|
+
declare namespace index {
|
|
42
|
+
export { index_BentoCard as BentoCard, type index_BentoCardProps as BentoCardProps, index_BentoGrid as BentoGrid, type index_BentoGridProps as BentoGridProps };
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { BentoCard as B, type BentoCardProps as a, BentoGrid as b, type BentoGridProps as c, index as i };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const bentoGridVariants: (props?: ({
|
|
6
|
+
cols?: 2 | 1 | 4 | 3 | null | undefined;
|
|
7
|
+
gap?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
flow?: "col" | "row" | "dense" | "row-dense" | "col-dense" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface BentoGridProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bentoGridVariants> {
|
|
11
|
+
}
|
|
12
|
+
declare const BentoGrid: React__default.FC<BentoGridProps>;
|
|
13
|
+
|
|
14
|
+
declare const bentoCardVariants: (props?: ({
|
|
15
|
+
colSpan?: 2 | 1 | 3 | null | undefined;
|
|
16
|
+
rowSpan?: 2 | 1 | 3 | null | undefined;
|
|
17
|
+
variant?: "default" | "elevated" | "spotlight" | null | undefined;
|
|
18
|
+
radius?: "md" | "lg" | null | undefined;
|
|
19
|
+
padding?: "sm" | "md" | "lg" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
|
+
interface BentoCardProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'>, VariantProps<typeof bentoCardVariants> {
|
|
22
|
+
title?: React__default.ReactNode;
|
|
23
|
+
description?: React__default.ReactNode;
|
|
24
|
+
icon?: React__default.ReactNode;
|
|
25
|
+
tag?: React__default.ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Decorative background graphic. Non-interactive backdrop element.
|
|
28
|
+
*/
|
|
29
|
+
backgroundGraphic?: React__default.ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Use `backgroundGraphic` instead.
|
|
32
|
+
*/
|
|
33
|
+
graphic?: React__default.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
declare const BentoCard: React__default.ForwardRefExoticComponent<BentoCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
|
|
37
|
+
declare const index_BentoCard: typeof BentoCard;
|
|
38
|
+
type index_BentoCardProps = BentoCardProps;
|
|
39
|
+
declare const index_BentoGrid: typeof BentoGrid;
|
|
40
|
+
type index_BentoGridProps = BentoGridProps;
|
|
41
|
+
declare namespace index {
|
|
42
|
+
export { index_BentoCard as BentoCard, type index_BentoCardProps as BentoCardProps, index_BentoGrid as BentoGrid, type index_BentoGridProps as BentoGridProps };
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { BentoCard as B, type BentoCardProps as a, BentoGrid as b, type BentoGridProps as c, index as i };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
3
|
+
|
|
4
|
+
type Theme = 'dark' | 'light' | 'system';
|
|
5
|
+
interface ThemeProviderProps {
|
|
6
|
+
children: React__default.ReactNode;
|
|
7
|
+
defaultTheme?: Theme;
|
|
8
|
+
storageKey?: string;
|
|
9
|
+
attribute?: string;
|
|
10
|
+
enableSystem?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface ThemeContextType {
|
|
13
|
+
theme: Theme;
|
|
14
|
+
resolvedTheme: 'dark' | 'light';
|
|
15
|
+
setTheme: (theme: Theme) => void;
|
|
16
|
+
toggleTheme: () => void;
|
|
17
|
+
}
|
|
18
|
+
declare function ThemeProvider({ children, defaultTheme, storageKey, attribute, enableSystem, }: ThemeProviderProps): React__default.JSX.Element;
|
|
19
|
+
declare function useTheme(): ThemeContextType;
|
|
20
|
+
|
|
21
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
22
|
+
|
|
23
|
+
type index_Theme = Theme;
|
|
24
|
+
declare const index_ThemeProvider: typeof ThemeProvider;
|
|
25
|
+
type index_ThemeProviderProps = ThemeProviderProps;
|
|
26
|
+
declare const index_cn: typeof cn;
|
|
27
|
+
declare const index_useTheme: typeof useTheme;
|
|
28
|
+
declare namespace index {
|
|
29
|
+
export { type index_Theme as Theme, index_ThemeProvider as ThemeProvider, type index_ThemeProviderProps as ThemeProviderProps, index_cn as cn, index_useTheme as useTheme };
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { type Theme as T, ThemeProvider as a, type ThemeProviderProps as b, cn as c, index as i, useTheme as u };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
3
|
+
|
|
4
|
+
type Theme = 'dark' | 'light' | 'system';
|
|
5
|
+
interface ThemeProviderProps {
|
|
6
|
+
children: React__default.ReactNode;
|
|
7
|
+
defaultTheme?: Theme;
|
|
8
|
+
storageKey?: string;
|
|
9
|
+
attribute?: string;
|
|
10
|
+
enableSystem?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface ThemeContextType {
|
|
13
|
+
theme: Theme;
|
|
14
|
+
resolvedTheme: 'dark' | 'light';
|
|
15
|
+
setTheme: (theme: Theme) => void;
|
|
16
|
+
toggleTheme: () => void;
|
|
17
|
+
}
|
|
18
|
+
declare function ThemeProvider({ children, defaultTheme, storageKey, attribute, enableSystem, }: ThemeProviderProps): React__default.JSX.Element;
|
|
19
|
+
declare function useTheme(): ThemeContextType;
|
|
20
|
+
|
|
21
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
22
|
+
|
|
23
|
+
type index_Theme = Theme;
|
|
24
|
+
declare const index_ThemeProvider: typeof ThemeProvider;
|
|
25
|
+
type index_ThemeProviderProps = ThemeProviderProps;
|
|
26
|
+
declare const index_cn: typeof cn;
|
|
27
|
+
declare const index_useTheme: typeof useTheme;
|
|
28
|
+
declare namespace index {
|
|
29
|
+
export { type index_Theme as Theme, index_ThemeProvider as ThemeProvider, type index_ThemeProviderProps as ThemeProviderProps, index_cn as cn, index_useTheme as useTheme };
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { type Theme as T, ThemeProvider as a, type ThemeProviderProps as b, cn as c, index as i, useTheme as u };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { L as Label, a as LabelProps, l as labelVariants } from './Label-DWOlgSNW.cjs';
|
|
5
|
+
|
|
6
|
+
declare const headingVariants: (props?: ({
|
|
7
|
+
size?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
|
|
8
|
+
weight?: "bold" | "normal" | "medium" | "semibold" | "extrabold" | null | undefined;
|
|
9
|
+
align?: "center" | "left" | "right" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface HeadingProps extends React__default.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
|
|
12
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div' | 'span';
|
|
13
|
+
}
|
|
14
|
+
declare const Heading: React__default.ForwardRefExoticComponent<HeadingProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
15
|
+
|
|
16
|
+
declare const textVariants: (props?: ({
|
|
17
|
+
variant?: "small" | "body" | "caption" | "muted" | "lead" | "destructive" | "success" | null | undefined;
|
|
18
|
+
weight?: "light" | "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
19
|
+
align?: "center" | "justify" | "left" | "right" | null | undefined;
|
|
20
|
+
truncate?: boolean | null | undefined;
|
|
21
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
+
interface TextProps extends React__default.HTMLAttributes<HTMLElement>, VariantProps<typeof textVariants> {
|
|
23
|
+
as?: React__default.ElementType;
|
|
24
|
+
}
|
|
25
|
+
declare const Text: React__default.ForwardRefExoticComponent<TextProps & React__default.RefAttributes<HTMLElement>>;
|
|
26
|
+
|
|
27
|
+
declare const linkVariants: (props?: ({
|
|
28
|
+
underline?: "none" | "always" | "hover" | null | undefined;
|
|
29
|
+
variant?: "muted" | "primary" | "secondary" | null | undefined;
|
|
30
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
31
|
+
interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
|
|
32
|
+
external?: boolean;
|
|
33
|
+
showExternalIcon?: boolean;
|
|
34
|
+
}
|
|
35
|
+
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
36
|
+
|
|
37
|
+
interface CodeProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
38
|
+
children?: React__default.ReactNode;
|
|
39
|
+
}
|
|
40
|
+
declare const Code: React__default.ForwardRefExoticComponent<CodeProps & React__default.RefAttributes<HTMLElement>>;
|
|
41
|
+
interface CodeBlockProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
42
|
+
code: string;
|
|
43
|
+
language?: string;
|
|
44
|
+
copyable?: boolean;
|
|
45
|
+
}
|
|
46
|
+
declare const CodeBlock: React__default.ForwardRefExoticComponent<CodeBlockProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
|
|
48
|
+
interface BlockquoteProps extends React__default.BlockquoteHTMLAttributes<HTMLQuoteElement> {
|
|
49
|
+
citeAuthor?: string;
|
|
50
|
+
citeSource?: string;
|
|
51
|
+
}
|
|
52
|
+
declare const Blockquote: React__default.ForwardRefExoticComponent<BlockquoteProps & React__default.RefAttributes<HTMLQuoteElement>>;
|
|
53
|
+
|
|
54
|
+
interface KbdProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
55
|
+
children?: React__default.ReactNode;
|
|
56
|
+
}
|
|
57
|
+
declare const Kbd: React__default.ForwardRefExoticComponent<KbdProps & React__default.RefAttributes<HTMLElement>>;
|
|
58
|
+
|
|
59
|
+
declare const index_Blockquote: typeof Blockquote;
|
|
60
|
+
type index_BlockquoteProps = BlockquoteProps;
|
|
61
|
+
declare const index_Code: typeof Code;
|
|
62
|
+
declare const index_CodeBlock: typeof CodeBlock;
|
|
63
|
+
type index_CodeBlockProps = CodeBlockProps;
|
|
64
|
+
type index_CodeProps = CodeProps;
|
|
65
|
+
declare const index_Heading: typeof Heading;
|
|
66
|
+
type index_HeadingProps = HeadingProps;
|
|
67
|
+
declare const index_Kbd: typeof Kbd;
|
|
68
|
+
type index_KbdProps = KbdProps;
|
|
69
|
+
declare const index_Label: typeof Label;
|
|
70
|
+
declare const index_LabelProps: typeof LabelProps;
|
|
71
|
+
declare const index_Link: typeof Link;
|
|
72
|
+
type index_LinkProps = LinkProps;
|
|
73
|
+
declare const index_Text: typeof Text;
|
|
74
|
+
type index_TextProps = TextProps;
|
|
75
|
+
declare const index_headingVariants: typeof headingVariants;
|
|
76
|
+
declare const index_labelVariants: typeof labelVariants;
|
|
77
|
+
declare const index_linkVariants: typeof linkVariants;
|
|
78
|
+
declare const index_textVariants: typeof textVariants;
|
|
79
|
+
declare namespace index {
|
|
80
|
+
export { index_Blockquote as Blockquote, type index_BlockquoteProps as BlockquoteProps, index_Code as Code, index_CodeBlock as CodeBlock, type index_CodeBlockProps as CodeBlockProps, type index_CodeProps as CodeProps, index_Heading as Heading, type index_HeadingProps as HeadingProps, index_Kbd as Kbd, type index_KbdProps as KbdProps, index_Label as Label, index_LabelProps as LabelProps, index_Link as Link, type index_LinkProps as LinkProps, index_Text as Text, type index_TextProps as TextProps, index_headingVariants as headingVariants, index_labelVariants as labelVariants, index_linkVariants as linkVariants, index_textVariants as textVariants };
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export { Blockquote as B, Code as C, Heading as H, Kbd as K, Link as L, Text as T, type BlockquoteProps as a, CodeBlock as b, type CodeBlockProps as c, type CodeProps as d, type HeadingProps as e, type KbdProps as f, type LinkProps as g, type TextProps as h, index as i, headingVariants as j, linkVariants as l, textVariants as t };
|