@widergy/mobile-ui 1.40.0 → 1.40.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.40.1](https://github.com/widergy/mobile-ui/compare/v1.40.0...v1.40.1) (2025-04-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * smartbill new experience fixes ([#422](https://github.com/widergy/mobile-ui/issues/422)) ([159c806](https://github.com/widergy/mobile-ui/commit/159c80602811c44e188825f1589ccc4dd6c9dfc9))
7
+
1
8
  # [1.40.0](https://github.com/widergy/mobile-ui/compare/v1.39.0...v1.40.0) (2025-04-04)
2
9
 
3
10
 
@@ -42,12 +42,13 @@ const UTActionCard = ({
42
42
  status,
43
43
  statusAlignment,
44
44
  statusLabel,
45
+ surfaceElevation = 1,
45
46
  title,
46
47
  titleProps = {},
47
48
  withBodyPadding = true
48
49
  }) => {
49
50
  return (
50
- <Surface elevation={1} style={[styles.cardContainer, classNames.container]}>
51
+ <Surface elevation={surfaceElevation} style={[styles.cardContainer, classNames.container]}>
51
52
  <TouchableOpacity
52
53
  activeOpacity={0.6}
53
54
  disabled={!mainAction}
@@ -151,6 +152,7 @@ UTActionCard.propTypes = {
151
152
  status: string,
152
153
  statusLabel: string,
153
154
  statusAlignment: oneOf([PLACE_SELF_TYPES.CENTER, PLACE_SELF_TYPES.END, PLACE_SELF_TYPES.START]),
155
+ surfaceElevation: number,
154
156
  title: string,
155
157
  titleProps: shape({ variant: string, weight: string }),
156
158
  withBodyPadding: bool
@@ -13,6 +13,7 @@ import { COLOR_THEMES, HIERARCHIES } from './constants';
13
13
  const UTTabs = ({
14
14
  colorTheme = COLOR_THEMES.ACCENT,
15
15
  hierarchy = HIERARCHIES.SECONDARY,
16
+ labelProps = {},
16
17
  onChange,
17
18
  style,
18
19
  tabs,
@@ -60,7 +61,7 @@ const UTTabs = ({
60
61
  style={styles.tab(tabs.length)}
61
62
  >
62
63
  <UTIcon colorTheme={colorThemeToUse} name={icon} />
63
- <UTLabel colorTheme={colorThemeToUse} shade="04" weight="medium">
64
+ <UTLabel colorTheme={colorThemeToUse} shade="04" weight="medium" {...labelProps}>
64
65
  {label}
65
66
  </UTLabel>
66
67
  {badge && <UTBadge colorTheme="accent" />}
@@ -76,6 +77,7 @@ const UTTabs = ({
76
77
  UTTabs.propTypes = {
77
78
  colorTheme: string,
78
79
  hierarchy: string,
80
+ labelProps: object,
79
81
  onChange: func,
80
82
  style: object,
81
83
  tabs: array,
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.40.0",
5
+ "version": "1.40.1",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [