@mycause/ui 0.0.0-cf96d552 → 0.0.0-cfc1c766
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/CHANGELOG.md +15 -0
- package/dist/components/campaign-of-month/campaign-of-month.d.ts +6 -3
- package/dist/components/campaign-of-month/campaign-of-month.stories.d.ts +1 -1
- package/dist/components/comment-section/comment-section-v2/comment-section-v2.d.ts +31 -0
- package/dist/components/comment-section/comment-section-v2/sub-comments-v2.d.ts +11 -0
- package/dist/components/comment-section/comment-section.d.ts +1 -0
- package/dist/components/comment-section/comment-section.stories.d.ts +6 -0
- package/dist/components/comment-section/index.d.ts +1 -0
- package/dist/components/donation-form/donation-form-v2/donation-form-v2.d.ts +13 -0
- package/dist/components/donation-form/donation-form.stories.d.ts +6 -0
- package/dist/components/donation-form/index.d.ts +1 -0
- package/dist/components/{featured-campaign-card /featured-campaign-card.d.ts → featured-campaign-card/featured-campaign-card.d.ts} +5 -2
- package/dist/components/{featured-campaign-card /featured-campaign-card.stories.d.ts → featured-campaign-card/featured-campaign-card.stories.d.ts} +1 -1
- package/dist/components/footerV2/footerV2.d.ts +35 -0
- package/dist/components/{campain-card/campain-card.stories.d.ts → footerV2/footerV2.stories.d.ts} +3 -2
- package/dist/components/footerV2/index.d.ts +1 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/components/info-represent-campaign/index.d.ts +1 -0
- package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +11 -0
- package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +12 -0
- package/dist/components/logo/logo-type.d.ts +2 -1
- package/dist/components/nav/icons/IconBigger.d.ts +5 -0
- package/dist/components/nav/icons/IconSmaller.d.ts +5 -0
- package/dist/components/nav/nav-expanded-charity.d.ts +13 -0
- package/dist/components/nav/nav-expanded.d.ts +4 -1
- package/dist/components/nav/nav-list.d.ts +2 -0
- package/dist/components/nav/nav-menu-control.d.ts +2 -1
- package/dist/components/nav/nav-menu.d.ts +1 -1
- package/dist/components/nav/nav-search-control.d.ts +2 -1
- package/dist/components/nav/nav-search.d.ts +2 -1
- package/dist/components/nav/nav-sign-in-control.d.ts +2 -1
- package/dist/components/nav/nav.d.ts +2 -1
- package/dist/components/partner-dashboard-chart/chart.d.ts +3 -0
- package/dist/components/{icon/toggle-button.stories.d.ts → partner-dashboard-chart/chart.stories.d.ts} +2 -1
- package/dist/components/partner-dashboard-chart/index.d.ts +1 -0
- package/dist/components/tabs/nav-tabs.d.ts +18 -0
- package/dist/components/text-field/text-field-search.d.ts +9 -0
- package/dist/index.esm.js +19274 -41
- package/dist/index.js +19288 -40
- package/dist/theme/theme.d.ts +4 -0
- package/package.json +1 -1
- package/styles/index.css +4 -0
- package/dist/components/campain-card/campain-card.d.ts +0 -9
- package/dist/components/featured-campain-card /featured-campain-card .stories.d.ts +0 -14
- package/dist/components/featured-campain-card /featured-campain-card.d.ts +0 -14
- package/dist/components/icon/toggle-button.d.ts +0 -11
- package/dist/components/start-campain-card/start-campain-card.d.ts +0 -8
- package/dist/components/start-campain-card/start-campain-card.stories.d.ts +0 -14
- /package/dist/components/{featured-campaign-card → featured-campaign-card}/index.d.ts +0 -0
package/dist/theme/theme.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export declare type Theme = {
|
|
|
21
21
|
secondary: string;
|
|
22
22
|
muted: string;
|
|
23
23
|
inactive: string;
|
|
24
|
+
partner: string;
|
|
25
|
+
coral: string;
|
|
24
26
|
};
|
|
25
27
|
background: {
|
|
26
28
|
neutral: string;
|
|
@@ -29,6 +31,8 @@ export declare type Theme = {
|
|
|
29
31
|
secondary: string;
|
|
30
32
|
muted: string;
|
|
31
33
|
inactive: string;
|
|
34
|
+
partner: string;
|
|
35
|
+
coral: string;
|
|
32
36
|
};
|
|
33
37
|
};
|
|
34
38
|
};
|
package/package.json
CHANGED
package/styles/index.css
CHANGED
|
@@ -491,6 +491,10 @@ svg.mdc-button__icon {
|
|
|
491
491
|
.mdc-button--raised.mdc-button--display {
|
|
492
492
|
padding: 0 1.75rem; }
|
|
493
493
|
|
|
494
|
+
.mdc-button {
|
|
495
|
+
background: #358b76;
|
|
496
|
+
background: var(--mdc-theme-primary); }
|
|
497
|
+
|
|
494
498
|
.mdc-button--outlined.mdc-button--display {
|
|
495
499
|
padding: 0 calc(1.75rem - 2px); }
|
|
496
500
|
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface CampainCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
imageURL?: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const CampainCard: ({ className, imageURL, title, description, }: CampainCardProps) => JSX.Element;
|
|
9
|
-
export default CampainCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
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-campain-card").FeaturedCampainCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const featuredcampaincard: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface FeaturedCampainCardProps {
|
|
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 FeaturedCampainCard: ({ className, imageURL, title, donation, raised, goal, completed, width, }: FeaturedCampainCardProps) => JSX.Element;
|
|
14
|
-
export default FeaturedCampainCard;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IconButtonProps as MDCIconButtonProps } from "@material/react-icon-button";
|
|
3
|
-
declare type IconButtonTypes = HTMLButtonElement | HTMLAnchorElement;
|
|
4
|
-
export interface ToggleButtonProps extends Omit<MDCIconButtonProps<IconButtonTypes>, "onChange" | "value" | "ref" | "children"> {
|
|
5
|
-
active: React.ReactNode;
|
|
6
|
-
inactive: React.ReactNode;
|
|
7
|
-
onChange?: (value: boolean) => void;
|
|
8
|
-
value: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
11
|
-
export default ToggleButton;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface StartCampainCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const StartCampainCard: ({ className, title, description, }: StartCampainCardProps) => JSX.Element;
|
|
8
|
-
export default StartCampainCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
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, title, description, }: import("./start-campain-card").StartCampainCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const startcampaincard: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
File without changes
|