optimized-react-component-library-xyz123 1.1.9 → 1.1.10

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.mts CHANGED
@@ -789,8 +789,16 @@ interface NavigationHeaderProps {
789
789
  useSearch: boolean;
790
790
  useBreadCrumbs: boolean;
791
791
  showNavigationCloseButton?: boolean;
792
- menuLinks: [];
792
+ menuLinks: NavigationItem[];
793
793
  }
794
+ type NavigationItem = {
795
+ label: {
796
+ sv: string;
797
+ en: string;
798
+ };
799
+ href: string;
800
+ children?: NavigationItem[];
801
+ };
794
802
 
795
803
  declare const NavigationHeader: FC<NavigationHeaderProps>;
796
804
 
package/dist/index.d.ts CHANGED
@@ -789,8 +789,16 @@ interface NavigationHeaderProps {
789
789
  useSearch: boolean;
790
790
  useBreadCrumbs: boolean;
791
791
  showNavigationCloseButton?: boolean;
792
- menuLinks: [];
792
+ menuLinks: NavigationItem[];
793
793
  }
794
+ type NavigationItem = {
795
+ label: {
796
+ sv: string;
797
+ en: string;
798
+ };
799
+ href: string;
800
+ children?: NavigationItem[];
801
+ };
794
802
 
795
803
  declare const NavigationHeader: FC<NavigationHeaderProps>;
796
804
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",