@mycause/ui 0.18.6 → 0.18.7
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 +7 -0
- package/dist/components/date-picker/date-picker.stories.d.ts +0 -6
- package/dist/components/date-picker/index.d.ts +0 -1
- package/dist/components/index.d.ts +6 -2
- package/dist/components/input/InputDefault.d.ts +2 -2
- package/dist/components/my-account-frp-closed/frp-information.d.ts +1 -2
- package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +1 -2
- package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +2 -1
- package/dist/components/phone-number-input/phone-number-input.d.ts +1 -2
- package/dist/components/phone-number-input/phone-number-input.stories.d.ts +0 -6
- package/dist/components/select/index.d.ts +0 -1
- package/dist/components/select/select-v2.d.ts +7 -10
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.stories.d.ts +0 -6
- package/dist/index.esm.js +24315 -24709
- package/dist/index.js +24313 -24711
- package/package.json +1 -1
- package/dist/components/date-picker/single-date-picker-custom-header.d.ts +0 -32
- package/dist/components/select/SelectV2.d.ts +0 -24
- package/dist/components/toast/Icons.d.ts +0 -7
- package/dist/components/toast/index.d.ts +0 -1
- package/dist/components/toast/toast.d.ts +0 -8
- package/dist/components/toast/toast.stories.d.ts +0 -12
- package/dist/components/transaction-card/Dot.d.ts +0 -6
- package/dist/components/transaction-card/index.d.ts +0 -1
- package/dist/components/transaction-card/transaction-card.d.ts +0 -14
- package/dist/components/transaction-card/transaction-card.stories.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import moment from "moment";
|
|
3
|
-
export interface DatePickerProps {
|
|
4
|
-
id: string;
|
|
5
|
-
date: moment.Moment | null;
|
|
6
|
-
onDateChange: (date: moment.Moment | null) => void;
|
|
7
|
-
onFocusChange: (arg: boolean | null) => void;
|
|
8
|
-
focused: boolean | null;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
color?: string;
|
|
12
|
-
required?: boolean;
|
|
13
|
-
numberOfMonths?: number;
|
|
14
|
-
inputIconPosition?: "before" | "after";
|
|
15
|
-
orientation?: "horizontal" | "vertical";
|
|
16
|
-
customInputIcon?: React.ReactElement<React.HTMLProps<HTMLOrSVGElement>>;
|
|
17
|
-
customCloseIcon?: React.ReactElement<React.HTMLProps<HTMLOrSVGElement>>;
|
|
18
|
-
displayFormat?: string;
|
|
19
|
-
error?: boolean;
|
|
20
|
-
label?: string;
|
|
21
|
-
width?: string;
|
|
22
|
-
isOutsideRange?: () => boolean;
|
|
23
|
-
renderCalendarInfo?: () => string | JSX.Element;
|
|
24
|
-
calendarInfoPosition?: "before" | "after" | "top" | "bottom";
|
|
25
|
-
navPrev?: string | JSX.Element;
|
|
26
|
-
navNext?: string | JSX.Element;
|
|
27
|
-
showDefaultInputIcon?: boolean;
|
|
28
|
-
startYear?: number;
|
|
29
|
-
endYear?: number;
|
|
30
|
-
}
|
|
31
|
-
declare const CustomHeaderSingleDatePicker: ({ width, color, onDateChange, onFocusChange, numberOfMonths, error, label, focused, startYear, endYear, ...rest }: DatePickerProps) => JSX.Element;
|
|
32
|
-
export default CustomHeaderSingleDatePicker;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare type SelectOption = {
|
|
3
|
-
value: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export interface SelectProps {
|
|
8
|
-
label?: string;
|
|
9
|
-
value: string;
|
|
10
|
-
onChange: (e: React.FormEvent) => void;
|
|
11
|
-
externalLabel?: boolean;
|
|
12
|
-
large?: boolean;
|
|
13
|
-
options: Array<SelectOption>;
|
|
14
|
-
leadingIcon?: React.ReactElement;
|
|
15
|
-
helperText?: string | null;
|
|
16
|
-
isHelperTextPersistent?: boolean;
|
|
17
|
-
noArrow?: boolean;
|
|
18
|
-
color?: string;
|
|
19
|
-
asteriskColor?: string;
|
|
20
|
-
itemHoverColor?: string;
|
|
21
|
-
error?: boolean | string;
|
|
22
|
-
}
|
|
23
|
-
declare const SelectV2: ({ options, value, onChange, color, itemHoverColor, noArrow, }: SelectProps) => JSX.Element;
|
|
24
|
-
export default SelectV2;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Toast } from "./toast";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="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): JSX.Element;
|
|
8
|
-
export default Toast;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TransactionCard } from "./transaction-card";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface TransactionCardProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
amount?: string;
|
|
5
|
-
recipient?: string;
|
|
6
|
-
receiptNo?: string;
|
|
7
|
-
details?: string;
|
|
8
|
-
tax?: string;
|
|
9
|
-
date?: string;
|
|
10
|
-
action?: React.ReactNode;
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
}
|
|
13
|
-
declare const TransactionCard: ({ className, amount, recipient, receiptNo, details, tax, date, action, onClick, }: TransactionCardProps) => JSX.Element;
|
|
14
|
-
export default TransactionCard;
|
|
@@ -1,14 +0,0 @@
|
|
|
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, action, onClick, }: 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
|
-
};
|