@worldresources/wri-design-systems 2.177.0 → 2.178.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.
package/dist/index.d.ts CHANGED
@@ -97,6 +97,7 @@ type MenuItemProps = {
97
97
  link?: string;
98
98
  };
99
99
  type MenuProps = {
100
+ theme?: 'light' | 'dark';
100
101
  label: string;
101
102
  items?: MenuItemProps[];
102
103
  groups?: {
@@ -107,7 +108,7 @@ type MenuProps = {
107
108
  customTrigger?: React.ReactNode;
108
109
  };
109
110
 
110
- declare const Menu: ({ label, items, groups, onSelect, customTrigger }: MenuProps) => _emotion_react_jsx_runtime.JSX.Element;
111
+ declare const Menu: ({ theme, label, items, groups, onSelect, customTrigger, }: MenuProps) => _emotion_react_jsx_runtime.JSX.Element;
111
112
 
112
113
  type MultiActionButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children'> & {
113
114
  variant?: 'primary' | 'secondary';
@@ -759,6 +760,8 @@ type NavbarNavigationItemsProps = {
759
760
  items?: MenuItemProps[];
760
761
  };
761
762
  type NavbarProps = {
763
+ variant?: 'default' | 'condensed';
764
+ theme?: 'light' | 'dark';
762
765
  logo?: React.ReactNode;
763
766
  linkRouter: any;
764
767
  pathname: string;
@@ -777,7 +780,7 @@ type NavbarProps = {
777
780
  backgroundColor?: string;
778
781
  };
779
782
 
780
- declare const Navbar: ({ logo, linkRouter, pathname, navigationSection, utilitySection, actionsSection, maxWidth, fixed, onNavbarHeightChange, backgroundColor, }: NavbarProps) => _emotion_react_jsx_runtime.JSX.Element;
783
+ declare const Navbar: ({ variant, theme, logo, linkRouter, pathname, navigationSection, utilitySection, actionsSection, maxWidth, fixed, onNavbarHeightChange, backgroundColor, }: NavbarProps) => _emotion_react_jsx_runtime.JSX.Element;
781
784
 
782
785
  type NavigationRailTabProps = Omit<Tabs.TriggerProps, 'asChild'> & {
783
786
  label: string;