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 +1 -0
- package/lib/index.js +6 -5
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +6 -5
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -12,7 +12,6 @@ import { TextInput as TextInput$1 } from 'react-native-paper';
|
|
|
12
12
|
import { Dropdown } from 'react-native-element-dropdown';
|
|
13
13
|
import DocumentPicker from 'react-native-document-picker';
|
|
14
14
|
import RNFS from 'react-native-fs';
|
|
15
|
-
import { verticalScale as verticalScale$1 } from 'src/utils/stylehelper';
|
|
16
15
|
import Clipboard from '@react-native-clipboard/clipboard';
|
|
17
16
|
|
|
18
17
|
var ShapeType = /* @__PURE__ */ ((ShapeType2) => {
|
|
@@ -4065,9 +4064,9 @@ const CustomSlideButton = ({
|
|
|
4065
4064
|
style: {
|
|
4066
4065
|
...styles$2.button,
|
|
4067
4066
|
backgroundColor: theme.SURFACE_PRIMARY,
|
|
4068
|
-
width: verticalScale
|
|
4069
|
-
height: verticalScale
|
|
4070
|
-
borderRadius: verticalScale
|
|
4067
|
+
width: verticalScale(size),
|
|
4068
|
+
height: verticalScale(size),
|
|
4069
|
+
borderRadius: verticalScale(size / 2)
|
|
4071
4070
|
}
|
|
4072
4071
|
},
|
|
4073
4072
|
icon
|
|
@@ -4136,7 +4135,8 @@ const AppointmentCard = ({
|
|
|
4136
4135
|
appointmentId,
|
|
4137
4136
|
requestId,
|
|
4138
4137
|
location,
|
|
4139
|
-
onPress
|
|
4138
|
+
onPress,
|
|
4139
|
+
onHeaderPress
|
|
4140
4140
|
}) => {
|
|
4141
4141
|
const { theme } = useTheme();
|
|
4142
4142
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -4145,6 +4145,7 @@ const AppointmentCard = ({
|
|
|
4145
4145
|
title,
|
|
4146
4146
|
isOpen,
|
|
4147
4147
|
onToggle,
|
|
4148
|
+
onHeaderPress,
|
|
4148
4149
|
containerStyle: {
|
|
4149
4150
|
...styles$1.accordionStyle,
|
|
4150
4151
|
backgroundColor: theme.SURFACE_SECONDARY,
|