@mycause/ui 0.0.0-ce56cb2c → 0.0.0-ce6aece9

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 (78) hide show
  1. package/dist/components/avatar/image-avatar.d.ts +1 -0
  2. package/dist/components/avatar/text-avatar.d.ts +2 -1
  3. package/dist/components/button-select/button-select-exhanced.d.ts +23 -0
  4. package/dist/components/button-select/button-select.stories.d.ts +6 -0
  5. package/dist/components/button-select/index.d.ts +1 -0
  6. package/dist/components/charity-tags-filter-button/charity-tags-filter-button.d.ts +2 -1
  7. package/dist/components/charity-tags-filter-button/charity-tags-filter-button.stories.d.ts +2 -1
  8. package/dist/components/collapse/collapse.d.ts +12 -7
  9. package/dist/components/collapse/icons.d.ts +4 -0
  10. package/dist/components/credit-card-form/CreditCardForm.d.ts +13 -0
  11. package/dist/components/credit-card-form/credit-card.stories.d.ts +12 -0
  12. package/dist/components/credit-card-form/index.d.ts +1 -0
  13. package/dist/components/cropper/cropper.stories.d.ts +2 -1
  14. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +2 -2
  15. package/dist/components/date-picker/single-date-picker.d.ts +3 -3
  16. package/dist/components/donation-form/donation-form.stories.d.ts +33 -7
  17. package/dist/components/donation.d.ts +18 -0
  18. package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +2 -2
  19. package/dist/components/icon/material-icon.d.ts +0 -5
  20. package/dist/components/index.d.ts +2 -3
  21. package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +2 -1
  22. package/dist/components/input/input.stories.d.ts +2 -1
  23. package/dist/components/input-social/Icons.d.ts +4 -1
  24. package/dist/components/input-social/input-social.stories.d.ts +2 -1
  25. package/dist/components/layout/box.d.ts +0 -1
  26. package/dist/components/layout/flex.d.ts +0 -9
  27. package/dist/components/layout/flex.stories.d.ts +36 -8
  28. package/dist/components/layout/stack.d.ts +1 -8
  29. package/dist/components/login/login.d.ts +4 -1
  30. package/dist/components/modal/modal.stories.d.ts +2 -2
  31. package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +1 -2
  32. package/dist/components/my-account-frp-closed/frp-information.d.ts +2 -1
  33. package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +2 -1
  34. package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +2 -1
  35. package/dist/components/my-account-frp-preview/Icon.d.ts +1 -1
  36. package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +1 -1
  37. package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +2 -1
  38. package/dist/components/my-account-sidebar/Icon.d.ts +11 -11
  39. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +1 -1
  40. package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +1 -1
  41. package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +2 -1
  42. package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +2 -1
  43. package/dist/components/nav/nav-charity.d.ts +7 -0
  44. package/dist/components/nav/nav-expanded-charity-v2.d.ts +12 -0
  45. package/dist/components/nav/nav-myaccount.d.ts +2 -1
  46. package/dist/components/nav/nav.d.ts +8 -3
  47. package/dist/components/navigation/navigation-user-menu.d.ts +1 -0
  48. package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +2 -1
  49. package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +2 -1
  50. package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +2 -1
  51. package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +2 -1
  52. package/dist/components/phone-number-input/phone-number-input-v1.d.ts +3 -2
  53. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +22 -24
  54. package/dist/components/select/select.stories.d.ts +93 -13
  55. package/dist/components/spinner/spinner.d.ts +1 -1
  56. package/dist/components/switch/switch.d.ts +4 -1
  57. package/dist/components/table/partner-monthly-table.stories.d.ts +2 -1
  58. package/dist/components/text/text.stories.d.ts +55 -8
  59. package/dist/components/text-field/text-field.stories.d.ts +6 -14
  60. package/dist/components/this-month-card/this-month-card.stories.d.ts +2 -1
  61. package/dist/components/toast/Icons.d.ts +3 -3
  62. package/dist/components/toast/toast.stories.d.ts +2 -1
  63. package/dist/components/uploader/Icons.d.ts +6 -0
  64. package/dist/components/uploader/uploadAndCropper.d.ts +13 -0
  65. package/dist/donation.css +2 -0
  66. package/dist/donation.css.map +1 -0
  67. package/dist/donation.d.ts +3 -0
  68. package/dist/donation.esm.css +2 -0
  69. package/dist/donation.esm.css.map +1 -0
  70. package/dist/donation.esm.js +25302 -0
  71. package/dist/donation.js +25357 -0
  72. package/dist/index.css +1 -1
  73. package/dist/index.css.map +1 -1
  74. package/dist/index.esm.css +1 -1
  75. package/dist/index.esm.css.map +1 -1
  76. package/dist/index.esm.js +1430 -1157
  77. package/dist/index.js +1434 -1161
  78. package/package.json +28 -20
@@ -3,6 +3,7 @@ export interface ImageAvatarProps extends Omit<React.HTMLProps<HTMLSpanElement>,
3
3
  name: string;
4
4
  src: string;
5
5
  size?: string;
6
+ adminId?: string;
6
7
  }
7
8
  declare function ImageAvatar({ name, src, size, ...rest }: ImageAvatarProps): React.JSX.Element;
8
9
  export default ImageAvatar;
@@ -6,6 +6,7 @@ export interface TextAvatarProps extends Omit<React.HTMLProps<HTMLSpanElement>,
6
6
  color?: ColorSpecifier;
7
7
  invert?: boolean;
8
8
  size?: string;
9
+ adminId?: string;
9
10
  }
10
- declare function TextAvatar({ name, initials, color, invert, size, ...rest }: TextAvatarProps): React.JSX.Element;
11
+ declare function TextAvatar({ name, initials, color, invert, size, adminId, ...rest }: TextAvatarProps): React.JSX.Element;
11
12
  export default TextAvatar;
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ export interface SelectItem {
3
+ icon?: JSX.Element;
4
+ label: string;
5
+ condition?: boolean;
6
+ active?: boolean;
7
+ handleClick?: () => void;
8
+ }
9
+ export interface SelectOrangeProps {
10
+ classname?: string;
11
+ title?: string;
12
+ selectItems: Array<SelectItem>;
13
+ width?: string;
14
+ buttonWidth?: string;
15
+ isScroll?: boolean;
16
+ align?: string;
17
+ noArrow?: boolean;
18
+ buttonColor?: string;
19
+ color?: string;
20
+ autoOpen?: boolean;
21
+ }
22
+ declare const ButtonSelectOrange: ({ classname, title, selectItems, width, buttonWidth, isScroll, align, noArrow, buttonColor, color, autoOpen, }: SelectOrangeProps) => React.JSX.Element;
23
+ export default ButtonSelectOrange;
@@ -11,3 +11,9 @@ export declare const ButtonSelectStories: {
11
11
  name: string;
12
12
  };
13
13
  };
14
+ export declare const SelectOrangeStory: {
15
+ (): React.JSX.Element;
16
+ story: {
17
+ name: string;
18
+ };
19
+ };
@@ -1 +1,2 @@
1
1
  export { default as ButtonSelect } from "./button-select";
2
+ export { default as ButtonSelectExhanced } from "./button-select-exhanced";
@@ -30,6 +30,7 @@ export interface CharityTagsFilterButtonProps {
30
30
  maxCategoriesSelected?: number;
31
31
  tagsSelected: CharityTagsSelected;
32
32
  heightButton?: string;
33
+ isSurface?: boolean;
33
34
  }
34
- declare const CharityTagsFilterButton: ({ btnIcon, btnText, states, categories, onChange, className, classNameBtn, buttonStyle, activeButtonColor, buttonColor, classNameFilterLayout, checkBoxStyle, activeColor, maxStatesSelected, maxCategoriesSelected, tagsSelected, heightButton, }: CharityTagsFilterButtonProps) => React.JSX.Element;
35
+ declare const CharityTagsFilterButton: ({ btnIcon, btnText, states, categories, onChange, className, classNameBtn, buttonStyle, activeButtonColor, buttonColor, classNameFilterLayout, checkBoxStyle, activeColor, maxStatesSelected, maxCategoriesSelected, tagsSelected, heightButton, isSurface, }: CharityTagsFilterButtonProps) => React.JSX.Element;
35
36
  export default CharityTagsFilterButton;
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const CharityTagsFilterButtonStories: {
@@ -1,16 +1,21 @@
1
1
  import React from "react";
2
+ export interface ActionCollapse {
3
+ completeText?: string;
4
+ deleteText?: string;
5
+ onComplete?: () => void;
6
+ onDelete?: () => void;
7
+ noCompleteButton?: boolean;
8
+ noDeleteButton?: boolean;
9
+ }
2
10
  export interface CollapseProps {
3
11
  hideCollapse?: boolean;
4
12
  buttonAlign?: "center" | "left" | "right";
5
13
  collapseText?: React.ReactNode;
6
14
  expandedText?: React.ReactNode;
7
- onComplete?: () => void;
8
- onDelete?: () => void;
9
- completeText?: string;
10
- deleteText?: string;
11
- noCompleteButton?: boolean;
12
- noDeleteButton?: boolean;
15
+ listActions?: Array<ActionCollapse>;
13
16
  setWidth?: string;
17
+ isTimeoutEnabled?: boolean;
18
+ timeoutDuration?: number;
14
19
  }
15
- declare const Collapse: ({ hideCollapse, buttonAlign, collapseText, expandedText, onComplete, onDelete, completeText, deleteText, noCompleteButton, noDeleteButton, setWidth, }: CollapseProps) => React.JSX.Element;
20
+ declare const Collapse: ({ hideCollapse, buttonAlign, collapseText, expandedText, listActions, setWidth, isTimeoutEnabled, timeoutDuration, }: CollapseProps) => React.JSX.Element;
16
21
  export default Collapse;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ export declare const TrashCanIcon: (props: Record<string, unknown>) => React.JSX.Element;
3
+ export declare const ChevronDownIcon: () => React.JSX.Element;
4
+ export declare const ChevronUpIcon: () => React.JSX.Element;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ declare type FormValuesProps = {
3
+ number: string;
4
+ name: string;
5
+ expiry: string;
6
+ cvc: string;
7
+ };
8
+ declare type CreditCardFormProps = {
9
+ formValues: FormValuesProps;
10
+ setFormValues: (values: FormValuesProps) => void;
11
+ };
12
+ declare function CreditCardForm({ formValues, setFormValues }: CreditCardFormProps): JSX.Element;
13
+ export default CreditCardForm;
@@ -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 SwitchDefault: {
8
+ (): JSX.Element;
9
+ story: {
10
+ name: string;
11
+ };
12
+ };
@@ -0,0 +1 @@
1
+ export { default as CreditCardForm } from "./CreditCardForm";
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const CropperStory: {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import moment from "moment";
2
+ import moment, { Moment } from "moment";
3
3
  export interface DatePickerProps {
4
4
  id: string;
5
5
  date: moment.Moment | null;
@@ -19,7 +19,7 @@ export interface DatePickerProps {
19
19
  error?: boolean;
20
20
  label?: string;
21
21
  width?: string;
22
- isOutsideRange?: (day: any) => boolean;
22
+ isOutsideRange?: (day: Moment) => boolean;
23
23
  renderCalendarInfo?: () => string | JSX.Element;
24
24
  calendarInfoPosition?: "before" | "after" | "top" | "bottom";
25
25
  navPrev?: string | JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import moment from "moment";
2
+ import moment, { Moment } from "moment";
3
3
  export interface DatePickerProps {
4
4
  id: string;
5
5
  date: moment.Moment | null;
@@ -19,8 +19,8 @@ export interface DatePickerProps {
19
19
  error?: boolean;
20
20
  label?: string;
21
21
  width?: string;
22
- isOutsideRange?: (day: any) => boolean;
22
+ isOutsideRange?: (day: Moment) => boolean;
23
23
  showDefaultInputIcon?: boolean;
24
24
  }
25
- declare const CustomSingleDatePicker: ({ width, color, onDateChange, onFocusChange, numberOfMonths, error, label, focused, ...rest }: DatePickerProps) => React.JSX.Element;
25
+ declare const CustomSingleDatePicker: ({ width, color, onDateChange, onFocusChange, numberOfMonths, error, label, focused, required, id, ...rest }: DatePickerProps) => React.JSX.Element;
26
26
  export default CustomSingleDatePicker;
@@ -1,15 +1,41 @@
1
1
  import React from "react";
2
+ import CenterDecorator from "../../utils/center-decorator";
2
3
  declare const _default: {
3
4
  title: string;
4
- decorators: ((...args: any) => any)[];
5
- };
6
- export default _default;
7
- export declare const DonationFormStories: {
8
- (): React.JSX.Element;
9
- story: {
10
- name: string;
5
+ decorators: (typeof CenterDecorator)[];
6
+ argTypes: {
7
+ prefix: {
8
+ control: string;
9
+ defaultValue: string;
10
+ };
11
+ currency: {
12
+ control: string;
13
+ defaultValue: string;
14
+ };
15
+ control: {
16
+ control: string;
17
+ defaultValue: boolean;
18
+ };
19
+ hasCard: {
20
+ control: string;
21
+ defaultValue: boolean;
22
+ };
23
+ hasError: {
24
+ control: string;
25
+ defaultValue: boolean;
26
+ };
27
+ noContianer: {
28
+ control: string;
29
+ defaultValue: boolean;
30
+ };
31
+ maxWidth: {
32
+ control: string;
33
+ defaultValue: string;
34
+ };
11
35
  };
12
36
  };
37
+ export default _default;
38
+ export declare const DonationFormStories: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
13
39
  export declare const DonationCampaignFormStories: {
14
40
  (): React.JSX.Element;
15
41
  story: {
@@ -0,0 +1,18 @@
1
+ export * from "./button";
2
+ export * from "./button-select";
3
+ export * from "./checkbox";
4
+ export * from "./combo-field";
5
+ export * from "./date-picker";
6
+ export * from "./elevation";
7
+ export * from "./field-helpers";
8
+ export * from "./layout";
9
+ export * from "./modal";
10
+ export * from "./navigation";
11
+ export * from "./phone-number-input";
12
+ export * from "./radio";
13
+ export * from "./select";
14
+ export * from "./spinner";
15
+ export * from "./switch";
16
+ export * from "./text-field";
17
+ export * from "./text";
18
+ export * from "./input";
@@ -7,8 +7,8 @@ export interface FeaturedCampaignCardProps {
7
7
  completed?: number;
8
8
  maxWidth?: number;
9
9
  donation?: number;
10
- raised?: number;
11
- goal?: number;
10
+ raised?: number | string;
11
+ goal?: number | string;
12
12
  onClick: () => void;
13
13
  fundraisingText: string;
14
14
  handleImageError?: () => void;
@@ -6,9 +6,4 @@ export interface MaterialIconProps extends Omit<React.HTMLProps<HTMLOrSVGElement
6
6
  size?: string;
7
7
  }
8
8
  declare function MaterialIcon({ icon, iconSet, className, size, ...rest }: MaterialIconProps): React.JSX.Element;
9
- declare namespace MaterialIcon {
10
- var defaultProps: {
11
- iconSet: string;
12
- };
13
- }
14
9
  export default MaterialIcon;
@@ -37,7 +37,6 @@ export * from "./fundraising-section";
37
37
  export * from "./hero-banner";
38
38
  export * from "./horizontalbar";
39
39
  export * from "./progressbar";
40
- export * from "./start-campaign-card";
41
40
  export * from "./nav";
42
41
  export * from "./popup";
43
42
  export * from "./partner-monthly-donations";
@@ -47,6 +46,8 @@ export * from "./partner-chart-stats";
47
46
  export * from "./this-month-card";
48
47
  export * from "./partner-toggle-button";
49
48
  export * from "./footerV2";
49
+ export * from "./input";
50
+ export * from "./toast";
50
51
  export * from "./my-account-start-fundraise-card";
51
52
  export * from "./my-account-choose-charity-card";
52
53
  export * from "./favorite-charity-item";
@@ -54,10 +55,8 @@ export * from "./my-account-sidebar";
54
55
  export * from "./my-account-frp-preview";
55
56
  export * from "./my-account-stats-donated";
56
57
  export * from "./my-account-stats-raised";
57
- export * from "./input";
58
58
  export * from "./my-account-frp-closed";
59
59
  export * from "./transaction-card";
60
- export * from "./toast";
61
60
  export * from "./input-social";
62
61
  export * from "./charity-tags-filter-button";
63
62
  export * from "./collapse";
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const InforRepresentCampaignStories: {
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const InputExample: {
@@ -1,5 +1,8 @@
1
1
  import React from "react";
2
+ export interface PropHTML {
3
+ [key: string]: string;
4
+ }
2
5
  declare const Icons: {
3
- facebook: (props: any) => React.JSX.Element;
6
+ Facebook: (props: PropHTML) => React.JSX.Element;
4
7
  };
5
8
  export default Icons;
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const InputExample: {
@@ -382,7 +382,6 @@ declare function Box({ as, ma, mv, mh, mt, mr, mb, ml, pa, pv, ph, pt, pb, pl, p
382
382
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
383
383
  onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
384
384
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
385
- css?: import("@emotion/core").InterpolationWithTheme<any>;
386
385
  ref?: React.LegacyRef<HTMLElement> | undefined;
387
386
  key?: React.Key | null | undefined;
388
387
  className: string;
@@ -13,13 +13,4 @@ export interface FlexProps extends Omit<BoxProps, "wrap"> {
13
13
  children?: React.ReactNode;
14
14
  }
15
15
  declare function Flex({ direction, justify, align, reverse, wrap, center, className, children, ...rest }: FlexProps): React.JSX.Element;
16
- declare namespace Flex {
17
- var defaultProps: {
18
- direction: string;
19
- justify: string;
20
- align: string;
21
- reverse: boolean;
22
- wrap: boolean;
23
- };
24
- }
25
16
  export default Flex;
@@ -1,14 +1,42 @@
1
- import React from "react";
2
1
  import CenterDecorator from "../../utils/center-decorator";
3
2
  declare const _default: {
4
3
  title: string;
5
4
  decorators: (typeof CenterDecorator)[];
6
- };
7
- export default _default;
8
- export declare const FlexStory: {
9
- (): React.JSX.Element;
10
- story: {
11
- name: string;
12
- decorators: ((...args: any) => any)[];
5
+ argTypes: {
6
+ number: {
7
+ control: string;
8
+ defaultValue: number;
9
+ };
10
+ reverse: {
11
+ control: string;
12
+ defaultValue: boolean;
13
+ };
14
+ wrap: {
15
+ control: string;
16
+ defaultValue: boolean;
17
+ };
18
+ align: {
19
+ control: {
20
+ type: string;
21
+ options: string[];
22
+ };
23
+ defaultValue: string;
24
+ };
25
+ direction: {
26
+ control: {
27
+ type: string;
28
+ options: string[];
29
+ };
30
+ defaultValue: string;
31
+ };
32
+ justify: {
33
+ control: {
34
+ type: string;
35
+ options: string[];
36
+ };
37
+ defaultValue: string;
38
+ };
13
39
  };
14
40
  };
41
+ export default _default;
42
+ export declare const FlexStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
@@ -3,14 +3,7 @@ import { FlexProps } from "./flex";
3
3
  interface StackProps extends FlexProps {
4
4
  horizontal?: boolean;
5
5
  vertical?: boolean;
6
- gap: string;
6
+ gap?: string;
7
7
  }
8
8
  declare function Stack({ gap, direction, reverse, className, children, ...rest }: StackProps): React.JSX.Element;
9
- declare namespace Stack {
10
- var defaultProps: {
11
- gap: string;
12
- direction: string;
13
- reverse: boolean;
14
- };
15
- }
16
9
  export default Stack;
@@ -4,10 +4,13 @@ export declare const ENV_TEST = "test";
4
4
  export declare const ENV_DEV = "dev";
5
5
  export declare const getAccountLink: (env: string) => "https://account-dev.mycause.com.au" | "https://account-test.mycause.com.au" | "https://account.mycause.com.au";
6
6
  export declare const getMycauseLink: (env: string) => "https://dev.mycause.com.au" | "https://aws-test.mycause.com.au" | "https://www.mycause.com.au";
7
+ export interface Param {
8
+ [key: string]: string | number | boolean;
9
+ }
7
10
  export interface LoginProps {
8
11
  id?: string;
9
12
  className?: string;
10
- params?: any;
13
+ params?: Param;
11
14
  env?: string;
12
15
  loggedInCallBack?: () => void;
13
16
  }
@@ -29,13 +29,13 @@ export declare const ModalStoriesMinimal: {
29
29
  name: string;
30
30
  };
31
31
  };
32
- export declare const ModalStoriesImage: {
32
+ export declare const ModalConfirmation: {
33
33
  (): React.JSX.Element;
34
34
  story: {
35
35
  name: string;
36
36
  };
37
37
  };
38
- export declare const ModalConfirmation: {
38
+ export declare const ModalStoriesImage: {
39
39
  (): React.JSX.Element;
40
40
  story: {
41
41
  name: string;
@@ -1,9 +1,8 @@
1
1
  import React from "react";
2
2
  export interface FrpClosedImgProps {
3
3
  img?: string;
4
- link?: string;
5
4
  title?: string;
6
5
  frpColor?: string;
7
6
  }
8
- declare const FrpClosedImg: ({ img, link, title, frpColor }: FrpClosedImgProps) => React.JSX.Element;
7
+ declare const FrpClosedImg: ({ img, title, frpColor }: FrpClosedImgProps) => React.JSX.Element;
9
8
  export default FrpClosedImg;
@@ -10,6 +10,7 @@ interface FrpInfomationProps {
10
10
  manageLink?: string;
11
11
  thankLink?: string;
12
12
  handleCertificateMemento?: () => void;
13
+ handleDeleteFrp?: () => void;
13
14
  }
14
- declare const FrpInfomation: ({ donations, amountRaised, amountGoal, sqSize, strokeWidth, closedDate, customRow, manageLink, thankLink, handleCertificateMemento, }: FrpInfomationProps) => React.JSX.Element;
15
+ declare const FrpInfomation: ({ donations, amountRaised, amountGoal, sqSize, strokeWidth, closedDate, customRow, thankLink, handleCertificateMemento, handleDeleteFrp, }: FrpInfomationProps) => React.JSX.Element;
15
16
  export default FrpInfomation;
@@ -14,6 +14,7 @@ export interface MyAccountFrpClosedProps {
14
14
  manageLink?: string;
15
15
  thankLink?: string;
16
16
  handleCertificateMemento?: () => void;
17
+ handleDeleteFrp?: () => void;
17
18
  }
18
- declare const MyAccountFrpClosed: ({ img, link, title, amountGoal, amountRaised, donations, sqSize, strokeWidth, frpColor, closedDate, customRow, manageLink, thankLink, handleCertificateMemento, }: MyAccountFrpClosedProps) => React.JSX.Element;
19
+ declare const MyAccountFrpClosed: ({ img, link, title, amountGoal, amountRaised, donations, sqSize, strokeWidth, frpColor, closedDate, customRow, manageLink, thankLink, handleCertificateMemento, handleDeleteFrp, }: MyAccountFrpClosedProps) => React.JSX.Element;
19
20
  export default MyAccountFrpClosed;
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MyAccountFrpCloseStory: {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
2
  declare const Icons: {
3
- arrowNext: () => React.JSX.Element;
3
+ ArrowNext: () => React.JSX.Element;
4
4
  };
5
5
  export default Icons;
@@ -5,5 +5,5 @@ export interface FrpPreviewImgProps {
5
5
  title?: string;
6
6
  frpColor?: string;
7
7
  }
8
- declare const FrpPreviewImg: ({ img, link, title, frpColor }: FrpPreviewImgProps) => React.JSX.Element;
8
+ declare const FrpPreviewImg: ({ img, title, frpColor }: FrpPreviewImgProps) => React.JSX.Element;
9
9
  export default FrpPreviewImg;
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MyAccountFrpPreviewStory: {
@@ -1,15 +1,15 @@
1
1
  import React from "react";
2
2
  declare const Icons: {
3
- dashboard: (props?: {}) => React.JSX.Element;
4
- collapse: (props?: {}) => React.JSX.Element;
5
- expand: () => React.JSX.Element;
6
- donations: () => React.JSX.Element;
7
- account: () => React.JSX.Element;
8
- support: () => React.JSX.Element;
9
- additional: () => React.JSX.Element;
10
- minus: () => React.JSX.Element;
11
- dot: () => React.JSX.Element;
12
- menu: () => React.JSX.Element;
13
- close: () => React.JSX.Element;
3
+ Dashboard: () => React.JSX.Element;
4
+ Collapse: () => React.JSX.Element;
5
+ Expand: () => React.JSX.Element;
6
+ Donations: () => React.JSX.Element;
7
+ Account: () => React.JSX.Element;
8
+ Support: () => React.JSX.Element;
9
+ Additional: () => React.JSX.Element;
10
+ Minus: () => React.JSX.Element;
11
+ Dot: () => React.JSX.Element;
12
+ Menu: () => React.JSX.Element;
13
+ Close: () => React.JSX.Element;
14
14
  };
15
15
  export default Icons;
@@ -10,7 +10,7 @@ export interface MyAccountSidebarProps {
10
10
  }
11
11
  type ItemMenu = {
12
12
  id: string;
13
- icon?: any;
13
+ icon?: JSX.Element;
14
14
  label: string;
15
15
  href?: string;
16
16
  items?: Array<ItemMenu>;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  declare const _default: {
3
3
  title: string;
4
- decorators: ((...args: any) => any)[];
4
+ decorators: never[];
5
5
  };
6
6
  export default _default;
7
7
  export declare const MyAccountSidebarStory: {
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MyAccountStatsDonatedStory: {
@@ -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: ((...args: any) => any)[];
5
+ decorators: (typeof CenterDecorator)[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MyAccountStatsRaisedStory: {
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { NavMenuProps } from "./nav";
3
+ export type NavCharityProps = {
4
+ data: NavMenuProps;
5
+ };
6
+ declare function NavCharity({ data }: NavCharityProps): React.JSX.Element;
7
+ export default NavCharity;