dhre-ui-kit 0.0.173 → 0.0.174
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 +6 -1
- package/lib/index.js +20 -7
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +20 -7
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -10,6 +10,7 @@ import { Calendar } from 'react-native-calendars';
|
|
|
10
10
|
import CountryPicker from 'react-native-country-picker-modal';
|
|
11
11
|
import { TextInput as TextInput$1 } from 'react-native-paper';
|
|
12
12
|
import { Dropdown } from 'react-native-element-dropdown';
|
|
13
|
+
import { DropDownArrow } from 'src/assets';
|
|
13
14
|
import DocumentPicker from 'react-native-document-picker';
|
|
14
15
|
import RNFS from 'react-native-fs';
|
|
15
16
|
import Clipboard from '@react-native-clipboard/clipboard';
|
|
@@ -108,6 +109,7 @@ var Theme = /* @__PURE__ */ ((Theme2) => {
|
|
|
108
109
|
Theme2["SUCCESS"] = "SUCCESS";
|
|
109
110
|
Theme2["INFO"] = "INFO";
|
|
110
111
|
Theme2["ERROR"] = "ERROR";
|
|
112
|
+
Theme2["TRANSPARENT_INVERTED"] = "TRANSPARENT_INVERTED";
|
|
111
113
|
return Theme2;
|
|
112
114
|
})(Theme || {});
|
|
113
115
|
|
|
@@ -239,6 +241,10 @@ const theme = {
|
|
|
239
241
|
[Theme.ERROR]: {
|
|
240
242
|
light: "#EB0542",
|
|
241
243
|
dark: "#EB0542"
|
|
244
|
+
},
|
|
245
|
+
[Theme.TRANSPARENT_INVERTED]: {
|
|
246
|
+
light: "#68686833",
|
|
247
|
+
dark: "#FFFFFF33"
|
|
242
248
|
}
|
|
243
249
|
};
|
|
244
250
|
|
|
@@ -2656,25 +2662,31 @@ const styles$d = StyleSheet.create({
|
|
|
2656
2662
|
borderRadius: 10
|
|
2657
2663
|
},
|
|
2658
2664
|
cancelText: {
|
|
2659
|
-
color: "#007AFF"
|
|
2665
|
+
color: "#007AFF",
|
|
2666
|
+
alignSelf: "center"
|
|
2660
2667
|
},
|
|
2661
2668
|
title: {
|
|
2662
2669
|
textAlign: "center",
|
|
2663
|
-
marginTop: 13
|
|
2670
|
+
marginTop: 13,
|
|
2671
|
+
alignSelf: "center"
|
|
2664
2672
|
},
|
|
2665
2673
|
subtitle: {
|
|
2666
2674
|
textAlign: "center",
|
|
2667
2675
|
marginTop: 2,
|
|
2668
|
-
marginBottom: 13
|
|
2676
|
+
marginBottom: 13,
|
|
2677
|
+
alignSelf: "center"
|
|
2669
2678
|
},
|
|
2670
2679
|
optionButton: {
|
|
2671
2680
|
padding: 16,
|
|
2672
2681
|
borderRadius: 8,
|
|
2673
|
-
alignItems: "center"
|
|
2682
|
+
alignItems: "center",
|
|
2683
|
+
textAlign: "center"
|
|
2674
2684
|
},
|
|
2675
2685
|
optionText: {
|
|
2676
2686
|
fontSize: 16,
|
|
2677
|
-
color: "#007AFF"
|
|
2687
|
+
color: "#007AFF",
|
|
2688
|
+
alignSelf: "center",
|
|
2689
|
+
textAlign: "center"
|
|
2678
2690
|
},
|
|
2679
2691
|
cancelButton: {
|
|
2680
2692
|
marginTop: 10,
|
|
@@ -2973,7 +2985,7 @@ const createStyles$2 = (theme) => {
|
|
|
2973
2985
|
borderBottomColor: theme[Theme.BORDER_SEPERATOR_HEADER]
|
|
2974
2986
|
},
|
|
2975
2987
|
selectedItem: {
|
|
2976
|
-
borderBottomWidth:
|
|
2988
|
+
borderBottomWidth: 2,
|
|
2977
2989
|
borderBottomColor: theme[Theme.BORDER_INVERTED]
|
|
2978
2990
|
},
|
|
2979
2991
|
errorViewStyle: {
|
|
@@ -3396,7 +3408,8 @@ const CustomDropdown = ({
|
|
|
3396
3408
|
itemTextStyle,
|
|
3397
3409
|
containerStyle: menuContainerStyle,
|
|
3398
3410
|
activeColor,
|
|
3399
|
-
itemContainerStyle: [styles$7.itemListStyle, itemContainerStyle]
|
|
3411
|
+
itemContainerStyle: [styles$7.itemListStyle, itemContainerStyle],
|
|
3412
|
+
renderRightIcon: () => /* @__PURE__ */ React.createElement(DropDownArrow, null)
|
|
3400
3413
|
}
|
|
3401
3414
|
));
|
|
3402
3415
|
};
|