@mycause/ui 0.0.0-c97e8f06 → 0.0.0-c98503b5
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/avatar/image-avatar.d.ts +1 -0
- package/dist/components/avatar/text-avatar.d.ts +2 -1
- package/dist/components/charity-tags-filter-button/charity-tags-filter-button.stories.d.ts +2 -1
- package/dist/components/cropper/cropper.stories.d.ts +2 -1
- package/dist/components/donation-form/donation-form.stories.d.ts +33 -7
- package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +2 -2
- package/dist/components/icon/material-icon.d.ts +0 -5
- package/dist/components/index.d.ts +2 -2
- package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +2 -1
- package/dist/components/input/input.stories.d.ts +2 -1
- package/dist/components/input-social/input-social.stories.d.ts +2 -1
- package/dist/components/layout/box.d.ts +0 -1
- package/dist/components/layout/flex.d.ts +0 -9
- package/dist/components/layout/flex.stories.d.ts +36 -8
- package/dist/components/layout/stack.d.ts +1 -8
- package/dist/components/modal/modal.stories.d.ts +2 -2
- package/dist/components/my-account-frp-closed/frp-information.d.ts +2 -1
- package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +2 -1
- package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +2 -1
- package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +2 -1
- package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +1 -1
- package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +2 -1
- package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +2 -1
- package/dist/components/nav/charity.d.ts +3 -0
- package/dist/components/nav/nav-charity.d.ts +7 -0
- package/dist/components/nav/nav-expanded-charity-new.d.ts +12 -0
- package/dist/components/nav/nav-expanded-charity-v2.d.ts +12 -0
- package/dist/components/nav/nav-myaccount.d.ts +2 -1
- package/dist/components/nav/nav.d.ts +8 -3
- package/dist/components/navigation/navigation-user-menu.d.ts +1 -0
- package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +2 -1
- package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +2 -1
- package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +2 -1
- package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +2 -1
- package/dist/components/phone-number-input/phone-number-input.stories.d.ts +22 -24
- package/dist/components/select/select.stories.d.ts +93 -13
- package/dist/components/switch/switch.d.ts +4 -1
- package/dist/components/table/partner-monthly-table.stories.d.ts +2 -1
- package/dist/components/text/text.stories.d.ts +55 -8
- package/dist/components/text-field/text-field.stories.d.ts +6 -14
- package/dist/components/this-month-card/this-month-card.stories.d.ts +2 -1
- package/dist/components/toast/toast.stories.d.ts +2 -1
- package/dist/donation.esm.js +36 -42
- package/dist/donation.js +40 -46
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +509 -528
- package/dist/index.js +513 -532
- package/package.json +21 -14
|
@@ -1,24 +1,104 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
large: {
|
|
8
|
+
control: string;
|
|
9
|
+
defaultValue: boolean;
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
control: string;
|
|
13
|
+
defaultValue: string;
|
|
14
|
+
};
|
|
15
|
+
labelKind: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
options: {
|
|
19
|
+
External: string;
|
|
20
|
+
Floating: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
defaultValue: string;
|
|
24
|
+
};
|
|
25
|
+
required: {
|
|
26
|
+
control: string;
|
|
27
|
+
defaultValue: boolean;
|
|
28
|
+
};
|
|
29
|
+
helperText: {
|
|
30
|
+
control: string;
|
|
31
|
+
defaultValue: string;
|
|
32
|
+
};
|
|
33
|
+
persistent: {
|
|
34
|
+
control: string;
|
|
35
|
+
defaultValue: boolean;
|
|
36
|
+
};
|
|
37
|
+
leadingIcon: {
|
|
38
|
+
control: string;
|
|
39
|
+
defaultValue: boolean;
|
|
40
|
+
};
|
|
41
|
+
arrow: {
|
|
42
|
+
control: string;
|
|
43
|
+
defaultValue: boolean;
|
|
44
|
+
};
|
|
45
|
+
error: {
|
|
46
|
+
control: string;
|
|
47
|
+
defaultValue: string;
|
|
48
|
+
};
|
|
11
49
|
};
|
|
12
50
|
};
|
|
51
|
+
export default _default;
|
|
52
|
+
export declare const SelectStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
13
53
|
export declare const SelectStoryV2: {
|
|
14
54
|
(): React.JSX.Element;
|
|
15
55
|
story: {
|
|
16
56
|
name: string;
|
|
57
|
+
decorators: (typeof CenterDecorator)[];
|
|
58
|
+
argTypes: {
|
|
59
|
+
large: {
|
|
60
|
+
control: string;
|
|
61
|
+
defaultValue: boolean;
|
|
62
|
+
};
|
|
63
|
+
label: {
|
|
64
|
+
control: string;
|
|
65
|
+
defaultValue: string;
|
|
66
|
+
};
|
|
67
|
+
labelKind: {
|
|
68
|
+
control: {
|
|
69
|
+
type: string;
|
|
70
|
+
options: {
|
|
71
|
+
External: string;
|
|
72
|
+
Floating: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
defaultValue: string;
|
|
76
|
+
};
|
|
77
|
+
required: {
|
|
78
|
+
control: string;
|
|
79
|
+
defaultValue: boolean;
|
|
80
|
+
};
|
|
81
|
+
helperText: {
|
|
82
|
+
control: string;
|
|
83
|
+
defaultValue: string;
|
|
84
|
+
};
|
|
85
|
+
persistent: {
|
|
86
|
+
control: string;
|
|
87
|
+
defaultValue: boolean;
|
|
88
|
+
};
|
|
89
|
+
leadingIcon: {
|
|
90
|
+
control: string;
|
|
91
|
+
defaultValue: boolean;
|
|
92
|
+
};
|
|
93
|
+
arrow: {
|
|
94
|
+
control: string;
|
|
95
|
+
defaultValue: boolean;
|
|
96
|
+
};
|
|
97
|
+
error: {
|
|
98
|
+
control: string;
|
|
99
|
+
defaultValue: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
17
102
|
};
|
|
18
103
|
};
|
|
19
|
-
export declare const SelectEnhancedStory:
|
|
20
|
-
(): React.JSX.Element;
|
|
21
|
-
story: {
|
|
22
|
-
name: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
104
|
+
export declare const SelectEnhancedStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
@@ -10,5 +10,8 @@ export interface SwitchProps extends Omit<MDCSwitchProps, "ref" | "color"> {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
onChange?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
12
12
|
}
|
|
13
|
-
declare const Switch:
|
|
13
|
+
declare const Switch: {
|
|
14
|
+
({ id, label, color, className, ...rest }: SwitchProps): React.JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
14
17
|
export default Switch;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const PartnerMonthlyTableStories: {
|
|
@@ -2,16 +2,63 @@ import React from "react";
|
|
|
2
2
|
import CenterDecorator from "../../utils/center-decorator";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
decorators: (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
contents: {
|
|
8
|
+
control: string;
|
|
9
|
+
defaultValue: string;
|
|
10
|
+
};
|
|
11
|
+
elem: {
|
|
12
|
+
control: {
|
|
13
|
+
type: string;
|
|
14
|
+
options: {
|
|
15
|
+
Span: string;
|
|
16
|
+
"Heading 1": string;
|
|
17
|
+
"Heading 2": string;
|
|
18
|
+
"Heading 3": string;
|
|
19
|
+
"Heading 4": string;
|
|
20
|
+
"Heading 5": string;
|
|
21
|
+
"Heading 6": string;
|
|
22
|
+
Paragraph: string;
|
|
23
|
+
Small: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
defaultValue: string;
|
|
27
|
+
};
|
|
28
|
+
kind: {
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
options: string[];
|
|
32
|
+
};
|
|
33
|
+
defaultValue: string;
|
|
34
|
+
};
|
|
35
|
+
align: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
options: string[];
|
|
39
|
+
};
|
|
40
|
+
defaultValue: string;
|
|
41
|
+
};
|
|
42
|
+
underline: {
|
|
43
|
+
control: string;
|
|
44
|
+
defaultValue: boolean;
|
|
45
|
+
};
|
|
46
|
+
strike: {
|
|
47
|
+
control: string;
|
|
48
|
+
defaultValue: boolean;
|
|
49
|
+
};
|
|
50
|
+
bold: {
|
|
51
|
+
control: string;
|
|
52
|
+
defaultValue: boolean;
|
|
53
|
+
};
|
|
54
|
+
italic: {
|
|
55
|
+
control: string;
|
|
56
|
+
defaultValue: boolean;
|
|
57
|
+
};
|
|
13
58
|
};
|
|
14
59
|
};
|
|
60
|
+
export default _default;
|
|
61
|
+
export declare const TextStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
15
62
|
export declare const kinds: {
|
|
16
63
|
(): React.JSX.Element;
|
|
17
64
|
story: {
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryFn } from "@storybook/react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
|
|
5
|
+
tags: string[];
|
|
6
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
7
|
};
|
|
6
8
|
export default _default;
|
|
7
|
-
export declare const TextFieldStory:
|
|
8
|
-
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const TextFieldSearchStory: {
|
|
14
|
-
(): React.JSX.Element;
|
|
15
|
-
story: {
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
9
|
+
export declare const TextFieldStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
10
|
+
export declare const TextFieldSearchStory: StoryFn;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const ThisMonthCardStories: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const SwitchDefault: {
|