dhre-ui-kit 0.0.125 → 0.0.127

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
@@ -16,7 +16,6 @@ var reactNativePaper = require('react-native-paper');
16
16
  var reactNativeElementDropdown = require('react-native-element-dropdown');
17
17
  var DocumentPicker = require('react-native-document-picker');
18
18
  var RNFS = require('react-native-fs');
19
- var stylehelper = require('src/utils/stylehelper');
20
19
  var Clipboard = require('@react-native-clipboard/clipboard');
21
20
 
22
21
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -4098,9 +4097,9 @@ const CustomSlideButton = ({
4098
4097
  style: {
4099
4098
  ...styles$2.button,
4100
4099
  backgroundColor: theme.SURFACE_PRIMARY,
4101
- width: stylehelper.verticalScale(size),
4102
- height: stylehelper.verticalScale(size),
4103
- borderRadius: stylehelper.verticalScale(size / 2)
4100
+ width: verticalScale(size),
4101
+ height: verticalScale(size),
4102
+ borderRadius: verticalScale(size / 2)
4104
4103
  }
4105
4104
  },
4106
4105
  icon
@@ -4169,7 +4168,8 @@ const AppointmentCard = ({
4169
4168
  appointmentId,
4170
4169
  requestId,
4171
4170
  location,
4172
- onPress
4171
+ onPress,
4172
+ onHeaderPress
4173
4173
  }) => {
4174
4174
  const { theme } = useTheme();
4175
4175
  return /* @__PURE__ */ React__default["default"].createElement(
@@ -4178,6 +4178,7 @@ const AppointmentCard = ({
4178
4178
  title,
4179
4179
  isOpen,
4180
4180
  onToggle,
4181
+ onHeaderPress,
4181
4182
  containerStyle: {
4182
4183
  ...styles$1.accordionStyle,
4183
4184
  backgroundColor: theme.SURFACE_SECONDARY,