dhre-ui-kit 0.0.128 → 0.0.130
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 +10 -8
- package/lib/index.js +28 -12
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +28 -12
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -2418,6 +2418,8 @@ var Line = withThemeProvider(HorizontalLine);
|
|
|
2418
2418
|
|
|
2419
2419
|
const Topic = ({
|
|
2420
2420
|
rightIcon,
|
|
2421
|
+
statusImage,
|
|
2422
|
+
time,
|
|
2421
2423
|
onPress,
|
|
2422
2424
|
title,
|
|
2423
2425
|
subTitle,
|
|
@@ -2429,25 +2431,27 @@ const Topic = ({
|
|
|
2429
2431
|
{
|
|
2430
2432
|
style: [
|
|
2431
2433
|
styles$h.button,
|
|
2432
|
-
{ backgroundColor: theme[
|
|
2434
|
+
{ backgroundColor: theme[Theme.SURFACE_SECONDARY] },
|
|
2433
2435
|
containterStyle
|
|
2434
2436
|
],
|
|
2435
2437
|
onPress
|
|
2436
2438
|
},
|
|
2437
2439
|
rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$h.rightIconContainer }, React.cloneElement(rightIcon)),
|
|
2438
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$h.
|
|
2440
|
+
/* @__PURE__ */ React.createElement(View, { style: styles$h.timeContainer }, time && /* @__PURE__ */ React.createElement(CustomText$1, { text: time, variant: FontStyle.L2_REGULAR })),
|
|
2441
|
+
/* @__PURE__ */ React.createElement(View, { style: styles$h.textContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$h.paymentView }, statusImage && /* @__PURE__ */ React.createElement(View, null, React.cloneElement(statusImage)), subTitle && /* @__PURE__ */ React.createElement(
|
|
2439
2442
|
CustomText$1,
|
|
2440
2443
|
{
|
|
2444
|
+
style: styles$h.subTitle,
|
|
2441
2445
|
text: subTitle,
|
|
2442
|
-
variant:
|
|
2443
|
-
textColor:
|
|
2446
|
+
variant: FontStyle.L2_REGULAR,
|
|
2447
|
+
textColor: Theme.CONTENT_PRIMARY
|
|
2444
2448
|
}
|
|
2445
|
-
), /* @__PURE__ */ React.createElement(
|
|
2449
|
+
)), /* @__PURE__ */ React.createElement(
|
|
2446
2450
|
CustomText$1,
|
|
2447
2451
|
{
|
|
2448
2452
|
text: title,
|
|
2449
|
-
variant:
|
|
2450
|
-
textColor:
|
|
2453
|
+
variant: FontStyle.B3_REGULAR,
|
|
2454
|
+
textColor: Theme.CONTENT_PRIMARY
|
|
2451
2455
|
}
|
|
2452
2456
|
))
|
|
2453
2457
|
);
|
|
@@ -2460,7 +2464,8 @@ const styles$h = StyleSheet.create({
|
|
|
2460
2464
|
width: 158,
|
|
2461
2465
|
borderRadius: 10,
|
|
2462
2466
|
marginLeft: 12,
|
|
2463
|
-
marginVertical: 14
|
|
2467
|
+
marginVertical: 14,
|
|
2468
|
+
position: "relative"
|
|
2464
2469
|
},
|
|
2465
2470
|
iconContainer: {
|
|
2466
2471
|
marginHorizontal: 16
|
|
@@ -2473,16 +2478,27 @@ const styles$h = StyleSheet.create({
|
|
|
2473
2478
|
marginHorizontal: 8,
|
|
2474
2479
|
marginTop: 20
|
|
2475
2480
|
},
|
|
2481
|
+
timeContainer: {
|
|
2482
|
+
position: "absolute",
|
|
2483
|
+
right: 16,
|
|
2484
|
+
top: 16
|
|
2485
|
+
},
|
|
2476
2486
|
titleText: {
|
|
2477
2487
|
marginBottom: 4
|
|
2478
2488
|
},
|
|
2479
2489
|
rightIconContainer: {
|
|
2480
2490
|
position: "absolute",
|
|
2481
|
-
left:
|
|
2491
|
+
left: 10,
|
|
2482
2492
|
top: 10
|
|
2493
|
+
},
|
|
2494
|
+
subTitle: {
|
|
2495
|
+
marginLeft: 8
|
|
2496
|
+
},
|
|
2497
|
+
paymentView: {
|
|
2498
|
+
flexDirection: "row",
|
|
2499
|
+
alignItems: "center"
|
|
2483
2500
|
}
|
|
2484
2501
|
});
|
|
2485
|
-
var Topic$1 = withThemeProvider(Topic);
|
|
2486
2502
|
|
|
2487
2503
|
const ContactModal = ({
|
|
2488
2504
|
phoneNumber,
|
|
@@ -4195,7 +4211,7 @@ const AppointmentCard = ({
|
|
|
4195
4211
|
), /* @__PURE__ */ React.createElement(
|
|
4196
4212
|
CustomTypography,
|
|
4197
4213
|
{
|
|
4198
|
-
text: appointmentId,
|
|
4214
|
+
text: appointmentId?.toString(),
|
|
4199
4215
|
variant: FontStyle.L1_REGULAR,
|
|
4200
4216
|
style: { color: theme.CONTENT_PRIMARY }
|
|
4201
4217
|
}
|
|
@@ -4332,5 +4348,5 @@ const PropertyDetails = ({
|
|
|
4332
4348
|
};
|
|
4333
4349
|
var index = withThemeProvider(PropertyDetails);
|
|
4334
4350
|
|
|
4335
|
-
export { 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, 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, CustomDropdown as DropDown, FONT_STYLES, 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
|
|
4351
|
+
export { 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, 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, CustomDropdown as DropDown, FONT_STYLES, 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, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|
|
4336
4352
|
//# sourceMappingURL=index.mjs.map
|