@mycause/ui 0.0.0-ca33a864 → 0.0.0-ca3c9629
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/green-dashboard-sidebar/Icon.d.ts +11 -0
- package/dist/components/green-dashboard-sidebar/green-dashboard-sidebar.d.ts +12 -3
- package/dist/components/line-chart/index.d.ts +2 -1
- package/dist/components/modal/modalImage.d.ts +8 -0
- package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +6 -0
- package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +2 -1
- package/dist/components/partner-dashboard-chart/chart.d.ts +3 -0
- package/dist/components/{start-campaign-card copy/start-campaign-card.stories.d.ts → partner-dashboard-chart/chart.stories.d.ts} +2 -2
- package/dist/components/partner-dashboard-chart/index.d.ts +1 -0
- package/dist/index.esm.js +31 -12
- package/dist/index.js +44 -24
- package/package.json +1 -1
- package/dist/components/choose-/index.d.ts +0 -1
- package/dist/components/choose-/start-fundraise-card.d.ts +0 -10
- package/dist/components/choose-/start-fundraise-card.stories.d.ts +0 -14
- package/dist/components/choose-charity-card/start-fundraise-card.d.ts +0 -10
- package/dist/components/choose-charity-card/start-fundraise-card.stories.d.ts +0 -14
- package/dist/components/choose-charity-card copy/choose-charity-card.d.ts +0 -10
- package/dist/components/choose-charity-card copy/choose-charity-card.stories.d.ts +0 -14
- package/dist/components/choose-charity-card copy/index.d.ts +0 -1
- package/dist/components/favorite-charity-item/choose-charity-card.d.ts +0 -10
- package/dist/components/favorite-charity-item/choose-charity-card.stories.d.ts +0 -14
- package/dist/components/line-chart/line-chart-component.d.ts +0 -6
- package/dist/components/line-chart/line-chart.d.ts +0 -6
- package/dist/components/line-chart/line-chart.stories.d.ts +0 -9
- package/dist/components/line-chart/parnert-line-chart.d.ts +0 -3
- package/dist/components/line-chart/parnert-line-chart.stories.d.ts +0 -12
- package/dist/components/line-chart/partner-line-chart-block copy.d.ts +0 -0
- package/dist/components/line-chart/partner-line-chart.stories-block.d.ts +0 -12
- package/dist/components/line-chart/partner-line-chart.stories.d.ts +0 -12
- package/dist/components/line-chart copy/index.d.ts +0 -2
- package/dist/components/line-chart copy/partner-line-chart-block.d.ts +0 -10
- package/dist/components/line-chart copy/partner-line-chart-block.stories.d.ts +0 -12
- package/dist/components/line-chart copy/partner-line-chart.d.ts +0 -3
- package/dist/components/line-chartjs/index.d.ts +0 -1
- package/dist/components/line-chartjs/partner-line-chart-block.d.ts +0 -10
- package/dist/components/line-chartjs/partner-line-chart-block.stories.d.ts +0 -12
- package/dist/components/line-chartjs/partner-line-chart.d.ts +0 -3
- package/dist/components/my-account-choose-charity-card/choose-charity-card.d.ts +0 -10
- package/dist/components/my-account-choose-charity-card/choose-charity-card.stories.d.ts +0 -14
- package/dist/components/my-account-start-fundraise-card/start-fundraise-card.d.ts +0 -10
- package/dist/components/my-account-start-fundraise-card/start-fundraise-card.stories.d.ts +0 -14
- package/dist/components/parnert-monthly-stats/index.d.ts +0 -1
- package/dist/components/parnert-monthly-stats/parnert-monthly-stats.d.ts +0 -7
- package/dist/components/parnert-monthly-stats/parnert-monthly-stats.stories.d.ts +0 -12
- package/dist/components/partner-chart-stats/partner-monthly-stats.d.ts +0 -7
- package/dist/components/partner-chart-stats/partner-monthly-stats.stories.d.ts +0 -12
- package/dist/components/partner-monthly-stats copy/index.d.ts +0 -1
- package/dist/components/partner-monthly-stats copy/partner-monthly-stats.d.ts +0 -7
- package/dist/components/partner-monthly-stats copy/partner-monthly-stats.stories.d.ts +0 -12
- package/dist/components/partner-monthly-table/index.d.ts +0 -1
- package/dist/components/partner-monthly-table/partner-monthly-table.d.ts +0 -7
- package/dist/components/partner-monthly-table/partner-monthly-table.stories.d.ts +0 -12
- package/dist/components/partner-thismonth-stats/index.d.ts +0 -1
- package/dist/components/partner-thismonth-stats/partner-monthly-stats.d.ts +0 -7
- package/dist/components/partner-thismonth-stats/partner-monthly-stats.stories.d.ts +0 -12
- package/dist/components/start-campaign-card copy/index.d.ts +0 -1
- package/dist/components/start-campaign-card copy/start-campaign-card.d.ts +0 -8
- package/dist/components/start-fundraise-card/start-campaign-card.d.ts +0 -8
- package/dist/components/start-fundraise-card/start-campaign-card.stories.d.ts +0 -14
- package/dist/components/start-fundraise-card copy/index.d.ts +0 -1
- package/dist/components/start-fundraise-card copy/start-fundraise-card.d.ts +0 -10
- package/dist/components/start-fundraise-card copy/start-fundraise-card.stories.d.ts +0 -14
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Icons: {
|
|
3
|
+
dashboard: (props?: {}) => JSX.Element;
|
|
4
|
+
collapse: (props?: {}) => JSX.Element;
|
|
5
|
+
expand: () => JSX.Element;
|
|
6
|
+
donations: () => JSX.Element;
|
|
7
|
+
account: () => JSX.Element;
|
|
8
|
+
support: () => JSX.Element;
|
|
9
|
+
additional: () => JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
export default Icons;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export interface
|
|
3
|
-
|
|
2
|
+
export interface GreenDashboardSidebarProps {
|
|
3
|
+
listMenu: Array<ItemMenu>;
|
|
4
|
+
noDashboard?: boolean;
|
|
5
|
+
noAccount?: boolean;
|
|
6
|
+
noContract?: boolean;
|
|
4
7
|
}
|
|
5
|
-
declare
|
|
8
|
+
declare type ItemMenu = {
|
|
9
|
+
id: string;
|
|
10
|
+
icon: any;
|
|
11
|
+
label: string;
|
|
12
|
+
href?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const GreenDashboardSidebar: ({ listMenu, noDashboard, noAccount, noContract, }: GreenDashboardSidebarProps) => JSX.Element;
|
|
6
15
|
export default GreenDashboardSidebar;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as PartnerLineChart } from "./partner-line-chart";
|
|
2
|
+
export { default as PartnerLineChartBlock } from "./partner-line-chart-block";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ModalImasgeProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
modalImageSrc: string;
|
|
5
|
+
toggleModal: (arg: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const ModalImage: ({ isOpen, modalImageSrc, toggleModal, }: ModalImasgeProps) => JSX.Element;
|
|
8
|
+
export default ModalImage;
|
|
@@ -10,6 +10,12 @@ export declare const MyAccountFrpPreviewStory: {
|
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
+
export declare const MyAccountFrpPreviewStoryV3: {
|
|
14
|
+
(): JSX.Element;
|
|
15
|
+
story: {
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
13
19
|
export declare const MyAccountFrpPreviewStoryV2: {
|
|
14
20
|
(): JSX.Element;
|
|
15
21
|
story: {
|
|
@@ -4,6 +4,7 @@ export interface MyAccountSidebarProps {
|
|
|
4
4
|
dashboard: ItemMenu;
|
|
5
5
|
account?: ItemMenu;
|
|
6
6
|
contract?: ItemMenu;
|
|
7
|
+
handleSetOverlay: () => void;
|
|
7
8
|
}
|
|
8
9
|
declare type ItemMenu = {
|
|
9
10
|
id: string;
|
|
@@ -11,5 +12,5 @@ declare type ItemMenu = {
|
|
|
11
12
|
label: string;
|
|
12
13
|
href?: string;
|
|
13
14
|
};
|
|
14
|
-
declare const MyAccountSidebar: ({ listMenu, dashboard, account, contract, }: MyAccountSidebarProps) => JSX.Element;
|
|
15
|
+
declare const MyAccountSidebar: ({ listMenu, dashboard, account, contract, handleSetOverlay, }: MyAccountSidebarProps) => JSX.Element;
|
|
15
16
|
export default MyAccountSidebar;
|
|
@@ -3,10 +3,10 @@ import CenterDecorator from "../../utils/center-decorator";
|
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: (
|
|
6
|
+
component: () => JSX.Element;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const progressbar: {
|
|
10
10
|
(): JSX.Element;
|
|
11
11
|
story: {
|
|
12
12
|
name: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Chart } from "./chart";
|
package/dist/index.esm.js
CHANGED
|
@@ -23,7 +23,7 @@ import MDCTabBar from '@material/react-tab-bar';
|
|
|
23
23
|
import MDCTab from '@material/react-tab';
|
|
24
24
|
import Cookie from 'js-cookie';
|
|
25
25
|
import Dialog, { DialogContent, DialogFooter } from '@material/react-dialog';
|
|
26
|
-
import useMedia from 'use-media';
|
|
26
|
+
import useMedia, { useMedia as useMedia$1 } from 'use-media';
|
|
27
27
|
import MDCRadio, { NativeRadioControl } from '@material/react-radio';
|
|
28
28
|
import MDCSwitch from '@material/react-switch';
|
|
29
29
|
import Dropzone from 'react-dropzone-uploader';
|
|
@@ -29518,7 +29518,7 @@ FavoriteCharityItem.propTypes = {
|
|
|
29518
29518
|
width: _pt.string.isRequired
|
|
29519
29519
|
};
|
|
29520
29520
|
|
|
29521
|
-
var css$q = ".my-account-sidebar-module_wrapper__2prH6 {\n transition: all 0.2s ease;\n background: #fff;\n height: 100vh;\n box-shadow: 2px 2px 8px 0px rgba(123, 109, 109, 0.25);\n font-family: Montserrat;\n font-size: 14px;\n font-weight: 400;\n color: #404041; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_expand__1m2Vs {\n min-width: 260px;\n width: 260px; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 {\n min-width: 64px;\n width: 64px; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 p.my-account-sidebar-module_label__3RALd,\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 .my-account-sidebar-module_additional__1EeN2 {\n opacity: 0; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 {\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 p {\n color: #fff;\n font-weight: 700; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 svg path {\n fill: #fff !important; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc {\n display: flex;\n align-items: center;\n padding-left: 16px;\n text-decoration: none;\n color: #404041;\n height: 50px;\n cursor: pointer; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc p.my-account-sidebar-module_label__3RALd {\n padding-left: 8px;\n position: absolute;\n left: 58px; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc svg {\n width: 36px; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover {\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover p {\n color: #fff;\n font-weight: 700; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover svg path {\n fill: #fff !important; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc svg path {\n fill: #2d8a75; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc .my-account-sidebar-module_label__3RALd {\n opacity: 1; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc .my-account-sidebar-module_hiden__xtlWO {\n width: 0; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_account__sruAN {\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid var(--Stroke, #e2e2e2);\n border-top: 1px solid #e2e2e2;\n border-top: 1px solid #e2e2e2;\n border-top: 1px solid var(--Stroke, #e2e2e2);\n display: flex;\n justify-content: space-between; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_account__sruAN .my-account-sidebar-module_coverLabel__2obOx {\n display: flex;\n align-items: center; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_collapse__2X0m7 {\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid var(--Stroke, #e2e2e2); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_additional__1EeN2 svg path {\n fill: #acacac; }\n";
|
|
29521
|
+
var css$q = ".my-account-sidebar-module_wrapper__2prH6 {\n transition: all 0.2s ease;\n background: #fff;\n height: 100%;\n min-height: 100vh;\n box-shadow: 2px 2px 8px 0px rgba(123, 109, 109, 0.25);\n font-family: Montserrat;\n font-size: 14px;\n font-weight: 400;\n color: #404041; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_expand__1m2Vs {\n min-width: 260px;\n width: 260px; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 {\n min-width: 64px;\n width: 64px; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 p.my-account-sidebar-module_label__3RALd,\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 .my-account-sidebar-module_additional__1EeN2 {\n opacity: 0; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 {\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 p {\n color: #fff;\n font-weight: 700; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 svg path {\n fill: #fff !important; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc {\n display: flex;\n align-items: center;\n padding-left: 16px;\n text-decoration: none;\n color: #404041;\n height: 50px;\n cursor: pointer; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc p.my-account-sidebar-module_label__3RALd {\n padding-left: 8px;\n position: absolute;\n left: 58px; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc svg {\n width: 36px; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover {\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover p {\n color: #fff;\n font-weight: 700; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover svg path {\n fill: #fff !important; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc svg path {\n fill: #2d8a75; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc .my-account-sidebar-module_label__3RALd {\n opacity: 1; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc .my-account-sidebar-module_hiden__xtlWO {\n width: 0; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_account__sruAN {\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid var(--Stroke, #e2e2e2);\n border-top: 1px solid #e2e2e2;\n border-top: 1px solid #e2e2e2;\n border-top: 1px solid var(--Stroke, #e2e2e2);\n display: flex;\n justify-content: space-between; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_account__sruAN .my-account-sidebar-module_coverLabel__2obOx {\n display: flex;\n align-items: center; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_collapse__2X0m7 {\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid var(--Stroke, #e2e2e2); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_additional__1EeN2 svg path {\n fill: #acacac; }\n\n@media all and (max-width: 1070px) {\n .my-account-sidebar-module_wrapper__2prH6 {\n position: fixed;\n z-index: 9; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc p.my-account-sidebar-module_label__3RALd {\n width: 200px; } }\n";
|
|
29522
29522
|
var cls$q = {"wrapper":"my-account-sidebar-module_wrapper__2prH6","expand":"my-account-sidebar-module_expand__1m2Vs","collapse":"my-account-sidebar-module_collapse__2X0m7","label":"my-account-sidebar-module_label__3RALd","additional":"my-account-sidebar-module_additional__1EeN2","active":"my-account-sidebar-module_active__f-nw8","item":"my-account-sidebar-module_item__1nSgc","hiden":"my-account-sidebar-module_hiden__xtlWO","account":"my-account-sidebar-module_account__sruAN","coverLabel":"my-account-sidebar-module_coverLabel__2obOx"};
|
|
29523
29523
|
styleInject(css$q);
|
|
29524
29524
|
|
|
@@ -29630,7 +29630,8 @@ var MyAccountSidebar = function MyAccountSidebar(_ref) {
|
|
|
29630
29630
|
var listMenu = _ref.listMenu,
|
|
29631
29631
|
dashboard = _ref.dashboard,
|
|
29632
29632
|
account = _ref.account,
|
|
29633
|
-
contract = _ref.contract
|
|
29633
|
+
contract = _ref.contract,
|
|
29634
|
+
handleSetOverlay = _ref.handleSetOverlay;
|
|
29634
29635
|
|
|
29635
29636
|
var _useState = useState(dashboard.id),
|
|
29636
29637
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -29646,8 +29647,23 @@ var MyAccountSidebar = function MyAccountSidebar(_ref) {
|
|
|
29646
29647
|
setTabActive(id);
|
|
29647
29648
|
};
|
|
29648
29649
|
|
|
29650
|
+
var isMedium = useMedia$1("screen and (max-width: 1070px)");
|
|
29651
|
+
|
|
29652
|
+
var hanldeCollapse = function hanldeCollapse() {
|
|
29653
|
+
setIsExpand(!isExpand);
|
|
29654
|
+
|
|
29655
|
+
if (isMedium) {
|
|
29656
|
+
handleSetOverlay();
|
|
29657
|
+
}
|
|
29658
|
+
};
|
|
29659
|
+
|
|
29660
|
+
useEffect(function () {
|
|
29661
|
+
if (isMedium) {
|
|
29662
|
+
setIsExpand(false);
|
|
29663
|
+
}
|
|
29664
|
+
}, [isMedium]);
|
|
29649
29665
|
return React.createElement("div", {
|
|
29650
|
-
className: classnames(cls$q.wrapper, cls$q.sidebar, isExpand ? cls$q.
|
|
29666
|
+
className: classnames(cls$q.wrapper, cls$q.sidebar, !isExpand ? cls$q.collapse : cls$q.expand)
|
|
29651
29667
|
}, dashboard && React.createElement("a", {
|
|
29652
29668
|
className: classnames(cls$q.item, tabActive === dashboard.id && cls$q.active),
|
|
29653
29669
|
onClick: function onClick() {
|
|
@@ -29658,9 +29674,7 @@ var MyAccountSidebar = function MyAccountSidebar(_ref) {
|
|
|
29658
29674
|
className: cls$q.label
|
|
29659
29675
|
}, dashboard.label)), React.createElement("div", {
|
|
29660
29676
|
className: cls$q.item,
|
|
29661
|
-
onClick:
|
|
29662
|
-
return setIsExpand(!isExpand);
|
|
29663
|
-
}
|
|
29677
|
+
onClick: hanldeCollapse
|
|
29664
29678
|
}, isExpand ? React.createElement(Icons.collapse, null) : React.createElement(Icons.expand, null), React.createElement("p", {
|
|
29665
29679
|
className: cls$q.label
|
|
29666
29680
|
}, collapse.label)), listMenu.map(function (item) {
|
|
@@ -29716,11 +29730,12 @@ MyAccountSidebar.propTypes = {
|
|
|
29716
29730
|
icon: _pt.any.isRequired,
|
|
29717
29731
|
label: _pt.string.isRequired,
|
|
29718
29732
|
href: _pt.string
|
|
29719
|
-
})
|
|
29733
|
+
}),
|
|
29734
|
+
handleSetOverlay: _pt.func.isRequired
|
|
29720
29735
|
};
|
|
29721
29736
|
|
|
29722
|
-
var css$r = ".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: 75%;\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
|
|
29723
|
-
var cls$r = {"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"};
|
|
29737
|
+
var css$r = ".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: 75%;\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: auto;\n height: 100%;\n max-height: 460px; }\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 width: 100%;\n min-height: 105px;\n border-radius: 0px 0px 0px 16px;\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-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: 24px;\n font-weight: 700;\n color: #fff;\n padding: 24px 32px;\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n width: 30%;\n min-width: 220px;\n padding: 36px 32px;\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: 16px; }\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: 20px;\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: 8px 16px;\n font-size: 14px;\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: 20px 0 38px 0; }\n\n@media all and (max-width: 1070px) {\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 max-height: none;\n max-height: initial; } }\n\n@media all and (max-width: 900px) {\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 .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: 24px;\n grid-gap: 24px;\n gap: 24px; }\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";
|
|
29738
|
+
var cls$r = {"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"};
|
|
29724
29739
|
styleInject(css$r);
|
|
29725
29740
|
|
|
29726
29741
|
var FrpPreviewImg = function FrpPreviewImg(_ref) {
|
|
@@ -29841,6 +29856,8 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
29841
29856
|
});
|
|
29842
29857
|
return React.createElement("div", {
|
|
29843
29858
|
className: cls$r.coverInfomation
|
|
29859
|
+
}, React.createElement("div", {
|
|
29860
|
+
className: cls$r.coverItem
|
|
29844
29861
|
}, React.createElement("div", {
|
|
29845
29862
|
className: cls$r.item
|
|
29846
29863
|
}, React.createElement("p", {
|
|
@@ -29859,7 +29876,9 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
29859
29876
|
className: cls$r.number
|
|
29860
29877
|
}, daysToGo), React.createElement("p", {
|
|
29861
29878
|
className: cls$r.text
|
|
29862
|
-
}, "Day to go")), React.createElement("div", {
|
|
29879
|
+
}, "Day to go"))), React.createElement("div", {
|
|
29880
|
+
className: cls$r.coverProgress
|
|
29881
|
+
}, React.createElement("div", {
|
|
29863
29882
|
className: cls$r.progress
|
|
29864
29883
|
}, React.createElement(CircularProgress, {
|
|
29865
29884
|
percentage: amountRaised / amountGoal * 100,
|
|
@@ -29881,7 +29900,7 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
29881
29900
|
})), React.createElement("button", {
|
|
29882
29901
|
className: cls$r.manageBtn,
|
|
29883
29902
|
color: "greenLinear"
|
|
29884
|
-
}, "Manage Campaign ", React.createElement(Icons$1.arrowNext, null)));
|
|
29903
|
+
}, "Manage Campaign ", React.createElement(Icons$1.arrowNext, null))));
|
|
29885
29904
|
};
|
|
29886
29905
|
|
|
29887
29906
|
FrpInfomation.propTypes = {
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,8 @@ var MDCTab = _interopDefault(require('@material/react-tab'));
|
|
|
35
35
|
var Cookie = _interopDefault(require('js-cookie'));
|
|
36
36
|
var Dialog = require('@material/react-dialog');
|
|
37
37
|
var Dialog__default = _interopDefault(Dialog);
|
|
38
|
-
var useMedia =
|
|
38
|
+
var useMedia = require('use-media');
|
|
39
|
+
var useMedia__default = _interopDefault(useMedia);
|
|
39
40
|
var MDCRadio = require('@material/react-radio');
|
|
40
41
|
var MDCRadio__default = _interopDefault(MDCRadio);
|
|
41
42
|
var MDCSwitch = _interopDefault(require('@material/react-switch'));
|
|
@@ -9368,8 +9369,8 @@ function NavigationSearch(_ref) {
|
|
|
9368
9369
|
};
|
|
9369
9370
|
|
|
9370
9371
|
var placeholder = "Try searching for a friend, campaign, or event";
|
|
9371
|
-
var isMobile =
|
|
9372
|
-
var isCompact =
|
|
9372
|
+
var isMobile = useMedia__default("screen and (max-width: 719px)");
|
|
9373
|
+
var isCompact = useMedia__default("screen and (max-width: 959px)");
|
|
9373
9374
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
9374
9375
|
className: "jsx-3334382920" + " " + "navigation-search"
|
|
9375
9376
|
}, !isCompact ? React__default.createElement(TextField, {
|
|
@@ -9615,7 +9616,7 @@ function NavigationUserMenu(_ref) {
|
|
|
9615
9616
|
}, [onChangeOpen, isHovered]);
|
|
9616
9617
|
return React__default.createElement("div", _extends({}, bind(), {
|
|
9617
9618
|
className: "jsx-744321216 " + _JSXStyle.dynamic([["2704769880", [theme.typography.fontFamily.brand, theme.color.foreground.primary]]]) + " " + (classnames("menu-anchor", {
|
|
9618
|
-
compact:
|
|
9619
|
+
compact: useMedia__default("screen and (max-width: 425px)")
|
|
9619
9620
|
}) || "")
|
|
9620
9621
|
}), React__default.createElement("div", {
|
|
9621
9622
|
className: "jsx-744321216 " + _JSXStyle.dynamic([["2704769880", [theme.typography.fontFamily.brand, theme.color.foreground.primary]]]) + " " + (classnames("menu-trigger", {
|
|
@@ -9712,8 +9713,8 @@ function Navigation(_ref) {
|
|
|
9712
9713
|
active = _useState8[0],
|
|
9713
9714
|
setActive = _useState8[1];
|
|
9714
9715
|
|
|
9715
|
-
var isCompact =
|
|
9716
|
-
var isMedium =
|
|
9716
|
+
var isCompact = useMedia__default("screen and (max-width: 720px)");
|
|
9717
|
+
var isMedium = useMedia__default("screen and (max-width: 960px)");
|
|
9717
9718
|
var menu = active[0] && menus ? menus.find(function (menu) {
|
|
9718
9719
|
return menu.id === active[0];
|
|
9719
9720
|
}) : null;
|
|
@@ -11057,8 +11058,8 @@ function NavigationSearch$1(_ref) {
|
|
|
11057
11058
|
};
|
|
11058
11059
|
|
|
11059
11060
|
var placeholder = "Try searching for a friend, campaign, or event";
|
|
11060
|
-
var isMobile =
|
|
11061
|
-
var isCompact =
|
|
11061
|
+
var isMobile = useMedia__default("screen and (max-width: 719px)");
|
|
11062
|
+
var isCompact = useMedia__default("screen and (max-width: 959px)");
|
|
11062
11063
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
11063
11064
|
className: _JSXStyle.dynamic([["512261977", [isDark ? "#fff" : "#000", isDark ? "#e6e6e6" : "#999"]]]) + " " + "navigation-search"
|
|
11064
11065
|
}, !isCompact ? React__default.createElement(TextField, {
|
|
@@ -11324,7 +11325,7 @@ function NavigationUserMenu$1(_ref) {
|
|
|
11324
11325
|
}, [onChangeOpen, isHovered]);
|
|
11325
11326
|
return React__default.createElement("div", _extends({}, bind(), {
|
|
11326
11327
|
className: "jsx-744321216 " + _JSXStyle.dynamic([["2704769880", [theme.typography.fontFamily.brand, theme.color.foreground.primary]]]) + " " + (classnames("menu-anchor", {
|
|
11327
|
-
compact:
|
|
11328
|
+
compact: useMedia__default("screen and (max-width: 425px)")
|
|
11328
11329
|
}) || "")
|
|
11329
11330
|
}), React__default.createElement("div", {
|
|
11330
11331
|
className: "jsx-744321216 " + _JSXStyle.dynamic([["2704769880", [theme.typography.fontFamily.brand, theme.color.foreground.primary]]]) + " " + (classnames("menu-trigger", {
|
|
@@ -11426,8 +11427,8 @@ function Navigation$1(_ref) {
|
|
|
11426
11427
|
active = _useState8[0],
|
|
11427
11428
|
setActive = _useState8[1];
|
|
11428
11429
|
|
|
11429
|
-
var isCompact =
|
|
11430
|
-
var isMedium =
|
|
11430
|
+
var isCompact = useMedia__default("screen and (max-width: 768px)");
|
|
11431
|
+
var isMedium = useMedia__default("screen and (max-width: 1070px)");
|
|
11431
11432
|
var menu = active[0] && menus ? menus.find(function (menu) {
|
|
11432
11433
|
return menu.id === active[0];
|
|
11433
11434
|
}) : null;
|
|
@@ -29145,8 +29146,8 @@ function FooterV2(_ref) {
|
|
|
29145
29146
|
OrangeCardFirstTitle = _ref$OrangeCardFirstT === void 0 ? "For your Charity, School, NFP or Event" : _ref$OrangeCardFirstT,
|
|
29146
29147
|
_ref$OrangeCardSecond = _ref.OrangeCardSecondTitle,
|
|
29147
29148
|
OrangeCardSecondTitle = _ref$OrangeCardSecond === void 0 ? "View the mycause suite of fundraising products and tools" : _ref$OrangeCardSecond;
|
|
29148
|
-
var isMobile =
|
|
29149
|
-
var lg =
|
|
29149
|
+
var isMobile = useMedia__default("screen and (max-width: 480px)");
|
|
29150
|
+
var lg = useMedia__default("screen and (min-width: 1024px");
|
|
29150
29151
|
|
|
29151
29152
|
var body = lodash.get(document, "body", []);
|
|
29152
29153
|
|
|
@@ -29531,7 +29532,7 @@ FavoriteCharityItem.propTypes = {
|
|
|
29531
29532
|
width: _pt.string.isRequired
|
|
29532
29533
|
};
|
|
29533
29534
|
|
|
29534
|
-
var css$q = ".my-account-sidebar-module_wrapper__2prH6 {\n transition: all 0.2s ease;\n background: #fff;\n height: 100vh;\n box-shadow: 2px 2px 8px 0px rgba(123, 109, 109, 0.25);\n font-family: Montserrat;\n font-size: 14px;\n font-weight: 400;\n color: #404041; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_expand__1m2Vs {\n min-width: 260px;\n width: 260px; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 {\n min-width: 64px;\n width: 64px; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 p.my-account-sidebar-module_label__3RALd,\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 .my-account-sidebar-module_additional__1EeN2 {\n opacity: 0; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 {\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 p {\n color: #fff;\n font-weight: 700; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 svg path {\n fill: #fff !important; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc {\n display: flex;\n align-items: center;\n padding-left: 16px;\n text-decoration: none;\n color: #404041;\n height: 50px;\n cursor: pointer; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc p.my-account-sidebar-module_label__3RALd {\n padding-left: 8px;\n position: absolute;\n left: 58px; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc svg {\n width: 36px; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover {\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover p {\n color: #fff;\n font-weight: 700; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover svg path {\n fill: #fff !important; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc svg path {\n fill: #2d8a75; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc .my-account-sidebar-module_label__3RALd {\n opacity: 1; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc .my-account-sidebar-module_hiden__xtlWO {\n width: 0; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_account__sruAN {\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid var(--Stroke, #e2e2e2);\n border-top: 1px solid #e2e2e2;\n border-top: 1px solid #e2e2e2;\n border-top: 1px solid var(--Stroke, #e2e2e2);\n display: flex;\n justify-content: space-between; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_account__sruAN .my-account-sidebar-module_coverLabel__2obOx {\n display: flex;\n align-items: center; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_collapse__2X0m7 {\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid var(--Stroke, #e2e2e2); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_additional__1EeN2 svg path {\n fill: #acacac; }\n";
|
|
29535
|
+
var css$q = ".my-account-sidebar-module_wrapper__2prH6 {\n transition: all 0.2s ease;\n background: #fff;\n height: 100%;\n min-height: 100vh;\n box-shadow: 2px 2px 8px 0px rgba(123, 109, 109, 0.25);\n font-family: Montserrat;\n font-size: 14px;\n font-weight: 400;\n color: #404041; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_expand__1m2Vs {\n min-width: 260px;\n width: 260px; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 {\n min-width: 64px;\n width: 64px; }\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 p.my-account-sidebar-module_label__3RALd,\n .my-account-sidebar-module_wrapper__2prH6.my-account-sidebar-module_collapse__2X0m7 .my-account-sidebar-module_additional__1EeN2 {\n opacity: 0; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 {\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 p {\n color: #fff;\n font-weight: 700; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_active__f-nw8 svg path {\n fill: #fff !important; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc {\n display: flex;\n align-items: center;\n padding-left: 16px;\n text-decoration: none;\n color: #404041;\n height: 50px;\n cursor: pointer; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc p.my-account-sidebar-module_label__3RALd {\n padding-left: 8px;\n position: absolute;\n left: 58px; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc svg {\n width: 36px; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover {\n background: linear-gradient(90deg, #2d8a75 0%, #42ccae 97.5%); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover p {\n color: #fff;\n font-weight: 700; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc:hover svg path {\n fill: #fff !important; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc svg path {\n fill: #2d8a75; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc .my-account-sidebar-module_label__3RALd {\n opacity: 1; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc .my-account-sidebar-module_hiden__xtlWO {\n width: 0; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_account__sruAN {\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid var(--Stroke, #e2e2e2);\n border-top: 1px solid #e2e2e2;\n border-top: 1px solid #e2e2e2;\n border-top: 1px solid var(--Stroke, #e2e2e2);\n display: flex;\n justify-content: space-between; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_account__sruAN .my-account-sidebar-module_coverLabel__2obOx {\n display: flex;\n align-items: center; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_collapse__2X0m7 {\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2;\n border-bottom: 1px solid var(--Stroke, #e2e2e2); }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_additional__1EeN2 svg path {\n fill: #acacac; }\n\n@media all and (max-width: 1070px) {\n .my-account-sidebar-module_wrapper__2prH6 {\n position: fixed;\n z-index: 9; }\n .my-account-sidebar-module_wrapper__2prH6 .my-account-sidebar-module_item__1nSgc p.my-account-sidebar-module_label__3RALd {\n width: 200px; } }\n";
|
|
29535
29536
|
var cls$q = {"wrapper":"my-account-sidebar-module_wrapper__2prH6","expand":"my-account-sidebar-module_expand__1m2Vs","collapse":"my-account-sidebar-module_collapse__2X0m7","label":"my-account-sidebar-module_label__3RALd","additional":"my-account-sidebar-module_additional__1EeN2","active":"my-account-sidebar-module_active__f-nw8","item":"my-account-sidebar-module_item__1nSgc","hiden":"my-account-sidebar-module_hiden__xtlWO","account":"my-account-sidebar-module_account__sruAN","coverLabel":"my-account-sidebar-module_coverLabel__2obOx"};
|
|
29536
29537
|
styleInject(css$q);
|
|
29537
29538
|
|
|
@@ -29643,7 +29644,8 @@ var MyAccountSidebar = function MyAccountSidebar(_ref) {
|
|
|
29643
29644
|
var listMenu = _ref.listMenu,
|
|
29644
29645
|
dashboard = _ref.dashboard,
|
|
29645
29646
|
account = _ref.account,
|
|
29646
|
-
contract = _ref.contract
|
|
29647
|
+
contract = _ref.contract,
|
|
29648
|
+
handleSetOverlay = _ref.handleSetOverlay;
|
|
29647
29649
|
|
|
29648
29650
|
var _useState = React.useState(dashboard.id),
|
|
29649
29651
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -29659,8 +29661,23 @@ var MyAccountSidebar = function MyAccountSidebar(_ref) {
|
|
|
29659
29661
|
setTabActive(id);
|
|
29660
29662
|
};
|
|
29661
29663
|
|
|
29664
|
+
var isMedium = useMedia.useMedia("screen and (max-width: 1070px)");
|
|
29665
|
+
|
|
29666
|
+
var hanldeCollapse = function hanldeCollapse() {
|
|
29667
|
+
setIsExpand(!isExpand);
|
|
29668
|
+
|
|
29669
|
+
if (isMedium) {
|
|
29670
|
+
handleSetOverlay();
|
|
29671
|
+
}
|
|
29672
|
+
};
|
|
29673
|
+
|
|
29674
|
+
React.useEffect(function () {
|
|
29675
|
+
if (isMedium) {
|
|
29676
|
+
setIsExpand(false);
|
|
29677
|
+
}
|
|
29678
|
+
}, [isMedium]);
|
|
29662
29679
|
return React__default.createElement("div", {
|
|
29663
|
-
className: classnames(cls$q.wrapper, cls$q.sidebar, isExpand ? cls$q.
|
|
29680
|
+
className: classnames(cls$q.wrapper, cls$q.sidebar, !isExpand ? cls$q.collapse : cls$q.expand)
|
|
29664
29681
|
}, dashboard && React__default.createElement("a", {
|
|
29665
29682
|
className: classnames(cls$q.item, tabActive === dashboard.id && cls$q.active),
|
|
29666
29683
|
onClick: function onClick() {
|
|
@@ -29671,9 +29688,7 @@ var MyAccountSidebar = function MyAccountSidebar(_ref) {
|
|
|
29671
29688
|
className: cls$q.label
|
|
29672
29689
|
}, dashboard.label)), React__default.createElement("div", {
|
|
29673
29690
|
className: cls$q.item,
|
|
29674
|
-
onClick:
|
|
29675
|
-
return setIsExpand(!isExpand);
|
|
29676
|
-
}
|
|
29691
|
+
onClick: hanldeCollapse
|
|
29677
29692
|
}, isExpand ? React__default.createElement(Icons.collapse, null) : React__default.createElement(Icons.expand, null), React__default.createElement("p", {
|
|
29678
29693
|
className: cls$q.label
|
|
29679
29694
|
}, collapse.label)), listMenu.map(function (item) {
|
|
@@ -29729,11 +29744,12 @@ MyAccountSidebar.propTypes = {
|
|
|
29729
29744
|
icon: _pt.any.isRequired,
|
|
29730
29745
|
label: _pt.string.isRequired,
|
|
29731
29746
|
href: _pt.string
|
|
29732
|
-
})
|
|
29747
|
+
}),
|
|
29748
|
+
handleSetOverlay: _pt.func.isRequired
|
|
29733
29749
|
};
|
|
29734
29750
|
|
|
29735
|
-
var css$r = ".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: 75%;\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
|
|
29736
|
-
var cls$r = {"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"};
|
|
29751
|
+
var css$r = ".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: 75%;\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: auto;\n height: 100%;\n max-height: 460px; }\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 width: 100%;\n min-height: 105px;\n border-radius: 0px 0px 0px 16px;\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-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: 24px;\n font-weight: 700;\n color: #fff;\n padding: 24px 32px;\n margin: 0; }\n .my-account-frp-preview-module_wrapper__dNipd .my-account-frp-preview-module_coverInfomation__2d2Ye {\n width: 30%;\n min-width: 220px;\n padding: 36px 32px;\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: 16px; }\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: 20px;\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: 8px 16px;\n font-size: 14px;\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: 20px 0 38px 0; }\n\n@media all and (max-width: 1070px) {\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 max-height: none;\n max-height: initial; } }\n\n@media all and (max-width: 900px) {\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 .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: 24px;\n grid-gap: 24px;\n gap: 24px; }\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";
|
|
29752
|
+
var cls$r = {"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"};
|
|
29737
29753
|
styleInject(css$r);
|
|
29738
29754
|
|
|
29739
29755
|
var FrpPreviewImg = function FrpPreviewImg(_ref) {
|
|
@@ -29854,6 +29870,8 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
29854
29870
|
});
|
|
29855
29871
|
return React__default.createElement("div", {
|
|
29856
29872
|
className: cls$r.coverInfomation
|
|
29873
|
+
}, React__default.createElement("div", {
|
|
29874
|
+
className: cls$r.coverItem
|
|
29857
29875
|
}, React__default.createElement("div", {
|
|
29858
29876
|
className: cls$r.item
|
|
29859
29877
|
}, React__default.createElement("p", {
|
|
@@ -29872,7 +29890,9 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
29872
29890
|
className: cls$r.number
|
|
29873
29891
|
}, daysToGo), React__default.createElement("p", {
|
|
29874
29892
|
className: cls$r.text
|
|
29875
|
-
}, "Day to go")), React__default.createElement("div", {
|
|
29893
|
+
}, "Day to go"))), React__default.createElement("div", {
|
|
29894
|
+
className: cls$r.coverProgress
|
|
29895
|
+
}, React__default.createElement("div", {
|
|
29876
29896
|
className: cls$r.progress
|
|
29877
29897
|
}, React__default.createElement(CircularProgress, {
|
|
29878
29898
|
percentage: amountRaised / amountGoal * 100,
|
|
@@ -29894,7 +29914,7 @@ var FrpInfomation = function FrpInfomation(_ref) {
|
|
|
29894
29914
|
})), React__default.createElement("button", {
|
|
29895
29915
|
className: cls$r.manageBtn,
|
|
29896
29916
|
color: "greenLinear"
|
|
29897
|
-
}, "Manage Campaign ", React__default.createElement(Icons$1.arrowNext, null)));
|
|
29917
|
+
}, "Manage Campaign ", React__default.createElement(Icons$1.arrowNext, null))));
|
|
29898
29918
|
};
|
|
29899
29919
|
|
|
29900
29920
|
FrpInfomation.propTypes = {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as StartFundraiseCard } from "./start-fundraise-card";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface StartFundraiseCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
buttonText?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const StartFundraiseCard: ({ className, title, buttonText, onClick }: StartFundraiseCardProps) => JSX.Element;
|
|
10
|
-
export default StartFundraiseCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: ({ className, title, buttonText, onClick }: import("./start-fundraise-card").StartFundraiseCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const startcampaincard: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ChooseCharityCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
buttonText?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const ChooseCharityCard: ({ className, title, buttonText, onClick }: ChooseCharityCardProps) => JSX.Element;
|
|
10
|
-
export default ChooseCharityCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: ({ className, title, buttonText, onClick }: import("./choose-charity-card").ChooseCharityCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const startcampaincard: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ChooseCharityCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
buttonText?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const ChooseCharityCard: ({ className, title, buttonText, onClick }: ChooseCharityCardProps) => JSX.Element;
|
|
10
|
-
export default ChooseCharityCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: ({ className, title, buttonText, onClick }: import("./choose-charity-card").ChooseCharityCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const chooseCharityStory: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ChooseCharityCard } from "./choose-charity-card";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ChooseCharityCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
buttonText?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const ChooseCharityCard: ({ className, title, buttonText, onClick }: ChooseCharityCardProps) => JSX.Element;
|
|
10
|
-
export default ChooseCharityCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: ({ className, title, buttonText, onClick }: import("./favorite-charity-item").ChooseCharityCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const chooseCharityStory: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: React.FunctionComponent<import("./line-chart-component").LineChartProps>;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const LineChart: any;
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnertLineChartStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
File without changes
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnertLineChartStories: {
|
|
8
|
-
({ chartData }: any): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnertLineChartStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface PartnerLineChartBlockProps {
|
|
3
|
-
chartData: {
|
|
4
|
-
current_year: Array<number>;
|
|
5
|
-
months_label: Array<string>;
|
|
6
|
-
requested_year: Array<number>;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
declare const PartnerLineChartBlock: ({ chartData }: PartnerLineChartBlockProps) => JSX.Element;
|
|
10
|
-
export default PartnerLineChartBlock;
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnertLineChartStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as PartnerLineChart } from "./partner-line-chart";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface PartnerLineChartBlockProps {
|
|
3
|
-
chartData: {
|
|
4
|
-
current_year: Array<number>;
|
|
5
|
-
months_label: Array<string>;
|
|
6
|
-
requested_year: Array<number>;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
declare const PartnerLineChartBlock: ({ chartData }: PartnerLineChartBlockProps) => JSX.Element;
|
|
10
|
-
export default PartnerLineChartBlock;
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnertLineChartStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ChooseCharityCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
buttonText?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const ChooseCharityCard: ({ className, title, buttonText, onClick, }: ChooseCharityCardProps) => JSX.Element;
|
|
10
|
-
export default ChooseCharityCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: ({ className, title, buttonText, onClick, }: import("./choose-charity-card").ChooseCharityCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const chooseCharityStory: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface StartFundraiseCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
buttonText?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const StartFundraiseCard: ({ className, title, buttonText, onClick, }: StartFundraiseCardProps) => JSX.Element;
|
|
10
|
-
export default StartFundraiseCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: ({ className, title, buttonText, onClick, }: import("./start-fundraise-card").StartFundraiseCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const startFundraiseStory: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as PartnertMonthlyStart } from "./parnert-monthly-stats";
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnertMonthlyStatsStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnerMonthlyStatsStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as PartnerMonthlyStats } from "./partner-monthly-stats";
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnerMonthlyStatsStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as PartnerMonthlyTable } from "./partner-monthly-table";
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnerMonthlyTableStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as PartnerMonthlyStats } from "./partner-monthly-stats";
|
|
@@ -1,12 +0,0 @@
|
|
|
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 PartnerMonthlyStatsStories: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as StartCampaignCard } from "./start-campaign-card";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface StartCampaignCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const StartCampaignCard: ({ className, title, description, }: StartCampaignCardProps) => JSX.Element;
|
|
8
|
-
export default StartCampaignCard;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface StartCampaignCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const StartCampaignCard: ({ className, title, description, }: StartCampaignCardProps) => JSX.Element;
|
|
8
|
-
export default StartCampaignCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: ({ className, title, description, }: import("./start-fundraise-card").StartCampaignCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const startcampaincard: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as StartFundraiseCard } from "./start-fundraise-card";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface StartFundraiseCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
buttonText?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const StartFundraiseCard: ({ className, title, buttonText, onClick }: StartFundraiseCardProps) => JSX.Element;
|
|
10
|
-
export default StartFundraiseCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
component: ({ className, title, buttonText, onClick }: import("./start-fundraise-card").StartFundraiseCardProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const startcampaincard: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|