@widergy/mobile-ui 1.49.2 → 1.49.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.49.3](https://github.com/widergy/mobile-ui/compare/v1.49.2...v1.49.3) (2025-06-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [UGC-1584] status style fix ([#444](https://github.com/widergy/mobile-ui/issues/444)) ([64ba220](https://github.com/widergy/mobile-ui/commit/64ba220bb0d1877edd02d84b7150dff43bd74f67))
7
+
1
8
  ## [1.49.2](https://github.com/widergy/mobile-ui/compare/v1.49.1...v1.49.2) (2025-06-13)
2
9
 
3
10
 
@@ -3,15 +3,18 @@ import { ViewPropTypes } from 'deprecated-react-native-prop-types';
3
3
  import { bool, object, shape, string } from 'prop-types';
4
4
 
5
5
  import UTStatus from '../../../UTStatus';
6
+ import { mergeMultipleStyles } from '../../../../utils/styleUtils';
6
7
 
7
8
  const Status = ({ shouldUseGap, statusProps, themedStyles }) => {
8
- const { label } = statusProps;
9
+ const { label, style: statusStyle, ...restStatusProps } = statusProps;
10
+
11
+ const mergedStyles = mergeMultipleStyles(
12
+ { container: [shouldUseGap ? themedStyles.gap : null, themedStyles.status] },
13
+ statusStyle
14
+ );
9
15
 
10
16
  return (
11
- <UTStatus
12
- style={{ container: [shouldUseGap ? themedStyles.gap : '', themedStyles.status] }}
13
- {...statusProps}
14
- >
17
+ <UTStatus style={mergedStyles} {...restStatusProps}>
15
18
  {label}
16
19
  </UTStatus>
17
20
  );
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.49.2",
5
+ "version": "1.49.3",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [