@widergy/mobile-ui 1.4.3 → 1.4.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.4.4](https://github.com/widergy/mobile-ui/compare/v1.4.3...v1.4.4) (2024-04-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * elevation ([96132e6](https://github.com/widergy/mobile-ui/commit/96132e62cc7fe502f7a1ec621995d4ae67602b75))
7
+
1
8
  ## [1.4.3](https://github.com/widergy/mobile-ui/compare/v1.4.2...v1.4.3) (2024-04-15)
2
9
 
3
10
 
@@ -44,7 +44,7 @@ const Button = ({
44
44
  ? NO_ELEVATION
45
45
  : mode === OUTLINED
46
46
  ? NO_ELEVATION
47
- : elevation || themeStyles.buttonElevation
47
+ : elevation ?? themeStyles.buttonElevation
48
48
  }
49
49
  style={[
50
50
  styles.container,
@@ -15,13 +15,14 @@ const ActionButton = ({ hidden, disabled, onPress, label, mode, style }) => {
15
15
  return (
16
16
  <View style={themedStyles.actionButton}>
17
17
  <Button
18
+ containerStyle={themedStyles.buttonContainer}
19
+ contentStyle={themedStyles.buttonContent}
18
20
  disabled={disabled || hidden}
19
- mode={mode}
21
+ elevation={themedStyles.elevation}
20
22
  lowerCase
21
- title={label}
23
+ mode={mode}
22
24
  onPress={onPress}
23
- contentStyle={themedStyles.buttonContent}
24
- containerStyle={themedStyles.buttonContainer}
25
+ title={label}
25
26
  />
26
27
  </View>
27
28
  );
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@widergy/mobile-ui",
3
3
  "description": "Widergy Mobile Components",
4
4
  "author": "widergy",
5
- "version": "1.4.3",
5
+ "version": "1.4.4",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [