dhre-ui-kit 0.0.127 → 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.js CHANGED
@@ -4178,7 +4178,6 @@ const AppointmentCard = ({
4178
4178
  title,
4179
4179
  isOpen,
4180
4180
  onToggle,
4181
- onHeaderPress,
4182
4181
  containerStyle: {
4183
4182
  ...styles$1.accordionStyle,
4184
4183
  backgroundColor: theme.SURFACE_SECONDARY,
@@ -4186,21 +4185,29 @@ const AppointmentCard = ({
4186
4185
  borderBottomColor: theme.BORDER_SEPERATOR_HEADER
4187
4186
  },
4188
4187
  headerStyle: styles$1.accordionHeader,
4189
- 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(
4190
- CustomTypography,
4191
- {
4192
- text: headerTitle,
4193
- variant: FontStyle.L2_REGULAR,
4194
- style: { color: theme.CONTENT_SECONDRY }
4195
- }
4196
- ), /* @__PURE__ */ React__default["default"].createElement(
4197
- CustomTypography,
4188
+ headerComponent: () => /* @__PURE__ */ React__default["default"].createElement(
4189
+ reactNative.Pressable,
4198
4190
  {
4199
- text: headerSubtitle,
4200
- variant: FontStyle.B3_REGULAR,
4201
- style: { color: theme.CONTENT_PRIMARY }
4202
- }
4203
- ))),
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
+ ),
4204
4211
  icon
4205
4212
  },
4206
4213
  /* @__PURE__ */ React__default["default"].createElement(