dhre-ui-kit 0.0.124 → 0.0.125
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/lib/index.d.ts +46 -15
- package/lib/index.js +486 -242
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +482 -240
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface CustomTextProps extends TextProps {
|
|
|
17
17
|
style?: StyleProp<TextStyle>;
|
|
18
18
|
textColor?: string;
|
|
19
19
|
}
|
|
20
|
-
declare const _default$
|
|
20
|
+
declare const _default$e: (props: CustomTextProps) => React$1.JSX.Element;
|
|
21
21
|
|
|
22
22
|
interface BadgeProps {
|
|
23
23
|
text?: string;
|
|
@@ -27,7 +27,7 @@ interface BadgeProps {
|
|
|
27
27
|
iconStyle?: ViewStyle;
|
|
28
28
|
handleIconPress: () => void;
|
|
29
29
|
}
|
|
30
|
-
declare const _default$
|
|
30
|
+
declare const _default$d: (props: BadgeProps) => React$1.JSX.Element;
|
|
31
31
|
|
|
32
32
|
interface BottomDrawerProps {
|
|
33
33
|
isModalVisible: boolean;
|
|
@@ -70,7 +70,7 @@ interface CustomButtonProps {
|
|
|
70
70
|
disableButtonTitleColor?: string;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
declare const _default$
|
|
73
|
+
declare const _default$c: (props: CustomButtonProps) => React$1.JSX.Element;
|
|
74
74
|
|
|
75
75
|
interface CardsProps {
|
|
76
76
|
topLeftTitle?: string;
|
|
@@ -317,7 +317,7 @@ interface Props {
|
|
|
317
317
|
onSelectionChange?: (selected: string[]) => void;
|
|
318
318
|
style?: ViewStyle;
|
|
319
319
|
}
|
|
320
|
-
declare const _default$
|
|
320
|
+
declare const _default$b: (props: Props) => React$1.JSX.Element;
|
|
321
321
|
|
|
322
322
|
interface TagsProps {
|
|
323
323
|
tags: string[];
|
|
@@ -353,9 +353,10 @@ interface AccordionProps {
|
|
|
353
353
|
headerComponent?: () => React$1.ReactNode;
|
|
354
354
|
disabled?: boolean;
|
|
355
355
|
icon: React$1.ReactElement;
|
|
356
|
+
onHeaderPress?: () => void;
|
|
356
357
|
}
|
|
357
358
|
|
|
358
|
-
declare const Accordion: ({ title, testId, containerStyle, titleStyle, headerStyle, children, isOpen, onToggle, optionalElement, headerComponent, disabled, icon, }: AccordionProps) => React$1.JSX.Element;
|
|
359
|
+
declare const Accordion: ({ title, testId, containerStyle, titleStyle, headerStyle, children, isOpen, onToggle, optionalElement, headerComponent, disabled, icon, onHeaderPress, }: AccordionProps) => React$1.JSX.Element;
|
|
359
360
|
|
|
360
361
|
interface ToastProps {
|
|
361
362
|
sucessIcon: React$1.ReactElement;
|
|
@@ -478,7 +479,7 @@ interface CustomLoaderProps {
|
|
|
478
479
|
|
|
479
480
|
declare const CustomLoader: ({ loading }: CustomLoaderProps) => React$1.JSX.Element | null;
|
|
480
481
|
|
|
481
|
-
declare const _default$
|
|
482
|
+
declare const _default$a: (props: {
|
|
482
483
|
style?: ViewStyle;
|
|
483
484
|
}) => React$1.JSX.Element;
|
|
484
485
|
|
|
@@ -489,7 +490,7 @@ interface OurOfficesButtonProps$1 {
|
|
|
489
490
|
subTitle?: string;
|
|
490
491
|
containterStyle?: ViewStyle;
|
|
491
492
|
}
|
|
492
|
-
declare const _default$
|
|
493
|
+
declare const _default$9: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
|
|
493
494
|
|
|
494
495
|
interface ContactModalProps {
|
|
495
496
|
phoneNumber: string;
|
|
@@ -498,7 +499,7 @@ interface ContactModalProps {
|
|
|
498
499
|
isMailOpen: boolean;
|
|
499
500
|
data: string;
|
|
500
501
|
}
|
|
501
|
-
declare const _default$
|
|
502
|
+
declare const _default$8: (props: ContactModalProps) => React$1.JSX.Element;
|
|
502
503
|
|
|
503
504
|
interface DateRangePickerProps extends CalendarProps {
|
|
504
505
|
onButtonPress: (startDate: string, endDate: string) => void;
|
|
@@ -518,7 +519,7 @@ interface OurOfficesButtonProps {
|
|
|
518
519
|
titleColor?: string;
|
|
519
520
|
descriptionColor?: string;
|
|
520
521
|
}
|
|
521
|
-
declare const _default$
|
|
522
|
+
declare const _default$7: (props: OurOfficesButtonProps) => React$1.JSX.Element;
|
|
522
523
|
|
|
523
524
|
interface NotificationBandgeProps {
|
|
524
525
|
notificationCount?: number;
|
|
@@ -542,7 +543,7 @@ interface ScrollableListProps {
|
|
|
542
543
|
defaultItemTextColor?: string;
|
|
543
544
|
activeTab?: string;
|
|
544
545
|
}
|
|
545
|
-
declare const _default$
|
|
546
|
+
declare const _default$6: (props: ScrollableListProps) => React$1.JSX.Element;
|
|
546
547
|
|
|
547
548
|
declare const FeedbackForm: ({ title, clearAllData, handleSendFeedback, feedback, setFeedback, }: {
|
|
548
549
|
title: string;
|
|
@@ -665,7 +666,7 @@ interface CustomDocumentPickerProps {
|
|
|
665
666
|
deleteIcon: React$1.ReactElement;
|
|
666
667
|
}
|
|
667
668
|
|
|
668
|
-
declare const _default$
|
|
669
|
+
declare const _default$5: (props: CustomDocumentPickerProps) => React$1.JSX.Element;
|
|
669
670
|
|
|
670
671
|
interface IProps$1 {
|
|
671
672
|
length?: number;
|
|
@@ -683,7 +684,7 @@ type OTPInputHandle = {
|
|
|
683
684
|
reset: () => void;
|
|
684
685
|
};
|
|
685
686
|
|
|
686
|
-
declare const _default$
|
|
687
|
+
declare const _default$4: (props: IProps$1 & React$1.RefAttributes<OTPInputHandle>) => React$1.JSX.Element;
|
|
687
688
|
|
|
688
689
|
type StatusType = 'Active' | 'Inactive' | 'Completed' | 'Rejected' | 'Count';
|
|
689
690
|
interface IData {
|
|
@@ -699,15 +700,16 @@ interface IProps {
|
|
|
699
700
|
completedStatusIcon?: React$1.ReactElement;
|
|
700
701
|
}
|
|
701
702
|
|
|
702
|
-
declare const _default$
|
|
703
|
+
declare const _default$3: (props: IProps) => React$1.JSX.Element;
|
|
703
704
|
|
|
704
705
|
interface CustomSlideButtonProps {
|
|
705
706
|
label?: string;
|
|
706
707
|
onComplete?: () => void;
|
|
707
708
|
icon: React$1.ReactElement;
|
|
709
|
+
size?: number;
|
|
708
710
|
}
|
|
709
711
|
|
|
710
|
-
declare const _default: (props: CustomSlideButtonProps) => React$1.JSX.Element;
|
|
712
|
+
declare const _default$2: (props: CustomSlideButtonProps) => React$1.JSX.Element;
|
|
711
713
|
|
|
712
714
|
declare const width: number;
|
|
713
715
|
declare const height: number;
|
|
@@ -1015,4 +1017,33 @@ declare const DHRE_COLORS_TEXT: {
|
|
|
1015
1017
|
DH_LIGHTGREEN: string;
|
|
1016
1018
|
};
|
|
1017
1019
|
|
|
1018
|
-
|
|
1020
|
+
interface AppointmentCardProps {
|
|
1021
|
+
isOpen: boolean;
|
|
1022
|
+
onToggle: () => void;
|
|
1023
|
+
icon: React$1.ReactElement;
|
|
1024
|
+
headerIcon: React$1.ReactElement;
|
|
1025
|
+
title: string;
|
|
1026
|
+
headerTitle: string;
|
|
1027
|
+
headerSubtitle: string;
|
|
1028
|
+
appointmentId: string;
|
|
1029
|
+
requestId: string;
|
|
1030
|
+
location: string;
|
|
1031
|
+
onPress: () => void;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
declare const _default$1: (props: AppointmentCardProps) => React$1.JSX.Element;
|
|
1035
|
+
|
|
1036
|
+
interface PropertyDetailsProps {
|
|
1037
|
+
icon: React.ReactElement;
|
|
1038
|
+
brandIcon: React.ReactElement;
|
|
1039
|
+
title: string;
|
|
1040
|
+
subTitle: string;
|
|
1041
|
+
propertyNumber: string;
|
|
1042
|
+
hintIcon: React.ReactElement;
|
|
1043
|
+
btnIcon: React.ReactElement;
|
|
1044
|
+
onRightIconPress: () => void;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
|
|
1048
|
+
|
|
1049
|
+
export { Accordion, _default$1 as AppointmentCard, _default$d as Badge, BottomDrawer, _default$c as Button, Cards, _default$6 as Category, Checkbox as CheckBox, _default$8 as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$e as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, FeedbackForm, FileUpload, FontStyle, _default$a as Line, NotificationBandge, _default$4 as OTPInput, _default$7 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, _default$3 as Stepper, SwipableList, _default$b as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$9 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|