@widergy/mobile-ui 0.35.3 → 0.35.4
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
|
+
## [0.35.4](https://github.com/widergy/mobile-ui/compare/v0.35.3...v0.35.4) (2022-10-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* added label to tooltip content ([#228](https://github.com/widergy/mobile-ui/issues/228)) ([dee88d6](https://github.com/widergy/mobile-ui/commit/dee88d6e9cc0e306d0efabae284b29dcb2869b9f))
|
|
7
|
+
|
|
1
8
|
## [0.35.3](https://github.com/widergy/mobile-ui/compare/v0.35.2...v0.35.3) (2022-08-29)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -8,6 +8,7 @@ import InputLabel from '../../components/InputLabel';
|
|
|
8
8
|
import InputTypes from '../../proptypes';
|
|
9
9
|
import Icon from '../../../Icon';
|
|
10
10
|
import UTTooltip from '../../../UTTooltip';
|
|
11
|
+
import Label from '../../../Label';
|
|
11
12
|
|
|
12
13
|
import ownStyles, { CONTAINER_PADDINGS } from './styles';
|
|
13
14
|
|
|
@@ -69,7 +70,13 @@ const OutlinedInput = ({
|
|
|
69
70
|
disabled && themeStyles?.containerDisabled,
|
|
70
71
|
// eslint-disable-next-line react-native/no-inline-styles
|
|
71
72
|
{
|
|
72
|
-
borderWidth: borderless
|
|
73
|
+
borderWidth: borderless
|
|
74
|
+
? 0
|
|
75
|
+
: focused
|
|
76
|
+
? 2
|
|
77
|
+
: disabled
|
|
78
|
+
? themeStyles?.inactive?.disabledBorderWidth ?? 1
|
|
79
|
+
: 1,
|
|
73
80
|
borderColor: active ? activeColor : inactiveColor
|
|
74
81
|
},
|
|
75
82
|
styles?.inputContainer
|
|
@@ -129,7 +136,7 @@ const OutlinedInput = ({
|
|
|
129
136
|
</View>
|
|
130
137
|
{!!tooltip && (
|
|
131
138
|
<View style={[ownStyles.tooltipContainer, multiline && { height: initialHeight }]}>
|
|
132
|
-
<UTTooltip content={tooltip} position="left" {...tooltipProps}>
|
|
139
|
+
<UTTooltip content={<Label>tooltip</Label>} position="left" {...tooltipProps}>
|
|
133
140
|
<Icon
|
|
134
141
|
name="questioncircleo"
|
|
135
142
|
type="antdesign"
|
|
@@ -9,7 +9,14 @@ export default StyleSheet.create({
|
|
|
9
9
|
zIndex: 0,
|
|
10
10
|
backgroundColor: 'white',
|
|
11
11
|
borderRadius: 8,
|
|
12
|
-
|
|
12
|
+
shadowColor: '#000',
|
|
13
|
+
shadowOffset: {
|
|
14
|
+
width: 0,
|
|
15
|
+
height: 2
|
|
16
|
+
},
|
|
17
|
+
shadowOpacity: 0.23,
|
|
18
|
+
shadowRadius: 2.62,
|
|
19
|
+
elevation: 4,
|
|
13
20
|
paddingVertical: 4,
|
|
14
21
|
padding: 10,
|
|
15
22
|
maxWidth: 250
|
|
@@ -82,5 +89,5 @@ export default StyleSheet.create({
|
|
|
82
89
|
bottomArrowRotation: {
|
|
83
90
|
transform: [{ rotate: '0deg' }]
|
|
84
91
|
},
|
|
85
|
-
arrowContainer: { position: 'absolute'
|
|
92
|
+
arrowContainer: { position: 'absolute' }
|
|
86
93
|
});
|
package/package.json
CHANGED