@widergy/mobile-ui 1.19.3 → 1.19.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
+ ## [1.19.4](https://github.com/widergy/mobile-ui/compare/v1.19.3...v1.19.4) (2024-08-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * large select titles bug ([#346](https://github.com/widergy/mobile-ui/issues/346)) ([bba65c5](https://github.com/widergy/mobile-ui/commit/bba65c57db1300a6aeb20f583201c1fe23d46125))
7
+
1
8
  ## [1.19.3](https://github.com/widergy/mobile-ui/compare/v1.19.2...v1.19.3) (2024-08-26)
2
9
 
3
10
 
@@ -97,7 +97,7 @@ const UTBottomSheet = ({
97
97
  <View style={styles.content}>
98
98
  <View style={styles.header}>
99
99
  <View style={styles.headerTopRow}>
100
- <UTFieldLabel required={required} variant="subtitle1" weight="medium">
100
+ <UTFieldLabel required={required} variant="subtitle1" weight="medium" style={styles.title}>
101
101
  {title}
102
102
  </UTFieldLabel>
103
103
  {buttonText && (
@@ -7,18 +7,33 @@ const styles = StyleSheet.create({
7
7
  borderTopRightRadius: 20,
8
8
  overflow: 'hidden'
9
9
  },
10
+ childrenContainer: {
11
+ flexShrink: 1
12
+ },
10
13
  content: {
11
14
  flex: 1,
12
15
  padding: 16,
13
16
  rowGap: 16
14
17
  },
18
+ dragHandle: {
19
+ alignItems: 'center',
20
+ backgroundColor: 'transparent',
21
+ padding: 16
22
+ },
23
+ handleIndicator: theme => ({
24
+ backgroundColor: theme.Palette.light['04'], // When the component is standardized, should change to palette color: light 04
25
+ borderRadius: 2.5,
26
+ height: 5,
27
+ width: 40
28
+ }),
15
29
  header: {
16
30
  rowGap: 8
17
31
  },
18
32
  headerTopRow: {
19
33
  alignItems: 'center',
20
34
  flexDirection: 'row',
21
- justifyContent: 'space-between'
35
+ justifyContent: 'space-between',
36
+ columnGap: 16
22
37
  },
23
38
  modal: {
24
39
  justifyContent: 'flex-end',
@@ -27,19 +42,8 @@ const styles = StyleSheet.create({
27
42
  safeArea: {
28
43
  flex: 1
29
44
  },
30
- dragHandle: {
31
- alignItems: 'center',
32
- backgroundColor: 'transparent',
33
- padding: 16
34
- },
35
- handleIndicator: theme => ({
36
- backgroundColor: theme.Palette.light['04'], // When the component is standardized, should change to palette color: light 04
37
- borderRadius: 2.5,
38
- height: 5,
39
- width: 40
40
- }),
41
- childrenContainer: {
42
- flexShrink: 1
45
+ title: {
46
+ flex: 1
43
47
  }
44
48
  });
45
49
 
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.19.3",
5
+ "version": "1.19.4",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [