dhre-ui-kit 0.0.123 → 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 CHANGED
@@ -17,7 +17,7 @@ interface CustomTextProps extends TextProps {
17
17
  style?: StyleProp<TextStyle>;
18
18
  textColor?: string;
19
19
  }
20
- declare const _default$c: (props: CustomTextProps) => React$1.JSX.Element;
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$b: (props: BadgeProps) => React$1.JSX.Element;
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$a: (props: CustomButtonProps) => React$1.JSX.Element;
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$9: (props: Props) => React$1.JSX.Element;
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$8: (props: {
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$7: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
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$6: (props: ContactModalProps) => React$1.JSX.Element;
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$5: (props: OurOfficesButtonProps) => React$1.JSX.Element;
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$4: (props: ScrollableListProps) => React$1.JSX.Element;
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;
@@ -600,15 +601,19 @@ interface CustomDropdownProps {
600
601
  placeholder?: string;
601
602
  containerStyle?: ViewStyle;
602
603
  dropdownStyle?: ViewStyle;
604
+ dropdownFocusStyle?: ViewStyle;
603
605
  placeholderStyle?: TextStyle;
604
606
  selectedTextStyle?: TextStyle;
605
607
  iconStyle?: ImageStyle;
606
608
  labelStyle?: TextStyle;
609
+ labelFocusStyle?: TextStyle;
607
610
  defaultValue?: string;
608
611
  iconColor?: string;
609
612
  itemTextStyle?: TextStyle;
610
613
  onValueChange?: (value: string) => void;
611
614
  itemContainerStyle?: ViewStyle;
615
+ menuContainerStyle?: ViewStyle;
616
+ activeColor?: string;
612
617
  }
613
618
  declare const CustomDropdown: React$1.FC<CustomDropdownProps>;
614
619
 
@@ -661,7 +666,7 @@ interface CustomDocumentPickerProps {
661
666
  deleteIcon: React$1.ReactElement;
662
667
  }
663
668
 
664
- declare const _default$3: (props: CustomDocumentPickerProps) => React$1.JSX.Element;
669
+ declare const _default$5: (props: CustomDocumentPickerProps) => React$1.JSX.Element;
665
670
 
666
671
  interface IProps$1 {
667
672
  length?: number;
@@ -679,7 +684,7 @@ type OTPInputHandle = {
679
684
  reset: () => void;
680
685
  };
681
686
 
682
- declare const _default$2: (props: IProps$1 & React$1.RefAttributes<OTPInputHandle>) => React$1.JSX.Element;
687
+ declare const _default$4: (props: IProps$1 & React$1.RefAttributes<OTPInputHandle>) => React$1.JSX.Element;
683
688
 
684
689
  type StatusType = 'Active' | 'Inactive' | 'Completed' | 'Rejected' | 'Count';
685
690
  interface IData {
@@ -695,15 +700,16 @@ interface IProps {
695
700
  completedStatusIcon?: React$1.ReactElement;
696
701
  }
697
702
 
698
- declare const _default$1: (props: IProps) => React$1.JSX.Element;
703
+ declare const _default$3: (props: IProps) => React$1.JSX.Element;
699
704
 
700
705
  interface CustomSlideButtonProps {
701
706
  label?: string;
702
707
  onComplete?: () => void;
703
708
  icon: React$1.ReactElement;
709
+ size?: number;
704
710
  }
705
711
 
706
- declare const _default: (props: CustomSlideButtonProps) => React$1.JSX.Element;
712
+ declare const _default$2: (props: CustomSlideButtonProps) => React$1.JSX.Element;
707
713
 
708
714
  declare const width: number;
709
715
  declare const height: number;
@@ -1011,4 +1017,33 @@ declare const DHRE_COLORS_TEXT: {
1011
1017
  DH_LIGHTGREEN: string;
1012
1018
  };
1013
1019
 
1014
- export { Accordion, _default$b as Badge, BottomDrawer, _default$a as Button, Cards, _default$4 as Category, Checkbox as CheckBox, _default$6 as ContactModel, CountryDropDown as CountryPicker, _default$3 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default as CustomSlideButton, CustomSwitchBtn, _default$c 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$8 as Line, NotificationBandge, _default$2 as OTPInput, _default$5 as OurOfficesButton, PdfView, PopUp, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, _default$1 as Stepper, SwipableList, _default$9 as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$7 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
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 };