@worldresources/wri-design-systems 2.132.0 → 2.133.1
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.cjs.js +183 -194
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +181 -192
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -588,6 +588,7 @@ type NavbarNavigationItemsProps = {
|
|
|
588
588
|
type NavbarProps = {
|
|
589
589
|
logo?: React.ReactNode;
|
|
590
590
|
linkRouter: any;
|
|
591
|
+
pathname: string;
|
|
591
592
|
navigationSection?: NavbarNavigationItemsProps[];
|
|
592
593
|
utilitySection?: React.ReactNode[];
|
|
593
594
|
actionsSection?: {
|
|
@@ -599,7 +600,7 @@ type NavbarProps = {
|
|
|
599
600
|
onNavbarHeightChange?: (height: number) => void;
|
|
600
601
|
};
|
|
601
602
|
|
|
602
|
-
declare const Navbar: ({ logo, linkRouter, navigationSection, utilitySection, actionsSection, maxWidth, fixed, onNavbarHeightChange, }: NavbarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
603
|
+
declare const Navbar: ({ logo, linkRouter, pathname, navigationSection, utilitySection, actionsSection, maxWidth, fixed, onNavbarHeightChange, }: NavbarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
603
604
|
|
|
604
605
|
type NavigationRailTabProps = Omit<Tabs.TriggerProps, 'asChild'> & {
|
|
605
606
|
label: string;
|