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 +1 -0
- package/lib/index.js +24 -15
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +24 -15
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -4135,7 +4135,8 @@ const AppointmentCard = ({
|
|
|
4135
4135
|
appointmentId,
|
|
4136
4136
|
requestId,
|
|
4137
4137
|
location,
|
|
4138
|
-
onPress
|
|
4138
|
+
onPress,
|
|
4139
|
+
onHeaderPress
|
|
4139
4140
|
}) => {
|
|
4140
4141
|
const { theme } = useTheme();
|
|
4141
4142
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -4151,21 +4152,29 @@ const AppointmentCard = ({
|
|
|
4151
4152
|
borderBottomColor: theme.BORDER_SEPERATOR_HEADER
|
|
4152
4153
|
},
|
|
4153
4154
|
headerStyle: styles$1.accordionHeader,
|
|
4154
|
-
headerComponent: () => /* @__PURE__ */ React.createElement(
|
|
4155
|
-
|
|
4156
|
-
{
|
|
4157
|
-
text: headerTitle,
|
|
4158
|
-
variant: FontStyle.L2_REGULAR,
|
|
4159
|
-
style: { color: theme.CONTENT_SECONDRY }
|
|
4160
|
-
}
|
|
4161
|
-
), /* @__PURE__ */ React.createElement(
|
|
4162
|
-
CustomTypography,
|
|
4155
|
+
headerComponent: () => /* @__PURE__ */ React.createElement(
|
|
4156
|
+
Pressable,
|
|
4163
4157
|
{
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
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
|
+
),
|
|
4169
4178
|
icon
|
|
4170
4179
|
},
|
|
4171
4180
|
/* @__PURE__ */ React.createElement(
|