@moontra/moonui-pro 2.27.5 → 2.27.7
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.ts +11 -11
- package/dist/index.global.js +63 -63
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +729 -486
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -633,7 +633,7 @@ declare const dialogContentVariants: (props?: ({
|
|
|
633
633
|
animation?: "default" | "spring" | "fade" | "bounce" | "none" | "rotate" | "flip" | "zoom" | "slide" | "slideUp" | "slideLeft" | "slideRight" | "rotateScale" | "elastic" | "swirl" | null | undefined;
|
|
634
634
|
position?: "default" | "center" | "bottom" | "top" | null | undefined;
|
|
635
635
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
636
|
-
interface MoonUIDialogContentProProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,
|
|
636
|
+
interface MoonUIDialogContentProProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, "title">, VariantProps<typeof dialogContentVariants> {
|
|
637
637
|
/** X butonunu gizle */
|
|
638
638
|
hideCloseButton?: boolean;
|
|
639
639
|
/** Overlay varyantı */
|
|
@@ -661,7 +661,7 @@ interface MoonUIDialogContentProProps extends Omit<React$1.ComponentPropsWithout
|
|
|
661
661
|
/** Stack edilmiş dialog desteği için z-index */
|
|
662
662
|
stackLevel?: number;
|
|
663
663
|
/** Confirmation dialog türü */
|
|
664
|
-
confirmationType?:
|
|
664
|
+
confirmationType?: "info" | "warning" | "error" | "success";
|
|
665
665
|
/** Form validation desteği için */
|
|
666
666
|
hasFormValidation?: boolean;
|
|
667
667
|
/** Responsive breakpoint davranışı */
|
|
@@ -3338,7 +3338,7 @@ interface NavbarItem {
|
|
|
3338
3338
|
href?: string;
|
|
3339
3339
|
icon?: React__default.ReactNode;
|
|
3340
3340
|
badge?: string | number;
|
|
3341
|
-
badgeVariant?:
|
|
3341
|
+
badgeVariant?: "primary" | "secondary" | "destructive" | "outline";
|
|
3342
3342
|
disabled?: boolean;
|
|
3343
3343
|
items?: NavbarItem[];
|
|
3344
3344
|
action?: () => void;
|
|
@@ -3369,8 +3369,8 @@ interface NavbarConfig {
|
|
|
3369
3369
|
onCommandAIClose?: () => void;
|
|
3370
3370
|
onCommandAISelect?: (item: NavbarItem) => void;
|
|
3371
3371
|
showThemeToggle?: boolean;
|
|
3372
|
-
theme?:
|
|
3373
|
-
onThemeChange?: (theme:
|
|
3372
|
+
theme?: "light" | "dark" | "system";
|
|
3373
|
+
onThemeChange?: (theme: "light" | "dark" | "system") => void;
|
|
3374
3374
|
userMenu?: {
|
|
3375
3375
|
user?: {
|
|
3376
3376
|
name?: string;
|
|
@@ -3394,7 +3394,7 @@ interface NavbarConfig {
|
|
|
3394
3394
|
text: string;
|
|
3395
3395
|
href?: string;
|
|
3396
3396
|
action?: () => void;
|
|
3397
|
-
variant?:
|
|
3397
|
+
variant?: "primary" | "secondary" | "outline" | "ghost";
|
|
3398
3398
|
};
|
|
3399
3399
|
sticky?: boolean;
|
|
3400
3400
|
glassmorphism?: boolean;
|
|
@@ -3408,16 +3408,16 @@ interface NavbarConfig {
|
|
|
3408
3408
|
text?: string;
|
|
3409
3409
|
hover?: string;
|
|
3410
3410
|
};
|
|
3411
|
-
variant?:
|
|
3412
|
-
size?:
|
|
3411
|
+
variant?: "default" | "floating" | "minimal" | "transparent";
|
|
3412
|
+
size?: "sm" | "md" | "lg";
|
|
3413
3413
|
blur?: boolean;
|
|
3414
3414
|
shadow?: boolean;
|
|
3415
3415
|
rounded?: boolean;
|
|
3416
|
-
logoPosition?:
|
|
3417
|
-
mobileMenuPosition?:
|
|
3416
|
+
logoPosition?: "left" | "center";
|
|
3417
|
+
mobileMenuPosition?: "left" | "right";
|
|
3418
3418
|
hideOnScroll?: boolean;
|
|
3419
3419
|
showScrollProgress?: boolean;
|
|
3420
|
-
maxWidth?:
|
|
3420
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
3421
3421
|
enableNProgress?: boolean;
|
|
3422
3422
|
}
|
|
3423
3423
|
interface NavbarProps extends NavbarConfig {
|