dhre-ui-kit 0.0.285 → 0.0.286
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 +4 -4
- package/lib/index.js +2 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +2 -4
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ interface CustomTextProps extends TextProps {
|
|
|
18
18
|
style?: StyleProp<TextStyle>;
|
|
19
19
|
textColor?: string;
|
|
20
20
|
}
|
|
21
|
-
declare const _default$
|
|
21
|
+
declare const _default$k: (props: CustomTextProps) => React$1.JSX.Element;
|
|
22
22
|
|
|
23
23
|
interface BadgeProps {
|
|
24
24
|
text?: string;
|
|
@@ -28,7 +28,7 @@ interface BadgeProps {
|
|
|
28
28
|
iconStyle?: ViewStyle;
|
|
29
29
|
handleIconPress: () => void;
|
|
30
30
|
}
|
|
31
|
-
declare const _default$
|
|
31
|
+
declare const _default$j: (props: BadgeProps) => React$1.JSX.Element;
|
|
32
32
|
|
|
33
33
|
interface BottomDrawerProps {
|
|
34
34
|
isModalVisible: boolean;
|
|
@@ -53,7 +53,7 @@ interface BottomDrawerProps {
|
|
|
53
53
|
backdropColor?: string;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
declare const
|
|
56
|
+
declare const BottomDrawer: React$1.FC<BottomDrawerProps>;
|
|
57
57
|
|
|
58
58
|
interface CustomButtonProps {
|
|
59
59
|
title: string;
|
|
@@ -1128,4 +1128,4 @@ interface RadioButtonGroupProps {
|
|
|
1128
1128
|
|
|
1129
1129
|
declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
|
|
1130
1130
|
|
|
1131
|
-
export { _default$g as Accordion, _default$1 as AppointmentCard, _default$
|
|
1131
|
+
export { _default$g as Accordion, _default$1 as AppointmentCard, _default$j as Badge, BottomDrawer, _default$i as Button, Cards, _default$7 as Category, Checkbox as CheckBox, _default$a as ContactModel, CountryDropDown as CountryPicker, _default$4 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$f as CustomHeader, type CustomHeaderProps, CustomIcon, _default$d as CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$k 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, OTPInput, _default$8 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, RadioButtonGroup, ShapeType, _default$5 as SingleSelectionTags, type SlideButtonHandle, Star as StarRating, _default$3 as Stepper, _default$e as SwipableList, _default$h 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 };
|
package/lib/index.js
CHANGED
|
@@ -699,14 +699,13 @@ const BottomDrawer = ({
|
|
|
699
699
|
showBlurView = true,
|
|
700
700
|
backdropColor
|
|
701
701
|
}) => {
|
|
702
|
-
const { theme } = useTheme();
|
|
703
702
|
return /* @__PURE__ */ React__default["default"].createElement(
|
|
704
703
|
Modal__default["default"],
|
|
705
704
|
{
|
|
706
705
|
isVisible: isModalVisible,
|
|
707
706
|
swipeDirection: "down",
|
|
708
707
|
onSwipeComplete: toggleModal,
|
|
709
|
-
backdropColor: backdropColor ?? theme.SURFACE_PRIMARY,
|
|
708
|
+
backdropColor: backdropColor ?? theme.SURFACE_PRIMARY.light,
|
|
710
709
|
hasBackdrop: showBlurView,
|
|
711
710
|
style: { margin: 0 }
|
|
712
711
|
},
|
|
@@ -737,7 +736,6 @@ const BottomDrawer = ({
|
|
|
737
736
|
)
|
|
738
737
|
);
|
|
739
738
|
};
|
|
740
|
-
var BottomDrawer$1 = withThemeProvider(BottomDrawer);
|
|
741
739
|
|
|
742
740
|
const createStyles$3 = (theme) => {
|
|
743
741
|
return reactNative.StyleSheet.create({
|
|
@@ -4960,7 +4958,7 @@ const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle, optionCo
|
|
|
4960
4958
|
exports.Accordion = Accordion$1;
|
|
4961
4959
|
exports.AppointmentCard = index$1;
|
|
4962
4960
|
exports.Badge = Badge$1;
|
|
4963
|
-
exports.BottomDrawer = BottomDrawer
|
|
4961
|
+
exports.BottomDrawer = BottomDrawer;
|
|
4964
4962
|
exports.Button = CustomButton$1;
|
|
4965
4963
|
exports.Cards = Cards;
|
|
4966
4964
|
exports.Category = category;
|