@widergy/mobile-ui 1.40.2 → 1.40.4

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.40.4](https://github.com/widergy/mobile-ui/compare/v1.40.3...v1.40.4) (2025-04-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * children container style added in ut action card ([#425](https://github.com/widergy/mobile-ui/issues/425)) ([8b40e1c](https://github.com/widergy/mobile-ui/commit/8b40e1ce6843755508886460a1a28e913783fed4))
7
+
8
+ ## [1.40.3](https://github.com/widergy/mobile-ui/compare/v1.40.2...v1.40.3) (2025-04-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * action card status props header ([#424](https://github.com/widergy/mobile-ui/issues/424)) ([8cf0d00](https://github.com/widergy/mobile-ui/commit/8cf0d000e16213dcbde378f8f1c7c1e6a221c3bb))
14
+
1
15
  ## [1.40.2](https://github.com/widergy/mobile-ui/compare/v1.40.1...v1.40.2) (2025-04-14)
2
16
 
3
17
 
@@ -42,6 +42,7 @@ const UTActionCard = ({
42
42
  status,
43
43
  statusAlignment,
44
44
  statusLabel,
45
+ statusProps = {},
45
46
  surfaceElevation = 1,
46
47
  title,
47
48
  titleProps = {},
@@ -77,6 +78,7 @@ const UTActionCard = ({
77
78
  status,
78
79
  statusAlignment,
79
80
  statusLabel,
81
+ statusProps,
80
82
  title,
81
83
  titleProps
82
84
  }}
@@ -84,7 +86,8 @@ const UTActionCard = ({
84
86
  {children && (
85
87
  <View
86
88
  style={[
87
- withBodyPadding ? styles[`bodyPadding_${size}`] : styles[`withoutBodyPadding_${size}`]
89
+ withBodyPadding ? styles[`bodyPadding_${size}`] : styles[`withoutBodyPadding_${size}`],
90
+ classNames?.childrenContainer ?? {}
88
91
  ]}
89
92
  >
90
93
  {children}
@@ -150,8 +153,9 @@ UTActionCard.propTypes = {
150
153
  mainAction: func,
151
154
  size: oneOf([SIZES.MEDIUM, SIZES.SMALL]),
152
155
  status: string,
153
- statusLabel: string,
154
156
  statusAlignment: oneOf([PLACE_SELF_TYPES.CENTER, PLACE_SELF_TYPES.END, PLACE_SELF_TYPES.START]),
157
+ statusLabel: string,
158
+ statusProps: object,
155
159
  surfaceElevation: number,
156
160
  title: string,
157
161
  titleProps: shape({ variant: string, weight: string }),
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.2",
5
+ "version": "1.40.4",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [