@mycause/ui 0.0.0-cd9a6353 → 0.0.0-cdab8faf
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/CHANGELOG.md +82 -0
- package/dist/components/credit-card-form/CreditCardForm.d.ts +13 -0
- package/dist/components/credit-card-form/Icons.d.ts +7 -0
- package/dist/components/credit-card-form/credit-card.stories.d.ts +12 -0
- package/dist/components/credit-card-form/index.d.ts +1 -0
- package/dist/components/credit-card-form/toast.stories.d.ts +12 -0
- package/dist/components/date-picker/date-picker.stories.d.ts +6 -0
- 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 +1 -0
- package/dist/components/index.d.ts +3 -6
- package/dist/components/input/InputDefault.d.ts +7 -5
- package/dist/components/input/input.stories.d.ts +6 -0
- package/dist/components/input-social/Icons.d.ts +5 -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/my-account-frp-closed/frp-information.d.ts +4 -2
- package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +4 -2
- package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +3 -2
- package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +5 -3
- package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +7 -1
- package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +1 -2
- package/dist/components/phone-number-input/index.d.ts +1 -0
- package/dist/components/phone-number-input/phone-number-input-v1.d.ts +25 -0
- package/dist/components/phone-number-input/phone-number-input-v2.d.ts +2 -1
- package/dist/components/phone-number-input/phone-number-input.d.ts +2 -1
- package/dist/components/phone-number-input/phone-number-input.stories.d.ts +12 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select-enhanced.d.ts +24 -0
- package/dist/components/select/select-v2.d.ts +26 -0
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.stories.d.ts +12 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/switch-v2.d.ts +8 -0
- package/dist/components/switch/switch.stories.d.ts +6 -0
- package/dist/components/table/partner-monthly-table.d.ts +4 -2
- package/dist/components/text-field/text-field-search.d.ts +2 -1
- package/dist/components/text-field/text-field.d.ts +1 -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/Icons.d.ts +6 -0
- package/dist/components/uploader/uploadAndCropper.d.ts +13 -0
- package/dist/index.esm.js +25439 -24534
- package/dist/index.js +25445 -24532
- package/package.json +2 -1
|
@@ -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) => JSX.Element;
|
|
16
|
+
export default TransactionCard;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
6
|
+
component: ({ className, amount, recipient, receiptNo, details, tax, date, statusAsText, action, onClick, notShowIcon, }: import("./transaction-card").TransactionCardProps) => JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const TransactionCardStory: {
|
|
10
|
+
(): JSX.Element;
|
|
11
|
+
story: {
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const RegistrationCard: {
|
|
16
|
+
(): JSX.Element;
|
|
17
|
+
story: {
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface UploadAndCropperProps {
|
|
3
|
+
imageDefault: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
border?: number;
|
|
6
|
+
borderRadius?: number;
|
|
7
|
+
color?: Array<number> | undefined;
|
|
8
|
+
handleOnRemove?: () => void;
|
|
9
|
+
imagePreview?: string;
|
|
10
|
+
setImagePreview?: (e: any) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const UploadAndCropper: ({ width, border, borderRadius, color, handleOnRemove, imagePreview, setImagePreview, }: UploadAndCropperProps) => JSX.Element;
|
|
13
|
+
export default UploadAndCropper;
|