@moontra/moonui 0.1.0 → 0.1.1
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.d.mts +840 -4
- package/dist/index.d.ts +840 -4
- package/dist/index.js +3513 -41
- package/dist/index.mjs +3416 -40
- package/package.json +5 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
3
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';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
8
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
9
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
10
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
11
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
12
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
13
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
14
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
15
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
6
16
|
|
|
7
17
|
/**
|
|
8
18
|
* Utility function for merging Tailwind CSS classes with clsx/cva
|
|
@@ -45,8 +55,102 @@ declare function debounce<T extends (...args: any[]) => any>(fn: T, ms?: number)
|
|
|
45
55
|
*/
|
|
46
56
|
declare function combineRefs<T>(...refs: Array<React.Ref<T> | undefined>): React.RefCallback<T>;
|
|
47
57
|
|
|
58
|
+
/**
|
|
59
|
+
* Tema türleri için temel renk paletini tanımlayan tip
|
|
60
|
+
*/
|
|
61
|
+
type ThemeColors = {
|
|
62
|
+
primary: string;
|
|
63
|
+
secondary: string;
|
|
64
|
+
success: string;
|
|
65
|
+
warning: string;
|
|
66
|
+
error: string;
|
|
67
|
+
background: string;
|
|
68
|
+
foreground: string;
|
|
69
|
+
card: string;
|
|
70
|
+
cardForeground: string;
|
|
71
|
+
border: string;
|
|
72
|
+
muted: string;
|
|
73
|
+
mutedForeground: string;
|
|
74
|
+
accent: string;
|
|
75
|
+
accentForeground: string;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Tema yapılandırma tipi
|
|
79
|
+
*/
|
|
80
|
+
type ThemeConfig = {
|
|
81
|
+
colors: ThemeColors;
|
|
82
|
+
borderRadius: {
|
|
83
|
+
sm: string;
|
|
84
|
+
md: string;
|
|
85
|
+
lg: string;
|
|
86
|
+
full: string;
|
|
87
|
+
};
|
|
88
|
+
fontSizes: {
|
|
89
|
+
xs: string;
|
|
90
|
+
sm: string;
|
|
91
|
+
base: string;
|
|
92
|
+
lg: string;
|
|
93
|
+
xl: string;
|
|
94
|
+
'2xl': string;
|
|
95
|
+
'3xl': string;
|
|
96
|
+
};
|
|
97
|
+
spacing: {
|
|
98
|
+
1: string;
|
|
99
|
+
2: string;
|
|
100
|
+
4: string;
|
|
101
|
+
6: string;
|
|
102
|
+
8: string;
|
|
103
|
+
};
|
|
104
|
+
extensions?: Record<string, Record<string, string> | string>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Tema hazır şablonları
|
|
108
|
+
*/
|
|
109
|
+
type ThemePreset = 'default' | 'modern' | 'rounded' | 'minimal';
|
|
110
|
+
interface ThemeProviderProps {
|
|
111
|
+
children: ReactNode;
|
|
112
|
+
defaultColorMode?: 'light' | 'dark';
|
|
113
|
+
preset?: ThemePreset;
|
|
114
|
+
lightTheme?: Partial<ThemeConfig>;
|
|
115
|
+
darkTheme?: Partial<ThemeConfig>;
|
|
116
|
+
extensions?: Record<string, Record<string, string> | string>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Tema bağlamı için tip
|
|
120
|
+
*/
|
|
121
|
+
interface ThemeContextType {
|
|
122
|
+
theme: ThemeConfig;
|
|
123
|
+
colorMode: 'light' | 'dark';
|
|
124
|
+
setColorMode: (mode: 'light' | 'dark') => void;
|
|
125
|
+
updateTheme: (config: Partial<ThemeConfig>) => void;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Tema bağlamı için tip
|
|
129
|
+
*/
|
|
130
|
+
interface ThemeContextType {
|
|
131
|
+
theme: ThemeConfig;
|
|
132
|
+
colorMode: 'light' | 'dark';
|
|
133
|
+
setColorMode: (mode: 'light' | 'dark') => void;
|
|
134
|
+
updateTheme: (config: Partial<ThemeConfig>) => void;
|
|
135
|
+
setThemePreset: (preset: ThemePreset) => void;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Tema kullanma kancası
|
|
139
|
+
*/
|
|
140
|
+
declare const useTheme: () => ThemeContextType;
|
|
141
|
+
/**
|
|
142
|
+
* CSS değişkenlerini tema konfigürasyonundan oluşturma fonksiyonu
|
|
143
|
+
*/
|
|
144
|
+
declare const createCssVariables: (theme: ThemeConfig) => Record<string, string>;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* MoonUI tema sağlayıcı bileşeni
|
|
148
|
+
* Bu bileşen, tema mantığını ve CSS değişkenlerini yönetir
|
|
149
|
+
*/
|
|
150
|
+
declare const ThemeProvider: React__default.FC<ThemeProviderProps>;
|
|
151
|
+
|
|
48
152
|
declare const buttonVariants: (props?: {
|
|
49
|
-
variant?: "default" | "
|
|
153
|
+
variant?: "default" | "primary" | "secondary" | "success" | "link" | "destructive" | "outline" | "ghost";
|
|
50
154
|
size?: "default" | "sm" | "lg" | "icon";
|
|
51
155
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
52
156
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -55,7 +159,7 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, V
|
|
|
55
159
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
56
160
|
|
|
57
161
|
declare const badgeVariants: (props?: {
|
|
58
|
-
variant?: "default" | "
|
|
162
|
+
variant?: "default" | "secondary" | "success" | "warning" | "destructive" | "outline" | "info";
|
|
59
163
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
60
164
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
61
165
|
}
|
|
@@ -70,4 +174,736 @@ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
70
174
|
|
|
71
175
|
type CardProps = React$1.ComponentProps<typeof Card>;
|
|
72
176
|
|
|
73
|
-
|
|
177
|
+
type InputProps = React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
178
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
179
|
+
|
|
180
|
+
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
181
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
182
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
183
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
184
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
185
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
186
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
187
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
188
|
+
|
|
189
|
+
type SwitchProps = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
|
|
190
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Premium Dialog Component
|
|
194
|
+
*
|
|
195
|
+
* Modern, accessible and customizable modal dialog component.
|
|
196
|
+
* Enhances user experience with variants, sizes and rich features.
|
|
197
|
+
* Provides a premium appearance with dark and light mode compatibility and fluid animations.
|
|
198
|
+
*/
|
|
199
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
200
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
201
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
202
|
+
declare const overlayVariants: (props?: {
|
|
203
|
+
variant?: "default" | "minimal" | "subtle" | "blur";
|
|
204
|
+
animation?: "default" | "slow" | "fast";
|
|
205
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
206
|
+
declare const dialogContentVariants: (props?: {
|
|
207
|
+
variant?: "default" | "primary" | "secondary" | "destructive" | "ghost";
|
|
208
|
+
size?: "default" | "sm" | "md" | "lg" | "full" | "xs" | "xl";
|
|
209
|
+
radius?: "default" | "sm" | "lg" | "full" | "xl" | "none";
|
|
210
|
+
animation?: "default" | "none" | "zoom" | "fade" | "slide";
|
|
211
|
+
position?: "default" | "bottom" | "top";
|
|
212
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
213
|
+
interface DialogContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, 'title' | 'description'>, VariantProps<typeof dialogContentVariants> {
|
|
214
|
+
hideCloseButton?: boolean;
|
|
215
|
+
overlayVariant?: VariantProps<typeof overlayVariants>['variant'];
|
|
216
|
+
overlayAnimation?: VariantProps<typeof overlayVariants>['animation'];
|
|
217
|
+
/** Dialog title, automatically adds DialogHeader and Title if provided */
|
|
218
|
+
title?: React$1.ReactNode;
|
|
219
|
+
/** Dialog description, automatically adds DialogDescription if provided */
|
|
220
|
+
description?: React$1.ReactNode;
|
|
221
|
+
/** Optional icon to display beside the title/description in the header */
|
|
222
|
+
icon?: React$1.ReactNode;
|
|
223
|
+
/** If true, shows a loading spinner in the header icon position */
|
|
224
|
+
loading?: boolean;
|
|
225
|
+
/** If true, shows a success checkmark in the header icon position */
|
|
226
|
+
success?: boolean;
|
|
227
|
+
/** Custom onClose handler for advanced close logic */
|
|
228
|
+
onClose?: () => void;
|
|
229
|
+
}
|
|
230
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
231
|
+
declare const DialogHeader: {
|
|
232
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
233
|
+
displayName: string;
|
|
234
|
+
};
|
|
235
|
+
declare const DialogFooter: {
|
|
236
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
237
|
+
displayName: string;
|
|
238
|
+
};
|
|
239
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
240
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
241
|
+
/**
|
|
242
|
+
* Dialog-Form integration for use with form support
|
|
243
|
+
* Used to integrate form submission processes into the modal
|
|
244
|
+
*/
|
|
245
|
+
declare const DialogForm: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLFormElement> & React$1.RefAttributes<HTMLFormElement>>;
|
|
246
|
+
|
|
247
|
+
interface TabsProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
248
|
+
/** For vertical layout in mobile view */
|
|
249
|
+
vertical?: boolean;
|
|
250
|
+
}
|
|
251
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
252
|
+
declare const tabsListVariants: (props?: {
|
|
253
|
+
variant?: "default" | "minimal" | "underline" | "pills" | "cards";
|
|
254
|
+
orientation?: "horizontal" | "vertical";
|
|
255
|
+
fullWidth?: boolean;
|
|
256
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
257
|
+
interface TabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof tabsListVariants> {
|
|
258
|
+
/** Display in vertical layout */
|
|
259
|
+
orientation?: "horizontal" | "vertical";
|
|
260
|
+
}
|
|
261
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
262
|
+
declare const tabsTriggerVariants: (props?: {
|
|
263
|
+
variant?: "default" | "minimal" | "underline" | "pills" | "cards";
|
|
264
|
+
size?: "sm" | "md" | "lg";
|
|
265
|
+
orientation?: "horizontal" | "vertical";
|
|
266
|
+
fullWidth?: boolean;
|
|
267
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
268
|
+
interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
|
|
269
|
+
/** Icon position */
|
|
270
|
+
iconPosition?: "left" | "right" | "none";
|
|
271
|
+
/** Icon */
|
|
272
|
+
icon?: React$1.ReactNode;
|
|
273
|
+
/** Badge content */
|
|
274
|
+
badge?: React$1.ReactNode;
|
|
275
|
+
/** Semi-transparent when not active */
|
|
276
|
+
fadeTabs?: boolean;
|
|
277
|
+
/** Display in vertical layout */
|
|
278
|
+
orientation?: "horizontal" | "vertical";
|
|
279
|
+
}
|
|
280
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
281
|
+
interface TabsContentProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Content> {
|
|
282
|
+
/** Content animation */
|
|
283
|
+
animated?: boolean;
|
|
284
|
+
}
|
|
285
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<TabsContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
286
|
+
|
|
287
|
+
declare const avatarVariants: (props?: {
|
|
288
|
+
size?: "default" | "sm" | "md" | "lg" | "xs" | "xl" | "2xl";
|
|
289
|
+
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
290
|
+
variant?: "default" | "border" | "ring" | "ringOffset";
|
|
291
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
292
|
+
interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
|
|
293
|
+
}
|
|
294
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
295
|
+
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
296
|
+
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Alert Component
|
|
300
|
+
*
|
|
301
|
+
* Yüksek kaliteli, özelleştirilebilir ve erişilebilir alert bileşeni.
|
|
302
|
+
* Bildirim, uyarı ve dikkat çekmek gereken içerikler için kullanılır.
|
|
303
|
+
*/
|
|
304
|
+
declare const alertVariants: (props?: {
|
|
305
|
+
variant?: "default" | "primary" | "success" | "warning" | "error" | "info";
|
|
306
|
+
size?: "default" | "sm" | "lg";
|
|
307
|
+
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
308
|
+
withClose?: boolean;
|
|
309
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
310
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
311
|
+
/** Alert ikonunu gizler */
|
|
312
|
+
hideIcon?: boolean;
|
|
313
|
+
/** Kapatma butonu ekler */
|
|
314
|
+
closable?: boolean;
|
|
315
|
+
/** Kapatma butonu tıklandığında çalışacak fonksiyon */
|
|
316
|
+
onClose?: () => void;
|
|
317
|
+
}
|
|
318
|
+
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
319
|
+
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
320
|
+
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Toast (Anlık Bildirim) Bileşeni
|
|
324
|
+
*
|
|
325
|
+
* Kullanıcıya anlık geri bildirim ve bildirimler göstermek için kullanılır.
|
|
326
|
+
* Tema sistemiyle tam entegrasyonlu ve farklı varyantlara sahiptir.
|
|
327
|
+
*/
|
|
328
|
+
declare const ToastProvider: React$1.Context<{
|
|
329
|
+
add: (toast: ToastProps) => string;
|
|
330
|
+
remove: (id: string) => void;
|
|
331
|
+
removeAll: () => void;
|
|
332
|
+
}>;
|
|
333
|
+
declare const useToast: () => {
|
|
334
|
+
add: (toast: ToastProps) => string;
|
|
335
|
+
remove: (id: string) => void;
|
|
336
|
+
removeAll: () => void;
|
|
337
|
+
};
|
|
338
|
+
declare const toastVariants: (props?: {
|
|
339
|
+
variant?: "default" | "primary" | "success" | "warning" | "error" | "destructive" | "info";
|
|
340
|
+
size?: "default" | "sm" | "lg";
|
|
341
|
+
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
342
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
343
|
+
interface ToastProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'>, VariantProps<typeof toastVariants> {
|
|
344
|
+
id?: string;
|
|
345
|
+
title?: React$1.ReactNode;
|
|
346
|
+
description?: React$1.ReactNode;
|
|
347
|
+
action?: React$1.ReactNode;
|
|
348
|
+
onClose?: () => void;
|
|
349
|
+
autoClose?: boolean;
|
|
350
|
+
duration?: number;
|
|
351
|
+
hideIcon?: boolean;
|
|
352
|
+
showProgress?: boolean;
|
|
353
|
+
}
|
|
354
|
+
declare const Toast: React$1.FC<ToastProps>;
|
|
355
|
+
interface ToastContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
356
|
+
position?: "top-right" | "top-center" | "top-left" | "bottom-right" | "bottom-center" | "bottom-left";
|
|
357
|
+
gap?: number;
|
|
358
|
+
maxToasts?: number;
|
|
359
|
+
}
|
|
360
|
+
declare const ToastContainer: React$1.FC<ToastContainerProps>;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Tooltip Bileşeni
|
|
364
|
+
*
|
|
365
|
+
* Kullanıcı bir elementin üzerine geldiğinde ek bilgi göstermek için kullanılır.
|
|
366
|
+
* Tema sistemiyle tam entegrasyonlu ve farklı boyut, varyant ve pozisyonlara sahiptir.
|
|
367
|
+
*/
|
|
368
|
+
declare const tooltipContentVariants: (props?: {
|
|
369
|
+
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "info";
|
|
370
|
+
size?: "default" | "sm" | "lg";
|
|
371
|
+
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
372
|
+
shadow?: "default" | "sm" | "lg" | "none";
|
|
373
|
+
side?: "left" | "right" | "bottom" | "top";
|
|
374
|
+
align?: "center" | "end" | "start";
|
|
375
|
+
visible?: boolean;
|
|
376
|
+
arrow?: boolean;
|
|
377
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
378
|
+
interface TooltipContentProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof tooltipContentVariants> {
|
|
379
|
+
/** Tooltip okunu gösterip gizleme */
|
|
380
|
+
hideArrow?: boolean;
|
|
381
|
+
/** Ok rengi (hexadecimal veya CSS değişkeni) */
|
|
382
|
+
arrowColor?: string;
|
|
383
|
+
}
|
|
384
|
+
interface TooltipProps extends React$1.PropsWithChildren {
|
|
385
|
+
/** Gösterilecek tooltip içeriği */
|
|
386
|
+
content: React$1.ReactNode;
|
|
387
|
+
/** Tooltip açılma gecikmesi (ms) */
|
|
388
|
+
delayDuration?: number;
|
|
389
|
+
/** Tooltip pozisyonu */
|
|
390
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
391
|
+
/** Tooltip hizalaması */
|
|
392
|
+
align?: "start" | "center" | "end";
|
|
393
|
+
/** Tooltip ile trigger arasındaki mesafe (piksel) */
|
|
394
|
+
sideOffset?: number;
|
|
395
|
+
/** Tooltip varyantı */
|
|
396
|
+
variant?: VariantProps<typeof tooltipContentVariants>["variant"];
|
|
397
|
+
/** Tooltip boyutu */
|
|
398
|
+
size?: VariantProps<typeof tooltipContentVariants>["size"];
|
|
399
|
+
/** Tooltip kenar yuvarlaklığı */
|
|
400
|
+
radius?: VariantProps<typeof tooltipContentVariants>["radius"];
|
|
401
|
+
/** Tooltip gölge boyutu */
|
|
402
|
+
shadow?: VariantProps<typeof tooltipContentVariants>["shadow"];
|
|
403
|
+
/** Tooltip devre dışı */
|
|
404
|
+
disabled?: boolean;
|
|
405
|
+
/** Ek içerik sınıfı */
|
|
406
|
+
contentClassName?: string;
|
|
407
|
+
/** Ek tetikleyici sınıfı */
|
|
408
|
+
triggerClassName?: string;
|
|
409
|
+
}
|
|
410
|
+
declare function Tooltip({ children, content, delayDuration, side, align, variant, size, radius, shadow, disabled, contentClassName, triggerClassName, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
411
|
+
declare namespace Tooltip {
|
|
412
|
+
var displayName: string;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Checkbox Bileşeni
|
|
417
|
+
*
|
|
418
|
+
* Erişilebilir, özelleştirilebilir ve tema sistemiyle tam entegre checkbox bileşeni.
|
|
419
|
+
* Form elemanları ve seçim listeleri için kullanılır.
|
|
420
|
+
*/
|
|
421
|
+
declare const checkboxVariants: (props?: {
|
|
422
|
+
variant?: "default" | "muted" | "outline" | "ghost";
|
|
423
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
424
|
+
radius?: "default" | "sm" | "md" | "full" | "none";
|
|
425
|
+
animation?: "default" | "none" | "subtle" | "bounce";
|
|
426
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
427
|
+
interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkboxVariants> {
|
|
428
|
+
/**
|
|
429
|
+
* İndeterminate durumu - grup seçimlerinde bazı öğeler seçilmişse kullanılır
|
|
430
|
+
*/
|
|
431
|
+
indeterminate?: boolean;
|
|
432
|
+
/**
|
|
433
|
+
* Özel ikon komponenti
|
|
434
|
+
*/
|
|
435
|
+
icon?: React$1.ReactNode;
|
|
436
|
+
}
|
|
437
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
438
|
+
interface CheckboxGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
439
|
+
/**
|
|
440
|
+
* Grup içi yerleşim - dikey veya yatay
|
|
441
|
+
*/
|
|
442
|
+
orientation?: "horizontal" | "vertical";
|
|
443
|
+
/**
|
|
444
|
+
* Öğeler arasındaki boşluk (piksel)
|
|
445
|
+
*/
|
|
446
|
+
spacing?: number | string;
|
|
447
|
+
/**
|
|
448
|
+
* Alt bileşenler
|
|
449
|
+
*/
|
|
450
|
+
children: React$1.ReactNode;
|
|
451
|
+
}
|
|
452
|
+
declare const CheckboxGroup: React$1.ForwardRefExoticComponent<CheckboxGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
453
|
+
interface CheckboxLabelProps extends React$1.HTMLAttributes<HTMLLabelElement> {
|
|
454
|
+
/**
|
|
455
|
+
* Checkbox bileşeni için HTML id
|
|
456
|
+
*/
|
|
457
|
+
htmlFor?: string;
|
|
458
|
+
/**
|
|
459
|
+
* Label içeriği
|
|
460
|
+
*/
|
|
461
|
+
children: React$1.ReactNode;
|
|
462
|
+
/**
|
|
463
|
+
* Checkbox öncesi veya sonrası
|
|
464
|
+
*/
|
|
465
|
+
position?: "start" | "end";
|
|
466
|
+
/**
|
|
467
|
+
* Devre dışı durum stili
|
|
468
|
+
*/
|
|
469
|
+
disabled?: boolean;
|
|
470
|
+
}
|
|
471
|
+
declare const CheckboxLabel: React$1.ForwardRefExoticComponent<CheckboxLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
472
|
+
interface CheckboxWithLabelProps extends CheckboxProps {
|
|
473
|
+
/**
|
|
474
|
+
* Label içeriği
|
|
475
|
+
*/
|
|
476
|
+
label: React$1.ReactNode;
|
|
477
|
+
/**
|
|
478
|
+
* Label pozisyonu
|
|
479
|
+
*/
|
|
480
|
+
labelPosition?: "start" | "end";
|
|
481
|
+
/**
|
|
482
|
+
* Label için HTML sınıfları
|
|
483
|
+
*/
|
|
484
|
+
labelClassName?: string;
|
|
485
|
+
}
|
|
486
|
+
declare const CheckboxWithLabel: React$1.ForwardRefExoticComponent<CheckboxWithLabelProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Radio Group Bileşeni
|
|
490
|
+
*
|
|
491
|
+
* Erişilebilir, özelleştirilebilir ve tema sistemiyle tam entegre radio button grubu.
|
|
492
|
+
* Kullanıcıların bir grup seçenek arasından tek bir seçim yapmasını sağlar.
|
|
493
|
+
*/
|
|
494
|
+
declare const radioGroupItemVariants: (props?: {
|
|
495
|
+
variant?: "default" | "outline" | "filled";
|
|
496
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
497
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
498
|
+
interface RadioGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
499
|
+
/**
|
|
500
|
+
* Radio grubu değeri
|
|
501
|
+
*/
|
|
502
|
+
value?: string;
|
|
503
|
+
/**
|
|
504
|
+
* Radio grubu değeri değiştiğinde çalışacak fonksiyon
|
|
505
|
+
*/
|
|
506
|
+
onValueChange?: (value: string) => void;
|
|
507
|
+
/**
|
|
508
|
+
* Radio grubunun devre dışı olma durumu
|
|
509
|
+
*/
|
|
510
|
+
disabled?: boolean;
|
|
511
|
+
/**
|
|
512
|
+
* Radio grubu adı
|
|
513
|
+
*/
|
|
514
|
+
name?: string;
|
|
515
|
+
}
|
|
516
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
517
|
+
interface RadioGroupItemProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof radioGroupItemVariants> {
|
|
518
|
+
/**
|
|
519
|
+
* Özel indicator komponenti
|
|
520
|
+
*/
|
|
521
|
+
indicator?: React$1.ReactNode;
|
|
522
|
+
/**
|
|
523
|
+
* Radio butonu için HTML id
|
|
524
|
+
*/
|
|
525
|
+
id?: string;
|
|
526
|
+
/**
|
|
527
|
+
* Radio butonu değeri
|
|
528
|
+
*/
|
|
529
|
+
value: string;
|
|
530
|
+
/**
|
|
531
|
+
* Radio butonu devre dışı durumu
|
|
532
|
+
*/
|
|
533
|
+
disabled?: boolean;
|
|
534
|
+
}
|
|
535
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<RadioGroupItemProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
536
|
+
interface RadioLabelProps extends React$1.HTMLAttributes<HTMLLabelElement> {
|
|
537
|
+
/**
|
|
538
|
+
* Radio butonu için HTML id
|
|
539
|
+
*/
|
|
540
|
+
htmlFor?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Label içeriği
|
|
543
|
+
*/
|
|
544
|
+
children: React$1.ReactNode;
|
|
545
|
+
/**
|
|
546
|
+
* Devre dışı durum stili
|
|
547
|
+
*/
|
|
548
|
+
disabled?: boolean;
|
|
549
|
+
}
|
|
550
|
+
declare const RadioLabel: React$1.ForwardRefExoticComponent<RadioLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
551
|
+
interface RadioItemWithLabelProps extends RadioGroupItemProps {
|
|
552
|
+
/**
|
|
553
|
+
* Label içeriği
|
|
554
|
+
*/
|
|
555
|
+
label: React$1.ReactNode;
|
|
556
|
+
/**
|
|
557
|
+
* Label için HTML sınıfları
|
|
558
|
+
*/
|
|
559
|
+
labelClassName?: string;
|
|
560
|
+
/**
|
|
561
|
+
* Radio butonu için HTML id
|
|
562
|
+
*/
|
|
563
|
+
id?: string;
|
|
564
|
+
/**
|
|
565
|
+
* Devre dışı durum
|
|
566
|
+
*/
|
|
567
|
+
disabled?: boolean;
|
|
568
|
+
}
|
|
569
|
+
declare const RadioItemWithLabel: React$1.ForwardRefExoticComponent<RadioItemWithLabelProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Progress Bileşeni
|
|
573
|
+
*
|
|
574
|
+
* İlerleme durumunu görsel olarak gösteren, tema sistemiyle tam entegre bir bileşen.
|
|
575
|
+
* Yükleme işlemleri, form gönderimi ve diğer zaman alan işlemleri göstermek için kullanılır.
|
|
576
|
+
*/
|
|
577
|
+
declare const progressVariants: (props?: {
|
|
578
|
+
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "error";
|
|
579
|
+
size?: "default" | "sm" | "md" | "lg" | "xs" | "xl";
|
|
580
|
+
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
581
|
+
animation?: "default" | "none" | "smooth" | "fast";
|
|
582
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
583
|
+
declare const progressIndicatorVariants: (props?: {
|
|
584
|
+
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "error";
|
|
585
|
+
animation?: "default" | "none" | "smooth" | "fast";
|
|
586
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
587
|
+
interface ProgressProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressVariants> {
|
|
588
|
+
/**
|
|
589
|
+
* İlerleme çubuğu değeri (0-100)
|
|
590
|
+
*/
|
|
591
|
+
value?: number;
|
|
592
|
+
/**
|
|
593
|
+
* İndikatör (dolgu) için renk varyantı
|
|
594
|
+
*/
|
|
595
|
+
indicatorVariant?: VariantProps<typeof progressIndicatorVariants>["variant"];
|
|
596
|
+
/**
|
|
597
|
+
* İlerleme durumunu gösteren metin görünürlüğü
|
|
598
|
+
*/
|
|
599
|
+
showValueLabel?: boolean;
|
|
600
|
+
/**
|
|
601
|
+
* İlerleme değeri etiketi için format (ör: "30%" veya "3/10")
|
|
602
|
+
*/
|
|
603
|
+
valueLabel?: string;
|
|
604
|
+
/**
|
|
605
|
+
* Etiket stili
|
|
606
|
+
*/
|
|
607
|
+
labelClassName?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Belirsiz ilerleme animasyonu (indeterminate)
|
|
610
|
+
*/
|
|
611
|
+
indeterminate?: boolean;
|
|
612
|
+
/**
|
|
613
|
+
* İlerleme değeri maksimumu (default: 100)
|
|
614
|
+
*/
|
|
615
|
+
max?: number;
|
|
616
|
+
}
|
|
617
|
+
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Skeleton (İskelet) Bileşeni
|
|
621
|
+
*
|
|
622
|
+
* İçerik yüklenirken gösterilen, tema sistemiyle tam entegre bir iskelet yükleme bileşeni.
|
|
623
|
+
* Farklı şekil, boyut ve animasyon seçenekleri sunar.
|
|
624
|
+
*/
|
|
625
|
+
declare const skeletonVariants: (props?: {
|
|
626
|
+
variant?: "default" | "primary" | "secondary" | "accent";
|
|
627
|
+
size?: "default" | "sm" | "lg";
|
|
628
|
+
shape?: "circle" | "rect" | "pill";
|
|
629
|
+
animation?: "none" | "pulse" | "wave";
|
|
630
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
631
|
+
interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
|
|
632
|
+
/**
|
|
633
|
+
* Skeletonun yüksekliği
|
|
634
|
+
*/
|
|
635
|
+
height?: string | number;
|
|
636
|
+
/**
|
|
637
|
+
* Skeletonun genişliği
|
|
638
|
+
*/
|
|
639
|
+
width?: string | number;
|
|
640
|
+
/**
|
|
641
|
+
* Skeletonun gösterilip gösterilmeyeceği
|
|
642
|
+
*/
|
|
643
|
+
isLoaded?: boolean;
|
|
644
|
+
/**
|
|
645
|
+
* Skeleton yüklendikten sonra gösterilecek içerik
|
|
646
|
+
*/
|
|
647
|
+
children?: React$1.ReactNode;
|
|
648
|
+
/**
|
|
649
|
+
* Yüklenen içeriğin fade-in animasyon süresi (ms)
|
|
650
|
+
*/
|
|
651
|
+
fadeInDuration?: number;
|
|
652
|
+
}
|
|
653
|
+
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
654
|
+
/**
|
|
655
|
+
* Metin İskelet Bileşeni
|
|
656
|
+
*
|
|
657
|
+
* Metin paragraf şeklinde iskeleton oluşturur
|
|
658
|
+
*/
|
|
659
|
+
interface SkeletonTextProps extends Omit<SkeletonProps, "children" | "isLoaded"> {
|
|
660
|
+
/**
|
|
661
|
+
* Kaç satır gösterileceği
|
|
662
|
+
*/
|
|
663
|
+
lines?: number;
|
|
664
|
+
/**
|
|
665
|
+
* Satır yüksekliği
|
|
666
|
+
*/
|
|
667
|
+
lineHeight?: string | number;
|
|
668
|
+
/**
|
|
669
|
+
* Satırlar arası boşluk
|
|
670
|
+
*/
|
|
671
|
+
spacing?: string | number;
|
|
672
|
+
/**
|
|
673
|
+
* Son satırın genişlik yüzdesi (0-100)
|
|
674
|
+
*/
|
|
675
|
+
lastLineWidth?: number;
|
|
676
|
+
/**
|
|
677
|
+
* Rastgele satır genişlikleri
|
|
678
|
+
*/
|
|
679
|
+
randomWidths?: boolean;
|
|
680
|
+
}
|
|
681
|
+
declare const SkeletonText: React$1.ForwardRefExoticComponent<SkeletonTextProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
682
|
+
/**
|
|
683
|
+
* Avatar İskelet Bileşeni
|
|
684
|
+
*/
|
|
685
|
+
interface SkeletonAvatarProps extends Omit<SkeletonProps, "shape" | "size"> {
|
|
686
|
+
/**
|
|
687
|
+
* Avatar boyutu (piksel)
|
|
688
|
+
*/
|
|
689
|
+
size?: string | number;
|
|
690
|
+
}
|
|
691
|
+
declare const SkeletonAvatar: React$1.ForwardRefExoticComponent<SkeletonAvatarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
692
|
+
/**
|
|
693
|
+
* İskelet Kart Bileşeni
|
|
694
|
+
*/
|
|
695
|
+
interface SkeletonCardProps extends Omit<SkeletonProps, "children" | "isLoaded"> {
|
|
696
|
+
/**
|
|
697
|
+
* Kart başlığının gösterilip gösterilmeyeceği
|
|
698
|
+
*/
|
|
699
|
+
showHeader?: boolean;
|
|
700
|
+
/**
|
|
701
|
+
* İçerik satır sayısı
|
|
702
|
+
*/
|
|
703
|
+
contentLines?: number;
|
|
704
|
+
/**
|
|
705
|
+
* Alt bilgi gösterilip gösterilmeyeceği
|
|
706
|
+
*/
|
|
707
|
+
showFooter?: boolean;
|
|
708
|
+
}
|
|
709
|
+
declare const SkeletonCard: React$1.ForwardRefExoticComponent<SkeletonCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Popover Bileşeni
|
|
713
|
+
*
|
|
714
|
+
* Tıklanabilir bir öğeden açılan, tema sistemiyle tam entegre bir içerik bileşeni.
|
|
715
|
+
* Filtreler, ayarlar ve diğer içerikler için kullanışlı ve erişilebilir bir arayüz sağlar.
|
|
716
|
+
*/
|
|
717
|
+
declare const popoverContentVariants: (props?: {
|
|
718
|
+
variant?: "default" | "destructive" | "outline" | "subtle";
|
|
719
|
+
size?: "default" | "sm" | "lg";
|
|
720
|
+
side?: "left" | "right" | "bottom" | "top";
|
|
721
|
+
position?: "default" | "pointerEventsNone";
|
|
722
|
+
radius?: "default" | "sm" | "lg" | "full" | "none";
|
|
723
|
+
shadow?: "default" | "sm" | "md" | "lg" | "xl" | "none";
|
|
724
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
725
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
726
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
727
|
+
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
728
|
+
interface PopoverContentProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>, VariantProps<typeof popoverContentVariants> {
|
|
729
|
+
/**
|
|
730
|
+
* Popover'ın arka plan bulanıklığı etkin mi
|
|
731
|
+
*/
|
|
732
|
+
backdrop?: boolean;
|
|
733
|
+
/**
|
|
734
|
+
* Popover'a tıklandığında kapanıp kapanmayacağı
|
|
735
|
+
*/
|
|
736
|
+
closeOnInteractOutside?: boolean;
|
|
737
|
+
/**
|
|
738
|
+
* Popover açıkken arka planın karartılması
|
|
739
|
+
*/
|
|
740
|
+
overlayBackdrop?: boolean;
|
|
741
|
+
}
|
|
742
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
743
|
+
/**
|
|
744
|
+
* PopoverClose bileşeni
|
|
745
|
+
*/
|
|
746
|
+
declare const PopoverClose: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
747
|
+
/**
|
|
748
|
+
* Popover için bölüm ayırıcı
|
|
749
|
+
*/
|
|
750
|
+
declare const PopoverSeparator: {
|
|
751
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
752
|
+
displayName: string;
|
|
753
|
+
};
|
|
754
|
+
/**
|
|
755
|
+
* Popover başlık bileşeni
|
|
756
|
+
*/
|
|
757
|
+
declare const PopoverHeader: {
|
|
758
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
759
|
+
displayName: string;
|
|
760
|
+
};
|
|
761
|
+
/**
|
|
762
|
+
* Popover footer bileşeni
|
|
763
|
+
*/
|
|
764
|
+
declare const PopoverFooter: {
|
|
765
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
766
|
+
displayName: string;
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
declare const breadcrumbVariants: (props?: {
|
|
770
|
+
variant?: "default" | "primary" | "muted" | "accent" | "ghost";
|
|
771
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
772
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
773
|
+
interface BreadcrumbProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, VariantProps<typeof breadcrumbVariants> {
|
|
774
|
+
separator?: React$1.ReactNode;
|
|
775
|
+
showHomeIcon?: boolean;
|
|
776
|
+
}
|
|
777
|
+
interface BreadcrumbListProps extends React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement> {
|
|
778
|
+
collapsed?: boolean;
|
|
779
|
+
collapsedWidth?: number;
|
|
780
|
+
}
|
|
781
|
+
interface BreadcrumbItemProps extends React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
782
|
+
isCurrent?: boolean;
|
|
783
|
+
href?: string;
|
|
784
|
+
asChild?: boolean;
|
|
785
|
+
}
|
|
786
|
+
interface BreadcrumbSeparatorProps extends React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
787
|
+
/** Custom separator icon or text */
|
|
788
|
+
icon?: React$1.ReactNode;
|
|
789
|
+
}
|
|
790
|
+
interface BreadcrumbEllipsisProps extends React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
791
|
+
/** Custom ellipsis icon */
|
|
792
|
+
icon?: React$1.ReactNode;
|
|
793
|
+
}
|
|
794
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<BreadcrumbProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
795
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<BreadcrumbListProps, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
796
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<BreadcrumbItemProps, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
797
|
+
declare const BreadcrumbSeparator: {
|
|
798
|
+
({ children, className, ...props }: BreadcrumbSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
799
|
+
displayName: string;
|
|
800
|
+
};
|
|
801
|
+
declare const BreadcrumbEllipsis: {
|
|
802
|
+
({ className, ...props }: BreadcrumbEllipsisProps): react_jsx_runtime.JSX.Element;
|
|
803
|
+
displayName: string;
|
|
804
|
+
};
|
|
805
|
+
|
|
806
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
807
|
+
declare const accordionItemVariants: (props?: {
|
|
808
|
+
variant?: "default" | "card" | "outline";
|
|
809
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
810
|
+
interface AccordionItemProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>, VariantProps<typeof accordionItemVariants> {
|
|
811
|
+
}
|
|
812
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<AccordionItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
813
|
+
declare const accordionTriggerVariants: (props?: {
|
|
814
|
+
variant?: "default" | "outline" | "ghost";
|
|
815
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
816
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
817
|
+
interface AccordionTriggerProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>, VariantProps<typeof accordionTriggerVariants> {
|
|
818
|
+
}
|
|
819
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
820
|
+
declare const accordionContentVariants: (props?: {
|
|
821
|
+
variant?: "default" | "outline" | "ghost";
|
|
822
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
823
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
824
|
+
interface AccordionContentProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>, VariantProps<typeof accordionContentVariants> {
|
|
825
|
+
}
|
|
826
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
827
|
+
|
|
828
|
+
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
829
|
+
declare const collapsibleTriggerVariants: (props?: {
|
|
830
|
+
variant?: "default" | "outline" | "ghost";
|
|
831
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
832
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
833
|
+
interface CollapsibleTriggerProps extends React$1.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Trigger>, VariantProps<typeof collapsibleTriggerVariants> {
|
|
834
|
+
}
|
|
835
|
+
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
836
|
+
declare const collapsibleContentVariants: (props?: {
|
|
837
|
+
variant?: "default" | "outline" | "ghost";
|
|
838
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
839
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
840
|
+
interface CollapsibleContentProps extends React$1.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Content>, VariantProps<typeof collapsibleContentVariants> {
|
|
841
|
+
}
|
|
842
|
+
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
843
|
+
|
|
844
|
+
declare const aspectRatioVariants: (props?: {
|
|
845
|
+
variant?: "default" | "card" | "outline" | "ghost";
|
|
846
|
+
radius?: "sm" | "md" | "lg" | "full" | "none";
|
|
847
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
848
|
+
interface AspectRatioProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof aspectRatioVariants> {
|
|
849
|
+
/**
|
|
850
|
+
* En-boy oranı (width/height). Örneğin 16/9, 4/3, 1/1 gibi.
|
|
851
|
+
* @default 16/9
|
|
852
|
+
*/
|
|
853
|
+
ratio?: number;
|
|
854
|
+
}
|
|
855
|
+
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
856
|
+
|
|
857
|
+
declare const commandVariants: (props?: {
|
|
858
|
+
variant?: "default" | "glass" | "bordered";
|
|
859
|
+
size?: "default" | "sm" | "lg";
|
|
860
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
861
|
+
interface CommandProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof commandVariants> {
|
|
862
|
+
}
|
|
863
|
+
declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
864
|
+
interface CommandDialogProps extends React$1.ComponentProps<typeof Dialog> {
|
|
865
|
+
commandClassName?: string;
|
|
866
|
+
children?: React$1.ReactNode;
|
|
867
|
+
}
|
|
868
|
+
declare const CommandDialog: ({ children, commandClassName, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
869
|
+
declare const commandInputVariants: (props?: {
|
|
870
|
+
variant?: "default" | "minimal" | "bordered";
|
|
871
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
872
|
+
interface CommandInputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof commandInputVariants> {
|
|
873
|
+
}
|
|
874
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<CommandInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
875
|
+
declare const commandListVariants: (props?: {
|
|
876
|
+
variant?: "default" | "compact" | "scrollable";
|
|
877
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
878
|
+
interface CommandListProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof commandListVariants> {
|
|
879
|
+
}
|
|
880
|
+
declare const CommandList: React$1.ForwardRefExoticComponent<CommandListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
881
|
+
interface CommandEmptyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
882
|
+
emptyMessage?: string;
|
|
883
|
+
}
|
|
884
|
+
declare const CommandEmpty: React$1.ForwardRefExoticComponent<CommandEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
885
|
+
declare const commandGroupVariants: (props?: {
|
|
886
|
+
variant?: "default" | "separated" | "indented";
|
|
887
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
888
|
+
interface CommandGroupProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof commandGroupVariants> {
|
|
889
|
+
heading?: React$1.ReactNode;
|
|
890
|
+
}
|
|
891
|
+
declare const CommandGroup: React$1.ForwardRefExoticComponent<CommandGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
892
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
893
|
+
declare const commandItemVariants: (props?: {
|
|
894
|
+
variant?: "default" | "ghost" | "subtle";
|
|
895
|
+
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
896
|
+
interface CommandItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onSelect'>, VariantProps<typeof commandItemVariants> {
|
|
897
|
+
disabled?: boolean;
|
|
898
|
+
onSelect?: (value: string) => void;
|
|
899
|
+
selected?: boolean;
|
|
900
|
+
value?: string;
|
|
901
|
+
}
|
|
902
|
+
declare const CommandItem: React$1.ForwardRefExoticComponent<CommandItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
903
|
+
type CommandShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
|
|
904
|
+
declare const CommandShortcut: {
|
|
905
|
+
({ className, ...props }: CommandShortcutProps): react_jsx_runtime.JSX.Element;
|
|
906
|
+
displayName: string;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
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, Card, CardContent, CardDescription, CardFooter, CardHeader, CardProps, CardTitle, Checkbox, CheckboxGroup, CheckboxLabel, CheckboxProps, CheckboxWithLabel, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleTrigger, CollapsibleTriggerProps, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogForm, DialogHeader, DialogTitle, DialogTrigger, Input, InputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverFooter, PopoverHeader, PopoverSeparator, PopoverTrigger, Progress, ProgressProps, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioItemWithLabel, RadioLabel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Skeleton, SkeletonAvatar, SkeletonAvatarProps, SkeletonCard, SkeletonCardProps, SkeletonProps, SkeletonText, SkeletonTextProps, Switch, SwitchProps, Tabs, TabsContent, TabsList, TabsTrigger, ThemeColors, ThemeConfig, ThemeProvider, ThemeProviderProps, Toast, ToastContainer, ToastProps, ToastProvider, Tooltip, TooltipContentProps, TooltipProps, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, aspectRatioVariants, badgeVariants, buttonVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, combineRefs, commandGroupVariants, commandInputVariants, commandItemVariants, commandListVariants, commandVariants, createCssVariables, debounce, formatCurrency, generateId, get, popoverContentVariants, progressVariants, skeletonVariants, toastVariants, tooltipContentVariants, useTheme, useToast };
|