react-native-expo-cropper 1.3.54 → 1.3.55

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.
@@ -1105,12 +1105,13 @@ var ImageCropper = function ImageCropper(_ref) {
1105
1105
  activeOpacity: 0.85
1106
1106
  }, /*#__PURE__*/_react["default"].createElement(_vectorIcons.AntDesign, {
1107
1107
  name: "rollback",
1108
- size: Math.round(18 * responsiveScale),
1108
+ size: Math.round(14 * responsiveScale),
1109
1109
  color: "rgba(255,255,255,0.95)"
1110
1110
  }), /*#__PURE__*/_react["default"].createElement(_reactNative.Text, {
1111
- style: _ImageCropperStyles["default"].buttonText,
1112
- numberOfLines: 1,
1113
- ellipsizeMode: "tail"
1111
+ style: [_ImageCropperStyles["default"].buttonText, {
1112
+ fontSize: Math.max(10, Math.round(11 * responsiveScale)),
1113
+ letterSpacing: 0.5
1114
+ }]
1114
1115
  }, resetText || 'Enhance')), /*#__PURE__*/_react["default"].createElement(_reactNative.TouchableOpacity, {
1115
1116
  style: [_ImageCropperStyles["default"].rotationButton, {
1116
1117
  minWidth: Math.max(Math.round(88 * responsiveScale), Math.round(((rotateText ? String(rotateText).length : 6) * 7 + 38) * responsiveScale))
@@ -72,7 +72,7 @@ var styles = _reactNative.StyleSheet.create({
72
72
  alignItems: 'center',
73
73
  justifyContent: 'center',
74
74
  gap: 8,
75
- paddingHorizontal: 22,
75
+ paddingHorizontal: 16,
76
76
  borderRadius: 16,
77
77
  backgroundColor: GLASS,
78
78
  borderWidth: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-expo-cropper",
3
- "version": "1.3.54",
3
+ "version": "1.3.55",
4
4
  "description": "Recadrage polygonal d'images.",
5
5
  "main": "index.js",
6
6
  "author": "PCS AGRI",
@@ -963,8 +963,16 @@ const rotatePreviewImage = async (degrees) => {
963
963
  onPress={handleReset}
964
964
  activeOpacity={0.85}
965
965
  >
966
- <AntDesign name="rollback" size={Math.round(18 * responsiveScale)} color="rgba(255,255,255,0.95)" />
967
- <Text style={styles.buttonText} numberOfLines={1} ellipsizeMode="tail">
966
+ <AntDesign name="rollback" size={Math.round(14 * responsiveScale)} color="rgba(255,255,255,0.95)" />
967
+ <Text
968
+ style={[
969
+ styles.buttonText,
970
+ {
971
+ fontSize: Math.max(10, Math.round(11 * responsiveScale)),
972
+ letterSpacing: 0.5,
973
+ },
974
+ ]}
975
+ >
968
976
  {resetText || 'Enhance'}
969
977
  </Text>
970
978
  </TouchableOpacity>
@@ -68,7 +68,7 @@ const styles = StyleSheet.create({
68
68
  alignItems: 'center',
69
69
  justifyContent: 'center',
70
70
  gap: 8,
71
- paddingHorizontal: 22,
71
+ paddingHorizontal: 16,
72
72
  borderRadius: 16,
73
73
  backgroundColor: GLASS,
74
74
  borderWidth: 1,