@widergy/mobile-ui 1.12.2 → 1.12.3

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.12.3](https://github.com/widergy/mobile-ui/compare/v1.12.2...v1.12.3) (2024-06-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * shadow default props fix ([#305](https://github.com/widergy/mobile-ui/issues/305)) ([c11932f](https://github.com/widergy/mobile-ui/commit/c11932f0832a48e45ae09799e93a5ec6b7919182))
7
+
1
8
  ## [1.12.2](https://github.com/widergy/mobile-ui/compare/v1.12.1...v1.12.2) (2024-06-28)
2
9
 
3
10
 
@@ -4,7 +4,6 @@ import { Animated, StyleSheet } from 'react-native';
4
4
  import { getShadow } from '../../utils/styleUtils';
5
5
  import { useTheme } from '../../theming';
6
6
 
7
- import { DEFAULT_ELEVATION } from './constants';
8
7
  import propTypes from './propTypes';
9
8
  import styles from './styles';
10
9
 
@@ -21,8 +20,4 @@ const Surface = ({ children, elevation = 1, position = 'bottom', style, ...props
21
20
 
22
21
  Surface.propTypes = propTypes;
23
22
 
24
- Surface.defaultProps = {
25
- elevation: DEFAULT_ELEVATION
26
- };
27
-
28
23
  export default Surface;
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.12.2",
5
+ "version": "1.12.3",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [
@@ -1 +0,0 @@
1
- export const DEFAULT_ELEVATION = 2;