@mycause/ui 0.0.0-ce6bcb59 → 0.0.0-ce81cb12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +69 -0
- package/dist/components/credit-card-form/CreditCardForm.d.ts +13 -0
- package/dist/components/credit-card-form/Icons.d.ts +7 -0
- package/dist/components/{line-chart/partner-line-chart-block.stories.d.ts → credit-card-form/credit-card.stories.d.ts} +1 -1
- package/dist/components/credit-card-form/index.d.ts +1 -0
- package/dist/components/credit-card-form/toast.stories.d.ts +12 -0
- package/dist/components/date-picker/date-picker.stories.d.ts +6 -0
- package/dist/components/date-picker/index.d.ts +1 -0
- package/dist/components/date-picker/single-date-picker-custom-header.d.ts +32 -0
- package/dist/components/favorite-charity-item/favorite-charity-item.d.ts +3 -3
- package/dist/components/favorite-charity-item/favorite-charity-item.stories.d.ts +2 -2
- package/dist/components/field-helpers/field-label.d.ts +2 -1
- package/dist/components/index.d.ts +5 -6
- package/dist/components/input/InputDefault.d.ts +8 -5
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input/input.stories.d.ts +12 -0
- package/dist/components/input-social/Icons.d.ts +5 -0
- package/dist/components/input-social/InputSocial.d.ts +12 -0
- package/dist/components/input-social/index.d.ts +1 -0
- package/dist/components/{green-dashboard-sidebar/green-dashboard-sidebar.stories.d.ts → input-social/input-social.stories.d.ts} +1 -1
- package/dist/components/my-account-frp-closed/Icon.d.ts +5 -0
- package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +9 -0
- package/dist/components/my-account-frp-closed/frp-information.d.ts +13 -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 +17 -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/frp-preview-img.d.ts +2 -1
- package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +3 -1
- package/dist/components/my-account-sidebar/Icon.d.ts +2 -0
- package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +6 -3
- package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +5 -3
- package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +7 -1
- package/dist/components/my-account-stats-donated/my-account-stats-donated.d.ts +2 -3
- package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +2 -3
- package/dist/components/nav/index.d.ts +1 -0
- package/dist/components/nav/nav-expanded-charity.d.ts +2 -1
- package/dist/components/nav/nav-myaccount.d.ts +22 -0
- package/dist/components/nav/nav.d.ts +1 -0
- package/dist/components/nav/nav.stories.d.ts +6 -0
- package/dist/components/phone-number-input/index.d.ts +2 -0
- package/dist/components/phone-number-input/phone-number-input-v1.d.ts +25 -0
- package/dist/components/phone-number-input/phone-number-input-v2.d.ts +19 -0
- package/dist/components/phone-number-input/phone-number-input.d.ts +2 -1
- package/dist/components/phone-number-input/phone-number-input.stories.d.ts +24 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select-enhanced.d.ts +23 -0
- package/dist/components/select/select-v2.d.ts +26 -0
- package/dist/components/select/select.d.ts +4 -2
- package/dist/components/select/select.stories.d.ts +12 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/switch-v2.d.ts +8 -0
- package/dist/components/switch/switch.stories.d.ts +6 -0
- package/dist/components/table/partner-monthly-table.d.ts +2 -1
- package/dist/components/text-field/text-field-search.d.ts +2 -1
- package/dist/components/toast/Icons.d.ts +7 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/toast.d.ts +8 -0
- package/dist/components/toast/toast.stories.d.ts +12 -0
- package/dist/components/transaction-card/Dot.d.ts +6 -0
- package/dist/components/transaction-card/index.d.ts +1 -0
- package/dist/components/transaction-card/transaction-card.d.ts +15 -0
- package/dist/components/transaction-card/transaction-card.stories.d.ts +20 -0
- package/dist/components/uploader/Icons.d.ts +6 -0
- package/dist/components/uploader/index.d.ts +1 -0
- package/dist/components/uploader/uploadAndCropper.d.ts +13 -0
- package/dist/index.esm.js +7021 -596
- package/dist/index.js +7029 -591
- package/package.json +5 -1
- package/dist/components/choose-charity-card/choose-charity-card.d.ts +0 -10
- package/dist/components/choose-charity-card/choose-charity-card.stories.d.ts +0 -14
- package/dist/components/choose-charity-card/index.d.ts +0 -1
- package/dist/components/green-dashboard-sidebar/Icon.d.ts +0 -11
- package/dist/components/green-dashboard-sidebar/green-dashboard-sidebar.d.ts +0 -15
- package/dist/components/green-dashboard-sidebar/index.d.ts +0 -1
- package/dist/components/line-chart/index.d.ts +0 -2
- package/dist/components/line-chart/partner-line-chart-block.d.ts +0 -10
- package/dist/components/line-chart/partner-line-chart.d.ts +0 -3
- package/dist/components/modal/modalImage.d.ts +0 -8
- package/dist/components/partner-dashboard-chart/chart.d.ts +0 -3
- package/dist/components/partner-dashboard-chart/chart.stories.d.ts +0 -14
- package/dist/components/partner-dashboard-chart/index.d.ts +0 -1
- package/dist/components/start-fundraise-card/index.d.ts +0 -1
- package/dist/components/start-fundraise-card/start-fundraise-card.d.ts +0 -10
- package/dist/components/start-fundraise-card/start-fundraise-card.stories.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mycause/ui",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-ce81cb12",
|
|
4
4
|
"author": "Marc Porciuncula <marc@mycause.com.au>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -97,6 +97,8 @@
|
|
|
97
97
|
"@material/theme": "^3.1.0",
|
|
98
98
|
"@material/typography": "^3.1.0",
|
|
99
99
|
"@types/nanoid": "^2.1.0",
|
|
100
|
+
"@types/payment": "^2.1.7",
|
|
101
|
+
"@types/react-avatar-editor": "^13.0.2",
|
|
100
102
|
"@types/react-cropper": "^0.10.7",
|
|
101
103
|
"@types/react-dates": "^17.1.5",
|
|
102
104
|
"classnames": "^2.2.6",
|
|
@@ -106,9 +108,11 @@
|
|
|
106
108
|
"libphonenumber-js": "^1.7.29",
|
|
107
109
|
"nanoid": "^2.1.6",
|
|
108
110
|
"ramda": "^0.26.1",
|
|
111
|
+
"react-avatar-editor": "^13.0.2",
|
|
109
112
|
"react-cropper": "^1.3.0",
|
|
110
113
|
"react-dates": "^21.5.0",
|
|
111
114
|
"react-dropzone-uploader": "^2.11.0",
|
|
115
|
+
"react-toastify": "8.1.0",
|
|
112
116
|
"styled-jsx": "^3.2.1",
|
|
113
117
|
"use-media": "^1.4.0"
|
|
114
118
|
},
|
|
@@ -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,11 +0,0 @@
|
|
|
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,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface GreenDashboardSidebarProps {
|
|
3
|
-
listMenu: Array<ItemMenu>;
|
|
4
|
-
noDashboard?: boolean;
|
|
5
|
-
noAccount?: boolean;
|
|
6
|
-
noContract?: boolean;
|
|
7
|
-
}
|
|
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;
|
|
15
|
-
export default GreenDashboardSidebar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as GreenDashboardSidebar } from "./green-dashboard-sidebar";
|
|
@@ -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,8 +0,0 @@
|
|
|
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;
|
|
@@ -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: () => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const progressbar: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Chart } from "./chart";
|
|
@@ -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 startFundraiseStory: {
|
|
10
|
-
(): JSX.Element;
|
|
11
|
-
story: {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
};
|