@widergy/mobile-ui 1.40.1 → 1.40.3

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.3](https://github.com/widergy/mobile-ui/compare/v1.40.2...v1.40.3) (2025-04-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * action card status props header ([#424](https://github.com/widergy/mobile-ui/issues/424)) ([8cf0d00](https://github.com/widergy/mobile-ui/commit/8cf0d000e16213dcbde378f8f1c7c1e6a221c3bb))
7
+
8
+ ## [1.40.2](https://github.com/widergy/mobile-ui/compare/v1.40.1...v1.40.2) (2025-04-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * action card status props ([#423](https://github.com/widergy/mobile-ui/issues/423)) ([a79c610](https://github.com/widergy/mobile-ui/commit/a79c6108d15fb5d799534950a01fd1efa0c612f4))
14
+
1
15
  ## [1.40.1](https://github.com/widergy/mobile-ui/compare/v1.40.0...v1.40.1) (2025-04-07)
2
16
 
3
17
 
@@ -37,6 +37,7 @@ const Header = ({
37
37
  status,
38
38
  statusAlignment,
39
39
  statusLabel,
40
+ statusProps = {},
40
41
  title,
41
42
  titleProps
42
43
  }) => {
@@ -64,6 +65,7 @@ const Header = ({
64
65
  {...statusPropsMapper(status, theme)}
65
66
  alignment={statusAlignment}
66
67
  value={statusLabel || status}
68
+ {...statusProps}
67
69
  />
68
70
  ) : null}
69
71
  {!isEmpty(headerActions) && (
@@ -99,6 +101,7 @@ Header.propTypes = {
99
101
  status: string,
100
102
  statusAlignment: oneOf([PLACE_SELF_TYPES.CENTER, PLACE_SELF_TYPES.END, PLACE_SELF_TYPES.START]),
101
103
  statusLabel: string,
104
+ statusProps: object,
102
105
  title: string,
103
106
  titleProps: shape({ variant: string, weight: string })
104
107
  };
@@ -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
  }}
@@ -150,8 +152,9 @@ UTActionCard.propTypes = {
150
152
  mainAction: func,
151
153
  size: oneOf([SIZES.MEDIUM, SIZES.SMALL]),
152
154
  status: string,
153
- statusLabel: string,
154
155
  statusAlignment: oneOf([PLACE_SELF_TYPES.CENTER, PLACE_SELF_TYPES.END, PLACE_SELF_TYPES.START]),
156
+ statusLabel: string,
157
+ statusProps: object,
155
158
  surfaceElevation: number,
156
159
  title: string,
157
160
  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.1",
5
+ "version": "1.40.3",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [