@widergy/mobile-ui 1.40.1 → 1.40.2

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.2](https://github.com/widergy/mobile-ui/compare/v1.40.1...v1.40.2) (2025-04-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * action card status props ([#423](https://github.com/widergy/mobile-ui/issues/423)) ([a79c610](https://github.com/widergy/mobile-ui/commit/a79c6108d15fb5d799534950a01fd1efa0c612f4))
7
+
1
8
  ## [1.40.1](https://github.com/widergy/mobile-ui/compare/v1.40.0...v1.40.1) (2025-04-07)
2
9
 
3
10
 
@@ -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
  };
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.2",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [