@mycause/ui 0.0.0-cadf499b → 0.0.0-caeb6a4f
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 +7 -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/index.d.ts +2 -0
- package/dist/components/input/InputDefault.d.ts +7 -5
- package/dist/components/input/input.stories.d.ts +6 -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 +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 +2 -1
- 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 +1 -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 +2 -1
- package/dist/components/phone-number-input/phone-number-input.stories.d.ts +6 -0
- package/dist/components/select/SelectV2.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 +1 -1
- package/dist/components/select/select.stories.d.ts +12 -0
- package/dist/components/table/partner-monthly-table.d.ts +2 -1
- 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 +13 -0
- package/dist/components/{start-fundraise-card/start-fundraise-card.stories.d.ts → transaction-card/transaction-card.stories.d.ts} +2 -2
- package/dist/index.esm.js +5891 -154
- package/dist/index.js +5896 -152
- package/package.json +1 -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/green-dashboard-sidebar.stories.d.ts +0 -12
- 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-block.stories.d.ts +0 -12
- 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/package.json
CHANGED
|
@@ -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,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,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;
|