@mycause/ui 0.0.0-cfc1c766 → 0.0.0-cfc36711

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 CHANGED
@@ -1,18 +1,3 @@
1
- ## 0.17.3
2
-
3
- ###### Thur, 27 Jul 2023
4
-
5
- - FooterV2
6
-
7
- - Change style item link
8
-
9
- ## 0.17.2
10
-
11
- ###### Wed, 26 Jul 2023
12
-
13
- - FooterV2
14
- - Added new footer component.
15
-
16
1
  ## 0.16.9
17
2
 
18
3
  ###### Thu, 15 Apr 2021
@@ -9,7 +9,6 @@ export interface CampaignOfMonthProps {
9
9
  goal?: number;
10
10
  btnText?: string;
11
11
  onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
12
- idBtn?: string;
13
12
  }
14
- declare const CampaignOfMonth: ({ className, title, text, imageUrl, rised, donation, goal, btnText, onClick, idBtn, }: CampaignOfMonthProps) => JSX.Element;
13
+ declare const CampaignOfMonth: ({ className, title, text, imageUrl, rised, donation, goal, btnText, onClick, }: CampaignOfMonthProps) => JSX.Element;
15
14
  export default CampaignOfMonth;
@@ -3,7 +3,7 @@ import CenterDecorator from "../../utils/center-decorator";
3
3
  declare const _default: {
4
4
  title: string;
5
5
  decorators: (typeof CenterDecorator)[];
6
- component: ({ className, title, text, imageUrl, rised, donation, goal, btnText, onClick, idBtn, }: import("./campaign-of-month").CampaignOfMonthProps) => JSX.Element;
6
+ component: ({ className, title, text, imageUrl, rised, donation, goal, btnText, onClick, }: import("./campaign-of-month").CampaignOfMonthProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const campaignofmonth: {
@@ -40,4 +40,7 @@ export * from "./progressbar";
40
40
  export * from "./start-campaign-card";
41
41
  export * from "./nav";
42
42
  export * from "./popup";
43
- export * from "./footerV2";
43
+ export * from "./line-chart";
44
+ export * from "./partner-monthly-donations";
45
+ export * from "./partner-monthly-stats";
46
+ export * from "./table";
@@ -0,0 +1,2 @@
1
+ export { default as PartnerLineChart } from "./partner-line-chart";
2
+ export { default as PartnerLineChartBlock } from "./partner-line-chart-block";
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface PartnerLineChartBlockProps {
3
+ currentYearData: Array<number>;
4
+ totalDonation: number;
5
+ chartData: {
6
+ current_year: Array<number>;
7
+ months_label: Array<string>;
8
+ requested_year: Array<number>;
9
+ };
10
+ }
11
+ declare const PartnerLineChartBlock: ({ currentYearData, totalDonation, chartData, }: PartnerLineChartBlockProps) => JSX.Element;
12
+ export default PartnerLineChartBlock;
@@ -0,0 +1,12 @@
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
+ };
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PartnerLineChart: (props: any) => JSX.Element;
3
+ export default PartnerLineChart;
@@ -0,0 +1 @@
1
+ export { default as PartnerMonthlyDonations, } from "./partner-monthly-donations";
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export interface PartnerMonthlyDonationsProps {
3
+ totalAmount?: number;
4
+ numberOfDonations?: number;
5
+ donationsLink?: string;
6
+ }
7
+ declare const PartnerMonthlyDonations: ({ totalAmount, numberOfDonations, donationsLink, }: PartnerMonthlyDonationsProps) => JSX.Element;
8
+ export default PartnerMonthlyDonations;
@@ -0,0 +1,12 @@
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
+ };
@@ -0,0 +1 @@
1
+ export { default as PartnerMonthlyStart } from "./partner-monthly-stats";
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export interface PartnerMonthlyStatsProps {
3
+ numeric?: number;
4
+ title?: string;
5
+ }
6
+ declare const PartnerMonthlyStats: ({ numeric, title }: PartnerMonthlyStatsProps) => JSX.Element;
7
+ export default PartnerMonthlyStats;
@@ -0,0 +1,12 @@
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
+ };
@@ -0,0 +1 @@
1
+ export { default as PartnerMonthlyTable } from "./partner-monthly-table";
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ export declare type ColumnTableProps = {
3
+ key: string;
4
+ label: string;
5
+ align: "center" | "left" | "right";
6
+ rowPrefixIcon?: string;
7
+ renderCell: (item: any) => React.ReactNode;
8
+ };
9
+ export interface PartnerMonthlyTableProps {
10
+ label?: string;
11
+ columns: Array<ColumnTableProps>;
12
+ data: Array<object>;
13
+ }
14
+ declare const PartnerMonthlyTable: ({ columns, label, data, }: PartnerMonthlyTableProps) => JSX.Element;
15
+ export default PartnerMonthlyTable;
@@ -0,0 +1,18 @@
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
+ };
13
+ export declare const PartnerMonthlyTableStories2: {
14
+ (): JSX.Element;
15
+ story: {
16
+ name: string;
17
+ };
18
+ };