@mycause/ui 0.0.0-c5834da1 → 0.0.0-c5bd1e15

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
@@ -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,16 @@
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
+ columns: Array<ColumnTableProps>;
11
+ data: Array<object>;
12
+ title?: string;
13
+ tooltip?: string;
14
+ }
15
+ declare const PartnerMonthlyTable: ({ columns, data, title, tooltip, }: PartnerMonthlyTableProps) => JSX.Element;
16
+ 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
+ };
@@ -1,3 +1,2 @@
1
1
  export { default as TextField } from "./text-field";
2
- export { default as TextFieldSearch } from "./text-field-search";
3
2
  export { default as TextFieldHelperText } from "./text-field-helper-text";
@@ -3,8 +3,7 @@ interface TextFieldSearchProps {
3
3
  value?: string;
4
4
  onChange: (value: string) => void;
5
5
  onSubmit: () => void;
6
- isDark?: boolean;
7
6
  placeholder?: string;
8
7
  }
9
- declare function TextFieldSearch({ value, onChange, onSubmit, isDark, placeholder, }: TextFieldSearchProps): JSX.Element;
8
+ declare function TextFieldSearch({ value, onChange, onSubmit, placeholder, }: TextFieldSearchProps): JSX.Element;
10
9
  export default TextFieldSearch;
@@ -10,9 +10,3 @@ export declare const TextFieldStory: {
10
10
  name: string;
11
11
  };
12
12
  };
13
- export declare const TextFieldSearchStory: {
14
- (): JSX.Element;
15
- story: {
16
- name: string;
17
- };
18
- };