@widergy/mobile-ui 1.28.1 → 1.28.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.28.2](https://github.com/widergy/mobile-ui/compare/v1.28.1...v1.28.2) (2024-10-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * colors in radio button selected and others ([#370](https://github.com/widergy/mobile-ui/issues/370)) ([1cc52c0](https://github.com/widergy/mobile-ui/commit/1cc52c02641cae9c8fb7a04c33072ed0c865c58b))
7
+
1
8
  ## [1.28.1](https://github.com/widergy/mobile-ui/compare/v1.28.0...v1.28.1) (2024-10-15)
2
9
 
3
10
 
@@ -94,7 +94,11 @@ class Loading extends Component {
94
94
  <Animated.View style={getAnimatedContainerStyle(size, fade)}>
95
95
  {layers.map(this.renderLayers)}
96
96
  </Animated.View>
97
- {!!message && <UTLabel style={[getMessageStyle(size), messageStyle]}>{message}</UTLabel>}
97
+ {!!message && (
98
+ <UTLabel variant="small" style={[getMessageStyle(size), messageStyle]}>
99
+ {message}
100
+ </UTLabel>
101
+ )}
98
102
  </View>
99
103
  );
100
104
  }
@@ -56,11 +56,7 @@ class RadioButton extends Component {
56
56
  <View style={styles.labelsContainer}>
57
57
  <View>
58
58
  <View style={[styles.label, labelComponent && styles.labelComponent]}>
59
- <UTLabel
60
- colorTheme={status ? 'accent' : 'dark'}
61
- variant="body"
62
- weight={status ? 'bold' : 'regular'}
63
- >
59
+ <UTLabel variant="xsmall" weight={status ? 'bold' : 'regular'}>
64
60
  {label}
65
61
  </UTLabel>
66
62
  {labelComponent}
@@ -40,7 +40,7 @@ class RadioGroup extends Component {
40
40
  return (
41
41
  <View style={styles.container}>
42
42
  {title && (
43
- <UTLabel variant="body" {...titleProps}>
43
+ <UTLabel variant="medium" {...titleProps}>
44
44
  {title}
45
45
  </UTLabel>
46
46
  )}
@@ -97,7 +97,7 @@ const BaseInput = forwardRef(
97
97
  ]}
98
98
  id={props?.id ? `${props.id}` : undefined}
99
99
  />
100
- {RightIcon && (
100
+ {(RightIcon || hiddenInput) && (
101
101
  <Touchable
102
102
  borderless
103
103
  onPress={hiddenInput ? toggleShowInput : onRightIconPress}
@@ -81,7 +81,7 @@ const OutlinedInput = ({
81
81
  : focused
82
82
  ? 2
83
83
  : disabled
84
- ? themeStyles?.inactive?.disabledBorderWidth ?? 1
84
+ ? (themeStyles?.inactive?.disabledBorderWidth ?? 1)
85
85
  : 1,
86
86
  borderColor: active ? activeColor : inactiveColor
87
87
  },
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.28.1",
5
+ "version": "1.28.2",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [