@moontra/moonui 6.9.0 → 6.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +34 -33
- package/dist/index.d.ts +34 -33
- package/dist/index.global.js +6 -6
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +114 -71
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +114 -71
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/ui/__tests__/checkbox.test.tsx +3 -3
- package/src/components/ui/__tests__/collapsible.test.tsx +5 -5
- package/src/components/ui/__tests__/dialog.test.tsx +2 -2
- package/src/components/ui/__tests__/progress.test.tsx +4 -4
- package/src/components/ui/__tests__/radio-group.test.tsx +4 -4
- package/src/components/ui/__tests__/size-scale-convention.test.ts +189 -0
- package/src/components/ui/__tests__/slider.test.tsx +4 -4
- package/src/components/ui/alert.tsx +5 -3
- package/src/components/ui/avatar.tsx +3 -2
- package/src/components/ui/breadcrumb.tsx +4 -2
- package/src/components/ui/card.tsx +4 -2
- package/src/components/ui/checkbox.tsx +5 -3
- package/src/components/ui/collapsible.tsx +10 -6
- package/src/components/ui/color-picker.tsx +11 -5
- package/src/components/ui/command.tsx +4 -2
- package/src/components/ui/date-picker.tsx +4 -2
- package/src/components/ui/dialog.tsx +7 -5
- package/src/components/ui/popover-pro.tsx +5 -3
- package/src/components/ui/popover.tsx +4 -2
- package/src/components/ui/progress.tsx +6 -4
- package/src/components/ui/radio-group.tsx +5 -3
- package/src/components/ui/skeleton.tsx +4 -2
- package/src/components/ui/slider.tsx +10 -6
- package/src/components/ui/table.tsx +4 -2
- package/src/components/ui/toggle-group.tsx +4 -1
- package/src/components/ui/toggle.tsx +4 -2
package/dist/index.d.mts
CHANGED
|
@@ -44,7 +44,7 @@ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPr
|
|
|
44
44
|
*/
|
|
45
45
|
declare const alertVariants: (props?: {
|
|
46
46
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "info";
|
|
47
|
-
size?: "default" | "sm" | "lg";
|
|
47
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
48
48
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
49
49
|
withClose?: boolean;
|
|
50
50
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -69,7 +69,7 @@ declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttrib
|
|
|
69
69
|
*/
|
|
70
70
|
declare const aspectRatioVariants: (props?: {
|
|
71
71
|
variant?: "default" | "ghost" | "outline" | "card";
|
|
72
|
-
radius?: "none" | "sm" | "
|
|
72
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
73
73
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
74
74
|
interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof aspectRatioVariants> {
|
|
75
75
|
/**
|
|
@@ -81,7 +81,7 @@ interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement>, Variant
|
|
|
81
81
|
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
82
82
|
|
|
83
83
|
declare const avatarVariants: (props?: {
|
|
84
|
-
size?: "default" | "sm" | "
|
|
84
|
+
size?: "default" | "sm" | "md" | "lg" | "xs" | "xl" | "2xl";
|
|
85
85
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
86
86
|
variant?: "default" | "border" | "ring" | "ringOffset";
|
|
87
87
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -108,7 +108,7 @@ declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & Re
|
|
|
108
108
|
*/
|
|
109
109
|
declare const badgeVariants: (props?: {
|
|
110
110
|
variant?: "primary" | "success" | "warning" | "ghost" | "outline" | "secondary" | "destructive" | "pro" | "admin";
|
|
111
|
-
size?: "sm" | "
|
|
111
|
+
size?: "sm" | "md" | "lg";
|
|
112
112
|
radius?: "none" | "default" | "sm" | "lg";
|
|
113
113
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
114
114
|
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof badgeVariants>, 'variant'> {
|
|
@@ -147,7 +147,7 @@ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttri
|
|
|
147
147
|
|
|
148
148
|
declare const breadcrumbVariants: (props?: {
|
|
149
149
|
variant?: "default" | "ghost" | "muted";
|
|
150
|
-
size?: "default" | "sm" | "lg";
|
|
150
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
151
151
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
152
152
|
interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof breadcrumbVariants> {
|
|
153
153
|
/**
|
|
@@ -203,7 +203,7 @@ declare const BreadcrumbPage: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
203
203
|
*/
|
|
204
204
|
declare const buttonVariants: (props?: {
|
|
205
205
|
variant?: "link" | "primary" | "success" | "ghost" | "outline" | "secondary" | "destructive" | "gradient" | "glow" | "soft" | "glass" | "neon";
|
|
206
|
-
size?: "sm" | "
|
|
206
|
+
size?: "sm" | "md" | "lg" | "icon" | "xs" | "xl" | "icon-sm" | "icon-lg";
|
|
207
207
|
rounded?: "none" | "default" | "sm" | "lg" | "full";
|
|
208
208
|
fullWidth?: boolean;
|
|
209
209
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -230,7 +230,7 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
|
|
|
230
230
|
|
|
231
231
|
declare const cardVariants: (props?: {
|
|
232
232
|
variant?: "default" | "outline" | "filled" | "gradient" | "glass" | "elevated";
|
|
233
|
-
size?: "default" | "sm" | "lg" | "xl";
|
|
233
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
234
234
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
235
235
|
interactive?: boolean;
|
|
236
236
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -350,8 +350,8 @@ declare const CarouselNext: React.ForwardRefExoticComponent<Omit<ButtonProps & R
|
|
|
350
350
|
*/
|
|
351
351
|
declare const checkboxVariants: (props?: {
|
|
352
352
|
variant?: "default" | "ghost" | "outline" | "muted";
|
|
353
|
-
size?: "default" | "sm" | "lg" | "
|
|
354
|
-
radius?: "none" | "default" | "sm" | "
|
|
353
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
354
|
+
radius?: "none" | "default" | "sm" | "md" | "full";
|
|
355
355
|
animation?: "none" | "default" | "subtle" | "bounce";
|
|
356
356
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
357
357
|
interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkboxVariants> {
|
|
@@ -424,14 +424,14 @@ declare const CheckboxWithLabel: React.ForwardRefExoticComponent<CheckboxWithLab
|
|
|
424
424
|
declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
|
|
425
425
|
declare const collapsibleTriggerVariants: (props?: {
|
|
426
426
|
variant?: "default" | "ghost" | "outline";
|
|
427
|
-
size?: "default" | "sm" | "lg" | "
|
|
427
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
428
428
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
429
429
|
interface CollapsibleTriggerProps extends React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Trigger>, VariantProps<typeof collapsibleTriggerVariants> {
|
|
430
430
|
}
|
|
431
431
|
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
432
432
|
declare const collapsibleContentVariants: (props?: {
|
|
433
433
|
variant?: "default" | "ghost" | "outline";
|
|
434
|
-
size?: "default" | "sm" | "lg" | "
|
|
434
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
435
435
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
436
436
|
interface CollapsibleContentProps extends React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Content>, VariantProps<typeof collapsibleContentVariants> {
|
|
437
437
|
}
|
|
@@ -443,7 +443,7 @@ declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsibleCon
|
|
|
443
443
|
* A comprehensive color picker with multiple input methods
|
|
444
444
|
*/
|
|
445
445
|
declare const colorPickerVariants: (props?: {
|
|
446
|
-
size?: "default" | "sm" | "lg" | "xl";
|
|
446
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
447
447
|
shape?: "circle" | "square" | "rounded";
|
|
448
448
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
449
449
|
interface ColorPickerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "value">, VariantProps<typeof colorPickerVariants> {
|
|
@@ -495,7 +495,8 @@ interface SimpleColorPickerProps {
|
|
|
495
495
|
onChange?: (color: string) => void;
|
|
496
496
|
colors?: string[];
|
|
497
497
|
className?: string;
|
|
498
|
-
|
|
498
|
+
/** #319: kanonik skala; `default` `md`nin deprecated alias'ıdır. */
|
|
499
|
+
size?: "sm" | "md" | "lg" | "default";
|
|
499
500
|
}
|
|
500
501
|
declare function SimpleColorPicker({ value, onChange, colors, className, size, }: SimpleColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
501
502
|
/**
|
|
@@ -534,7 +535,7 @@ declare const overlayVariants: (props?: {
|
|
|
534
535
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
535
536
|
declare const dialogContentVariants: (props?: {
|
|
536
537
|
variant?: "default" | "primary" | "ghost" | "secondary" | "destructive";
|
|
537
|
-
size?: "default" | "sm" | "
|
|
538
|
+
size?: "default" | "sm" | "md" | "lg" | "full" | "xs" | "xl" | "2xl";
|
|
538
539
|
radius?: "none" | "default" | "sm" | "lg" | "full" | "xl";
|
|
539
540
|
animation?: "none" | "default" | "zoom" | "slide" | "fade";
|
|
540
541
|
position?: "default" | "bottom" | "top";
|
|
@@ -584,7 +585,7 @@ declare const DialogForm: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
584
585
|
*/
|
|
585
586
|
declare const commandVariants: (props?: {
|
|
586
587
|
variant?: "default" | "glass" | "bordered";
|
|
587
|
-
size?: "default" | "sm" | "lg";
|
|
588
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
588
589
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
589
590
|
interface CommandProps extends React.ComponentProps<typeof Command$1>, VariantProps<typeof commandVariants> {
|
|
590
591
|
}
|
|
@@ -674,7 +675,7 @@ declare function createSortableHeader(label: string): ({ column }: any) => react
|
|
|
674
675
|
*/
|
|
675
676
|
declare const datePickerVariants: (props?: {
|
|
676
677
|
variant?: "default" | "ghost" | "outline";
|
|
677
|
-
size?: "default" | "sm" | "lg" | "icon";
|
|
678
|
+
size?: "default" | "sm" | "md" | "lg" | "icon";
|
|
678
679
|
state?: "default" | "success" | "warning" | "error";
|
|
679
680
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
680
681
|
interface DatePickerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "value">, VariantProps<typeof datePickerVariants> {
|
|
@@ -902,7 +903,7 @@ declare function GitHubStarButton({ className, size, repoUrl }: {
|
|
|
902
903
|
|
|
903
904
|
declare const inputVariants: (props?: {
|
|
904
905
|
variant?: "ghost" | "underline" | "filled" | "standard";
|
|
905
|
-
size?: "sm" | "
|
|
906
|
+
size?: "sm" | "md" | "lg";
|
|
906
907
|
hasLeftIcon?: boolean;
|
|
907
908
|
hasRightIcon?: boolean;
|
|
908
909
|
hasRightButton?: boolean;
|
|
@@ -1037,11 +1038,11 @@ declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & Reac
|
|
|
1037
1038
|
*/
|
|
1038
1039
|
declare const popoverContentVariants: (props?: {
|
|
1039
1040
|
variant?: "default" | "outline" | "destructive" | "subtle";
|
|
1040
|
-
size?: "default" | "sm" | "lg";
|
|
1041
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
1041
1042
|
side?: "left" | "right" | "bottom" | "top";
|
|
1042
1043
|
position?: "default" | "pointerEventsNone";
|
|
1043
1044
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
1044
|
-
shadow?: "none" | "default" | "sm" | "
|
|
1045
|
+
shadow?: "none" | "default" | "sm" | "md" | "lg" | "xl";
|
|
1045
1046
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1046
1047
|
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
1047
1048
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1095,7 +1096,7 @@ declare const PopoverFooter: {
|
|
|
1095
1096
|
*/
|
|
1096
1097
|
declare const progressVariants: (props?: {
|
|
1097
1098
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "secondary";
|
|
1098
|
-
size?: "default" | "sm" | "
|
|
1099
|
+
size?: "default" | "sm" | "md" | "lg" | "xs" | "xl" | "2xl";
|
|
1099
1100
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
1100
1101
|
animation?: "none" | "default" | "smooth" | "fast";
|
|
1101
1102
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -1143,7 +1144,7 @@ declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.Re
|
|
|
1143
1144
|
*/
|
|
1144
1145
|
declare const radioGroupItemVariants: (props?: {
|
|
1145
1146
|
variant?: "default" | "outline" | "filled";
|
|
1146
|
-
size?: "default" | "sm" | "lg" | "
|
|
1147
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
1147
1148
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1148
1149
|
interface RadioGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue"> {
|
|
1149
1150
|
/**
|
|
@@ -1413,7 +1414,7 @@ declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimit
|
|
|
1413
1414
|
declare const separatorVariants: (props?: {
|
|
1414
1415
|
orientation?: "horizontal" | "vertical";
|
|
1415
1416
|
variant?: "default" | "dashed" | "dotted" | "gradient";
|
|
1416
|
-
size?: "sm" | "
|
|
1417
|
+
size?: "sm" | "md" | "lg";
|
|
1417
1418
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1418
1419
|
interface SeparatorProps extends Omit<React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, keyof VariantProps<typeof separatorVariants>>, VariantProps<typeof separatorVariants> {
|
|
1419
1420
|
}
|
|
@@ -1440,7 +1441,7 @@ declare const SimpleEditor: React__default.ForwardRefExoticComponent<SimpleEdito
|
|
|
1440
1441
|
*/
|
|
1441
1442
|
declare const skeletonVariants: (props?: {
|
|
1442
1443
|
variant?: "default" | "primary" | "secondary" | "accent";
|
|
1443
|
-
size?: "default" | "sm" | "lg";
|
|
1444
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
1444
1445
|
shape?: "circle" | "rect" | "pill";
|
|
1445
1446
|
animation?: "none" | "pulse" | "wave";
|
|
1446
1447
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -1535,7 +1536,7 @@ declare const SkeletonCard: React.ForwardRefExoticComponent<SkeletonCardProps &
|
|
|
1535
1536
|
* Used for value ranges like volume, brightness, price ranges.
|
|
1536
1537
|
*/
|
|
1537
1538
|
declare const sliderVariants: (props?: {
|
|
1538
|
-
size?: "default" | "sm" | "lg" | "
|
|
1539
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
1539
1540
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1540
1541
|
declare const sliderTrackVariants: (props?: {
|
|
1541
1542
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "secondary" | "accent";
|
|
@@ -1545,7 +1546,7 @@ declare const sliderRangeVariants: (props?: {
|
|
|
1545
1546
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1546
1547
|
declare const sliderThumbVariants: (props?: {
|
|
1547
1548
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "secondary" | "accent";
|
|
1548
|
-
size?: "default" | "sm" | "lg" | "
|
|
1549
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
1549
1550
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1550
1551
|
type SliderBaseProps = {
|
|
1551
1552
|
/**
|
|
@@ -1629,7 +1630,7 @@ type SwitchVariant = "primary" | "success" | "warning" | "destructive" | "second
|
|
|
1629
1630
|
* `defaultVariants` yoktu ve varsayılanlar destructuring'de gizliydi.
|
|
1630
1631
|
*/
|
|
1631
1632
|
declare const switchVariants: (props?: {
|
|
1632
|
-
size?: "sm" | "
|
|
1633
|
+
size?: "sm" | "md" | "lg";
|
|
1633
1634
|
variant?: "primary" | "success" | "warning" | "secondary" | "destructive";
|
|
1634
1635
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1635
1636
|
interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
|
|
@@ -1651,7 +1652,7 @@ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAtt
|
|
|
1651
1652
|
type SortDirection = "asc" | "desc" | null;
|
|
1652
1653
|
declare const tableVariants: (props?: {
|
|
1653
1654
|
variant?: "default" | "card" | "minimal" | "bordered" | "striped";
|
|
1654
|
-
size?: "default" | "sm" | "lg";
|
|
1655
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
1655
1656
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1656
1657
|
interface ColumnDefinition<T> {
|
|
1657
1658
|
id: string;
|
|
@@ -1744,7 +1745,7 @@ interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimit
|
|
|
1744
1745
|
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
1745
1746
|
declare const tabsTriggerVariants: (props?: {
|
|
1746
1747
|
variant?: "default" | "underline" | "pills" | "cards" | "minimal";
|
|
1747
|
-
size?: "sm" | "
|
|
1748
|
+
size?: "sm" | "md" | "lg";
|
|
1748
1749
|
orientation?: "horizontal" | "vertical";
|
|
1749
1750
|
fullWidth?: boolean;
|
|
1750
1751
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -1779,7 +1780,7 @@ declare const TagsInput: React.ForwardRefExoticComponent<TagsInputProps & React.
|
|
|
1779
1780
|
|
|
1780
1781
|
declare const toggleVariants: (props?: {
|
|
1781
1782
|
variant?: "default" | "outline";
|
|
1782
|
-
size?: "default" | "sm" | "lg";
|
|
1783
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
1783
1784
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1784
1785
|
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
1785
1786
|
}
|
|
@@ -1790,7 +1791,7 @@ declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAtt
|
|
|
1790
1791
|
*/
|
|
1791
1792
|
declare const textareaVariants: (props?: {
|
|
1792
1793
|
variant?: "default" | "ghost" | "outline" | "underline";
|
|
1793
|
-
size?: "sm" | "
|
|
1794
|
+
size?: "sm" | "md" | "lg";
|
|
1794
1795
|
isError?: boolean;
|
|
1795
1796
|
isSuccess?: boolean;
|
|
1796
1797
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -1865,7 +1866,7 @@ declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
|
1865
1866
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1866
1867
|
declare const tooltipVariants: (props?: {
|
|
1867
1868
|
variant?: "default" | "success" | "warning" | "info" | "secondary" | "destructive";
|
|
1868
|
-
size?: "sm" | "
|
|
1869
|
+
size?: "sm" | "md" | "lg";
|
|
1869
1870
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1870
1871
|
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
1871
1872
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1922,7 +1923,7 @@ declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttribute
|
|
|
1922
1923
|
* ve tam klavye erişilebilirliği (radiogroup) sunar. Dark/light modda uyumludur.
|
|
1923
1924
|
*/
|
|
1924
1925
|
declare const ratingVariants: (props?: {
|
|
1925
|
-
size?: "sm" | "
|
|
1926
|
+
size?: "sm" | "md" | "lg";
|
|
1926
1927
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1927
1928
|
interface RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof ratingVariants> {
|
|
1928
1929
|
/** Kontrollü değer (0..max) */
|
|
@@ -1970,7 +1971,7 @@ declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAtt
|
|
|
1970
1971
|
* gibi metin renk yardımcılarıyla renklendirilir (hardcoded renk yoktur).
|
|
1971
1972
|
*/
|
|
1972
1973
|
declare const spinnerVariants: (props?: {
|
|
1973
|
-
size?: "sm" | "
|
|
1974
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
1974
1975
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1975
1976
|
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
1976
1977
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPr
|
|
|
44
44
|
*/
|
|
45
45
|
declare const alertVariants: (props?: {
|
|
46
46
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "info";
|
|
47
|
-
size?: "default" | "sm" | "lg";
|
|
47
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
48
48
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
49
49
|
withClose?: boolean;
|
|
50
50
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -69,7 +69,7 @@ declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttrib
|
|
|
69
69
|
*/
|
|
70
70
|
declare const aspectRatioVariants: (props?: {
|
|
71
71
|
variant?: "default" | "ghost" | "outline" | "card";
|
|
72
|
-
radius?: "none" | "sm" | "
|
|
72
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
73
73
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
74
74
|
interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof aspectRatioVariants> {
|
|
75
75
|
/**
|
|
@@ -81,7 +81,7 @@ interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement>, Variant
|
|
|
81
81
|
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
82
82
|
|
|
83
83
|
declare const avatarVariants: (props?: {
|
|
84
|
-
size?: "default" | "sm" | "
|
|
84
|
+
size?: "default" | "sm" | "md" | "lg" | "xs" | "xl" | "2xl";
|
|
85
85
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
86
86
|
variant?: "default" | "border" | "ring" | "ringOffset";
|
|
87
87
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -108,7 +108,7 @@ declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & Re
|
|
|
108
108
|
*/
|
|
109
109
|
declare const badgeVariants: (props?: {
|
|
110
110
|
variant?: "primary" | "success" | "warning" | "ghost" | "outline" | "secondary" | "destructive" | "pro" | "admin";
|
|
111
|
-
size?: "sm" | "
|
|
111
|
+
size?: "sm" | "md" | "lg";
|
|
112
112
|
radius?: "none" | "default" | "sm" | "lg";
|
|
113
113
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
114
114
|
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof badgeVariants>, 'variant'> {
|
|
@@ -147,7 +147,7 @@ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttri
|
|
|
147
147
|
|
|
148
148
|
declare const breadcrumbVariants: (props?: {
|
|
149
149
|
variant?: "default" | "ghost" | "muted";
|
|
150
|
-
size?: "default" | "sm" | "lg";
|
|
150
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
151
151
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
152
152
|
interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof breadcrumbVariants> {
|
|
153
153
|
/**
|
|
@@ -203,7 +203,7 @@ declare const BreadcrumbPage: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
203
203
|
*/
|
|
204
204
|
declare const buttonVariants: (props?: {
|
|
205
205
|
variant?: "link" | "primary" | "success" | "ghost" | "outline" | "secondary" | "destructive" | "gradient" | "glow" | "soft" | "glass" | "neon";
|
|
206
|
-
size?: "sm" | "
|
|
206
|
+
size?: "sm" | "md" | "lg" | "icon" | "xs" | "xl" | "icon-sm" | "icon-lg";
|
|
207
207
|
rounded?: "none" | "default" | "sm" | "lg" | "full";
|
|
208
208
|
fullWidth?: boolean;
|
|
209
209
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -230,7 +230,7 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
|
|
|
230
230
|
|
|
231
231
|
declare const cardVariants: (props?: {
|
|
232
232
|
variant?: "default" | "outline" | "filled" | "gradient" | "glass" | "elevated";
|
|
233
|
-
size?: "default" | "sm" | "lg" | "xl";
|
|
233
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
234
234
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
235
235
|
interactive?: boolean;
|
|
236
236
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -350,8 +350,8 @@ declare const CarouselNext: React.ForwardRefExoticComponent<Omit<ButtonProps & R
|
|
|
350
350
|
*/
|
|
351
351
|
declare const checkboxVariants: (props?: {
|
|
352
352
|
variant?: "default" | "ghost" | "outline" | "muted";
|
|
353
|
-
size?: "default" | "sm" | "lg" | "
|
|
354
|
-
radius?: "none" | "default" | "sm" | "
|
|
353
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
354
|
+
radius?: "none" | "default" | "sm" | "md" | "full";
|
|
355
355
|
animation?: "none" | "default" | "subtle" | "bounce";
|
|
356
356
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
357
357
|
interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkboxVariants> {
|
|
@@ -424,14 +424,14 @@ declare const CheckboxWithLabel: React.ForwardRefExoticComponent<CheckboxWithLab
|
|
|
424
424
|
declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
|
|
425
425
|
declare const collapsibleTriggerVariants: (props?: {
|
|
426
426
|
variant?: "default" | "ghost" | "outline";
|
|
427
|
-
size?: "default" | "sm" | "lg" | "
|
|
427
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
428
428
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
429
429
|
interface CollapsibleTriggerProps extends React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Trigger>, VariantProps<typeof collapsibleTriggerVariants> {
|
|
430
430
|
}
|
|
431
431
|
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
432
432
|
declare const collapsibleContentVariants: (props?: {
|
|
433
433
|
variant?: "default" | "ghost" | "outline";
|
|
434
|
-
size?: "default" | "sm" | "lg" | "
|
|
434
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
435
435
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
436
436
|
interface CollapsibleContentProps extends React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Content>, VariantProps<typeof collapsibleContentVariants> {
|
|
437
437
|
}
|
|
@@ -443,7 +443,7 @@ declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsibleCon
|
|
|
443
443
|
* A comprehensive color picker with multiple input methods
|
|
444
444
|
*/
|
|
445
445
|
declare const colorPickerVariants: (props?: {
|
|
446
|
-
size?: "default" | "sm" | "lg" | "xl";
|
|
446
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
447
447
|
shape?: "circle" | "square" | "rounded";
|
|
448
448
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
449
449
|
interface ColorPickerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "value">, VariantProps<typeof colorPickerVariants> {
|
|
@@ -495,7 +495,8 @@ interface SimpleColorPickerProps {
|
|
|
495
495
|
onChange?: (color: string) => void;
|
|
496
496
|
colors?: string[];
|
|
497
497
|
className?: string;
|
|
498
|
-
|
|
498
|
+
/** #319: kanonik skala; `default` `md`nin deprecated alias'ıdır. */
|
|
499
|
+
size?: "sm" | "md" | "lg" | "default";
|
|
499
500
|
}
|
|
500
501
|
declare function SimpleColorPicker({ value, onChange, colors, className, size, }: SimpleColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
501
502
|
/**
|
|
@@ -534,7 +535,7 @@ declare const overlayVariants: (props?: {
|
|
|
534
535
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
535
536
|
declare const dialogContentVariants: (props?: {
|
|
536
537
|
variant?: "default" | "primary" | "ghost" | "secondary" | "destructive";
|
|
537
|
-
size?: "default" | "sm" | "
|
|
538
|
+
size?: "default" | "sm" | "md" | "lg" | "full" | "xs" | "xl" | "2xl";
|
|
538
539
|
radius?: "none" | "default" | "sm" | "lg" | "full" | "xl";
|
|
539
540
|
animation?: "none" | "default" | "zoom" | "slide" | "fade";
|
|
540
541
|
position?: "default" | "bottom" | "top";
|
|
@@ -584,7 +585,7 @@ declare const DialogForm: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
584
585
|
*/
|
|
585
586
|
declare const commandVariants: (props?: {
|
|
586
587
|
variant?: "default" | "glass" | "bordered";
|
|
587
|
-
size?: "default" | "sm" | "lg";
|
|
588
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
588
589
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
589
590
|
interface CommandProps extends React.ComponentProps<typeof Command$1>, VariantProps<typeof commandVariants> {
|
|
590
591
|
}
|
|
@@ -674,7 +675,7 @@ declare function createSortableHeader(label: string): ({ column }: any) => react
|
|
|
674
675
|
*/
|
|
675
676
|
declare const datePickerVariants: (props?: {
|
|
676
677
|
variant?: "default" | "ghost" | "outline";
|
|
677
|
-
size?: "default" | "sm" | "lg" | "icon";
|
|
678
|
+
size?: "default" | "sm" | "md" | "lg" | "icon";
|
|
678
679
|
state?: "default" | "success" | "warning" | "error";
|
|
679
680
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
680
681
|
interface DatePickerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "value">, VariantProps<typeof datePickerVariants> {
|
|
@@ -902,7 +903,7 @@ declare function GitHubStarButton({ className, size, repoUrl }: {
|
|
|
902
903
|
|
|
903
904
|
declare const inputVariants: (props?: {
|
|
904
905
|
variant?: "ghost" | "underline" | "filled" | "standard";
|
|
905
|
-
size?: "sm" | "
|
|
906
|
+
size?: "sm" | "md" | "lg";
|
|
906
907
|
hasLeftIcon?: boolean;
|
|
907
908
|
hasRightIcon?: boolean;
|
|
908
909
|
hasRightButton?: boolean;
|
|
@@ -1037,11 +1038,11 @@ declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & Reac
|
|
|
1037
1038
|
*/
|
|
1038
1039
|
declare const popoverContentVariants: (props?: {
|
|
1039
1040
|
variant?: "default" | "outline" | "destructive" | "subtle";
|
|
1040
|
-
size?: "default" | "sm" | "lg";
|
|
1041
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
1041
1042
|
side?: "left" | "right" | "bottom" | "top";
|
|
1042
1043
|
position?: "default" | "pointerEventsNone";
|
|
1043
1044
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
1044
|
-
shadow?: "none" | "default" | "sm" | "
|
|
1045
|
+
shadow?: "none" | "default" | "sm" | "md" | "lg" | "xl";
|
|
1045
1046
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1046
1047
|
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
1047
1048
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1095,7 +1096,7 @@ declare const PopoverFooter: {
|
|
|
1095
1096
|
*/
|
|
1096
1097
|
declare const progressVariants: (props?: {
|
|
1097
1098
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "secondary";
|
|
1098
|
-
size?: "default" | "sm" | "
|
|
1099
|
+
size?: "default" | "sm" | "md" | "lg" | "xs" | "xl" | "2xl";
|
|
1099
1100
|
radius?: "none" | "default" | "sm" | "lg" | "full";
|
|
1100
1101
|
animation?: "none" | "default" | "smooth" | "fast";
|
|
1101
1102
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -1143,7 +1144,7 @@ declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.Re
|
|
|
1143
1144
|
*/
|
|
1144
1145
|
declare const radioGroupItemVariants: (props?: {
|
|
1145
1146
|
variant?: "default" | "outline" | "filled";
|
|
1146
|
-
size?: "default" | "sm" | "lg" | "
|
|
1147
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
1147
1148
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1148
1149
|
interface RadioGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue"> {
|
|
1149
1150
|
/**
|
|
@@ -1413,7 +1414,7 @@ declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimit
|
|
|
1413
1414
|
declare const separatorVariants: (props?: {
|
|
1414
1415
|
orientation?: "horizontal" | "vertical";
|
|
1415
1416
|
variant?: "default" | "dashed" | "dotted" | "gradient";
|
|
1416
|
-
size?: "sm" | "
|
|
1417
|
+
size?: "sm" | "md" | "lg";
|
|
1417
1418
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1418
1419
|
interface SeparatorProps extends Omit<React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, keyof VariantProps<typeof separatorVariants>>, VariantProps<typeof separatorVariants> {
|
|
1419
1420
|
}
|
|
@@ -1440,7 +1441,7 @@ declare const SimpleEditor: React__default.ForwardRefExoticComponent<SimpleEdito
|
|
|
1440
1441
|
*/
|
|
1441
1442
|
declare const skeletonVariants: (props?: {
|
|
1442
1443
|
variant?: "default" | "primary" | "secondary" | "accent";
|
|
1443
|
-
size?: "default" | "sm" | "lg";
|
|
1444
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
1444
1445
|
shape?: "circle" | "rect" | "pill";
|
|
1445
1446
|
animation?: "none" | "pulse" | "wave";
|
|
1446
1447
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -1535,7 +1536,7 @@ declare const SkeletonCard: React.ForwardRefExoticComponent<SkeletonCardProps &
|
|
|
1535
1536
|
* Used for value ranges like volume, brightness, price ranges.
|
|
1536
1537
|
*/
|
|
1537
1538
|
declare const sliderVariants: (props?: {
|
|
1538
|
-
size?: "default" | "sm" | "lg" | "
|
|
1539
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
1539
1540
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1540
1541
|
declare const sliderTrackVariants: (props?: {
|
|
1541
1542
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "secondary" | "accent";
|
|
@@ -1545,7 +1546,7 @@ declare const sliderRangeVariants: (props?: {
|
|
|
1545
1546
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1546
1547
|
declare const sliderThumbVariants: (props?: {
|
|
1547
1548
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "secondary" | "accent";
|
|
1548
|
-
size?: "default" | "sm" | "lg" | "
|
|
1549
|
+
size?: "default" | "sm" | "md" | "lg" | "xl";
|
|
1549
1550
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1550
1551
|
type SliderBaseProps = {
|
|
1551
1552
|
/**
|
|
@@ -1629,7 +1630,7 @@ type SwitchVariant = "primary" | "success" | "warning" | "destructive" | "second
|
|
|
1629
1630
|
* `defaultVariants` yoktu ve varsayılanlar destructuring'de gizliydi.
|
|
1630
1631
|
*/
|
|
1631
1632
|
declare const switchVariants: (props?: {
|
|
1632
|
-
size?: "sm" | "
|
|
1633
|
+
size?: "sm" | "md" | "lg";
|
|
1633
1634
|
variant?: "primary" | "success" | "warning" | "secondary" | "destructive";
|
|
1634
1635
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1635
1636
|
interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
|
|
@@ -1651,7 +1652,7 @@ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAtt
|
|
|
1651
1652
|
type SortDirection = "asc" | "desc" | null;
|
|
1652
1653
|
declare const tableVariants: (props?: {
|
|
1653
1654
|
variant?: "default" | "card" | "minimal" | "bordered" | "striped";
|
|
1654
|
-
size?: "default" | "sm" | "lg";
|
|
1655
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
1655
1656
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1656
1657
|
interface ColumnDefinition<T> {
|
|
1657
1658
|
id: string;
|
|
@@ -1744,7 +1745,7 @@ interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimit
|
|
|
1744
1745
|
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
1745
1746
|
declare const tabsTriggerVariants: (props?: {
|
|
1746
1747
|
variant?: "default" | "underline" | "pills" | "cards" | "minimal";
|
|
1747
|
-
size?: "sm" | "
|
|
1748
|
+
size?: "sm" | "md" | "lg";
|
|
1748
1749
|
orientation?: "horizontal" | "vertical";
|
|
1749
1750
|
fullWidth?: boolean;
|
|
1750
1751
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -1779,7 +1780,7 @@ declare const TagsInput: React.ForwardRefExoticComponent<TagsInputProps & React.
|
|
|
1779
1780
|
|
|
1780
1781
|
declare const toggleVariants: (props?: {
|
|
1781
1782
|
variant?: "default" | "outline";
|
|
1782
|
-
size?: "default" | "sm" | "lg";
|
|
1783
|
+
size?: "default" | "sm" | "md" | "lg";
|
|
1783
1784
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1784
1785
|
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
1785
1786
|
}
|
|
@@ -1790,7 +1791,7 @@ declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAtt
|
|
|
1790
1791
|
*/
|
|
1791
1792
|
declare const textareaVariants: (props?: {
|
|
1792
1793
|
variant?: "default" | "ghost" | "outline" | "underline";
|
|
1793
|
-
size?: "sm" | "
|
|
1794
|
+
size?: "sm" | "md" | "lg";
|
|
1794
1795
|
isError?: boolean;
|
|
1795
1796
|
isSuccess?: boolean;
|
|
1796
1797
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
@@ -1865,7 +1866,7 @@ declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
|
1865
1866
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1866
1867
|
declare const tooltipVariants: (props?: {
|
|
1867
1868
|
variant?: "default" | "success" | "warning" | "info" | "secondary" | "destructive";
|
|
1868
|
-
size?: "sm" | "
|
|
1869
|
+
size?: "sm" | "md" | "lg";
|
|
1869
1870
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1870
1871
|
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
1871
1872
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1922,7 +1923,7 @@ declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttribute
|
|
|
1922
1923
|
* ve tam klavye erişilebilirliği (radiogroup) sunar. Dark/light modda uyumludur.
|
|
1923
1924
|
*/
|
|
1924
1925
|
declare const ratingVariants: (props?: {
|
|
1925
|
-
size?: "sm" | "
|
|
1926
|
+
size?: "sm" | "md" | "lg";
|
|
1926
1927
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1927
1928
|
interface RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof ratingVariants> {
|
|
1928
1929
|
/** Kontrollü değer (0..max) */
|
|
@@ -1970,7 +1971,7 @@ declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAtt
|
|
|
1970
1971
|
* gibi metin renk yardımcılarıyla renklendirilir (hardcoded renk yoktur).
|
|
1971
1972
|
*/
|
|
1972
1973
|
declare const spinnerVariants: (props?: {
|
|
1973
|
-
size?: "sm" | "
|
|
1974
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
1974
1975
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1975
1976
|
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
1976
1977
|
/**
|