@vehiclehistory/property-lib 0.0.0
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 +1 -0
- package/dist/components/Accordion/Accordion.d.ts +12 -0
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +23 -0
- package/dist/components/Badge/Badge.d.ts +10 -0
- package/dist/components/Button/Button.d.ts +14 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +8 -0
- package/dist/components/Card/Card.d.ts +14 -0
- package/dist/components/Checkbox/Checkbox.d.ts +15 -0
- package/dist/components/Container/Container.d.ts +8 -0
- package/dist/components/Dialog/Dialog.d.ts +21 -0
- package/dist/components/Dots/Dots.d.ts +6 -0
- package/dist/components/Icon/Icon.d.ts +5 -0
- package/dist/components/Icon/icons.d.ts +21 -0
- package/dist/components/Loading/LoadingBar.d.ts +7 -0
- package/dist/components/Loading/Spinner.d.ts +5 -0
- package/dist/components/Popover/Popover.d.ts +17 -0
- package/dist/components/Progress/ProgressBar.d.ts +13 -0
- package/dist/components/Radio/Radio.d.ts +14 -0
- package/dist/components/Select/Select.d.ts +19 -0
- package/dist/components/Skeleton/Skeleton.d.ts +5 -0
- package/dist/components/Slider/Slider.d.ts +11 -0
- package/dist/components/Stars/Stars.d.ts +7 -0
- package/dist/components/Swiper/Swiper.d.ts +15 -0
- package/dist/components/Text/TextArea.d.ts +15 -0
- package/dist/components/Text/Textbox.d.ts +18 -0
- package/dist/components/index.d.ts +25 -0
- package/dist/main.d.ts +1 -0
- package/dist/property-ui-lib.js +1493 -0
- package/package.json +48 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Vh-Recs UI Library
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode, NamedExoticComponent } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const _default: NamedExoticComponent<{
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
clickHandler?: any;
|
|
7
|
+
panelClass?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
unmount?: boolean;
|
|
10
|
+
isOpen?: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode, NamedExoticComponent } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const _default: NamedExoticComponent<{
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
messages?: any[];
|
|
7
|
+
title?: string;
|
|
8
|
+
titleClass?: string;
|
|
9
|
+
props?: any;
|
|
10
|
+
type?: "error" | "info" | "success" | "warning";
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const Autocomplete: FC<{
|
|
4
|
+
autoFocus?: boolean;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
id?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
defaultValue?: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
floatingLabel?: string;
|
|
11
|
+
inputClass?: string;
|
|
12
|
+
leftIcon?: string;
|
|
13
|
+
mobileBackdrop?: boolean;
|
|
14
|
+
showSearchIcon?: boolean;
|
|
15
|
+
name?: string;
|
|
16
|
+
options?: any[];
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
props?: any;
|
|
19
|
+
size?: 'medium' | 'large' | 'xLarge';
|
|
20
|
+
styles?: any;
|
|
21
|
+
title?: string;
|
|
22
|
+
}>;
|
|
23
|
+
export default Autocomplete;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode, NamedExoticComponent } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const _default: NamedExoticComponent<{
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
href?: string;
|
|
8
|
+
props?: any;
|
|
9
|
+
rounded?: boolean;
|
|
10
|
+
type?: "button" | "submit" | "reset";
|
|
11
|
+
uppercase?: boolean;
|
|
12
|
+
variation?: "primary" | "secondary" | "icon" | "link";
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface CardProps {
|
|
4
|
+
block?: boolean;
|
|
5
|
+
borderless?: boolean;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
divider?: boolean;
|
|
9
|
+
inset?: boolean;
|
|
10
|
+
id?: string | null;
|
|
11
|
+
role?: string | null;
|
|
12
|
+
}
|
|
13
|
+
declare const Card: FC<CardProps>;
|
|
14
|
+
export default Card;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode, NamedExoticComponent } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const _default: NamedExoticComponent<{
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
id: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
value?: any;
|
|
12
|
+
variation?: "primary" | "secondary";
|
|
13
|
+
props?: any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ReactNode, NamedExoticComponent } from 'react';
|
|
2
|
+
import { IconSizes } from '../Icon/icons';
|
|
3
|
+
|
|
4
|
+
declare const _default: NamedExoticComponent<{
|
|
5
|
+
activator?: ReactNode;
|
|
6
|
+
id?: string;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
contentClass?: string;
|
|
10
|
+
dark?: boolean;
|
|
11
|
+
footer?: ReactNode;
|
|
12
|
+
fullMobile?: boolean;
|
|
13
|
+
headerClass?: string;
|
|
14
|
+
hideClose?: boolean;
|
|
15
|
+
iconSize?: IconSizes;
|
|
16
|
+
preventPageScroll?: boolean;
|
|
17
|
+
stickyHeader?: boolean;
|
|
18
|
+
title?: string | ReactNode;
|
|
19
|
+
titleClass?: string;
|
|
20
|
+
}>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface IconNames {
|
|
2
|
+
[key: string]: SVGAttributes;
|
|
3
|
+
}
|
|
4
|
+
export type SizeClass = {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
export type IconSizes = 'xxSmall' | 'xSmall' | 'small' | 'smallPlus' | 'medium' | 'mediumPlus' | 'large' | 'xLarge';
|
|
8
|
+
export type IconProps = {
|
|
9
|
+
color?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
name: string;
|
|
12
|
+
size?: IconSizes;
|
|
13
|
+
viewBox?: string;
|
|
14
|
+
};
|
|
15
|
+
export interface SVGAttributes {
|
|
16
|
+
path: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const sizeClasses: SizeClass;
|
|
19
|
+
declare const icons: IconNames;
|
|
20
|
+
export declare const getIcon: (name: string) => SVGAttributes;
|
|
21
|
+
export default icons;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const Popover: FC<{
|
|
4
|
+
activator: ReactNode;
|
|
5
|
+
activatorClass?: string;
|
|
6
|
+
attrs?: any;
|
|
7
|
+
options?: any;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
containerClass?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
id?: string;
|
|
13
|
+
placement?: string;
|
|
14
|
+
strategy?: string;
|
|
15
|
+
trigger?: String;
|
|
16
|
+
}>;
|
|
17
|
+
export default Popover;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NamedExoticComponent } from 'react';
|
|
2
|
+
interface ProgressBarProps {
|
|
3
|
+
ariaValuemin?: number;
|
|
4
|
+
ariaValuemax?: number;
|
|
5
|
+
bgColor?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
completed: number;
|
|
8
|
+
maxCompleted?: number;
|
|
9
|
+
rounded?: boolean;
|
|
10
|
+
showLabel?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: NamedExoticComponent<ProgressBarProps>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode, NamedExoticComponent } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const _default: NamedExoticComponent<{
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
id: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
variation?: "primary" | "secondary";
|
|
12
|
+
props?: any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactNode, NamedExoticComponent } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const _default: NamedExoticComponent<{
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
error?: boolean;
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
id: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
options: any[];
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
props?: any;
|
|
14
|
+
selectClass?: string;
|
|
15
|
+
styles?: any;
|
|
16
|
+
value?: any;
|
|
17
|
+
variation?: "primary" | "secondary";
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode, NamedExoticComponent } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const _default: NamedExoticComponent<{
|
|
4
|
+
placeholderClass?: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
id?: number;
|
|
8
|
+
padding?: boolean;
|
|
9
|
+
sliderName?: string;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const Swiper: FC<{
|
|
4
|
+
alt?: string;
|
|
5
|
+
buttonsMobile?: boolean;
|
|
6
|
+
buttonClass?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
containerClass?: string;
|
|
9
|
+
config?: any;
|
|
10
|
+
dialogId?: string;
|
|
11
|
+
id?: string;
|
|
12
|
+
images?: any[];
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
}>;
|
|
15
|
+
export default Swiper;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NamedExoticComponent } from 'react';
|
|
2
|
+
declare const _default: NamedExoticComponent<{
|
|
3
|
+
className?: string;
|
|
4
|
+
clear?: boolean;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
errorMessage?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
inputClass?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
props?: any;
|
|
12
|
+
rows?: number;
|
|
13
|
+
variation?: "primary" | "secondary";
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NamedExoticComponent } from 'react';
|
|
2
|
+
declare const _default: NamedExoticComponent<{
|
|
3
|
+
className?: string;
|
|
4
|
+
clear?: boolean;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
errorMessage?: string;
|
|
7
|
+
iconLeft?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
inputClass?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
props?: any;
|
|
13
|
+
styles?: any;
|
|
14
|
+
type?: string;
|
|
15
|
+
value?: string;
|
|
16
|
+
variation?: "primary" | "secondary";
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as Accordion } from './Accordion/Accordion';
|
|
2
|
+
import { default as Alert } from './Alert/Alert';
|
|
3
|
+
import { default as Autocomplete } from './Autocomplete/Autocomplete';
|
|
4
|
+
import { default as Badge } from './Badge/Badge';
|
|
5
|
+
import { default as Button } from './Button/Button';
|
|
6
|
+
import { default as ButtonGroup } from './ButtonGroup/ButtonGroup';
|
|
7
|
+
import { default as Card } from './Card/Card';
|
|
8
|
+
import { default as Checkbox } from './Checkbox/Checkbox';
|
|
9
|
+
import { default as Container } from './Container/Container';
|
|
10
|
+
import { default as Dialog } from './Dialog/Dialog';
|
|
11
|
+
import { default as Dots } from './Dots/Dots';
|
|
12
|
+
import { default as Icon } from './Icon/Icon';
|
|
13
|
+
import { default as LoadingBar } from './Loading/LoadingBar';
|
|
14
|
+
import { default as Spinner } from './Loading/Spinner';
|
|
15
|
+
import { default as Popover } from './Popover/Popover';
|
|
16
|
+
import { default as ProgressBar } from './Progress/ProgressBar';
|
|
17
|
+
import { default as Radio } from './Radio/Radio';
|
|
18
|
+
import { default as Select } from './Select/Select';
|
|
19
|
+
import { default as Skeleton } from './Skeleton/Skeleton';
|
|
20
|
+
import { default as Slider } from './Slider/Slider';
|
|
21
|
+
import { default as Stars } from './Stars/Stars';
|
|
22
|
+
import { default as TextArea } from './Text/TextArea';
|
|
23
|
+
import { default as Textbox } from './Text/Textbox';
|
|
24
|
+
|
|
25
|
+
export { Accordion, Alert, Autocomplete, Badge, Button, ButtonGroup, Card, Checkbox, Container, Dialog, Dots, Icon, LoadingBar, Spinner, Popover, ProgressBar, Radio, Select, Skeleton, Slider, Stars, TextArea, Textbox, };
|
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|