@mycause/ui 0.0.0-c5d62a67 → 0.0.0-c5d703c8

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 (38) hide show
  1. package/dist/components/button-select/button-select-exhanced.d.ts +23 -0
  2. package/dist/components/button-select/button-select.stories.d.ts +6 -0
  3. package/dist/components/button-select/index.d.ts +1 -0
  4. package/dist/components/collapse/collapse.d.ts +3 -1
  5. package/dist/components/collapse/icons.d.ts +3 -4
  6. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +2 -2
  7. package/dist/components/date-picker/single-date-picker.d.ts +2 -2
  8. package/dist/components/donation.d.ts +18 -0
  9. package/dist/components/index.d.ts +2 -3
  10. package/dist/components/input-social/Icons.d.ts +4 -1
  11. package/dist/components/login/login.d.ts +4 -1
  12. package/dist/components/modal/modal.stories.d.ts +2 -2
  13. package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +1 -2
  14. package/dist/components/my-account-frp-closed/frp-information.d.ts +2 -1
  15. package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +2 -1
  16. package/dist/components/my-account-frp-preview/Icon.d.ts +1 -1
  17. package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +1 -1
  18. package/dist/components/my-account-sidebar/Icon.d.ts +11 -11
  19. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +1 -1
  20. package/dist/components/spinner/spinner.d.ts +1 -1
  21. package/dist/components/toast/Icons.d.ts +3 -3
  22. package/dist/donation.css +2 -0
  23. package/dist/donation.css.map +1 -0
  24. package/dist/donation.d.ts +3 -0
  25. package/dist/donation.esm.css +2 -0
  26. package/dist/donation.esm.css.map +1 -0
  27. package/dist/donation.esm.js +25306 -0
  28. package/dist/donation.js +25361 -0
  29. package/dist/index.css +1 -1
  30. package/dist/index.css.map +1 -1
  31. package/dist/index.esm.css +1 -1
  32. package/dist/index.esm.css.map +1 -1
  33. package/dist/index.esm.js +1090 -882
  34. package/dist/index.js +1090 -882
  35. package/package.json +8 -7
  36. package/dist/components/start-campaign-card/index.d.ts +0 -1
  37. package/dist/components/start-campaign-card/start-campaign-card.d.ts +0 -8
  38. package/dist/components/start-campaign-card/start-campaign-card.stories.d.ts +0 -14
@@ -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";
@@ -14,6 +14,8 @@ export interface CollapseProps {
14
14
  expandedText?: React.ReactNode;
15
15
  listActions?: Array<ActionCollapse>;
16
16
  setWidth?: string;
17
+ isTimeoutEnabled?: boolean;
18
+ timeoutDuration?: number;
17
19
  }
18
- declare const Collapse: ({ hideCollapse, buttonAlign, collapseText, expandedText, listActions, setWidth, }: CollapseProps) => React.JSX.Element;
20
+ declare const Collapse: ({ hideCollapse, buttonAlign, collapseText, expandedText, listActions, setWidth, isTimeoutEnabled, timeoutDuration, }: CollapseProps) => React.JSX.Element;
19
21
  export default Collapse;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- export declare const TrashCanIcon: (props: any) => React.JSX.Element;
3
- export declare const ChevronDownIcon: (props: any) => React.JSX.Element;
4
- export declare const ChevronUpIcon: (props: any) => React.JSX.Element;
5
- export declare const CloseIcon: (props: any) => React.JSX.Element;
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;
@@ -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,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
  showDefaultInputIcon?: boolean;
24
24
  }
25
25
  declare const CustomSingleDatePicker: ({ width, color, onDateChange, onFocusChange, numberOfMonths, error, label, focused, required, id, ...rest }: DatePickerProps) => React.JSX.Element;
@@ -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";
@@ -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,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;
@@ -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,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,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>;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  export interface SpinnerProps {
3
3
  id?: string;
4
4
  className?: string;
5
- style?: any;
5
+ style?: object;
6
6
  type?: "default" | "orange";
7
7
  }
8
8
  declare const Spinner: ({ id, className, style, type, ...rest }: SpinnerProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  declare const Icons: {
3
- close: (props: any) => React.JSX.Element;
4
- error: (props: any) => React.JSX.Element;
5
- warning: () => React.JSX.Element;
3
+ Close: () => React.JSX.Element;
4
+ Error: () => React.JSX.Element;
5
+ Warning: () => React.JSX.Element;
6
6
  };
7
7
  export default Icons;
@@ -0,0 +1,2 @@
1
+ .modal-module_modal__3BPw_{display:none;position:fixed;z-index:1;top:0;left:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.5)}.modal-module_modal__3BPw_ .modal-module_modalContent__pnZ9y{display:flex;justify-content:center;align-items:center;height:calc(100% + 50px);animation-name:modal-module_zoom__7ZPHg;animation-duration:.6s}.modal-module_modal__3BPw_ .modal-module_modalContent__pnZ9y img{max-width:calc(100vw - 37px);max-height:calc(100vh - 100px)}@keyframes modal-module_zoom__7ZPHg{0%{transform:scale(0)}to{transform:scale(1)}}.modal-module_modal__3BPw_ .modal-module_close__1refL{color:#fff;font-size:25px;font-weight:700;transition:.3s;position:absolute;right:-27px;top:-27px}.modal-module_modal__3BPw_ .modal-module_close__1refL:focus,.modal-module_modal__3BPw_ .modal-module_close__1refL:hover{color:#bbb;text-decoration:none;cursor:pointer}@media only screen and (max-width:700px){.modal-module_modalContent__pnZ9y{width:100%}}.phone-number-input-module_phoneInputV2__SEb7z{font-family:Montserrat}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_lable__2juXw{font-size:12px;font-weight:700;margin:8px 0}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_lable__2juXw .phone-number-input-module_required__1aTIY{color:#43ccb0;font-size:14px}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6{position:relative;height:48px;width:100%}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_comboField__2CFC2{border:1px solid var(--Stroke,#e2e2e2);box-shadow:0 2px 4px 0 rgba(0,0,0,.07);border-radius:6px;overflow:hidden}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_comboField__2CFC2.phone-number-input-module_focus__3rSBl{border:1px solid var(--Brand,#43ccb0)}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_comboField__2CFC2.phone-number-input-module_error__37MEE{border:1px solid #f05c6a}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_flagContainer__3Y8u0{position:absolute;top:13px;left:12px;display:flex;align-items:center}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_flagContainer__3Y8u0 span{font-size:25px}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_flagContainer__3Y8u0 .phone-number-input-module_countryCode__3EQkV{margin:3px 0 0 4px;font-size:16px}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_mesError__23_lD{color:#f05c6a;font-size:14px;margin:8px 0}.phone-number-input-module_phoneInputV2__SEb7z .select{width:115px;background:#e2e2e2}.phone-number-input-module_phoneInputV2__SEb7z .select>.mdc-select>.mdc-select__native-control{opacity:0}.phone-number-input-module_phoneInputV2__SEb7z .text-field .mdc-text-field__input{font-size:16px;font-weight:400!important}.phone-number-input-module_phoneInputV2__SEb7z .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading,.phone-number-input-module_phoneInputV2__SEb7z .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.phone-number-input-module_phoneInputV2__SEb7z .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.phone-number-input-module_phoneInputV2__SEb7z .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border:none}.switch-module_container__jMNSs .switch-module_switch__13Tp5{position:relative;display:inline-block;width:40px;height:20px}.switch-module_container__jMNSs .switch-module_switch__13Tp5 input{opacity:0;width:0;height:0}.switch-module_container__jMNSs .switch-module_switch__13Tp5 .switch-module_slider__1kN7x{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s}.switch-module_container__jMNSs .switch-module_switch__13Tp5 .switch-module_slider__1kN7x:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:#fff;transition:.2s}.switch-module_container__jMNSs .switch-module_switch__13Tp5 input:checked+.switch-module_slider__1kN7x:before{transform:translateX(20px)}.switch-module_container__jMNSs .switch-module_switch__13Tp5 .switch-module_slider__1kN7x.switch-module_round__1y62p{border-radius:34px}.switch-module_container__jMNSs .switch-module_switch__13Tp5 .switch-module_slider__1kN7x.switch-module_round__1y62p:before{border-radius:50%}.input-module_container__3R_rx{font-family:Montserrat}.input-module_container__3R_rx .input-module_lable__3MUr4{font-size:12px;font-weight:700;margin:8px 0;display:flex;align-items:center}.input-module_container__3R_rx .input-module_lable__3MUr4 .input-module_required__2jKE5{color:#43ccb0;font-size:14px;margin-left:5px}.input-module_container__3R_rx input{width:100%;height:48px;box-shadow:0 2px 4px 0 rgba(0,0,0,.07);border:1px solid #e2e2e2;border-radius:6px;color:#404041;padding:10px 12px;outline:none}.input-module_container__3R_rx input::placeholder{color:#acacac}.input-module_container__3R_rx input:focus{border:1px solid #43ccb0}.input-module_container__3R_rx input.input-module_error__9qa8B{border:1px solid #f05c6a}.input-module_container__3R_rx .input-module_mesError__3AzLW{color:#f05c6a;font-size:14px;margin:8px 0}
2
+ /*# sourceMappingURL=donation.esm.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["modal.module.scss","phone-number-input.module.scss","switch.module.scss","input.module.scss"],"names":[],"mappings":"AAAA,2BACE,YAAa,CACb,cAAe,CACf,SAAU,CACV,KAAM,CACN,MAAO,CACP,UAAW,CACX,WAAY,CACZ,aAAc,CACd,+BAGF,CACA,6DACE,YAAa,CACb,sBAAuB,CACvB,kBAAmB,CACnB,wBAAyB,CACzB,uCAAoB,CACpB,sBACF,CACA,iEACE,4BAA6B,CAC7B,8BACF,CACA,oCACE,GACE,kBACF,CACA,GACE,kBACF,CACF,CACA,sDACE,UAAY,CACZ,cAAe,CACf,eAAiB,CACjB,cAAgB,CAChB,iBAAkB,CAClB,WAAY,CACZ,SACF,CACA,wHAEE,UAAW,CACX,oBAAqB,CACrB,cACF,CAGA,yCACE,kCACE,UACF,CACF,CCtDA,+CACE,sBACF,CACA,uFACE,cAAe,CACf,eAAgB,CAChB,YACF,CACA,kIACE,aAAc,CACd,cACF,CACA,2FACE,iBAAkB,CAClB,WAAY,CACZ,UACF,CACA,wIACE,sCAAwC,CACxC,sCAA+C,CAC/C,iBAAkB,CAClB,eACF,CACA,+KACE,qCACF,CACA,+KACE,wBACF,CACA,2IACE,iBAAkB,CAClB,QAAS,CACT,SAAU,CACV,YAAa,CACb,kBACF,CACA,gJACE,cACF,CACA,yLACE,kBAAmB,CACnB,cACF,CACA,0FACE,aAAc,CACd,cAAe,CACf,YACF,CACA,uDACE,WAAY,CACZ,kBACF,CACA,+FACE,SACF,CACA,kFACE,cAAe,CACf,yBACF,CACA,0eAYE,WACF,CCxEA,6DACE,iBAAkB,CAClB,oBAAqB,CACrB,UAAW,CACX,WAEF,CACA,mEACE,SAAU,CACV,OAAQ,CACR,QACF,CACA,0FACE,iBAAkB,CAClB,cAAe,CACf,KAAM,CACN,MAAO,CACP,OAAQ,CACR,QAAS,CACT,qBAAsB,CAEtB,cACF,CACA,iGACE,iBAAkB,CAClB,UAAW,CACX,WAAY,CACZ,UAAW,CACX,QAAS,CACT,UAAW,CACX,qBAAuB,CAEvB,cACF,CACA,+GAGE,0BACF,CACA,qHACE,kBACF,CACA,4HACE,iBACF,CC5CA,+BACE,sBACF,CACA,0DACE,cAAe,CACf,eAAgB,CAChB,YAAa,CACb,YAAa,CACb,kBACF,CACA,wFACE,aAAc,CACd,cAAe,CACf,eACF,CACA,qCACE,UAAW,CACX,WAAY,CACZ,sCAA+C,CAC/C,wBAAyB,CACzB,iBAAkB,CAClB,aAAc,CACd,iBAAkB,CAClB,YACF,CACA,kDACE,aACF,CACA,2CACE,wBACF,CACA,+DACE,wBACF,CACA,6DACE,aAAc,CACd,cAAe,CACf,YACF","file":"donation.esm.css","sourcesContent":[".modal {\n display: none;\n position: fixed;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n background-color: rgba(0, 0, 0, 0.5);\n /* Modal Content (image) */\n /* The Close Button */\n}\n.modal .modalContent {\n display: flex;\n justify-content: center;\n align-items: center;\n height: calc(100% + 50px);\n animation-name: zoom;\n animation-duration: 0.6s;\n}\n.modal .modalContent img {\n max-width: calc(100vw - 37px);\n max-height: calc(100vh - 100px);\n}\n@keyframes zoom {\n from {\n transform: scale(0);\n }\n to {\n transform: scale(1);\n }\n}\n.modal .close {\n color: white;\n font-size: 25px;\n font-weight: bold;\n transition: 0.3s;\n position: absolute;\n right: -27px;\n top: -27px;\n}\n.modal .close:hover,\n.modal .close:focus {\n color: #bbb;\n text-decoration: none;\n cursor: pointer;\n}\n\n/* 100% Image Width on Smaller Screens */\n@media only screen and (max-width: 700px) {\n .modalContent {\n width: 100%;\n }\n}",".phoneInputV2 {\n font-family: Montserrat;\n}\n.phoneInputV2 .lable {\n font-size: 12px;\n font-weight: 700;\n margin: 8px 0;\n}\n.phoneInputV2 .lable .required {\n color: #43ccb0;\n font-size: 14px;\n}\n.phoneInputV2 .coverForm {\n position: relative;\n height: 48px;\n width: 100%;\n}\n.phoneInputV2 .coverForm .comboField {\n border: 1px solid var(--Stroke, #e2e2e2);\n box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.07);\n border-radius: 6px;\n overflow: hidden;\n}\n.phoneInputV2 .coverForm .comboField.focus {\n border: 1px solid var(--Brand, #43ccb0);\n}\n.phoneInputV2 .coverForm .comboField.error {\n border: 1px solid #f05c6a;\n}\n.phoneInputV2 .coverForm .flagContainer {\n position: absolute;\n top: 13px;\n left: 12px;\n display: flex;\n align-items: center;\n}\n.phoneInputV2 .coverForm .flagContainer span {\n font-size: 25px;\n}\n.phoneInputV2 .coverForm .flagContainer .countryCode {\n margin: 3px 0 0 4px;\n font-size: 16px;\n}\n.phoneInputV2 .mesError {\n color: #f05c6a;\n font-size: 14px;\n margin: 8px 0;\n}\n.phoneInputV2 :global(.select) {\n width: 115px;\n background: #e2e2e2;\n}\n.phoneInputV2 :global(.select > .mdc-select > .mdc-select__native-control) {\n opacity: 0;\n}\n.phoneInputV2 :global(.text-field .mdc-text-field__input) {\n font-size: 16px;\n font-weight: 400 !important;\n}\n.phoneInputV2 :global(.mdc-select--outlined\n .mdc-notched-outline\n .mdc-notched-outline__leading),\n.phoneInputV2 :global(.mdc-select--outlined\n .mdc-notched-outline\n .mdc-notched-outline__trailing),\n.phoneInputV2 :global(.mdc-text-field--outlined\n .mdc-notched-outline\n .mdc-notched-outline__leading),\n.phoneInputV2 :global(.mdc-text-field--outlined\n .mdc-notched-outline\n .mdc-notched-outline__trailing) {\n border: none;\n}",".container .switch {\n position: relative;\n display: inline-block;\n width: 40px;\n height: 20px;\n /* Rounded sliders */\n}\n.container .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n.container .switch .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n.container .switch .slider:before {\n position: absolute;\n content: \"\";\n height: 16px;\n width: 16px;\n left: 2px;\n bottom: 2px;\n background-color: white;\n -webkit-transition: 0.4s;\n transition: 0.2s;\n}\n.container .switch input:checked + .slider:before {\n -webkit-transform: translateX(20px);\n -ms-transform: translateX(20px);\n transform: translateX(20px);\n}\n.container .switch .slider.round {\n border-radius: 34px;\n}\n.container .switch .slider.round:before {\n border-radius: 50%;\n}",".container {\n font-family: \"Montserrat\";\n}\n.container .lable {\n font-size: 12px;\n font-weight: 700;\n margin: 8px 0;\n display: flex;\n align-items: center;\n}\n.container .lable .required {\n color: #43ccb0;\n font-size: 14px;\n margin-left: 5px;\n}\n.container input {\n width: 100%;\n height: 48px;\n box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.07);\n border: 1px solid #e2e2e2;\n border-radius: 6px;\n color: #404041;\n padding: 10px 12px;\n outline: none;\n}\n.container input::placeholder {\n color: #acacac;\n}\n.container input:focus {\n border: 1px solid #43CCB0;\n}\n.container input.error {\n border: 1px solid #F05C6A;\n}\n.container .mesError {\n color: #F05C6A;\n font-size: 14px;\n margin: 8px 0;\n}"]}
@@ -0,0 +1,3 @@
1
+ export * from "./components/donation";
2
+ export * from "./theme";
3
+ export { default as _React } from "react";
@@ -0,0 +1,2 @@
1
+ .modal-module_modal__3BPw_{display:none;position:fixed;z-index:1;top:0;left:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.5)}.modal-module_modal__3BPw_ .modal-module_modalContent__pnZ9y{display:flex;justify-content:center;align-items:center;height:calc(100% + 50px);animation-name:modal-module_zoom__7ZPHg;animation-duration:.6s}.modal-module_modal__3BPw_ .modal-module_modalContent__pnZ9y img{max-width:calc(100vw - 37px);max-height:calc(100vh - 100px)}@keyframes modal-module_zoom__7ZPHg{0%{transform:scale(0)}to{transform:scale(1)}}.modal-module_modal__3BPw_ .modal-module_close__1refL{color:#fff;font-size:25px;font-weight:700;transition:.3s;position:absolute;right:-27px;top:-27px}.modal-module_modal__3BPw_ .modal-module_close__1refL:focus,.modal-module_modal__3BPw_ .modal-module_close__1refL:hover{color:#bbb;text-decoration:none;cursor:pointer}@media only screen and (max-width:700px){.modal-module_modalContent__pnZ9y{width:100%}}.phone-number-input-module_phoneInputV2__SEb7z{font-family:Montserrat}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_lable__2juXw{font-size:12px;font-weight:700;margin:8px 0}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_lable__2juXw .phone-number-input-module_required__1aTIY{color:#43ccb0;font-size:14px}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6{position:relative;height:48px;width:100%}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_comboField__2CFC2{border:1px solid var(--Stroke,#e2e2e2);box-shadow:0 2px 4px 0 rgba(0,0,0,.07);border-radius:6px;overflow:hidden}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_comboField__2CFC2.phone-number-input-module_focus__3rSBl{border:1px solid var(--Brand,#43ccb0)}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_comboField__2CFC2.phone-number-input-module_error__37MEE{border:1px solid #f05c6a}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_flagContainer__3Y8u0{position:absolute;top:13px;left:12px;display:flex;align-items:center}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_flagContainer__3Y8u0 span{font-size:25px}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_coverForm__276A6 .phone-number-input-module_flagContainer__3Y8u0 .phone-number-input-module_countryCode__3EQkV{margin:3px 0 0 4px;font-size:16px}.phone-number-input-module_phoneInputV2__SEb7z .phone-number-input-module_mesError__23_lD{color:#f05c6a;font-size:14px;margin:8px 0}.phone-number-input-module_phoneInputV2__SEb7z .select{width:115px;background:#e2e2e2}.phone-number-input-module_phoneInputV2__SEb7z .select>.mdc-select>.mdc-select__native-control{opacity:0}.phone-number-input-module_phoneInputV2__SEb7z .text-field .mdc-text-field__input{font-size:16px;font-weight:400!important}.phone-number-input-module_phoneInputV2__SEb7z .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading,.phone-number-input-module_phoneInputV2__SEb7z .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.phone-number-input-module_phoneInputV2__SEb7z .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.phone-number-input-module_phoneInputV2__SEb7z .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border:none}.switch-module_container__jMNSs .switch-module_switch__13Tp5{position:relative;display:inline-block;width:40px;height:20px}.switch-module_container__jMNSs .switch-module_switch__13Tp5 input{opacity:0;width:0;height:0}.switch-module_container__jMNSs .switch-module_switch__13Tp5 .switch-module_slider__1kN7x{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s}.switch-module_container__jMNSs .switch-module_switch__13Tp5 .switch-module_slider__1kN7x:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:#fff;transition:.2s}.switch-module_container__jMNSs .switch-module_switch__13Tp5 input:checked+.switch-module_slider__1kN7x:before{transform:translateX(20px)}.switch-module_container__jMNSs .switch-module_switch__13Tp5 .switch-module_slider__1kN7x.switch-module_round__1y62p{border-radius:34px}.switch-module_container__jMNSs .switch-module_switch__13Tp5 .switch-module_slider__1kN7x.switch-module_round__1y62p:before{border-radius:50%}.input-module_container__3R_rx{font-family:Montserrat}.input-module_container__3R_rx .input-module_lable__3MUr4{font-size:12px;font-weight:700;margin:8px 0;display:flex;align-items:center}.input-module_container__3R_rx .input-module_lable__3MUr4 .input-module_required__2jKE5{color:#43ccb0;font-size:14px;margin-left:5px}.input-module_container__3R_rx input{width:100%;height:48px;box-shadow:0 2px 4px 0 rgba(0,0,0,.07);border:1px solid #e2e2e2;border-radius:6px;color:#404041;padding:10px 12px;outline:none}.input-module_container__3R_rx input::placeholder{color:#acacac}.input-module_container__3R_rx input:focus{border:1px solid #43ccb0}.input-module_container__3R_rx input.input-module_error__9qa8B{border:1px solid #f05c6a}.input-module_container__3R_rx .input-module_mesError__3AzLW{color:#f05c6a;font-size:14px;margin:8px 0}
2
+ /*# sourceMappingURL=donation.esm.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["modal.module.scss","phone-number-input.module.scss","switch.module.scss","input.module.scss"],"names":[],"mappings":"AAAA,2BACE,YAAa,CACb,cAAe,CACf,SAAU,CACV,KAAM,CACN,MAAO,CACP,UAAW,CACX,WAAY,CACZ,aAAc,CACd,+BAGF,CACA,6DACE,YAAa,CACb,sBAAuB,CACvB,kBAAmB,CACnB,wBAAyB,CACzB,uCAAoB,CACpB,sBACF,CACA,iEACE,4BAA6B,CAC7B,8BACF,CACA,oCACE,GACE,kBACF,CACA,GACE,kBACF,CACF,CACA,sDACE,UAAY,CACZ,cAAe,CACf,eAAiB,CACjB,cAAgB,CAChB,iBAAkB,CAClB,WAAY,CACZ,SACF,CACA,wHAEE,UAAW,CACX,oBAAqB,CACrB,cACF,CAGA,yCACE,kCACE,UACF,CACF,CCtDA,+CACE,sBACF,CACA,uFACE,cAAe,CACf,eAAgB,CAChB,YACF,CACA,kIACE,aAAc,CACd,cACF,CACA,2FACE,iBAAkB,CAClB,WAAY,CACZ,UACF,CACA,wIACE,sCAAwC,CACxC,sCAA+C,CAC/C,iBAAkB,CAClB,eACF,CACA,+KACE,qCACF,CACA,+KACE,wBACF,CACA,2IACE,iBAAkB,CAClB,QAAS,CACT,SAAU,CACV,YAAa,CACb,kBACF,CACA,gJACE,cACF,CACA,yLACE,kBAAmB,CACnB,cACF,CACA,0FACE,aAAc,CACd,cAAe,CACf,YACF,CACA,uDACE,WAAY,CACZ,kBACF,CACA,+FACE,SACF,CACA,kFACE,cAAe,CACf,yBACF,CACA,0eAYE,WACF,CCxEA,6DACE,iBAAkB,CAClB,oBAAqB,CACrB,UAAW,CACX,WAEF,CACA,mEACE,SAAU,CACV,OAAQ,CACR,QACF,CACA,0FACE,iBAAkB,CAClB,cAAe,CACf,KAAM,CACN,MAAO,CACP,OAAQ,CACR,QAAS,CACT,qBAAsB,CAEtB,cACF,CACA,iGACE,iBAAkB,CAClB,UAAW,CACX,WAAY,CACZ,UAAW,CACX,QAAS,CACT,UAAW,CACX,qBAAuB,CAEvB,cACF,CACA,+GAGE,0BACF,CACA,qHACE,kBACF,CACA,4HACE,iBACF,CC5CA,+BACE,sBACF,CACA,0DACE,cAAe,CACf,eAAgB,CAChB,YAAa,CACb,YAAa,CACb,kBACF,CACA,wFACE,aAAc,CACd,cAAe,CACf,eACF,CACA,qCACE,UAAW,CACX,WAAY,CACZ,sCAA+C,CAC/C,wBAAyB,CACzB,iBAAkB,CAClB,aAAc,CACd,iBAAkB,CAClB,YACF,CACA,kDACE,aACF,CACA,2CACE,wBACF,CACA,+DACE,wBACF,CACA,6DACE,aAAc,CACd,cAAe,CACf,YACF","file":"donation.esm.css","sourcesContent":[".modal {\n display: none;\n position: fixed;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n background-color: rgba(0, 0, 0, 0.5);\n /* Modal Content (image) */\n /* The Close Button */\n}\n.modal .modalContent {\n display: flex;\n justify-content: center;\n align-items: center;\n height: calc(100% + 50px);\n animation-name: zoom;\n animation-duration: 0.6s;\n}\n.modal .modalContent img {\n max-width: calc(100vw - 37px);\n max-height: calc(100vh - 100px);\n}\n@keyframes zoom {\n from {\n transform: scale(0);\n }\n to {\n transform: scale(1);\n }\n}\n.modal .close {\n color: white;\n font-size: 25px;\n font-weight: bold;\n transition: 0.3s;\n position: absolute;\n right: -27px;\n top: -27px;\n}\n.modal .close:hover,\n.modal .close:focus {\n color: #bbb;\n text-decoration: none;\n cursor: pointer;\n}\n\n/* 100% Image Width on Smaller Screens */\n@media only screen and (max-width: 700px) {\n .modalContent {\n width: 100%;\n }\n}",".phoneInputV2 {\n font-family: Montserrat;\n}\n.phoneInputV2 .lable {\n font-size: 12px;\n font-weight: 700;\n margin: 8px 0;\n}\n.phoneInputV2 .lable .required {\n color: #43ccb0;\n font-size: 14px;\n}\n.phoneInputV2 .coverForm {\n position: relative;\n height: 48px;\n width: 100%;\n}\n.phoneInputV2 .coverForm .comboField {\n border: 1px solid var(--Stroke, #e2e2e2);\n box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.07);\n border-radius: 6px;\n overflow: hidden;\n}\n.phoneInputV2 .coverForm .comboField.focus {\n border: 1px solid var(--Brand, #43ccb0);\n}\n.phoneInputV2 .coverForm .comboField.error {\n border: 1px solid #f05c6a;\n}\n.phoneInputV2 .coverForm .flagContainer {\n position: absolute;\n top: 13px;\n left: 12px;\n display: flex;\n align-items: center;\n}\n.phoneInputV2 .coverForm .flagContainer span {\n font-size: 25px;\n}\n.phoneInputV2 .coverForm .flagContainer .countryCode {\n margin: 3px 0 0 4px;\n font-size: 16px;\n}\n.phoneInputV2 .mesError {\n color: #f05c6a;\n font-size: 14px;\n margin: 8px 0;\n}\n.phoneInputV2 :global(.select) {\n width: 115px;\n background: #e2e2e2;\n}\n.phoneInputV2 :global(.select > .mdc-select > .mdc-select__native-control) {\n opacity: 0;\n}\n.phoneInputV2 :global(.text-field .mdc-text-field__input) {\n font-size: 16px;\n font-weight: 400 !important;\n}\n.phoneInputV2 :global(.mdc-select--outlined\n .mdc-notched-outline\n .mdc-notched-outline__leading),\n.phoneInputV2 :global(.mdc-select--outlined\n .mdc-notched-outline\n .mdc-notched-outline__trailing),\n.phoneInputV2 :global(.mdc-text-field--outlined\n .mdc-notched-outline\n .mdc-notched-outline__leading),\n.phoneInputV2 :global(.mdc-text-field--outlined\n .mdc-notched-outline\n .mdc-notched-outline__trailing) {\n border: none;\n}",".container .switch {\n position: relative;\n display: inline-block;\n width: 40px;\n height: 20px;\n /* Rounded sliders */\n}\n.container .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n.container .switch .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n.container .switch .slider:before {\n position: absolute;\n content: \"\";\n height: 16px;\n width: 16px;\n left: 2px;\n bottom: 2px;\n background-color: white;\n -webkit-transition: 0.4s;\n transition: 0.2s;\n}\n.container .switch input:checked + .slider:before {\n -webkit-transform: translateX(20px);\n -ms-transform: translateX(20px);\n transform: translateX(20px);\n}\n.container .switch .slider.round {\n border-radius: 34px;\n}\n.container .switch .slider.round:before {\n border-radius: 50%;\n}",".container {\n font-family: \"Montserrat\";\n}\n.container .lable {\n font-size: 12px;\n font-weight: 700;\n margin: 8px 0;\n display: flex;\n align-items: center;\n}\n.container .lable .required {\n color: #43ccb0;\n font-size: 14px;\n margin-left: 5px;\n}\n.container input {\n width: 100%;\n height: 48px;\n box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.07);\n border: 1px solid #e2e2e2;\n border-radius: 6px;\n color: #404041;\n padding: 10px 12px;\n outline: none;\n}\n.container input::placeholder {\n color: #acacac;\n}\n.container input:focus {\n border: 1px solid #43CCB0;\n}\n.container input.error {\n border: 1px solid #F05C6A;\n}\n.container .mesError {\n color: #F05C6A;\n font-size: 14px;\n margin: 8px 0;\n}"]}