dhre-component-lib 0.8.25 → 0.8.26
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/dist/components/Accordian/Accordian.d.ts +16 -0
- package/dist/components/Accordian/index.d.ts +1 -0
- package/dist/components/Avatar/Avatar.d.ts +9 -0
- package/dist/components/Avatar/Avatar.test.d.ts +1 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Badge/Badge.d.ts +9 -0
- package/dist/components/Badge/Badge.test.d.ts +1 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/BreadCrumb/BreadCrumb.d.ts +15 -0
- package/dist/components/BreadCrumb/BreadCrumb.test.d.ts +1 -0
- package/dist/components/BreadCrumb/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +21 -0
- package/dist/components/Button/Button.test.d.ts +1 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Carousel/Carousel.d.ts +14 -0
- package/dist/components/Carousel/index.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +12 -0
- package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/CircularProgress/CircularProgress.d.ts +12 -0
- package/dist/components/CircularProgress/CircularProgress.test.d.ts +1 -0
- package/dist/components/CircularProgress/index.d.ts +1 -0
- package/dist/components/Divider/Divider.d.ts +8 -0
- package/dist/components/Divider/Divider.test.d.ts +1 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Drawer/Drawer.d.ts +13 -0
- package/dist/components/Drawer/index.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +18 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/Enum.d.ts +48 -0
- package/dist/components/HoverOptionsWrapper/HoverOptionsWrapper.d.ts +14 -0
- package/dist/components/HoverOptionsWrapper/HoverOptionsWrapper.test.d.ts +1 -0
- package/dist/components/HoverOptionsWrapper/index.d.ts +1 -0
- package/dist/components/InputTextField/InputTextField.d.ts +29 -0
- package/dist/components/InputTextField/InputTextField.test.d.ts +1 -0
- package/dist/components/InputTextField/index.d.ts +1 -0
- package/dist/components/Link/Link.d.ts +10 -0
- package/dist/components/Link/Link.test.d.ts +1 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/Map/Directions.d.ts +13 -0
- package/dist/components/Map/GoogleMap.d.ts +13 -0
- package/dist/components/Map/GoogleMapsLoader.d.ts +4 -0
- package/dist/components/Map/index.d.ts +2 -0
- package/dist/components/Menu/Menu.d.ts +10 -0
- package/dist/components/Modal/Modal.d.ts +12 -0
- package/dist/components/Modal/Modal.test.d.ts +1 -0
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Notification/Notification.d.ts +10 -0
- package/dist/components/Notification/Notification.test.d.ts +1 -0
- package/dist/components/Notification/index.d.ts +1 -0
- package/dist/components/OtpInput/OtpInput.d.ts +22 -0
- package/dist/components/OtpInput/OtpInput.test.d.ts +1 -0
- package/dist/components/OtpInput/index.d.ts +1 -0
- package/dist/components/PdfView/PdfView.d.ts +19 -0
- package/dist/components/PdfView/PdfView.test.d.ts +1 -0
- package/dist/components/PdfView/index.d.ts +1 -0
- package/dist/components/Progress/Progress.d.ts +12 -0
- package/dist/components/Progress/Progress.test.d.ts +1 -0
- package/dist/components/Progress/index.d.ts +1 -0
- package/dist/components/RadioButton/RadioButton.d.ts +14 -0
- package/dist/components/RadioButton/RadioButton.test.d.ts +1 -0
- package/dist/components/RadioButton/index.d.ts +1 -0
- package/dist/components/RangeSlider/RangeSlider.d.ts +15 -0
- package/dist/components/RangeSlider/index.d.ts +1 -0
- package/dist/components/Search/Search.d.ts +29 -0
- package/dist/components/Search/index.d.ts +1 -0
- package/dist/components/Stepper/Stepper.d.ts +28 -0
- package/dist/components/Stepper/index.d.ts +1 -0
- package/dist/components/Switch/Switch.d.ts +13 -0
- package/dist/components/Switch/Switch.test.d.ts +1 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Tabs/Tabs.d.ts +16 -0
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/Tag/Tag.d.ts +10 -0
- package/dist/components/Tag/Tag.test.d.ts +1 -0
- package/dist/components/Tag/index.d.ts +1 -0
- package/dist/components/TextArea/TextArea.d.ts +17 -0
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/Toast/Toast.d.ts +17 -0
- package/dist/components/Toast/Toast.test.d.ts +1 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +8 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.test.d.ts +1 -0
- package/dist/components/ToggleSwitch/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +10 -0
- package/dist/components/Tooltip/Tooltip.test.d.ts +1 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +10 -0
- package/dist/components/Typography/Typography.test.d.ts +1 -0
- package/dist/components/Typography/index.d.ts +1 -0
- package/dist/index.d.ts +429 -0
- package/dist/index.esm.js +22275 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +22327 -0
- package/dist/index.js.map +1 -0
- package/dist/theme/colors/colors.scss +58 -0
- package/dist/theme/colors.d.ts +1 -0
- package/package.json +71 -71
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Accordian.module.scss';
|
|
3
|
+
type AccordionProps = {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
border?: boolean;
|
|
9
|
+
upArrowIcon: React.ReactNode;
|
|
10
|
+
downArrowIcon: React.ReactNode;
|
|
11
|
+
openByDefault?: boolean;
|
|
12
|
+
borderBottom?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const Accordion: React.FC<AccordionProps>;
|
|
16
|
+
export default Accordion;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Accordian";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Avatar";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Badge";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './Breadcrumb.module.scss';
|
|
3
|
+
export interface BreadcrumbItem {
|
|
4
|
+
label: string;
|
|
5
|
+
handleClick?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export interface BreadcrumbProps {
|
|
8
|
+
items: BreadcrumbItem[];
|
|
9
|
+
breadcrumbClassName: string;
|
|
10
|
+
itemClassName?: string;
|
|
11
|
+
separator?: string;
|
|
12
|
+
separatorClassName?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const Breadcrumb: React.FC<BreadcrumbProps>;
|
|
15
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BreadCrumb";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Button.module.scss";
|
|
3
|
+
import { ButtonCategory, CircularProgressColor } from "../Enum";
|
|
4
|
+
type ButtonProps = {
|
|
5
|
+
label: React.ReactNode;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
category?: ButtonCategory;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
width?: string;
|
|
11
|
+
height?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
type?: "button" | "submit" | "reset";
|
|
14
|
+
borderRadius?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
loaderThickness?: number;
|
|
17
|
+
loaderColor?: CircularProgressColor;
|
|
18
|
+
loaderSize?: number;
|
|
19
|
+
};
|
|
20
|
+
declare const Button: React.FC<ButtonProps>;
|
|
21
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Button";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Carousel.module.scss";
|
|
3
|
+
import { MediaType } from "../Enum";
|
|
4
|
+
export interface CarouselProps {
|
|
5
|
+
items: CarouselItems[];
|
|
6
|
+
}
|
|
7
|
+
export interface CarouselItems {
|
|
8
|
+
src: string;
|
|
9
|
+
type: MediaType;
|
|
10
|
+
alt: string;
|
|
11
|
+
extension: string;
|
|
12
|
+
}
|
|
13
|
+
declare const Carousel: React.FC<CarouselProps>;
|
|
14
|
+
export default Carousel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Carousel";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Checkbox.module.scss';
|
|
3
|
+
interface CustomCheckboxProps {
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
7
|
+
className?: string;
|
|
8
|
+
checkboxClassName?: string;
|
|
9
|
+
labelClassName?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Checkbox: React.FC<CustomCheckboxProps>;
|
|
12
|
+
export default Checkbox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Checkbox";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './CircularProgress.module.scss';
|
|
3
|
+
import { CircularProgressColor, CircularProgressVariant } from '../Enum';
|
|
4
|
+
export interface CircularProgressProps {
|
|
5
|
+
value?: number;
|
|
6
|
+
variant?: CircularProgressVariant;
|
|
7
|
+
color?: CircularProgressColor;
|
|
8
|
+
thickness?: number;
|
|
9
|
+
size?: number | string;
|
|
10
|
+
}
|
|
11
|
+
declare const CircularProgress: React.FC<CircularProgressProps>;
|
|
12
|
+
export default CircularProgress;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./CircularProgress";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Divider";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Drawer.module.scss";
|
|
3
|
+
interface DrawerProps {
|
|
4
|
+
openSideDrawer: boolean;
|
|
5
|
+
closeSideDrawer: () => void;
|
|
6
|
+
width: string;
|
|
7
|
+
component: React.ReactNode;
|
|
8
|
+
anchor?: "left" | "right" | "top" | "bottom";
|
|
9
|
+
variant?: "temporary" | "persistent" | "permanent";
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const Drawer: React.FC<DrawerProps>;
|
|
13
|
+
export default Drawer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Drawer";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Dropdown.module.scss";
|
|
3
|
+
export type value = {
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
isNotClickable?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function Dropdown(props: {
|
|
9
|
+
placeholder: string;
|
|
10
|
+
getSelectedValue: (value: value) => void;
|
|
11
|
+
dropdownList: value[];
|
|
12
|
+
arrowUp: React.ReactNode;
|
|
13
|
+
arrowDown: React.ReactNode;
|
|
14
|
+
value?: value;
|
|
15
|
+
className?: string;
|
|
16
|
+
onDropdownOpen?: (data: boolean) => void;
|
|
17
|
+
}): React.JSX.Element;
|
|
18
|
+
export default Dropdown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Dropdown";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const INPUT_TYPES: {
|
|
2
|
+
PASSWORD: string;
|
|
3
|
+
TEXT: string;
|
|
4
|
+
EMAIL: string;
|
|
5
|
+
NUMBER: string;
|
|
6
|
+
DATE: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const DIVIDER_ORIENTATION: {
|
|
9
|
+
Horizontal: string;
|
|
10
|
+
Vertical: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const LINK_TARGET: {
|
|
13
|
+
Self: string;
|
|
14
|
+
Blank: string;
|
|
15
|
+
Parent: string;
|
|
16
|
+
Top: string;
|
|
17
|
+
};
|
|
18
|
+
export declare enum CircularProgressVariant {
|
|
19
|
+
Determinate = "determinate",
|
|
20
|
+
Indeterminate = "indeterminate"
|
|
21
|
+
}
|
|
22
|
+
export declare enum CircularProgressColor {
|
|
23
|
+
PRIMARY = "primary",
|
|
24
|
+
SECONDARY = "secondary",
|
|
25
|
+
ERROR = "error",
|
|
26
|
+
SUCCESS = "success",
|
|
27
|
+
INFO = "info",
|
|
28
|
+
WARNING = "warning",
|
|
29
|
+
WHITE = "white",
|
|
30
|
+
BLACK = "black"
|
|
31
|
+
}
|
|
32
|
+
export declare enum ButtonCategory {
|
|
33
|
+
FILLED = "filled",
|
|
34
|
+
OUTLINED = "outlined",
|
|
35
|
+
TEXT = "text"
|
|
36
|
+
}
|
|
37
|
+
export declare enum ToastTimer {
|
|
38
|
+
INTERVAL = 100
|
|
39
|
+
}
|
|
40
|
+
export declare enum MediaType {
|
|
41
|
+
Image = "image",
|
|
42
|
+
Video = "video"
|
|
43
|
+
}
|
|
44
|
+
export declare enum ToastStatus {
|
|
45
|
+
ERROR = "error",
|
|
46
|
+
SUCCESS = "success",
|
|
47
|
+
WARNING = "warning"
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import "./HoverOptionsWrapper.module.scss";
|
|
3
|
+
interface SwipeActionWrapperProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
onPin?: () => void;
|
|
6
|
+
onRead?: () => void;
|
|
7
|
+
onDelete?: () => void;
|
|
8
|
+
pinIcon: React.ReactNode;
|
|
9
|
+
readIcon: React.ReactNode;
|
|
10
|
+
deleteIcon: React.ReactNode;
|
|
11
|
+
swipeThreshold?: number;
|
|
12
|
+
}
|
|
13
|
+
declare const HoverOptionsWrapper: React.FC<SwipeActionWrapperProps>;
|
|
14
|
+
export default HoverOptionsWrapper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./HoverOptionsWrapper";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./InputTextField.module.scss";
|
|
3
|
+
export interface CustomInputFieldProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
value?: any;
|
|
6
|
+
type?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
9
|
+
className?: string;
|
|
10
|
+
inputClassName?: string;
|
|
11
|
+
labelClassName?: string;
|
|
12
|
+
error?: string;
|
|
13
|
+
errorClassName?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
maxLength?: number;
|
|
16
|
+
minLength?: number;
|
|
17
|
+
checkValidation?: () => void;
|
|
18
|
+
name?: string;
|
|
19
|
+
min?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
istoolTip?: boolean;
|
|
22
|
+
toolTipText?: string;
|
|
23
|
+
link?: string;
|
|
24
|
+
handleLink?: () => void;
|
|
25
|
+
linkWrapper?: string;
|
|
26
|
+
linkClassName?: string;
|
|
27
|
+
}
|
|
28
|
+
declare const CustomInputField: React.FC<CustomInputFieldProps>;
|
|
29
|
+
export default CustomInputField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./InputTextField";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Link";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface GetDirectionActionProps {
|
|
3
|
+
title: string;
|
|
4
|
+
titleClasses?: string;
|
|
5
|
+
location: string;
|
|
6
|
+
locationClasses?: string;
|
|
7
|
+
hours: string;
|
|
8
|
+
hoursClasses?: string;
|
|
9
|
+
directionsLink: string;
|
|
10
|
+
buttonName?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const GetDirectionAction: React.FC<GetDirectionActionProps>;
|
|
13
|
+
export default GetDirectionAction;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './GoogleMap.module.scss';
|
|
3
|
+
export interface MapComponentProps {
|
|
4
|
+
containerClassName?: string;
|
|
5
|
+
zoom?: number;
|
|
6
|
+
mapOptions?: google.maps.MapOptions;
|
|
7
|
+
radius?: number;
|
|
8
|
+
googleMapsUrls: string[];
|
|
9
|
+
buttonText: string;
|
|
10
|
+
buttonClassName: string;
|
|
11
|
+
}
|
|
12
|
+
declare const MapComponent: React.FC<MapComponentProps>;
|
|
13
|
+
export default MapComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Menu.module.scss';
|
|
3
|
+
interface MenuInterface {
|
|
4
|
+
openMenu: boolean;
|
|
5
|
+
closeMenu: () => void;
|
|
6
|
+
component: React.ReactNode;
|
|
7
|
+
menuStyles: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Menu: (props: MenuInterface) => React.JSX.Element;
|
|
10
|
+
export default Menu;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Modal.module.scss";
|
|
3
|
+
interface ModalProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
title?: React.ReactNode;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
crossIcon: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Modal: React.FC<ModalProps>;
|
|
12
|
+
export default Modal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Modal";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './Notification.module.scss';
|
|
3
|
+
export interface NotificationProps {
|
|
4
|
+
message: string;
|
|
5
|
+
severity?: 'error' | 'warning' | 'info' | 'success';
|
|
6
|
+
autoHideDuration?: number;
|
|
7
|
+
onClose?: (event: React.SyntheticEvent<any> | Event, reason?: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Notification: React.FC<NotificationProps>;
|
|
10
|
+
export default Notification;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Notification";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./OtpInput.module.scss";
|
|
3
|
+
interface OTPInputProps {
|
|
4
|
+
length?: number;
|
|
5
|
+
onChange: (otp: string) => void;
|
|
6
|
+
autoFocus?: boolean;
|
|
7
|
+
onResend: (_: () => void) => void;
|
|
8
|
+
resendDelay?: number;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
errorText?: React.ReactNode;
|
|
11
|
+
resendText: React.ReactNode;
|
|
12
|
+
showResendButton?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
inputClassName?: string;
|
|
15
|
+
icon: React.ReactNode;
|
|
16
|
+
disableResend?: boolean;
|
|
17
|
+
noResendButtonText?: string;
|
|
18
|
+
secondText?: string;
|
|
19
|
+
patternRegex?: RegExp;
|
|
20
|
+
}
|
|
21
|
+
declare const OTPInput: React.FC<OTPInputProps>;
|
|
22
|
+
export default OTPInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OtpInput";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './PdfView.module.scss';
|
|
3
|
+
export interface PdfViewerProps {
|
|
4
|
+
content: string;
|
|
5
|
+
contentType?: string;
|
|
6
|
+
buttonText?: string;
|
|
7
|
+
loadingText?: string;
|
|
8
|
+
errorText?: string;
|
|
9
|
+
cleanUpDelay?: number;
|
|
10
|
+
buttonVariant?: "text" | "outlined" | "contained";
|
|
11
|
+
buttonColor?: "inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
|
12
|
+
buttonSize?: "small" | "medium" | "large";
|
|
13
|
+
showLoadingSpinner?: boolean;
|
|
14
|
+
spinnerSize?: number;
|
|
15
|
+
spinnerColor?: "inherit" | "primary" | "secondary";
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const PdfView: React.FC<PdfViewerProps>;
|
|
19
|
+
export default PdfView;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./PdfView";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ProgressProps {
|
|
3
|
+
value: number;
|
|
4
|
+
max: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
barContainerClassName?: string;
|
|
7
|
+
barClassName?: string;
|
|
8
|
+
labelClassName?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Progress: React.FC<ProgressProps>;
|
|
12
|
+
export default Progress;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Progress";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface RadioButtonProps {
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
7
|
+
className?: string;
|
|
8
|
+
inputClassName?: string;
|
|
9
|
+
labelClassName?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
declare const CustomRadioButton: React.FC<RadioButtonProps>;
|
|
14
|
+
export default CustomRadioButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./RadioButton";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./RangeSlider.module.scss";
|
|
3
|
+
interface rangeSlider {
|
|
4
|
+
sliderLimit: number;
|
|
5
|
+
minRange: number;
|
|
6
|
+
maxRange: number;
|
|
7
|
+
text1: string;
|
|
8
|
+
text2: string;
|
|
9
|
+
getSliderValue?: (event: any, property?: any) => void;
|
|
10
|
+
value?: string;
|
|
11
|
+
rangeMultiples?: number;
|
|
12
|
+
property?: any;
|
|
13
|
+
}
|
|
14
|
+
declare const RangeSlider: (props: rangeSlider) => React.JSX.Element;
|
|
15
|
+
export default RangeSlider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./RangeSlider";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Search.module.scss";
|
|
3
|
+
interface Suggestion {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
faqAnswer: string;
|
|
7
|
+
faqQuestion: any;
|
|
8
|
+
fieldFaqCategory: string;
|
|
9
|
+
isBookmarked: boolean;
|
|
10
|
+
images: string[];
|
|
11
|
+
videos: string[];
|
|
12
|
+
}
|
|
13
|
+
interface CustomSearchFieldProps {
|
|
14
|
+
searchIcon: React.ReactNode;
|
|
15
|
+
crossIcon: React.ReactNode;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
onSearch: (query: string) => void;
|
|
18
|
+
onSelectSuggestion?: (selectedSuggestion: Suggestion | null) => void;
|
|
19
|
+
suggestions: Suggestion[] | null | undefined;
|
|
20
|
+
placeholder: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
suggestionClassName?: string;
|
|
23
|
+
onSearchIconClick?: () => void;
|
|
24
|
+
onHandleClear?: () => void;
|
|
25
|
+
isWhiteBackgound?: boolean;
|
|
26
|
+
shouldShowAll?: boolean;
|
|
27
|
+
}
|
|
28
|
+
declare const Search: React.FC<CustomSearchFieldProps>;
|
|
29
|
+
export default Search;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Search";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Stepper.module.scss";
|
|
3
|
+
interface StepperData {
|
|
4
|
+
name: string;
|
|
5
|
+
id: number;
|
|
6
|
+
component?: React.ReactNode;
|
|
7
|
+
status?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
img?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
interface StepperInterface {
|
|
12
|
+
stepperData: StepperData[];
|
|
13
|
+
type: string;
|
|
14
|
+
showLabelIndex: boolean;
|
|
15
|
+
currentStep?: number;
|
|
16
|
+
successIcon?: React.ReactNode;
|
|
17
|
+
alignment?: string;
|
|
18
|
+
status?: string;
|
|
19
|
+
statusIcon?: React.ReactNode;
|
|
20
|
+
component?: React.ReactNode;
|
|
21
|
+
submittedDate?: React.ReactNode;
|
|
22
|
+
dividerWidth?: string;
|
|
23
|
+
variant?: any;
|
|
24
|
+
displayRightContent?: boolean;
|
|
25
|
+
isPaymentPlanFlow?: boolean;
|
|
26
|
+
}
|
|
27
|
+
declare const Stepper: React.FC<StepperInterface>;
|
|
28
|
+
export default Stepper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Stepper";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './Switch.css';
|
|
3
|
+
export interface SwitchProps {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
handleChange: () => void;
|
|
6
|
+
switchClassName: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
labelClassName?: string;
|
|
9
|
+
containerClassName?: string;
|
|
10
|
+
toggleClassName?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const Switch: React.FC<SwitchProps>;
|
|
13
|
+
export default Switch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|