@widergy/mobile-ui 1.45.0 → 1.45.1

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.45.1](https://github.com/widergy/mobile-ui/compare/v1.45.0...v1.45.1) (2025-05-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * better merger utbanner ([#432](https://github.com/widergy/mobile-ui/issues/432)) ([f5e7b24](https://github.com/widergy/mobile-ui/commit/f5e7b246b3e38bbe1f1f6b45ae28f06d71a7b263))
7
+
1
8
  # [1.45.0](https://github.com/widergy/mobile-ui/compare/v1.44.1...v1.45.0) (2025-05-13)
2
9
 
3
10
 
@@ -1,18 +1,18 @@
1
1
  import React from 'react';
2
2
  import { View } from 'react-native';
3
3
  import { bool, shape, string } from 'prop-types';
4
- import _ from 'lodash';
5
4
 
6
5
  import UTIcon from '../UTIcon';
7
6
  import UTLabel from '../UTLabel';
8
7
  import { useTheme } from '../../theming';
8
+ import { mergeMultipleStyles } from '../../utils/styleUtils';
9
9
 
10
10
  import ownStyles from './styles';
11
11
 
12
12
  const UTBanner = ({ text, icon, style, withMarkdown }) => {
13
13
  const theme = useTheme();
14
14
 
15
- const themedStyles = _.merge({}, ownStyles, theme?.UTBanner, style);
15
+ const themedStyles = mergeMultipleStyles(ownStyles, theme?.UTBanner, style);
16
16
 
17
17
  return (
18
18
  <View style={themedStyles.banner}>
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.45.0",
5
+ "version": "1.45.1",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [