@mycause/ui 0.0.0-cf0177ea → 0.0.0-cf4288cf

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 (42) 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/charity-tags-filter-button/charity-tags-filter-button.d.ts +2 -1
  5. package/dist/components/chips/chip.d.ts +0 -3
  6. package/dist/components/collapse/collapse.d.ts +12 -7
  7. package/dist/components/collapse/icons.d.ts +4 -0
  8. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +2 -2
  9. package/dist/components/date-picker/single-date-picker.d.ts +3 -3
  10. package/dist/components/donation.d.ts +18 -0
  11. package/dist/components/icon/material-icon.d.ts +0 -5
  12. package/dist/components/index.d.ts +1 -1
  13. package/dist/components/input-social/Icons.d.ts +4 -1
  14. package/dist/components/layout/flex.d.ts +0 -9
  15. package/dist/components/layout/stack.d.ts +1 -8
  16. package/dist/components/login/login.d.ts +4 -1
  17. package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +1 -2
  18. package/dist/components/my-account-frp-closed/frp-information.d.ts +1 -1
  19. package/dist/components/my-account-frp-preview/Icon.d.ts +1 -1
  20. package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +1 -1
  21. package/dist/components/my-account-sidebar/Icon.d.ts +11 -11
  22. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +1 -1
  23. package/dist/components/phone-number-input/phone-number-input-v1.d.ts +3 -2
  24. package/dist/components/spinner/spinner.d.ts +1 -1
  25. package/dist/components/toast/Icons.d.ts +3 -3
  26. package/dist/donation.css +2 -0
  27. package/dist/donation.css.map +1 -0
  28. package/dist/donation.d.ts +3 -0
  29. package/dist/donation.esm.css +2 -0
  30. package/dist/donation.esm.css.map +1 -0
  31. package/dist/donation.esm.js +25291 -0
  32. package/dist/donation.js +25346 -0
  33. package/dist/index.css +1 -1
  34. package/dist/index.css.map +1 -1
  35. package/dist/index.esm.css +1 -1
  36. package/dist/index.esm.css.map +1 -1
  37. package/dist/index.esm.js +1280 -913
  38. package/dist/index.js +1281 -913
  39. package/package.json +10 -9
  40. package/dist/components/start-campaign-card/index.d.ts +0 -1
  41. package/dist/components/start-campaign-card/start-campaign-card.d.ts +0 -8
  42. 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";
@@ -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;
@@ -6,7 +6,4 @@ export interface ChipProps extends Omit<MDCChipProps, "ref" | "initRipple" | "le
6
6
  trailingIcon?: React.ReactElement<IconProps>;
7
7
  }
8
8
  declare function Chip({ className, leadingIcon, trailingIcon, ...props }: ChipProps): React.JSX.Element;
9
- declare namespace Chip {
10
- var defaultProps: Partial<Pick<MDCChipProps, "label" | "selected" | "id" | "onClick" | "onTransitionEnd" | "trailingIcon" | "handleSelect" | "leadingIcon" | "handleRemove" | "handleInteraction" | "handleTrailingIconInteraction" | "chipCheckmark" | "shouldRemoveOnTrailingIconClick"> & import("@material/react-ripple").RippledComponentProps<HTMLDivElement>> | undefined;
11
- }
12
9
  export default Chip;
@@ -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;
@@ -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;
@@ -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";
@@ -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";
@@ -60,3 +59,4 @@ export * from "./transaction-card";
60
59
  export * from "./toast";
61
60
  export * from "./input-social";
62
61
  export * from "./charity-tags-filter-button";
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;
@@ -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;
@@ -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
  }
@@ -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;
@@ -11,5 +11,5 @@ interface FrpInfomationProps {
11
11
  thankLink?: string;
12
12
  handleCertificateMemento?: () => void;
13
13
  }
14
- declare const FrpInfomation: ({ donations, amountRaised, amountGoal, sqSize, strokeWidth, closedDate, customRow, manageLink, thankLink, handleCertificateMemento, }: FrpInfomationProps) => React.JSX.Element;
14
+ declare const FrpInfomation: ({ donations, amountRaised, amountGoal, sqSize, strokeWidth, closedDate, customRow, thankLink, handleCertificateMemento, }: FrpInfomationProps) => React.JSX.Element;
15
15
  export default FrpInfomation;
@@ -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>;
@@ -12,7 +12,7 @@ type PhoneNumberInputProps = {
12
12
  country: string;
13
13
  };
14
14
  onChange: (value: string, name: string) => void;
15
- label?: React.ReactNode;
15
+ label?: string;
16
16
  error?: string | null;
17
17
  onBlur?: (e: React.FocusEvent) => void;
18
18
  helperText?: React.ReactNode;
@@ -21,6 +21,7 @@ type PhoneNumberInputProps = {
21
21
  placeholder?: string;
22
22
  color?: string;
23
23
  isDisableCountries?: boolean;
24
+ showCallingCode?: boolean;
24
25
  };
25
- declare function PhoneNumberInputV1({ onChange, values, names, error, onBlur, helperText, label, required, defaultCountry, placeholder, color, isDisableCountries, }: PhoneNumberInputProps): React.JSX.Element;
26
+ declare function PhoneNumberInputV1({ onChange, values, names, error, onBlur, helperText, label, required, defaultCountry, placeholder, color, isDisableCountries, showCallingCode, }: PhoneNumberInputProps): React.JSX.Element;
26
27
  export default PhoneNumberInputV1;
@@ -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}"]}