@widergy/mobile-ui 1.32.12 → 1.32.13

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.32.13](https://github.com/widergy/mobile-ui/compare/v1.32.12...v1.32.13) (2024-12-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [DS-368] implement argos events ([#399](https://github.com/widergy/mobile-ui/issues/399)) ([eda2408](https://github.com/widergy/mobile-ui/commit/eda2408afe760aafcfc3f2f8718a3929302ab92e))
7
+
1
8
  ## [1.32.12](https://github.com/widergy/mobile-ui/compare/v1.32.11...v1.32.12) (2024-12-11)
2
9
 
3
10
 
@@ -2,14 +2,13 @@ import React, { PureComponent, createRef } from 'react';
2
2
  import { View } from 'react-native';
3
3
  import { bool, elementType, func, number, shape, string } from 'prop-types';
4
4
 
5
+ import { COMPONENT_KEYS } from '../UTBaseInputField/constants';
6
+ import { formatErrorToValidation } from '../UTValidation/utils';
7
+ import { TITLE_VARIANTS } from '../../constants/inputs';
5
8
  import UTBaseInputField from '../UTBaseInputField';
6
9
  import UTFieldLabel from '../UTFieldLabel';
7
10
  import UTLabel from '../UTLabel';
8
- import UTValidation from '../UTValidation';
9
- import { formatErrorToValidation } from '../UTValidation/utils';
10
- import { TITLE_VARIANTS } from '../../constants/inputs';
11
- import { COMPONENT_KEYS } from '../UTBaseInputField/constants';
12
- import { validationDataProptypes } from '../UTValidation/constants';
11
+ import UTValidation, { validationDataProptypes } from '../UTValidation';
13
12
 
14
13
  import { AREA_CODES } from './constants';
15
14
  import styles from './styles';
@@ -121,6 +121,10 @@ export const singleInhouseEvent = sendInhouseAnalytics => eventData => {
121
121
  sendInhouseAnalytics(null, eventData);
122
122
  };
123
123
 
124
+ export const singleArgosEvent = sendArgosAnalytics => eventData => {
125
+ sendArgosAnalytics(eventData);
126
+ };
127
+
124
128
  export const singleEventMultitracking = (trackers, eventDefinitions) => (name, eventData) => {
125
129
  const mergedData = merge(eventDefinitions[name] || {}, eventData || {});
126
130
  const { sharedProps, ...trackerProps } = mergedData;
@@ -154,11 +158,12 @@ export default {
154
158
  mixpanelUserReset,
155
159
  multiTracking,
156
160
  setUserTracking,
161
+ singleArgosEvent,
157
162
  singleEventMultitracking,
158
163
  singleFirebaseEvent,
159
164
  singleInhouseEvent,
160
165
  singleMixpanelEvent,
166
+ tracker,
161
167
  trackEvent,
162
- trackScreen,
163
- tracker
168
+ trackScreen
164
169
  };
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.32.12",
5
+ "version": "1.32.13",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [