@widergy/mobile-ui 1.36.1 → 1.36.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 +14 -0
- package/lib/components/UTFieldLabel/index.js +1 -1
- package/lib/components/UTRating/index.js +1 -1
- package/lib/components/UTTextInput/versions/V0/flavors/FilledInput/index.js +3 -1
- package/lib/components/UTTextInput/versions/V0/flavors/OutlinedInput/index.js +3 -1
- package/lib/components/UTTextInput/versions/V0/flavors/StandardInput/index.js +2 -1
- package/lib/components/UTTextInput/versions/V0/index.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.36.3](https://github.com/widergy/mobile-ui/compare/v1.36.2...v1.36.3) (2025-02-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [OSFP-900] icon style ([#412](https://github.com/widergy/mobile-ui/issues/412)) ([d43d4c2](https://github.com/widergy/mobile-ui/commit/d43d4c2c5bcd7f0f160eb56c69fb39db775a8f42))
|
|
7
|
+
|
|
8
|
+
## [1.36.2](https://github.com/widergy/mobile-ui/compare/v1.36.1...v1.36.2) (2025-02-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* fixes markdown but better ([#411](https://github.com/widergy/mobile-ui/issues/411)) ([da7a66e](https://github.com/widergy/mobile-ui/commit/da7a66edec566c22981035590259ff92101d8318))
|
|
14
|
+
|
|
1
15
|
## [1.36.1](https://github.com/widergy/mobile-ui/compare/v1.36.0...v1.36.1) (2025-02-12)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -7,7 +7,7 @@ import UTLabel from '../UTLabel';
|
|
|
7
7
|
import { REQUIRED_LABEL } from './constants';
|
|
8
8
|
import styles from './styles';
|
|
9
9
|
|
|
10
|
-
const UTFieldLabel = ({ children, colorTheme, required, style, variant, weight, withMarkdown }) => (
|
|
10
|
+
const UTFieldLabel = ({ children, colorTheme, required, style, variant, weight, withMarkdown = true }) => (
|
|
11
11
|
<View style={[styles.label, style]}>
|
|
12
12
|
<UTLabel colorTheme={colorTheme} variant={variant} weight={weight} withMarkdown={withMarkdown}>
|
|
13
13
|
{children}
|
|
@@ -47,7 +47,7 @@ const UTRating = ({
|
|
|
47
47
|
return (
|
|
48
48
|
<View style={[styles.container, classNames.container]} data-testid={dataTestId}>
|
|
49
49
|
{title && (
|
|
50
|
-
<UTFieldLabel colorTheme="dark" required={required}
|
|
50
|
+
<UTFieldLabel colorTheme="dark" required={required}>
|
|
51
51
|
{title}
|
|
52
52
|
</UTFieldLabel>
|
|
53
53
|
)}
|
|
@@ -13,6 +13,7 @@ import Icon from '../../../../../Icon';
|
|
|
13
13
|
import ownStyles, { CONTAINER_PADDINGS } from './styles';
|
|
14
14
|
|
|
15
15
|
const FilledInput = ({
|
|
16
|
+
iconStyle,
|
|
16
17
|
value,
|
|
17
18
|
onChange,
|
|
18
19
|
placeholder,
|
|
@@ -82,7 +83,8 @@ const FilledInput = ({
|
|
|
82
83
|
fontFamily: theme.fonts.fontFamily
|
|
83
84
|
},
|
|
84
85
|
styles?.input
|
|
85
|
-
]
|
|
86
|
+
],
|
|
87
|
+
icon: iconStyle || {}
|
|
86
88
|
}}
|
|
87
89
|
onChange={onChange}
|
|
88
90
|
value={value}
|
|
@@ -13,6 +13,7 @@ import Icon from '../../../../../Icon';
|
|
|
13
13
|
import ownStyles, { CONTAINER_PADDINGS } from './styles';
|
|
14
14
|
|
|
15
15
|
const OutlinedInput = ({
|
|
16
|
+
iconStyle,
|
|
16
17
|
value,
|
|
17
18
|
onChange,
|
|
18
19
|
placeholder,
|
|
@@ -110,7 +111,8 @@ const OutlinedInput = ({
|
|
|
110
111
|
margin: focused ? -1 : 0
|
|
111
112
|
},
|
|
112
113
|
styles?.input
|
|
113
|
-
]
|
|
114
|
+
],
|
|
115
|
+
icon: iconStyle || {}
|
|
114
116
|
}}
|
|
115
117
|
onChange={onChange}
|
|
116
118
|
value={value}
|
|
@@ -13,6 +13,7 @@ import Icon from '../../../../../Icon';
|
|
|
13
13
|
import ownStyles, { CONTAINER_PADDINGS } from './styles';
|
|
14
14
|
|
|
15
15
|
const StandardInput = ({
|
|
16
|
+
iconStyle,
|
|
16
17
|
value,
|
|
17
18
|
onChange,
|
|
18
19
|
placeholder,
|
|
@@ -69,7 +70,7 @@ const StandardInput = ({
|
|
|
69
70
|
},
|
|
70
71
|
styles?.input
|
|
71
72
|
],
|
|
72
|
-
icon: { alignSelf: 'flex-end' }
|
|
73
|
+
icon: iconStyle || { alignSelf: 'flex-end' }
|
|
73
74
|
}}
|
|
74
75
|
onChange={onChange}
|
|
75
76
|
value={value}
|
|
@@ -15,6 +15,7 @@ const variants = {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
const UTTextInput = ({
|
|
18
|
+
iconStyle,
|
|
18
19
|
variant = 'standard',
|
|
19
20
|
theme,
|
|
20
21
|
onFocus,
|
|
@@ -46,6 +47,7 @@ const UTTextInput = ({
|
|
|
46
47
|
return (
|
|
47
48
|
<InputComponent
|
|
48
49
|
{...props}
|
|
50
|
+
iconStyle={iconStyle}
|
|
49
51
|
onLayout={handleLayout}
|
|
50
52
|
onBlur={handleBlur}
|
|
51
53
|
onFocus={handleFocus}
|
package/package.json
CHANGED