@ugurdemirel/landcraft 0.1.2 → 0.1.3

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 CHANGED
@@ -383,7 +383,7 @@ export declare interface LogoItem {
383
383
  export declare const Mail: (props: IconProps) => JSX_2.Element;
384
384
 
385
385
  export declare const MegaMenu: {
386
- ({ className, variant, brand, logo, logoSrc, logoAlt, logoClassName, brandHref, items, actions, cta, sticky, LinkComponent, onKeyDown, ...props }: MegaMenuProps): JSX_2.Element;
386
+ ({ className, variant, brand, logo, logoSrc, logoAlt, logoClassName, brandHref, items, actions, cta, languageSwitcher, sticky, LinkComponent, onKeyDown, ...props }: MegaMenuProps): JSX_2.Element;
387
387
  displayName: string;
388
388
  };
389
389
 
@@ -433,6 +433,8 @@ export declare interface MegaMenuProps extends Omit<HTMLAttributes<HTMLElement>,
433
433
  /** Rendered at the right side of the bar (desktop) and inside the mobile panel. */
434
434
  actions?: ReactNode;
435
435
  cta?: ReactNode;
436
+ /** Optional language switcher rendered on the right (desktop) and beside the menu button (mobile). */
437
+ languageSwitcher?: ReactNode;
436
438
  sticky?: boolean;
437
439
  /** Component used to render brand, trigger and panel links. Defaults to `<a>`. Pass your router's `<Link>` (Next.js, Remix, React Router…) for framework-aware navigation. */
438
440
  LinkComponent?: ElementType;