@mycause/ui 0.0.2-cf96d552 → 0.0.3-c2b0afe2

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/.DS_Store ADDED
Binary file
@@ -7,6 +7,7 @@ export interface CampaignOfMonthProps {
7
7
  rised?: number;
8
8
  donation?: number;
9
9
  goal?: number;
10
+ btnText?: string;
10
11
  }
11
- declare const CampaignOfMonth: ({ className, title, description, imageUrl, rised, donation, goal, }: CampaignOfMonthProps) => JSX.Element;
12
+ declare const CampaignOfMonth: ({ className, title, description, imageUrl, rised, donation, goal, btnText, }: CampaignOfMonthProps) => JSX.Element;
12
13
  export default CampaignOfMonth;
@@ -3,7 +3,7 @@ import CenterDecorator from "../../utils/center-decorator";
3
3
  declare const _default: {
4
4
  title: string;
5
5
  decorators: (typeof CenterDecorator)[];
6
- component: ({ className, title, description, imageUrl, rised, donation, goal, }: import("./campaign-of-month").CampaignOfMonthProps) => JSX.Element;
6
+ component: ({ className, title, description, imageUrl, rised, donation, goal, btnText, }: import("./campaign-of-month").CampaignOfMonthProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const campaignofmonth: {
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { HybridNavigationLink } from "./nav-list";
3
+ export declare type NavigationExpandedCharityProps = {
4
+ links?: Array<HybridNavigationLink>;
5
+ children?: React.ReactNode;
6
+ banner?: React.ReactNode;
7
+ onRequestClose: () => void;
8
+ className?: string;
9
+ action: HybridNavigationLink | null;
10
+ actionRaised?: HybridNavigationLink | null;
11
+ };
12
+ declare function NavigationExpandedCharity({ children, onRequestClose, className, banner, action, actionRaised, }: NavigationExpandedCharityProps): JSX.Element;
13
+ export default NavigationExpandedCharity;
@@ -6,6 +6,9 @@ export declare type NavigationExpandedProps = {
6
6
  banner?: React.ReactNode;
7
7
  onRequestClose: () => void;
8
8
  className?: string;
9
+ action: HybridNavigationLink | null;
10
+ actionRaised?: HybridNavigationLink | null;
11
+ isSubMenu?: boolean;
9
12
  };
10
- declare function NavigationExpanded({ links, children, onRequestClose, className, banner, }: NavigationExpandedProps): JSX.Element;
13
+ declare function NavigationExpanded({ links, children, onRequestClose, className, banner, action, actionRaised, isSubMenu, }: NavigationExpandedProps): JSX.Element;
11
14
  export default NavigationExpanded;
@@ -2,6 +2,7 @@ import React from "react";
2
2
  export declare type HrefNavigationLink = {
3
3
  href: string;
4
4
  label: React.ReactNode;
5
+ subLabel: string;
5
6
  analyticsId?: string;
6
7
  icon?: string;
7
8
  };
@@ -9,6 +10,7 @@ export declare type ClickNavigationLink = {
9
10
  onClick?: () => void;
10
11
  id: string;
11
12
  label: React.ReactNode;
13
+ subLabel: string;
12
14
  more?: boolean;
13
15
  analyticsId?: string;
14
16
  icon?: string;
@@ -8,5 +8,5 @@ export declare type NavigationMenuProps = {
8
8
  actionRaised?: HybridNavigationLink | null;
9
9
  active: string | null;
10
10
  };
11
- export declare function NavigationMenu({ links, sublinks, action, actionRaised, active, onClickItem, }: NavigationMenuProps): JSX.Element;
11
+ export declare function NavigationMenu({ links, sublinks, active, onClickItem, }: NavigationMenuProps): JSX.Element;
12
12
  export default NavigationMenu;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { TabBarProps } from "./tab-bar";
3
+ import { TabProps } from "./tab";
4
+ interface TabOptions extends Omit<TabProps, "children" | "label"> {
5
+ key: string;
6
+ label: React.ReactNode;
7
+ }
8
+ interface TabsProps extends Omit<TabBarProps, "activeIndex" | "handleActiveIndexUpdate" | "children"> {
9
+ tabs: Array<TabOptions & {
10
+ hidden?: boolean;
11
+ }>;
12
+ active?: string | null;
13
+ onActiveUpdate: (key: string) => void;
14
+ isCompactHeight?: boolean;
15
+ }
16
+ declare function NavTabs({ tabs, active, onActiveUpdate, isMinWidth, isMinWidthIndicator, isCompactHeight, className, ...props }: TabsProps): JSX.Element;
17
+ export default NavTabs;