@mycause/ui 0.0.0-cd5f92c2 → 0.0.0-cdb7f11f

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 (67) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/components/choose-charity-card/choose-charity-card.d.ts +10 -0
  3. package/dist/components/choose-charity-card/choose-charity-card.stories.d.ts +14 -0
  4. package/dist/components/choose-charity-card/index.d.ts +1 -0
  5. package/dist/components/favorite-charity-item/favorite-charity-item.d.ts +15 -0
  6. package/dist/components/favorite-charity-item/favorite-charity-item.stories.d.ts +15 -0
  7. package/dist/components/favorite-charity-item/index.d.ts +1 -0
  8. package/dist/components/field-helpers/field-label.d.ts +2 -1
  9. package/dist/components/green-dashboard-sidebar/Icon.d.ts +11 -0
  10. package/dist/components/green-dashboard-sidebar/green-dashboard-sidebar.d.ts +15 -0
  11. package/dist/components/green-dashboard-sidebar/green-dashboard-sidebar.stories.d.ts +12 -0
  12. package/dist/components/green-dashboard-sidebar/index.d.ts +1 -0
  13. package/dist/components/index.d.ts +15 -0
  14. package/dist/components/input/InputDefault.d.ts +4 -1
  15. package/dist/components/input/index.d.ts +1 -1
  16. package/dist/components/input/input.stories.d.ts +6 -0
  17. package/dist/components/modal/index.d.ts +1 -0
  18. package/dist/components/modal/modal-image.d.ts +8 -0
  19. package/dist/components/modal/modal.d.ts +3 -1
  20. package/dist/components/modal/modal.stories.d.ts +6 -0
  21. package/dist/components/modal/modalImage.d.ts +2 -2
  22. package/dist/components/my-account-choose-charity-card/index.d.ts +1 -0
  23. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.d.ts +11 -0
  24. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.stories.d.ts +14 -0
  25. package/dist/components/my-account-frp-archive/Icon.d.ts +5 -0
  26. package/dist/components/my-account-frp-archive/frp-archive-img.d.ts +8 -0
  27. package/dist/components/my-account-frp-archive/frp-information.d.ts +12 -0
  28. package/dist/components/my-account-frp-archive/index.d.ts +1 -0
  29. package/dist/components/my-account-frp-archive/my-account-frp-archive.d.ts +15 -0
  30. package/dist/components/my-account-frp-archive/my-account-frp-archive.stories.d.ts +24 -0
  31. package/dist/components/my-account-frp-closed/Icon.d.ts +5 -0
  32. package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +8 -0
  33. package/dist/components/my-account-frp-closed/frp-information.d.ts +10 -0
  34. package/dist/components/my-account-frp-closed/index.d.ts +1 -0
  35. package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +13 -0
  36. package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +24 -0
  37. package/dist/components/my-account-frp-preview/Icon.d.ts +5 -0
  38. package/dist/components/my-account-frp-preview/frp-information.d.ts +13 -0
  39. package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +8 -0
  40. package/dist/components/my-account-frp-preview/index.d.ts +1 -0
  41. package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +16 -0
  42. package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +24 -0
  43. package/dist/components/my-account-sidebar/Icon.d.ts +13 -0
  44. package/dist/components/my-account-sidebar/index.d.ts +1 -0
  45. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +17 -0
  46. package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +12 -0
  47. package/dist/components/my-account-start-fundraise-card/index.d.ts +1 -0
  48. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +11 -0
  49. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +14 -0
  50. package/dist/components/my-account-stats-donated/index.d.ts +1 -0
  51. package/dist/components/my-account-stats-donated/my-account-stats-donated.d.ts +8 -0
  52. package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +12 -0
  53. package/dist/components/my-account-stats-raised/index.d.ts +1 -0
  54. package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +8 -0
  55. package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +12 -0
  56. package/dist/components/phone-number-input/index.d.ts +1 -0
  57. package/dist/components/phone-number-input/phone-number-input-v2.d.ts +18 -0
  58. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +12 -0
  59. package/dist/components/progressbar/progress-bar-circle.d.ts +10 -0
  60. package/dist/components/progressbar/progressbar.stories.d.ts +6 -0
  61. package/dist/components/select/select.d.ts +3 -1
  62. package/dist/components/start-fundraise-card/index.d.ts +1 -0
  63. package/dist/components/start-fundraise-card/start-fundraise-card.d.ts +10 -0
  64. package/dist/components/start-fundraise-card/start-fundraise-card.stories.d.ts +14 -0
  65. package/dist/index.esm.js +1681 -474
  66. package/dist/index.js +1701 -482
  67. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import { CountryCode } from "libphonenumber-js";
3
+ declare type PhoneInputProps = {
4
+ values: {
5
+ number: string;
6
+ countryCallingCode: string;
7
+ country: string;
8
+ };
9
+ onChange: (value: string, name: string) => void;
10
+ label?: React.ReactNode;
11
+ error?: string | null;
12
+ required?: boolean;
13
+ defaultCountry?: CountryCode;
14
+ placeholder?: string;
15
+ color?: string;
16
+ };
17
+ declare function PhoneInput({ values, onChange, defaultCountry, label, required, placeholder, error, }: PhoneInputProps): JSX.Element;
18
+ export default PhoneInput;
@@ -11,3 +11,15 @@ export declare const PhoneNumberInputStory: {
11
11
  name: string;
12
12
  };
13
13
  };
14
+ export declare const PhoneInputStory: {
15
+ (): JSX.Element;
16
+ story: {
17
+ name: string;
18
+ };
19
+ };
20
+ export declare const PhoneNumberInputV2: {
21
+ (): JSX.Element;
22
+ story: {
23
+ name: string;
24
+ };
25
+ };
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface CircularProgressProps {
3
+ percentage: number;
4
+ strokeWidth: number;
5
+ sqSize: number;
6
+ color: string;
7
+ centerContent?: JSX.Element;
8
+ }
9
+ declare const CircularProgress: ({ percentage, strokeWidth, sqSize, centerContent, color, }: CircularProgressProps) => JSX.Element;
10
+ export default CircularProgress;
@@ -12,3 +12,9 @@ export declare const progressbar: {
12
12
  name: string;
13
13
  };
14
14
  };
15
+ export declare const progressbarCircle: {
16
+ (): JSX.Element;
17
+ story: {
18
+ name: string;
19
+ };
20
+ };
@@ -17,7 +17,9 @@ export interface SelectProps extends Omit<MDCSelectProps, "onEnhancedChange" | "
17
17
  isHelperTextPersistent?: boolean;
18
18
  noArrow?: boolean;
19
19
  color?: string;
20
+ asteriskColor?: string;
20
21
  error?: boolean | string;
22
+ customTrailingIcon?: boolean;
21
23
  }
22
- declare const Select: ({ label, value, onChange, helperText, isHelperTextPersistent, externalLabel, id, className, options, large, required, leadingIcon, noArrow, error, color, ...rest }: SelectProps) => JSX.Element;
24
+ declare const Select: ({ label, value, onChange, helperText, isHelperTextPersistent, externalLabel, id, className, options, large, required, leadingIcon, noArrow, error, color, asteriskColor, customTrailingIcon, ...rest }: SelectProps) => JSX.Element;
23
25
  export default Select;
@@ -0,0 +1 @@
1
+ export { default as StartFundraiseCard } from "./start-fundraise-card";
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ export interface StartFundraiseCardProps {
3
+ className?: string;
4
+ title?: string;
5
+ description?: string;
6
+ buttonText?: string;
7
+ onClick?: () => void;
8
+ }
9
+ declare const StartFundraiseCard: ({ className, title, buttonText, onClick, }: StartFundraiseCardProps) => JSX.Element;
10
+ export default StartFundraiseCard;
@@ -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, buttonText, onClick, }: import("./start-fundraise-card").StartFundraiseCardProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const startFundraiseStory: {
10
+ (): JSX.Element;
11
+ story: {
12
+ name: string;
13
+ };
14
+ };