@mycause/ui 0.0.0-c3c28f91 → 0.0.0-c3efa43e

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.
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ export interface FeaturedCampaignCardProps {
3
+ className?: string;
4
+ imageURL?: string;
5
+ title?: string;
6
+ description?: string;
7
+ completed?: number;
8
+ width?: number;
9
+ donation?: number;
10
+ raised?: number;
11
+ goal?: number;
12
+ }
13
+ declare const FeaturedCampaignCard: ({ className, imageURL, title, donation, raised, goal, completed, width, }: FeaturedCampaignCardProps) => JSX.Element;
14
+ export default FeaturedCampaignCard;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import CenterDecorator from "../../utils/center-decorator";
3
+ declare const _default: {
4
+ title: string;
5
+ decorators: (typeof CenterDecorator)[];
6
+ component: ({ className, imageURL, title, donation, raised, goal, completed, width, }: import("./featured-campaign-card").FeaturedCampaignCardProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const featuredcampaigncard: {
10
+ (): JSX.Element;
11
+ story: {
12
+ name: string;
13
+ };
14
+ };
@@ -1,9 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  export declare type LogoTypeProps = {
3
3
  size?: "large";
4
+ isDark?: boolean;
4
5
  };
5
6
  /**
6
7
  * A dummy mycause logo
7
8
  */
8
- declare function LogoType({ size }: LogoTypeProps): JSX.Element;
9
+ declare function LogoType({ size, isDark }: LogoTypeProps): JSX.Element;
9
10
  export default LogoType;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface IconProps {
3
+ stroke?: string;
4
+ }
5
+ export default function IconBigger({ stroke }: IconProps): JSX.Element;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface IconProps {
3
+ stroke?: string;
4
+ }
5
+ export default function IconBigger({ stroke }: IconProps): JSX.Element;
@@ -2,6 +2,7 @@
2
2
  interface NavigationSearchControlProps {
3
3
  onChangeSearchOpen: (isOpen: boolean) => void;
4
4
  analyticsId?: string;
5
+ isDark?: boolean;
5
6
  }
6
- declare function NavigationSearchControl({ onChangeSearchOpen, analyticsId, }: NavigationSearchControlProps): JSX.Element;
7
+ declare function NavigationSearchControl({ onChangeSearchOpen, analyticsId, isDark, }: NavigationSearchControlProps): JSX.Element;
7
8
  export default NavigationSearchControl;
@@ -6,6 +6,7 @@ interface NavigationSignInControlProps extends Omit<React.HTMLProps<HTMLDivEleme
6
6
  handleonRequestSignIn: () => void;
7
7
  color?: ColorSpecifier;
8
8
  noIcon?: boolean;
9
+ isDark?: boolean;
9
10
  }
10
- declare function NavigationSignInControl({ analyticsId, handleonRequestSignIn, compact, className, color, noIcon, ...rest }: NavigationSignInControlProps): JSX.Element;
11
+ declare function NavigationSignInControl({ analyticsId, handleonRequestSignIn, compact, className, color, noIcon, isDark, ...rest }: NavigationSignInControlProps): JSX.Element;
11
12
  export default NavigationSignInControl;
@@ -50,6 +50,7 @@ export declare type NavigationProps = {
50
50
  isCompactHeight?: boolean;
51
51
  setSearchToLeft?: boolean;
52
52
  menuReverse?: boolean;
53
+ isDark?: boolean;
53
54
  };
54
- declare function Navigation({ logo, menus, links, stats, cta, cta2, user, userMenu, search, login, isSticky, isCompactHeight, setSearchToLeft, menuReverse, }: NavigationProps): JSX.Element;
55
+ declare function Navigation({ logo, menus, links, stats, cta, cta2, user, userMenu, search, login, isSticky, isCompactHeight, setSearchToLeft, menuReverse, isDark, }: NavigationProps): JSX.Element;
55
56
  export default Navigation;
@@ -12,6 +12,7 @@ interface TabsProps extends Omit<TabBarProps, "activeIndex" | "handleActiveIndex
12
12
  active?: string | null;
13
13
  onActiveUpdate: (key: string) => void;
14
14
  isCompactHeight?: boolean;
15
+ isDark?: boolean;
15
16
  }
16
- declare function NavTabs({ tabs, active, onActiveUpdate, isMinWidth, isMinWidthIndicator, isCompactHeight, className, ...props }: TabsProps): JSX.Element;
17
+ declare function NavTabs({ tabs, active, onActiveUpdate, isMinWidth, isMinWidthIndicator, isCompactHeight, className, isDark, ...props }: TabsProps): JSX.Element;
17
18
  export default NavTabs;