dhre-ui-kit 0.0.142 → 0.0.143
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 +8 -8
- package/lib/index.js +15 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +15 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -2269,7 +2269,8 @@ const styles$k = StyleSheet.create({
|
|
|
2269
2269
|
},
|
|
2270
2270
|
actionBtn: {
|
|
2271
2271
|
flexDirection: "row"
|
|
2272
|
-
}
|
|
2272
|
+
},
|
|
2273
|
+
seperator: { height: 1 }
|
|
2273
2274
|
});
|
|
2274
2275
|
|
|
2275
2276
|
const SwipableList = (props) => {
|
|
@@ -2294,6 +2295,7 @@ const SwipableList = (props) => {
|
|
|
2294
2295
|
rightPrimaryActionStyle,
|
|
2295
2296
|
titleStyle
|
|
2296
2297
|
} = props;
|
|
2298
|
+
const { theme } = useTheme();
|
|
2297
2299
|
const ActionButton = ({
|
|
2298
2300
|
icon,
|
|
2299
2301
|
title,
|
|
@@ -2365,10 +2367,20 @@ const SwipableList = (props) => {
|
|
|
2365
2367
|
{
|
|
2366
2368
|
data,
|
|
2367
2369
|
renderItem,
|
|
2368
|
-
keyExtractor: (item) => item.id
|
|
2370
|
+
keyExtractor: (item) => item.id,
|
|
2371
|
+
ItemSeparatorComponent: () => /* @__PURE__ */ React.createElement(
|
|
2372
|
+
View,
|
|
2373
|
+
{
|
|
2374
|
+
style: {
|
|
2375
|
+
...styles$k.seperator,
|
|
2376
|
+
backgroundColor: theme.BORDER_SEPRATOR
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
)
|
|
2369
2380
|
}
|
|
2370
2381
|
));
|
|
2371
2382
|
};
|
|
2383
|
+
var SwipableList$1 = withThemeProvider(SwipableList);
|
|
2372
2384
|
|
|
2373
2385
|
const styles$j = StyleSheet.create({
|
|
2374
2386
|
container: {
|
|
@@ -4398,5 +4410,5 @@ const PropertyDetails = ({
|
|
|
4398
4410
|
};
|
|
4399
4411
|
var index = withThemeProvider(PropertyDetails);
|
|
4400
4412
|
|
|
4401
|
-
export { Accordion$1 as Accordion, index$1 as AppointmentCard, Badge$1 as Badge, BottomDrawer, CustomButton$1 as Button, Cards, category as Category, Checkbox as CheckBox, ContactModel, CountryDropDown as CountryPicker, CustomDocumentPicker$1 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader$1 as CustomHeader, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, index$2 as CustomSlideButton, CustomSwitchBtn, CustomText$1 as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, DateRangePicker$1 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, feedback as FeedbackForm, FileUpload, FontStyle, Line, NotificationBandge, index$4 as OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, index as PropertyDetails, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, index$3 as Stepper, SwipableList, Tabs$1 as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, Topic$1 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|
|
4413
|
+
export { Accordion$1 as Accordion, index$1 as AppointmentCard, Badge$1 as Badge, BottomDrawer, CustomButton$1 as Button, Cards, category as Category, Checkbox as CheckBox, ContactModel, CountryDropDown as CountryPicker, CustomDocumentPicker$1 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader$1 as CustomHeader, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, index$2 as CustomSlideButton, CustomSwitchBtn, CustomText$1 as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, DateRangePicker$1 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, feedback as FeedbackForm, FileUpload, FontStyle, Line, NotificationBandge, index$4 as OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, index as PropertyDetails, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, index$3 as Stepper, SwipableList$1 as SwipableList, Tabs$1 as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, Topic$1 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|
|
4402
4414
|
//# sourceMappingURL=index.mjs.map
|