@nulogy/components 14.7.1 → 14.8.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.
Files changed (80) hide show
  1. package/dist/main.js +2732 -350
  2. package/dist/main.module.js +2731 -353
  3. package/dist/src/Alert/Alert.d.ts +1 -5
  4. package/dist/src/AppTag/AppTag.d.ts +2 -2
  5. package/dist/src/AppTag/constants.d.ts +0 -3
  6. package/dist/src/AppTag/index.d.ts +0 -1
  7. package/dist/src/BrandedNavBar/BrandLogoContainer.d.ts +2 -0
  8. package/dist/src/BrandedNavBar/DesktopMenu.d.ts +2 -0
  9. package/dist/src/BrandedNavBar/EnvironmentBanner.d.ts +2 -0
  10. package/dist/src/BrandedNavBar/MenuTrigger.d.ts +3 -0
  11. package/dist/src/BrandedNavBar/MenuTriggerButton.d.ts +1 -0
  12. package/dist/src/BrandedNavBar/MobileMenu.d.ts +1 -0
  13. package/dist/src/BrandedNavBar/NavBar.d.ts +2 -0
  14. package/dist/src/BrandedNavBar/NavBarBackground.d.ts +3 -5
  15. package/dist/src/BrandedNavBar/NavBarDropdownMenu.d.ts +1 -0
  16. package/dist/src/BrandedNavBar/NulogyLogoContainer.d.ts +1 -0
  17. package/dist/src/BrandedNavBar/SmallNavBar.d.ts +3 -0
  18. package/dist/src/BrandedNavBar/SubMenuTrigger.d.ts +1 -0
  19. package/dist/src/BrandedNavBar/SubMenuTriggerButton.d.ts +1 -0
  20. package/dist/src/BrandedNavBar/TriggerFunctionProps.d.ts +1 -0
  21. package/dist/src/BrandedNavBar/isValidMenuItem.d.ts +1 -0
  22. package/dist/src/BrandedNavBar/renderSubMenuItems.d.ts +1 -0
  23. package/dist/src/ButtonGroup/ButtonGroup.d.ts +1 -5
  24. package/dist/src/Card/CardSet.d.ts +1 -5
  25. package/dist/src/Decorations/index.d.ts +3 -0
  26. package/dist/src/DropdownMenu/DropdownMenu.d.ts +10 -5
  27. package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +6 -0
  28. package/dist/src/Flex/Flex.d.ts +4 -6
  29. package/dist/src/Layout/Header.d.ts +1 -1
  30. package/dist/src/Link/Link.d.ts +2 -2
  31. package/dist/src/Navigation/Navigation.d.ts +16 -0
  32. package/dist/src/Navigation/components/AppSwitcher/NulogyAppSwitcher.d.ts +14 -0
  33. package/dist/src/Navigation/components/AppSwitcher/parts/Item.d.ts +4 -0
  34. package/dist/src/Navigation/components/AppSwitcher/parts/Link.d.ts +8 -0
  35. package/dist/src/Navigation/components/AppSwitcher/parts/index.d.ts +56 -0
  36. package/dist/src/Navigation/components/DesktopNav/DesktopNav.d.ts +5 -0
  37. package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.d.ts +8 -0
  38. package/dist/src/Navigation/components/MenuSubItem/MenuSubItem.d.ts +8 -0
  39. package/dist/src/Navigation/components/MenuSubItem/parts/styled.d.ts +8 -0
  40. package/dist/src/Navigation/components/MobileNav/MobileNav.d.ts +5 -0
  41. package/dist/src/Navigation/components/MobileNav/parts/MobileMenuItem.d.ts +9 -0
  42. package/dist/src/Navigation/components/MobileNav/parts/styled.d.ts +18 -0
  43. package/dist/src/Navigation/components/NulogyLogo/NulogyLogo.d.ts +6 -0
  44. package/dist/src/Navigation/components/NulogyLogo/SvgNulogyLogo.d.ts +2 -0
  45. package/dist/src/Navigation/components/UserMenu/UserMenu.d.ts +14 -0
  46. package/dist/src/Navigation/components/UserMenu/parts/Header.d.ts +7 -0
  47. package/dist/src/Navigation/components/UserMenu/parts/Item.d.ts +10 -0
  48. package/dist/src/Navigation/components/UserMenu/parts/MobileItem.d.ts +6 -0
  49. package/dist/src/Navigation/components/UserMenu/parts/styled.d.ts +10 -0
  50. package/dist/src/Navigation/components/shared/NavigationLogo.d.ts +8 -0
  51. package/dist/src/Navigation/components/shared/NavigationLogoLink.d.ts +7 -0
  52. package/dist/src/Navigation/components/shared/NavigationMenuContent.d.ts +7 -0
  53. package/dist/src/Navigation/components/shared/NavigationMenuItem.d.ts +12 -0
  54. package/dist/src/Navigation/components/shared/components.d.ts +17 -0
  55. package/dist/src/Navigation/components/shared/constants.d.ts +6 -0
  56. package/dist/src/Navigation/components/shared/disableHoverEvents.d.ts +6 -0
  57. package/dist/src/Navigation/components/utils/getNavigationBarItems.d.ts +2 -0
  58. package/dist/src/Navigation/hooks/useResponsiveMenu.d.ts +12 -0
  59. package/dist/src/Navigation/index.d.ts +7 -0
  60. package/dist/src/Navigation/stories/Navigation.appSwitcher.story.d.ts +12 -0
  61. package/dist/src/Navigation/stories/Navigation.logos.story.d.ts +22 -0
  62. package/dist/src/Navigation/stories/Navigation.mobileVisibility.story.d.ts +13 -0
  63. package/dist/src/Navigation/stories/Navigation.navigationMenus.story.d.ts +13 -0
  64. package/dist/src/Navigation/stories/Navigation.navigationMenus.subMenus.story.d.ts +11 -0
  65. package/dist/src/Navigation/stories/Navigation.story.d.ts +10 -0
  66. package/dist/src/Navigation/stories/Navigation.userMenu.story.d.ts +13 -0
  67. package/dist/src/Navigation/stories/fixtures/logos/CustomLogo2.d.ts +2 -0
  68. package/dist/src/Navigation/stories/fixtures/logos/CustomLogo3.d.ts +2 -0
  69. package/dist/src/Navigation/stories/fixtures/logos/Customlogo1.d.ts +2 -0
  70. package/dist/src/Navigation/types.d.ts +87 -0
  71. package/dist/src/Overlay/Overlay.d.ts +1 -5
  72. package/dist/src/Primitives/index.d.ts +5 -0
  73. package/dist/src/StyledProps/index.d.ts +7 -1
  74. package/dist/src/Tooltip2/index.d.ts +10 -0
  75. package/dist/src/index.d.ts +4 -1
  76. package/dist/src/types/NulogyApp.d.ts +3 -0
  77. package/dist/src/utils/story/resizable.d.ts +4 -4
  78. package/dist/src/utils/testing/useConditionalAutoClick.d.ts +60 -0
  79. package/package.json +3 -1
  80. package/dist/src/AppTag/components/Tooltip.d.ts +0 -8
@@ -15,11 +15,7 @@ export type AlertProps = FlexProps & {
15
15
  onClose?: any;
16
16
  controlled?: boolean;
17
17
  };
18
- declare const _default: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../Box").BoxProps & {
19
- gap?: import("csstype").Property.Gap<string | number>;
20
- rowGap?: import("csstype").Property.RowGap<string | number>;
21
- columnGap?: import("csstype").Property.ColumnGap<string | number>;
22
- } & {
18
+ declare const _default: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<FlexProps & {
23
19
  isCloseable?: boolean;
24
20
  closeAriaLabel?: string;
25
21
  title?: string;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- import type { AppName } from "./constants";
2
+ import { NulogyAppName } from "../types/NulogyApp";
3
3
  import { AppTagType } from "./types";
4
4
  export type AppTagProps = {
5
- app: AppName;
5
+ app: NulogyAppName;
6
6
  type?: AppTagType;
7
7
  hideTooltip?: boolean;
8
8
  };
@@ -1,7 +1,4 @@
1
1
  import { AppTagType, ColorName } from "./types";
2
- export type AppName = "production-scheduling" | "supplier-collaboration" | "digital-quality-inspection" | "shop-floor" | "smart-factory";
3
- export declare const APP_ABBREVIATIONS: Record<AppName, string>;
4
- export declare const APP_DISPLAY_NAMES: Record<AppName, string>;
5
2
  export declare const appTagColors: Record<AppTagType, {
6
3
  primary: ColorName;
7
4
  secondary: ColorName;
@@ -1,3 +1,2 @@
1
1
  export { default as AppTag } from "./AppTag";
2
2
  export type { AppTagProps } from "./AppTag";
3
- export type { AppName } from "./constants";
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
2
3
  export type BrandLogoContainerProps = {
3
4
  logoSrc?: string;
4
5
  brandingLinkHref?: string;
@@ -7,4 +8,5 @@ export type BrandLogoContainerProps = {
7
8
  subtext?: string;
8
9
  };
9
10
  declare const BrandLogoContainer: ({ logoSrc, brandingLinkHref, brandingLinkTo, brandingLinkComponent, subtext, }: BrandLogoContainerProps) => React.JSX.Element;
11
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
10
12
  export default BrandLogoContainer;
@@ -1,9 +1,11 @@
1
1
  import React from "react";
2
2
  import type { MenuType } from "./MenuTrigger";
3
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
3
4
  export type DesktopMenuProps = {
4
5
  menuData: any[];
5
6
  menuType: MenuType;
6
7
  themeColorObject: any;
7
8
  };
9
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
8
10
  declare const DesktopMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<DesktopMenuProps & React.RefAttributes<HTMLElement>, never>> & string & Omit<React.ForwardRefExoticComponent<DesktopMenuProps & React.RefAttributes<HTMLElement>>, keyof React.Component<any, {}, any>>;
9
11
  export default DesktopMenu;
@@ -1,6 +1,8 @@
1
1
  import React from "react";
2
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
2
3
  export type EnvironmentBannerProps = {
3
4
  children?: React.ReactNode;
4
5
  };
5
6
  declare const EnvironmentBanner: ({ children }: EnvironmentBannerProps) => React.JSX.Element;
7
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
6
8
  export default EnvironmentBanner;
@@ -1,6 +1,8 @@
1
1
  import React from "react";
2
2
  import { TriggerFunctionProps } from "./TriggerFunctionProps";
3
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
3
4
  export type MenuType = "primary" | "secondary";
5
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
4
6
  export type MenuTriggerProps = {
5
7
  name?: string;
6
8
  "aria-label"?: string;
@@ -13,4 +15,5 @@ export type MenuTriggerProps = {
13
15
  menuType: MenuType;
14
16
  };
15
17
  declare const MenuTrigger: ({ menuData, name, color, hoverColor, hoverBackground, "aria-label": ariaLabel, trigger, layer, menuType, ...props }: MenuTriggerProps) => React.JSX.Element;
18
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
16
19
  export default MenuTrigger;
@@ -6,4 +6,5 @@ type MenuTriggerButtonProps = React.ComponentPropsWithRef<"button"> & {
6
6
  hoverBackground?: string;
7
7
  };
8
8
  declare const MenuTriggerButton: React.ForwardRefExoticComponent<Omit<MenuTriggerButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
9
10
  export default MenuTriggerButton;
@@ -15,5 +15,6 @@ type BaseMobileMenuProps = {
15
15
  themeColorObject?: ThemeColorObject;
16
16
  showNulogyLogo?: boolean;
17
17
  };
18
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
18
19
  declare const MobileMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<BaseMobileMenuProps, never>> & string & Omit<({ menuData, closeMenu, subtext, themeColorObject, showNulogyLogo, ...props }: BaseMobileMenuProps) => React.JSX.Element, keyof React.Component<any, {}, any>>;
19
20
  export default MobileMenu;
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
2
3
  export declare const NAVBAR_HEIGHT = "56px";
3
4
  type BaseNavBarProps = {
4
5
  menuData?: any;
@@ -9,5 +10,6 @@ type BaseNavBarProps = {
9
10
  brandingLinkHref?: string;
10
11
  logoSrc?: string;
11
12
  };
13
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
12
14
  declare const NavBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<BaseNavBarProps, never>> & string & Omit<({ environment, breakpointUpper, ...props }: BaseNavBarProps) => React.JSX.Element, keyof React.Component<any, {}, any>>;
13
15
  export default NavBar;
@@ -1,12 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { DefaultNDSThemeType } from "../theme";
3
3
  import { StyledProps } from "../StyledProps";
4
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
4
5
  export type NavBarBackgroundProps = {
5
6
  theme?: DefaultNDSThemeType;
6
7
  } & StyledProps;
7
- declare const NavBarBackground: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../Box").BoxProps> & import("../Box").BoxProps, keyof import("../Box").BoxProps | "gap" | "rowGap" | "columnGap"> & import("../Box").BoxProps & {
8
- gap?: import("csstype").Property.Gap<string | number>;
9
- rowGap?: import("csstype").Property.RowGap<string | number>;
10
- columnGap?: import("csstype").Property.ColumnGap<string | number>;
11
- }, never>> & string;
8
+ declare const NavBarBackground: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../Box").BoxProps> & import("../Box").BoxProps, keyof import("../Flex/Flex").FlexProps> & import("../Flex/Flex").FlexProps, never>> & string;
9
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
12
10
  export default NavBarBackground;
@@ -1,3 +1,4 @@
1
1
  import React from "react";
2
2
  declare const NavBarDropdownMenu: React.JSXElementConstructor<any>;
3
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
3
4
  export default NavBarDropdownMenu;
@@ -3,5 +3,6 @@ type NulogyLogoContainerProps = {
3
3
  subText?: string;
4
4
  height?: string;
5
5
  };
6
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
6
7
  export declare const NulogyLogoContainer: ({ subText, height }: NulogyLogoContainerProps) => React.JSX.Element;
7
8
  export {};
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { WithMenuStateProps, AcceptsMenuStateProps } from "../utils";
3
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
3
4
  export type RenderMenuButtonProps = {
4
5
  themeColorObject: any;
5
6
  onClick: () => void;
@@ -32,5 +33,7 @@ declare const SmallNavBar: React.JSXElementConstructor<{
32
33
  showNulogyLogo?: boolean;
33
34
  renderMenuButton?: (props: RenderMenuButtonProps) => React.ReactElement;
34
35
  } & AcceptsMenuStateProps & WithMenuStateProps>;
36
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
35
37
  export type SmallNavBarProps = SmallNavBarNoStateProps & WithMenuStateProps;
38
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
36
39
  export default SmallNavBar;
@@ -11,4 +11,5 @@ type SubMenuTriggerProps = React.ComponentPropsWithRef<"button"> & {
11
11
  menuType: MenuType;
12
12
  };
13
13
  declare const SubMenuTrigger: ({ menuData, name, onItemClick, trigger, layer, menuType, ...props }: SubMenuTriggerProps) => React.JSX.Element;
14
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
14
15
  export default SubMenuTrigger;
@@ -4,4 +4,5 @@ type SubMenuTriggerButtonProps = React.ComponentPropsWithRef<"button"> & {
4
4
  isOpen: boolean;
5
5
  };
6
6
  declare const SubMenuTriggerButton: React.ForwardRefExoticComponent<Omit<SubMenuTriggerButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
7
8
  export default SubMenuTriggerButton;
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
2
3
  export type TriggerFunctionProps = {
3
4
  size: "small" | "medium";
4
5
  isOpen?: boolean;
@@ -1 +1,2 @@
1
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
1
2
  export default function isValidMenuItem(arr: any, idx: any, componentName: any, location: any, propFullName: any): Error;
@@ -1,2 +1,3 @@
1
1
  declare const renderSubMenuItems: (subMenuItems: any, onItemClick: any, SubMenuTrigger: any, layer: any, menuType: any) => any;
2
+ /** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
2
3
  export default renderSubMenuItems;
@@ -5,9 +5,5 @@ type ButtonGroupProps = FlexProps & {
5
5
  alignment?: "left" | "spaced" | "right";
6
6
  className?: string;
7
7
  };
8
- declare const ButtonGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../Box").BoxProps> & import("../Box").BoxProps, keyof import("../Box").BoxProps | "gap" | "rowGap" | "columnGap"> & import("../Box").BoxProps & {
9
- gap?: import("csstype").Property.Gap<string | number>;
10
- rowGap?: import("csstype").Property.RowGap<string | number>;
11
- columnGap?: import("csstype").Property.ColumnGap<string | number>;
12
- }, ButtonGroupProps>> & string;
8
+ declare const ButtonGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../Box").BoxProps> & import("../Box").BoxProps, keyof FlexProps> & FlexProps, ButtonGroupProps>> & string;
13
9
  export default ButtonGroup;
@@ -1,7 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const CardSet: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../Box").BoxProps> & import("../Box").BoxProps, keyof import("../Box").BoxProps | "gap" | "rowGap" | "columnGap"> & import("../Box").BoxProps & {
3
- gap?: import("csstype").Property.Gap<string | number>;
4
- rowGap?: import("csstype").Property.RowGap<string | number>;
5
- columnGap?: import("csstype").Property.ColumnGap<string | number>;
6
- }, never>> & string;
2
+ declare const CardSet: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../Box").BoxProps> & import("../Box").BoxProps, keyof import("../Flex/Flex").FlexProps> & import("../Flex/Flex").FlexProps, never>> & string;
7
3
  export default CardSet;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { BoxProps } from "../Box";
3
+ export default function BackgroundTriangles(props: BoxProps): React.JSX.Element;
@@ -1,13 +1,16 @@
1
1
  import React from "react";
2
2
  import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
3
3
  import { StyledProps } from "../StyledProps";
4
- declare const DropdownMenu: React.ForwardRefExoticComponent<{
5
- children?: React.ReactNode;
6
- className?: string;
4
+ type DropdownMenuRenderProps = {
5
+ closeMenu: (e: React.MouseEvent) => void;
6
+ openMenu: (e: React.MouseEvent) => void;
7
+ };
8
+ interface DropdownMenuProps extends StyledProps {
9
+ children?: React.ReactNode | ((props: DropdownMenuRenderProps) => React.ReactElement);
7
10
  variant?: ComponentVariant;
8
11
  id?: string;
9
12
  disabled?: boolean;
10
- trigger?: () => React.FunctionComponentElement<unknown>;
13
+ trigger?: () => React.ReactElement;
11
14
  backgroundColor?: string;
12
15
  showArrow?: boolean;
13
16
  placement?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
@@ -18,5 +21,7 @@ declare const DropdownMenu: React.ForwardRefExoticComponent<{
18
21
  openAriaLabel?: string;
19
22
  closeAriaLabel?: string;
20
23
  openOnHover?: boolean;
21
- } & StyledProps & React.RefAttributes<React.Ref<unknown>>>;
24
+ className?: string;
25
+ }
26
+ declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<React.Ref<unknown>>>;
22
27
  export default DropdownMenu;
@@ -52,3 +52,9 @@ export declare const SetToDisabled: {
52
52
  };
53
53
  };
54
54
  export declare const WithConditionallyRenderedMenuItems: () => React.JSX.Element;
55
+ export declare const WithRenderProps: {
56
+ (): React.JSX.Element;
57
+ story: {
58
+ name: string;
59
+ };
60
+ };
@@ -1,10 +1,8 @@
1
- import { CSSProperties } from "react";
1
+ /// <reference types="react" />
2
2
  import { BoxProps } from "../Box/Box";
3
- export type FlexProps = BoxProps & {
4
- gap?: CSSProperties["gap"];
5
- rowGap?: CSSProperties["rowGap"];
6
- columnGap?: CSSProperties["columnGap"];
7
- };
3
+ import type { GapProps } from "../StyledProps";
4
+ export interface FlexProps extends BoxProps, GapProps {
5
+ }
8
6
  declare const Flex: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof BoxProps> & BoxProps, FlexProps>> & string;
9
7
  declare const InlineFlex: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof BoxProps> & BoxProps, FlexProps>> & string;
10
8
  export default Flex;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { BoxProps } from "../Box/Box";
2
+ import { BoxProps } from "../Box";
3
3
  type Breakpoint = string | number;
4
4
  type HeaderProps = BoxProps & {
5
5
  renderBreadcrumbs?: () => React.ReactNode;
@@ -1,14 +1,14 @@
1
1
  import React from "react";
2
2
  import { StyledProps } from "../StyledProps";
3
3
  import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
4
- import { AppName } from "../AppTag/constants";
4
+ import { NulogyAppName } from "../types/NulogyApp";
5
5
  export interface LinkProps extends React.ComponentPropsWithRef<"a">, Partial<StyledProps> {
6
6
  underline?: boolean;
7
7
  hover?: string;
8
8
  variant?: ComponentVariant;
9
9
  to?: string;
10
10
  as?: React.ElementType | string;
11
- forApp?: AppName;
11
+ forApp?: NulogyAppName;
12
12
  openInNewTab?: boolean;
13
13
  }
14
14
  export default function Link({ children, forApp, openInNewTab, ...props }: LinkProps): React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import type { MenuItems, UserMenu } from "./types";
3
+ import { AppSwitcherConfig } from "./components/AppSwitcher/NulogyAppSwitcher";
4
+ export interface BaseNavigationProps {
5
+ appSwitcher?: AppSwitcherConfig;
6
+ primaryLogo?: React.ReactNode;
7
+ secondaryLogo?: React.ReactNode;
8
+ primaryNavigation?: MenuItems;
9
+ secondaryNavigation?: MenuItems;
10
+ userMenu?: UserMenu;
11
+ }
12
+ export interface NavigationProps extends BaseNavigationProps {
13
+ breakpoint?: string;
14
+ }
15
+ declare const Navigation: ({ breakpoint, ...props }: NavigationProps) => React.JSX.Element;
16
+ export default Navigation;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { NulogyAppName } from "../../../types/NulogyApp";
3
+ export type AppSwitcherConfig = false | {
4
+ apps: Partial<Record<NulogyAppName, {
5
+ url: string;
6
+ indicator?: React.ReactNode;
7
+ visible?: boolean;
8
+ }>>;
9
+ };
10
+ type AppSwitcherProps = {
11
+ config: AppSwitcherConfig;
12
+ };
13
+ export declare function NulogyAppSwitcher({ config }: AppSwitcherProps): React.JSX.Element;
14
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
3
+ declare const Item: React.ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<RadixNavigationMenu.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>, never>, "ref"> & React.RefAttributes<HTMLLIElement>>;
4
+ export default Item;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ declare const Link: React.ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
3
+ ref?: React.Ref<HTMLAnchorElement>;
4
+ }, never>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
5
+ export default Link;
6
+ export declare const A: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
7
+ ref?: React.Ref<HTMLAnchorElement>;
8
+ }, never>> & string;
@@ -0,0 +1,56 @@
1
+ /// <reference types="react" />
2
+ import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
3
+ declare const AppSwitcher: {
4
+ Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>, RadixNavigationMenu.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>>, never>, import("../../shared/NavigationMenuContent").NavigationMenuContentProps>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
5
+ List: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<RadixNavigationMenu.NavigationMenuListProps & import("react").RefAttributes<HTMLUListElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuListProps & import("react").RefAttributes<HTMLUListElement>>, keyof import("react").Component<any, {}, any>>;
6
+ Item: import("react").ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<RadixNavigationMenu.NavigationMenuItemProps & import("react").RefAttributes<HTMLLIElement>, never>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
7
+ Link: import("react").ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
8
+ ref?: import("react").Ref<HTMLAnchorElement>;
9
+ }, never>, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
10
+ Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: import("react").Ref<HTMLDivElement>;
12
+ }, never>> & string;
13
+ Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "inline" | "compact" | "disabled" | keyof import("react").HTMLAttributes<HTMLParagraphElement> | "textTransform" | keyof import("../../../..").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
14
+ variant?: import("../../../../NDSProvider/ComponentVariantContext").ComponentVariant;
15
+ inline?: boolean;
16
+ compact?: boolean;
17
+ disabled?: boolean;
18
+ textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
19
+ fontSize?: string;
20
+ } & import("../../../..").StyledProps, "ref"> & {
21
+ ref?: import("react").Ref<HTMLParagraphElement>;
22
+ }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
23
+ ref?: import("react").Ref<HTMLHeadingElement>;
24
+ }>, never>, never>, import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "inline" | "compact" | "disabled" | keyof import("react").HTMLAttributes<HTMLParagraphElement> | "textTransform" | keyof import("../../../..").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
25
+ variant?: import("../../../../NDSProvider/ComponentVariantContext").ComponentVariant;
26
+ inline?: boolean;
27
+ compact?: boolean;
28
+ disabled?: boolean;
29
+ textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
30
+ fontSize?: string;
31
+ } & import("../../../..").StyledProps, "ref"> & {
32
+ ref?: import("react").Ref<HTMLParagraphElement>;
33
+ }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
34
+ ref?: import("react").Ref<HTMLHeadingElement>;
35
+ }>, never>, never>>, never>, never>> & string;
36
+ Description: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "inline" | "compact" | "disabled" | keyof import("react").HTMLAttributes<HTMLParagraphElement> | "textTransform" | keyof import("../../../..").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
37
+ variant?: import("../../../../NDSProvider/ComponentVariantContext").ComponentVariant;
38
+ inline?: boolean;
39
+ compact?: boolean;
40
+ disabled?: boolean;
41
+ textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
42
+ fontSize?: string;
43
+ } & import("../../../..").StyledProps, "ref"> & {
44
+ ref?: import("react").Ref<HTMLParagraphElement>;
45
+ }, Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "inline" | "compact" | "disabled" | keyof import("react").HTMLAttributes<HTMLParagraphElement> | "textTransform" | keyof import("../../../..").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
46
+ variant?: import("../../../../NDSProvider/ComponentVariantContext").ComponentVariant;
47
+ inline?: boolean;
48
+ compact?: boolean;
49
+ disabled?: boolean;
50
+ textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
51
+ fontSize?: string;
52
+ } & import("../../../..").StyledProps, "ref"> & {
53
+ ref?: import("react").Ref<HTMLParagraphElement>;
54
+ }>, never>, never>> & string;
55
+ };
56
+ export default AppSwitcher;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { BaseNavigationProps } from "../../Navigation";
3
+ type DesktopNavProps = BaseNavigationProps;
4
+ export default function DesktopNav({ primaryNavigation, secondaryNavigation, appSwitcher, secondaryLogo, primaryLogo, userMenu, }: DesktopNavProps): React.JSX.Element;
5
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { MenuItem, MenuItems } from "../../../types";
3
+ export default function MoreMenuItem({ moreMenu }: {
4
+ moreMenu: MenuItems;
5
+ }): React.JSX.Element;
6
+ export declare const HiddenNavigationMenuItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("../../shared/NavigationMenuItem").NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>, import("../../shared/NavigationMenuItem").NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>, never>, {
7
+ item: MenuItem;
8
+ }>> & string & Omit<React.ForwardRefExoticComponent<import("../../shared/NavigationMenuItem").NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>, keyof React.Component<any, {}, any>>;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { MenuItem } from "../../types";
3
+ type Props = {
4
+ item: MenuItem;
5
+ level: number;
6
+ };
7
+ export declare function MenuSubItem({ item, level }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
3
+ import { StyledProps } from "../../../../StyledProps";
4
+ export declare const SubMenuItemLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>, StyledProps>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
5
+ export declare const SubMenuItemButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, StyledProps>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
6
+ export declare const SubMenuContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>, RadixNavigationMenu.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>>, never>, StyledProps>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
7
+ export declare const SubMenuItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuItemProps & import("react").RefAttributes<HTMLLIElement>, StyledProps>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuItemProps & import("react").RefAttributes<HTMLLIElement>>, keyof import("react").Component<any, {}, any>>;
8
+ export declare const SubMenuList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuListProps & import("react").RefAttributes<HTMLUListElement>, StyledProps>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuListProps & import("react").RefAttributes<HTMLUListElement>>, keyof import("react").Component<any, {}, any>>;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { BaseNavigationProps } from "../../Navigation";
3
+ type MobileNavProps = BaseNavigationProps;
4
+ export default function MobileNav({ primaryNavigation, secondaryNavigation, appSwitcher, primaryLogo, secondaryLogo, userMenu, }: MobileNavProps): React.JSX.Element;
5
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { MenuItem } from "../../../types";
3
+ interface MobileMenuItemProps {
4
+ menuItem: MenuItem;
5
+ /** Depth (root = 0). */
6
+ level?: number;
7
+ }
8
+ export declare const MobileMenuItem: React.ForwardRefExoticComponent<MobileMenuItemProps & React.RefAttributes<HTMLLIElement>>;
9
+ export {};
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
3
+ export declare const IndentedContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../../../../Box").BoxProps> & import("../../../../Box").BoxProps, {
4
+ level: number;
5
+ }>> & string;
6
+ export declare const MenuItemGroupLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "disabled" | "inline" | "compact" | "textTransform" | keyof import("../../../..").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
7
+ variant?: import("../../../../NDSProvider/ComponentVariantContext").ComponentVariant;
8
+ inline?: boolean;
9
+ compact?: boolean;
10
+ disabled?: boolean;
11
+ textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
12
+ fontSize?: string;
13
+ } & import("../../../..").StyledProps, "ref"> & {
14
+ ref?: import("react").Ref<HTMLParagraphElement>;
15
+ }, never>> & string;
16
+ export declare const MobileNavigationButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<RadixNavigationMenu.NavigationMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
17
+ export declare const MobileNavigationLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<RadixNavigationMenu.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
18
+ export declare const MobileSecondaryLogoContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<RadixNavigationMenu.NavigationMenuSubProps & import("react").RefAttributes<HTMLDivElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuSubProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import type { NulogyAppName } from "../../../types/NulogyApp";
3
+ export interface NulogyLogoProps {
4
+ app?: NulogyAppName;
5
+ }
6
+ export declare function NulogyLogo({ app }: NulogyLogoProps): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React, { SVGProps } from "react";
2
+ export declare function SvgNulogyLogo(props: SVGProps<SVGSVGElement>): React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
3
+ import { StyledProps } from "../../../StyledProps";
4
+ declare const UserMenu: {
5
+ Header: ({ title, subtitle1, subtitle2, containerProps }: import("./parts/Header").HeaderProps) => import("react").JSX.Element;
6
+ Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuSubProps & import("react").RefAttributes<HTMLDivElement>, RadixNavigationMenu.NavigationMenuSubProps & import("react").RefAttributes<HTMLDivElement>>, never>, StyledProps>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuSubProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
7
+ Item: import("react").ForwardRefExoticComponent<import("./parts/Item").UserMenuItemProps & {
8
+ level?: number;
9
+ } & import("react").RefAttributes<HTMLLIElement>>;
10
+ MobileItem: import("react").ForwardRefExoticComponent<import("./parts/Item").UserMenuItemProps & {
11
+ level?: number;
12
+ } & import("react").RefAttributes<HTMLLIElement>>;
13
+ };
14
+ export default UserMenu;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { UserMenuInfo } from "../../../types";
3
+ import { FlexProps } from "../../../../Flex/Flex";
4
+ export interface HeaderProps extends UserMenuInfo {
5
+ containerProps?: FlexProps;
6
+ }
7
+ export declare const Header: ({ title, subtitle1, subtitle2, containerProps }: HeaderProps) => React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
3
+ import type { UserMenuItem as UserMenuItemType } from "../../../types";
4
+ export interface UserMenuItemProps extends RadixNavigationMenu.NavigationMenuItemProps {
5
+ item: UserMenuItemType;
6
+ }
7
+ declare const Item: React.ForwardRefExoticComponent<UserMenuItemProps & {
8
+ level?: number;
9
+ } & React.RefAttributes<HTMLLIElement>>;
10
+ export default Item;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { UserMenuItemProps } from "./Item";
3
+ declare const MobileItem: React.ForwardRefExoticComponent<UserMenuItemProps & {
4
+ level?: number;
5
+ } & React.RefAttributes<HTMLLIElement>>;
6
+ export default MobileItem;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import * as RadixNavigationMenu from "@radix-ui/react-navigation-menu";
3
+ export declare const UserMenuLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>, {
4
+ $isMobile?: boolean;
5
+ }>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
6
+ export declare const UserMenuTrigger: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<RadixNavigationMenu.NavigationMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, {
7
+ $isMobile?: boolean;
8
+ }>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
9
+ export declare const SubMenuContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<RadixNavigationMenu.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
10
+ export declare const SubMenuList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<RadixNavigationMenu.NavigationMenuListProps & import("react").RefAttributes<HTMLUListElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<RadixNavigationMenu.NavigationMenuListProps & import("react").RefAttributes<HTMLUListElement>>, keyof import("react").Component<any, {}, any>>;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface NavigationLogoProps {
3
+ maxWidth?: string;
4
+ maxHeight?: string;
5
+ children: React.ReactNode;
6
+ }
7
+ export declare const NavigationLogo: ({ children, maxWidth, maxHeight, ...props }: NavigationLogoProps) => React.JSX.Element;
8
+ export {};