@mycause/ui 0.0.0-c3be7961 → 0.0.0-c3c28f91

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.
Files changed (179) hide show
  1. package/CHANGELOG.md +536 -2
  2. package/README.md +10 -0
  3. package/dist/components/anchor/anchor.d.ts +1 -1
  4. package/dist/components/anchor/anchor.stories.d.ts +1 -1
  5. package/dist/components/anchor/bold-anchor.d.ts +1 -1
  6. package/dist/components/button/button.d.ts +3 -7
  7. package/dist/components/button/button.stories.d.ts +12 -0
  8. package/dist/components/button-select/button-select.d.ts +12 -0
  9. package/dist/components/button-select/button-select.stories.d.ts +13 -0
  10. package/dist/components/button-select/index.d.ts +1 -0
  11. package/dist/components/campaign-card/campaign-card.d.ts +9 -0
  12. package/dist/components/campaign-card/campaign-card.stories.d.ts +14 -0
  13. package/dist/components/campaign-card/index.d.ts +1 -0
  14. package/dist/components/campaign-of-month/campaign-of-month.d.ts +14 -0
  15. package/dist/components/campaign-of-month/campaign-of-month.stories.d.ts +14 -0
  16. package/dist/components/campaign-of-month/index.d.ts +1 -0
  17. package/dist/components/charity-card/charity-card.d.ts +7 -0
  18. package/dist/components/charity-card/charity-card.stories.d.ts +14 -0
  19. package/dist/components/charity-card/index.d.ts +1 -0
  20. package/dist/components/checkbox/checkbox.d.ts +16 -0
  21. package/dist/components/checkbox/checkbox.stories.d.ts +25 -0
  22. package/dist/components/checkbox/index.d.ts +1 -0
  23. package/dist/components/chips/chip.d.ts +12 -0
  24. package/dist/components/chips/chips.d.ts +11 -0
  25. package/dist/components/chips/chips.stories.d.ts +25 -0
  26. package/dist/components/chips/index.d.ts +3 -0
  27. package/dist/components/chips/input-chips.d.ts +12 -0
  28. package/dist/components/chips/input-chips.stories.d.ts +13 -0
  29. package/dist/components/combo-field/combo-field-expander.d.ts +11 -0
  30. package/dist/components/combo-field/combo-field.d.ts +21 -0
  31. package/dist/components/combo-field/combo-field.stories.d.ts +19 -0
  32. package/dist/components/combo-field/index.d.ts +2 -0
  33. package/dist/components/comment-section/comment-section.d.ts +23 -0
  34. package/dist/components/comment-section/comment-section.stories.d.ts +13 -0
  35. package/dist/components/comment-section/index.d.ts +1 -0
  36. package/dist/components/comment-section/sub-comments.d.ts +6 -0
  37. package/dist/components/cropper/cropper.d.ts +22 -0
  38. package/dist/components/cropper/cropper.stories.d.ts +12 -0
  39. package/dist/components/cropper/index.d.ts +1 -0
  40. package/dist/components/date-picker/date-picker.d.ts +27 -0
  41. package/dist/components/date-picker/date-picker.stories.d.ts +32 -0
  42. package/dist/components/date-picker/index.d.ts +2 -0
  43. package/dist/components/date-picker/single-date-picker.d.ts +25 -0
  44. package/dist/components/donate-card/donate-card.d.ts +8 -0
  45. package/dist/components/donate-card/donate-card.stories.d.ts +14 -0
  46. package/dist/components/donate-card/index.d.ts +1 -0
  47. package/dist/components/donation-form/donation-details.d.ts +12 -0
  48. package/dist/components/donation-form/donation-form.d.ts +64 -0
  49. package/dist/components/donation-form/donation-form.stories.d.ts +12 -0
  50. package/dist/components/donation-form/donation-payment.d.ts +13 -0
  51. package/dist/components/donation-form/donation-select.d.ts +13 -0
  52. package/dist/components/donation-form/index.d.ts +1 -0
  53. package/dist/components/elevation/elevation.d.ts +13 -0
  54. package/dist/components/elevation/elevation.stories.d.ts +13 -0
  55. package/dist/components/elevation/index.d.ts +1 -0
  56. package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +14 -0
  57. package/dist/components/featured-campaign-card/featured-campaign-card.stories.d.ts +14 -0
  58. package/dist/components/featured-campaign-card/index.d.ts +1 -0
  59. package/dist/components/field-helpers/field-helper-text.d.ts +8 -0
  60. package/dist/components/field-helpers/field-label.d.ts +8 -0
  61. package/dist/components/field-helpers/index.d.ts +2 -0
  62. package/dist/components/fundraising-section/fundraising-section.d.ts +9 -0
  63. package/dist/components/fundraising-section/fundraising-section.stories.d.ts +14 -0
  64. package/dist/components/fundraising-section/index.d.ts +1 -0
  65. package/dist/components/hero-banner/hero-banner.d.ts +9 -0
  66. package/dist/components/hero-banner/hero-banner.stories.d.ts +14 -0
  67. package/dist/components/hero-banner/index.d.ts +1 -0
  68. package/dist/components/horizontalbar/horizontalbar.d.ts +11 -0
  69. package/dist/components/horizontalbar/horizontalbar.stories.d.ts +26 -0
  70. package/dist/components/horizontalbar/index.d.ts +1 -0
  71. package/dist/components/icon/heart-toggle.d.ts +11 -0
  72. package/dist/components/icon/heart-toggle.stories.d.ts +13 -0
  73. package/dist/components/icon/icon-button-group.d.ts +8 -0
  74. package/dist/components/icon/icon-button-group.stories.d.ts +13 -0
  75. package/dist/components/icon/icon-button.d.ts +3 -1
  76. package/dist/components/icon/icon-button.stories.d.ts +6 -0
  77. package/dist/components/icon/index.d.ts +2 -0
  78. package/dist/components/index.d.ts +30 -0
  79. package/dist/components/layout/box.d.ts +382 -0
  80. package/dist/components/layout/flex.d.ts +25 -0
  81. package/dist/components/layout/flex.stories.d.ts +14 -0
  82. package/dist/components/layout/grid.d.ts +9 -0
  83. package/dist/components/layout/grid.stories.d.ts +13 -0
  84. package/dist/components/layout/index.d.ts +3 -0
  85. package/dist/components/layout/stack.d.ts +5 -5
  86. package/dist/components/list/index.d.ts +1 -0
  87. package/dist/components/list/list.d.ts +42 -0
  88. package/dist/components/list/list.stories.d.ts +43 -0
  89. package/dist/components/login/index.d.ts +1 -0
  90. package/dist/components/login/login.d.ts +15 -0
  91. package/dist/components/login/login.stories.d.ts +19 -0
  92. package/dist/components/menu/index.d.ts +2 -0
  93. package/dist/components/menu/menu-list-divider.d.ts +2 -0
  94. package/dist/components/menu/menu-list-item-meta.d.ts +2 -0
  95. package/dist/components/modal/index.d.ts +1 -0
  96. package/dist/components/modal/modal.d.ts +20 -0
  97. package/dist/components/modal/modal.stories.d.ts +31 -0
  98. package/dist/components/nav/index.d.ts +1 -0
  99. package/dist/components/nav/nav-actions.d.ts +5 -0
  100. package/dist/components/nav/nav-bar.d.ts +7 -0
  101. package/dist/components/nav/nav-call-to-action.d.ts +5 -0
  102. package/dist/components/nav/nav-expanded-charity.d.ts +13 -0
  103. package/dist/components/nav/nav-expanded.d.ts +14 -0
  104. package/dist/components/nav/nav-list.d.ts +29 -0
  105. package/dist/components/nav/nav-menu-control.d.ts +7 -0
  106. package/dist/components/nav/nav-menu.d.ts +12 -0
  107. package/dist/components/nav/nav-search-control.d.ts +7 -0
  108. package/dist/components/nav/nav-search.d.ts +9 -0
  109. package/dist/components/nav/nav-sign-in-control.d.ts +11 -0
  110. package/dist/components/nav/nav-user-menu-items.d.ts +20 -0
  111. package/dist/components/nav/nav-user-menu.d.ts +18 -0
  112. package/dist/components/nav/nav.d.ts +55 -0
  113. package/dist/components/nav/nav.stories.d.ts +11 -0
  114. package/dist/components/navigation/navigation-actions.d.ts +4 -27
  115. package/dist/components/navigation/navigation-bar.d.ts +2 -1
  116. package/dist/components/navigation/navigation-call-to-action.d.ts +5 -0
  117. package/dist/components/navigation/navigation-expanded.d.ts +3 -8
  118. package/dist/components/navigation/navigation-list.d.ts +3 -1
  119. package/dist/components/navigation/navigation-menu-control.d.ts +7 -0
  120. package/dist/components/navigation/navigation-menu.d.ts +2 -1
  121. package/dist/components/navigation/navigation-search-control.d.ts +7 -0
  122. package/dist/components/navigation/navigation-sign-in-control.d.ts +11 -0
  123. package/dist/components/navigation/navigation-user-menu-items.d.ts +20 -0
  124. package/dist/components/navigation/navigation-user-menu.d.ts +18 -0
  125. package/dist/components/navigation/navigation.d.ts +37 -17
  126. package/dist/components/navigation/navigation.stories.d.ts +3 -33
  127. package/dist/components/phone-number-input/index.d.ts +2 -0
  128. package/dist/components/phone-number-input/phone-number-input.d.ts +25 -0
  129. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +13 -0
  130. package/dist/components/phone-number-input/util.d.ts +2 -0
  131. package/dist/components/popup/index.d.ts +1 -0
  132. package/dist/components/popup/popup.d.ts +8 -0
  133. package/dist/components/popup/popup.stories.d.ts +14 -0
  134. package/dist/components/progressbar/index.d.ts +1 -0
  135. package/dist/components/progressbar/progressbar.d.ts +8 -0
  136. package/dist/components/progressbar/progressbar.stories.d.ts +14 -0
  137. package/dist/components/radio/index.d.ts +2 -0
  138. package/dist/components/radio/radio-group.d.ts +16 -0
  139. package/dist/components/radio/radio-group.stories.d.ts +13 -0
  140. package/dist/components/radio/radio.d.ts +17 -0
  141. package/dist/components/radio/radio.stories.d.ts +25 -0
  142. package/dist/components/select/index.d.ts +1 -0
  143. package/dist/components/select/select-helper-text.d.ts +7 -0
  144. package/dist/components/select/select.d.ts +17 -6
  145. package/dist/components/select/select.stories.d.ts +2 -21
  146. package/dist/components/spinner/index.d.ts +1 -0
  147. package/dist/components/spinner/spinner.d.ts +8 -0
  148. package/dist/components/spinner/spinner.stories.d.ts +13 -0
  149. package/dist/components/start-campaign-card/index.d.ts +1 -0
  150. package/dist/components/start-campaign-card/start-campaign-card.d.ts +8 -0
  151. package/dist/components/start-campaign-card/start-campaign-card.stories.d.ts +14 -0
  152. package/dist/components/statistics/index.d.ts +1 -0
  153. package/dist/components/statistics/statistics.d.ts +13 -0
  154. package/dist/components/statistics/statistics.stories.d.ts +13 -0
  155. package/dist/components/switch/index.d.ts +1 -0
  156. package/dist/components/switch/switch.d.ts +14 -0
  157. package/dist/components/switch/switch.stories.d.ts +25 -0
  158. package/dist/components/tabs/nav-tabs.d.ts +17 -0
  159. package/dist/components/tabs/tab.d.ts +3 -1
  160. package/dist/components/tabs/tabs.d.ts +9 -5
  161. package/dist/components/text/text.d.ts +5 -2
  162. package/dist/components/text/text.stories.d.ts +10 -1
  163. package/dist/components/text-field/index.d.ts +1 -0
  164. package/dist/components/text-field/text-field.d.ts +5 -3
  165. package/dist/components/text-field/text-field.stories.d.ts +2 -51
  166. package/dist/components/uploader/index.d.ts +1 -0
  167. package/dist/components/uploader/uploader.d.ts +23 -0
  168. package/dist/index.d.ts +1 -1
  169. package/dist/index.esm.js +10279 -1007
  170. package/dist/index.js +10327 -1004
  171. package/dist/theme/index.d.ts +2 -0
  172. package/dist/utils/parse-numbers.d.ts +2 -0
  173. package/dist/utils/tap-event.d.ts +1 -0
  174. package/dist/utils/wrap.d.ts +2 -0
  175. package/package.json +23 -1
  176. package/styles/index.css +4922 -2375
  177. package/styles/reset.css +6 -308
  178. package/dist/components/mycause-statistics/index.d.ts +0 -1
  179. package/dist/components/mycause-statistics/mycause-statistics.d.ts +0 -12
@@ -0,0 +1,64 @@
1
+ /// <reference types="react" />
2
+ import { ColorSpecifier } from "../../theme/theme";
3
+ export interface PhoneProps {
4
+ number: string;
5
+ countryCallingCode: string;
6
+ country: string;
7
+ }
8
+ export interface FormDataProps {
9
+ firstName?: string;
10
+ lastName?: string;
11
+ address?: string;
12
+ cvv?: string;
13
+ email?: string;
14
+ card?: string;
15
+ expiry?: string;
16
+ phone?: PhoneProps;
17
+ }
18
+ export interface ErrorProps {
19
+ firstName?: string;
20
+ lastName?: string;
21
+ address?: string;
22
+ cvv?: string;
23
+ email?: string;
24
+ card?: string;
25
+ expiry?: string;
26
+ phone?: string;
27
+ }
28
+ interface SubmitProps extends FormDataProps {
29
+ mode: string;
30
+ amount: string | undefined;
31
+ inHonor: string | undefined;
32
+ addFee: boolean;
33
+ fees: string | number | undefined;
34
+ }
35
+ export interface DonationOptionsProps {
36
+ label: string | number;
37
+ value?: string;
38
+ noprefix?: boolean;
39
+ nocurrency?: boolean;
40
+ active?: boolean;
41
+ }
42
+ export interface DonationFormProps {
43
+ currency: string;
44
+ prefix: string;
45
+ getOption: (e: string | undefined) => void;
46
+ getDonation: (e: string | undefined) => void;
47
+ getInHonor: (e: string | undefined) => void;
48
+ getFormData: (e: FormDataProps) => void;
49
+ submit: (e: SubmitProps) => void;
50
+ formDefault: FormDataProps;
51
+ donationOption: Array<DonationOptionsProps>;
52
+ hasCard?: boolean;
53
+ error?: ErrorProps;
54
+ color?: ColorSpecifier;
55
+ buttonDonationColor?: ColorSpecifier;
56
+ buttonNextColor?: ColorSpecifier;
57
+ width?: string;
58
+ isLoading?: boolean;
59
+ noContianer?: boolean;
60
+ disableControl?: boolean;
61
+ fees?: string | number;
62
+ }
63
+ declare const DonationForm: ({ isLoading, noContianer, currency, prefix, getOption, getDonation, getInHonor, getFormData, formDefault, hasCard, donationOption, submit, error, color, buttonDonationColor, buttonNextColor, width, disableControl, fees, }: DonationFormProps) => JSX.Element;
64
+ export default DonationForm;
@@ -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 DonationFormStories: {
8
+ (): JSX.Element;
9
+ story: {
10
+ name: string;
11
+ };
12
+ };
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ColorSpecifier } from "../../theme/theme";
3
+ import { FormDataProps, ErrorProps } from "./donation-form";
4
+ export interface DonationPaymentProps {
5
+ formData: FormDataProps;
6
+ setFormData: (e: FormDataProps) => void;
7
+ getFormData: (e: FormDataProps) => void;
8
+ error: ErrorProps;
9
+ color?: ColorSpecifier;
10
+ hasCard?: boolean;
11
+ }
12
+ declare const DonationPayment: ({ formData, setFormData, getFormData, error, color, hasCard, }: DonationPaymentProps) => JSX.Element;
13
+ export default DonationPayment;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ColorSpecifier } from "../../theme/theme";
3
+ import { DonationOptionsProps } from "./donation-form";
4
+ interface DonationFormProps {
5
+ color: ColorSpecifier;
6
+ items: Array<DonationOptionsProps>;
7
+ click: (e: string | undefined) => void;
8
+ currency: string;
9
+ prefix: string;
10
+ mode: string;
11
+ }
12
+ declare const DonationSelect: ({ color, items, click, currency, prefix, mode, }: DonationFormProps) => JSX.Element;
13
+ export default DonationSelect;
@@ -0,0 +1 @@
1
+ export { default as DonationForm } from "./donation-form";
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { BoxProps } from "../layout/box";
3
+ export interface ElevationProps extends BoxProps {
4
+ dp?: number;
5
+ id?: string;
6
+ style?: object;
7
+ radius?: string;
8
+ className?: string;
9
+ transition?: boolean;
10
+ children: React.ReactNode;
11
+ }
12
+ declare const Elevation: ({ dp, id, radius, children, className, transition, ...res }: ElevationProps) => JSX.Element;
13
+ export default Elevation;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import CenterDecorator from "../../utils/center-decorator";
3
+ declare const _default: {
4
+ title: string;
5
+ decorators: (typeof CenterDecorator)[];
6
+ };
7
+ export default _default;
8
+ export declare const ElevationExample: {
9
+ (): JSX.Element;
10
+ story: {
11
+ name: string;
12
+ };
13
+ };
@@ -0,0 +1 @@
1
+ export { default as Elevation } from "./elevation";
@@ -0,0 +1,14 @@
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;
@@ -0,0 +1,14 @@
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, imageURL, title, donation, raised, goal, completed, width, }: import("./featured-campaign-card").FeaturedCampaignCardProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const featuredcampaigncard: {
10
+ (): JSX.Element;
11
+ story: {
12
+ name: string;
13
+ };
14
+ };
@@ -0,0 +1 @@
1
+ export { default as FeaturedCampaignCard } from "./featured-campaign-card";
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ declare type FieldHelperTextProps = {
3
+ hidden?: boolean;
4
+ error?: React.ReactNode;
5
+ children?: React.ReactNode;
6
+ };
7
+ declare function FieldHelperText({ hidden, children, error }: FieldHelperTextProps): JSX.Element;
8
+ export default FieldHelperText;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface FieldLabelProps extends React.HTMLProps<HTMLLabelElement> {
3
+ large?: boolean;
4
+ children?: React.ReactNode;
5
+ required?: boolean;
6
+ }
7
+ declare function FieldLabel({ large, className, children, required, ...rest }: FieldLabelProps): JSX.Element;
8
+ export default FieldLabel;
@@ -0,0 +1,2 @@
1
+ export { default as FieldLabel } from "./field-label";
2
+ export { default as FieldHelperText } from "./field-helper-text";
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export interface FundraisingSectionProps {
3
+ className?: string;
4
+ title?: string;
5
+ description?: string;
6
+ imageUrl?: string;
7
+ }
8
+ declare const FundraisingSection: ({ className, title, description, imageUrl, }: FundraisingSectionProps) => JSX.Element;
9
+ export default FundraisingSection;
@@ -0,0 +1,14 @@
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, description, imageUrl, }: import("./fundraising-section").FundraisingSectionProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const fundraisingsection: {
10
+ (): JSX.Element;
11
+ story: {
12
+ name: string;
13
+ };
14
+ };
@@ -0,0 +1 @@
1
+ export { default as FundraisingSection } from "./fundraising-section";
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export interface HeroBannerProps {
3
+ className?: string;
4
+ title?: string;
5
+ description?: string;
6
+ imageUrl?: string;
7
+ }
8
+ declare const HeroBnner: ({ className, title, description, imageUrl, }: HeroBannerProps) => JSX.Element;
9
+ export default HeroBnner;
@@ -0,0 +1,14 @@
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, description, imageUrl, }: import("./hero-banner").HeroBannerProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const herobanner: {
10
+ (): JSX.Element;
11
+ story: {
12
+ name: string;
13
+ };
14
+ };
@@ -0,0 +1 @@
1
+ export { default as HeroBanner } from "./hero-banner";
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export interface HorizontalBarProps {
3
+ className?: string;
4
+ barColor?: string;
5
+ dotColor?: string;
6
+ width?: number;
7
+ height?: number;
8
+ marginLeft?: number;
9
+ }
10
+ declare const HorizontalBar: ({ className, width, height, barColor, dotColor, marginLeft, }: HorizontalBarProps) => JSX.Element;
11
+ export default HorizontalBar;
@@ -0,0 +1,26 @@
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, width, height, barColor, dotColor, marginLeft, }: import("./horizontalbar").HorizontalBarProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const horizontalbar: {
10
+ (): JSX.Element;
11
+ story: {
12
+ name: string;
13
+ };
14
+ };
15
+ export declare const horizontalbar2: {
16
+ (): JSX.Element;
17
+ story: {
18
+ name: string;
19
+ };
20
+ };
21
+ export declare const horizontalbar3: {
22
+ (): JSX.Element;
23
+ story: {
24
+ name: string;
25
+ };
26
+ };
@@ -0,0 +1 @@
1
+ export { default as HorizontalBar } from "./horizontalbar";
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { IconButtonProps as MDCIconButtonProps } from "@material/react-icon-button";
3
+ declare type IconButtonTypes = HTMLButtonElement | HTMLAnchorElement;
4
+ export interface HeartToggleProps 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 HeartToggle: React.ForwardRefExoticComponent<HeartToggleProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
11
+ export default HeartToggle;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import CenterDecorator from "../../utils/center-decorator";
3
+ declare const _default: {
4
+ title: string;
5
+ decorators: (typeof CenterDecorator)[];
6
+ };
7
+ export default _default;
8
+ export declare const hearttoggle: {
9
+ (): JSX.Element;
10
+ story: {
11
+ name: string;
12
+ };
13
+ };
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface IconButtonGroupProps {
3
+ children: Array<React.ReactElement> | React.ReactElement;
4
+ size?: string;
5
+ isOutlinedOnFocus?: boolean;
6
+ }
7
+ declare function IconButtonGroup({ children, size, isOutlinedOnFocus, }: IconButtonGroupProps): JSX.Element;
8
+ export default IconButtonGroup;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import CenterDecorator from "../../utils/center-decorator";
3
+ declare const _default: {
4
+ title: string;
5
+ decorators: (typeof CenterDecorator)[];
6
+ };
7
+ export default _default;
8
+ export declare const IconButtonGroupStory: {
9
+ (): JSX.Element;
10
+ story: {
11
+ name: string;
12
+ };
13
+ };
@@ -2,8 +2,10 @@ import React from "react";
2
2
  import { IconButtonProps as MDCIconButtonProps } from "@material/react-icon-button";
3
3
  import { IconProps } from "./icon";
4
4
  export declare type IconButtonTypes = HTMLButtonElement | HTMLAnchorElement;
5
- export interface IconButtonProps extends Omit<MDCIconButtonProps<IconButtonTypes>, "ref"> {
5
+ export interface IconButtonProps extends Omit<MDCIconButtonProps<IconButtonTypes>, "ref" | "size"> {
6
6
  children: React.ReactElement<IconProps>;
7
+ pressed?: boolean;
8
+ size?: string;
7
9
  }
8
10
  declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
9
11
  export default IconButton;
@@ -11,3 +11,9 @@ export declare const iconButton: {
11
11
  name: string;
12
12
  };
13
13
  };
14
+ export declare const Toggle: {
15
+ (): JSX.Element;
16
+ story: {
17
+ name: string;
18
+ };
19
+ };
@@ -1,2 +1,4 @@
1
1
  export { default as Icon } from "./icon";
2
2
  export { default as IconButton } from "./icon-button";
3
+ export { default as IconButtonGroup } from "./icon-button-group";
4
+ export { default as HeartToggle } from "./heart-toggle";
@@ -1,11 +1,41 @@
1
1
  export * from "./anchor";
2
2
  export * from "./avatar";
3
3
  export * from "./button";
4
+ export * from "./button-select";
5
+ export * from "./chips";
6
+ export * from "./checkbox";
7
+ export * from "./comment-section";
8
+ export * from "./cropper";
9
+ export * from "./combo-field";
10
+ export * from "./date-picker";
11
+ export * from "./donation-form";
12
+ export * from "./elevation";
13
+ export * from "./field-helpers";
4
14
  export * from "./icon";
5
15
  export * from "./layout";
16
+ export * from "./list";
17
+ export * from "./login";
6
18
  export * from "./menu";
19
+ export * from "./modal";
7
20
  export * from "./navigation";
21
+ export * from "./phone-number-input";
22
+ export * from "./radio";
8
23
  export * from "./select";
24
+ export * from "./spinner";
25
+ export * from "./statistics";
26
+ export * from "./switch";
9
27
  export * from "./tabs";
10
28
  export * from "./text-field";
11
29
  export * from "./text";
30
+ export * from "./uploader";
31
+ export * from "./campaign-card";
32
+ export * from "./campaign-of-month";
33
+ export * from "./charity-card";
34
+ export * from "./donate-card";
35
+ export * from "./featured-campaign-card";
36
+ export * from "./fundraising-section";
37
+ export * from "./hero-banner";
38
+ export * from "./horizontalbar";
39
+ export * from "./progressbar";
40
+ export * from "./start-campaign-card";
41
+ export * from "./nav";