@mycause/ui 0.0.0-cf96d552 → 0.0.0-cfb0da03
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.
- package/README.md +17 -0
- package/dist/components/anchor/anchor.d.ts +1 -1
- package/dist/components/anchor/anchor.stories.d.ts +2 -2
- package/dist/components/anchor/bold-anchor.d.ts +1 -1
- package/dist/components/anchor/bold-anchor.stories.d.ts +2 -2
- package/dist/components/avatar/avatar.d.ts +3 -3
- package/dist/components/avatar/avatar.stories.d.ts +3 -3
- package/dist/components/avatar/image-avatar.d.ts +1 -1
- package/dist/components/avatar/text-avatar.d.ts +1 -1
- package/dist/components/button/button.d.ts +2 -2
- package/dist/components/button/button.stories.d.ts +10 -10
- package/dist/components/button-select/button-select-exhanced.d.ts +23 -0
- package/dist/components/button-select/button-select.d.ts +1 -1
- package/dist/components/button-select/button-select.stories.d.ts +8 -2
- package/dist/components/button-select/index.d.ts +1 -0
- package/dist/components/campaign-card/campaign-card.d.ts +2 -2
- package/dist/components/campaign-card/campaign-card.stories.d.ts +3 -3
- package/dist/components/campaign-of-month/campaign-of-month.d.ts +6 -3
- package/dist/components/campaign-of-month/campaign-of-month.stories.d.ts +3 -3
- package/dist/components/charity-card/charity-card.d.ts +2 -2
- package/dist/components/charity-card/charity-card.stories.d.ts +3 -3
- package/dist/components/charity-tags-filter-button/FilterIcon.d.ts +6 -0
- package/dist/components/charity-tags-filter-button/charity-tags-filter-button.d.ts +36 -0
- package/dist/components/charity-tags-filter-button/charity-tags-filter-button.stories.d.ts +12 -0
- package/dist/components/charity-tags-filter-button/index.d.ts +1 -0
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox/checkbox.stories.d.ts +4 -4
- package/dist/components/chips/chip.d.ts +2 -2
- package/dist/components/chips/chips.d.ts +2 -2
- package/dist/components/chips/chips.stories.d.ts +4 -4
- package/dist/components/chips/input-chips.d.ts +1 -1
- package/dist/components/chips/input-chips.stories.d.ts +2 -2
- package/dist/components/collapse/collapse.d.ts +21 -0
- package/dist/components/collapse/collapse.stories.d.ts +19 -0
- package/dist/components/collapse/icons.d.ts +4 -0
- package/dist/components/collapse/index.d.ts +1 -0
- package/dist/components/combo-field/combo-field-expander.d.ts +1 -1
- package/dist/components/combo-field/combo-field.d.ts +1 -1
- package/dist/components/combo-field/combo-field.stories.d.ts +3 -3
- package/dist/components/comment-section/comment-section-v2/comment-section-v2.d.ts +31 -0
- package/dist/components/comment-section/comment-section-v2/sub-comments-v2.d.ts +11 -0
- package/dist/components/comment-section/comment-section.d.ts +2 -10
- package/dist/components/comment-section/comment-section.stories.d.ts +8 -2
- package/dist/components/comment-section/comment-type.d.ts +10 -0
- package/dist/components/comment-section/index.d.ts +1 -0
- package/dist/components/comment-section/sub-comments.d.ts +4 -4
- package/dist/components/cropper/cropper.d.ts +1 -1
- package/dist/components/cropper/cropper.stories.d.ts +2 -2
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/date-picker/date-picker.stories.d.ts +11 -5
- package/dist/components/date-picker/index.d.ts +1 -0
- package/dist/components/date-picker/single-date-picker-custom-header.d.ts +32 -0
- package/dist/components/date-picker/single-date-picker.d.ts +4 -3
- package/dist/components/donate-card/donate-card.d.ts +2 -2
- package/dist/components/donate-card/donate-card.stories.d.ts +3 -3
- package/dist/components/donation-form/donation-details.d.ts +1 -1
- package/dist/components/donation-form/donation-form-v2/donation-form-v2.d.ts +13 -0
- package/dist/components/donation-form/donation-form.d.ts +2 -2
- package/dist/components/donation-form/donation-form.stories.d.ts +8 -2
- package/dist/components/donation-form/donation-payment.d.ts +2 -2
- package/dist/components/donation-form/donation-select.d.ts +2 -2
- package/dist/components/donation-form/index.d.ts +1 -0
- package/dist/components/donation.d.ts +18 -0
- package/dist/components/elevation/elevation.d.ts +1 -1
- package/dist/components/elevation/elevation.stories.d.ts +2 -2
- package/dist/components/favorite-charity-item/favorite-charity-item.d.ts +15 -0
- package/dist/components/favorite-charity-item/favorite-charity-item.stories.d.ts +15 -0
- package/dist/components/favorite-charity-item/index.d.ts +1 -0
- package/dist/components/{featured-campaign-card /featured-campaign-card.d.ts → featured-campaign-card/featured-campaign-card.d.ts} +6 -3
- package/dist/components/{featured-campaign-card /featured-campaign-card.stories.d.ts → featured-campaign-card/featured-campaign-card.stories.d.ts} +3 -3
- package/dist/components/field-helpers/field-helper-text.d.ts +2 -2
- package/dist/components/field-helpers/field-label.d.ts +2 -1
- package/dist/components/footerV2/footerV2.d.ts +35 -0
- package/dist/components/{icon/toggle-button.stories.d.ts → footerV2/footerV2.stories.d.ts} +5 -3
- package/dist/components/footerV2/index.d.ts +1 -0
- package/dist/components/fundraising-section/fundraising-section.d.ts +2 -2
- package/dist/components/fundraising-section/fundraising-section.stories.d.ts +3 -3
- package/dist/components/hero-banner/hero-banner.d.ts +2 -2
- package/dist/components/hero-banner/hero-banner.stories.d.ts +3 -3
- package/dist/components/horizontalbar/horizontalbar.d.ts +2 -2
- package/dist/components/horizontalbar/horizontalbar.stories.d.ts +5 -5
- package/dist/components/icon/btn_google_light_normal_ios.svg.d.ts +1 -1
- package/dist/components/icon/facebook_6.svg.d.ts +1 -1
- package/dist/components/icon/heart-toggle.d.ts +1 -1
- package/dist/components/icon/heart-toggle.stories.d.ts +2 -2
- package/dist/components/icon/icon-button-group.d.ts +1 -1
- package/dist/components/icon/icon-button-group.stories.d.ts +2 -2
- package/dist/components/icon/icon-button.d.ts +1 -1
- package/dist/components/icon/icon-button.stories.d.ts +3 -3
- package/dist/components/icon/icon.d.ts +1 -1
- package/dist/components/icon/icon.stories.d.ts +4 -4
- package/dist/components/icon/material-icon.d.ts +2 -2
- package/dist/components/index.d.ts +32 -0
- package/dist/components/info-represent-campaign/index.d.ts +1 -0
- package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +11 -0
- package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +12 -0
- package/dist/components/input/InputDefault.d.ts +13 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/input.stories.d.ts +24 -0
- package/dist/components/input-social/Icons.d.ts +8 -0
- package/dist/components/input-social/InputSocial.d.ts +12 -0
- package/dist/components/input-social/index.d.ts +1 -0
- package/dist/components/input-social/input-social.stories.d.ts +12 -0
- package/dist/components/layout/box.d.ts +232 -224
- package/dist/components/layout/flex.d.ts +4 -4
- package/dist/components/layout/flex.stories.d.ts +2 -2
- package/dist/components/layout/grid.d.ts +2 -2
- package/dist/components/layout/grid.stories.d.ts +2 -2
- package/dist/components/layout/stack.d.ts +2 -2
- package/dist/components/layout/stack.stories.d.ts +4 -4
- package/dist/components/list/list.d.ts +3 -3
- package/dist/components/list/list.stories.d.ts +7 -7
- package/dist/components/login/login.d.ts +6 -3
- package/dist/components/login/login.stories.d.ts +3 -3
- package/dist/components/logo/logo-type.d.ts +4 -3
- package/dist/components/menu/menu-list-item.d.ts +2 -2
- package/dist/components/menu/menu-list.d.ts +2 -2
- package/dist/components/menu/menu.stories.d.ts +2 -2
- package/dist/components/modal/index.d.ts +1 -0
- package/dist/components/modal/modal-image.d.ts +8 -0
- package/dist/components/modal/modal.d.ts +4 -1
- package/dist/components/modal/modal.stories.d.ts +17 -5
- package/dist/components/my-account-choose-charity-card/index.d.ts +1 -0
- package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.d.ts +11 -0
- package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.stories.d.ts +14 -0
- package/dist/components/my-account-frp-closed/Icon.d.ts +5 -0
- package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +8 -0
- package/dist/components/my-account-frp-closed/frp-information.d.ts +16 -0
- package/dist/components/my-account-frp-closed/index.d.ts +1 -0
- package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +20 -0
- package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +24 -0
- package/dist/components/my-account-frp-preview/Icon.d.ts +5 -0
- package/dist/components/my-account-frp-preview/frp-information.d.ts +13 -0
- package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +9 -0
- package/dist/components/my-account-frp-preview/index.d.ts +1 -0
- package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +17 -0
- package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +24 -0
- package/dist/components/my-account-sidebar/Icon.d.ts +15 -0
- package/dist/components/my-account-sidebar/index.d.ts +1 -0
- package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +19 -0
- package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +12 -0
- package/dist/components/my-account-start-fundraise-card/index.d.ts +1 -0
- package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +13 -0
- package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +20 -0
- package/dist/components/my-account-stats-donated/index.d.ts +1 -0
- package/dist/components/my-account-stats-donated/my-account-stats-donated.d.ts +8 -0
- package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +12 -0
- package/dist/components/my-account-stats-raised/index.d.ts +1 -0
- package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +7 -0
- package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +12 -0
- package/dist/components/nav/charity.d.ts +3 -0
- package/dist/components/nav/icons/IconBigger.d.ts +5 -0
- package/dist/components/nav/icons/IconSmaller.d.ts +5 -0
- package/dist/components/nav/index.d.ts +1 -0
- package/dist/components/nav/nav-actions.d.ts +1 -1
- package/dist/components/nav/nav-bar.d.ts +2 -2
- package/dist/components/nav/nav-call-to-action.d.ts +3 -3
- package/dist/components/nav/nav-charity.d.ts +7 -0
- package/dist/components/nav/nav-expanded-charity-new.d.ts +12 -0
- package/dist/components/nav/nav-expanded-charity.d.ts +14 -0
- package/dist/components/nav/nav-expanded.d.ts +5 -2
- package/dist/components/nav/nav-list.d.ts +8 -6
- package/dist/components/nav/nav-menu-control.d.ts +2 -1
- package/dist/components/nav/nav-menu.d.ts +3 -3
- package/dist/components/nav/nav-myaccount.d.ts +23 -0
- package/dist/components/nav/nav-search-control.d.ts +3 -2
- package/dist/components/nav/nav-search.d.ts +3 -2
- package/dist/components/nav/nav-sign-in-control.d.ts +2 -1
- package/dist/components/nav/nav-user-menu-items.d.ts +6 -6
- package/dist/components/nav/nav-user-menu.d.ts +4 -4
- package/dist/components/nav/nav.d.ts +18 -10
- package/dist/components/nav/nav.stories.d.ts +8 -2
- package/dist/components/navigation/navigation-actions.d.ts +1 -1
- package/dist/components/navigation/navigation-bar.d.ts +2 -2
- package/dist/components/navigation/navigation-call-to-action.d.ts +3 -3
- package/dist/components/navigation/navigation-expanded.d.ts +2 -2
- package/dist/components/navigation/navigation-list.d.ts +6 -6
- package/dist/components/navigation/navigation-menu-control.d.ts +1 -1
- package/dist/components/navigation/navigation-menu.d.ts +3 -3
- package/dist/components/navigation/navigation-search-control.d.ts +2 -2
- package/dist/components/navigation/navigation-search.d.ts +2 -2
- package/dist/components/navigation/navigation-sign-in-control.d.ts +1 -1
- package/dist/components/navigation/navigation-user-menu-items.d.ts +6 -6
- package/dist/components/navigation/navigation-user-menu.d.ts +4 -4
- package/dist/components/navigation/navigation.d.ts +8 -8
- package/dist/components/navigation/navigation.stories.d.ts +4 -4
- package/dist/components/partner-chart-stats/index.d.ts +1 -0
- package/dist/components/partner-chart-stats/partner-chart-stats.d.ts +11 -0
- package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +18 -0
- package/dist/components/partner-monthly-donations/index.d.ts +1 -0
- package/dist/components/partner-monthly-donations/partner-monthly-donations.d.ts +8 -0
- package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +12 -0
- package/dist/components/partner-monthly-stats/index.d.ts +1 -0
- package/dist/components/partner-monthly-stats/partner-monthly-stats.d.ts +7 -0
- package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +12 -0
- package/dist/components/partner-toggle-button/index.d.ts +2 -0
- package/dist/components/partner-toggle-button/partner-toggle-button-block.d.ts +11 -0
- package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +12 -0
- package/dist/components/partner-toggle-button/partner-toggle-button.d.ts +8 -0
- package/dist/components/phone-number-input/index.d.ts +2 -0
- package/dist/components/phone-number-input/phone-number-input-v1.d.ts +27 -0
- package/dist/components/phone-number-input/phone-number-input-v2.d.ts +19 -0
- package/dist/components/phone-number-input/phone-number-input.d.ts +3 -2
- package/dist/components/phone-number-input/phone-number-input.stories.d.ts +32 -2
- package/dist/components/popup/popup.d.ts +2 -2
- package/dist/components/popup/popup.stories.d.ts +3 -3
- package/dist/components/progressbar/progress-bar-circle.d.ts +10 -0
- package/dist/components/progressbar/progressbar.d.ts +2 -2
- package/dist/components/progressbar/progressbar.stories.d.ts +9 -3
- package/dist/components/radio/radio-group.d.ts +1 -1
- package/dist/components/radio/radio-group.stories.d.ts +2 -2
- package/dist/components/radio/radio.d.ts +1 -1
- package/dist/components/radio/radio.stories.d.ts +4 -4
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select-enhanced.d.ts +24 -0
- package/dist/components/select/select-helper-text.d.ts +1 -1
- package/dist/components/select/select-v2.d.ts +27 -0
- package/dist/components/select/select.d.ts +5 -3
- package/dist/components/select/select.stories.d.ts +14 -2
- package/dist/components/spinner/spinner.d.ts +4 -3
- package/dist/components/spinner/spinner.stories.d.ts +8 -2
- package/dist/components/statistics/statistics.d.ts +1 -1
- package/dist/components/statistics/statistics.stories.d.ts +2 -2
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/switch-v2.d.ts +8 -0
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/components/switch/switch.stories.d.ts +10 -4
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/partner-monthly-table.d.ts +19 -0
- package/dist/components/table/partner-monthly-table.stories.d.ts +18 -0
- package/dist/components/tabs/nav-tabs.d.ts +18 -0
- package/dist/components/tabs/tab-text-label.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tabs/tabs.stories.d.ts +2 -2
- package/dist/components/text/text.d.ts +4 -5
- package/dist/components/text/text.stories.d.ts +7 -7
- package/dist/components/text-field/index.d.ts +1 -0
- package/dist/components/text-field/text-field-helper-text.d.ts +1 -1
- package/dist/components/text-field/text-field-search.d.ts +10 -0
- package/dist/components/text-field/text-field.d.ts +1 -0
- package/dist/components/text-field/text-field.stories.d.ts +8 -2
- package/dist/components/this-month-card/index.d.ts +1 -0
- package/dist/components/this-month-card/this-month-card.d.ts +15 -0
- package/dist/components/this-month-card/this-month-card.stories.d.ts +12 -0
- package/dist/components/toast/Icons.d.ts +7 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/toast.d.ts +8 -0
- package/dist/components/toast/toast.stories.d.ts +12 -0
- package/dist/components/transaction-card/Dot.d.ts +6 -0
- package/dist/components/transaction-card/index.d.ts +1 -0
- package/dist/components/transaction-card/transaction-card.d.ts +16 -0
- package/dist/components/transaction-card/transaction-card.stories.d.ts +20 -0
- package/dist/components/uploader/uploader.d.ts +1 -1
- package/dist/donation.css +2 -0
- package/dist/donation.css.map +1 -0
- package/dist/donation.d.ts +3 -0
- package/dist/donation.esm.css +2 -0
- package/dist/donation.esm.css.map +1 -0
- package/dist/donation.esm.js +25306 -0
- package/dist/donation.js +25361 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.esm.css +2 -0
- package/dist/index.esm.css.map +1 -0
- package/dist/index.esm.js +28826 -8100
- package/dist/index.js +28867 -8096
- package/dist/theme/theme.d.ts +9 -5
- package/dist/utils/center-decorator.d.ts +1 -1
- package/dist/utils/component-matrix.d.ts +1 -1
- package/dist/utils/grid-decorator.d.ts +1 -1
- package/package.json +31 -19
- package/styles/index.css +5 -6883
- package/styles/index.css.map +1 -0
- package/styles/reset.css +2 -315
- package/styles/reset.css.map +1 -0
- package/CHANGELOG.md +0 -565
- package/dist/components/campain-card/campain-card.d.ts +0 -9
- package/dist/components/campain-card/campain-card.stories.d.ts +0 -14
- package/dist/components/featured-campain-card /featured-campain-card .stories.d.ts +0 -14
- package/dist/components/featured-campain-card /featured-campain-card.d.ts +0 -14
- package/dist/components/icon/toggle-button.d.ts +0 -11
- package/dist/components/start-campaign-card/index.d.ts +0 -1
- package/dist/components/start-campaign-card/start-campaign-card.d.ts +0 -8
- package/dist/components/start-campaign-card/start-campaign-card.stories.d.ts +0 -14
- package/dist/components/start-campain-card/start-campain-card.d.ts +0 -8
- package/dist/components/start-campain-card/start-campain-card.stories.d.ts +0 -14
- /package/dist/components/{featured-campaign-card → featured-campaign-card}/index.d.ts +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
decorators: ((...args: any) => any)[];
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const PartnerMonthlyTableStories: {
|
|
8
|
+
(): React.JSX.Element;
|
|
9
|
+
story: {
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const PartnerMonthlyTableStories2: {
|
|
14
|
+
(): React.JSX.Element;
|
|
15
|
+
story: {
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TabBarProps } from "./tab-bar";
|
|
3
|
+
import { TabProps } from "./tab";
|
|
4
|
+
interface TabOptions extends Omit<TabProps, "children" | "label"> {
|
|
5
|
+
key: string;
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
interface TabsProps extends Omit<TabBarProps, "activeIndex" | "handleActiveIndexUpdate" | "children"> {
|
|
9
|
+
tabs: Array<TabOptions & {
|
|
10
|
+
hidden?: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
active?: string | null;
|
|
13
|
+
onActiveUpdate: (key: string) => void;
|
|
14
|
+
isCompactHeight?: boolean;
|
|
15
|
+
isDark?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare function NavTabs({ tabs, active, onActiveUpdate, isMinWidth, isMinWidthIndicator, isCompactHeight, className, isDark, ...props }: TabsProps): React.JSX.Element;
|
|
18
|
+
export default NavTabs;
|
|
@@ -2,5 +2,5 @@ import React from "react";
|
|
|
2
2
|
interface TabTextLabelProps {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare function TabTextLabel({ children }: TabTextLabelProps): JSX.Element;
|
|
5
|
+
declare function TabTextLabel({ children }: TabTextLabelProps): React.JSX.Element;
|
|
6
6
|
export default TabTextLabel;
|
|
@@ -13,5 +13,5 @@ interface TabsProps extends Omit<TabBarProps, "activeIndex" | "handleActiveIndex
|
|
|
13
13
|
onActiveUpdate: (key: string) => void;
|
|
14
14
|
isCompactHeight?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare function Tabs({ tabs, active, onActiveUpdate, isMinWidth, isMinWidthIndicator, isCompactHeight, className, ...props }: TabsProps): JSX.Element;
|
|
16
|
+
declare function Tabs({ tabs, active, onActiveUpdate, isMinWidth, isMinWidthIndicator, isCompactHeight, className, ...props }: TabsProps): React.JSX.Element;
|
|
17
17
|
export default Tabs;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import CenterDecorator from "../../utils/center-decorator";
|
|
3
3
|
import "./tabs.scss";
|
|
4
4
|
declare const _default: {
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
9
9
|
export declare const tabs: {
|
|
10
|
-
(): JSX.Element;
|
|
10
|
+
(): React.JSX.Element;
|
|
11
11
|
story: {
|
|
12
12
|
name: string;
|
|
13
13
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ColorSpecifier } from "../../theme/theme";
|
|
3
3
|
import { BoxProps } from "../layout/box";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare type TextTypes = HTMLElement | HTMLHeadingElement;
|
|
4
|
+
type TextKind = "display1" | "display2" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "sub" | "small" | "fine" | "span";
|
|
5
|
+
type TextElement = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "small" | "span";
|
|
6
|
+
type AlignType = "left" | "right" | "center" | "justify" | "justify-all" | "start" | "end" | "match-parent";
|
|
8
7
|
interface TextProps extends Omit<BoxProps, "span" | "color"> {
|
|
9
8
|
elem?: TextElement;
|
|
10
9
|
kind?: TextKind;
|
|
@@ -27,5 +26,5 @@ interface TextProps extends Omit<BoxProps, "span" | "color"> {
|
|
|
27
26
|
small?: boolean;
|
|
28
27
|
span?: boolean;
|
|
29
28
|
}
|
|
30
|
-
declare const Text: React.ForwardRefExoticComponent<
|
|
29
|
+
declare const Text: React.ForwardRefExoticComponent<Omit<TextProps, "ref"> & React.RefAttributes<HTMLElement | HTMLHeadingElement>>;
|
|
31
30
|
export default Text;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import CenterDecorator from "../../utils/center-decorator";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
@@ -6,38 +6,38 @@ declare const _default: {
|
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const TextStory: {
|
|
9
|
-
(): JSX.Element;
|
|
9
|
+
(): React.JSX.Element;
|
|
10
10
|
story: {
|
|
11
11
|
name: string;
|
|
12
12
|
decorators: (typeof CenterDecorator)[];
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
export declare const kinds: {
|
|
16
|
-
(): JSX.Element;
|
|
16
|
+
(): React.JSX.Element;
|
|
17
17
|
story: {
|
|
18
18
|
name: string;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
export declare const titles: {
|
|
22
|
-
(): JSX.Element;
|
|
22
|
+
(): React.JSX.Element;
|
|
23
23
|
story: {
|
|
24
24
|
name: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
export declare const paras: {
|
|
28
|
-
(): JSX.Element;
|
|
28
|
+
(): React.JSX.Element;
|
|
29
29
|
story: {
|
|
30
30
|
name: string;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export declare const modifiers: {
|
|
34
|
-
(): JSX.Element;
|
|
34
|
+
(): React.JSX.Element;
|
|
35
35
|
story: {
|
|
36
36
|
name: string;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
export declare const textArticle: {
|
|
40
|
-
(): JSX.Element;
|
|
40
|
+
(): React.JSX.Element;
|
|
41
41
|
story: {
|
|
42
42
|
name: string;
|
|
43
43
|
};
|
|
@@ -4,5 +4,5 @@ export interface HelperTextProps extends Omit<MDCHelperTextProps, "children"> {
|
|
|
4
4
|
error?: string;
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
}
|
|
7
|
-
declare function HelperText({ error, children, ...props }: HelperTextProps): JSX.Element;
|
|
7
|
+
declare function HelperText({ error, children, ...props }: HelperTextProps): React.JSX.Element;
|
|
8
8
|
export default HelperText;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface TextFieldSearchProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
onSubmit: () => void;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
isFocus?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function TextFieldSearch({ value, onChange, onSubmit, placeholder, isFocus, }: TextFieldSearchProps): React.JSX.Element;
|
|
10
|
+
export default TextFieldSearch;
|
|
@@ -20,6 +20,7 @@ export interface TextFieldProps extends Omit<React.HTMLProps<HTMLInputElement>,
|
|
|
20
20
|
className?: string;
|
|
21
21
|
required?: boolean;
|
|
22
22
|
color?: string;
|
|
23
|
+
outlined?: boolean;
|
|
23
24
|
onChange?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
24
25
|
}
|
|
25
26
|
declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
4
|
decorators: ((...args: any) => any)[];
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const TextFieldStory: {
|
|
8
|
-
(): JSX.Element;
|
|
8
|
+
(): React.JSX.Element;
|
|
9
|
+
story: {
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const TextFieldSearchStory: {
|
|
14
|
+
(): React.JSX.Element;
|
|
9
15
|
story: {
|
|
10
16
|
name: string;
|
|
11
17
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ThisMonthCard } from "./this-month-card";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface MonthData {
|
|
3
|
+
itemAmount?: number;
|
|
4
|
+
itemText?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ThisMonthCardProps {
|
|
7
|
+
totalDonations: number;
|
|
8
|
+
thisMonthData?: Array<MonthData>;
|
|
9
|
+
imgLink: string;
|
|
10
|
+
buttonLink: string;
|
|
11
|
+
buttonText: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const ThisMonthCard: ({ totalDonations, thisMonthData, imgLink, buttonLink, buttonText, className, }: ThisMonthCardProps) => React.JSX.Element;
|
|
15
|
+
export default ThisMonthCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Toast } from "./toast";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ToastContainerProps } from "react-toastify";
|
|
3
|
+
import "react-toastify/dist/ReactToastify.css";
|
|
4
|
+
export interface ToastProps extends ToastContainerProps {
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function Toast({ ...props }: ToastProps): React.JSX.Element;
|
|
8
|
+
export default Toast;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TransactionCard } from "./transaction-card";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface TransactionCardProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
amount?: React.ReactNode | string;
|
|
5
|
+
recipient?: React.ReactNode | string;
|
|
6
|
+
receiptNo?: React.ReactNode | string;
|
|
7
|
+
details?: React.ReactNode | string;
|
|
8
|
+
tax?: React.ReactNode | string;
|
|
9
|
+
date?: React.ReactNode | string;
|
|
10
|
+
statusAsText?: React.ReactNode | string;
|
|
11
|
+
action?: React.ReactNode | string;
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
notShowIcon?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const TransactionCard: ({ className, amount, recipient, receiptNo, details, tax, date, statusAsText, action, onClick, notShowIcon, }: TransactionCardProps) => React.JSX.Element;
|
|
16
|
+
export default TransactionCard;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
6
|
+
component: ({ className, amount, recipient, receiptNo, details, tax, date, statusAsText, action, onClick, notShowIcon, }: import("./transaction-card").TransactionCardProps) => React.JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const TransactionCardStory: {
|
|
10
|
+
(): React.JSX.Element;
|
|
11
|
+
story: {
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const RegistrationCard: {
|
|
16
|
+
(): React.JSX.Element;
|
|
17
|
+
story: {
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -19,5 +19,5 @@ export interface UploaderProps {
|
|
|
19
19
|
hasFiles: string;
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
declare const Uploader: ({ color, width, height, getUploadParams, onChangeStatus, multiple, maxFiles, fontSize, iconSize, accept, customIcon, dragAndDropMessage, hasBrowseButton, browsButtonMessage, }: UploaderProps) => JSX.Element;
|
|
22
|
+
declare const Uploader: ({ color, width, height, getUploadParams, onChangeStatus, multiple, maxFiles, fontSize, iconSize, accept, customIcon, dragAndDropMessage, hasBrowseButton, browsButtonMessage, }: UploaderProps) => React.JSX.Element;
|
|
23
23
|
export default Uploader;
|
|
@@ -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,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}"]}
|