@widergy/mobile-ui 1.36.6 → 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,17 @@
|
|
|
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
|
+
|
|
8
|
+
## [1.36.7](https://github.com/widergy/mobile-ui/compare/v1.36.6...v1.36.7) (2025-03-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* fix on singleEventMultitracking ([#417](https://github.com/widergy/mobile-ui/issues/417)) ([982aa13](https://github.com/widergy/mobile-ui/commit/982aa13e59a179e9700f4425bbb19d3114860f2a))
|
|
14
|
+
|
|
1
15
|
## [1.36.6](https://github.com/widergy/mobile-ui/compare/v1.36.5...v1.36.6) (2025-03-06)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -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
|
|
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
|
|
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:
|
|
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
|
},
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
* VERSION 5.X.X ONLY, version 6.x.x introduces breaking changes
|
|
5
5
|
* */
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import merge from 'lodash/merge';
|
|
8
|
+
import isEmpty from 'lodash/isEmpty';
|
|
9
|
+
import cloneDeep from 'lodash/cloneDeep';
|
|
8
10
|
import uuid from 'react-native-uuid';
|
|
9
11
|
|
|
10
12
|
const LOG_EVENT = 'LOG_EVENT';
|
|
@@ -127,7 +129,7 @@ export const singleArgosEvent = sendArgosAnalytics => eventData => {
|
|
|
127
129
|
};
|
|
128
130
|
|
|
129
131
|
export const singleEventMultitracking = (trackers, eventDefinitions) => (name, eventData) => {
|
|
130
|
-
const mergedData = merge(eventDefinitions[name] || {}, eventData || {});
|
|
132
|
+
const mergedData = merge(cloneDeep(eventDefinitions[name] || {}), eventData || {});
|
|
131
133
|
const { sharedProps, ...trackerProps } = mergedData;
|
|
132
134
|
const trackersArray = Object.keys(mergedData);
|
|
133
135
|
if (!isEmpty(trackers))
|
package/package.json
CHANGED