dhre-ui-kit 0.0.133 → 0.0.135
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 +13 -11
- package/lib/index.js +101 -67
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +99 -65
- 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$h: (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$g: (props: BadgeProps) => React$1.JSX.Element;
|
|
31
31
|
|
|
32
32
|
interface BottomDrawerProps {
|
|
33
33
|
isModalVisible: boolean;
|
|
@@ -49,6 +49,7 @@ interface BottomDrawerProps {
|
|
|
49
49
|
titleStyle?: TextStyle;
|
|
50
50
|
titleVariant?: string;
|
|
51
51
|
showHeader?: boolean;
|
|
52
|
+
blurType?: 'dark' | 'light' | 'xlight';
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
declare const BottomDrawer: React$1.FC<BottomDrawerProps>;
|
|
@@ -70,7 +71,7 @@ interface CustomButtonProps {
|
|
|
70
71
|
disableButtonTitleColor?: string;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
|
-
declare const _default$
|
|
74
|
+
declare const _default$f: (props: CustomButtonProps) => React$1.JSX.Element;
|
|
74
75
|
|
|
75
76
|
interface CardsProps {
|
|
76
77
|
topLeftTitle?: string;
|
|
@@ -317,7 +318,7 @@ interface Props {
|
|
|
317
318
|
onSelectionChange?: (selected: string[]) => void;
|
|
318
319
|
style?: ViewStyle;
|
|
319
320
|
}
|
|
320
|
-
declare const _default$
|
|
321
|
+
declare const _default$e: (props: Props) => React$1.JSX.Element;
|
|
321
322
|
|
|
322
323
|
interface TagsProps {
|
|
323
324
|
tags: string[];
|
|
@@ -354,9 +355,10 @@ interface AccordionProps {
|
|
|
354
355
|
disabled?: boolean;
|
|
355
356
|
icon: React$1.ReactElement;
|
|
356
357
|
onHeaderPress?: () => void;
|
|
358
|
+
titleVariant?: string;
|
|
357
359
|
}
|
|
358
360
|
|
|
359
|
-
declare const
|
|
361
|
+
declare const _default$d: (props: AccordionProps) => React$1.JSX.Element;
|
|
360
362
|
|
|
361
363
|
interface ToastProps {
|
|
362
364
|
sucessIcon: React$1.ReactElement;
|
|
@@ -409,7 +411,7 @@ interface CustomHeaderProps {
|
|
|
409
411
|
onRightPress?: () => void;
|
|
410
412
|
}
|
|
411
413
|
|
|
412
|
-
declare const
|
|
414
|
+
declare const _default$c: (props: CustomHeaderProps) => React$1.JSX.Element;
|
|
413
415
|
|
|
414
416
|
interface ListItem {
|
|
415
417
|
id: string;
|
|
@@ -479,7 +481,7 @@ interface CustomLoaderProps {
|
|
|
479
481
|
|
|
480
482
|
declare const CustomLoader: ({ loading }: CustomLoaderProps) => React$1.JSX.Element | null;
|
|
481
483
|
|
|
482
|
-
declare const _default$
|
|
484
|
+
declare const _default$b: (props: {
|
|
483
485
|
style?: ViewStyle;
|
|
484
486
|
}) => React$1.JSX.Element;
|
|
485
487
|
|
|
@@ -493,7 +495,7 @@ interface OurOfficesButtonProps$1 {
|
|
|
493
495
|
time?: string;
|
|
494
496
|
subTitleStyle?: TextStyle;
|
|
495
497
|
}
|
|
496
|
-
declare const _default$
|
|
498
|
+
declare const _default$a: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
|
|
497
499
|
|
|
498
500
|
interface ContactModalProps {
|
|
499
501
|
phoneNumber: string;
|
|
@@ -502,13 +504,13 @@ interface ContactModalProps {
|
|
|
502
504
|
isMailOpen: boolean;
|
|
503
505
|
data: string;
|
|
504
506
|
}
|
|
505
|
-
declare const _default$
|
|
507
|
+
declare const _default$9: (props: ContactModalProps) => React$1.JSX.Element;
|
|
506
508
|
|
|
507
509
|
interface DateRangePickerProps extends CalendarProps {
|
|
508
510
|
onButtonPress: (startDate: string, endDate: string) => void;
|
|
509
511
|
}
|
|
510
512
|
|
|
511
|
-
declare const
|
|
513
|
+
declare const _default$8: (props: DateRangePickerProps) => React$1.JSX.Element;
|
|
512
514
|
|
|
513
515
|
interface OurOfficesButtonProps {
|
|
514
516
|
leftIcon?: ReactElement<SvgProps>;
|
|
@@ -1050,4 +1052,4 @@ interface PropertyDetailsProps {
|
|
|
1050
1052
|
|
|
1051
1053
|
declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
|
|
1052
1054
|
|
|
1053
|
-
export { Accordion, _default$1 as AppointmentCard, _default$
|
|
1055
|
+
export { _default$d as Accordion, _default$1 as AppointmentCard, _default$g as Badge, BottomDrawer, _default$f as Button, Cards, _default$6 as Category, Checkbox as CheckBox, _default$9 as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$c as CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$h as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, _default$8 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, FeedbackForm, FileUpload, FontStyle, _default$b 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$e as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$a as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|
package/lib/index.js
CHANGED
|
@@ -10,6 +10,8 @@ var blur = require('@react-native-community/blur');
|
|
|
10
10
|
var Tooltip = require('rn-tooltip');
|
|
11
11
|
var Pdf = require('react-native-pdf');
|
|
12
12
|
var Progress = require('react-native-progress');
|
|
13
|
+
var ThemeContext$1 = require('src/theme/ThemeContext');
|
|
14
|
+
var withThemeProvider$1 = require('src/theme/withThemeProvider');
|
|
13
15
|
var reactNativeCalendars = require('react-native-calendars');
|
|
14
16
|
var CountryPicker = require('react-native-country-picker-modal');
|
|
15
17
|
var reactNativePaper = require('react-native-paper');
|
|
@@ -668,7 +670,8 @@ const BottomDrawer = ({
|
|
|
668
670
|
onLeftIconPress,
|
|
669
671
|
titleStyle,
|
|
670
672
|
titleVariant = "B2_REGULAR",
|
|
671
|
-
showHeader = true
|
|
673
|
+
showHeader = true,
|
|
674
|
+
blurType = "light"
|
|
672
675
|
}) => {
|
|
673
676
|
const onSwipDown = (event) => {
|
|
674
677
|
const { translationY } = event.nativeEvent;
|
|
@@ -694,7 +697,7 @@ const BottomDrawer = ({
|
|
|
694
697
|
blur.BlurView,
|
|
695
698
|
{
|
|
696
699
|
style: [styles$D.blurView, blurViewStyle],
|
|
697
|
-
blurType
|
|
700
|
+
blurType,
|
|
698
701
|
blurAmount
|
|
699
702
|
}
|
|
700
703
|
) : null, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$D.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$D.separator }), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$D.headerContainer }, showLeftIcon && leftIcon ? React__default["default"].cloneElement(leftIcon, {
|
|
@@ -1890,8 +1893,7 @@ const CustomSwitch = ({
|
|
|
1890
1893
|
const styles$p = reactNative.StyleSheet.create({
|
|
1891
1894
|
container: {
|
|
1892
1895
|
paddingVertical: verticalScale(24),
|
|
1893
|
-
borderBottomWidth: moderateScale(1)
|
|
1894
|
-
borderBottomColor: "#282828"
|
|
1896
|
+
borderBottomWidth: moderateScale(1)
|
|
1895
1897
|
},
|
|
1896
1898
|
header: {
|
|
1897
1899
|
flexDirection: "row",
|
|
@@ -1899,7 +1901,7 @@ const styles$p = reactNative.StyleSheet.create({
|
|
|
1899
1901
|
alignItems: "center",
|
|
1900
1902
|
paddingHorizontal: horizontalScale(24)
|
|
1901
1903
|
},
|
|
1902
|
-
title: { flex: 1
|
|
1904
|
+
title: { flex: 1 },
|
|
1903
1905
|
iconStyle: { marginLeft: horizontalScale(20) },
|
|
1904
1906
|
content: {
|
|
1905
1907
|
overflow: "scroll",
|
|
@@ -1921,11 +1923,13 @@ const Accordion = ({
|
|
|
1921
1923
|
headerComponent,
|
|
1922
1924
|
disabled = false,
|
|
1923
1925
|
icon,
|
|
1924
|
-
onHeaderPress
|
|
1926
|
+
onHeaderPress,
|
|
1927
|
+
titleVariant = "B4_REGULAR"
|
|
1925
1928
|
}) => {
|
|
1926
1929
|
const contentRef = React.useRef(null);
|
|
1927
1930
|
const [animation] = React.useState(new reactNative.Animated.Value(0));
|
|
1928
1931
|
const [contentHeight, setContentHeight] = React.useState(0);
|
|
1932
|
+
const { theme } = ThemeContext$1.useTheme();
|
|
1929
1933
|
React.useEffect(() => {
|
|
1930
1934
|
if (contentRef.current) {
|
|
1931
1935
|
contentRef.current.measure((x, y, width, height) => {
|
|
@@ -1944,28 +1948,46 @@ const Accordion = ({
|
|
|
1944
1948
|
inputRange: [0, 1],
|
|
1945
1949
|
outputRange: [0, contentHeight]
|
|
1946
1950
|
});
|
|
1947
|
-
return /* @__PURE__ */ React__default["default"].createElement(
|
|
1948
|
-
CustomTypography,
|
|
1949
|
-
{
|
|
1950
|
-
variant: "B4_REGULAR",
|
|
1951
|
-
text: title,
|
|
1952
|
-
style: [styles$p.title, titleStyle]
|
|
1953
|
-
}
|
|
1954
|
-
)), /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: !disabled ? onToggle : void 0 }, React__default["default"].cloneElement(icon, {
|
|
1955
|
-
width: moderateScale(20),
|
|
1956
|
-
height: moderateScale(20),
|
|
1957
|
-
style: styles$p.iconStyle
|
|
1958
|
-
}))), optionalElement ? optionalElement() : null, isOpen && /* @__PURE__ */ React__default["default"].createElement(reactNative.Animated.View, { style: [styles$p.content, { height: cardHeight }] }, /* @__PURE__ */ React__default["default"].createElement(
|
|
1951
|
+
return /* @__PURE__ */ React__default["default"].createElement(
|
|
1959
1952
|
reactNative.View,
|
|
1960
1953
|
{
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1954
|
+
style: {
|
|
1955
|
+
...styles$p.container,
|
|
1956
|
+
borderBottomColor: theme.BORDER_SEPRATOR,
|
|
1957
|
+
...containerStyle
|
|
1958
|
+
},
|
|
1959
|
+
testID: testId
|
|
1965
1960
|
},
|
|
1966
|
-
|
|
1967
|
-
|
|
1961
|
+
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$p.header, headerStyle, disabled && { opacity: 0.5 }] }, headerComponent ? headerComponent() : /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: onHeaderPress }, /* @__PURE__ */ React__default["default"].createElement(
|
|
1962
|
+
CustomTypography,
|
|
1963
|
+
{
|
|
1964
|
+
variant: titleVariant,
|
|
1965
|
+
text: title,
|
|
1966
|
+
style: {
|
|
1967
|
+
...styles$p.title,
|
|
1968
|
+
color: theme.CONTENT_PRIMARY,
|
|
1969
|
+
...titleStyle
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
)), /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: !disabled ? onToggle : void 0 }, React__default["default"].cloneElement(icon, {
|
|
1973
|
+
width: moderateScale(20),
|
|
1974
|
+
height: moderateScale(20),
|
|
1975
|
+
style: styles$p.iconStyle
|
|
1976
|
+
}))),
|
|
1977
|
+
optionalElement ? optionalElement() : null,
|
|
1978
|
+
isOpen && /* @__PURE__ */ React__default["default"].createElement(reactNative.Animated.View, { style: [styles$p.content, { height: cardHeight }] }, /* @__PURE__ */ React__default["default"].createElement(
|
|
1979
|
+
reactNative.View,
|
|
1980
|
+
{
|
|
1981
|
+
ref: contentRef,
|
|
1982
|
+
onLayout: (event) => {
|
|
1983
|
+
setContentHeight(event.nativeEvent.layout.height);
|
|
1984
|
+
}
|
|
1985
|
+
},
|
|
1986
|
+
children
|
|
1987
|
+
))
|
|
1988
|
+
);
|
|
1968
1989
|
};
|
|
1990
|
+
var Accordion$1 = withThemeProvider$1.withThemeProvider(Accordion);
|
|
1969
1991
|
|
|
1970
1992
|
const styles$o = reactNative.StyleSheet.create({
|
|
1971
1993
|
container: {
|
|
@@ -2199,17 +2221,12 @@ const styles$m = reactNative.StyleSheet.create({
|
|
|
2199
2221
|
paddingHorizontal: horizontalScale(16),
|
|
2200
2222
|
paddingTop: verticalScale(74),
|
|
2201
2223
|
paddingBottom: verticalScale(16),
|
|
2202
|
-
|
|
2203
|
-
borderBottomWidth: 1,
|
|
2204
|
-
borderBottomColor: "#282828"
|
|
2224
|
+
borderBottomWidth: 1
|
|
2205
2225
|
},
|
|
2206
2226
|
headderContainer: {
|
|
2207
2227
|
flexDirection: "row",
|
|
2208
2228
|
alignItems: "center"
|
|
2209
2229
|
},
|
|
2210
|
-
headerTitle: {
|
|
2211
|
-
color: "#FFFFFF"
|
|
2212
|
-
},
|
|
2213
2230
|
leftIconStyle: { marginRight: horizontalScale(9) },
|
|
2214
2231
|
rightIconStyle: { marginLeft: horizontalScale(8) }
|
|
2215
2232
|
});
|
|
@@ -2224,25 +2241,39 @@ const CustomHeader = ({
|
|
|
2224
2241
|
onLeftPress,
|
|
2225
2242
|
onRightPress
|
|
2226
2243
|
}) => {
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
onPress: onLeftPress,
|
|
2231
|
-
style: styles$m.leftIconStyle
|
|
2232
|
-
}) : null, /* @__PURE__ */ React__default["default"].createElement(
|
|
2233
|
-
CustomTypography,
|
|
2244
|
+
const { theme } = ThemeContext$1.useTheme();
|
|
2245
|
+
return /* @__PURE__ */ React__default["default"].createElement(
|
|
2246
|
+
reactNative.View,
|
|
2234
2247
|
{
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2248
|
+
style: {
|
|
2249
|
+
...styles$m.container,
|
|
2250
|
+
backgroundColor: theme.SURFACE_SECONDARY,
|
|
2251
|
+
borderBottomColor: theme.BORDER_SEPERATOR_HEADER
|
|
2252
|
+
},
|
|
2253
|
+
testID: testId
|
|
2254
|
+
},
|
|
2255
|
+
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$m.headderContainer }, showLeftIcon && leftIcon ? React__default["default"].cloneElement(leftIcon, {
|
|
2256
|
+
width: moderateScale(24),
|
|
2257
|
+
height: moderateScale(24),
|
|
2258
|
+
onPress: onLeftPress,
|
|
2259
|
+
style: styles$m.leftIconStyle
|
|
2260
|
+
}) : null, /* @__PURE__ */ React__default["default"].createElement(
|
|
2261
|
+
CustomTypography,
|
|
2262
|
+
{
|
|
2263
|
+
variant: "B2_REGULAR",
|
|
2264
|
+
text: title,
|
|
2265
|
+
style: { color: theme.CONTENT_PRIMARY }
|
|
2266
|
+
}
|
|
2267
|
+
)),
|
|
2268
|
+
showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
|
|
2269
|
+
width: moderateScale(24),
|
|
2270
|
+
height: moderateScale(24),
|
|
2271
|
+
onPress: onRightPress,
|
|
2272
|
+
style: styles$m.rightIconStyle
|
|
2273
|
+
}) : null
|
|
2274
|
+
);
|
|
2245
2275
|
};
|
|
2276
|
+
var CustomHeader$1 = withThemeProvider$1.withThemeProvider(CustomHeader);
|
|
2246
2277
|
|
|
2247
2278
|
const styles$l = reactNative.StyleSheet.create({
|
|
2248
2279
|
container: {
|
|
@@ -2690,11 +2721,9 @@ const styles$f = reactNative.StyleSheet.create({
|
|
|
2690
2721
|
marginTop: verticalScale(24),
|
|
2691
2722
|
height: verticalScale(48),
|
|
2692
2723
|
alignItems: "center",
|
|
2693
|
-
borderRadius: moderateScale(25)
|
|
2694
|
-
backgroundColor: "#fff"
|
|
2724
|
+
borderRadius: moderateScale(25)
|
|
2695
2725
|
},
|
|
2696
2726
|
applyButtonText: {
|
|
2697
|
-
color: "#000",
|
|
2698
2727
|
...FONT_STYLES.L1_REGULAR
|
|
2699
2728
|
}
|
|
2700
2729
|
});
|
|
@@ -2705,6 +2734,7 @@ const DateRangePicker = (props) => {
|
|
|
2705
2734
|
startDate: "",
|
|
2706
2735
|
endDate: ""
|
|
2707
2736
|
});
|
|
2737
|
+
const { theme } = useTheme();
|
|
2708
2738
|
const onDayPress = (day) => {
|
|
2709
2739
|
const { dateString } = day;
|
|
2710
2740
|
const { startDate, endDate } = selectedRange;
|
|
@@ -2724,15 +2754,15 @@ const DateRangePicker = (props) => {
|
|
|
2724
2754
|
if (startDate) {
|
|
2725
2755
|
markedDates[startDate] = {
|
|
2726
2756
|
startingDay: true,
|
|
2727
|
-
color:
|
|
2728
|
-
textColor:
|
|
2757
|
+
color: theme.SUCCESS,
|
|
2758
|
+
textColor: theme.CONTENT_PRIMARY
|
|
2729
2759
|
};
|
|
2730
2760
|
}
|
|
2731
2761
|
if (endDate) {
|
|
2732
2762
|
markedDates[endDate] = {
|
|
2733
2763
|
endingDay: true,
|
|
2734
|
-
color:
|
|
2735
|
-
textColor:
|
|
2764
|
+
color: theme.SUCCESS,
|
|
2765
|
+
textColor: theme.CONTENT_PRIMARY
|
|
2736
2766
|
};
|
|
2737
2767
|
}
|
|
2738
2768
|
if (startDate && endDate) {
|
|
@@ -2741,8 +2771,8 @@ const DateRangePicker = (props) => {
|
|
|
2741
2771
|
while (start < end) {
|
|
2742
2772
|
start.setDate(start.getDate() + 1);
|
|
2743
2773
|
markedDates[start.toISOString().split("T")[0]] = {
|
|
2744
|
-
color:
|
|
2745
|
-
textColor:
|
|
2774
|
+
color: theme.SUCCESS,
|
|
2775
|
+
textColor: theme.CONTENT_PRIMARY
|
|
2746
2776
|
};
|
|
2747
2777
|
}
|
|
2748
2778
|
}
|
|
@@ -2757,14 +2787,14 @@ const DateRangePicker = (props) => {
|
|
|
2757
2787
|
markingType: "period",
|
|
2758
2788
|
theme: {
|
|
2759
2789
|
calendarBackground: "transparent",
|
|
2760
|
-
arrowColor:
|
|
2761
|
-
monthTextColor:
|
|
2762
|
-
dayTextColor:
|
|
2763
|
-
todayTextColor:
|
|
2790
|
+
arrowColor: theme.CONTENT_PRIMARY,
|
|
2791
|
+
monthTextColor: theme.CONTENT_PRIMARY,
|
|
2792
|
+
dayTextColor: theme.CONTENT_SECONDRY,
|
|
2793
|
+
todayTextColor: theme.SUCCESS
|
|
2764
2794
|
},
|
|
2765
2795
|
style: {
|
|
2766
2796
|
backgroundColor: "transparent",
|
|
2767
|
-
color:
|
|
2797
|
+
color: theme.CONTENT_SECONDRY
|
|
2768
2798
|
},
|
|
2769
2799
|
onDayPress,
|
|
2770
2800
|
...props
|
|
@@ -2776,12 +2806,16 @@ const DateRangePicker = (props) => {
|
|
|
2776
2806
|
onPress: () => {
|
|
2777
2807
|
onButtonPress(selectedRange?.startDate, selectedRange?.endDate);
|
|
2778
2808
|
},
|
|
2779
|
-
containerStyle:
|
|
2780
|
-
|
|
2809
|
+
containerStyle: {
|
|
2810
|
+
...styles$f.applyButton,
|
|
2811
|
+
backgroundColor: theme.SURFACE_INVERTED
|
|
2812
|
+
},
|
|
2813
|
+
textStyle: { color: theme.CONTENT_PRIMARY },
|
|
2781
2814
|
disabled: isButtonDisabled
|
|
2782
2815
|
}
|
|
2783
2816
|
));
|
|
2784
2817
|
};
|
|
2818
|
+
var DateRangePicker$1 = withThemeProvider(DateRangePicker);
|
|
2785
2819
|
|
|
2786
2820
|
const OurOfficesButton = ({
|
|
2787
2821
|
leftIcon,
|
|
@@ -4184,7 +4218,7 @@ const AppointmentCard = ({
|
|
|
4184
4218
|
}) => {
|
|
4185
4219
|
const { theme } = useTheme();
|
|
4186
4220
|
return /* @__PURE__ */ React__default["default"].createElement(
|
|
4187
|
-
Accordion,
|
|
4221
|
+
Accordion$1,
|
|
4188
4222
|
{
|
|
4189
4223
|
title,
|
|
4190
4224
|
isOpen,
|
|
@@ -4376,7 +4410,7 @@ const PropertyDetails = ({
|
|
|
4376
4410
|
};
|
|
4377
4411
|
var index = withThemeProvider(PropertyDetails);
|
|
4378
4412
|
|
|
4379
|
-
exports.Accordion = Accordion;
|
|
4413
|
+
exports.Accordion = Accordion$1;
|
|
4380
4414
|
exports.AppointmentCard = index$1;
|
|
4381
4415
|
exports.Badge = Badge$1;
|
|
4382
4416
|
exports.BottomDrawer = BottomDrawer;
|
|
@@ -4388,7 +4422,7 @@ exports.ContactModel = ContactModel;
|
|
|
4388
4422
|
exports.CountryPicker = CountryDropDown;
|
|
4389
4423
|
exports.CustomDocumentPicker = CustomDocumentPicker$1;
|
|
4390
4424
|
exports.CustomDropdown = CustomDropdown$1;
|
|
4391
|
-
exports.CustomHeader = CustomHeader;
|
|
4425
|
+
exports.CustomHeader = CustomHeader$1;
|
|
4392
4426
|
exports.CustomIcon = CustomIcon;
|
|
4393
4427
|
exports.CustomLoader = CustomLoader;
|
|
4394
4428
|
exports.CustomProgressBar = CustomProgressBar;
|
|
@@ -4405,7 +4439,7 @@ exports.DHRE_COLORS_PRIMARY = DHRE_COLORS_PRIMARY;
|
|
|
4405
4439
|
exports.DHRE_COLORS_SECONDARY = DHRE_COLORS_SECONDARY;
|
|
4406
4440
|
exports.DHRE_COLORS_TEXT = DHRE_COLORS_TEXT;
|
|
4407
4441
|
exports.DHRE_DEFAULT = DHRE_DEFAULT;
|
|
4408
|
-
exports.DateRangePicker = DateRangePicker;
|
|
4442
|
+
exports.DateRangePicker = DateRangePicker$1;
|
|
4409
4443
|
exports.DropDown = CustomDropdown;
|
|
4410
4444
|
exports.FONT_STYLES = FONT_STYLES;
|
|
4411
4445
|
exports.FeedbackForm = FeedbackForm;
|