@mycause/ui 0.0.0-cfb95594 → 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/dist/components/campaign-of-month/campaign-of-month.d.ts +2 -2
- package/dist/components/campaign-of-month/campaign-of-month.stories.d.ts +1 -1
- package/dist/components/comment-section/comment-section-v2/comment-section-v2.d.ts +31 -0
- package/dist/components/comment-section/comment-section-v2/sub-comments-v2.d.ts +11 -0
- package/dist/components/comment-section/comment-section.d.ts +1 -0
- package/dist/components/comment-section/comment-section.stories.d.ts +6 -0
- package/dist/components/comment-section/index.d.ts +1 -0
- package/dist/components/donation-form/donation-form-v2/donation-form-v2.d.ts +8 -1
- package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +3 -2
- package/dist/components/featured-campaign-card/featured-campaign-card.stories.d.ts +1 -1
- package/dist/components/footerV2/footerV2.d.ts +35 -0
- package/dist/components/{featured-campaign-card /featured-campaign-card.stories.d.ts → footerV2/footerV2.stories.d.ts} +3 -2
- package/dist/components/footerV2/index.d.ts +1 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/components/info-represent-campaign/index.d.ts +1 -0
- package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +11 -0
- package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +12 -0
- package/dist/components/line-chart/index.d.ts +2 -0
- package/dist/components/line-chart/partner-line-chart-block.d.ts +12 -0
- package/dist/components/{info-procurator-campaign/info-procurator-campaign.stories.d.ts → line-chart/partner-line-chart-block.stories.d.ts} +1 -1
- package/dist/components/line-chart/partner-line-chart.d.ts +3 -0
- package/dist/components/nav/nav-search.d.ts +2 -1
- package/dist/components/partner-dashboard-chart/chart.d.ts +3 -0
- package/dist/components/{icon/toggle-button.stories.d.ts → partner-dashboard-chart/chart.stories.d.ts} +2 -1
- package/dist/components/partner-dashboard-chart/index.d.ts +1 -0
- package/dist/components/partner-monthly-donations/index.d.ts +1 -0
- package/dist/components/partner-monthly-donations/partner-monthly-donations.d.ts +8 -0
- package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +12 -0
- package/dist/components/partner-monthly-stats/index.d.ts +1 -0
- package/dist/components/partner-monthly-stats/partner-monthly-stats.d.ts +7 -0
- package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +12 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/partner-monthly-table.d.ts +15 -0
- package/dist/components/table/partner-monthly-table.stories.d.ts +18 -0
- package/dist/components/text-field/text-field-search.d.ts +9 -0
- package/dist/index.esm.js +871 -267
- package/dist/index.js +877 -266
- package/dist/theme/theme.d.ts +4 -0
- package/package.json +2 -1
- package/styles/index.css +4 -0
- package/dist/components/featured-campaign-card /featured-campaign-card.d.ts +0 -14
- package/dist/components/icon/toggle-button.d.ts +0 -11
- package/dist/components/info-procurator-campaign/index.d.ts +0 -1
- package/dist/components/info-procurator-campaign/info-procurator-campaign.d.ts +0 -6
package/dist/theme/theme.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export declare type Theme = {
|
|
|
21
21
|
secondary: string;
|
|
22
22
|
muted: string;
|
|
23
23
|
inactive: string;
|
|
24
|
+
partner: string;
|
|
25
|
+
coral: string;
|
|
24
26
|
};
|
|
25
27
|
background: {
|
|
26
28
|
neutral: string;
|
|
@@ -29,6 +31,8 @@ export declare type Theme = {
|
|
|
29
31
|
secondary: string;
|
|
30
32
|
muted: string;
|
|
31
33
|
inactive: string;
|
|
34
|
+
partner: string;
|
|
35
|
+
coral: string;
|
|
32
36
|
};
|
|
33
37
|
};
|
|
34
38
|
};
|
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-cfc36711",
|
|
4
4
|
"author": "Marc Porciuncula <marc@mycause.com.au>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
"@types/nanoid": "^2.1.0",
|
|
100
100
|
"@types/react-cropper": "^0.10.7",
|
|
101
101
|
"@types/react-dates": "^17.1.5",
|
|
102
|
+
"chart.js": "1.0.2",
|
|
102
103
|
"classnames": "^2.2.6",
|
|
103
104
|
"html5-file-selector": "^2.1.0",
|
|
104
105
|
"i18n-iso-countries": "^4.3.1",
|
package/styles/index.css
CHANGED
|
@@ -491,6 +491,10 @@ svg.mdc-button__icon {
|
|
|
491
491
|
.mdc-button--raised.mdc-button--display {
|
|
492
492
|
padding: 0 1.75rem; }
|
|
493
493
|
|
|
494
|
+
.mdc-button {
|
|
495
|
+
background: #358b76;
|
|
496
|
+
background: var(--mdc-theme-primary); }
|
|
497
|
+
|
|
494
498
|
.mdc-button--outlined.mdc-button--display {
|
|
495
499
|
padding: 0 calc(1.75rem - 2px); }
|
|
496
500
|
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface FeaturedCampaignCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
imageURL?: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
completed?: number;
|
|
8
|
-
width?: number;
|
|
9
|
-
donation?: number;
|
|
10
|
-
raised?: number;
|
|
11
|
-
goal?: number;
|
|
12
|
-
}
|
|
13
|
-
declare const FeaturedCampaignCard: ({ className, imageURL, title, donation, raised, goal, completed, width, }: FeaturedCampaignCardProps) => JSX.Element;
|
|
14
|
-
export default FeaturedCampaignCard;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IconButtonProps as MDCIconButtonProps } from "@material/react-icon-button";
|
|
3
|
-
declare type IconButtonTypes = HTMLButtonElement | HTMLAnchorElement;
|
|
4
|
-
export interface ToggleButtonProps extends Omit<MDCIconButtonProps<IconButtonTypes>, "onChange" | "value" | "ref" | "children"> {
|
|
5
|
-
active: React.ReactNode;
|
|
6
|
-
inactive: React.ReactNode;
|
|
7
|
-
onChange?: (value: boolean) => void;
|
|
8
|
-
value: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
11
|
-
export default ToggleButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as InfoInsteadCampaign } from "./info-procurator-campaign";
|