dhre-ui-kit 0.0.127 → 0.0.129

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.mjs CHANGED
@@ -4145,7 +4145,6 @@ const AppointmentCard = ({
4145
4145
  title,
4146
4146
  isOpen,
4147
4147
  onToggle,
4148
- onHeaderPress,
4149
4148
  containerStyle: {
4150
4149
  ...styles$1.accordionStyle,
4151
4150
  backgroundColor: theme.SURFACE_SECONDARY,
@@ -4153,21 +4152,29 @@ const AppointmentCard = ({
4153
4152
  borderBottomColor: theme.BORDER_SEPERATOR_HEADER
4154
4153
  },
4155
4154
  headerStyle: styles$1.accordionHeader,
4156
- headerComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionHeaderContent }, headerIcon, /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionText }, /* @__PURE__ */ React.createElement(
4157
- CustomTypography,
4158
- {
4159
- text: headerTitle,
4160
- variant: FontStyle.L2_REGULAR,
4161
- style: { color: theme.CONTENT_SECONDRY }
4162
- }
4163
- ), /* @__PURE__ */ React.createElement(
4164
- CustomTypography,
4155
+ headerComponent: () => /* @__PURE__ */ React.createElement(
4156
+ Pressable,
4165
4157
  {
4166
- text: headerSubtitle,
4167
- variant: FontStyle.B3_REGULAR,
4168
- style: { color: theme.CONTENT_PRIMARY }
4169
- }
4170
- ))),
4158
+ style: styles$1.accordionHeaderContent,
4159
+ onPress: onHeaderPress
4160
+ },
4161
+ headerIcon,
4162
+ /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionText }, /* @__PURE__ */ React.createElement(
4163
+ CustomTypography,
4164
+ {
4165
+ text: headerTitle,
4166
+ variant: FontStyle.L2_REGULAR,
4167
+ style: { color: theme.CONTENT_SECONDRY }
4168
+ }
4169
+ ), /* @__PURE__ */ React.createElement(
4170
+ CustomTypography,
4171
+ {
4172
+ text: headerSubtitle,
4173
+ variant: FontStyle.B3_REGULAR,
4174
+ style: { color: theme.CONTENT_PRIMARY }
4175
+ }
4176
+ ))
4177
+ ),
4171
4178
  icon
4172
4179
  },
4173
4180
  /* @__PURE__ */ React.createElement(
@@ -4188,7 +4195,7 @@ const AppointmentCard = ({
4188
4195
  ), /* @__PURE__ */ React.createElement(
4189
4196
  CustomTypography,
4190
4197
  {
4191
- text: appointmentId,
4198
+ text: appointmentId?.toString(),
4192
4199
  variant: FontStyle.L1_REGULAR,
4193
4200
  style: { color: theme.CONTENT_PRIMARY }
4194
4201
  }