@momo-webplatform/mobase 0.2.30 → 0.2.32

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.
@@ -466,8 +466,9 @@ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitiv
466
466
  declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
467
467
  declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
468
468
 
469
+ type AlignDropdown = "left" | "right" | "center";
469
470
  declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
470
- alignDropdown?: "center" | "left" | "right" | undefined;
471
+ alignDropdown?: AlignDropdown | undefined;
471
472
  } & React$1.RefAttributes<HTMLElement>>;
472
473
  declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
473
474
  declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
@@ -529,9 +530,17 @@ interface HeaderNavigationProps {
529
530
  * Has Download App
530
531
  */
531
532
  hasDownloadApp?: Boolean;
533
+ /**
534
+ * Has sticky Navigation Header, default is true
535
+ */
536
+ isSticky?: Boolean;
537
+ /**
538
+ * Align dropdown menu position
539
+ */
540
+ alignDropdown?: "left" | "right" | "center";
532
541
  }
533
542
  declare const HeaderNavigation: {
534
- ({ className, dataMenu, serviceInfo, hasDownloadApp, navigationRight }: HeaderNavigationProps): react_jsx_runtime.JSX.Element;
543
+ ({ className, dataMenu, serviceInfo, hasDownloadApp, navigationRight, isSticky, alignDropdown }: HeaderNavigationProps): react_jsx_runtime.JSX.Element;
535
544
  displayName: string;
536
545
  };
537
546
 
@@ -466,8 +466,9 @@ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitiv
466
466
  declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
467
467
  declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
468
468
 
469
+ type AlignDropdown = "left" | "right" | "center";
469
470
  declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
470
- alignDropdown?: "center" | "left" | "right" | undefined;
471
+ alignDropdown?: AlignDropdown | undefined;
471
472
  } & React$1.RefAttributes<HTMLElement>>;
472
473
  declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
473
474
  declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
@@ -529,9 +530,17 @@ interface HeaderNavigationProps {
529
530
  * Has Download App
530
531
  */
531
532
  hasDownloadApp?: Boolean;
533
+ /**
534
+ * Has sticky Navigation Header, default is true
535
+ */
536
+ isSticky?: Boolean;
537
+ /**
538
+ * Align dropdown menu position
539
+ */
540
+ alignDropdown?: "left" | "right" | "center";
532
541
  }
533
542
  declare const HeaderNavigation: {
534
- ({ className, dataMenu, serviceInfo, hasDownloadApp, navigationRight }: HeaderNavigationProps): react_jsx_runtime.JSX.Element;
543
+ ({ className, dataMenu, serviceInfo, hasDownloadApp, navigationRight, isSticky, alignDropdown }: HeaderNavigationProps): react_jsx_runtime.JSX.Element;
535
544
  displayName: string;
536
545
  };
537
546