@moontra/moonui-pro 2.27.4 → 2.27.6
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 +18 -18
- package/dist/index.global.js +123 -527
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +2164 -8715
- package/package.json +3 -2
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ışı */
|
|
@@ -1409,17 +1409,17 @@ declare const MoonUITooltipContentPro: React$1.ForwardRefExoticComponent<MoonUIT
|
|
|
1409
1409
|
|
|
1410
1410
|
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
1411
1411
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1412
|
-
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<
|
|
1412
|
+
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1413
1413
|
|
|
1414
|
-
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<
|
|
1415
|
-
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<
|
|
1414
|
+
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
1415
|
+
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1416
1416
|
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
1417
1417
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string;
|
|
1418
|
-
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<
|
|
1419
|
-
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<
|
|
1418
|
+
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1419
|
+
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1420
1420
|
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1421
|
-
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<
|
|
1422
|
-
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<
|
|
1421
|
+
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1422
|
+
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1423
1423
|
|
|
1424
1424
|
declare const gestureDrawerVariants: (props?: ({
|
|
1425
1425
|
position?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
@@ -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 {
|