dhre-ui-kit 0.0.130 → 0.0.132

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 CHANGED
@@ -17,7 +17,7 @@ interface CustomTextProps extends TextProps {
17
17
  style?: StyleProp<TextStyle>;
18
18
  textColor?: string;
19
19
  }
20
- declare const _default$d: (props: CustomTextProps) => React$1.JSX.Element;
20
+ declare const _default$e: (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$c: (props: BadgeProps) => React$1.JSX.Element;
30
+ declare const _default$d: (props: BadgeProps) => React$1.JSX.Element;
31
31
 
32
32
  interface BottomDrawerProps {
33
33
  isModalVisible: boolean;
@@ -70,7 +70,7 @@ interface CustomButtonProps {
70
70
  disableButtonTitleColor?: string;
71
71
  }
72
72
 
73
- declare const _default$b: (props: CustomButtonProps) => React$1.JSX.Element;
73
+ declare const _default$c: (props: CustomButtonProps) => React$1.JSX.Element;
74
74
 
75
75
  interface CardsProps {
76
76
  topLeftTitle?: string;
@@ -317,7 +317,7 @@ interface Props {
317
317
  onSelectionChange?: (selected: string[]) => void;
318
318
  style?: ViewStyle;
319
319
  }
320
- declare const _default$a: (props: Props) => React$1.JSX.Element;
320
+ declare const _default$b: (props: Props) => React$1.JSX.Element;
321
321
 
322
322
  interface TagsProps {
323
323
  tags: string[];
@@ -479,20 +479,21 @@ interface CustomLoaderProps {
479
479
 
480
480
  declare const CustomLoader: ({ loading }: CustomLoaderProps) => React$1.JSX.Element | null;
481
481
 
482
- declare const _default$9: (props: {
482
+ declare const _default$a: (props: {
483
483
  style?: ViewStyle;
484
484
  }) => React$1.JSX.Element;
485
485
 
486
486
  interface OurOfficesButtonProps$1 {
487
487
  rightIcon?: ReactElement<SvgProps>;
488
488
  onPress: () => void;
489
- statusImage?: ReactElement<SvgProps>;
489
+ statusImage?: ReactElement<SvgProps> | null;
490
490
  title: string;
491
491
  subTitle?: string;
492
492
  containterStyle?: ViewStyle;
493
493
  time?: string;
494
+ subTitleStyle: TextStyle;
494
495
  }
495
- declare const Topic: ({ rightIcon, statusImage, time, onPress, title, subTitle, containterStyle, }: OurOfficesButtonProps$1) => React$1.JSX.Element;
496
+ declare const _default$9: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
496
497
 
497
498
  interface ContactModalProps {
498
499
  phoneNumber: string;
@@ -1049,4 +1050,4 @@ interface PropertyDetailsProps {
1049
1050
 
1050
1051
  declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
1051
1052
 
1052
- export { Accordion, _default$1 as AppointmentCard, _default$c as Badge, BottomDrawer, _default$b as Button, Cards, _default$6 as Category, Checkbox as CheckBox, _default$8 as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$d 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, _default$9 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$a as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
1053
+ export { Accordion, _default$1 as AppointmentCard, _default$d as Badge, BottomDrawer, _default$c as Button, Cards, _default$6 as Category, Checkbox as CheckBox, _default$8 as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$e 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, _default$a 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$b as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$9 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
package/lib/index.js CHANGED
@@ -2456,7 +2456,8 @@ const Topic = ({
2456
2456
  onPress,
2457
2457
  title,
2458
2458
  subTitle,
2459
- containterStyle
2459
+ containterStyle,
2460
+ subTitleStyle
2460
2461
  }) => {
2461
2462
  const { theme } = useTheme();
2462
2463
  return /* @__PURE__ */ React__default["default"].createElement(
@@ -2474,7 +2475,7 @@ const Topic = ({
2474
2475
  /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$h.textContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$h.paymentView }, statusImage && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, null, React__default["default"].cloneElement(statusImage)), subTitle && /* @__PURE__ */ React__default["default"].createElement(
2475
2476
  CustomText$1,
2476
2477
  {
2477
- style: styles$h.subTitle,
2478
+ style: [styles$h.subTitle, subTitleStyle],
2478
2479
  text: subTitle,
2479
2480
  variant: FontStyle.L2_REGULAR,
2480
2481
  textColor: Theme.CONTENT_PRIMARY
@@ -2532,6 +2533,7 @@ const styles$h = reactNative.StyleSheet.create({
2532
2533
  alignItems: "center"
2533
2534
  }
2534
2535
  });
2536
+ var Topic$1 = withThemeProvider(Topic);
2535
2537
 
2536
2538
  const ContactModal = ({
2537
2539
  phoneNumber,
@@ -4437,7 +4439,7 @@ exports.Toast = Toast;
4437
4439
  exports.ToggleButton = CustomSwitch;
4438
4440
  exports.ToggleButtonType = ToggleButtonType;
4439
4441
  exports.ToggleTextType = ToggleTextType;
4440
- exports.Topic = Topic;
4442
+ exports.Topic = Topic$1;
4441
4443
  exports.copyToClipboard = copyToClipboard;
4442
4444
  exports["default"] = theme;
4443
4445
  exports.height = height;