dhre-ui-kit 0.0.137 → 0.0.138
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 +22 -16
- package/lib/index.js +243 -222
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +243 -222
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React$1, { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { TextStyle, TextProps, StyleProp, ViewStyle, TextInputProps, ImageStyle } from 'react-native';
|
|
2
|
+
import { TextStyle, TextProps, StyleProp, ViewStyle, TextInputProps, ImageStyle, GestureResponderEvent } from 'react-native';
|
|
3
3
|
import { SvgProps } from 'react-native-svg';
|
|
4
4
|
import { PdfProps } from 'react-native-pdf';
|
|
5
5
|
import { CalendarProps } from 'react-native-calendars';
|
|
@@ -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$i: (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$h: (props: BadgeProps) => React$1.JSX.Element;
|
|
31
31
|
|
|
32
32
|
interface BottomDrawerProps {
|
|
33
33
|
isModalVisible: boolean;
|
|
@@ -71,7 +71,7 @@ interface CustomButtonProps {
|
|
|
71
71
|
disableButtonTitleColor?: string;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
declare const _default$
|
|
74
|
+
declare const _default$g: (props: CustomButtonProps) => React$1.JSX.Element;
|
|
75
75
|
|
|
76
76
|
interface CardsProps {
|
|
77
77
|
topLeftTitle?: string;
|
|
@@ -318,7 +318,7 @@ interface Props {
|
|
|
318
318
|
onSelectionChange?: (selected: string[]) => void;
|
|
319
319
|
style?: ViewStyle;
|
|
320
320
|
}
|
|
321
|
-
declare const _default$
|
|
321
|
+
declare const _default$f: (props: Props) => React$1.JSX.Element;
|
|
322
322
|
|
|
323
323
|
interface TagsProps {
|
|
324
324
|
tags: string[];
|
|
@@ -358,7 +358,7 @@ interface AccordionProps {
|
|
|
358
358
|
titleVariant?: string;
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
declare const _default$
|
|
361
|
+
declare const _default$e: (props: AccordionProps) => React$1.JSX.Element;
|
|
362
362
|
|
|
363
363
|
interface ToastProps {
|
|
364
364
|
sucessIcon: React$1.ReactElement;
|
|
@@ -396,9 +396,11 @@ interface CustomSearchBarProps extends TextInputProps {
|
|
|
396
396
|
borderColor?: string;
|
|
397
397
|
setValue: (val: string) => void;
|
|
398
398
|
value: string | undefined;
|
|
399
|
+
handlePress?: (event: GestureResponderEvent) => void;
|
|
400
|
+
pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto' | undefined;
|
|
399
401
|
}
|
|
400
402
|
|
|
401
|
-
declare const CustomSearchBar: ({ value, height, disabled, testID, inputContainerStyle, searchIconStyle, crossIconStyle, inputStyle, onSearchIconPress, onCrossIconPress, handleOnChangeText, setValue, searchIcon, rightIcon, disableBorderColor, borderColor, disablePlaceHolderStyle, enablePlaceHolderStyle, ...props }: CustomSearchBarProps) => React$1.JSX.Element;
|
|
403
|
+
declare const CustomSearchBar: ({ value, height, disabled, testID, inputContainerStyle, searchIconStyle, crossIconStyle, inputStyle, onSearchIconPress, onCrossIconPress, handleOnChangeText, setValue, searchIcon, rightIcon, disableBorderColor, borderColor, disablePlaceHolderStyle, enablePlaceHolderStyle, handlePress, pointerEvents, ...props }: CustomSearchBarProps) => React$1.JSX.Element;
|
|
402
404
|
|
|
403
405
|
interface CustomHeaderProps {
|
|
404
406
|
title: string;
|
|
@@ -411,7 +413,7 @@ interface CustomHeaderProps {
|
|
|
411
413
|
onRightPress?: () => void;
|
|
412
414
|
}
|
|
413
415
|
|
|
414
|
-
declare const _default$
|
|
416
|
+
declare const _default$d: (props: CustomHeaderProps) => React$1.JSX.Element;
|
|
415
417
|
|
|
416
418
|
interface ListItem {
|
|
417
419
|
id: string;
|
|
@@ -481,7 +483,8 @@ interface CustomLoaderProps {
|
|
|
481
483
|
|
|
482
484
|
declare const CustomLoader: ({ loading }: CustomLoaderProps) => React$1.JSX.Element | null;
|
|
483
485
|
|
|
484
|
-
declare const _default$
|
|
486
|
+
declare const _default$c: (props: {
|
|
487
|
+
backgroundColor?: string;
|
|
485
488
|
style?: ViewStyle;
|
|
486
489
|
}) => React$1.JSX.Element;
|
|
487
490
|
|
|
@@ -495,7 +498,7 @@ interface OurOfficesButtonProps$1 {
|
|
|
495
498
|
time?: string;
|
|
496
499
|
subTitleStyle?: TextStyle;
|
|
497
500
|
}
|
|
498
|
-
declare const _default$
|
|
501
|
+
declare const _default$b: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
|
|
499
502
|
|
|
500
503
|
interface ContactModalProps {
|
|
501
504
|
phoneNumber: string;
|
|
@@ -504,14 +507,14 @@ interface ContactModalProps {
|
|
|
504
507
|
isMailOpen: boolean;
|
|
505
508
|
data: string;
|
|
506
509
|
}
|
|
507
|
-
declare const _default$
|
|
510
|
+
declare const _default$a: (props: ContactModalProps) => React$1.JSX.Element;
|
|
508
511
|
|
|
509
512
|
interface DateRangePickerProps extends CalendarProps {
|
|
510
513
|
onButtonPress: (startDate: string, endDate: string) => void;
|
|
511
514
|
btnTitle?: string;
|
|
512
515
|
}
|
|
513
516
|
|
|
514
|
-
declare const _default$
|
|
517
|
+
declare const _default$9: (props: DateRangePickerProps) => React$1.JSX.Element;
|
|
515
518
|
|
|
516
519
|
interface OurOfficesButtonProps {
|
|
517
520
|
leftIcon?: ReactElement<SvgProps>;
|
|
@@ -525,7 +528,7 @@ interface OurOfficesButtonProps {
|
|
|
525
528
|
titleColor?: string;
|
|
526
529
|
descriptionColor?: string;
|
|
527
530
|
}
|
|
528
|
-
declare const _default$
|
|
531
|
+
declare const _default$8: (props: OurOfficesButtonProps) => React$1.JSX.Element;
|
|
529
532
|
|
|
530
533
|
interface NotificationBandgeProps {
|
|
531
534
|
notificationCount?: number;
|
|
@@ -549,11 +552,14 @@ interface ScrollableListProps {
|
|
|
549
552
|
defaultItemTextColor?: string;
|
|
550
553
|
activeTab?: string;
|
|
551
554
|
}
|
|
552
|
-
declare const _default$
|
|
555
|
+
declare const _default$7: (props: ScrollableListProps) => React$1.JSX.Element;
|
|
553
556
|
|
|
554
|
-
declare const
|
|
557
|
+
declare const _default$6: (props: {
|
|
555
558
|
title: string;
|
|
556
559
|
feedback: string;
|
|
560
|
+
inputText: string;
|
|
561
|
+
rightBtnTxt: string;
|
|
562
|
+
leftBtnTxt: string;
|
|
557
563
|
clearAllData?: () => void;
|
|
558
564
|
handleSendFeedback?: () => void;
|
|
559
565
|
setFeedback: (val: string) => void;
|
|
@@ -1053,4 +1059,4 @@ interface PropertyDetailsProps {
|
|
|
1053
1059
|
|
|
1054
1060
|
declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
|
|
1055
1061
|
|
|
1056
|
-
export { _default$
|
|
1062
|
+
export { _default$e as Accordion, _default$1 as AppointmentCard, _default$h as Badge, BottomDrawer, _default$g as Button, Cards, _default$7 as Category, Checkbox as CheckBox, _default$a as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$d as CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$i as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, _default$9 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, _default$6 as FeedbackForm, FileUpload, FontStyle, _default$c as Line, NotificationBandge, _default$4 as OTPInput, _default$8 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, _default$3 as Stepper, SwipableList, _default$f as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$b as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|