@widergy/mobile-ui 2.5.1 → 2.6.0
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 +15 -0
- package/lib/components/CheckList/index.js +2 -0
- package/lib/components/UTFieldLabel/index.js +2 -10
- package/lib/components/UTSelect/versions/V1/index.js +2 -0
- package/lib/components/UTSelect/versions/V1/proptypes.js +3 -0
- package/lib/components/UTTextInput/versions/V1/index.js +4 -0
- package/lib/types/UTFieldLabelTypes.js +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [2.6.0](https://github.com/widergy/mobile-ui/compare/v2.5.2...v2.6.0) (2026-02-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* [EGIT-7] account association label ([#477](https://github.com/widergy/mobile-ui/issues/477)) ([b2a60c7](https://github.com/widergy/mobile-ui/commit/b2a60c70d91af103af0c6621cafe8a37a1c62457))
|
|
7
|
+
|
|
8
|
+
## [2.5.2](https://github.com/widergy/mobile-ui/compare/v2.5.1...v2.5.2) (2026-01-28)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* disabled checked color prop unused ([#458](https://github.com/widergy/mobile-ui/issues/458)) ([e99093f](https://github.com/widergy/mobile-ui/commit/e99093f66c44542b1ddebae811c55216bac145b9))
|
|
14
|
+
* update node image ([#475](https://github.com/widergy/mobile-ui/issues/475)) ([6e078b2](https://github.com/widergy/mobile-ui/commit/6e078b2418e26585abc38747d479ff00b261bf23))
|
|
15
|
+
|
|
1
16
|
## [2.5.1](https://github.com/widergy/mobile-ui/compare/v2.5.0...v2.5.1) (2026-01-27)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -85,6 +85,7 @@ class CheckList extends PureComponent {
|
|
|
85
85
|
input,
|
|
86
86
|
options,
|
|
87
87
|
checkedColor,
|
|
88
|
+
disabledCheckedColor,
|
|
88
89
|
selectAllContainerStyle,
|
|
89
90
|
selectAlllabelStyle,
|
|
90
91
|
reversedSelectAll,
|
|
@@ -112,6 +113,7 @@ class CheckList extends PureComponent {
|
|
|
112
113
|
checked={areAllSelected(input, options)}
|
|
113
114
|
bold
|
|
114
115
|
checkedColor={checkedColor}
|
|
116
|
+
disabledCheckedColor={disabledCheckedColor}
|
|
115
117
|
labelsContainerStyle={selectAlllabelStyle}
|
|
116
118
|
reversed={reversedSelectAll}
|
|
117
119
|
style={[
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { bool, elementType, string } from 'prop-types';
|
|
3
2
|
import { View } from 'react-native';
|
|
4
3
|
|
|
5
4
|
import UTLabel from '../UTLabel';
|
|
6
5
|
import { TEST_ID_CONSTANTS } from '../../constants/testIds';
|
|
6
|
+
import UTFieldLabelTypes from '../../types/UTFieldLabelTypes';
|
|
7
7
|
|
|
8
8
|
import { REQUIRED_LABEL } from './constants';
|
|
9
9
|
import styles from './styles';
|
|
@@ -50,14 +50,6 @@ const UTFieldLabel = ({
|
|
|
50
50
|
);
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
UTFieldLabel.propTypes =
|
|
54
|
-
colorTheme: string,
|
|
55
|
-
CustomTitleComponent: elementType,
|
|
56
|
-
dataTestId: string,
|
|
57
|
-
required: bool,
|
|
58
|
-
variant: string,
|
|
59
|
-
weight: string,
|
|
60
|
-
withMarkdown: bool
|
|
61
|
-
};
|
|
53
|
+
UTFieldLabel.propTypes = UTFieldLabelTypes;
|
|
62
54
|
|
|
63
55
|
export default UTFieldLabel;
|
|
@@ -38,6 +38,7 @@ const UTSelect = ({
|
|
|
38
38
|
style,
|
|
39
39
|
suffix,
|
|
40
40
|
title,
|
|
41
|
+
fieldLabelProps,
|
|
41
42
|
value,
|
|
42
43
|
onChangeSearchTerm,
|
|
43
44
|
disableFilterOptions,
|
|
@@ -151,6 +152,7 @@ const UTSelect = ({
|
|
|
151
152
|
required={required}
|
|
152
153
|
variant="body"
|
|
153
154
|
dataTestId={dataTestId ? `${dataTestId}.title` : undefined}
|
|
155
|
+
{...fieldLabelProps}
|
|
154
156
|
>
|
|
155
157
|
{title}
|
|
156
158
|
</UTFieldLabel>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { array, arrayOf, bool, func, number, oneOfType, shape, string, object } from 'prop-types';
|
|
2
2
|
|
|
3
|
+
import UTFieldLabelTypes from '../../../../types/UTFieldLabelTypes';
|
|
4
|
+
|
|
3
5
|
export const defaultProps = {
|
|
4
6
|
alwaysShowPlaceholder: true,
|
|
5
7
|
clearable: true,
|
|
@@ -23,6 +25,7 @@ export const propTypes = {
|
|
|
23
25
|
dataTestId: string,
|
|
24
26
|
disabled: bool,
|
|
25
27
|
error: string,
|
|
28
|
+
fieldLabelProps: UTFieldLabelTypes,
|
|
26
29
|
helpText: string,
|
|
27
30
|
multiple: bool,
|
|
28
31
|
noMatchesText: string,
|
|
@@ -7,6 +7,7 @@ import { TITLE_VARIANTS } from '../../../../constants/inputs';
|
|
|
7
7
|
import UTFieldLabel from '../../../UTFieldLabel';
|
|
8
8
|
import UTLabel from '../../../UTLabel';
|
|
9
9
|
import UTValidation, { validationDataProptypes } from '../../../UTValidation';
|
|
10
|
+
import UTFieldLabelTypes from '../../../../types/UTFieldLabelTypes';
|
|
10
11
|
|
|
11
12
|
import styles from './styles';
|
|
12
13
|
import TextInputField from './components/TextInputField';
|
|
@@ -19,6 +20,7 @@ const UTTextInput = ({
|
|
|
19
20
|
dataTestId,
|
|
20
21
|
disabled,
|
|
21
22
|
error,
|
|
23
|
+
fieldLabelProps,
|
|
22
24
|
helpText,
|
|
23
25
|
id,
|
|
24
26
|
inputRef,
|
|
@@ -62,6 +64,7 @@ const UTTextInput = ({
|
|
|
62
64
|
dataTestId={dataTestId ? `${dataTestId}.title` : undefined}
|
|
63
65
|
required={required}
|
|
64
66
|
variant={TITLE_VARIANTS[titleVariant]}
|
|
67
|
+
{...fieldLabelProps}
|
|
65
68
|
>
|
|
66
69
|
{title}
|
|
67
70
|
</UTFieldLabel>
|
|
@@ -154,6 +157,7 @@ export const propTypes = {
|
|
|
154
157
|
}),
|
|
155
158
|
suffix: string,
|
|
156
159
|
title: string,
|
|
160
|
+
fieldLabelProps: UTFieldLabelTypes,
|
|
157
161
|
titleVariant: string,
|
|
158
162
|
tooltipProps: shape({
|
|
159
163
|
tooltip: object,
|
package/package.json
CHANGED