@mycause/ui 0.0.0-cadf499b → 0.0.0-cb093256
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/components/index.d.ts +1 -0
- package/dist/components/my-account-frp-archive/Icon.d.ts +5 -0
- package/dist/components/my-account-frp-archive/frp-archive-img.d.ts +8 -0
- package/dist/components/my-account-frp-archive/frp-information.d.ts +12 -0
- package/dist/components/my-account-frp-archive/index.d.ts +1 -0
- package/dist/components/my-account-frp-archive/my-account-frp-archive.d.ts +15 -0
- package/dist/components/my-account-frp-archive/my-account-frp-archive.stories.d.ts +24 -0
- package/dist/components/my-account-frp-closed/Icon.d.ts +5 -0
- package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +8 -0
- package/dist/components/my-account-frp-closed/frp-information.d.ts +10 -0
- package/dist/components/my-account-frp-closed/index.d.ts +1 -0
- package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +13 -0
- package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +24 -0
- package/dist/components/my-account-frp-preview/frp-information.d.ts +2 -1
- package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +2 -1
- package/dist/components/nav/index.d.ts +1 -0
- package/dist/components/nav/nav-myaccount.d.ts +22 -0
- package/dist/components/nav/nav.stories.d.ts +6 -0
- package/dist/index.esm.js +208 -12
- package/dist/index.js +209 -11
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface FrpInfomationProps {
|
|
3
|
+
amountOfweek: number;
|
|
4
|
+
donations: number;
|
|
5
|
+
daysToGo: number;
|
|
6
|
+
amountRaised: number;
|
|
7
|
+
amountGoal: number;
|
|
8
|
+
sqSize: number;
|
|
9
|
+
strokeWidth: number;
|
|
10
|
+
}
|
|
11
|
+
declare const FrpInfomation: ({ amountOfweek, donations, daysToGo, amountRaised, amountGoal, sqSize, strokeWidth, }: FrpInfomationProps) => JSX.Element;
|
|
12
|
+
export default FrpInfomation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MyAccountFrpPreview } from "./my-account-frp-archive";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface MyAccountFrpArchiveProps {
|
|
3
|
+
img?: string;
|
|
4
|
+
link?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
amountOfweek: number;
|
|
7
|
+
donations: number;
|
|
8
|
+
daysToGo: number;
|
|
9
|
+
amountRaised: number;
|
|
10
|
+
amountGoal: number;
|
|
11
|
+
sqSize: number;
|
|
12
|
+
strokeWidth: number;
|
|
13
|
+
}
|
|
14
|
+
declare const MyAccountFrpArchive: ({ img, link, title, amountGoal, amountOfweek, amountRaised, donations, sqSize, strokeWidth, daysToGo, }: MyAccountFrpArchiveProps) => JSX.Element;
|
|
15
|
+
export default MyAccountFrpArchive;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
decorators: ((...args: any) => any)[];
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const MyAccountFrpArchiveStory: {
|
|
8
|
+
(): JSX.Element;
|
|
9
|
+
story: {
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const MyAccountFrpArchiveStoryV3: {
|
|
14
|
+
(): JSX.Element;
|
|
15
|
+
story: {
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const MyAccountFrpArchiveStoryV2: {
|
|
20
|
+
(): JSX.Element;
|
|
21
|
+
story: {
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface FrpInfomationProps {
|
|
3
|
+
donations: number;
|
|
4
|
+
amountRaised: number;
|
|
5
|
+
amountGoal: number;
|
|
6
|
+
sqSize: number;
|
|
7
|
+
strokeWidth: number;
|
|
8
|
+
}
|
|
9
|
+
declare const FrpInfomation: ({ donations, amountRaised, amountGoal, sqSize, strokeWidth, }: FrpInfomationProps) => JSX.Element;
|
|
10
|
+
export default FrpInfomation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MyAccountFrpClosed } from "./my-account-frp-closed";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface MyAccountFrpClosedProps {
|
|
3
|
+
img?: string;
|
|
4
|
+
link?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
donations: number;
|
|
7
|
+
amountRaised: number;
|
|
8
|
+
amountGoal: number;
|
|
9
|
+
sqSize: number;
|
|
10
|
+
strokeWidth: number;
|
|
11
|
+
}
|
|
12
|
+
declare const MyAccountFrpClosed: ({ img, link, title, amountGoal, amountRaised, donations, sqSize, strokeWidth, }: MyAccountFrpClosedProps) => JSX.Element;
|
|
13
|
+
export default MyAccountFrpClosed;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
decorators: ((...args: any) => any)[];
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const MyAccountFrpCloseStory: {
|
|
8
|
+
(): JSX.Element;
|
|
9
|
+
story: {
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const MyAccountFrpArchiveStoryV3: {
|
|
14
|
+
(): JSX.Element;
|
|
15
|
+
story: {
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const MyAccountFrpArchiveStoryV2: {
|
|
20
|
+
(): JSX.Element;
|
|
21
|
+
story: {
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -7,6 +7,7 @@ interface FrpInfomationProps {
|
|
|
7
7
|
amountGoal: number;
|
|
8
8
|
sqSize: number;
|
|
9
9
|
strokeWidth: number;
|
|
10
|
+
manageLink?: string;
|
|
10
11
|
}
|
|
11
|
-
declare const FrpInfomation: ({ amountOfweek, donations, daysToGo, amountRaised, amountGoal, sqSize, strokeWidth, }: FrpInfomationProps) => JSX.Element;
|
|
12
|
+
declare const FrpInfomation: ({ amountOfweek, donations, daysToGo, amountRaised, amountGoal, sqSize, strokeWidth, manageLink, }: FrpInfomationProps) => JSX.Element;
|
|
12
13
|
export default FrpInfomation;
|
|
@@ -10,6 +10,7 @@ export interface MyAccountFrpPreviewProps {
|
|
|
10
10
|
amountGoal: number;
|
|
11
11
|
sqSize: number;
|
|
12
12
|
strokeWidth: number;
|
|
13
|
+
manageLink?: string;
|
|
13
14
|
}
|
|
14
|
-
declare const MyAccountFrpPreview: ({ img, link, title, amountGoal, amountOfweek, amountRaised, donations, sqSize, strokeWidth, daysToGo, }: MyAccountFrpPreviewProps) => JSX.Element;
|
|
15
|
+
declare const MyAccountFrpPreview: ({ img, link, title, amountGoal, amountOfweek, amountRaised, donations, sqSize, strokeWidth, daysToGo, manageLink, }: MyAccountFrpPreviewProps) => JSX.Element;
|
|
15
16
|
export default MyAccountFrpPreview;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ColorSpecifier } from "../../theme/theme";
|
|
3
|
+
import { ButtonProps } from "../button/button";
|
|
4
|
+
import { UserData } from "./nav-user-menu";
|
|
5
|
+
import { UserMenuItemWithSubmenu } from "./nav-user-menu-items";
|
|
6
|
+
declare type LoginAction = {
|
|
7
|
+
analyticsId?: string;
|
|
8
|
+
onLogin: () => void;
|
|
9
|
+
color?: ColorSpecifier;
|
|
10
|
+
noIcon?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare type NavigationProps = {
|
|
13
|
+
logo?: React.ReactNode;
|
|
14
|
+
cta?: ButtonProps | null;
|
|
15
|
+
user?: UserData | null;
|
|
16
|
+
login?: LoginAction | null;
|
|
17
|
+
isSticky?: boolean;
|
|
18
|
+
menuReverse?: boolean;
|
|
19
|
+
userMenu?: Array<UserMenuItemWithSubmenu>;
|
|
20
|
+
};
|
|
21
|
+
declare function Navigation({ logo, cta, user, login, isSticky, userMenu, }: NavigationProps): JSX.Element;
|
|
22
|
+
export default Navigation;
|
package/dist/index.esm.js
CHANGED
|
@@ -11534,8 +11534,8 @@ function useHover$1() {
|
|
|
11534
11534
|
return [isHovered, bind];
|
|
11535
11535
|
}
|
|
11536
11536
|
|
|
11537
|
-
var css$e = ".nav-module_tabBar__1jJhu {\n height: 75px; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab {\n height: 75px !important; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab .mdc-tab__content .mdc-tab__text-label {\n font-size: 15px !important;\n font-weight: 500; }\n";
|
|
11538
|
-
var cls$e = {"tabBar":"nav-module_tabBar__1jJhu"};
|
|
11537
|
+
var css$e = ".nav-module_tabBar__1jJhu {\n height: 75px; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab {\n height: 75px !important; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab .mdc-tab__content .mdc-tab__text-label {\n font-size: 15px !important;\n font-weight: 500; }\n\n.nav-module_navMyAccount__3a4ID {\n background-color: #fff;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);\n top: 0;\n z-index: 10;\n width: 100%;\n font-family: \"Montserrat\"; }\n .nav-module_navMyAccount__3a4ID .nav-module_container__2QQlH {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 10px 30px; }\n .nav-module_navMyAccount__3a4ID .nav-module_container__2QQlH .nav-module_logoWrap__KFsbv {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 1rem; }\n .nav-module_navMyAccount__3a4ID .nav-module_container__2QQlH .nav-module_leftCover__1ru9L {\n display: flex;\n grid-gap: 48px;\n grid-gap: 48px;\n gap: 48px;\n align-items: center; }\n .nav-module_navMyAccount__3a4ID .nav-module_container__2QQlH .nav-module_leftCover__1ru9L .nav-module_ctaBtn__KXkeB {\n font-size: 16px;\n border-radius: 8px;\n font-weight: 700;\n color: #fff; }\n\n@media (max-width: 768px) {\n .nav-module_navMyAccount__3a4ID .nav-module_leftCover__1ru9L {\n grid-gap: 28px;\n grid-gap: 28px;\n gap: 28px; }\n .nav-module_navMyAccount__3a4ID .nav-module_leftCover__1ru9L .nav-module_ctaBtn__KXkeB {\n font-size: 14px; } }\n\n@media (max-width: 480px) {\n .nav-module_navMyAccount__3a4ID {\n padding: 10px 20px; }\n .nav-module_navMyAccount__3a4ID .nav-module_leftCover__1ru9L {\n grid-gap: 10px;\n grid-gap: 10px;\n gap: 10px; }\n .nav-module_navMyAccount__3a4ID .nav-module_leftCover__1ru9L .nav-module_ctaBtn__KXkeB {\n font-size: 12px;\n height: 40px;\n padding: 0 10px; } }\n";
|
|
11538
|
+
var cls$e = {"tabBar":"nav-module_tabBar__1jJhu","navMyAccount":"nav-module_navMyAccount__3a4ID","container":"nav-module_container__2QQlH","logoWrap":"nav-module_logoWrap__KFsbv","leftCover":"nav-module_leftCover__1ru9L","ctaBtn":"nav-module_ctaBtn__KXkeB"};
|
|
11539
11539
|
styleInject(css$e);
|
|
11540
11540
|
|
|
11541
11541
|
function Navigation$1(_ref) {
|
|
@@ -11818,6 +11818,64 @@ function replace$3(arr, x, val) {
|
|
|
11818
11818
|
});
|
|
11819
11819
|
}
|
|
11820
11820
|
|
|
11821
|
+
function Navigation$2(_ref) {
|
|
11822
|
+
var logo = _ref.logo,
|
|
11823
|
+
cta = _ref.cta,
|
|
11824
|
+
user = _ref.user,
|
|
11825
|
+
login = _ref.login,
|
|
11826
|
+
isSticky = _ref.isSticky,
|
|
11827
|
+
userMenu = _ref.userMenu;
|
|
11828
|
+
|
|
11829
|
+
var _useState = useState(),
|
|
11830
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11831
|
+
isUserMenuOpen = _useState2[0],
|
|
11832
|
+
setUserMenuOpen = _useState2[1];
|
|
11833
|
+
|
|
11834
|
+
var prosition = isSticky ? "sticky" : "relative";
|
|
11835
|
+
return React.createElement("nav", {
|
|
11836
|
+
className: cls$e.navMyAccount,
|
|
11837
|
+
style: {
|
|
11838
|
+
position: prosition
|
|
11839
|
+
}
|
|
11840
|
+
}, React.createElement("div", {
|
|
11841
|
+
className: cls$e.container
|
|
11842
|
+
}, React.createElement("div", {
|
|
11843
|
+
className: cls$e.logoWrap
|
|
11844
|
+
}, logo), " ", React.createElement("div", {
|
|
11845
|
+
className: cls$e.leftCover
|
|
11846
|
+
}, cta && React.createElement(NavigationCallToAction$1, _extends({
|
|
11847
|
+
className: cls$e.ctaBtn,
|
|
11848
|
+
style: {
|
|
11849
|
+
backgroundColor: "".concat(cta.color)
|
|
11850
|
+
}
|
|
11851
|
+
}, cta)), user ? React.createElement(NavigationUserMenu$1, {
|
|
11852
|
+
user: user,
|
|
11853
|
+
items: userMenu,
|
|
11854
|
+
isOpen: isUserMenuOpen,
|
|
11855
|
+
onChangeOpen: setUserMenuOpen
|
|
11856
|
+
}) : login && React.createElement(NavigationSignInControl$1, {
|
|
11857
|
+
handleonRequestSignIn: login.onLogin,
|
|
11858
|
+
analyticsId: login.analyticsId,
|
|
11859
|
+
color: login.color,
|
|
11860
|
+
noIcon: login.noIcon
|
|
11861
|
+
}))));
|
|
11862
|
+
}
|
|
11863
|
+
|
|
11864
|
+
Navigation$2.propTypes = {
|
|
11865
|
+
logo: _pt.node,
|
|
11866
|
+
cta: _pt.oneOfType([_pt.any, _pt.oneOf([null])]),
|
|
11867
|
+
user: _pt.oneOfType([_pt.any, _pt.oneOf([null])]),
|
|
11868
|
+
login: _pt.oneOfType([_pt.shape({
|
|
11869
|
+
analyticsId: _pt.string,
|
|
11870
|
+
onLogin: _pt.func.isRequired,
|
|
11871
|
+
color: _pt.any,
|
|
11872
|
+
noIcon: _pt.bool
|
|
11873
|
+
}), _pt.oneOf([null])]),
|
|
11874
|
+
isSticky: _pt.bool,
|
|
11875
|
+
menuReverse: _pt.bool,
|
|
11876
|
+
userMenu: _pt.any
|
|
11877
|
+
};
|
|
11878
|
+
|
|
11821
11879
|
var css$f = ".popup-module_wrapper__2a8HZ {\n width: 100%;\n height: 79px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n background-color: #1f4e43; }\n .popup-module_wrapper__2a8HZ .popup-module_title__1amtD {\n padding: 5px;\n font-weight: 700;\n font-size: 16px;\n line-height: 22.4px;\n text-align: center;\n color: white;\n margin-left: 94px;\n margin-right: 24px; }\n .popup-module_wrapper__2a8HZ .popup-module_description__BetQs {\n position: relative;\n color: #b9c3c1;\n padding: 5px;\n font-weight: 500;\n font-size: 16px;\n line-height: 22.4px;\n text-align: center; }\n\n@media all and (max-width: 768px) {\n .popup-module_wrapper__2a8HZ {\n width: 100%;\n height: 119px;\n flex-direction: column;\n align-items: center;\n justify-content: center; }\n .popup-module_wrapper__2a8HZ .popup-module_title__1amtD {\n margin-left: 0px;\n margin-right: 0px; } }\n";
|
|
11822
11880
|
var cls$f = {"wrapper":"popup-module_wrapper__2a8HZ","title":"popup-module_title__1amtD","description":"popup-module_description__BetQs"};
|
|
11823
11881
|
styleInject(css$f);
|
|
@@ -29546,7 +29604,7 @@ MyAccountStartFundraiseCard.propTypes = {
|
|
|
29546
29604
|
width: _pt.string.isRequired
|
|
29547
29605
|
};
|
|
29548
29606
|
|
|
29549
|
-
var css$p = ".my-account-choose-charity-card-module_wrapper__3ne7s {\n height: 226px;\n display: flex;\n align-items: center;\n border-radius: 16px;\n background-color: #F7F7F8;\n font-family: \"Montserrat\", sans-serif;\n justify-content: space-around;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25); }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-around;\n height: 100%;\n padding: 30px 30px 30px 0;\n margin-left: 12%; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n text-align: left;\n color: #404041; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 270px;\n height: 214px;\n margin-left: 50px; }\n\n@media all and (max-width: 768px) {\n .my-account-choose-charity-card-module_wrapper__3ne7s {\n overflow: hidden; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n
|
|
29607
|
+
var css$p = ".my-account-choose-charity-card-module_wrapper__3ne7s {\n height: 226px;\n display: flex;\n align-items: center;\n border-radius: 16px;\n background-color: #F7F7F8;\n font-family: \"Montserrat\", sans-serif;\n justify-content: space-around;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25); }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-around;\n height: 100%;\n padding: 30px 30px 30px 0;\n margin-left: 12%; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n text-align: left;\n color: #404041; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 270px;\n height: 214px;\n margin-left: 50px; }\n\n@media all and (max-width: 768px) {\n .my-account-choose-charity-card-module_wrapper__3ne7s {\n overflow: hidden; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 100%;\n margin-left: 0; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n margin-left: 50px;\n padding: 16px 34px 15px 0px;\n justify-content: space-around;\n z-index: 1; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-size: 24px;\n line-height: 32px; } }\n\n@media all and (max-width: 580px) {\n .my-account-choose-charity-card-module_wrapper__3ne7s {\n overflow: hidden; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 {\n max-width: 40%;\n align-items: center; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 150px;\n margin-left: -16px; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n max-width: 60%;\n margin-left: 24px;\n padding: 40px 20px 40px 0; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-size: 20px;\n line-height: 30px; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 button .mdc-button__label {\n font-size: 14px; } }\n\n@media all and (max-width: 440px) {\n .my-account-choose-charity-card-module_wrapper__3ne7s {\n overflow: hidden; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 {\n max-width: 40%;\n align-items: center; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 150px;\n margin-left: -34px; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n max-width: 90%;\n margin-left: 24px;\n padding: 20px 20px 20px 0; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-size: 16px;\n line-height: 24px; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 button .mdc-button__label {\n font-size: 14px; } }\n";
|
|
29550
29608
|
var cls$p = {"wrapper":"my-account-choose-charity-card-module_wrapper__3ne7s","rightSide":"my-account-choose-charity-card-module_rightSide__2-yf1","title":"my-account-choose-charity-card-module_title__2CB3U","leftSide":"my-account-choose-charity-card-module_leftSide__3S_e3"};
|
|
29551
29609
|
styleInject(css$p);
|
|
29552
29610
|
|
|
@@ -29838,7 +29896,6 @@ var MyAccountSidebar = function MyAccountSidebar(_ref) {
|
|
|
29838
29896
|
setIsExpand = _useState2[1];
|
|
29839
29897
|
|
|
29840
29898
|
var handleOnChangeActiveTabOnMobile = function handleOnChangeActiveTabOnMobile() {
|
|
29841
|
-
console.log("jjjj");
|
|
29842
29899
|
setIsExpand(false);
|
|
29843
29900
|
};
|
|
29844
29901
|
|
|
@@ -29981,7 +30038,7 @@ MyAccountSidebar.propTypes = {
|
|
|
29981
30038
|
}).isRequired
|
|
29982
30039
|
};
|
|
29983
30040
|
|
|
29984
|
-
var css$s = ".my-account-frp-preview-module_wrapper__dNipd {\n border-radius: 16px;\n background: #fff;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25);\n display: flex;\n font-family: Montserrat;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd:hover .my-account-frp-preview-module_coverImage__2mHgG,\n .my-account-frp-preview-module_wrapper__dNipd:hover .my-account-frp-preview-module_imgOverlay__2nZSr {\n background: rgba(34, 39, 37, 0.2); }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG {\n width: calc(100% - 200px);\n border-radius: 16px 0 0 16px;\n position: relative;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_imgOverlay__2nZSr {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 16px 0 0 16px;\n transition: 0.2s all; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR {\n width: 100%;\n display: flex;\n justify-content: center;\n overflow: hidden;\n border-radius: 16px 0 0 16px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR img.my-account-frp-preview-module_image__1yL3f {\n width: 100%;\n height: auto; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR .my-account-frp-preview-module_noImg__1hY6M {\n background: url(\"./background.png\") no-repeat;\n background-size: cover;\n width: 100%;\n height: 460px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- {\n position: absolute;\n bottom: 0;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0px 0px 0px 16px;\n opacity: 0.95;\n min-height: 80px;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%)); }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 20px;\n line-height: 26px;\n font-weight: 700;\n color: #fff;\n padding: 11px 32px;\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n width: 200px;\n padding: 22px 20px;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye p {\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt {\n margin-bottom: 13px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt .my-account-frp-preview-module_number__2Nd_S {\n font-size: 16px;\n font-weight: 700;\n margin-bottom: 5px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt .my-account-frp-preview-module_text__2CocT {\n font-size: 14px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0 {\n border-radius: 50px;\n border: none;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%));\n padding: 6px 16px;\n font-size: 10px;\n font-weight: 700;\n color: #fff;\n display: flex;\n align-items: center;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0 svg {\n margin-left: 8px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0:hover {\n background: #65a797; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_progress__2cXze {\n margin: 0 0 16px 0; }\n\n@media all and (max-width: 768px) {\n .my-account-frp-preview-module_wrapper__dNipd {\n flex-direction: column; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG {\n width: 100%;\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_imgOverlay__2nZSr {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- {\n border-radius: 0;\n min-height: 0;\n min-height: initial; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 18px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n flex-direction: row;\n width: 100%;\n justify-content: space-around;\n padding: 32px 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_coverItem__1QS20 {\n display: flex;\n flex-direction: column;\n grid-gap: 18px;\n grid-gap: 18px;\n gap: 18px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_coverItem__1QS20 .my-account-frp-preview-module_item__FZTOt {\n margin-bottom: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_progress__2cXze {\n margin: 0 0 20px 0; } }\n\n@media all and (max-width: 480px) {\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 16px;\n padding: 10px 15px;\n line-height: 20px; } }\n\n@media all and (max-width: 400px) {\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 13px;\n line-height: 16px; } }\n";
|
|
30041
|
+
var css$s = ".my-account-frp-preview-module_wrapper__dNipd {\n border-radius: 16px;\n background: #fff;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25);\n display: flex;\n font-family: Montserrat;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd:hover .my-account-frp-preview-module_coverImage__2mHgG,\n .my-account-frp-preview-module_wrapper__dNipd:hover .my-account-frp-preview-module_imgOverlay__2nZSr {\n background: rgba(34, 39, 37, 0.2); }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG {\n width: calc(100% - 200px);\n border-radius: 16px 0 0 16px;\n position: relative;\n cursor: pointer;\n overflow: hidden; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_imgOverlay__2nZSr {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 16px 0 0 16px;\n transition: 0.2s all; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR {\n width: 100%;\n display: flex;\n justify-content: center;\n overflow: hidden;\n border-radius: 16px 0 0 16px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR img.my-account-frp-preview-module_image__1yL3f {\n width: 100%;\n height: auto; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR .my-account-frp-preview-module_noImg__1hY6M {\n background: url(\"./background.png\") no-repeat;\n background-size: cover;\n width: 100%;\n height: 460px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- {\n position: absolute;\n bottom: 0;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0px 0px 0px 16px;\n opacity: 0.95;\n min-height: 80px;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%)); }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 20px;\n line-height: 26px;\n font-weight: 700;\n color: #fff;\n padding: 11px 32px;\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n width: 200px;\n padding: 22px 20px;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye p {\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt {\n margin-bottom: 13px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt .my-account-frp-preview-module_number__2Nd_S {\n font-size: 16px;\n font-weight: 700;\n margin-bottom: 5px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt .my-account-frp-preview-module_text__2CocT {\n font-size: 14px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0 {\n border-radius: 50px;\n border: none;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%));\n padding: 6px 16px;\n font-size: 10px;\n font-weight: 700;\n color: #fff;\n display: flex;\n align-items: center;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0 svg {\n margin-left: 8px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0:hover {\n background: #65a797; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_progress__2cXze {\n margin: 0 0 16px 0; }\n\n@media all and (max-width: 768px) {\n .my-account-frp-preview-module_wrapper__dNipd {\n flex-direction: column; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG {\n width: 100%;\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_imgOverlay__2nZSr {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- {\n border-radius: 0;\n min-height: 0;\n min-height: initial; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 18px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n flex-direction: row;\n width: 100%;\n justify-content: space-around;\n padding: 32px 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_coverItem__1QS20 {\n display: flex;\n flex-direction: column;\n grid-gap: 18px;\n grid-gap: 18px;\n gap: 18px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_coverItem__1QS20 .my-account-frp-preview-module_item__FZTOt {\n margin-bottom: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_progress__2cXze {\n margin: 0 0 20px 0; } }\n\n@media all and (max-width: 480px) {\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 16px;\n padding: 10px 15px;\n line-height: 20px; } }\n\n@media all and (max-width: 400px) {\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 13px;\n line-height: 16px; } }\n";
|
|
29985
30042
|
var cls$s = {"wrapper":"my-account-frp-preview-module_wrapper__dNipd","coverImage":"my-account-frp-preview-module_coverImage__2mHgG","imgOverlay":"my-account-frp-preview-module_imgOverlay__2nZSr","boxImage":"my-account-frp-preview-module_boxImage__1ttYR","image":"my-account-frp-preview-module_image__1yL3f","noImg":"my-account-frp-preview-module_noImg__1hY6M","coverTitle":"my-account-frp-preview-module_coverTitle__1sSn-","title":"my-account-frp-preview-module_title__1x_bj","coverInfomation":"my-account-frp-preview-module_coverInfomation__2d2Ye","item":"my-account-frp-preview-module_item__FZTOt","number":"my-account-frp-preview-module_number__2Nd_S","text":"my-account-frp-preview-module_text__2CocT","manageBtn":"my-account-frp-preview-module_manageBtn__1AYl0","progress":"my-account-frp-preview-module_progress__2cXze","coverItem":"my-account-frp-preview-module_coverItem__1QS20"};
|
|
29986
30043
|
styleInject(css$s);
|
|
29987
30044
|
|
|
@@ -30098,7 +30155,8 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
30098
30155
|
amountRaised = _ref.amountRaised,
|
|
30099
30156
|
amountGoal = _ref.amountGoal,
|
|
30100
30157
|
sqSize = _ref.sqSize,
|
|
30101
|
-
strokeWidth = _ref.strokeWidth
|
|
30158
|
+
strokeWidth = _ref.strokeWidth,
|
|
30159
|
+
manageLink = _ref.manageLink;
|
|
30102
30160
|
var formatterMoney = new Intl.NumberFormat("en-US", {
|
|
30103
30161
|
style: "currency",
|
|
30104
30162
|
currency: "USD",
|
|
@@ -30149,7 +30207,10 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
30149
30207
|
}, formatterMoney.format(amountRaised).replace("$", "$ ")), " ", React.createElement("br", null), "raised of ", React.createElement("br", null), " ", Intl.NumberFormat().format(amountGoal), " goal")
|
|
30150
30208
|
})), React.createElement("button", {
|
|
30151
30209
|
className: cls$s.manageBtn,
|
|
30152
|
-
color: "greenLinear"
|
|
30210
|
+
color: "greenLinear",
|
|
30211
|
+
onClick: function onClick() {
|
|
30212
|
+
return window.open(manageLink);
|
|
30213
|
+
}
|
|
30153
30214
|
}, "Manage Campaign ", React.createElement(Icons$1.arrowNext, null))));
|
|
30154
30215
|
};
|
|
30155
30216
|
|
|
@@ -30160,7 +30221,8 @@ FrpInfomation.propTypes = {
|
|
|
30160
30221
|
amountRaised: _pt.number.isRequired,
|
|
30161
30222
|
amountGoal: _pt.number.isRequired,
|
|
30162
30223
|
sqSize: _pt.number.isRequired,
|
|
30163
|
-
strokeWidth: _pt.number.isRequired
|
|
30224
|
+
strokeWidth: _pt.number.isRequired,
|
|
30225
|
+
manageLink: _pt.string
|
|
30164
30226
|
};
|
|
30165
30227
|
|
|
30166
30228
|
var MyAccountFrpPreview = function MyAccountFrpPreview(_ref) {
|
|
@@ -30173,7 +30235,8 @@ var MyAccountFrpPreview = function MyAccountFrpPreview(_ref) {
|
|
|
30173
30235
|
donations = _ref.donations,
|
|
30174
30236
|
sqSize = _ref.sqSize,
|
|
30175
30237
|
strokeWidth = _ref.strokeWidth,
|
|
30176
|
-
daysToGo = _ref.daysToGo
|
|
30238
|
+
daysToGo = _ref.daysToGo,
|
|
30239
|
+
manageLink = _ref.manageLink;
|
|
30177
30240
|
return React.createElement("div", {
|
|
30178
30241
|
className: cls$s.wrapper,
|
|
30179
30242
|
onClick: function onClick() {
|
|
@@ -30190,7 +30253,8 @@ var MyAccountFrpPreview = function MyAccountFrpPreview(_ref) {
|
|
|
30190
30253
|
amountRaised: amountRaised,
|
|
30191
30254
|
amountGoal: amountGoal,
|
|
30192
30255
|
sqSize: sqSize,
|
|
30193
|
-
strokeWidth: strokeWidth
|
|
30256
|
+
strokeWidth: strokeWidth,
|
|
30257
|
+
manageLink: manageLink
|
|
30194
30258
|
}));
|
|
30195
30259
|
};
|
|
30196
30260
|
|
|
@@ -30204,7 +30268,8 @@ MyAccountFrpPreview.propTypes = {
|
|
|
30204
30268
|
amountRaised: _pt.number.isRequired,
|
|
30205
30269
|
amountGoal: _pt.number.isRequired,
|
|
30206
30270
|
sqSize: _pt.number.isRequired,
|
|
30207
|
-
strokeWidth: _pt.number.isRequired
|
|
30271
|
+
strokeWidth: _pt.number.isRequired,
|
|
30272
|
+
manageLink: _pt.string
|
|
30208
30273
|
};
|
|
30209
30274
|
|
|
30210
30275
|
var css$t = ".my-account-stats-donated-module_wrapper__2204E {\n width: 100%;\n border-radius: 16px;\n background: #f2f8f1;\n position: relative;\n font-family: Montserrat;\n text-align: center;\n min-height: 312px;\n display: flex;\n justify-content: center;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25); }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_picture__WCuVs {\n position: absolute;\n top: 45px;\n right: 25px; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE {\n padding-top: 32px;\n max-width: 300px; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_title__2d6nq {\n font-size: 20px;\n font-weight: 700;\n color: #2d8a75;\n padding-bottom: 13px;\n margin: 0; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_number__1cP4D {\n font-size: 24px;\n font-weight: 700;\n color: #2d8a75;\n margin: 10px 0; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_text__293Ij {\n font-size: 16px;\n font-weight: 400;\n color: #404041;\n margin: 0;\n padding-bottom: 24px; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_text__293Ij .my-account-stats-donated-module_num__3-ePn {\n font-weight: 700;\n color: #2d8a75; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_view__Faeo3 {\n color: #2D8A75;\n font-size: 14px;\n text-decoration: none; }\n\n@media screen and (max-width: 768px) {\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_picture__WCuVs {\n display: none; } }\n";
|
|
@@ -30340,4 +30405,135 @@ Input.propTypes = {
|
|
|
30340
30405
|
error: _pt.oneOfType([_pt.string, _pt.oneOf([null]), _pt.bool])
|
|
30341
30406
|
};
|
|
30342
30407
|
|
|
30343
|
-
|
|
30408
|
+
var css$w = ".my-account-frp-closed-module_wrapper__1I9n9 {\n border-radius: 16px;\n background: #fff;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25);\n display: flex;\n font-family: Montserrat;\n cursor: pointer; }\n .my-account-frp-closed-module_wrapper__1I9n9:hover .my-account-frp-closed-module_coverImage__UyIdc,\n .my-account-frp-closed-module_wrapper__1I9n9:hover .my-account-frp-closed-module_imgOverlay__2KJdC {\n background: rgba(34, 39, 37, 0.2); }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc {\n width: calc(100% - 200px);\n border-radius: 16px 0 0 16px;\n position: relative;\n cursor: pointer;\n opacity: 0.6;\n overflow: hidden; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_imgOverlay__2KJdC {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 16px 0 0 16px;\n transition: 0.2s all; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x {\n width: 100%;\n display: flex;\n justify-content: center;\n overflow: hidden;\n border-radius: 16px 0 0 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x img.my-account-frp-closed-module_image__3FAn3 {\n width: 100%;\n height: auto; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x .my-account-frp-closed-module_noImg__1Ktbc {\n background: url(\"./background.png\") no-repeat;\n background-size: cover;\n width: 100%;\n height: 460px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R {\n position: absolute;\n bottom: 0;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0px 0px 0px 16px;\n min-height: 80px;\n opacity: 0.95;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%)); }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 20px;\n line-height: 26px;\n font-weight: 700;\n color: #fff;\n padding: 11px 32px;\n margin: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L {\n width: 200px;\n padding: 50px 30px;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L p {\n margin: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 {\n margin-bottom: 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_number__2Uyn9 {\n font-size: 16px;\n font-weight: 700;\n margin-bottom: 5px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_text__E7Tjr {\n font-size: 14px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu {\n border-radius: 50px;\n border: none;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%));\n padding: 8px 16px;\n font-size: 10px;\n font-weight: 700;\n color: #fff;\n display: flex;\n align-items: center;\n cursor: pointer; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu svg {\n margin-left: 8px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu:hover {\n background: #65a797; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_progress__2tfwn {\n margin: 0 0 16px 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverRight__3b5oY {\n display: flex;\n flex-direction: column;\n align-items: center; }\n\n@media all and (max-width: 768px) {\n .my-account-frp-closed-module_wrapper__1I9n9 {\n flex-direction: column; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc {\n width: 100%;\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_imgOverlay__2KJdC {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R {\n border-radius: 0;\n min-height: 0;\n min-height: initial; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 18px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L {\n flex-direction: row;\n width: 100%;\n justify-content: space-around;\n padding: 32px 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverItem__2i2wT {\n display: flex;\n flex-direction: column;\n grid-gap: 18px;\n grid-gap: 18px;\n gap: 18px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverItem__2i2wT .my-account-frp-closed-module_item__1S1Q4 {\n margin-bottom: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_progress__2tfwn {\n margin: 0 0 20px 0; } }\n\n@media all and (max-width: 480px) {\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 16px;\n padding: 10px 15px;\n line-height: 20px; } }\n\n@media all and (max-width: 400px) {\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 13px;\n line-height: 16px; } }\n";
|
|
30409
|
+
var cls$w = {"wrapper":"my-account-frp-closed-module_wrapper__1I9n9","coverImage":"my-account-frp-closed-module_coverImage__UyIdc","imgOverlay":"my-account-frp-closed-module_imgOverlay__2KJdC","boxImage":"my-account-frp-closed-module_boxImage__3lh3x","image":"my-account-frp-closed-module_image__3FAn3","noImg":"my-account-frp-closed-module_noImg__1Ktbc","coverTitle":"my-account-frp-closed-module_coverTitle__3OQ7R","title":"my-account-frp-closed-module_title__3M0pI","coverInfomation":"my-account-frp-closed-module_coverInfomation__wrS7L","item":"my-account-frp-closed-module_item__1S1Q4","number":"my-account-frp-closed-module_number__2Uyn9","text":"my-account-frp-closed-module_text__E7Tjr","manageBtn":"my-account-frp-closed-module_manageBtn__3pzfu","progress":"my-account-frp-closed-module_progress__2tfwn","coverRight":"my-account-frp-closed-module_coverRight__3b5oY","coverItem":"my-account-frp-closed-module_coverItem__2i2wT"};
|
|
30410
|
+
styleInject(css$w);
|
|
30411
|
+
|
|
30412
|
+
var FrpClosedImg = function FrpClosedImg(_ref) {
|
|
30413
|
+
var img = _ref.img,
|
|
30414
|
+
link = _ref.link,
|
|
30415
|
+
title = _ref.title;
|
|
30416
|
+
return React.createElement("div", {
|
|
30417
|
+
className: cls$w.coverImage
|
|
30418
|
+
}, React.createElement("div", {
|
|
30419
|
+
className: cls$w.imgOverlay
|
|
30420
|
+
}), React.createElement("div", {
|
|
30421
|
+
className: cls$w.boxImage
|
|
30422
|
+
}, img ? React.createElement("img", {
|
|
30423
|
+
className: cls$w.image,
|
|
30424
|
+
src: img,
|
|
30425
|
+
alt: ""
|
|
30426
|
+
}) : React.createElement("div", {
|
|
30427
|
+
className: cls$w.noImg
|
|
30428
|
+
})), React.createElement("div", {
|
|
30429
|
+
className: cls$w.coverTitle
|
|
30430
|
+
}, React.createElement("p", {
|
|
30431
|
+
className: cls$w.title
|
|
30432
|
+
}, title)));
|
|
30433
|
+
};
|
|
30434
|
+
|
|
30435
|
+
FrpClosedImg.propTypes = {
|
|
30436
|
+
img: _pt.string,
|
|
30437
|
+
link: _pt.string,
|
|
30438
|
+
title: _pt.string
|
|
30439
|
+
};
|
|
30440
|
+
|
|
30441
|
+
var FrpInfomation$1 = function FrpInfomation(_ref) {
|
|
30442
|
+
var donations = _ref.donations,
|
|
30443
|
+
amountRaised = _ref.amountRaised,
|
|
30444
|
+
amountGoal = _ref.amountGoal,
|
|
30445
|
+
sqSize = _ref.sqSize,
|
|
30446
|
+
strokeWidth = _ref.strokeWidth;
|
|
30447
|
+
var formatterMoney = new Intl.NumberFormat("en-US", {
|
|
30448
|
+
style: "currency",
|
|
30449
|
+
currency: "USD",
|
|
30450
|
+
minimumFractionDigits: 0
|
|
30451
|
+
});
|
|
30452
|
+
return React.createElement("div", {
|
|
30453
|
+
className: cls$w.coverInfomation
|
|
30454
|
+
}, React.createElement("div", {
|
|
30455
|
+
className: cls$w.coverItem
|
|
30456
|
+
}, React.createElement("div", {
|
|
30457
|
+
className: cls$w.item
|
|
30458
|
+
}, React.createElement("p", {
|
|
30459
|
+
className: cls$w.number
|
|
30460
|
+
}, donations), React.createElement("p", {
|
|
30461
|
+
className: cls$w.text
|
|
30462
|
+
}, "Donations")), React.createElement("div", {
|
|
30463
|
+
className: cls$w.progress
|
|
30464
|
+
}, React.createElement(CircularProgress, {
|
|
30465
|
+
percentage: amountRaised / amountGoal * 100,
|
|
30466
|
+
sqSize: sqSize,
|
|
30467
|
+
strokeWidth: strokeWidth,
|
|
30468
|
+
color: "#2D8A75",
|
|
30469
|
+
centerContent: React.createElement("p", {
|
|
30470
|
+
className: "text",
|
|
30471
|
+
style: {
|
|
30472
|
+
fontSize: "10px",
|
|
30473
|
+
lineHeight: 1.5
|
|
30474
|
+
}
|
|
30475
|
+
}, React.createElement("span", {
|
|
30476
|
+
style: {
|
|
30477
|
+
fontSize: "14px",
|
|
30478
|
+
fontWeight: 700
|
|
30479
|
+
}
|
|
30480
|
+
}, formatterMoney.format(amountRaised).replace("$", "$ ")), React.createElement("br", null), "raised of ", React.createElement("br", null), " ", Intl.NumberFormat().format(amountGoal), " goal")
|
|
30481
|
+
}))), React.createElement("div", {
|
|
30482
|
+
className: cls$w.coverRight
|
|
30483
|
+
}, React.createElement("div", {
|
|
30484
|
+
className: cls$w.item
|
|
30485
|
+
}, React.createElement("p", {
|
|
30486
|
+
className: cls$w.text
|
|
30487
|
+
}, "This campaign is now closed.")), React.createElement("button", {
|
|
30488
|
+
className: cls$w.manageBtn,
|
|
30489
|
+
color: "greenLinear"
|
|
30490
|
+
}, "View page")));
|
|
30491
|
+
};
|
|
30492
|
+
|
|
30493
|
+
FrpInfomation$1.propTypes = {
|
|
30494
|
+
donations: _pt.number.isRequired,
|
|
30495
|
+
amountRaised: _pt.number.isRequired,
|
|
30496
|
+
amountGoal: _pt.number.isRequired,
|
|
30497
|
+
sqSize: _pt.number.isRequired,
|
|
30498
|
+
strokeWidth: _pt.number.isRequired
|
|
30499
|
+
};
|
|
30500
|
+
|
|
30501
|
+
var MyAccountFrpClosed = function MyAccountFrpClosed(_ref) {
|
|
30502
|
+
var img = _ref.img,
|
|
30503
|
+
link = _ref.link,
|
|
30504
|
+
title = _ref.title,
|
|
30505
|
+
amountGoal = _ref.amountGoal,
|
|
30506
|
+
amountRaised = _ref.amountRaised,
|
|
30507
|
+
donations = _ref.donations,
|
|
30508
|
+
sqSize = _ref.sqSize,
|
|
30509
|
+
strokeWidth = _ref.strokeWidth;
|
|
30510
|
+
return React.createElement("div", {
|
|
30511
|
+
className: cls$w.wrapper,
|
|
30512
|
+
onClick: function onClick() {
|
|
30513
|
+
return window.open(link);
|
|
30514
|
+
}
|
|
30515
|
+
}, React.createElement(FrpClosedImg, {
|
|
30516
|
+
img: img,
|
|
30517
|
+
link: link,
|
|
30518
|
+
title: title
|
|
30519
|
+
}), React.createElement(FrpInfomation$1, {
|
|
30520
|
+
donations: donations,
|
|
30521
|
+
amountRaised: amountRaised,
|
|
30522
|
+
amountGoal: amountGoal,
|
|
30523
|
+
sqSize: sqSize,
|
|
30524
|
+
strokeWidth: strokeWidth
|
|
30525
|
+
}));
|
|
30526
|
+
};
|
|
30527
|
+
|
|
30528
|
+
MyAccountFrpClosed.propTypes = {
|
|
30529
|
+
img: _pt.string,
|
|
30530
|
+
link: _pt.string,
|
|
30531
|
+
title: _pt.string,
|
|
30532
|
+
donations: _pt.number.isRequired,
|
|
30533
|
+
amountRaised: _pt.number.isRequired,
|
|
30534
|
+
amountGoal: _pt.number.isRequired,
|
|
30535
|
+
sqSize: _pt.number.isRequired,
|
|
30536
|
+
strokeWidth: _pt.number.isRequired
|
|
30537
|
+
};
|
|
30538
|
+
|
|
30539
|
+
export { Anchor, Avatar, BoldAnchor, Box, Button, ButtonSelect, CampaignCard, CampaignOfMonth, CharityCard, Checkbox, Chip, Chips, ComboField, ComboFieldExpander, CommentSection, CommentSectionV2, Cropper, DatePicker, DonateCard, DonationForm, DonationFormV2, Elevation, FavoriteCharityItem, FeaturedCampaignCard, FieldHelperText, FieldLabel, Flex, FooterV2, FundraisingSection, Grid, HeartToggle, HeroBnner as HeroBanner, HorizontalBar, Icon, IconButton, IconButtonGroup, Input, InputChips, List, Login, MENU_ANCHOR_CLASS, Menu, MenuList, ListDivider as MenuListDivider, MenuListItem, MenuListItemGraphic, ListItemMeta as MenuListItemMeta, MenuListItemText, MenuSurface, Modal, ModalImage, MyAccountChooseCharityCard, MyAccountFrpClosed, MyAccountFrpPreview, MyAccountSidebar, MyAccountStartFundraiseCard, MyAccountStatsDonated, MyAccountStatsRaised, MyCauseTheme, Navigation$1 as Nav, Navigation$2 as NavMyAccount, Navigation, PartnerChartStats, PartnerMonthlyDonations, PartnerMonthlyStats, PartnerMonthlyTable, PartnerToggleButton, PartnerToggleButtonBlock, PhoneInput, PhoneNumberInput, Popup, ProgressBar, Radio, RadioGroup, Select, SelectHelperText, CustomSingleDatePicker as SingleDatePicker, Spinner, Stack, StartCampaignCard, Statistics, Switch, Tabs, Text, TextField, HelperText as TextFieldHelperText, TextFieldSearch, ThemeContext, ThemeProvider, ThisMonthCard, Uploader, getColorToken, parseNationalPhoneNumber, useTheme };
|
package/dist/index.js
CHANGED
|
@@ -11548,8 +11548,8 @@ function useHover$1() {
|
|
|
11548
11548
|
return [isHovered, bind];
|
|
11549
11549
|
}
|
|
11550
11550
|
|
|
11551
|
-
var css$e = ".nav-module_tabBar__1jJhu {\n height: 75px; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab {\n height: 75px !important; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab .mdc-tab__content .mdc-tab__text-label {\n font-size: 15px !important;\n font-weight: 500; }\n";
|
|
11552
|
-
var cls$e = {"tabBar":"nav-module_tabBar__1jJhu"};
|
|
11551
|
+
var css$e = ".nav-module_tabBar__1jJhu {\n height: 75px; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab {\n height: 75px !important; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab .mdc-tab__content .mdc-tab__text-label {\n font-size: 15px !important;\n font-weight: 500; }\n\n.nav-module_navMyAccount__3a4ID {\n background-color: #fff;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);\n top: 0;\n z-index: 10;\n width: 100%;\n font-family: \"Montserrat\"; }\n .nav-module_navMyAccount__3a4ID .nav-module_container__2QQlH {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 10px 30px; }\n .nav-module_navMyAccount__3a4ID .nav-module_container__2QQlH .nav-module_logoWrap__KFsbv {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 1rem; }\n .nav-module_navMyAccount__3a4ID .nav-module_container__2QQlH .nav-module_leftCover__1ru9L {\n display: flex;\n grid-gap: 48px;\n grid-gap: 48px;\n gap: 48px;\n align-items: center; }\n .nav-module_navMyAccount__3a4ID .nav-module_container__2QQlH .nav-module_leftCover__1ru9L .nav-module_ctaBtn__KXkeB {\n font-size: 16px;\n border-radius: 8px;\n font-weight: 700;\n color: #fff; }\n\n@media (max-width: 768px) {\n .nav-module_navMyAccount__3a4ID .nav-module_leftCover__1ru9L {\n grid-gap: 28px;\n grid-gap: 28px;\n gap: 28px; }\n .nav-module_navMyAccount__3a4ID .nav-module_leftCover__1ru9L .nav-module_ctaBtn__KXkeB {\n font-size: 14px; } }\n\n@media (max-width: 480px) {\n .nav-module_navMyAccount__3a4ID {\n padding: 10px 20px; }\n .nav-module_navMyAccount__3a4ID .nav-module_leftCover__1ru9L {\n grid-gap: 10px;\n grid-gap: 10px;\n gap: 10px; }\n .nav-module_navMyAccount__3a4ID .nav-module_leftCover__1ru9L .nav-module_ctaBtn__KXkeB {\n font-size: 12px;\n height: 40px;\n padding: 0 10px; } }\n";
|
|
11552
|
+
var cls$e = {"tabBar":"nav-module_tabBar__1jJhu","navMyAccount":"nav-module_navMyAccount__3a4ID","container":"nav-module_container__2QQlH","logoWrap":"nav-module_logoWrap__KFsbv","leftCover":"nav-module_leftCover__1ru9L","ctaBtn":"nav-module_ctaBtn__KXkeB"};
|
|
11553
11553
|
styleInject(css$e);
|
|
11554
11554
|
|
|
11555
11555
|
function Navigation$1(_ref) {
|
|
@@ -11832,6 +11832,64 @@ function replace$3(arr, x, val) {
|
|
|
11832
11832
|
});
|
|
11833
11833
|
}
|
|
11834
11834
|
|
|
11835
|
+
function Navigation$2(_ref) {
|
|
11836
|
+
var logo = _ref.logo,
|
|
11837
|
+
cta = _ref.cta,
|
|
11838
|
+
user = _ref.user,
|
|
11839
|
+
login = _ref.login,
|
|
11840
|
+
isSticky = _ref.isSticky,
|
|
11841
|
+
userMenu = _ref.userMenu;
|
|
11842
|
+
|
|
11843
|
+
var _useState = React.useState(),
|
|
11844
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11845
|
+
isUserMenuOpen = _useState2[0],
|
|
11846
|
+
setUserMenuOpen = _useState2[1];
|
|
11847
|
+
|
|
11848
|
+
var prosition = isSticky ? "sticky" : "relative";
|
|
11849
|
+
return React__default.createElement("nav", {
|
|
11850
|
+
className: cls$e.navMyAccount,
|
|
11851
|
+
style: {
|
|
11852
|
+
position: prosition
|
|
11853
|
+
}
|
|
11854
|
+
}, React__default.createElement("div", {
|
|
11855
|
+
className: cls$e.container
|
|
11856
|
+
}, React__default.createElement("div", {
|
|
11857
|
+
className: cls$e.logoWrap
|
|
11858
|
+
}, logo), " ", React__default.createElement("div", {
|
|
11859
|
+
className: cls$e.leftCover
|
|
11860
|
+
}, cta && React__default.createElement(NavigationCallToAction$1, _extends({
|
|
11861
|
+
className: cls$e.ctaBtn,
|
|
11862
|
+
style: {
|
|
11863
|
+
backgroundColor: "".concat(cta.color)
|
|
11864
|
+
}
|
|
11865
|
+
}, cta)), user ? React__default.createElement(NavigationUserMenu$1, {
|
|
11866
|
+
user: user,
|
|
11867
|
+
items: userMenu,
|
|
11868
|
+
isOpen: isUserMenuOpen,
|
|
11869
|
+
onChangeOpen: setUserMenuOpen
|
|
11870
|
+
}) : login && React__default.createElement(NavigationSignInControl$1, {
|
|
11871
|
+
handleonRequestSignIn: login.onLogin,
|
|
11872
|
+
analyticsId: login.analyticsId,
|
|
11873
|
+
color: login.color,
|
|
11874
|
+
noIcon: login.noIcon
|
|
11875
|
+
}))));
|
|
11876
|
+
}
|
|
11877
|
+
|
|
11878
|
+
Navigation$2.propTypes = {
|
|
11879
|
+
logo: _pt.node,
|
|
11880
|
+
cta: _pt.oneOfType([_pt.any, _pt.oneOf([null])]),
|
|
11881
|
+
user: _pt.oneOfType([_pt.any, _pt.oneOf([null])]),
|
|
11882
|
+
login: _pt.oneOfType([_pt.shape({
|
|
11883
|
+
analyticsId: _pt.string,
|
|
11884
|
+
onLogin: _pt.func.isRequired,
|
|
11885
|
+
color: _pt.any,
|
|
11886
|
+
noIcon: _pt.bool
|
|
11887
|
+
}), _pt.oneOf([null])]),
|
|
11888
|
+
isSticky: _pt.bool,
|
|
11889
|
+
menuReverse: _pt.bool,
|
|
11890
|
+
userMenu: _pt.any
|
|
11891
|
+
};
|
|
11892
|
+
|
|
11835
11893
|
var css$f = ".popup-module_wrapper__2a8HZ {\n width: 100%;\n height: 79px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n background-color: #1f4e43; }\n .popup-module_wrapper__2a8HZ .popup-module_title__1amtD {\n padding: 5px;\n font-weight: 700;\n font-size: 16px;\n line-height: 22.4px;\n text-align: center;\n color: white;\n margin-left: 94px;\n margin-right: 24px; }\n .popup-module_wrapper__2a8HZ .popup-module_description__BetQs {\n position: relative;\n color: #b9c3c1;\n padding: 5px;\n font-weight: 500;\n font-size: 16px;\n line-height: 22.4px;\n text-align: center; }\n\n@media all and (max-width: 768px) {\n .popup-module_wrapper__2a8HZ {\n width: 100%;\n height: 119px;\n flex-direction: column;\n align-items: center;\n justify-content: center; }\n .popup-module_wrapper__2a8HZ .popup-module_title__1amtD {\n margin-left: 0px;\n margin-right: 0px; } }\n";
|
|
11836
11894
|
var cls$f = {"wrapper":"popup-module_wrapper__2a8HZ","title":"popup-module_title__1amtD","description":"popup-module_description__BetQs"};
|
|
11837
11895
|
styleInject(css$f);
|
|
@@ -29560,7 +29618,7 @@ MyAccountStartFundraiseCard.propTypes = {
|
|
|
29560
29618
|
width: _pt.string.isRequired
|
|
29561
29619
|
};
|
|
29562
29620
|
|
|
29563
|
-
var css$p = ".my-account-choose-charity-card-module_wrapper__3ne7s {\n height: 226px;\n display: flex;\n align-items: center;\n border-radius: 16px;\n background-color: #F7F7F8;\n font-family: \"Montserrat\", sans-serif;\n justify-content: space-around;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25); }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-around;\n height: 100%;\n padding: 30px 30px 30px 0;\n margin-left: 12%; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n text-align: left;\n color: #404041; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 270px;\n height: 214px;\n margin-left: 50px; }\n\n@media all and (max-width: 768px) {\n .my-account-choose-charity-card-module_wrapper__3ne7s {\n overflow: hidden; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n
|
|
29621
|
+
var css$p = ".my-account-choose-charity-card-module_wrapper__3ne7s {\n height: 226px;\n display: flex;\n align-items: center;\n border-radius: 16px;\n background-color: #F7F7F8;\n font-family: \"Montserrat\", sans-serif;\n justify-content: space-around;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25); }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-around;\n height: 100%;\n padding: 30px 30px 30px 0;\n margin-left: 12%; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n text-align: left;\n color: #404041; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 270px;\n height: 214px;\n margin-left: 50px; }\n\n@media all and (max-width: 768px) {\n .my-account-choose-charity-card-module_wrapper__3ne7s {\n overflow: hidden; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 100%;\n margin-left: 0; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n margin-left: 50px;\n padding: 16px 34px 15px 0px;\n justify-content: space-around;\n z-index: 1; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-size: 24px;\n line-height: 32px; } }\n\n@media all and (max-width: 580px) {\n .my-account-choose-charity-card-module_wrapper__3ne7s {\n overflow: hidden; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 {\n max-width: 40%;\n align-items: center; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 150px;\n margin-left: -16px; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n max-width: 60%;\n margin-left: 24px;\n padding: 40px 20px 40px 0; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-size: 20px;\n line-height: 30px; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 button .mdc-button__label {\n font-size: 14px; } }\n\n@media all and (max-width: 440px) {\n .my-account-choose-charity-card-module_wrapper__3ne7s {\n overflow: hidden; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 {\n max-width: 40%;\n align-items: center; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_leftSide__3S_e3 img {\n width: 150px;\n margin-left: -34px; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 {\n max-width: 90%;\n margin-left: 24px;\n padding: 20px 20px 20px 0; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 .my-account-choose-charity-card-module_title__2CB3U {\n font-size: 16px;\n line-height: 24px; }\n .my-account-choose-charity-card-module_wrapper__3ne7s .my-account-choose-charity-card-module_rightSide__2-yf1 button .mdc-button__label {\n font-size: 14px; } }\n";
|
|
29564
29622
|
var cls$p = {"wrapper":"my-account-choose-charity-card-module_wrapper__3ne7s","rightSide":"my-account-choose-charity-card-module_rightSide__2-yf1","title":"my-account-choose-charity-card-module_title__2CB3U","leftSide":"my-account-choose-charity-card-module_leftSide__3S_e3"};
|
|
29565
29623
|
styleInject(css$p);
|
|
29566
29624
|
|
|
@@ -29852,7 +29910,6 @@ var MyAccountSidebar = function MyAccountSidebar(_ref) {
|
|
|
29852
29910
|
setIsExpand = _useState2[1];
|
|
29853
29911
|
|
|
29854
29912
|
var handleOnChangeActiveTabOnMobile = function handleOnChangeActiveTabOnMobile() {
|
|
29855
|
-
console.log("jjjj");
|
|
29856
29913
|
setIsExpand(false);
|
|
29857
29914
|
};
|
|
29858
29915
|
|
|
@@ -29995,7 +30052,7 @@ MyAccountSidebar.propTypes = {
|
|
|
29995
30052
|
}).isRequired
|
|
29996
30053
|
};
|
|
29997
30054
|
|
|
29998
|
-
var css$s = ".my-account-frp-preview-module_wrapper__dNipd {\n border-radius: 16px;\n background: #fff;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25);\n display: flex;\n font-family: Montserrat;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd:hover .my-account-frp-preview-module_coverImage__2mHgG,\n .my-account-frp-preview-module_wrapper__dNipd:hover .my-account-frp-preview-module_imgOverlay__2nZSr {\n background: rgba(34, 39, 37, 0.2); }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG {\n width: calc(100% - 200px);\n border-radius: 16px 0 0 16px;\n position: relative;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_imgOverlay__2nZSr {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 16px 0 0 16px;\n transition: 0.2s all; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR {\n width: 100%;\n display: flex;\n justify-content: center;\n overflow: hidden;\n border-radius: 16px 0 0 16px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR img.my-account-frp-preview-module_image__1yL3f {\n width: 100%;\n height: auto; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR .my-account-frp-preview-module_noImg__1hY6M {\n background: url(\"./background.png\") no-repeat;\n background-size: cover;\n width: 100%;\n height: 460px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- {\n position: absolute;\n bottom: 0;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0px 0px 0px 16px;\n opacity: 0.95;\n min-height: 80px;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%)); }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 20px;\n line-height: 26px;\n font-weight: 700;\n color: #fff;\n padding: 11px 32px;\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n width: 200px;\n padding: 22px 20px;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye p {\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt {\n margin-bottom: 13px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt .my-account-frp-preview-module_number__2Nd_S {\n font-size: 16px;\n font-weight: 700;\n margin-bottom: 5px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt .my-account-frp-preview-module_text__2CocT {\n font-size: 14px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0 {\n border-radius: 50px;\n border: none;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%));\n padding: 6px 16px;\n font-size: 10px;\n font-weight: 700;\n color: #fff;\n display: flex;\n align-items: center;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0 svg {\n margin-left: 8px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0:hover {\n background: #65a797; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_progress__2cXze {\n margin: 0 0 16px 0; }\n\n@media all and (max-width: 768px) {\n .my-account-frp-preview-module_wrapper__dNipd {\n flex-direction: column; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG {\n width: 100%;\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_imgOverlay__2nZSr {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- {\n border-radius: 0;\n min-height: 0;\n min-height: initial; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 18px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n flex-direction: row;\n width: 100%;\n justify-content: space-around;\n padding: 32px 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_coverItem__1QS20 {\n display: flex;\n flex-direction: column;\n grid-gap: 18px;\n grid-gap: 18px;\n gap: 18px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_coverItem__1QS20 .my-account-frp-preview-module_item__FZTOt {\n margin-bottom: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_progress__2cXze {\n margin: 0 0 20px 0; } }\n\n@media all and (max-width: 480px) {\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 16px;\n padding: 10px 15px;\n line-height: 20px; } }\n\n@media all and (max-width: 400px) {\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 13px;\n line-height: 16px; } }\n";
|
|
30055
|
+
var css$s = ".my-account-frp-preview-module_wrapper__dNipd {\n border-radius: 16px;\n background: #fff;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25);\n display: flex;\n font-family: Montserrat;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd:hover .my-account-frp-preview-module_coverImage__2mHgG,\n .my-account-frp-preview-module_wrapper__dNipd:hover .my-account-frp-preview-module_imgOverlay__2nZSr {\n background: rgba(34, 39, 37, 0.2); }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG {\n width: calc(100% - 200px);\n border-radius: 16px 0 0 16px;\n position: relative;\n cursor: pointer;\n overflow: hidden; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_imgOverlay__2nZSr {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 16px 0 0 16px;\n transition: 0.2s all; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR {\n width: 100%;\n display: flex;\n justify-content: center;\n overflow: hidden;\n border-radius: 16px 0 0 16px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR img.my-account-frp-preview-module_image__1yL3f {\n width: 100%;\n height: auto; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR .my-account-frp-preview-module_noImg__1hY6M {\n background: url(\"./background.png\") no-repeat;\n background-size: cover;\n width: 100%;\n height: 460px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- {\n position: absolute;\n bottom: 0;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0px 0px 0px 16px;\n opacity: 0.95;\n min-height: 80px;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%)); }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 20px;\n line-height: 26px;\n font-weight: 700;\n color: #fff;\n padding: 11px 32px;\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n width: 200px;\n padding: 22px 20px;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye p {\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt {\n margin-bottom: 13px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt .my-account-frp-preview-module_number__2Nd_S {\n font-size: 16px;\n font-weight: 700;\n margin-bottom: 5px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_item__FZTOt .my-account-frp-preview-module_text__2CocT {\n font-size: 14px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0 {\n border-radius: 50px;\n border: none;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%));\n padding: 6px 16px;\n font-size: 10px;\n font-weight: 700;\n color: #fff;\n display: flex;\n align-items: center;\n cursor: pointer; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0 svg {\n margin-left: 8px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_manageBtn__1AYl0:hover {\n background: #65a797; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_progress__2cXze {\n margin: 0 0 16px 0; }\n\n@media all and (max-width: 768px) {\n .my-account-frp-preview-module_wrapper__dNipd {\n flex-direction: column; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG {\n width: 100%;\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_boxImage__1ttYR {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_imgOverlay__2nZSr {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- {\n border-radius: 0;\n min-height: 0;\n min-height: initial; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 18px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n flex-direction: row;\n width: 100%;\n justify-content: space-around;\n padding: 32px 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_coverItem__1QS20 {\n display: flex;\n flex-direction: column;\n grid-gap: 18px;\n grid-gap: 18px;\n gap: 18px; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_coverItem__1QS20 .my-account-frp-preview-module_item__FZTOt {\n margin-bottom: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye .my-account-frp-preview-module_progress__2cXze {\n margin: 0 0 20px 0; } }\n\n@media all and (max-width: 480px) {\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 16px;\n padding: 10px 15px;\n line-height: 20px; } }\n\n@media all and (max-width: 400px) {\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverImage__2mHgG .my-account-frp-preview-module_coverTitle__1sSn- .my-account-frp-preview-module_title__1x_bj {\n font-size: 13px;\n line-height: 16px; } }\n";
|
|
29999
30056
|
var cls$s = {"wrapper":"my-account-frp-preview-module_wrapper__dNipd","coverImage":"my-account-frp-preview-module_coverImage__2mHgG","imgOverlay":"my-account-frp-preview-module_imgOverlay__2nZSr","boxImage":"my-account-frp-preview-module_boxImage__1ttYR","image":"my-account-frp-preview-module_image__1yL3f","noImg":"my-account-frp-preview-module_noImg__1hY6M","coverTitle":"my-account-frp-preview-module_coverTitle__1sSn-","title":"my-account-frp-preview-module_title__1x_bj","coverInfomation":"my-account-frp-preview-module_coverInfomation__2d2Ye","item":"my-account-frp-preview-module_item__FZTOt","number":"my-account-frp-preview-module_number__2Nd_S","text":"my-account-frp-preview-module_text__2CocT","manageBtn":"my-account-frp-preview-module_manageBtn__1AYl0","progress":"my-account-frp-preview-module_progress__2cXze","coverItem":"my-account-frp-preview-module_coverItem__1QS20"};
|
|
30000
30057
|
styleInject(css$s);
|
|
30001
30058
|
|
|
@@ -30112,7 +30169,8 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
30112
30169
|
amountRaised = _ref.amountRaised,
|
|
30113
30170
|
amountGoal = _ref.amountGoal,
|
|
30114
30171
|
sqSize = _ref.sqSize,
|
|
30115
|
-
strokeWidth = _ref.strokeWidth
|
|
30172
|
+
strokeWidth = _ref.strokeWidth,
|
|
30173
|
+
manageLink = _ref.manageLink;
|
|
30116
30174
|
var formatterMoney = new Intl.NumberFormat("en-US", {
|
|
30117
30175
|
style: "currency",
|
|
30118
30176
|
currency: "USD",
|
|
@@ -30163,7 +30221,10 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
30163
30221
|
}, formatterMoney.format(amountRaised).replace("$", "$ ")), " ", React__default.createElement("br", null), "raised of ", React__default.createElement("br", null), " ", Intl.NumberFormat().format(amountGoal), " goal")
|
|
30164
30222
|
})), React__default.createElement("button", {
|
|
30165
30223
|
className: cls$s.manageBtn,
|
|
30166
|
-
color: "greenLinear"
|
|
30224
|
+
color: "greenLinear",
|
|
30225
|
+
onClick: function onClick() {
|
|
30226
|
+
return window.open(manageLink);
|
|
30227
|
+
}
|
|
30167
30228
|
}, "Manage Campaign ", React__default.createElement(Icons$1.arrowNext, null))));
|
|
30168
30229
|
};
|
|
30169
30230
|
|
|
@@ -30174,7 +30235,8 @@ FrpInfomation.propTypes = {
|
|
|
30174
30235
|
amountRaised: _pt.number.isRequired,
|
|
30175
30236
|
amountGoal: _pt.number.isRequired,
|
|
30176
30237
|
sqSize: _pt.number.isRequired,
|
|
30177
|
-
strokeWidth: _pt.number.isRequired
|
|
30238
|
+
strokeWidth: _pt.number.isRequired,
|
|
30239
|
+
manageLink: _pt.string
|
|
30178
30240
|
};
|
|
30179
30241
|
|
|
30180
30242
|
var MyAccountFrpPreview = function MyAccountFrpPreview(_ref) {
|
|
@@ -30187,7 +30249,8 @@ var MyAccountFrpPreview = function MyAccountFrpPreview(_ref) {
|
|
|
30187
30249
|
donations = _ref.donations,
|
|
30188
30250
|
sqSize = _ref.sqSize,
|
|
30189
30251
|
strokeWidth = _ref.strokeWidth,
|
|
30190
|
-
daysToGo = _ref.daysToGo
|
|
30252
|
+
daysToGo = _ref.daysToGo,
|
|
30253
|
+
manageLink = _ref.manageLink;
|
|
30191
30254
|
return React__default.createElement("div", {
|
|
30192
30255
|
className: cls$s.wrapper,
|
|
30193
30256
|
onClick: function onClick() {
|
|
@@ -30204,7 +30267,8 @@ var MyAccountFrpPreview = function MyAccountFrpPreview(_ref) {
|
|
|
30204
30267
|
amountRaised: amountRaised,
|
|
30205
30268
|
amountGoal: amountGoal,
|
|
30206
30269
|
sqSize: sqSize,
|
|
30207
|
-
strokeWidth: strokeWidth
|
|
30270
|
+
strokeWidth: strokeWidth,
|
|
30271
|
+
manageLink: manageLink
|
|
30208
30272
|
}));
|
|
30209
30273
|
};
|
|
30210
30274
|
|
|
@@ -30218,7 +30282,8 @@ MyAccountFrpPreview.propTypes = {
|
|
|
30218
30282
|
amountRaised: _pt.number.isRequired,
|
|
30219
30283
|
amountGoal: _pt.number.isRequired,
|
|
30220
30284
|
sqSize: _pt.number.isRequired,
|
|
30221
|
-
strokeWidth: _pt.number.isRequired
|
|
30285
|
+
strokeWidth: _pt.number.isRequired,
|
|
30286
|
+
manageLink: _pt.string
|
|
30222
30287
|
};
|
|
30223
30288
|
|
|
30224
30289
|
var css$t = ".my-account-stats-donated-module_wrapper__2204E {\n width: 100%;\n border-radius: 16px;\n background: #f2f8f1;\n position: relative;\n font-family: Montserrat;\n text-align: center;\n min-height: 312px;\n display: flex;\n justify-content: center;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25); }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_picture__WCuVs {\n position: absolute;\n top: 45px;\n right: 25px; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE {\n padding-top: 32px;\n max-width: 300px; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_title__2d6nq {\n font-size: 20px;\n font-weight: 700;\n color: #2d8a75;\n padding-bottom: 13px;\n margin: 0; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_number__1cP4D {\n font-size: 24px;\n font-weight: 700;\n color: #2d8a75;\n margin: 10px 0; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_text__293Ij {\n font-size: 16px;\n font-weight: 400;\n color: #404041;\n margin: 0;\n padding-bottom: 24px; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_text__293Ij .my-account-stats-donated-module_num__3-ePn {\n font-weight: 700;\n color: #2d8a75; }\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_content__rIydE .my-account-stats-donated-module_view__Faeo3 {\n color: #2D8A75;\n font-size: 14px;\n text-decoration: none; }\n\n@media screen and (max-width: 768px) {\n .my-account-stats-donated-module_wrapper__2204E .my-account-stats-donated-module_picture__WCuVs {\n display: none; } }\n";
|
|
@@ -30354,6 +30419,137 @@ Input.propTypes = {
|
|
|
30354
30419
|
error: _pt.oneOfType([_pt.string, _pt.oneOf([null]), _pt.bool])
|
|
30355
30420
|
};
|
|
30356
30421
|
|
|
30422
|
+
var css$w = ".my-account-frp-closed-module_wrapper__1I9n9 {\n border-radius: 16px;\n background: #fff;\n box-shadow: 1px 1px 8px 0px rgba(110, 110, 110, 0.1), 8px 8px 24px 0px rgba(139, 162, 179, 0.25);\n display: flex;\n font-family: Montserrat;\n cursor: pointer; }\n .my-account-frp-closed-module_wrapper__1I9n9:hover .my-account-frp-closed-module_coverImage__UyIdc,\n .my-account-frp-closed-module_wrapper__1I9n9:hover .my-account-frp-closed-module_imgOverlay__2KJdC {\n background: rgba(34, 39, 37, 0.2); }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc {\n width: calc(100% - 200px);\n border-radius: 16px 0 0 16px;\n position: relative;\n cursor: pointer;\n opacity: 0.6;\n overflow: hidden; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_imgOverlay__2KJdC {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 16px 0 0 16px;\n transition: 0.2s all; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x {\n width: 100%;\n display: flex;\n justify-content: center;\n overflow: hidden;\n border-radius: 16px 0 0 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x img.my-account-frp-closed-module_image__3FAn3 {\n width: 100%;\n height: auto; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x .my-account-frp-closed-module_noImg__1Ktbc {\n background: url(\"./background.png\") no-repeat;\n background-size: cover;\n width: 100%;\n height: 460px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R {\n position: absolute;\n bottom: 0;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0px 0px 0px 16px;\n min-height: 80px;\n opacity: 0.95;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%)); }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 20px;\n line-height: 26px;\n font-weight: 700;\n color: #fff;\n padding: 11px 32px;\n margin: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L {\n width: 200px;\n padding: 50px 30px;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L p {\n margin: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 {\n margin-bottom: 16px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_number__2Uyn9 {\n font-size: 16px;\n font-weight: 700;\n margin-bottom: 5px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_item__1S1Q4 .my-account-frp-closed-module_text__E7Tjr {\n font-size: 14px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu {\n border-radius: 50px;\n border: none;\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%);\n background: var(--Green-Linear, linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%));\n padding: 8px 16px;\n font-size: 10px;\n font-weight: 700;\n color: #fff;\n display: flex;\n align-items: center;\n cursor: pointer; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu svg {\n margin-left: 8px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_manageBtn__3pzfu:hover {\n background: #65a797; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_progress__2tfwn {\n margin: 0 0 16px 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverRight__3b5oY {\n display: flex;\n flex-direction: column;\n align-items: center; }\n\n@media all and (max-width: 768px) {\n .my-account-frp-closed-module_wrapper__1I9n9 {\n flex-direction: column; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc {\n width: 100%;\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_boxImage__3lh3x {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_imgOverlay__2KJdC {\n border-radius: 16px 16px 0 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R {\n border-radius: 0;\n min-height: 0;\n min-height: initial; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 18px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L {\n flex-direction: row;\n width: 100%;\n justify-content: space-around;\n padding: 32px 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverItem__2i2wT {\n display: flex;\n flex-direction: column;\n grid-gap: 18px;\n grid-gap: 18px;\n gap: 18px; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_coverItem__2i2wT .my-account-frp-closed-module_item__1S1Q4 {\n margin-bottom: 0; }\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverInfomation__wrS7L .my-account-frp-closed-module_progress__2tfwn {\n margin: 0 0 20px 0; } }\n\n@media all and (max-width: 480px) {\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 16px;\n padding: 10px 15px;\n line-height: 20px; } }\n\n@media all and (max-width: 400px) {\n .my-account-frp-closed-module_wrapper__1I9n9 .my-account-frp-closed-module_coverImage__UyIdc .my-account-frp-closed-module_coverTitle__3OQ7R .my-account-frp-closed-module_title__3M0pI {\n font-size: 13px;\n line-height: 16px; } }\n";
|
|
30423
|
+
var cls$w = {"wrapper":"my-account-frp-closed-module_wrapper__1I9n9","coverImage":"my-account-frp-closed-module_coverImage__UyIdc","imgOverlay":"my-account-frp-closed-module_imgOverlay__2KJdC","boxImage":"my-account-frp-closed-module_boxImage__3lh3x","image":"my-account-frp-closed-module_image__3FAn3","noImg":"my-account-frp-closed-module_noImg__1Ktbc","coverTitle":"my-account-frp-closed-module_coverTitle__3OQ7R","title":"my-account-frp-closed-module_title__3M0pI","coverInfomation":"my-account-frp-closed-module_coverInfomation__wrS7L","item":"my-account-frp-closed-module_item__1S1Q4","number":"my-account-frp-closed-module_number__2Uyn9","text":"my-account-frp-closed-module_text__E7Tjr","manageBtn":"my-account-frp-closed-module_manageBtn__3pzfu","progress":"my-account-frp-closed-module_progress__2tfwn","coverRight":"my-account-frp-closed-module_coverRight__3b5oY","coverItem":"my-account-frp-closed-module_coverItem__2i2wT"};
|
|
30424
|
+
styleInject(css$w);
|
|
30425
|
+
|
|
30426
|
+
var FrpClosedImg = function FrpClosedImg(_ref) {
|
|
30427
|
+
var img = _ref.img,
|
|
30428
|
+
link = _ref.link,
|
|
30429
|
+
title = _ref.title;
|
|
30430
|
+
return React__default.createElement("div", {
|
|
30431
|
+
className: cls$w.coverImage
|
|
30432
|
+
}, React__default.createElement("div", {
|
|
30433
|
+
className: cls$w.imgOverlay
|
|
30434
|
+
}), React__default.createElement("div", {
|
|
30435
|
+
className: cls$w.boxImage
|
|
30436
|
+
}, img ? React__default.createElement("img", {
|
|
30437
|
+
className: cls$w.image,
|
|
30438
|
+
src: img,
|
|
30439
|
+
alt: ""
|
|
30440
|
+
}) : React__default.createElement("div", {
|
|
30441
|
+
className: cls$w.noImg
|
|
30442
|
+
})), React__default.createElement("div", {
|
|
30443
|
+
className: cls$w.coverTitle
|
|
30444
|
+
}, React__default.createElement("p", {
|
|
30445
|
+
className: cls$w.title
|
|
30446
|
+
}, title)));
|
|
30447
|
+
};
|
|
30448
|
+
|
|
30449
|
+
FrpClosedImg.propTypes = {
|
|
30450
|
+
img: _pt.string,
|
|
30451
|
+
link: _pt.string,
|
|
30452
|
+
title: _pt.string
|
|
30453
|
+
};
|
|
30454
|
+
|
|
30455
|
+
var FrpInfomation$1 = function FrpInfomation(_ref) {
|
|
30456
|
+
var donations = _ref.donations,
|
|
30457
|
+
amountRaised = _ref.amountRaised,
|
|
30458
|
+
amountGoal = _ref.amountGoal,
|
|
30459
|
+
sqSize = _ref.sqSize,
|
|
30460
|
+
strokeWidth = _ref.strokeWidth;
|
|
30461
|
+
var formatterMoney = new Intl.NumberFormat("en-US", {
|
|
30462
|
+
style: "currency",
|
|
30463
|
+
currency: "USD",
|
|
30464
|
+
minimumFractionDigits: 0
|
|
30465
|
+
});
|
|
30466
|
+
return React__default.createElement("div", {
|
|
30467
|
+
className: cls$w.coverInfomation
|
|
30468
|
+
}, React__default.createElement("div", {
|
|
30469
|
+
className: cls$w.coverItem
|
|
30470
|
+
}, React__default.createElement("div", {
|
|
30471
|
+
className: cls$w.item
|
|
30472
|
+
}, React__default.createElement("p", {
|
|
30473
|
+
className: cls$w.number
|
|
30474
|
+
}, donations), React__default.createElement("p", {
|
|
30475
|
+
className: cls$w.text
|
|
30476
|
+
}, "Donations")), React__default.createElement("div", {
|
|
30477
|
+
className: cls$w.progress
|
|
30478
|
+
}, React__default.createElement(CircularProgress, {
|
|
30479
|
+
percentage: amountRaised / amountGoal * 100,
|
|
30480
|
+
sqSize: sqSize,
|
|
30481
|
+
strokeWidth: strokeWidth,
|
|
30482
|
+
color: "#2D8A75",
|
|
30483
|
+
centerContent: React__default.createElement("p", {
|
|
30484
|
+
className: "text",
|
|
30485
|
+
style: {
|
|
30486
|
+
fontSize: "10px",
|
|
30487
|
+
lineHeight: 1.5
|
|
30488
|
+
}
|
|
30489
|
+
}, React__default.createElement("span", {
|
|
30490
|
+
style: {
|
|
30491
|
+
fontSize: "14px",
|
|
30492
|
+
fontWeight: 700
|
|
30493
|
+
}
|
|
30494
|
+
}, formatterMoney.format(amountRaised).replace("$", "$ ")), React__default.createElement("br", null), "raised of ", React__default.createElement("br", null), " ", Intl.NumberFormat().format(amountGoal), " goal")
|
|
30495
|
+
}))), React__default.createElement("div", {
|
|
30496
|
+
className: cls$w.coverRight
|
|
30497
|
+
}, React__default.createElement("div", {
|
|
30498
|
+
className: cls$w.item
|
|
30499
|
+
}, React__default.createElement("p", {
|
|
30500
|
+
className: cls$w.text
|
|
30501
|
+
}, "This campaign is now closed.")), React__default.createElement("button", {
|
|
30502
|
+
className: cls$w.manageBtn,
|
|
30503
|
+
color: "greenLinear"
|
|
30504
|
+
}, "View page")));
|
|
30505
|
+
};
|
|
30506
|
+
|
|
30507
|
+
FrpInfomation$1.propTypes = {
|
|
30508
|
+
donations: _pt.number.isRequired,
|
|
30509
|
+
amountRaised: _pt.number.isRequired,
|
|
30510
|
+
amountGoal: _pt.number.isRequired,
|
|
30511
|
+
sqSize: _pt.number.isRequired,
|
|
30512
|
+
strokeWidth: _pt.number.isRequired
|
|
30513
|
+
};
|
|
30514
|
+
|
|
30515
|
+
var MyAccountFrpClosed = function MyAccountFrpClosed(_ref) {
|
|
30516
|
+
var img = _ref.img,
|
|
30517
|
+
link = _ref.link,
|
|
30518
|
+
title = _ref.title,
|
|
30519
|
+
amountGoal = _ref.amountGoal,
|
|
30520
|
+
amountRaised = _ref.amountRaised,
|
|
30521
|
+
donations = _ref.donations,
|
|
30522
|
+
sqSize = _ref.sqSize,
|
|
30523
|
+
strokeWidth = _ref.strokeWidth;
|
|
30524
|
+
return React__default.createElement("div", {
|
|
30525
|
+
className: cls$w.wrapper,
|
|
30526
|
+
onClick: function onClick() {
|
|
30527
|
+
return window.open(link);
|
|
30528
|
+
}
|
|
30529
|
+
}, React__default.createElement(FrpClosedImg, {
|
|
30530
|
+
img: img,
|
|
30531
|
+
link: link,
|
|
30532
|
+
title: title
|
|
30533
|
+
}), React__default.createElement(FrpInfomation$1, {
|
|
30534
|
+
donations: donations,
|
|
30535
|
+
amountRaised: amountRaised,
|
|
30536
|
+
amountGoal: amountGoal,
|
|
30537
|
+
sqSize: sqSize,
|
|
30538
|
+
strokeWidth: strokeWidth
|
|
30539
|
+
}));
|
|
30540
|
+
};
|
|
30541
|
+
|
|
30542
|
+
MyAccountFrpClosed.propTypes = {
|
|
30543
|
+
img: _pt.string,
|
|
30544
|
+
link: _pt.string,
|
|
30545
|
+
title: _pt.string,
|
|
30546
|
+
donations: _pt.number.isRequired,
|
|
30547
|
+
amountRaised: _pt.number.isRequired,
|
|
30548
|
+
amountGoal: _pt.number.isRequired,
|
|
30549
|
+
sqSize: _pt.number.isRequired,
|
|
30550
|
+
strokeWidth: _pt.number.isRequired
|
|
30551
|
+
};
|
|
30552
|
+
|
|
30357
30553
|
exports._React = React__default;
|
|
30358
30554
|
Object.defineProperty(exports, 'MenuCorner', {
|
|
30359
30555
|
enumerable: true,
|
|
@@ -30413,6 +30609,7 @@ exports.MenuSurface = MenuSurface__default;
|
|
|
30413
30609
|
exports.Modal = Modal;
|
|
30414
30610
|
exports.ModalImage = ModalImage;
|
|
30415
30611
|
exports.MyAccountChooseCharityCard = MyAccountChooseCharityCard;
|
|
30612
|
+
exports.MyAccountFrpClosed = MyAccountFrpClosed;
|
|
30416
30613
|
exports.MyAccountFrpPreview = MyAccountFrpPreview;
|
|
30417
30614
|
exports.MyAccountSidebar = MyAccountSidebar;
|
|
30418
30615
|
exports.MyAccountStartFundraiseCard = MyAccountStartFundraiseCard;
|
|
@@ -30420,6 +30617,7 @@ exports.MyAccountStatsDonated = MyAccountStatsDonated;
|
|
|
30420
30617
|
exports.MyAccountStatsRaised = MyAccountStatsRaised;
|
|
30421
30618
|
exports.MyCauseTheme = MyCauseTheme;
|
|
30422
30619
|
exports.Nav = Navigation$1;
|
|
30620
|
+
exports.NavMyAccount = Navigation$2;
|
|
30423
30621
|
exports.Navigation = Navigation;
|
|
30424
30622
|
exports.PartnerChartStats = PartnerChartStats;
|
|
30425
30623
|
exports.PartnerMonthlyDonations = PartnerMonthlyDonations;
|