@widergy/mobile-ui 2.3.3 → 2.3.5
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.3.5](https://github.com/widergy/mobile-ui/compare/v2.3.4...v2.3.5) (2025-12-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [CX-1671] change debt card text ([d9baf8f](https://github.com/widergy/mobile-ui/commit/d9baf8f22949af77dd676cddf19ca0565e3a94f8))
|
|
7
|
+
|
|
8
|
+
## [2.3.4](https://github.com/widergy/mobile-ui/compare/v2.3.3...v2.3.4) (2025-12-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* [UGGC-39] utmodal closebuttonvariant ([#469](https://github.com/widergy/mobile-ui/issues/469)) ([7221af5](https://github.com/widergy/mobile-ui/commit/7221af562cd739d9a649cefbe37d85eb713acccf))
|
|
14
|
+
|
|
1
15
|
## [2.3.3](https://github.com/widergy/mobile-ui/compare/v2.3.2...v2.3.3) (2025-12-10)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -30,6 +30,8 @@ const Header = ({
|
|
|
30
30
|
classNames,
|
|
31
31
|
description,
|
|
32
32
|
descriptionProps,
|
|
33
|
+
headerActionLabel,
|
|
34
|
+
headerActionLabelProps,
|
|
33
35
|
headerActions,
|
|
34
36
|
headerActionsProps,
|
|
35
37
|
setMainActionHoverVisible,
|
|
@@ -69,6 +71,11 @@ const Header = ({
|
|
|
69
71
|
{...statusProps}
|
|
70
72
|
/>
|
|
71
73
|
) : null}
|
|
74
|
+
{headerActionLabel && (
|
|
75
|
+
<UTLabel variant="xsmall" {...headerActionLabelProps}>
|
|
76
|
+
{headerActionLabel}
|
|
77
|
+
</UTLabel>
|
|
78
|
+
)}
|
|
72
79
|
{!isEmpty(headerActions) && (
|
|
73
80
|
<HeaderActions {...{ headerActions, headerActionsProps, setMainActionHoverVisible }} />
|
|
74
81
|
)}
|
|
@@ -81,6 +88,8 @@ Header.propTypes = {
|
|
|
81
88
|
classNames: objectOf(string),
|
|
82
89
|
description: string,
|
|
83
90
|
descriptionProps: shape({ colorTheme: string, variant: string }),
|
|
91
|
+
headerActionLabel: string,
|
|
92
|
+
headerActionLabelProps: shape({ colorTheme: string, variant: string, weight: string }),
|
|
84
93
|
headerActions: arrayOf(
|
|
85
94
|
shape({
|
|
86
95
|
Icon: oneOfType([elementType, string]),
|
|
@@ -45,6 +45,8 @@ const UTActionCard = ({
|
|
|
45
45
|
classNames = {},
|
|
46
46
|
description,
|
|
47
47
|
descriptionProps = {},
|
|
48
|
+
headerActionLabel,
|
|
49
|
+
headerActionLabelProps = {},
|
|
48
50
|
headerActions,
|
|
49
51
|
headerActionsProps = { variant: HEADER_ACTIONS_VARIANTS.DEFAULT },
|
|
50
52
|
loading = false,
|
|
@@ -91,6 +93,8 @@ const UTActionCard = ({
|
|
|
91
93
|
classNames,
|
|
92
94
|
description,
|
|
93
95
|
descriptionProps,
|
|
96
|
+
headerActionLabel,
|
|
97
|
+
headerActionLabelProps,
|
|
94
98
|
headerActions,
|
|
95
99
|
headerActionsProps,
|
|
96
100
|
mainAction,
|
|
@@ -160,6 +164,8 @@ UTActionCard.propTypes = {
|
|
|
160
164
|
classNames: objectOf(string),
|
|
161
165
|
description: string,
|
|
162
166
|
descriptionProps: shape({ colorTheme: string, variant: string }),
|
|
167
|
+
headerActionLabel: string,
|
|
168
|
+
headerActionLabelProps: shape({ colorTheme: string, variant: string, weight: string }),
|
|
163
169
|
headerActions: arrayOf(
|
|
164
170
|
shape({
|
|
165
171
|
Icon: oneOfType([elementType, string]),
|
|
@@ -37,6 +37,7 @@ const UTModal = ({
|
|
|
37
37
|
cancelButton,
|
|
38
38
|
children,
|
|
39
39
|
closeButtonColorTheme,
|
|
40
|
+
closeButtonVariant = 'text',
|
|
40
41
|
dataTestId = modal,
|
|
41
42
|
disableTouchable,
|
|
42
43
|
hideCloseButton,
|
|
@@ -106,7 +107,7 @@ const UTModal = ({
|
|
|
106
107
|
Icon="IconX"
|
|
107
108
|
onPress={onRequestClose}
|
|
108
109
|
style={{ root: styles.closeButton }}
|
|
109
|
-
variant=
|
|
110
|
+
variant={closeButtonVariant}
|
|
110
111
|
dataTestId={`${dataTestId}.${closeButton}`}
|
|
111
112
|
/>
|
|
112
113
|
)}
|
|
@@ -131,7 +132,7 @@ const UTModal = ({
|
|
|
131
132
|
Icon="IconX"
|
|
132
133
|
onPress={onRequestClose}
|
|
133
134
|
style={{ root: styles.closeButton }}
|
|
134
|
-
variant=
|
|
135
|
+
variant={closeButtonVariant}
|
|
135
136
|
dataTestId={`${dataTestId}.${closeButton}`}
|
|
136
137
|
/>
|
|
137
138
|
)}
|
package/package.json
CHANGED