@mycause/ui 0.0.0-c2f2c947 → 0.0.0-c31ccf90

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 (213) hide show
  1. package/CHANGELOG.md +499 -3
  2. package/README.md +9 -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-select/button-select.d.ts +12 -0
  7. package/dist/components/button-select/button-select.stories.d.ts +13 -0
  8. package/dist/components/button-select/index.d.ts +1 -0
  9. package/dist/components/campaign-card/campaign-card.d.ts +9 -0
  10. package/dist/components/campaign-card/campaign-card.stories.d.ts +14 -0
  11. package/dist/components/campaign-card/index.d.ts +1 -0
  12. package/dist/components/campaign-of-month/campaign-of-month.d.ts +15 -0
  13. package/dist/components/campaign-of-month/campaign-of-month.stories.d.ts +14 -0
  14. package/dist/components/campaign-of-month/index.d.ts +1 -0
  15. package/dist/components/charity-card/charity-card.d.ts +7 -0
  16. package/dist/components/charity-card/charity-card.stories.d.ts +14 -0
  17. package/dist/components/charity-card/index.d.ts +1 -0
  18. package/dist/components/checkbox/checkbox.d.ts +16 -0
  19. package/dist/components/checkbox/checkbox.stories.d.ts +25 -0
  20. package/dist/components/checkbox/index.d.ts +1 -0
  21. package/dist/components/combo-field/combo-field.d.ts +5 -2
  22. package/dist/components/comment-section/comment-section-v2/comment-section-v2.d.ts +31 -0
  23. package/dist/components/comment-section/comment-section-v2/sub-comments-v2.d.ts +11 -0
  24. package/dist/components/comment-section/comment-section.d.ts +24 -0
  25. package/dist/components/comment-section/comment-section.stories.d.ts +19 -0
  26. package/dist/components/comment-section/index.d.ts +2 -0
  27. package/dist/components/comment-section/sub-comments.d.ts +6 -0
  28. package/dist/components/cropper/cropper.d.ts +22 -0
  29. package/dist/components/cropper/cropper.stories.d.ts +12 -0
  30. package/dist/components/cropper/index.d.ts +1 -0
  31. package/dist/components/date-picker/date-picker.d.ts +27 -0
  32. package/dist/components/date-picker/date-picker.stories.d.ts +32 -0
  33. package/dist/components/date-picker/index.d.ts +2 -0
  34. package/dist/components/date-picker/single-date-picker.d.ts +25 -0
  35. package/dist/components/donate-card/donate-card.d.ts +8 -0
  36. package/dist/components/donate-card/donate-card.stories.d.ts +14 -0
  37. package/dist/components/donate-card/index.d.ts +1 -0
  38. package/dist/components/donation-form/donation-details.d.ts +12 -0
  39. package/dist/components/donation-form/donation-form-v2/donation-form-v2.d.ts +13 -0
  40. package/dist/components/donation-form/donation-form.d.ts +64 -0
  41. package/dist/components/donation-form/donation-form.stories.d.ts +18 -0
  42. package/dist/components/donation-form/donation-payment.d.ts +13 -0
  43. package/dist/components/donation-form/donation-select.d.ts +13 -0
  44. package/dist/components/donation-form/index.d.ts +2 -0
  45. package/dist/components/elevation/elevation.d.ts +5 -3
  46. package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +17 -0
  47. package/dist/components/featured-campaign-card/featured-campaign-card.stories.d.ts +14 -0
  48. package/dist/components/featured-campaign-card/index.d.ts +1 -0
  49. package/dist/components/field-helpers/field-helper-text.d.ts +8 -0
  50. package/dist/components/field-helpers/field-label.d.ts +8 -0
  51. package/dist/components/field-helpers/index.d.ts +2 -0
  52. package/dist/components/footerV2/footerV2.d.ts +35 -0
  53. package/dist/components/footerV2/footerV2.stories.d.ts +15 -0
  54. package/dist/components/footerV2/index.d.ts +1 -0
  55. package/dist/components/fundraising-section/fundraising-section.d.ts +9 -0
  56. package/dist/components/fundraising-section/fundraising-section.stories.d.ts +14 -0
  57. package/dist/components/fundraising-section/index.d.ts +1 -0
  58. package/dist/components/green-dashboard-sidebar/Icon.d.ts +11 -0
  59. package/dist/components/green-dashboard-sidebar/green-dashboard-sidebar.d.ts +15 -0
  60. package/dist/components/green-dashboard-sidebar/green-dashboard-sidebar.stories.d.ts +12 -0
  61. package/dist/components/green-dashboard-sidebar/index.d.ts +1 -0
  62. package/dist/components/hero-banner/hero-banner.d.ts +9 -0
  63. package/dist/components/hero-banner/hero-banner.stories.d.ts +14 -0
  64. package/dist/components/hero-banner/index.d.ts +1 -0
  65. package/dist/components/horizontalbar/horizontalbar.d.ts +11 -0
  66. package/dist/components/horizontalbar/horizontalbar.stories.d.ts +26 -0
  67. package/dist/components/horizontalbar/index.d.ts +1 -0
  68. package/dist/components/icon/{toggle-button.d.ts → heart-toggle.d.ts} +3 -3
  69. package/dist/components/icon/{toggle-button.stories.d.ts → heart-toggle.stories.d.ts} +1 -1
  70. package/dist/components/icon/index.d.ts +1 -1
  71. package/dist/components/index.d.ts +38 -0
  72. package/dist/components/info-represent-campaign/index.d.ts +1 -0
  73. package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +11 -0
  74. package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +12 -0
  75. package/dist/components/input/InputDefault.d.ts +8 -0
  76. package/dist/components/input/index.d.ts +1 -0
  77. package/dist/components/input/input.stories.d.ts +12 -0
  78. package/dist/components/layout/box.d.ts +382 -0
  79. package/dist/components/layout/flex.d.ts +2 -1
  80. package/dist/components/layout/grid.d.ts +9 -0
  81. package/dist/components/layout/grid.stories.d.ts +13 -0
  82. package/dist/components/layout/index.d.ts +2 -0
  83. package/dist/components/line-chart/index.d.ts +2 -0
  84. package/dist/components/line-chart/partner-line-chart-block.d.ts +10 -0
  85. package/dist/components/line-chart/partner-line-chart-block.stories.d.ts +12 -0
  86. package/dist/components/line-chart/partner-line-chart.d.ts +3 -0
  87. package/dist/components/list/index.d.ts +1 -0
  88. package/dist/components/list/list.d.ts +42 -0
  89. package/dist/components/list/list.stories.d.ts +43 -0
  90. package/dist/components/login/index.d.ts +1 -0
  91. package/dist/components/login/login.d.ts +15 -0
  92. package/dist/components/login/login.stories.d.ts +19 -0
  93. package/dist/components/logo/logo-type.d.ts +2 -1
  94. package/dist/components/menu/index.d.ts +1 -0
  95. package/dist/components/menu/menu-list-divider.d.ts +2 -0
  96. package/dist/components/modal/index.d.ts +1 -0
  97. package/dist/components/modal/modal-image.d.ts +8 -0
  98. package/dist/components/modal/modal.d.ts +21 -0
  99. package/dist/components/modal/modal.stories.d.ts +31 -0
  100. package/dist/components/modal/modalImage.d.ts +8 -0
  101. package/dist/components/my-account-frp-preview/index.d.ts +1 -0
  102. package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +8 -0
  103. package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +12 -0
  104. package/dist/components/my-account-sidebar/Icon.d.ts +11 -0
  105. package/dist/components/my-account-sidebar/index.d.ts +1 -0
  106. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +15 -0
  107. package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +12 -0
  108. package/dist/components/my-account-stats-donated/index.d.ts +1 -0
  109. package/dist/components/my-account-stats-donated/my-account-stats-donated.d.ts +8 -0
  110. package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +12 -0
  111. package/dist/components/my-account-stats-raised/index.d.ts +1 -0
  112. package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +8 -0
  113. package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +12 -0
  114. package/dist/components/nav/icons/IconBigger.d.ts +5 -0
  115. package/dist/components/nav/icons/IconSmaller.d.ts +5 -0
  116. package/dist/components/nav/index.d.ts +1 -0
  117. package/dist/components/nav/nav-actions.d.ts +5 -0
  118. package/dist/components/nav/nav-bar.d.ts +7 -0
  119. package/dist/components/nav/nav-call-to-action.d.ts +5 -0
  120. package/dist/components/nav/nav-expanded-charity.d.ts +13 -0
  121. package/dist/components/nav/nav-expanded.d.ts +14 -0
  122. package/dist/components/nav/nav-list.d.ts +29 -0
  123. package/dist/components/nav/nav-menu-control.d.ts +8 -0
  124. package/dist/components/nav/nav-menu.d.ts +12 -0
  125. package/dist/components/nav/nav-search-control.d.ts +8 -0
  126. package/dist/components/nav/nav-search.d.ts +10 -0
  127. package/dist/components/nav/nav-sign-in-control.d.ts +12 -0
  128. package/dist/components/nav/nav-user-menu-items.d.ts +20 -0
  129. package/dist/components/nav/nav-user-menu.d.ts +18 -0
  130. package/dist/components/nav/nav.d.ts +56 -0
  131. package/dist/components/nav/nav.stories.d.ts +11 -0
  132. package/dist/components/navigation/navigation-bar.d.ts +2 -1
  133. package/dist/components/navigation/navigation-expanded.d.ts +1 -1
  134. package/dist/components/navigation/navigation-list.d.ts +3 -1
  135. package/dist/components/navigation/navigation-menu.d.ts +2 -1
  136. package/dist/components/navigation/navigation-sign-in-control.d.ts +6 -3
  137. package/dist/components/navigation/navigation-user-menu-items.d.ts +12 -12
  138. package/dist/components/navigation/navigation-user-menu.d.ts +4 -15
  139. package/dist/components/navigation/navigation.d.ts +37 -17
  140. package/dist/components/navigation/navigation.stories.d.ts +3 -21
  141. package/dist/components/partner-chart-stats/index.d.ts +1 -0
  142. package/dist/components/partner-chart-stats/partner-chart-stats.d.ts +11 -0
  143. package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +18 -0
  144. package/dist/components/partner-dashboard-chart/chart.d.ts +3 -0
  145. package/dist/components/partner-dashboard-chart/chart.stories.d.ts +14 -0
  146. package/dist/components/partner-dashboard-chart/index.d.ts +1 -0
  147. package/dist/components/partner-monthly-donations/index.d.ts +1 -0
  148. package/dist/components/partner-monthly-donations/partner-monthly-donations.d.ts +8 -0
  149. package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +12 -0
  150. package/dist/components/partner-monthly-stats/index.d.ts +1 -0
  151. package/dist/components/partner-monthly-stats/partner-monthly-stats.d.ts +7 -0
  152. package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +12 -0
  153. package/dist/components/partner-toggle-button/index.d.ts +2 -0
  154. package/dist/components/partner-toggle-button/partner-toggle-button-block.d.ts +11 -0
  155. package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +12 -0
  156. package/dist/components/partner-toggle-button/partner-toggle-button.d.ts +8 -0
  157. package/dist/components/phone-number-input/index.d.ts +2 -0
  158. package/dist/components/phone-number-input/phone-number-input.d.ts +25 -0
  159. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +13 -0
  160. package/dist/components/phone-number-input/util.d.ts +2 -0
  161. package/dist/components/popup/index.d.ts +1 -0
  162. package/dist/components/popup/popup.d.ts +8 -0
  163. package/dist/components/popup/popup.stories.d.ts +14 -0
  164. package/dist/components/progressbar/index.d.ts +1 -0
  165. package/dist/components/progressbar/progressbar.d.ts +8 -0
  166. package/dist/components/progressbar/progressbar.stories.d.ts +14 -0
  167. package/dist/components/radio/index.d.ts +2 -0
  168. package/dist/components/radio/radio-group.d.ts +16 -0
  169. package/dist/components/radio/radio-group.stories.d.ts +13 -0
  170. package/dist/components/radio/radio.d.ts +17 -0
  171. package/dist/components/radio/radio.stories.d.ts +25 -0
  172. package/dist/components/select/index.d.ts +1 -0
  173. package/dist/components/select/select-helper-text.d.ts +7 -0
  174. package/dist/components/select/select.d.ts +11 -5
  175. package/dist/components/select/select.stories.d.ts +2 -21
  176. package/dist/components/spinner/index.d.ts +1 -0
  177. package/dist/components/spinner/spinner.d.ts +8 -0
  178. package/dist/components/spinner/spinner.stories.d.ts +13 -0
  179. package/dist/components/start-campaign-card/index.d.ts +1 -0
  180. package/dist/components/start-campaign-card/start-campaign-card.d.ts +8 -0
  181. package/dist/components/start-campaign-card/start-campaign-card.stories.d.ts +14 -0
  182. package/dist/components/statistics/statistics.d.ts +2 -1
  183. package/dist/components/switch/index.d.ts +1 -0
  184. package/dist/components/switch/switch.d.ts +14 -0
  185. package/dist/components/switch/switch.stories.d.ts +25 -0
  186. package/dist/components/table/index.d.ts +1 -0
  187. package/dist/components/table/partner-monthly-table.d.ts +16 -0
  188. package/dist/components/table/partner-monthly-table.stories.d.ts +18 -0
  189. package/dist/components/tabs/nav-tabs.d.ts +18 -0
  190. package/dist/components/tabs/tab.d.ts +1 -0
  191. package/dist/components/tabs/tabs.d.ts +5 -2
  192. package/dist/components/text/text.d.ts +5 -2
  193. package/dist/components/text/text.stories.d.ts +10 -1
  194. package/dist/components/text-field/index.d.ts +2 -0
  195. package/dist/components/text-field/text-field-search.d.ts +9 -0
  196. package/dist/components/text-field/text-field.d.ts +5 -3
  197. package/dist/components/text-field/text-field.stories.d.ts +3 -46
  198. package/dist/components/this-month-card/index.d.ts +1 -0
  199. package/dist/components/this-month-card/this-month-card.d.ts +15 -0
  200. package/dist/components/this-month-card/this-month-card.stories.d.ts +12 -0
  201. package/dist/components/uploader/index.d.ts +1 -0
  202. package/dist/components/uploader/uploader.d.ts +23 -0
  203. package/dist/index.d.ts +1 -1
  204. package/dist/index.esm.js +28649 -1587
  205. package/dist/index.js +28705 -1588
  206. package/dist/theme/index.d.ts +2 -0
  207. package/dist/theme/theme.d.ts +4 -0
  208. package/dist/utils/parse-numbers.d.ts +2 -0
  209. package/package.json +19 -1
  210. package/styles/index.css +2410 -56
  211. package/styles/reset.css +1 -0
  212. package/dist/components/mycause-statistics/index.d.ts +0 -1
  213. package/dist/components/mycause-statistics/mycause-statistics.d.ts +0 -12
@@ -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,35 @@
1
+ /// <reference types="react" />
2
+ interface PrismicFooterV2Document {
3
+ key: string;
4
+ total_member: string;
5
+ total_cause: string;
6
+ total_raised: string;
7
+ body: Array<{
8
+ primary: {
9
+ text: Array<{
10
+ type: string;
11
+ text: string;
12
+ spans: Array<any>;
13
+ }>;
14
+ };
15
+ items: Array<{
16
+ call_to_action_text: string | null;
17
+ call_to_action_link: {
18
+ link_type: string;
19
+ url?: string;
20
+ };
21
+ }>;
22
+ id: string;
23
+ slice_type: string;
24
+ slice_label: string | null;
25
+ }>;
26
+ }
27
+ declare function FooterV2({ className, dataFooter: document, bottomSectionOnly, OrangeCardUrl, OrangeCardFirstTitle, OrangeCardSecondTitle, }: {
28
+ className?: string;
29
+ dataFooter: PrismicFooterV2Document;
30
+ bottomSectionOnly?: boolean;
31
+ OrangeCardUrl?: string;
32
+ OrangeCardFirstTitle?: string;
33
+ OrangeCardSecondTitle?: string;
34
+ }): JSX.Element;
35
+ export default FooterV2;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import CenterDecorator from "../../utils/center-decorator";
3
+ import FooterV2 from "./footerV2";
4
+ declare const _default: {
5
+ title: string;
6
+ decorators: (typeof CenterDecorator)[];
7
+ component: typeof FooterV2;
8
+ };
9
+ export default _default;
10
+ export declare const FooterV2Story: {
11
+ (): JSX.Element;
12
+ story: {
13
+ name: string;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as FooterV2 } from "./footerV2";
@@ -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,11 @@
1
+ /// <reference types="react" />
2
+ declare const Icons: {
3
+ dashboard: (props?: {}) => JSX.Element;
4
+ collapse: (props?: {}) => JSX.Element;
5
+ expand: () => JSX.Element;
6
+ donations: () => JSX.Element;
7
+ account: () => JSX.Element;
8
+ support: () => JSX.Element;
9
+ additional: () => JSX.Element;
10
+ };
11
+ export default Icons;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export interface GreenDashboardSidebarProps {
3
+ listMenu: Array<ItemMenu>;
4
+ noDashboard?: boolean;
5
+ noAccount?: boolean;
6
+ noContract?: boolean;
7
+ }
8
+ declare type ItemMenu = {
9
+ id: string;
10
+ icon: any;
11
+ label: string;
12
+ href?: string;
13
+ };
14
+ declare const GreenDashboardSidebar: ({ listMenu, noDashboard, noAccount, noContract, }: GreenDashboardSidebarProps) => JSX.Element;
15
+ export default GreenDashboardSidebar;
@@ -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 popup: {
8
+ (): JSX.Element;
9
+ story: {
10
+ name: string;
11
+ };
12
+ };
@@ -0,0 +1 @@
1
+ export { default as GreenDashboardSidebar } from "./green-dashboard-sidebar";
@@ -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";
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import { IconButtonProps as MDCIconButtonProps } from "@material/react-icon-button";
3
3
  declare type IconButtonTypes = HTMLButtonElement | HTMLAnchorElement;
4
- export interface ToggleButtonProps extends Omit<MDCIconButtonProps<IconButtonTypes>, "onChange" | "value" | "ref" | "children"> {
4
+ export interface HeartToggleProps extends Omit<MDCIconButtonProps<IconButtonTypes>, "onChange" | "value" | "ref" | "children"> {
5
5
  active: React.ReactNode;
6
6
  inactive: React.ReactNode;
7
7
  onChange?: (value: boolean) => void;
8
8
  value: boolean;
9
9
  }
10
- declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
11
- export default ToggleButton;
10
+ declare const HeartToggle: React.ForwardRefExoticComponent<HeartToggleProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
11
+ export default HeartToggle;
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  decorators: (typeof CenterDecorator)[];
6
6
  };
7
7
  export default _default;
8
- export declare const toggleButton: {
8
+ export declare const hearttoggle: {
9
9
  (): JSX.Element;
10
10
  story: {
11
11
  name: string;
@@ -1,4 +1,4 @@
1
1
  export { default as Icon } from "./icon";
2
2
  export { default as IconButton } from "./icon-button";
3
3
  export { default as IconButtonGroup } from "./icon-button-group";
4
- export { default as ToggleButton } from "./toggle-button";
4
+ export { default as HeartToggle } from "./heart-toggle";
@@ -1,15 +1,53 @@
1
1
  export * from "./anchor";
2
2
  export * from "./avatar";
3
3
  export * from "./button";
4
+ export * from "./button-select";
4
5
  export * from "./chips";
6
+ export * from "./checkbox";
7
+ export * from "./comment-section";
8
+ export * from "./cropper";
5
9
  export * from "./combo-field";
10
+ export * from "./date-picker";
11
+ export * from "./donation-form";
6
12
  export * from "./elevation";
13
+ export * from "./field-helpers";
7
14
  export * from "./icon";
8
15
  export * from "./layout";
16
+ export * from "./list";
17
+ export * from "./login";
9
18
  export * from "./menu";
19
+ export * from "./modal";
10
20
  export * from "./navigation";
21
+ export * from "./phone-number-input";
22
+ export * from "./radio";
11
23
  export * from "./select";
24
+ export * from "./spinner";
12
25
  export * from "./statistics";
26
+ export * from "./switch";
13
27
  export * from "./tabs";
14
28
  export * from "./text-field";
15
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";
42
+ export * from "./popup";
43
+ export * from "./partner-monthly-donations";
44
+ export * from "./partner-monthly-stats";
45
+ export * from "./table";
46
+ export * from "./partner-chart-stats";
47
+ export * from "./this-month-card";
48
+ export * from "./partner-toggle-button";
49
+ export * from "./footerV2";
50
+ export * from "./my-account-sidebar";
51
+ export * from "./my-account-frp-preview";
52
+ export * from "./my-account-stats-donated";
53
+ export * from "./my-account-stats-raised";
@@ -0,0 +1 @@
1
+ export { default as InfoRepresentCampaign } from "./info-represent-campaign";
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export interface InfoRepresentCampaignProps {
3
+ id?: string;
4
+ campaignCreator: string;
5
+ rasingFundsFor: string;
6
+ fundsBankedTo: string;
7
+ avatar: string;
8
+ clickOnFollow: () => void;
9
+ }
10
+ declare const InfoRepresentCampaign: ({ campaignCreator, rasingFundsFor, fundsBankedTo, avatar, clickOnFollow, }: InfoRepresentCampaignProps) => JSX.Element;
11
+ export default InfoRepresentCampaign;
@@ -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 InforRepresentCampaignStories: {
8
+ (): JSX.Element;
9
+ story: {
10
+ name: string;
11
+ };
12
+ };
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface InputDefaltProps {
3
+ lable?: string;
4
+ required?: boolean;
5
+ placeholder?: string;
6
+ }
7
+ declare const Input: ({ lable, required, placeholder }: InputDefaltProps) => JSX.Element;
8
+ export default Input;
@@ -0,0 +1 @@
1
+ export { default as HorizontalBar } from "./InputDefault";
@@ -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 InputExample: {
8
+ (): JSX.Element;
9
+ story: {
10
+ name: string;
11
+ };
12
+ };