dhre-ui-kit 0.0.126 → 0.0.128

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
@@ -1029,6 +1029,7 @@ interface AppointmentCardProps {
1029
1029
  requestId: string;
1030
1030
  location: string;
1031
1031
  onPress: () => void;
1032
+ onHeaderPress: () => void;
1032
1033
  }
1033
1034
 
1034
1035
  declare const _default$1: (props: AppointmentCardProps) => React$1.JSX.Element;
package/lib/index.js CHANGED
@@ -4168,7 +4168,8 @@ const AppointmentCard = ({
4168
4168
  appointmentId,
4169
4169
  requestId,
4170
4170
  location,
4171
- onPress
4171
+ onPress,
4172
+ onHeaderPress
4172
4173
  }) => {
4173
4174
  const { theme } = useTheme();
4174
4175
  return /* @__PURE__ */ React__default["default"].createElement(
@@ -4184,21 +4185,29 @@ const AppointmentCard = ({
4184
4185
  borderBottomColor: theme.BORDER_SEPERATOR_HEADER
4185
4186
  },
4186
4187
  headerStyle: styles$1.accordionHeader,
4187
- headerComponent: () => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$1.accordionHeaderContent }, headerIcon, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$1.accordionText }, /* @__PURE__ */ React__default["default"].createElement(
4188
- CustomTypography,
4189
- {
4190
- text: headerTitle,
4191
- variant: FontStyle.L2_REGULAR,
4192
- style: { color: theme.CONTENT_SECONDRY }
4193
- }
4194
- ), /* @__PURE__ */ React__default["default"].createElement(
4195
- CustomTypography,
4188
+ headerComponent: () => /* @__PURE__ */ React__default["default"].createElement(
4189
+ reactNative.Pressable,
4196
4190
  {
4197
- text: headerSubtitle,
4198
- variant: FontStyle.B3_REGULAR,
4199
- style: { color: theme.CONTENT_PRIMARY }
4200
- }
4201
- ))),
4191
+ style: styles$1.accordionHeaderContent,
4192
+ onPress: onHeaderPress
4193
+ },
4194
+ headerIcon,
4195
+ /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$1.accordionText }, /* @__PURE__ */ React__default["default"].createElement(
4196
+ CustomTypography,
4197
+ {
4198
+ text: headerTitle,
4199
+ variant: FontStyle.L2_REGULAR,
4200
+ style: { color: theme.CONTENT_SECONDRY }
4201
+ }
4202
+ ), /* @__PURE__ */ React__default["default"].createElement(
4203
+ CustomTypography,
4204
+ {
4205
+ text: headerSubtitle,
4206
+ variant: FontStyle.B3_REGULAR,
4207
+ style: { color: theme.CONTENT_PRIMARY }
4208
+ }
4209
+ ))
4210
+ ),
4202
4211
  icon
4203
4212
  },
4204
4213
  /* @__PURE__ */ React__default["default"].createElement(