@moontra/moonui 2.0.2 → 2.0.3
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/dist/index.js +11807 -13576
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11728 -13486
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -3
- package/dist/index.d.mts +0 -1201
- package/dist/index.d.ts +0 -1201
package/dist/index.d.ts
DELETED
|
@@ -1,1201 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
2
|
-
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode } from 'react';
|
|
4
|
-
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
8
|
-
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
9
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
10
|
-
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
11
|
-
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
12
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
13
|
-
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
14
|
-
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
15
|
-
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
16
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
17
|
-
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
18
|
-
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
19
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
20
|
-
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
21
|
-
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
22
|
-
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
23
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Utility function for merging Tailwind CSS classes with clsx/cva
|
|
27
|
-
* @param inputs - Class values to be merged
|
|
28
|
-
* @returns - Merged class string
|
|
29
|
-
*/
|
|
30
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
31
|
-
/**
|
|
32
|
-
* Format a monetary amount to a currency string
|
|
33
|
-
* @param amount - Amount in cents or smallest currency unit
|
|
34
|
-
* @param currency - Currency code (default: USD)
|
|
35
|
-
* @returns - Formatted currency string
|
|
36
|
-
*/
|
|
37
|
-
declare function formatCurrency(amount: number, currency?: string): string;
|
|
38
|
-
/**
|
|
39
|
-
* Generate a unique ID (useful for components that need unique IDs)
|
|
40
|
-
* @param prefix - Optional prefix for the ID
|
|
41
|
-
* @returns - A unique string ID
|
|
42
|
-
*/
|
|
43
|
-
declare function generateId(prefix?: string): string;
|
|
44
|
-
/**
|
|
45
|
-
* Safely access nested object properties
|
|
46
|
-
* @param obj - The object to query
|
|
47
|
-
* @param path - Path to the property as a dot-separated string
|
|
48
|
-
* @param fallback - Value to return if the path doesn't exist
|
|
49
|
-
* @returns - The value at the path or the fallback
|
|
50
|
-
*/
|
|
51
|
-
declare function get<T = any>(obj: any, path: string, fallback?: T | null): T | null;
|
|
52
|
-
/**
|
|
53
|
-
* Debounce a function call
|
|
54
|
-
* @param fn - Function to debounce
|
|
55
|
-
* @param ms - Milliseconds to delay
|
|
56
|
-
* @returns - Debounced function
|
|
57
|
-
*/
|
|
58
|
-
declare function debounce<T extends (...args: any[]) => any>(fn: T, ms?: number): (...args: Parameters<T>) => void;
|
|
59
|
-
/**
|
|
60
|
-
* Combine multiple React refs into one
|
|
61
|
-
* @param refs - Refs to combine
|
|
62
|
-
* @returns - Combined ref callback
|
|
63
|
-
*/
|
|
64
|
-
declare function combineRefs<T>(...refs: Array<React.Ref<T> | undefined>): React.RefCallback<T>;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Tema türleri için temel renk paletini tanımlayan tip
|
|
68
|
-
*/
|
|
69
|
-
type ThemeColors = {
|
|
70
|
-
primary: string;
|
|
71
|
-
secondary: string;
|
|
72
|
-
success: string;
|
|
73
|
-
warning: string;
|
|
74
|
-
error: string;
|
|
75
|
-
background: string;
|
|
76
|
-
foreground: string;
|
|
77
|
-
card: string;
|
|
78
|
-
cardForeground: string;
|
|
79
|
-
border: string;
|
|
80
|
-
muted: string;
|
|
81
|
-
mutedForeground: string;
|
|
82
|
-
accent: string;
|
|
83
|
-
accentForeground: string;
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Tema yapılandırma tipi
|
|
87
|
-
*/
|
|
88
|
-
type ThemeConfig = {
|
|
89
|
-
colors: ThemeColors;
|
|
90
|
-
borderRadius: {
|
|
91
|
-
sm: string;
|
|
92
|
-
md: string;
|
|
93
|
-
lg: string;
|
|
94
|
-
full: string;
|
|
95
|
-
};
|
|
96
|
-
fontSizes: {
|
|
97
|
-
xs: string;
|
|
98
|
-
sm: string;
|
|
99
|
-
base: string;
|
|
100
|
-
lg: string;
|
|
101
|
-
xl: string;
|
|
102
|
-
'2xl': string;
|
|
103
|
-
'3xl': string;
|
|
104
|
-
};
|
|
105
|
-
spacing: {
|
|
106
|
-
1: string;
|
|
107
|
-
2: string;
|
|
108
|
-
4: string;
|
|
109
|
-
6: string;
|
|
110
|
-
8: string;
|
|
111
|
-
};
|
|
112
|
-
extensions?: Record<string, Record<string, string> | string>;
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* Tema hazır şablonları
|
|
116
|
-
*/
|
|
117
|
-
type ThemePreset = 'default' | 'modern' | 'rounded' | 'minimal';
|
|
118
|
-
interface ThemeProviderProps {
|
|
119
|
-
children: ReactNode;
|
|
120
|
-
defaultColorMode?: 'light' | 'dark';
|
|
121
|
-
preset?: ThemePreset;
|
|
122
|
-
lightTheme?: Partial<ThemeConfig>;
|
|
123
|
-
darkTheme?: Partial<ThemeConfig>;
|
|
124
|
-
extensions?: Record<string, Record<string, string> | string>;
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Tema bağlamı için tip
|
|
128
|
-
*/
|
|
129
|
-
interface ThemeContextType {
|
|
130
|
-
theme: ThemeConfig;
|
|
131
|
-
colorMode: 'light' | 'dark';
|
|
132
|
-
setColorMode: (mode: 'light' | 'dark') => void;
|
|
133
|
-
updateTheme: (config: Partial<ThemeConfig>) => void;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Tema bağlamı için tip
|
|
137
|
-
*/
|
|
138
|
-
interface ThemeContextType {
|
|
139
|
-
theme: ThemeConfig;
|
|
140
|
-
colorMode: 'light' | 'dark';
|
|
141
|
-
setColorMode: (mode: 'light' | 'dark') => void;
|
|
142
|
-
updateTheme: (config: Partial<ThemeConfig>) => void;
|
|
143
|
-
setThemePreset: (preset: ThemePreset) => void;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Tema kullanma kancası
|
|
147
|
-
*/
|
|
148
|
-
declare const useTheme: () => ThemeContextType;
|
|
149
|
-
/**
|
|
150
|
-
* CSS değişkenlerini tema konfigürasyonundan oluşturma fonksiyonu
|
|
151
|
-
*/
|
|
152
|
-
declare const createCssVariables: (theme: ThemeConfig) => Record<string, string>;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* MoonUI tema sağlayıcı bileşeni
|
|
156
|
-
* Bu bileşen, tema mantığını ve CSS değişkenlerini yönetir
|
|
157
|
-
*/
|
|
158
|
-
declare const ThemeProvider: React__default.FC<ThemeProviderProps>;
|
|
159
|
-
|
|
160
|
-
declare const buttonVariants: (props?: {
|
|
161
|
-
variant?: "default" | "primary" | "secondary" | "success" | "link" | "destructive" | "outline" | "ghost";
|
|
162
|
-
size?: "default" | "sm" | "lg" | "icon";
|
|
163
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
164
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
165
|
-
asChild?: boolean;
|
|
166
|
-
}
|
|
167
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
168
|
-
|
|
169
|
-
declare const badgeVariants: (props?: {
|
|
170
|
-
variant?: "default" | "secondary" | "success" | "warning" | "destructive" | "outline" | "info";
|
|
171
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
172
|
-
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
173
|
-
}
|
|
174
|
-
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
175
|
-
|
|
176
|
-
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
177
|
-
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
|
-
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
179
|
-
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
180
|
-
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
181
|
-
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
182
|
-
|
|
183
|
-
type CardProps = React$1.ComponentProps<typeof Card>;
|
|
184
|
-
|
|
185
|
-
type InputProps = React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
186
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
187
|
-
|
|
188
|
-
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
189
|
-
}
|
|
190
|
-
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
191
|
-
|
|
192
|
-
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
193
|
-
|
|
194
|
-
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
195
|
-
|
|
196
|
-
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
197
|
-
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
198
|
-
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
199
|
-
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
200
|
-
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
201
|
-
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
202
|
-
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
203
|
-
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
204
|
-
|
|
205
|
-
type SwitchProps = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
|
|
206
|
-
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Premium Dialog Component
|
|
210
|
-
*
|
|
211
|
-
* Modern, accessible and customizable modal dialog component.
|
|
212
|
-
* Enhances user experience with variants, sizes and rich features.
|
|
213
|
-
* Provides a premium appearance with dark and light mode compatibility and fluid animations.
|
|
214
|
-
*/
|
|
215
|
-
declare const Dialog: React$1.FC<SheetPrimitive.DialogProps>;
|
|
216
|
-
declare const DialogTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
217
|
-
declare const DialogClose: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
218
|
-
declare const overlayVariants: (props?: {
|
|
219
|
-
variant?: "default" | "minimal" | "subtle" | "blur";
|
|
220
|
-
animation?: "default" | "slow" | "fast";
|
|
221
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
222
|
-
declare const dialogContentVariants: (props?: {
|
|
223
|
-
variant?: "default" | "primary" | "secondary" | "destructive" | "ghost";
|
|
224
|
-
size?: "default" | "sm" | "md" | "lg" | "full" | "xs" | "xl";
|
|
225
|
-
radius?: "default" | "sm" | "lg" | "full" | "xl" | "none";
|
|
226
|
-
animation?: "default" | "none" | "zoom" | "fade" | "slide";
|
|
227
|
-
position?: "default" | "bottom" | "top";
|
|
228
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
229
|
-
interface DialogContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, 'title' | 'description'>, VariantProps<typeof dialogContentVariants> {
|
|
230
|
-
hideCloseButton?: boolean;
|
|
231
|
-
overlayVariant?: VariantProps<typeof overlayVariants>['variant'];
|
|
232
|
-
overlayAnimation?: VariantProps<typeof overlayVariants>['animation'];
|
|
233
|
-
/** Dialog title, automatically adds DialogHeader and Title if provided */
|
|
234
|
-
title?: React$1.ReactNode;
|
|
235
|
-
/** Dialog description, automatically adds DialogDescription if provided */
|
|
236
|
-
description?: React$1.ReactNode;
|
|
237
|
-
/** Optional icon to display beside the title/description in the header */
|
|
238
|
-
icon?: React$1.ReactNode;
|
|
239
|
-
/** If true, shows a loading spinner in the header icon position */
|
|
240
|
-
loading?: boolean;
|
|
241
|
-
/** If true, shows a success checkmark in the header icon position */
|
|
242
|
-
success?: boolean;
|
|
243
|
-
/** Custom onClose handler for advanced close logic */
|
|
244
|
-
onClose?: () => void;
|
|
245
|
-
}
|
|
246
|
-
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
247
|
-
declare const DialogHeader: {
|
|
248
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
249
|
-
displayName: string;
|
|
250
|
-
};
|
|
251
|
-
declare const DialogFooter: {
|
|
252
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
253
|
-
displayName: string;
|
|
254
|
-
};
|
|
255
|
-
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
256
|
-
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
257
|
-
/**
|
|
258
|
-
* Dialog-Form integration for use with form support
|
|
259
|
-
* Used to integrate form submission processes into the modal
|
|
260
|
-
*/
|
|
261
|
-
declare const DialogForm: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLFormElement> & React$1.RefAttributes<HTMLFormElement>>;
|
|
262
|
-
|
|
263
|
-
interface TabsProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
264
|
-
/** For vertical layout in mobile view */
|
|
265
|
-
vertical?: boolean;
|
|
266
|
-
}
|
|
267
|
-
declare const Tabs: React$1.ForwardRefExoticComponent<TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
268
|
-
declare const tabsListVariants: (props?: {
|
|
269
|
-
variant?: "default" | "minimal" | "underline" | "pills" | "cards";
|
|
270
|
-
orientation?: "horizontal" | "vertical";
|
|
271
|
-
fullWidth?: boolean;
|
|
272
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
273
|
-
interface TabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof tabsListVariants> {
|
|
274
|
-
/** Display in vertical layout */
|
|
275
|
-
orientation?: "horizontal" | "vertical";
|
|
276
|
-
}
|
|
277
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
278
|
-
declare const tabsTriggerVariants: (props?: {
|
|
279
|
-
variant?: "default" | "minimal" | "underline" | "pills" | "cards";
|
|
280
|
-
size?: "sm" | "md" | "lg";
|
|
281
|
-
orientation?: "horizontal" | "vertical";
|
|
282
|
-
fullWidth?: boolean;
|
|
283
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
284
|
-
interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
|
|
285
|
-
/** Icon position */
|
|
286
|
-
iconPosition?: "left" | "right" | "none";
|
|
287
|
-
/** Icon */
|
|
288
|
-
icon?: React$1.ReactNode;
|
|
289
|
-
/** Badge content */
|
|
290
|
-
badge?: React$1.ReactNode;
|
|
291
|
-
/** Semi-transparent when not active */
|
|
292
|
-
fadeTabs?: boolean;
|
|
293
|
-
/** Display in vertical layout */
|
|
294
|
-
orientation?: "horizontal" | "vertical";
|
|
295
|
-
}
|
|
296
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
297
|
-
interface TabsContentProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Content> {
|
|
298
|
-
/** Content animation */
|
|
299
|
-
animated?: boolean;
|
|
300
|
-
}
|
|
301
|
-
declare const TabsContent: React$1.ForwardRefExoticComponent<TabsContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
302
|
-
|
|
303
|
-
declare const avatarVariants: (props?: {
|
|
304
|
-
size?: "default" | "sm" | "md" | "lg" | "xs" | "xl" | "2xl";
|
|
305
|
-
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
306
|
-
variant?: "default" | "border" | "ring" | "ringOffset";
|
|
307
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
308
|
-
interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
|
|
309
|
-
}
|
|
310
|
-
declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
311
|
-
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
312
|
-
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* Alert Component
|
|
316
|
-
*
|
|
317
|
-
* Yüksek kaliteli, özelleştirilebilir ve erişilebilir alert bileşeni.
|
|
318
|
-
* Bildirim, uyarı ve dikkat çekmek gereken içerikler için kullanılır.
|
|
319
|
-
*/
|
|
320
|
-
declare const alertVariants: (props?: {
|
|
321
|
-
variant?: "default" | "primary" | "success" | "warning" | "error" | "info";
|
|
322
|
-
size?: "default" | "sm" | "lg";
|
|
323
|
-
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
324
|
-
withClose?: boolean;
|
|
325
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
326
|
-
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
327
|
-
/** Alert ikonunu gizler */
|
|
328
|
-
hideIcon?: boolean;
|
|
329
|
-
/** Kapatma butonu ekler */
|
|
330
|
-
closable?: boolean;
|
|
331
|
-
/** Kapatma butonu tıklandığında çalışacak fonksiyon */
|
|
332
|
-
onClose?: () => void;
|
|
333
|
-
}
|
|
334
|
-
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
335
|
-
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
336
|
-
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Toast (Anlık Bildirim) Bileşeni
|
|
340
|
-
*
|
|
341
|
-
* Kullanıcıya anlık geri bildirim ve bildirimler göstermek için kullanılır.
|
|
342
|
-
* Tema sistemiyle tam entegrasyonlu ve farklı varyantlara sahiptir.
|
|
343
|
-
*/
|
|
344
|
-
declare const ToastProvider: React$1.Context<{
|
|
345
|
-
add: (toast: ToastProps) => string;
|
|
346
|
-
remove: (id: string) => void;
|
|
347
|
-
removeAll: () => void;
|
|
348
|
-
}>;
|
|
349
|
-
declare const useToast: () => {
|
|
350
|
-
add: (toast: ToastProps) => string;
|
|
351
|
-
remove: (id: string) => void;
|
|
352
|
-
removeAll: () => void;
|
|
353
|
-
};
|
|
354
|
-
declare const toastVariants: (props?: {
|
|
355
|
-
variant?: "default" | "primary" | "success" | "warning" | "error" | "destructive" | "info";
|
|
356
|
-
size?: "default" | "sm" | "lg";
|
|
357
|
-
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
358
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
359
|
-
interface ToastProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'>, VariantProps<typeof toastVariants> {
|
|
360
|
-
id?: string;
|
|
361
|
-
title?: React$1.ReactNode;
|
|
362
|
-
description?: React$1.ReactNode;
|
|
363
|
-
action?: React$1.ReactNode;
|
|
364
|
-
onClose?: () => void;
|
|
365
|
-
autoClose?: boolean;
|
|
366
|
-
duration?: number;
|
|
367
|
-
hideIcon?: boolean;
|
|
368
|
-
showProgress?: boolean;
|
|
369
|
-
}
|
|
370
|
-
declare const Toast: React$1.FC<ToastProps>;
|
|
371
|
-
interface ToastContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
372
|
-
position?: "top-right" | "top-center" | "top-left" | "bottom-right" | "bottom-center" | "bottom-left";
|
|
373
|
-
gap?: number;
|
|
374
|
-
maxToasts?: number;
|
|
375
|
-
}
|
|
376
|
-
declare const ToastContainer: React$1.FC<ToastContainerProps>;
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* Tooltip Bileşeni
|
|
380
|
-
*
|
|
381
|
-
* Kullanıcı bir elementin üzerine geldiğinde ek bilgi göstermek için kullanılır.
|
|
382
|
-
* Tema sistemiyle tam entegrasyonlu ve farklı boyut, varyant ve pozisyonlara sahiptir.
|
|
383
|
-
*/
|
|
384
|
-
declare const tooltipContentVariants: (props?: {
|
|
385
|
-
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "info";
|
|
386
|
-
size?: "default" | "sm" | "lg";
|
|
387
|
-
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
388
|
-
shadow?: "default" | "sm" | "lg" | "none";
|
|
389
|
-
side?: "left" | "right" | "bottom" | "top";
|
|
390
|
-
align?: "center" | "end" | "start";
|
|
391
|
-
visible?: boolean;
|
|
392
|
-
arrow?: boolean;
|
|
393
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
394
|
-
interface TooltipContentProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof tooltipContentVariants> {
|
|
395
|
-
/** Tooltip okunu gösterip gizleme */
|
|
396
|
-
hideArrow?: boolean;
|
|
397
|
-
/** Ok rengi (hexadecimal veya CSS değişkeni) */
|
|
398
|
-
arrowColor?: string;
|
|
399
|
-
}
|
|
400
|
-
interface TooltipProps extends React$1.PropsWithChildren {
|
|
401
|
-
/** Gösterilecek tooltip içeriği */
|
|
402
|
-
content: React$1.ReactNode;
|
|
403
|
-
/** Tooltip açılma gecikmesi (ms) */
|
|
404
|
-
delayDuration?: number;
|
|
405
|
-
/** Tooltip pozisyonu */
|
|
406
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
407
|
-
/** Tooltip hizalaması */
|
|
408
|
-
align?: "start" | "center" | "end";
|
|
409
|
-
/** Tooltip ile trigger arasındaki mesafe (piksel) */
|
|
410
|
-
sideOffset?: number;
|
|
411
|
-
/** Tooltip varyantı */
|
|
412
|
-
variant?: VariantProps<typeof tooltipContentVariants>["variant"];
|
|
413
|
-
/** Tooltip boyutu */
|
|
414
|
-
size?: VariantProps<typeof tooltipContentVariants>["size"];
|
|
415
|
-
/** Tooltip kenar yuvarlaklığı */
|
|
416
|
-
radius?: VariantProps<typeof tooltipContentVariants>["radius"];
|
|
417
|
-
/** Tooltip gölge boyutu */
|
|
418
|
-
shadow?: VariantProps<typeof tooltipContentVariants>["shadow"];
|
|
419
|
-
/** Tooltip devre dışı */
|
|
420
|
-
disabled?: boolean;
|
|
421
|
-
/** Ek içerik sınıfı */
|
|
422
|
-
contentClassName?: string;
|
|
423
|
-
/** Ek tetikleyici sınıfı */
|
|
424
|
-
triggerClassName?: string;
|
|
425
|
-
}
|
|
426
|
-
declare function Tooltip({ children, content, delayDuration, side, align, variant, size, radius, shadow, disabled, contentClassName, triggerClassName, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
427
|
-
declare namespace Tooltip {
|
|
428
|
-
var displayName: string;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* Checkbox Bileşeni
|
|
433
|
-
*
|
|
434
|
-
* Erişilebilir, özelleştirilebilir ve tema sistemiyle tam entegre checkbox bileşeni.
|
|
435
|
-
* Form elemanları ve seçim listeleri için kullanılır.
|
|
436
|
-
*/
|
|
437
|
-
declare const checkboxVariants: (props?: {
|
|
438
|
-
variant?: "default" | "muted" | "outline" | "ghost";
|
|
439
|
-
size?: "default" | "sm" | "md" | "lg";
|
|
440
|
-
radius?: "default" | "sm" | "md" | "full" | "none";
|
|
441
|
-
animation?: "default" | "none" | "subtle" | "bounce";
|
|
442
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
443
|
-
interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkboxVariants> {
|
|
444
|
-
/**
|
|
445
|
-
* İndeterminate durumu - grup seçimlerinde bazı öğeler seçilmişse kullanılır
|
|
446
|
-
*/
|
|
447
|
-
indeterminate?: boolean;
|
|
448
|
-
/**
|
|
449
|
-
* Özel ikon komponenti
|
|
450
|
-
*/
|
|
451
|
-
icon?: React$1.ReactNode;
|
|
452
|
-
}
|
|
453
|
-
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
454
|
-
interface CheckboxGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
455
|
-
/**
|
|
456
|
-
* Grup içi yerleşim - dikey veya yatay
|
|
457
|
-
*/
|
|
458
|
-
orientation?: "horizontal" | "vertical";
|
|
459
|
-
/**
|
|
460
|
-
* Öğeler arasındaki boşluk (piksel)
|
|
461
|
-
*/
|
|
462
|
-
spacing?: number | string;
|
|
463
|
-
/**
|
|
464
|
-
* Alt bileşenler
|
|
465
|
-
*/
|
|
466
|
-
children: React$1.ReactNode;
|
|
467
|
-
}
|
|
468
|
-
declare const CheckboxGroup: React$1.ForwardRefExoticComponent<CheckboxGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
469
|
-
interface CheckboxLabelProps extends React$1.HTMLAttributes<HTMLLabelElement> {
|
|
470
|
-
/**
|
|
471
|
-
* Checkbox bileşeni için HTML id
|
|
472
|
-
*/
|
|
473
|
-
htmlFor?: string;
|
|
474
|
-
/**
|
|
475
|
-
* Label içeriği
|
|
476
|
-
*/
|
|
477
|
-
children: React$1.ReactNode;
|
|
478
|
-
/**
|
|
479
|
-
* Checkbox öncesi veya sonrası
|
|
480
|
-
*/
|
|
481
|
-
position?: "start" | "end";
|
|
482
|
-
/**
|
|
483
|
-
* Devre dışı durum stili
|
|
484
|
-
*/
|
|
485
|
-
disabled?: boolean;
|
|
486
|
-
}
|
|
487
|
-
declare const CheckboxLabel: React$1.ForwardRefExoticComponent<CheckboxLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
488
|
-
interface CheckboxWithLabelProps extends CheckboxProps {
|
|
489
|
-
/**
|
|
490
|
-
* Label içeriği
|
|
491
|
-
*/
|
|
492
|
-
label: React$1.ReactNode;
|
|
493
|
-
/**
|
|
494
|
-
* Label pozisyonu
|
|
495
|
-
*/
|
|
496
|
-
labelPosition?: "start" | "end";
|
|
497
|
-
/**
|
|
498
|
-
* Label için HTML sınıfları
|
|
499
|
-
*/
|
|
500
|
-
labelClassName?: string;
|
|
501
|
-
}
|
|
502
|
-
declare const CheckboxWithLabel: React$1.ForwardRefExoticComponent<CheckboxWithLabelProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* Radio Group Bileşeni
|
|
506
|
-
*
|
|
507
|
-
* Erişilebilir, özelleştirilebilir ve tema sistemiyle tam entegre radio button grubu.
|
|
508
|
-
* Kullanıcıların bir grup seçenek arasından tek bir seçim yapmasını sağlar.
|
|
509
|
-
*/
|
|
510
|
-
declare const radioGroupItemVariants: (props?: {
|
|
511
|
-
variant?: "default" | "outline" | "filled";
|
|
512
|
-
size?: "default" | "sm" | "md" | "lg";
|
|
513
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
514
|
-
interface RadioGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
515
|
-
/**
|
|
516
|
-
* Radio grubu değeri
|
|
517
|
-
*/
|
|
518
|
-
value?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Radio grubu değeri değiştiğinde çalışacak fonksiyon
|
|
521
|
-
*/
|
|
522
|
-
onValueChange?: (value: string) => void;
|
|
523
|
-
/**
|
|
524
|
-
* Radio grubunun devre dışı olma durumu
|
|
525
|
-
*/
|
|
526
|
-
disabled?: boolean;
|
|
527
|
-
/**
|
|
528
|
-
* Radio grubu adı
|
|
529
|
-
*/
|
|
530
|
-
name?: string;
|
|
531
|
-
}
|
|
532
|
-
declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
533
|
-
interface RadioGroupItemProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof radioGroupItemVariants> {
|
|
534
|
-
/**
|
|
535
|
-
* Özel indicator komponenti
|
|
536
|
-
*/
|
|
537
|
-
indicator?: React$1.ReactNode;
|
|
538
|
-
/**
|
|
539
|
-
* Radio butonu için HTML id
|
|
540
|
-
*/
|
|
541
|
-
id?: string;
|
|
542
|
-
/**
|
|
543
|
-
* Radio butonu değeri
|
|
544
|
-
*/
|
|
545
|
-
value: string;
|
|
546
|
-
/**
|
|
547
|
-
* Radio butonu devre dışı durumu
|
|
548
|
-
*/
|
|
549
|
-
disabled?: boolean;
|
|
550
|
-
}
|
|
551
|
-
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<RadioGroupItemProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
552
|
-
interface RadioLabelProps extends React$1.HTMLAttributes<HTMLLabelElement> {
|
|
553
|
-
/**
|
|
554
|
-
* Radio butonu için HTML id
|
|
555
|
-
*/
|
|
556
|
-
htmlFor?: string;
|
|
557
|
-
/**
|
|
558
|
-
* Label içeriği
|
|
559
|
-
*/
|
|
560
|
-
children: React$1.ReactNode;
|
|
561
|
-
/**
|
|
562
|
-
* Devre dışı durum stili
|
|
563
|
-
*/
|
|
564
|
-
disabled?: boolean;
|
|
565
|
-
}
|
|
566
|
-
declare const RadioLabel: React$1.ForwardRefExoticComponent<RadioLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
567
|
-
interface RadioItemWithLabelProps extends RadioGroupItemProps {
|
|
568
|
-
/**
|
|
569
|
-
* Label içeriği
|
|
570
|
-
*/
|
|
571
|
-
label: React$1.ReactNode;
|
|
572
|
-
/**
|
|
573
|
-
* Label için HTML sınıfları
|
|
574
|
-
*/
|
|
575
|
-
labelClassName?: string;
|
|
576
|
-
/**
|
|
577
|
-
* Radio butonu için HTML id
|
|
578
|
-
*/
|
|
579
|
-
id?: string;
|
|
580
|
-
/**
|
|
581
|
-
* Devre dışı durum
|
|
582
|
-
*/
|
|
583
|
-
disabled?: boolean;
|
|
584
|
-
}
|
|
585
|
-
declare const RadioItemWithLabel: React$1.ForwardRefExoticComponent<RadioItemWithLabelProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* Progress Bileşeni
|
|
589
|
-
*
|
|
590
|
-
* İlerleme durumunu görsel olarak gösteren, tema sistemiyle tam entegre bir bileşen.
|
|
591
|
-
* Yükleme işlemleri, form gönderimi ve diğer zaman alan işlemleri göstermek için kullanılır.
|
|
592
|
-
*/
|
|
593
|
-
declare const progressVariants: (props?: {
|
|
594
|
-
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "error";
|
|
595
|
-
size?: "default" | "sm" | "md" | "lg" | "xs" | "xl";
|
|
596
|
-
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
597
|
-
animation?: "default" | "none" | "smooth" | "fast";
|
|
598
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
599
|
-
declare const progressIndicatorVariants: (props?: {
|
|
600
|
-
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "error";
|
|
601
|
-
animation?: "default" | "none" | "smooth" | "fast";
|
|
602
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
603
|
-
interface ProgressProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressVariants> {
|
|
604
|
-
/**
|
|
605
|
-
* İlerleme çubuğu değeri (0-100)
|
|
606
|
-
*/
|
|
607
|
-
value?: number;
|
|
608
|
-
/**
|
|
609
|
-
* İndikatör (dolgu) için renk varyantı
|
|
610
|
-
*/
|
|
611
|
-
indicatorVariant?: VariantProps<typeof progressIndicatorVariants>["variant"];
|
|
612
|
-
/**
|
|
613
|
-
* İlerleme durumunu gösteren metin görünürlüğü
|
|
614
|
-
*/
|
|
615
|
-
showValueLabel?: boolean;
|
|
616
|
-
/**
|
|
617
|
-
* İlerleme değeri etiketi için format (ör: "30%" veya "3/10")
|
|
618
|
-
*/
|
|
619
|
-
valueLabel?: string;
|
|
620
|
-
/**
|
|
621
|
-
* Etiket stili
|
|
622
|
-
*/
|
|
623
|
-
labelClassName?: string;
|
|
624
|
-
/**
|
|
625
|
-
* Belirsiz ilerleme animasyonu (indeterminate)
|
|
626
|
-
*/
|
|
627
|
-
indeterminate?: boolean;
|
|
628
|
-
/**
|
|
629
|
-
* İlerleme değeri maksimumu (default: 100)
|
|
630
|
-
*/
|
|
631
|
-
max?: number;
|
|
632
|
-
}
|
|
633
|
-
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* Skeleton (İskelet) Bileşeni
|
|
637
|
-
*
|
|
638
|
-
* İçerik yüklenirken gösterilen, tema sistemiyle tam entegre bir iskelet yükleme bileşeni.
|
|
639
|
-
* Farklı şekil, boyut ve animasyon seçenekleri sunar.
|
|
640
|
-
*/
|
|
641
|
-
declare const skeletonVariants: (props?: {
|
|
642
|
-
variant?: "default" | "primary" | "secondary" | "accent";
|
|
643
|
-
size?: "default" | "sm" | "lg";
|
|
644
|
-
shape?: "circle" | "rect" | "pill";
|
|
645
|
-
animation?: "none" | "pulse" | "wave";
|
|
646
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
647
|
-
interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
|
|
648
|
-
/**
|
|
649
|
-
* Skeletonun yüksekliği
|
|
650
|
-
*/
|
|
651
|
-
height?: string | number;
|
|
652
|
-
/**
|
|
653
|
-
* Skeletonun genişliği
|
|
654
|
-
*/
|
|
655
|
-
width?: string | number;
|
|
656
|
-
/**
|
|
657
|
-
* Skeletonun gösterilip gösterilmeyeceği
|
|
658
|
-
*/
|
|
659
|
-
isLoaded?: boolean;
|
|
660
|
-
/**
|
|
661
|
-
* Skeleton yüklendikten sonra gösterilecek içerik
|
|
662
|
-
*/
|
|
663
|
-
children?: React$1.ReactNode;
|
|
664
|
-
/**
|
|
665
|
-
* Yüklenen içeriğin fade-in animasyon süresi (ms)
|
|
666
|
-
*/
|
|
667
|
-
fadeInDuration?: number;
|
|
668
|
-
}
|
|
669
|
-
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
670
|
-
/**
|
|
671
|
-
* Metin İskelet Bileşeni
|
|
672
|
-
*
|
|
673
|
-
* Metin paragraf şeklinde iskeleton oluşturur
|
|
674
|
-
*/
|
|
675
|
-
interface SkeletonTextProps extends Omit<SkeletonProps, "children" | "isLoaded"> {
|
|
676
|
-
/**
|
|
677
|
-
* Kaç satır gösterileceği
|
|
678
|
-
*/
|
|
679
|
-
lines?: number;
|
|
680
|
-
/**
|
|
681
|
-
* Satır yüksekliği
|
|
682
|
-
*/
|
|
683
|
-
lineHeight?: string | number;
|
|
684
|
-
/**
|
|
685
|
-
* Satırlar arası boşluk
|
|
686
|
-
*/
|
|
687
|
-
spacing?: string | number;
|
|
688
|
-
/**
|
|
689
|
-
* Son satırın genişlik yüzdesi (0-100)
|
|
690
|
-
*/
|
|
691
|
-
lastLineWidth?: number;
|
|
692
|
-
/**
|
|
693
|
-
* Rastgele satır genişlikleri
|
|
694
|
-
*/
|
|
695
|
-
randomWidths?: boolean;
|
|
696
|
-
}
|
|
697
|
-
declare const SkeletonText: React$1.ForwardRefExoticComponent<SkeletonTextProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
698
|
-
/**
|
|
699
|
-
* Avatar İskelet Bileşeni
|
|
700
|
-
*/
|
|
701
|
-
interface SkeletonAvatarProps extends Omit<SkeletonProps, "shape" | "size"> {
|
|
702
|
-
/**
|
|
703
|
-
* Avatar boyutu (piksel)
|
|
704
|
-
*/
|
|
705
|
-
size?: string | number;
|
|
706
|
-
}
|
|
707
|
-
declare const SkeletonAvatar: React$1.ForwardRefExoticComponent<SkeletonAvatarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
708
|
-
/**
|
|
709
|
-
* İskelet Kart Bileşeni
|
|
710
|
-
*/
|
|
711
|
-
interface SkeletonCardProps extends Omit<SkeletonProps, "children" | "isLoaded"> {
|
|
712
|
-
/**
|
|
713
|
-
* Kart başlığının gösterilip gösterilmeyeceği
|
|
714
|
-
*/
|
|
715
|
-
showHeader?: boolean;
|
|
716
|
-
/**
|
|
717
|
-
* İçerik satır sayısı
|
|
718
|
-
*/
|
|
719
|
-
contentLines?: number;
|
|
720
|
-
/**
|
|
721
|
-
* Alt bilgi gösterilip gösterilmeyeceği
|
|
722
|
-
*/
|
|
723
|
-
showFooter?: boolean;
|
|
724
|
-
}
|
|
725
|
-
declare const SkeletonCard: React$1.ForwardRefExoticComponent<SkeletonCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* Popover Bileşeni
|
|
729
|
-
*
|
|
730
|
-
* Tıklanabilir bir öğeden açılan, tema sistemiyle tam entegre bir içerik bileşeni.
|
|
731
|
-
* Filtreler, ayarlar ve diğer içerikler için kullanışlı ve erişilebilir bir arayüz sağlar.
|
|
732
|
-
*/
|
|
733
|
-
declare const popoverContentVariants: (props?: {
|
|
734
|
-
variant?: "default" | "destructive" | "outline" | "subtle";
|
|
735
|
-
size?: "default" | "sm" | "lg";
|
|
736
|
-
side?: "left" | "right" | "bottom" | "top";
|
|
737
|
-
position?: "default" | "pointerEventsNone";
|
|
738
|
-
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
739
|
-
shadow?: "default" | "sm" | "md" | "lg" | "xl" | "none";
|
|
740
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
741
|
-
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
742
|
-
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
743
|
-
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
744
|
-
interface PopoverContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>, 'side'>, VariantProps<typeof popoverContentVariants> {
|
|
745
|
-
/**
|
|
746
|
-
* Popover'ın arka plan bulanıklığı etkin mi
|
|
747
|
-
*/
|
|
748
|
-
backdrop?: boolean;
|
|
749
|
-
/**
|
|
750
|
-
* Popover'a tıklandığında kapanıp kapanmayacağı
|
|
751
|
-
*/
|
|
752
|
-
closeOnInteractOutside?: boolean;
|
|
753
|
-
/**
|
|
754
|
-
* Popover açıkken arka planın karartılması
|
|
755
|
-
*/
|
|
756
|
-
overlayBackdrop?: boolean;
|
|
757
|
-
}
|
|
758
|
-
declare const PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
759
|
-
/**
|
|
760
|
-
* PopoverClose bileşeni
|
|
761
|
-
*/
|
|
762
|
-
declare const PopoverClose: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
763
|
-
/**
|
|
764
|
-
* Popover için bölüm ayırıcı
|
|
765
|
-
*/
|
|
766
|
-
declare const PopoverSeparator: {
|
|
767
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
768
|
-
displayName: string;
|
|
769
|
-
};
|
|
770
|
-
/**
|
|
771
|
-
* Popover başlık bileşeni
|
|
772
|
-
*/
|
|
773
|
-
declare const PopoverHeader: {
|
|
774
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
775
|
-
displayName: string;
|
|
776
|
-
};
|
|
777
|
-
/**
|
|
778
|
-
* Popover footer bileşeni
|
|
779
|
-
*/
|
|
780
|
-
declare const PopoverFooter: {
|
|
781
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
782
|
-
displayName: string;
|
|
783
|
-
};
|
|
784
|
-
|
|
785
|
-
declare const breadcrumbVariants: (props?: {
|
|
786
|
-
variant?: "default" | "primary" | "muted" | "accent" | "ghost";
|
|
787
|
-
size?: "default" | "sm" | "md" | "lg";
|
|
788
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
789
|
-
interface BreadcrumbProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, VariantProps<typeof breadcrumbVariants> {
|
|
790
|
-
separator?: React$1.ReactNode;
|
|
791
|
-
showHomeIcon?: boolean;
|
|
792
|
-
}
|
|
793
|
-
interface BreadcrumbListProps extends React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement> {
|
|
794
|
-
collapsed?: boolean;
|
|
795
|
-
collapsedWidth?: number;
|
|
796
|
-
}
|
|
797
|
-
interface BreadcrumbItemProps extends React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
798
|
-
isCurrent?: boolean;
|
|
799
|
-
href?: string;
|
|
800
|
-
asChild?: boolean;
|
|
801
|
-
}
|
|
802
|
-
interface BreadcrumbSeparatorProps extends React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
803
|
-
/** Custom separator icon or text */
|
|
804
|
-
icon?: React$1.ReactNode;
|
|
805
|
-
}
|
|
806
|
-
interface BreadcrumbEllipsisProps extends React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
807
|
-
/** Custom ellipsis icon */
|
|
808
|
-
icon?: React$1.ReactNode;
|
|
809
|
-
}
|
|
810
|
-
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<BreadcrumbProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
811
|
-
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<BreadcrumbListProps, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
812
|
-
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<BreadcrumbItemProps, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
813
|
-
declare const BreadcrumbSeparator: {
|
|
814
|
-
({ children, className, ...props }: BreadcrumbSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
815
|
-
displayName: string;
|
|
816
|
-
};
|
|
817
|
-
declare const BreadcrumbEllipsis: {
|
|
818
|
-
({ className, ...props }: BreadcrumbEllipsisProps): react_jsx_runtime.JSX.Element;
|
|
819
|
-
displayName: string;
|
|
820
|
-
};
|
|
821
|
-
|
|
822
|
-
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
823
|
-
declare const accordionItemVariants: (props?: {
|
|
824
|
-
variant?: "default" | "card" | "outline";
|
|
825
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
826
|
-
interface AccordionItemProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>, VariantProps<typeof accordionItemVariants> {
|
|
827
|
-
}
|
|
828
|
-
declare const AccordionItem: React$1.ForwardRefExoticComponent<AccordionItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
829
|
-
declare const accordionTriggerVariants: (props?: {
|
|
830
|
-
variant?: "default" | "outline" | "ghost";
|
|
831
|
-
size?: "default" | "sm" | "md" | "lg";
|
|
832
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
833
|
-
interface AccordionTriggerProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>, VariantProps<typeof accordionTriggerVariants> {
|
|
834
|
-
}
|
|
835
|
-
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
836
|
-
declare const accordionContentVariants: (props?: {
|
|
837
|
-
variant?: "default" | "outline" | "ghost";
|
|
838
|
-
size?: "default" | "sm" | "md" | "lg";
|
|
839
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
840
|
-
interface AccordionContentProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>, VariantProps<typeof accordionContentVariants> {
|
|
841
|
-
}
|
|
842
|
-
declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
843
|
-
|
|
844
|
-
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
845
|
-
declare const collapsibleTriggerVariants: (props?: {
|
|
846
|
-
variant?: "default" | "outline" | "ghost";
|
|
847
|
-
size?: "default" | "sm" | "md" | "lg";
|
|
848
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
849
|
-
interface CollapsibleTriggerProps extends React$1.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Trigger>, VariantProps<typeof collapsibleTriggerVariants> {
|
|
850
|
-
}
|
|
851
|
-
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
852
|
-
declare const collapsibleContentVariants: (props?: {
|
|
853
|
-
variant?: "default" | "outline" | "ghost";
|
|
854
|
-
size?: "default" | "sm" | "md" | "lg";
|
|
855
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
856
|
-
interface CollapsibleContentProps extends React$1.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Content>, VariantProps<typeof collapsibleContentVariants> {
|
|
857
|
-
}
|
|
858
|
-
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
859
|
-
|
|
860
|
-
declare const aspectRatioVariants: (props?: {
|
|
861
|
-
variant?: "default" | "card" | "outline" | "ghost";
|
|
862
|
-
radius?: "sm" | "md" | "lg" | "full" | "none";
|
|
863
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
864
|
-
interface AspectRatioProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof aspectRatioVariants> {
|
|
865
|
-
/**
|
|
866
|
-
* En-boy oranı (width/height). Örneğin 16/9, 4/3, 1/1 gibi.
|
|
867
|
-
* @default 16/9
|
|
868
|
-
*/
|
|
869
|
-
ratio?: number;
|
|
870
|
-
}
|
|
871
|
-
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
872
|
-
|
|
873
|
-
declare const commandVariants: (props?: {
|
|
874
|
-
variant?: "default" | "glass" | "bordered";
|
|
875
|
-
size?: "default" | "sm" | "lg";
|
|
876
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
877
|
-
interface CommandProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof commandVariants> {
|
|
878
|
-
}
|
|
879
|
-
declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
880
|
-
interface CommandDialogProps extends React$1.ComponentProps<typeof Dialog> {
|
|
881
|
-
commandClassName?: string;
|
|
882
|
-
children?: React$1.ReactNode;
|
|
883
|
-
}
|
|
884
|
-
declare const CommandDialog: ({ children, commandClassName, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
885
|
-
declare const commandInputVariants: (props?: {
|
|
886
|
-
variant?: "default" | "minimal" | "bordered";
|
|
887
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
888
|
-
interface CommandInputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof commandInputVariants> {
|
|
889
|
-
}
|
|
890
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<CommandInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
891
|
-
declare const commandListVariants: (props?: {
|
|
892
|
-
variant?: "default" | "compact" | "scrollable";
|
|
893
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
894
|
-
interface CommandListProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof commandListVariants> {
|
|
895
|
-
}
|
|
896
|
-
declare const CommandList: React$1.ForwardRefExoticComponent<CommandListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
897
|
-
interface CommandEmptyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
898
|
-
emptyMessage?: string;
|
|
899
|
-
}
|
|
900
|
-
declare const CommandEmpty: React$1.ForwardRefExoticComponent<CommandEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
901
|
-
declare const commandGroupVariants: (props?: {
|
|
902
|
-
variant?: "default" | "separated" | "indented";
|
|
903
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
904
|
-
interface CommandGroupProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof commandGroupVariants> {
|
|
905
|
-
heading?: React$1.ReactNode;
|
|
906
|
-
}
|
|
907
|
-
declare const CommandGroup: React$1.ForwardRefExoticComponent<CommandGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
908
|
-
declare const CommandSeparator: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
909
|
-
declare const commandItemVariants: (props?: {
|
|
910
|
-
variant?: "default" | "ghost" | "subtle";
|
|
911
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
912
|
-
interface CommandItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onSelect'>, VariantProps<typeof commandItemVariants> {
|
|
913
|
-
disabled?: boolean;
|
|
914
|
-
onSelect?: (value: string) => void;
|
|
915
|
-
selected?: boolean;
|
|
916
|
-
value?: string;
|
|
917
|
-
}
|
|
918
|
-
declare const CommandItem: React$1.ForwardRefExoticComponent<CommandItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
919
|
-
type CommandShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
|
|
920
|
-
declare const CommandShortcut: {
|
|
921
|
-
({ className, ...props }: CommandShortcutProps): react_jsx_runtime.JSX.Element;
|
|
922
|
-
displayName: string;
|
|
923
|
-
};
|
|
924
|
-
|
|
925
|
-
declare const toggleVariants: (props?: {
|
|
926
|
-
variant?: "default" | "outline";
|
|
927
|
-
size?: "default" | "sm" | "lg";
|
|
928
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
929
|
-
interface ToggleProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof toggleVariants> {
|
|
930
|
-
pressed?: boolean;
|
|
931
|
-
onPressedChange?: (pressed: boolean) => void;
|
|
932
|
-
}
|
|
933
|
-
declare const Toggle: React$1.ForwardRefExoticComponent<ToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
934
|
-
|
|
935
|
-
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
936
|
-
|
|
937
|
-
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
938
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
939
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
940
|
-
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
941
|
-
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
942
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
943
|
-
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
944
|
-
inset?: boolean;
|
|
945
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
946
|
-
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
947
|
-
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
948
|
-
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
949
|
-
inset?: boolean;
|
|
950
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
951
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
952
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
953
|
-
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
954
|
-
inset?: boolean;
|
|
955
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
956
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
957
|
-
declare const DropdownMenuShortcut: {
|
|
958
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
959
|
-
displayName: string;
|
|
960
|
-
};
|
|
961
|
-
|
|
962
|
-
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
963
|
-
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
964
|
-
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
965
|
-
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_dist_types.ClassProp) => string;
|
|
966
|
-
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
967
|
-
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
968
|
-
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
969
|
-
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
970
|
-
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
971
|
-
|
|
972
|
-
declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
973
|
-
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
974
|
-
declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
975
|
-
declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
|
|
976
|
-
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
977
|
-
declare const sheetVariants: (props?: {
|
|
978
|
-
side?: "left" | "right" | "bottom" | "top";
|
|
979
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
980
|
-
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
981
|
-
}
|
|
982
|
-
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
983
|
-
declare const SheetHeader: {
|
|
984
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
985
|
-
displayName: string;
|
|
986
|
-
};
|
|
987
|
-
declare const SheetFooter: {
|
|
988
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
989
|
-
displayName: string;
|
|
990
|
-
};
|
|
991
|
-
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
992
|
-
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
993
|
-
|
|
994
|
-
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
995
|
-
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
996
|
-
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
997
|
-
|
|
998
|
-
declare const Pagination: {
|
|
999
|
-
({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
1000
|
-
displayName: string;
|
|
1001
|
-
};
|
|
1002
|
-
declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1003
|
-
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1004
|
-
type PaginationLinkProps = {
|
|
1005
|
-
isActive?: boolean;
|
|
1006
|
-
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
1007
|
-
declare const PaginationLink: {
|
|
1008
|
-
({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
1009
|
-
displayName: string;
|
|
1010
|
-
};
|
|
1011
|
-
declare const PaginationPrevious: {
|
|
1012
|
-
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
1013
|
-
displayName: string;
|
|
1014
|
-
};
|
|
1015
|
-
declare const PaginationNext: {
|
|
1016
|
-
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
1017
|
-
displayName: string;
|
|
1018
|
-
};
|
|
1019
|
-
declare const PaginationEllipsis: {
|
|
1020
|
-
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1021
|
-
displayName: string;
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
declare const MenubarMenu: {
|
|
1025
|
-
(props: MenubarPrimitive.MenubarMenuProps & {
|
|
1026
|
-
__scopeMenubar?: _radix_ui_react_context.Scope;
|
|
1027
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1028
|
-
displayName: string;
|
|
1029
|
-
};
|
|
1030
|
-
declare const MenubarGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.MenubarGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1031
|
-
declare const MenubarPortal: React$1.FC<MenubarPrimitive.MenubarPortalProps>;
|
|
1032
|
-
declare const MenubarSub: React$1.FC<MenubarPrimitive.MenubarSubProps>;
|
|
1033
|
-
declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1034
|
-
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1035
|
-
declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1036
|
-
declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1037
|
-
inset?: boolean;
|
|
1038
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1039
|
-
declare const MenubarSubContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1040
|
-
declare const MenubarContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1041
|
-
declare const MenubarItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1042
|
-
inset?: boolean;
|
|
1043
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1044
|
-
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1045
|
-
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1046
|
-
declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1047
|
-
inset?: boolean;
|
|
1048
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1049
|
-
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1050
|
-
declare const MenubarShortcut: {
|
|
1051
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
1052
|
-
displayName: string;
|
|
1053
|
-
};
|
|
1054
|
-
|
|
1055
|
-
type SortDirection = "asc" | "desc" | null;
|
|
1056
|
-
declare const tableVariants: (props?: {
|
|
1057
|
-
variant?: "default" | "minimal" | "card" | "bordered" | "striped";
|
|
1058
|
-
size?: "default" | "sm" | "lg";
|
|
1059
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1060
|
-
interface ColumnDefinition<T> {
|
|
1061
|
-
id: string;
|
|
1062
|
-
header: React$1.ReactNode;
|
|
1063
|
-
accessorKey?: keyof T;
|
|
1064
|
-
cell?: (row: T) => React$1.ReactNode;
|
|
1065
|
-
sortable?: boolean;
|
|
1066
|
-
}
|
|
1067
|
-
interface TableProps<T> extends React$1.HTMLAttributes<HTMLTableElement>, VariantProps<typeof tableVariants> {
|
|
1068
|
-
/** Shows data loading state */
|
|
1069
|
-
loading?: boolean;
|
|
1070
|
-
/** Column used for sorting */
|
|
1071
|
-
sortColumn?: string;
|
|
1072
|
-
/** Sort direction */
|
|
1073
|
-
sortDirection?: SortDirection;
|
|
1074
|
-
/** Function called when sorting changes */
|
|
1075
|
-
onSortChange?: (column: string, direction: SortDirection) => void;
|
|
1076
|
-
/** Custom content for empty state */
|
|
1077
|
-
emptyContent?: React$1.ReactNode;
|
|
1078
|
-
/** Selected row ids */
|
|
1079
|
-
selectedRowIds?: string[];
|
|
1080
|
-
/** Function called when row selection changes */
|
|
1081
|
-
onRowSelectionChange?: (selectedRowIds: string[]) => void;
|
|
1082
|
-
/** Disable row selection */
|
|
1083
|
-
disableRowSelection?: boolean;
|
|
1084
|
-
/** Function to extract unique id for each row */
|
|
1085
|
-
getRowId?: (row: T) => string;
|
|
1086
|
-
}
|
|
1087
|
-
declare const Table: React$1.ForwardRefExoticComponent<TableProps<unknown> & React$1.RefAttributes<HTMLTableElement>>;
|
|
1088
|
-
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1089
|
-
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1090
|
-
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1091
|
-
declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
1092
|
-
interface TableHeadProps extends React$1.ThHTMLAttributes<HTMLTableCellElement> {
|
|
1093
|
-
/** Sortable state for this column */
|
|
1094
|
-
sortable?: boolean;
|
|
1095
|
-
/** Current sort state for this column */
|
|
1096
|
-
sorted?: SortDirection;
|
|
1097
|
-
/** Function called when sorting changes */
|
|
1098
|
-
onSort?: () => void;
|
|
1099
|
-
}
|
|
1100
|
-
declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1101
|
-
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1102
|
-
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
1103
|
-
|
|
1104
|
-
interface CalendarProps {
|
|
1105
|
-
mode?: "single" | "range" | "multiple";
|
|
1106
|
-
selected?: Date | Date[] | {
|
|
1107
|
-
from?: Date;
|
|
1108
|
-
to?: Date;
|
|
1109
|
-
} | undefined;
|
|
1110
|
-
onSelect?: (date: Date | Date[] | {
|
|
1111
|
-
from?: Date;
|
|
1112
|
-
to?: Date;
|
|
1113
|
-
} | undefined) => void;
|
|
1114
|
-
disabled?: (date: Date) => boolean;
|
|
1115
|
-
showOutsideDays?: boolean;
|
|
1116
|
-
className?: string;
|
|
1117
|
-
classNames?: Record<string, string>;
|
|
1118
|
-
numberOfMonths?: number;
|
|
1119
|
-
defaultMonth?: Date;
|
|
1120
|
-
initialFocus?: boolean;
|
|
1121
|
-
}
|
|
1122
|
-
declare function Calendar({ mode, selected, onSelect, disabled, showOutsideDays, className, classNames, numberOfMonths, defaultMonth, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
1123
|
-
declare namespace Calendar {
|
|
1124
|
-
var displayName: string;
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
* DatePicker Component
|
|
1129
|
-
*
|
|
1130
|
-
* A comprehensive date picker with calendar interface
|
|
1131
|
-
*/
|
|
1132
|
-
declare const datePickerVariants: (props?: {
|
|
1133
|
-
variant?: "default" | "outline" | "ghost";
|
|
1134
|
-
size?: "default" | "sm" | "lg" | "icon";
|
|
1135
|
-
state?: "default" | "success" | "warning" | "error";
|
|
1136
|
-
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1137
|
-
interface DatePickerProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "value">, VariantProps<typeof datePickerVariants> {
|
|
1138
|
-
/**
|
|
1139
|
-
* Selected date value
|
|
1140
|
-
*/
|
|
1141
|
-
value?: Date;
|
|
1142
|
-
/**
|
|
1143
|
-
* Callback when date changes
|
|
1144
|
-
*/
|
|
1145
|
-
onChange?: (date: Date | undefined) => void;
|
|
1146
|
-
/**
|
|
1147
|
-
* Placeholder text
|
|
1148
|
-
*/
|
|
1149
|
-
placeholder?: string;
|
|
1150
|
-
/**
|
|
1151
|
-
* Date format string
|
|
1152
|
-
*/
|
|
1153
|
-
formatString?: string;
|
|
1154
|
-
/**
|
|
1155
|
-
* Minimum selectable date
|
|
1156
|
-
*/
|
|
1157
|
-
minDate?: Date;
|
|
1158
|
-
/**
|
|
1159
|
-
* Maximum selectable date
|
|
1160
|
-
*/
|
|
1161
|
-
maxDate?: Date;
|
|
1162
|
-
/**
|
|
1163
|
-
* Disabled dates
|
|
1164
|
-
*/
|
|
1165
|
-
disabledDates?: Date[];
|
|
1166
|
-
/**
|
|
1167
|
-
* Disabled days of week (0-6, Sunday is 0)
|
|
1168
|
-
*/
|
|
1169
|
-
disabledDaysOfWeek?: number[];
|
|
1170
|
-
/**
|
|
1171
|
-
* Show week numbers
|
|
1172
|
-
*/
|
|
1173
|
-
showWeekNumbers?: boolean;
|
|
1174
|
-
/**
|
|
1175
|
-
* Icon position
|
|
1176
|
-
*/
|
|
1177
|
-
iconPosition?: "left" | "right";
|
|
1178
|
-
/**
|
|
1179
|
-
* Custom icon
|
|
1180
|
-
*/
|
|
1181
|
-
icon?: React$1.ReactNode;
|
|
1182
|
-
/**
|
|
1183
|
-
* Allow clear
|
|
1184
|
-
*/
|
|
1185
|
-
allowClear?: boolean;
|
|
1186
|
-
/**
|
|
1187
|
-
* Read only
|
|
1188
|
-
*/
|
|
1189
|
-
readOnly?: boolean;
|
|
1190
|
-
/**
|
|
1191
|
-
* Show today button
|
|
1192
|
-
*/
|
|
1193
|
-
showTodayButton?: boolean;
|
|
1194
|
-
/**
|
|
1195
|
-
* Calendar props
|
|
1196
|
-
*/
|
|
1197
|
-
calendarProps?: React$1.ComponentProps<typeof Calendar>;
|
|
1198
|
-
}
|
|
1199
|
-
declare function DatePicker({ className, variant, size, state, value, onChange, placeholder, formatString, minDate, maxDate, disabledDates, disabledDaysOfWeek, showWeekNumbers, iconPosition, icon, allowClear, readOnly, showTodayButton, calendarProps, disabled, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
1200
|
-
|
|
1201
|
-
export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionTrigger, AccordionTriggerProps, Alert, AlertDescription, AlertProps, AlertTitle, AspectRatio, AspectRatioProps, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Button, ButtonProps, Calendar, CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardProps, CardTitle, Checkbox, CheckboxGroup, CheckboxLabel, CheckboxProps, CheckboxWithLabel, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleTrigger, CollapsibleTriggerProps, ColumnDefinition, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogForm, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputProps, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverFooter, PopoverHeader, PopoverSeparator, PopoverTrigger, Progress, ProgressProps, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioItemWithLabel, RadioLabel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SkeletonAvatar, SkeletonAvatarProps, SkeletonCard, SkeletonCardProps, SkeletonProps, SkeletonText, SkeletonTextProps, Slider, SortDirection, Switch, SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TextareaProps, ThemeColors, ThemeConfig, ThemeProvider, ThemeProviderProps, Toast, ToastContainer, ToastProps, ToastProvider, Toggle, ToggleProps, Tooltip, TooltipContentProps, TooltipProps, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, aspectRatioVariants, badgeVariants, buttonVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, combineRefs, commandGroupVariants, commandInputVariants, commandItemVariants, commandListVariants, commandVariants, createCssVariables, debounce, formatCurrency, generateId, get, navigationMenuTriggerStyle, popoverContentVariants, progressVariants, skeletonVariants, toastVariants, toggleVariants, tooltipContentVariants, useTheme, useToast };
|