@widergy/mobile-ui 2.7.0 → 2.8.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,17 @@
1
+ ## [2.8.1](https://github.com/widergy/mobile-ui/compare/v2.8.0...v2.8.1) (2026-02-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [NTGE-205] fix tooltip undefined ([#486](https://github.com/widergy/mobile-ui/issues/486)) ([2bb3c0f](https://github.com/widergy/mobile-ui/commit/2bb3c0f612efac13ca5224f839faf9288119fe6f))
7
+
8
+ # [2.8.0](https://github.com/widergy/mobile-ui/compare/v2.7.0...v2.8.0) (2026-02-18)
9
+
10
+
11
+ ### Features
12
+
13
+ * [EGIT-29] markdown in labels ([#485](https://github.com/widergy/mobile-ui/issues/485)) ([faf5416](https://github.com/widergy/mobile-ui/commit/faf54162b7855bc1aecac71a47d4ace6ebbeb866))
14
+
1
15
  # [2.7.0](https://github.com/widergy/mobile-ui/compare/v2.6.0...v2.7.0) (2026-02-18)
2
16
 
3
17
 
@@ -10,8 +10,12 @@ import { IMAGE_REGEX } from './constants';
10
10
 
11
11
  const TooltipAdornment = ({ dataTestId, tooltip, tooltipProps }) => {
12
12
  const { tooltip: tooltipStyles, arrowTouchable, labelProps } = tooltipProps || {};
13
- const match = tooltip?.match(IMAGE_REGEX);
14
- const imageUrl = match?.[1];
13
+ let imageUrl;
14
+
15
+ if (typeof tooltip === 'string') {
16
+ const match = tooltip.match(IMAGE_REGEX);
17
+ imageUrl = match?.[1];
18
+ }
15
19
 
16
20
  return tooltip ? (
17
21
  <UTTooltip
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": "2.7.0",
5
+ "version": "2.8.1",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [
@@ -38,7 +38,6 @@
38
38
  "react-native-vector-icons": "^10.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@expo/config": "^11.0.12",
42
41
  "@react-native-masked-view/masked-view": "^0.3.2",
43
42
  "@react-navigation/native": "^6.1.9",
44
43
  "@tabler/icons-react-native": "^3.34.1",
@@ -74,15 +73,13 @@
74
73
  "@commitlint/config-conventional": "^17.7.0",
75
74
  "@eslint/compat": "^1.4.0",
76
75
  "@eslint/eslintrc": "^3.3.0",
77
- "@react-native/babel-preset": "0.73.0",
78
- "@widergy/eslint-config": "^1.0.0",
79
76
  "@widergy/semantic-release-package-config": "^1.0.0",
80
- "babel-jest": "^29.6.2",
77
+ "@widergy/eslint-config": "^1.0.0",
78
+ "@react-native/babel-preset": "0.73.0",
81
79
  "babel-plugin-import-glob": "^2.0.0",
82
80
  "babel-plugin-module-resolver": "^5.0.0",
83
- "babel-preset-expo": "^13.2.4",
81
+ "babel-jest": "^29.6.2",
84
82
  "babel-preset-minify": "^0.5.2",
85
- "babel-preset-react-native": "^4.0.1",
86
83
  "eslint": "^9.38.0",
87
84
  "eslint-config-airbnb": "^19.0.4",
88
85
  "eslint-config-prettier": "^9.0.0",