@widergy/mobile-ui 1.36.7 → 1.36.8

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.36.8](https://github.com/widergy/mobile-ui/compare/v1.36.7...v1.36.8) (2025-03-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * action card styles fixes ([#418](https://github.com/widergy/mobile-ui/issues/418)) ([b1efa4c](https://github.com/widergy/mobile-ui/commit/b1efa4c4defda646840bc91379f657a612ed4ab1))
7
+
1
8
  ## [1.36.7](https://github.com/widergy/mobile-ui/compare/v1.36.6...v1.36.7) (2025-03-12)
2
9
 
3
10
 
@@ -19,10 +19,11 @@ import UTLabel from '../../../UTLabel';
19
19
  import HeaderActions from '../HeaderActions';
20
20
  import { HEADER_ACTIONS_VARIANTS, PLACE_SELF_TYPES, SIZES } from '../../constants';
21
21
  import { useTheme } from '../../../../theming';
22
+ import { mergeMultipleStyles } from '../../../../utils/styleUtils';
22
23
 
23
24
  import { renderAdornment, statusPropsMapper } from './utils';
24
25
  import Status from './components/Status';
25
- import styles from './styles';
26
+ import ownStyles from './styles';
26
27
 
27
28
  const Header = ({
28
29
  adornment,
@@ -40,9 +41,10 @@ const Header = ({
40
41
  titleProps
41
42
  }) => {
42
43
  const theme = useTheme();
44
+ const styles = mergeMultipleStyles(ownStyles, classNames);
43
45
 
44
46
  return (
45
- <View style={[styles.header, styles[size], classNames.header]}>
47
+ <View style={[styles[size], styles.header]}>
46
48
  {renderAdornment(adornment, 'left')}
47
49
  <View style={styles.headerTitles}>
48
50
  {renderAdornment(adornment, 'top')}
@@ -1,10 +1,14 @@
1
1
  import { StyleSheet } from 'react-native';
2
2
 
3
+ const DEFAULT_BORDER_RADIUS = 8;
4
+
3
5
  export default StyleSheet.create({
4
6
  cardContainer: {
5
- borderRadius: 8
7
+ borderRadius: DEFAULT_BORDER_RADIUS
6
8
  },
7
9
  innerContainer: {
10
+ borderRadius: DEFAULT_BORDER_RADIUS,
11
+ overflow: 'hidden',
8
12
  position: 'relative',
9
13
  width: '100%'
10
14
  },
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.36.7",
5
+ "version": "1.36.8",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [